summaryrefslogtreecommitdiff
path: root/pysnmp/smi/mibs/SNMP-PROXY-MIB.py
diff options
context:
space:
mode:
Diffstat (limited to 'pysnmp/smi/mibs/SNMP-PROXY-MIB.py')
-rw-r--r--pysnmp/smi/mibs/SNMP-PROXY-MIB.py462
1 files changed, 402 insertions, 60 deletions
diff --git a/pysnmp/smi/mibs/SNMP-PROXY-MIB.py b/pysnmp/smi/mibs/SNMP-PROXY-MIB.py
index b4ac1f2d..f92bfac0 100644
--- a/pysnmp/smi/mibs/SNMP-PROXY-MIB.py
+++ b/pysnmp/smi/mibs/SNMP-PROXY-MIB.py
@@ -4,65 +4,407 @@
# Copyright (c) 2005-2019, Ilya Etingof <etingof@gmail.com>
# License: http://snmplabs.com/pysnmp/license.html
#
-# PySNMP MIB module SNMP-PROXY-MIB (http://snmplabs.com/pysnmp)
# ASN.1 source http://mibs.snmplabs.com:80/asn1/SNMP-PROXY-MIB
-# Produced by pysmi-0.1.3 at Tue Apr 18 00:43:17 2017
-# On host grommit.local platform Darwin version 16.4.0 by user ilya
-# Using Python version 3.4.2 (v3.4.2:ab2c023a9432, Oct 5 2014, 20:42:22)
+# Produced by pysmi-0.4.0 at Sat Feb 16 12:22:13 2019
#
-ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString")
-NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
-SingleValueConstraint, ValueSizeConstraint, ConstraintsUnion, ValueRangeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ValueRangeConstraint", "ConstraintsIntersection")
-SnmpAdminString, SnmpEngineID = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString", "SnmpEngineID")
-SnmpTagValue, = mibBuilder.importSymbols("SNMP-TARGET-MIB", "SnmpTagValue")
-ModuleCompliance, NotificationGroup, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup", "ObjectGroup")
-ModuleIdentity, Counter64, Gauge32, Integer32, Bits, MibScalar, MibTable, MibTableRow, MibTableColumn, MibIdentifier, NotificationType, iso, Counter32, ObjectIdentity, IpAddress, TimeTicks, Unsigned32, snmpModules = mibBuilder.importSymbols("SNMPv2-SMI", "ModuleIdentity", "Counter64", "Gauge32", "Integer32", "Bits", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "MibIdentifier", "NotificationType", "iso", "Counter32", "ObjectIdentity", "IpAddress", "TimeTicks", "Unsigned32", "snmpModules")
-TextualConvention, RowStatus, DisplayString, StorageType = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "RowStatus", "DisplayString", "StorageType")
-snmpProxyMIB = ModuleIdentity((1, 3, 6, 1, 6, 3, 14))
-if mibBuilder.loadTexts: snmpProxyMIB.setRevisions(('1998-08-04 00:00', '1997-07-14 00:00',))
-if mibBuilder.loadTexts: snmpProxyMIB.setLastUpdated('9808040000Z')
-if mibBuilder.loadTexts: snmpProxyMIB.setOrganization('IETF SNMPv3 Working Group')
-if mibBuilder.loadTexts: snmpProxyMIB.setContactInfo('WG-email: snmpv3@lists.tislabs.com Subscribe: majordomo@lists.tislabs.com In message body: subscribe snmpv3 Chair: Russ Mundy Trusted Information Systems Postal: 3060 Washington Rd Glenwood MD 21738 USA EMail: mundy@tislabs.com Phone: +1-301-854-6889 Co-editor: David B. Levi SNMP Research, Inc. Postal: 3001 Kimberlin Heights Road Knoxville, TN 37920-9716 EMail: levi@snmp.com Phone: +1 423 573 1434 Co-editor: Paul Meyer Secure Computing Corporation Postal: 2675 Long Lake Road Roseville, MN 55113 EMail: paul_meyer@securecomputing.com Phone: +1 651 628 1592 Co-editor: Bob Stewart Cisco Systems, Inc. Postal: 170 West Tasman Drive San Jose, CA 95134-1706 EMail: bstewart@cisco.com Phone: +1 603 654 2686')
-if mibBuilder.loadTexts: snmpProxyMIB.setDescription('This MIB module defines MIB objects which provide mechanisms to remotely configure the parameters used by a proxy forwarding application.')
-snmpProxyObjects = MibIdentifier((1, 3, 6, 1, 6, 3, 14, 1))
-snmpProxyConformance = MibIdentifier((1, 3, 6, 1, 6, 3, 14, 3))
-snmpProxyTable = MibTable((1, 3, 6, 1, 6, 3, 14, 1, 2), )
-if mibBuilder.loadTexts: snmpProxyTable.setStatus('current')
-if mibBuilder.loadTexts: snmpProxyTable.setDescription('The table of translation parameters used by proxy forwarder applications for forwarding SNMP messages.')
-snmpProxyEntry = MibTableRow((1, 3, 6, 1, 6, 3, 14, 1, 2, 1), ).setIndexNames((1, "SNMP-PROXY-MIB", "snmpProxyName"))
-if mibBuilder.loadTexts: snmpProxyEntry.setStatus('current')
-if mibBuilder.loadTexts: snmpProxyEntry.setDescription('A set of translation parameters used by a proxy forwarder application for forwarding SNMP messages. Entries in the snmpProxyTable are created and deleted using the snmpProxyRowStatus object.')
-snmpProxyName = MibTableColumn((1, 3, 6, 1, 6, 3, 14, 1, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 32)))
-if mibBuilder.loadTexts: snmpProxyName.setStatus('current')
-if mibBuilder.loadTexts: snmpProxyName.setDescription('The locally arbitrary, but unique identifier associated with this snmpProxyEntry.')
-snmpProxyType = MibTableColumn((1, 3, 6, 1, 6, 3, 14, 1, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("read", 1), ("write", 2), ("trap", 3), ("inform", 4)))).setMaxAccess("readcreate")
-if mibBuilder.loadTexts: snmpProxyType.setStatus('current')
-if mibBuilder.loadTexts: snmpProxyType.setDescription('The type of message that may be forwarded using the translation parameters defined by this entry.')
-snmpProxyContextEngineID = MibTableColumn((1, 3, 6, 1, 6, 3, 14, 1, 2, 1, 3), SnmpEngineID()).setMaxAccess("readcreate")
-if mibBuilder.loadTexts: snmpProxyContextEngineID.setStatus('current')
-if mibBuilder.loadTexts: snmpProxyContextEngineID.setDescription('The contextEngineID contained in messages that may be forwarded using the translation parameters defined by this entry.')
-snmpProxyContextName = MibTableColumn((1, 3, 6, 1, 6, 3, 14, 1, 2, 1, 4), SnmpAdminString()).setMaxAccess("readcreate")
-if mibBuilder.loadTexts: snmpProxyContextName.setStatus('current')
-if mibBuilder.loadTexts: snmpProxyContextName.setDescription('The contextName contained in messages that may be forwarded using the translation parameters defined by this entry. This object is optional, and if not supported, the contextName contained in a message is ignored when selecting an entry in the snmpProxyTable.')
-snmpProxyTargetParamsIn = MibTableColumn((1, 3, 6, 1, 6, 3, 14, 1, 2, 1, 5), SnmpAdminString()).setMaxAccess("readcreate")
-if mibBuilder.loadTexts: snmpProxyTargetParamsIn.setStatus('current')
-if mibBuilder.loadTexts: snmpProxyTargetParamsIn.setDescription('This object selects an entry in the snmpTargetParamsTable. The selected entry is used to determine which row of the snmpProxyTable to use for forwarding received messages.')
-snmpProxySingleTargetOut = MibTableColumn((1, 3, 6, 1, 6, 3, 14, 1, 2, 1, 6), SnmpAdminString()).setMaxAccess("readcreate")
-if mibBuilder.loadTexts: snmpProxySingleTargetOut.setStatus('current')
-if mibBuilder.loadTexts: snmpProxySingleTargetOut.setDescription('This object selects a management target defined in the snmpTargetAddrTable (in the SNMP-TARGET-MIB). The selected target is defined by an entry in the snmpTargetAddrTable whose index value (snmpTargetAddrName) is equal to this object. This object is only used when selection of a single target is required (i.e. when forwarding an incoming read or write request).')
-snmpProxyMultipleTargetOut = MibTableColumn((1, 3, 6, 1, 6, 3, 14, 1, 2, 1, 7), SnmpTagValue()).setMaxAccess("readcreate")
-if mibBuilder.loadTexts: snmpProxyMultipleTargetOut.setStatus('current')
-if mibBuilder.loadTexts: snmpProxyMultipleTargetOut.setDescription('This object selects a set of management targets defined in the snmpTargetAddrTable (in the SNMP-TARGET-MIB). This object is only used when selection of multiple targets is required (i.e. when forwarding an incoming notification).')
-snmpProxyStorageType = MibTableColumn((1, 3, 6, 1, 6, 3, 14, 1, 2, 1, 8), StorageType().clone('nonVolatile')).setMaxAccess("readcreate")
-if mibBuilder.loadTexts: snmpProxyStorageType.setStatus('current')
-if mibBuilder.loadTexts: snmpProxyStorageType.setDescription('The storage type of this conceptual row.')
-snmpProxyRowStatus = MibTableColumn((1, 3, 6, 1, 6, 3, 14, 1, 2, 1, 9), RowStatus()).setMaxAccess("readcreate")
-if mibBuilder.loadTexts: snmpProxyRowStatus.setStatus('current')
-if mibBuilder.loadTexts: snmpProxyRowStatus.setDescription('The status of this conceptual row. To create a row in this table, a manager must set this object to either createAndGo(4) or createAndWait(5). The following objects may not be modified while the value of this object is active(1): - snmpProxyType - snmpProxyContextEngineID - snmpProxyContextName - snmpProxyTargetParamsIn - snmpProxySingleTargetOut - snmpProxyMultipleTargetOut')
-snmpProxyCompliances = MibIdentifier((1, 3, 6, 1, 6, 3, 14, 3, 1))
-snmpProxyGroups = MibIdentifier((1, 3, 6, 1, 6, 3, 14, 3, 2))
-snmpProxyCompliance = ModuleCompliance((1, 3, 6, 1, 6, 3, 14, 3, 1, 1)).setObjects(("SNMP-TARGET-MIB", "snmpTargetBasicGroup"), ("SNMP-TARGET-MIB", "snmpTargetResponseGroup"), ("SNMP-PROXY-MIB", "snmpProxyGroup"))
-if mibBuilder.loadTexts: snmpProxyCompliance.setDescription('The compliance statement for SNMP entities which include a proxy forwarding application.')
-snmpProxyGroup = ObjectGroup((1, 3, 6, 1, 6, 3, 14, 3, 2, 3)).setObjects(("SNMP-PROXY-MIB", "snmpProxyType"), ("SNMP-PROXY-MIB", "snmpProxyContextEngineID"), ("SNMP-PROXY-MIB", "snmpProxyContextName"), ("SNMP-PROXY-MIB", "snmpProxyTargetParamsIn"), ("SNMP-PROXY-MIB", "snmpProxySingleTargetOut"), ("SNMP-PROXY-MIB", "snmpProxyMultipleTargetOut"), ("SNMP-PROXY-MIB", "snmpProxyStorageType"), ("SNMP-PROXY-MIB", "snmpProxyRowStatus"))
-if mibBuilder.loadTexts: snmpProxyGroup.setDescription('A collection of objects providing remote configuration of management target translation parameters for use by proxy forwarder applications.')
-mibBuilder.exportSymbols("SNMP-PROXY-MIB", snmpProxyObjects=snmpProxyObjects, snmpProxyType=snmpProxyType, snmpProxyRowStatus=snmpProxyRowStatus, snmpProxyName=snmpProxyName, snmpProxyGroups=snmpProxyGroups, snmpProxySingleTargetOut=snmpProxySingleTargetOut, snmpProxyGroup=snmpProxyGroup, snmpProxyConformance=snmpProxyConformance, snmpProxyCompliance=snmpProxyCompliance, PYSNMP_MODULE_ID=snmpProxyMIB, snmpProxyContextEngineID=snmpProxyContextEngineID, snmpProxyCompliances=snmpProxyCompliances, snmpProxyStorageType=snmpProxyStorageType, snmpProxyEntry=snmpProxyEntry, snmpProxyTargetParamsIn=snmpProxyTargetParamsIn, snmpProxyContextName=snmpProxyContextName, snmpProxyMultipleTargetOut=snmpProxyMultipleTargetOut, snmpProxyTable=snmpProxyTable, snmpProxyMIB=snmpProxyMIB)
+if 'mibBuilder' not in globals():
+ import sys
+
+ sys.stderr.write(__doc__)
+ sys.exit(1)
+
+(Integer,
+ OctetString,
+ ObjectIdentifier) = mibBuilder.importSymbols(
+ "ASN1",
+ "Integer",
+ "OctetString",
+ "ObjectIdentifier")
+
+(NamedValues,) = mibBuilder.importSymbols(
+ "ASN1-ENUMERATION",
+ "NamedValues")
+
+(ConstraintsIntersection,
+ SingleValueConstraint,
+ ValueRangeConstraint,
+ ValueSizeConstraint,
+ ConstraintsUnion) = mibBuilder.importSymbols(
+ "ASN1-REFINEMENT",
+ "ConstraintsIntersection",
+ "SingleValueConstraint",
+ "ValueRangeConstraint",
+ "ValueSizeConstraint",
+ "ConstraintsUnion")
+
+(SnmpAdminString,
+ SnmpEngineID) = mibBuilder.importSymbols(
+ "SNMP-FRAMEWORK-MIB",
+ "SnmpAdminString",
+ "SnmpEngineID")
+
+(SnmpTagValue,) = mibBuilder.importSymbols(
+ "SNMP-TARGET-MIB",
+ "SnmpTagValue")
+
+(ObjectGroup,
+ NotificationGroup,
+ ModuleCompliance) = mibBuilder.importSymbols(
+ "SNMPv2-CONF",
+ "ObjectGroup",
+ "NotificationGroup",
+ "ModuleCompliance")
+
+(MibIdentifier,
+ MibScalar,
+ MibTable,
+ MibTableRow,
+ MibTableColumn,
+ ModuleIdentity,
+ snmpModules,
+ Counter64,
+ NotificationType,
+ Bits,
+ IpAddress,
+ Gauge32,
+ ObjectIdentity,
+ Integer32,
+ Counter32,
+ TimeTicks,
+ Unsigned32,
+ iso) = mibBuilder.importSymbols(
+ "SNMPv2-SMI",
+ "MibIdentifier",
+ "MibScalar",
+ "MibTable",
+ "MibTableRow",
+ "MibTableColumn",
+ "ModuleIdentity",
+ "snmpModules",
+ "Counter64",
+ "NotificationType",
+ "Bits",
+ "IpAddress",
+ "Gauge32",
+ "ObjectIdentity",
+ "Integer32",
+ "Counter32",
+ "TimeTicks",
+ "Unsigned32",
+ "iso")
+
+(TextualConvention,
+ DisplayString,
+ StorageType,
+ RowStatus) = mibBuilder.importSymbols(
+ "SNMPv2-TC",
+ "TextualConvention",
+ "DisplayString",
+ "StorageType",
+ "RowStatus")
+
+snmpProxyMIB = ModuleIdentity(
+ (1, 3, 6, 1, 6, 3, 14)
+)
+snmpProxyMIB.setRevisions(
+ ("2002-10-14 00:00",
+ "1998-08-04 00:00",
+ "1997-07-14 00:00")
+)
+snmpProxyMIB.setLastUpdated("200210140000Z")
+if mibBuilder.loadTexts:
+ snmpProxyMIB.setOrganization("""\
+IETF SNMPv3 Working Group
+""")
+snmpProxyMIB.setContactInfo("""\
+WG-email: snmpv3@lists.tislabs.com Subscribe: majordomo@lists.tislabs.com In
+message body: subscribe snmpv3 Co-Chair: Russ Mundy Network Associates
+Laboratories Postal: 15204 Omega Drive, Suite 300 Rockville, MD 20850-4601 USA
+EMail: mundy@tislabs.com Phone: +1 301-947-7107 Co-Chair: David Harrington
+Enterasys Networks Postal: 35 Industrial Way P. O. Box 5004 Rochester, New
+Hampshire 03866-5005 USA EMail: dbh@enterasys.com Phone: +1 603-337-2614 Co-
+editor: David B. Levi Nortel Networks Postal: 3505 Kesterwood Drive Knoxville,
+Tennessee 37918 EMail: dlevi@nortelnetworks.com Phone: +1 865 686 0432 Co-
+editor: Paul Meyer Secure Computing Corporation Postal: 2675 Long Lake Road
+Roseville, Minnesota 55113 EMail: paul_meyer@securecomputing.com Phone: +1 651
+628 1592 Co-editor: Bob Stewart Retired
+""")
+if mibBuilder.loadTexts:
+ snmpProxyMIB.setDescription("""\
+This MIB module defines MIB objects which provide mechanisms to remotely
+configure the parameters used by a proxy forwarding application. Copyright (C)
+The Internet Society (2002). This version of this MIB module is part of RFC
+3413; see the RFC itself for full legal notices.
+""")
+
+_SnmpProxyObjects_ObjectIdentity = ObjectIdentity
+snmpProxyObjects = _SnmpProxyObjects_ObjectIdentity(
+ (1, 3, 6, 1, 6, 3, 14, 1)
+)
+_SnmpProxyTable_Object = MibTable
+snmpProxyTable = _SnmpProxyTable_Object(
+ (1, 3, 6, 1, 6, 3, 14, 1, 2)
+)
+if mibBuilder.loadTexts:
+ snmpProxyTable.setStatus("current")
+if mibBuilder.loadTexts:
+ snmpProxyTable.setDescription("""\
+The table of translation parameters used by proxy forwarder applications for
+forwarding SNMP messages.
+""")
+_SnmpProxyEntry_Object = MibTableRow
+snmpProxyEntry = _SnmpProxyEntry_Object(
+ (1, 3, 6, 1, 6, 3, 14, 1, 2, 1)
+)
+snmpProxyEntry.setIndexNames(
+ (1, "SNMP-PROXY-MIB", "snmpProxyName"),
+)
+if mibBuilder.loadTexts:
+ snmpProxyEntry.setStatus("current")
+if mibBuilder.loadTexts:
+ snmpProxyEntry.setDescription("""\
+A set of translation parameters used by a proxy forwarder application for
+forwarding SNMP messages. Entries in the snmpProxyTable are created and deleted
+using the snmpProxyRowStatus object.
+""")
+
+
+class _SnmpProxyName_Type(SnmpAdminString):
+ """Custom type snmpProxyName based on SnmpAdminString"""
+ subtypeSpec = SnmpAdminString.subtypeSpec
+ subtypeSpec += ConstraintsUnion(
+ ValueSizeConstraint(1, 32),
+ )
+
+
+_SnmpProxyName_Type.__name__ = "SnmpAdminString"
+_SnmpProxyName_Object = MibTableColumn
+snmpProxyName = _SnmpProxyName_Object(
+ (1, 3, 6, 1, 6, 3, 14, 1, 2, 1, 1),
+ _SnmpProxyName_Type()
+)
+snmpProxyName.setMaxAccess("not-accessible")
+if mibBuilder.loadTexts:
+ snmpProxyName.setStatus("current")
+if mibBuilder.loadTexts:
+ snmpProxyName.setDescription("""\
+The locally arbitrary, but unique identifier associated with this
+snmpProxyEntry.
+""")
+
+
+class _SnmpProxyType_Type(Integer32):
+ """Custom type snmpProxyType based on Integer32"""
+ subtypeSpec = Integer32.subtypeSpec
+ subtypeSpec += ConstraintsUnion(
+ SingleValueConstraint(
+ *(1,
+ 2,
+ 3,
+ 4)
+ )
+ )
+ namedValues = NamedValues(
+ *(("inform", 4),
+ ("read", 1),
+ ("trap", 3),
+ ("write", 2))
+ )
+
+
+_SnmpProxyType_Type.__name__ = "Integer32"
+_SnmpProxyType_Object = MibTableColumn
+snmpProxyType = _SnmpProxyType_Object(
+ (1, 3, 6, 1, 6, 3, 14, 1, 2, 1, 2),
+ _SnmpProxyType_Type()
+)
+snmpProxyType.setMaxAccess("read-create")
+if mibBuilder.loadTexts:
+ snmpProxyType.setStatus("current")
+if mibBuilder.loadTexts:
+ snmpProxyType.setDescription("""\
+The type of message that may be forwarded using the translation parameters
+defined by this entry.
+""")
+_SnmpProxyContextEngineID_Type = SnmpEngineID
+_SnmpProxyContextEngineID_Object = MibTableColumn
+snmpProxyContextEngineID = _SnmpProxyContextEngineID_Object(
+ (1, 3, 6, 1, 6, 3, 14, 1, 2, 1, 3),
+ _SnmpProxyContextEngineID_Type()
+)
+snmpProxyContextEngineID.setMaxAccess("read-create")
+if mibBuilder.loadTexts:
+ snmpProxyContextEngineID.setStatus("current")
+if mibBuilder.loadTexts:
+ snmpProxyContextEngineID.setDescription("""\
+The contextEngineID contained in messages that may be forwarded using the
+translation parameters defined by this entry.
+""")
+_SnmpProxyContextName_Type = SnmpAdminString
+_SnmpProxyContextName_Object = MibTableColumn
+snmpProxyContextName = _SnmpProxyContextName_Object(
+ (1, 3, 6, 1, 6, 3, 14, 1, 2, 1, 4),
+ _SnmpProxyContextName_Type()
+)
+snmpProxyContextName.setMaxAccess("read-create")
+if mibBuilder.loadTexts:
+ snmpProxyContextName.setStatus("current")
+if mibBuilder.loadTexts:
+ snmpProxyContextName.setDescription("""\
+The contextName contained in messages that may be forwarded using the
+translation parameters defined by this entry. This object is optional, and if
+not supported, the contextName contained in a message is ignored when selecting
+an entry in the snmpProxyTable.
+""")
+_SnmpProxyTargetParamsIn_Type = SnmpAdminString
+_SnmpProxyTargetParamsIn_Object = MibTableColumn
+snmpProxyTargetParamsIn = _SnmpProxyTargetParamsIn_Object(
+ (1, 3, 6, 1, 6, 3, 14, 1, 2, 1, 5),
+ _SnmpProxyTargetParamsIn_Type()
+)
+snmpProxyTargetParamsIn.setMaxAccess("read-create")
+if mibBuilder.loadTexts:
+ snmpProxyTargetParamsIn.setStatus("current")
+if mibBuilder.loadTexts:
+ snmpProxyTargetParamsIn.setDescription("""\
+This object selects an entry in the snmpTargetParamsTable. The selected entry
+is used to determine which row of the snmpProxyTable to use for forwarding
+received messages.
+""")
+_SnmpProxySingleTargetOut_Type = SnmpAdminString
+_SnmpProxySingleTargetOut_Object = MibTableColumn
+snmpProxySingleTargetOut = _SnmpProxySingleTargetOut_Object(
+ (1, 3, 6, 1, 6, 3, 14, 1, 2, 1, 6),
+ _SnmpProxySingleTargetOut_Type()
+)
+snmpProxySingleTargetOut.setMaxAccess("read-create")
+if mibBuilder.loadTexts:
+ snmpProxySingleTargetOut.setStatus("current")
+if mibBuilder.loadTexts:
+ snmpProxySingleTargetOut.setDescription("""\
+This object selects a management target defined in the snmpTargetAddrTable (in
+the SNMP-TARGET-MIB). The selected target is defined by an entry in the
+snmpTargetAddrTable whose index value (snmpTargetAddrName) is equal to this
+object. This object is only used when selection of a single target is required
+(i.e. when forwarding an incoming read or write request).
+""")
+_SnmpProxyMultipleTargetOut_Type = SnmpTagValue
+_SnmpProxyMultipleTargetOut_Object = MibTableColumn
+snmpProxyMultipleTargetOut = _SnmpProxyMultipleTargetOut_Object(
+ (1, 3, 6, 1, 6, 3, 14, 1, 2, 1, 7),
+ _SnmpProxyMultipleTargetOut_Type()
+)
+snmpProxyMultipleTargetOut.setMaxAccess("read-create")
+if mibBuilder.loadTexts:
+ snmpProxyMultipleTargetOut.setStatus("current")
+if mibBuilder.loadTexts:
+ snmpProxyMultipleTargetOut.setDescription("""\
+This object selects a set of management targets defined in the
+snmpTargetAddrTable (in the SNMP-TARGET-MIB). This object is only used when
+selection of multiple targets is required (i.e. when forwarding an incoming
+notification).
+""")
+
+
+class _SnmpProxyStorageType_Type(StorageType):
+ """Custom type snmpProxyStorageType based on StorageType"""
+
+
+_SnmpProxyStorageType_Object = MibTableColumn
+snmpProxyStorageType = _SnmpProxyStorageType_Object(
+ (1, 3, 6, 1, 6, 3, 14, 1, 2, 1, 8),
+ _SnmpProxyStorageType_Type()
+)
+snmpProxyStorageType.setMaxAccess("read-create")
+if mibBuilder.loadTexts:
+ snmpProxyStorageType.setStatus("current")
+if mibBuilder.loadTexts:
+ snmpProxyStorageType.setDescription("""\
+The storage type of this conceptual row. Conceptual rows having the value
+'permanent' need not allow write-access to any columnar objects in the row.
+""")
+_SnmpProxyRowStatus_Type = RowStatus
+_SnmpProxyRowStatus_Object = MibTableColumn
+snmpProxyRowStatus = _SnmpProxyRowStatus_Object(
+ (1, 3, 6, 1, 6, 3, 14, 1, 2, 1, 9),
+ _SnmpProxyRowStatus_Type()
+)
+snmpProxyRowStatus.setMaxAccess("read-create")
+if mibBuilder.loadTexts:
+ snmpProxyRowStatus.setStatus("current")
+if mibBuilder.loadTexts:
+ snmpProxyRowStatus.setDescription("""\
+The status of this conceptual row. To create a row in this table, a manager
+must set this object to either createAndGo(4) or createAndWait(5). The
+following objects may not be modified while the value of this object is
+active(1): - snmpProxyType - snmpProxyContextEngineID - snmpProxyContextName -
+snmpProxyTargetParamsIn - snmpProxySingleTargetOut - snmpProxyMultipleTargetOut
+""")
+_SnmpProxyConformance_ObjectIdentity = ObjectIdentity
+snmpProxyConformance = _SnmpProxyConformance_ObjectIdentity(
+ (1, 3, 6, 1, 6, 3, 14, 3)
+)
+_SnmpProxyCompliances_ObjectIdentity = ObjectIdentity
+snmpProxyCompliances = _SnmpProxyCompliances_ObjectIdentity(
+ (1, 3, 6, 1, 6, 3, 14, 3, 1)
+)
+_SnmpProxyGroups_ObjectIdentity = ObjectIdentity
+snmpProxyGroups = _SnmpProxyGroups_ObjectIdentity(
+ (1, 3, 6, 1, 6, 3, 14, 3, 2)
+)
+
+snmpProxyGroup = ObjectGroup(
+ (1, 3, 6, 1, 6, 3, 14, 3, 2, 3)
+)
+snmpProxyGroup.setObjects(
+ *(("SNMP-PROXY-MIB", "snmpProxyType"),
+ ("SNMP-PROXY-MIB", "snmpProxyContextEngineID"),
+ ("SNMP-PROXY-MIB", "snmpProxyContextName"),
+ ("SNMP-PROXY-MIB", "snmpProxyTargetParamsIn"),
+ ("SNMP-PROXY-MIB", "snmpProxySingleTargetOut"),
+ ("SNMP-PROXY-MIB", "snmpProxyMultipleTargetOut"),
+ ("SNMP-PROXY-MIB", "snmpProxyStorageType"),
+ ("SNMP-PROXY-MIB", "snmpProxyRowStatus"))
+)
+if mibBuilder.loadTexts:
+ snmpProxyGroup.setStatus("current")
+if mibBuilder.loadTexts:
+ snmpProxyGroup.setDescription("""\
+A collection of objects providing remote configuration of management target
+translation parameters for use by proxy forwarder applications.
+""")
+
+snmpProxyCompliance = ModuleCompliance(
+ (1, 3, 6, 1, 6, 3, 14, 3, 1, 1)
+)
+if mibBuilder.loadTexts:
+ snmpProxyCompliance.setStatus(
+ "current"
+ )
+if mibBuilder.loadTexts:
+ snmpProxyCompliance.setDescription("""\
+The compliance statement for SNMP entities which include a proxy forwarding
+application.
+""")
+
+mibBuilder.exportSymbols(
+ "SNMP-PROXY-MIB",
+ **{"snmpProxyMIB": snmpProxyMIB,
+ "snmpProxyObjects": snmpProxyObjects,
+ "snmpProxyTable": snmpProxyTable,
+ "snmpProxyEntry": snmpProxyEntry,
+ "snmpProxyName": snmpProxyName,
+ "snmpProxyType": snmpProxyType,
+ "snmpProxyContextEngineID": snmpProxyContextEngineID,
+ "snmpProxyContextName": snmpProxyContextName,
+ "snmpProxyTargetParamsIn": snmpProxyTargetParamsIn,
+ "snmpProxySingleTargetOut": snmpProxySingleTargetOut,
+ "snmpProxyMultipleTargetOut": snmpProxyMultipleTargetOut,
+ "snmpProxyStorageType": snmpProxyStorageType,
+ "snmpProxyRowStatus": snmpProxyRowStatus,
+ "snmpProxyConformance": snmpProxyConformance,
+ "snmpProxyCompliances": snmpProxyCompliances,
+ "snmpProxyCompliance": snmpProxyCompliance,
+ "snmpProxyGroups": snmpProxyGroups,
+ "snmpProxyGroup": snmpProxyGroup}
+)