# 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)
