#
# PySNMP MIB module H3C-E1-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/H3C-E1-MIB
# Produced by pysmi-0.3.4 at Wed May  1 13:22:07 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) 
#
Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsIntersection, ValueRangeConstraint, ConstraintsUnion, ValueSizeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueRangeConstraint", "ConstraintsUnion", "ValueSizeConstraint", "SingleValueConstraint")
h3cCommon, = mibBuilder.importSymbols("HUAWEI-3COM-OID-MIB", "h3cCommon")
ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex")
NotificationGroup, ModuleCompliance, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance", "ObjectGroup")
Integer32, MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, Gauge32, NotificationType, Counter64, iso, ObjectIdentity, Counter32, Unsigned32, MibIdentifier, TimeTicks, Bits, ModuleIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "Gauge32", "NotificationType", "Counter64", "iso", "ObjectIdentity", "Counter32", "Unsigned32", "MibIdentifier", "TimeTicks", "Bits", "ModuleIdentity")
DisplayString, RowStatus, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "RowStatus", "TextualConvention")
h3cE1 = ModuleIdentity((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28))
h3cE1.setRevisions(('2010-04-08 18:55', '2009-06-08 17:41', '2004-12-01 14:36',))

if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
    if mibBuilder.loadTexts: h3cE1.setRevisionsDescriptions(('To fix bugs in the MIB file.', 'To fix bugs in the MIB file.', 'Initial version of this MIB module.',))
if mibBuilder.loadTexts: h3cE1.setLastUpdated('201004081855Z')
if mibBuilder.loadTexts: h3cE1.setOrganization('Hangzhou H3C Technologies Co., Ltd.')
if mibBuilder.loadTexts: h3cE1.setContactInfo('Platform Team H3C Technologies Co., Ltd. Hai-Dian District Beijing P.R. China http://www.h3c.com Zip: 100085')
if mibBuilder.loadTexts: h3cE1.setDescription('This MIB provides E1 interface information that are excluded by RFC 1213 and RFC 2233')
e1InterfaceStatusTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 1), )
if mibBuilder.loadTexts: e1InterfaceStatusTable.setStatus('current')
if mibBuilder.loadTexts: e1InterfaceStatusTable.setDescription('This table contains E1 interface packet statistics ')
e1InterfaceStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: e1InterfaceStatusEntry.setStatus('current')
if mibBuilder.loadTexts: e1InterfaceStatusEntry.setDescription('This entry contains E1 interface packet statistics. The index of this Entry is ifIndex defined in ifTable of RFC1213-MIB')
e1InterfaceInErrs = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 1, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: e1InterfaceInErrs.setStatus('current')
if mibBuilder.loadTexts: e1InterfaceInErrs.setDescription('The total number of error received on this interface')
e1InterfaceInRuntsErrs = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 1, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: e1InterfaceInRuntsErrs.setStatus('current')
if mibBuilder.loadTexts: e1InterfaceInRuntsErrs.setDescription('The number of Runts Error(too short packet) received on this interface')
e1InterfaceInGiantsErrs = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 1, 1, 3), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: e1InterfaceInGiantsErrs.setStatus('current')
if mibBuilder.loadTexts: e1InterfaceInGiantsErrs.setDescription('The number of Giants Error(too long packet) received on this interface')
e1InterfaceInCrcErrs = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 1, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: e1InterfaceInCrcErrs.setStatus('current')
if mibBuilder.loadTexts: e1InterfaceInCrcErrs.setDescription('The number of CRC Error received on this interface')
e1InterfaceInAlignErrs = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 1, 1, 5), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: e1InterfaceInAlignErrs.setStatus('current')
if mibBuilder.loadTexts: e1InterfaceInAlignErrs.setDescription('The number of Align Error received on this interface')
e1InterfaceInOverRunsErrs = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 1, 1, 6), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: e1InterfaceInOverRunsErrs.setStatus('current')
if mibBuilder.loadTexts: e1InterfaceInOverRunsErrs.setDescription('The number of Over Runs Error received on this interface')
e1InterfaceInDribblesErrs = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 1, 1, 7), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: e1InterfaceInDribblesErrs.setStatus('current')
if mibBuilder.loadTexts: e1InterfaceInDribblesErrs.setDescription('The number of dribble packets received')
e1InterfaceInAbortedSeqErrs = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 1, 1, 8), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: e1InterfaceInAbortedSeqErrs.setStatus('current')
if mibBuilder.loadTexts: e1InterfaceInAbortedSeqErrs.setDescription('The number of AbortedSeq Error received on this interface')
e1InterfaceInNoBufferErrs = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 1, 1, 9), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: e1InterfaceInNoBufferErrs.setStatus('current')
if mibBuilder.loadTexts: e1InterfaceInNoBufferErrs.setDescription('The number of Error (no buffer available)')
e1InterfaceInFramingErrs = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 1, 1, 10), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: e1InterfaceInFramingErrs.setStatus('current')
if mibBuilder.loadTexts: e1InterfaceInFramingErrs.setDescription('The number of framing Errors')
e1InterfaceOutputErrs = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 1, 1, 11), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: e1InterfaceOutputErrs.setStatus('current')
if mibBuilder.loadTexts: e1InterfaceOutputErrs.setDescription('The number of total Error transmited on this interface')
e1InterfaceOutUnderRunErrs = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 1, 1, 12), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: e1InterfaceOutUnderRunErrs.setStatus('current')
if mibBuilder.loadTexts: e1InterfaceOutUnderRunErrs.setDescription('The number of UnderRun Error transmited on this interface')
e1InterfaceOutCollisonsErrs = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 1, 1, 13), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: e1InterfaceOutCollisonsErrs.setStatus('current')
if mibBuilder.loadTexts: e1InterfaceOutCollisonsErrs.setDescription('The number of Collisions Error transmited on this interface')
e1InterfaceOutDeferedErrs = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 1, 1, 14), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: e1InterfaceOutDeferedErrs.setStatus('current')
if mibBuilder.loadTexts: e1InterfaceOutDeferedErrs.setDescription('The number of Deferred Error transmited on this interface')
h3ce1Table = MibTable((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 2), )
if mibBuilder.loadTexts: h3ce1Table.setStatus('current')
if mibBuilder.loadTexts: h3ce1Table.setDescription('A list of E1 interface entries.')
h3ce1Entry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: h3ce1Entry.setStatus('current')
if mibBuilder.loadTexts: h3ce1Entry.setDescription('This entry contains E1 interface management information.')
class H3cE1TimeSlot(TextualConvention, OctetString):
    description = "Each octet within this value specifies a set of time slots, with the first octet specifying time slot 1 through 8, the second octet specifying time slots 9 through 16, etc. Within each octet, the most significant bit represents the highest numbered time slot, and the least significant bit represents the lowest numbered time slot. Thus, each time slot of the E1 is represented by a single bit within the value of this object. If that bit has a value of '1' then that time slot is included in the set of time slots; the time slot is not included if its bit has a value of '0'."
    status = 'current'
    subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(4, 4)
    fixedLength = 4

h3ce1Type = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 2, 1, 1), Bits().clone(namedValues=NamedValues(("voice", 0), ("pos", 1)))).setMaxAccess("readonly")
if mibBuilder.loadTexts: h3ce1Type.setStatus('current')
if mibBuilder.loadTexts: h3ce1Type.setDescription('Specifies the type of the E1 interface. Now it supports types as follow: voice voice type pos POS type')
h3ce1Clock = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("slave", 1), ("master", 2))).clone('slave')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: h3ce1Clock.setStatus('current')
if mibBuilder.loadTexts: h3ce1Clock.setDescription('Specifies the clock type used on the E1 interface.')
h3ce1FrameFormat = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("crc4", 1), ("nocrc4", 2))).clone('crc4')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: h3ce1FrameFormat.setStatus('current')
if mibBuilder.loadTexts: h3ce1FrameFormat.setDescription('Specifies the frame format used on the E1 interface.')
h3ce1LineCode = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3))).clone(namedValues=NamedValues(("ami", 1), ("hdb3", 3))).clone('hdb3')).setMaxAccess("readwrite")
if mibBuilder.loadTexts: h3ce1LineCode.setStatus('current')
if mibBuilder.loadTexts: h3ce1LineCode.setDescription('Specifies the line code type used on the E1 interface.')
h3ce1PriSetTimeSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 2, 1, 5), H3cE1TimeSlot()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: h3ce1PriSetTimeSlot.setStatus('current')
if mibBuilder.loadTexts: h3ce1PriSetTimeSlot.setDescription('This is a bit-map of PRI time slots used on the E1 interface. It needs to administratively shut down the D channel of the E1 interface before cancelling PRI time slots.')
h3ce1DChannelIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 2, 1, 6), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: h3ce1DChannelIndex.setStatus('current')
if mibBuilder.loadTexts: h3ce1DChannelIndex.setDescription('This is the ifIndex of the D channel of the E1 interface.')
h3ce1SubScribLineChannelIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 2, 1, 7), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: h3ce1SubScribLineChannelIndex.setStatus('current')
if mibBuilder.loadTexts: h3ce1SubScribLineChannelIndex.setDescription('This is the ifIndex of the subscriber-line channel of the E1 interface.')
h3ce1FcmChannelIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 2, 1, 8), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: h3ce1FcmChannelIndex.setStatus('current')
if mibBuilder.loadTexts: h3ce1FcmChannelIndex.setDescription('This is the ifIndex of the FCM (Fast Connection Modem) channel of the E1 interface.')
h3ce1InterfaceTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 3), )
if mibBuilder.loadTexts: h3ce1InterfaceTable.setStatus('current')
if mibBuilder.loadTexts: h3ce1InterfaceTable.setDescription('A list of channels of E1 interface entries. Including D channels and subscriber-line channels.')
h3ce1InterfaceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 3, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: h3ce1InterfaceEntry.setStatus('current')
if mibBuilder.loadTexts: h3ce1InterfaceEntry.setDescription('This entry contains channels of E1 interface management information. Including D channels and subscriber-line channels.')
h3ce1ControllerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 3, 1, 1), Integer32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: h3ce1ControllerIndex.setStatus('current')
if mibBuilder.loadTexts: h3ce1ControllerIndex.setDescription('Which E1 interface is this channel belonged to.')
h3ce1TimeSlotSetTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 4), )
if mibBuilder.loadTexts: h3ce1TimeSlotSetTable.setStatus('current')
if mibBuilder.loadTexts: h3ce1TimeSlotSetTable.setDescription('A list of time slot set information of E1 interface entries.')
h3ce1TimeSlotSetEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 4, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"))
if mibBuilder.loadTexts: h3ce1TimeSlotSetEntry.setStatus('current')
if mibBuilder.loadTexts: h3ce1TimeSlotSetEntry.setDescription('This entry contains time slot set information of E1 interface.')
h3ce1TimeSlotSetGroupId = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 30))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: h3ce1TimeSlotSetGroupId.setStatus('current')
if mibBuilder.loadTexts: h3ce1TimeSlotSetGroupId.setDescription('Group ID.')
h3ce1TimeSlotSetSignalType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 4, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("unkown", 1), ("em-delay", 2), ("em-immediate", 3), ("em-wink", 4), ("fxo-ground", 5), ("fxo-loop", 6), ("fxs-ground", 7), ("fxs-loop", 8), ("r2", 9)))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: h3ce1TimeSlotSetSignalType.setStatus('current')
if mibBuilder.loadTexts: h3ce1TimeSlotSetSignalType.setDescription('Signal type. Now it supports types as follow: unkown, unkown em-delay E&M Delay Dial em-immediate E&M Immediate Start em-wink E&M Wink Start fxo-ground FXO Ground Start fxo-loop FXO Loop Start fxs-ground FXS Ground Start fxs-loop FXS Loop Start r2 R2 ITU Q421')
h3ce1TimeSlotSetList = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 4, 1, 3), H3cE1TimeSlot()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: h3ce1TimeSlotSetList.setStatus('current')
if mibBuilder.loadTexts: h3ce1TimeSlotSetList.setDescription('Time slot bit map.')
h3ce1TimeSlotSetRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 10, 2, 28, 4, 1, 4), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: h3ce1TimeSlotSetRowStatus.setStatus('current')
if mibBuilder.loadTexts: h3ce1TimeSlotSetRowStatus.setDescription('Operation status.')
mibBuilder.exportSymbols("H3C-E1-MIB", h3ce1InterfaceTable=h3ce1InterfaceTable, h3ce1Clock=h3ce1Clock, h3ce1Type=h3ce1Type, e1InterfaceStatusEntry=e1InterfaceStatusEntry, h3ce1Table=h3ce1Table, h3ce1FcmChannelIndex=h3ce1FcmChannelIndex, h3ce1InterfaceEntry=h3ce1InterfaceEntry, e1InterfaceInAlignErrs=e1InterfaceInAlignErrs, h3ce1TimeSlotSetRowStatus=h3ce1TimeSlotSetRowStatus, h3cE1=h3cE1, e1InterfaceInDribblesErrs=e1InterfaceInDribblesErrs, e1InterfaceInFramingErrs=e1InterfaceInFramingErrs, e1InterfaceOutCollisonsErrs=e1InterfaceOutCollisonsErrs, e1InterfaceInOverRunsErrs=e1InterfaceInOverRunsErrs, h3ce1DChannelIndex=h3ce1DChannelIndex, h3ce1TimeSlotSetGroupId=h3ce1TimeSlotSetGroupId, e1InterfaceInErrs=e1InterfaceInErrs, e1InterfaceInAbortedSeqErrs=e1InterfaceInAbortedSeqErrs, h3ce1Entry=h3ce1Entry, h3ce1PriSetTimeSlot=h3ce1PriSetTimeSlot, h3ce1TimeSlotSetSignalType=h3ce1TimeSlotSetSignalType, h3ce1SubScribLineChannelIndex=h3ce1SubScribLineChannelIndex, e1InterfaceInGiantsErrs=e1InterfaceInGiantsErrs, e1InterfaceInCrcErrs=e1InterfaceInCrcErrs, PYSNMP_MODULE_ID=h3cE1, h3ce1LineCode=h3ce1LineCode, e1InterfaceInNoBufferErrs=e1InterfaceInNoBufferErrs, h3ce1ControllerIndex=h3ce1ControllerIndex, e1InterfaceInRuntsErrs=e1InterfaceInRuntsErrs, h3ce1TimeSlotSetList=h3ce1TimeSlotSetList, h3ce1FrameFormat=h3ce1FrameFormat, e1InterfaceOutDeferedErrs=e1InterfaceOutDeferedErrs, H3cE1TimeSlot=H3cE1TimeSlot, e1InterfaceStatusTable=e1InterfaceStatusTable, e1InterfaceOutputErrs=e1InterfaceOutputErrs, h3ce1TimeSlotSetTable=h3ce1TimeSlotSetTable, e1InterfaceOutUnderRunErrs=e1InterfaceOutUnderRunErrs, h3ce1TimeSlotSetEntry=h3ce1TimeSlotSetEntry)
