content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
class Solution: def finalPrices(self, prices: List[int]) -> List[int]: res = [] for i in range(len(prices)): for j in range(i+1,len(prices)): if prices[j]<=prices[i]: res.append(prices[i]-prices[j]) break if j==len(prices)-1: res.append(prices[i]) res.append(prices[-1]) return res
class Solution: def final_prices(self, prices: List[int]) -> List[int]: res = [] for i in range(len(prices)): for j in range(i + 1, len(prices)): if prices[j] <= prices[i]: res.append(prices[i] - prices[j]) break if j == len(prices) - 1: res.append(prices[i]) res.append(prices[-1]) return res
N, M = map(int, input().split()) for i in range(1, M + 1): if i % 2 == 1: j = (i - 1) // 2 print(1 + j, M + 1 - j) else: j = (i - 2) // 2 print(M + 2 + j, 2 * M + 1 - j)
(n, m) = map(int, input().split()) for i in range(1, M + 1): if i % 2 == 1: j = (i - 1) // 2 print(1 + j, M + 1 - j) else: j = (i - 2) // 2 print(M + 2 + j, 2 * M + 1 - j)
summary = 0 i = 0 while i < 5: summary = summary + i print(summary) i = i + 1
summary = 0 i = 0 while i < 5: summary = summary + i print(summary) i = i + 1
# # PySNMP MIB module XXX-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/XXX-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:44:42 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) # ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ConstraintsUnion, ValueRangeConstraint, ValueSizeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsUnion", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsIntersection") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") Gauge32, ModuleIdentity, iso, Integer32, enterprises, ObjectIdentity, Unsigned32, Counter64, IpAddress, Bits, Counter32, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, NotificationType = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "ModuleIdentity", "iso", "Integer32", "enterprises", "ObjectIdentity", "Unsigned32", "Counter64", "IpAddress", "Bits", "Counter32", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "NotificationType") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") company = ModuleIdentity((1, 3, 6, 1, 4, 1, 6688)) company.setRevisions(('2009-03-05 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: company.setRevisionsDescriptions(('1G MC supported',)) if mibBuilder.loadTexts: company.setLastUpdated('200903050000Z') if mibBuilder.loadTexts: company.setOrganization('FiberRoad') if mibBuilder.loadTexts: company.setContactInfo('www.fiberroad.com.cn') if mibBuilder.loadTexts: company.setDescription('Media Converter NMS SNMP mib file') ipProduct = ObjectIdentity((1, 3, 6, 1, 4, 1, 6688, 1)) if mibBuilder.loadTexts: ipProduct.setStatus('current') if mibBuilder.loadTexts: ipProduct.setDescription('IP product line') height2HU = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1)) systemMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1)) alarmMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2)) shelfNum = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: shelfNum.setStatus('current') if mibBuilder.loadTexts: shelfNum.setDescription('The number of shelf in current system') shelfTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2), ) if mibBuilder.loadTexts: shelfTable.setStatus('current') if mibBuilder.loadTexts: shelfTable.setDescription('Shelf table') shelfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2, 1), ).setIndexNames((0, "XXX-MIB", "shelfName")) if mibBuilder.loadTexts: shelfEntry.setStatus('current') if mibBuilder.loadTexts: shelfEntry.setDescription('Shelf entry definition') shelfName = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("master", 1), ("slave1", 2), ("slave2", 3), ("slave3", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: shelfName.setStatus('current') if mibBuilder.loadTexts: shelfName.setDescription('Shelf name') psuA = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("on", 1), ("off", 2), ("nc", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: psuA.setStatus('current') if mibBuilder.loadTexts: psuA.setDescription('The status fan A of current shelf') psuB = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("on", 1), ("off", 2), ("nc", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: psuB.setStatus('current') if mibBuilder.loadTexts: psuB.setDescription('The status psu B of current shelf') volA = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("normal", 1), ("abnormal", 2), ("nc", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: volA.setStatus('current') if mibBuilder.loadTexts: volA.setDescription('The voltage status of psuA of current shelf') volB = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("normal", 1), ("abnormal", 2), ("nc", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: volB.setStatus('current') if mibBuilder.loadTexts: volB.setDescription('The voltage status of psuB of current shelf') fan = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("on", 1), ("off", 2), ("nc", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: fan.setStatus('current') if mibBuilder.loadTexts: fan.setDescription('The status fan A of current shelf') temperature = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2, 1, 7), Integer32()).setUnits(' oC').setMaxAccess("readonly") if mibBuilder.loadTexts: temperature.setStatus('current') if mibBuilder.loadTexts: temperature.setDescription('The temperature status of current shelf') coCardNum = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: coCardNum.setStatus('current') if mibBuilder.loadTexts: coCardNum.setDescription('The number of center card inserting of current shelf') rmtCardNum = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: rmtCardNum.setStatus('current') if mibBuilder.loadTexts: rmtCardNum.setDescription('The number of remote card inserting of current shelf') slotObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 3)) slotTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 3, 1), ) if mibBuilder.loadTexts: slotTable.setStatus('current') if mibBuilder.loadTexts: slotTable.setDescription('Sparse table containing one entry for each slot in exist chassis in the system, indexed by shelfIdx and slotIdx.') slotEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 3, 1, 1), ).setIndexNames((0, "XXX-MIB", "shelfIdx"), (0, "XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: slotEntry.setStatus('current') if mibBuilder.loadTexts: slotEntry.setDescription("in this table ,user can find the converter module's type inserted in the system's slot.then you can get the detail information about the specified type in the cardObjects table") shelfIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("master", 1), ("slave1", 2), ("slave2", 3), ("slave3", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: shelfIdx.setStatus('current') if mibBuilder.loadTexts: shelfIdx.setDescription('Chassis index - 1 = master management module, 2-4 = slave management module') slotIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17))).clone(namedValues=NamedValues(("slot01", 1), ("slot02", 2), ("slot03", 3), ("slot04", 4), ("slot05", 5), ("slot06", 6), ("slot07", 7), ("slot08", 8), ("slot09", 9), ("slot10", 10), ("slot11", 11), ("slot12", 12), ("slot13", 13), ("slot14", 14), ("slot15", 15), ("slot16", 16), ("slot17", 17)))).setMaxAccess("readonly") if mibBuilder.loadTexts: slotIdx.setStatus('current') if mibBuilder.loadTexts: slotIdx.setDescription("chassis's slot,whitch is a index in this table") coCardType = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 100, 101, 102))).clone(namedValues=NamedValues(("no-card", 0), ("ip113s", 1), ("ip113f", 2), ("mc-1g-e2o", 3), ("mc-1g-o2o", 4), ("mc-4-25g-oeo", 5), ("mc-ip175d", 6), ("mc-10g-oeo", 7), ("mc-10g-oee", 8), ("mc-FAN", 9), ("mc-10g-oeo-1r", 10), ("mc-2-5g", 11), ("mc-40g-oeo", 12), ("mc-2-5g-t", 13), ("mc-2-5g-f", 14), ("mc-2-5g-mux-t", 15), ("mc-2-5g-mux-f", 16), ("mc-1g-e2o-backup", 17), ("mc-e1-1sfp", 18), ("mc-e1-2sfp", 19), ("mc-100m-sfp", 20), ("mc-1g-o2o-backup", 21), ("mc-cwdm-4", 22), ("mc-cwdm-8", 23), ("mc-10g-oeo-2r", 24), ("mc-qca8334", 25), ("mc-e1t1", 26), ("fr600f-mm", 100), ("fr600f-ms", 101), ("not-support", 102)))).setMaxAccess("readonly") if mibBuilder.loadTexts: coCardType.setStatus('current') if mibBuilder.loadTexts: coCardType.setDescription("local card's type inserted in the chassis") coCardDesc = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 3, 1, 1, 4), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: coCardDesc.setStatus('current') if mibBuilder.loadTexts: coCardDesc.setDescription("local card's description") rmtCardType = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 100, 101, 102))).clone(namedValues=NamedValues(("no-card", 0), ("ip113sr", 1), ("ip113f", 2), ("mc-1g-e2o", 3), ("mc-1g-o2o", 4), ("mc-4-25g-oeor", 5), ("mc-ip175dr", 6), ("mc-10g-oeor", 7), ("mc-10g-oeer", 8), ("mc-FANr", 9), ("mc-10g-oeo-1rr", 10), ("mc-2-5gr", 11), ("mc-40g-oeor", 12), ("mc-2-5g-tr", 13), ("mc-2-5g-fr", 14), ("mc-2-5g-mux-tr", 15), ("mc-2-5g-mux-fr", 16), ("mc-1g-e2o-backupr", 17), ("mc-e1-1sfpr", 18), ("mc-e1-2sfpr", 19), ("mc-100m-sfpr", 20), ("mc-1g-o2o-backupr", 21), ("mc-cwdmr-4", 22), ("mc-cwdmr-8", 23), ("mc-10g-oeo-2rr", 24), ("mc-qca8334r", 25), ("mc-e1t1r", 26), ("fr600f-mm", 100), ("fr600f-ms", 101), ("not-support", 102)))).setMaxAccess("readonly") if mibBuilder.loadTexts: rmtCardType.setStatus('current') if mibBuilder.loadTexts: rmtCardType.setDescription("remote card's type connect with the local converter") rmtCardDesc = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 3, 1, 1, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rmtCardDesc.setStatus('current') if mibBuilder.loadTexts: rmtCardDesc.setDescription("remote card's description") cardObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4)) nmuObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1)) nmuConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1)) nmuType = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(100, 101, 102))).clone(namedValues=NamedValues(("fr600f-mm", 100), ("fr600f-ms", 101), ("not-support", 102)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nmuType.setStatus('current') if mibBuilder.loadTexts: nmuType.setDescription('The type of NMU (network management unit)') ipaddr = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ipaddr.setStatus('current') if mibBuilder.loadTexts: ipaddr.setDescription('The ethernet IP address of NMU (network management unit)') subnet = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 3), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: subnet.setStatus('current') if mibBuilder.loadTexts: subnet.setDescription('The etherent mask address of NMU (network management unit)') gateway = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 4), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: gateway.setStatus('current') if mibBuilder.loadTexts: gateway.setDescription('The ethernet gateway address of NMU (network management unit)') sysContact = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysContact.setStatus('current') if mibBuilder.loadTexts: sysContact.setDescription('Mirror of the system.sysContact.0') sysName = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysName.setStatus('current') if mibBuilder.loadTexts: sysName.setDescription('Mirror of the system.sysName.0') sysLocation = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 7), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: sysLocation.setStatus('current') if mibBuilder.loadTexts: sysLocation.setDescription('Mirror of the system.sysLocation.0') trapHost1 = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 8), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: trapHost1.setStatus('current') if mibBuilder.loadTexts: trapHost1.setDescription("The first host's IP address used to receive trap messages, when set 0 it simply delete this entry. This applies to the trap host 2~4 below as well.") trapHost2 = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 9), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: trapHost2.setStatus('current') if mibBuilder.loadTexts: trapHost2.setDescription("The second host's IP address used to receive trap messages") trapHost3 = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 10), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: trapHost3.setStatus('current') if mibBuilder.loadTexts: trapHost3.setDescription("The third host's IP address used to receive trap messages") trapHost4 = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 11), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: trapHost4.setStatus('current') if mibBuilder.loadTexts: trapHost4.setDescription("The fourth host's IP address used to receive trap messages") mcCmObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2)) mcCmTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1), ) if mibBuilder.loadTexts: mcCmTable.setStatus('current') if mibBuilder.loadTexts: mcCmTable.setDescription('MC Configuration table') mcCmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1), ).setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx")) if mibBuilder.loadTexts: mcCmEntry.setStatus('current') if mibBuilder.loadTexts: mcCmEntry.setDescription('MC Configuration entry definition') mcShelfIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("master", 1), ("slave1", 2), ("slave2", 3), ("slave3", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcShelfIdx.setStatus('current') if mibBuilder.loadTexts: mcShelfIdx.setDescription('Shelf index') mcCardIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=NamedValues(("card01", 1), ("card02", 2), ("card03", 3), ("card04", 4), ("card05", 5), ("card06", 6), ("card07", 7), ("card08", 8), ("card09", 9), ("card10", 10), ("card11", 11), ("card12", 12), ("card13", 13), ("card14", 14), ("card15", 15), ("card16", 16)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcCardIdx.setStatus('current') if mibBuilder.loadTexts: mcCardIdx.setDescription('Card index') mcType = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26))).clone(namedValues=NamedValues(("no-card", 0), ("ip113s", 1), ("ip113f", 2), ("mc-1g-e2o", 3), ("mc-1g-o2o", 4), ("mc-4-25g-oeo", 5), ("mc-ip175d", 6), ("mc-10g-oeo", 7), ("mc-10g-oee", 8), ("mc-FAN", 9), ("mc-10g-oeo-1r", 10), ("mc-2-5g", 11), ("mc-40g-oeo", 12), ("mc-2-5g-t", 13), ("mc-2-5g-f", 14), ("mc-2-5g-mux-t", 15), ("mc-2-5g-mux-f", 16), ("mc-1g-e2o-backup", 17), ("mc-e1-1sfp", 18), ("mc-e1-2sfp", 19), ("mc-100m-sfp", 20), ("mc-1g-o2o-backup", 21), ("mc-cwdm-4", 22), ("mc-cwdm-8", 23), ("mc-10g-oeo-2r", 24), ("mc-qca8334", 25), ("mc-e1t1", 26)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcType.setStatus('current') if mibBuilder.loadTexts: mcType.setDescription("Center card's type") mcTransceiverMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("bidi", 1), ("duplex-fiber", 2), ("sfp", 3), ("not-support", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcTransceiverMode.setStatus('current') if mibBuilder.loadTexts: mcTransceiverMode.setDescription("Center card's optical transceiver mode. 100M card support bidi/duplex-fiber; 1G card support bidi/duplex-fiber/sfp. Once sfp is given, the following mcTransceiverDist should be ignored.") mcTransceiverDist = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 120))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcTransceiverDist.setStatus('current') if mibBuilder.loadTexts: mcTransceiverDist.setDescription("Center card's optical transceiver distance, 1 means 550m for duplex-fiber mode in case of 1G card, otherwise it represents the real distance (unit of km).") mcPortState = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("locked", 1), ("unlocked", 2), ("not-support", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcPortState.setStatus('current') if mibBuilder.loadTexts: mcPortState.setDescription("Center card's port status, locked or unlocked") mcTransmitMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("cut-through", 1), ("store-forward", 2), ("not-support", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcTransmitMode.setStatus('current') if mibBuilder.loadTexts: mcTransmitMode.setDescription("Center card's transmmit mode") mcCurWorkMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("m100-full", 2), ("m100-half", 3), ("m10-full", 4), ("m10-half", 5), ("m1G-full", 6), ("not-support", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcCurWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcCurWorkMode.setDescription("Center card's current work mode") mcCfgWorkMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("mAuto", 1), ("m100-full", 2), ("m100-half", 3), ("m10-full", 4), ("m10-half", 5), ("m1G-full", 6), ("not-support", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcCfgWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcCfgWorkMode.setDescription("Center card's configurable work mode") mcLFPCfg = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("not-support", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcLFPCfg.setStatus('current') if mibBuilder.loadTexts: mcLFPCfg.setDescription('Remote fault detect function, valid only on center MC card') mcUpStream = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 11), Gauge32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcUpStream.setStatus('current') if mibBuilder.loadTexts: mcUpStream.setDescription("Center card's up stream of MC") mcDownStream = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 12), Gauge32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcDownStream.setStatus('current') if mibBuilder.loadTexts: mcDownStream.setDescription("Center card's down stream of MC") mcTxlink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcTxlink.setStatus('current') if mibBuilder.loadTexts: mcTxlink.setDescription("Center card's electrical port's link status") mcFxlink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcFxlink.setStatus('current') if mibBuilder.loadTexts: mcFxlink.setDescription("Center card's optical port's link status") mcHWLFP = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcHWLFP.setStatus('current') if mibBuilder.loadTexts: mcHWLFP.setDescription("Center card's HW LFP, not applicable for 1G card") mcHWTransmitMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("cut-through", 1), ("store-forward", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcHWTransmitMode.setStatus('current') if mibBuilder.loadTexts: mcHWTransmitMode.setDescription("Center card's HW transmit mode, not applicable for 1G card") mcHWWorkMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("mAuto", 1), ("m100-full", 2), ("m100-half", 3), ("m10-full", 4), ("m10-half", 5), ("m1G-full", 6), ("not-support", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcHWWorkMode.setStatus('current') if mibBuilder.loadTexts: mcHWWorkMode.setDescription("Center card's HW work mode, not applicable for 1G card") mcHWRmtCtrlMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcHWRmtCtrlMode.setStatus('current') if mibBuilder.loadTexts: mcHWRmtCtrlMode.setDescription("Center card's HW remote control mode (only valid for local card). the disable mode indicates that all SET operations must be prohibited") mcNtwSfpExist = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("inserted", 1), ("removed", 2), ("na", 3), ("not-support", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcNtwSfpExist.setStatus('current') if mibBuilder.loadTexts: mcNtwSfpExist.setDescription("Center 1G card's Network SFP indication") mcAccSfpExist = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("inserted", 1), ("removed", 2), ("na", 3), ("not-support", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcAccSfpExist.setStatus('current') if mibBuilder.loadTexts: mcAccSfpExist.setDescription("Center 1G card's Access SFP indication, applicable only for O2O type") mcUtility = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("idle", 1), ("reset", 2), ("default", 3), ("set2hw", 4), ("not-support", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcUtility.setStatus('current') if mibBuilder.loadTexts: mcUtility.setDescription('reset, default to factory, set to HW word, etc...') mcRmtDetect = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("no-remote", 0), ("yes", 1), ("not-support", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmtDetect.setStatus('current') if mibBuilder.loadTexts: mcRmtDetect.setDescription('An identifier to indicate if there is a remote MC currently connecting to system or not') mcRmtType = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26))).clone(namedValues=NamedValues(("no-card", 0), ("ip113sr", 1), ("ip113f", 2), ("mc-1g-e2or", 3), ("mc-1g-o2or", 4), ("mc-4-25g-oeor", 5), ("mc-ip175dr", 6), ("mc-10g-oeor", 7), ("mc-10g-oeer", 8), ("mc-FANr", 9), ("mc-10g-oeo-1rr", 10), ("mc-2-5gr", 11), ("mc-40g-oeor", 12), ("mc-2-5g-tr", 13), ("mc-2-5g-fr", 14), ("mc-2-5g-mux-tr", 15), ("mc-2-5g-mux-fr", 16), ("mc-1g-e2o-backupr", 17), ("mc-e1-1sfpr", 18), ("mc-e1-2sfpr", 19), ("mc-100m-sfpr", 20), ("mc-1g-o2o-backupr", 21), ("mc-cwdmr-4", 22), ("mc-cwdmr-8", 23), ("mc-10g-oeo-2rr", 24), ("mc-qca8334r", 25), ("mc-e1t1r", 26)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmtType.setStatus('current') if mibBuilder.loadTexts: mcRmtType.setDescription("Remote card's type") mcRmtTransmitMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("no-card", 0), ("cut-through", 1), ("store-forward", 2), ("not-support", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcRmtTransmitMode.setStatus('current') if mibBuilder.loadTexts: mcRmtTransmitMode.setDescription("Remote card's transmmit mode") mcRmtCurWorkMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("no-card", 0), ("m100-full", 2), ("m100-half", 3), ("m10-full", 4), ("m10-half", 5), ("m1G-full", 6), ("not-support", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmtCurWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcRmtCurWorkMode.setDescription("Remote card's current work mode") mcRmtCfgWorkMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("no-card", 0), ("mAuto", 1), ("m100-full", 2), ("m100-half", 3), ("m10-full", 4), ("m10-half", 5), ("m1G-full", 6), ("not-support", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcRmtCfgWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcRmtCfgWorkMode.setDescription("Remote card's configurable work mode") mcRmtLFP = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("no-card", 0), ("enable", 1), ("disable", 2), ("not-support", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcRmtLFP.setStatus('current') if mibBuilder.loadTexts: mcRmtLFP.setDescription("Remote card's LFP lamp state") mcRmtTxlink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("no-card", 0), ("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmtTxlink.setStatus('current') if mibBuilder.loadTexts: mcRmtTxlink.setDescription("Remote card's electrial port status") mcRmtHWLFP = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("no-card", 0), ("enable", 1), ("disable", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmtHWLFP.setStatus('current') if mibBuilder.loadTexts: mcRmtHWLFP.setDescription("Remote card's HW LFP, not applicable for 1G card") mcRmtHWTransmitMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("no-card", 0), ("cut-through", 1), ("store-forward", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmtHWTransmitMode.setStatus('current') if mibBuilder.loadTexts: mcRmtHWTransmitMode.setDescription("Remote card's HW transmit mode, not applicable for 1G card") mcRmtHWWorkMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("no-card", 0), ("mAuto", 1), ("m100-full", 2), ("m100-half", 3), ("m10-full", 4), ("m10-half", 5), ("m1G-full", 6), ("not-support", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmtHWWorkMode.setStatus('current') if mibBuilder.loadTexts: mcRmtHWWorkMode.setDescription("Remote card's HW work mode, not applicable for 1G card") mcRmtLoopback = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 32), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("no-card", 0), ("enable", 1), ("disable", 2), ("not-support", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcRmtLoopback.setStatus('current') if mibBuilder.loadTexts: mcRmtLoopback.setDescription("Remote card's HW Loopback state") mcRmtPwrDown = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("no-card", 0), ("powerdown", 1), ("normal", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmtPwrDown.setStatus('current') if mibBuilder.loadTexts: mcRmtPwrDown.setDescription("Remote card's power down state") mcRmtAccSfpExist = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 34), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("no-card", 0), ("inserted", 1), ("removed", 2), ("na", 3), ("support", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmtAccSfpExist.setStatus('current') if mibBuilder.loadTexts: mcRmtAccSfpExist.setDescription("Remote 1G card's Access SFP indication, applicable only for O2O type") mcRmtUtility = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 35), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("no-card", 0), ("idle", 1), ("reset", 2), ("default", 3), ("set2hw", 4), ("not-support", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcRmtUtility.setStatus('current') if mibBuilder.loadTexts: mcRmtUtility.setDescription("Rmote cards's reset, default to factory, set to HW word, etc...") mcCm1gSpecificObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2)) mcCm1gIpObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 1)) mcCm1gIpTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 1, 1), ) if mibBuilder.loadTexts: mcCm1gIpTable.setStatus('current') if mibBuilder.loadTexts: mcCm1gIpTable.setDescription('MC 1G Ip address table') mcCm1gIpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 1, 1, 1), ).setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx"), (0, "XXX-MIB", "mcLoOrRmtFg")) if mibBuilder.loadTexts: mcCm1gIpEntry.setStatus('current') if mibBuilder.loadTexts: mcCm1gIpEntry.setDescription('MC 1G Ip address entry definition') mcLoOrRmtFg = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("local", 1), ("remote", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcLoOrRmtFg.setStatus('current') if mibBuilder.loadTexts: mcLoOrRmtFg.setDescription('location index, local or remote') mcIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 1, 1, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcIpAddr.setStatus('current') if mibBuilder.loadTexts: mcIpAddr.setDescription('The Ip address of the node') mcCm1gSfpObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2)) mcCm1gSfpTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1), ) if mibBuilder.loadTexts: mcCm1gSfpTable.setStatus('current') if mibBuilder.loadTexts: mcCm1gSfpTable.setDescription('MC 1G SFP table') mcCm1gSfpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1), ).setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx"), (0, "XXX-MIB", "mcLoOrRmtFg")) if mibBuilder.loadTexts: mcCm1gSfpEntry.setStatus('current') if mibBuilder.loadTexts: mcCm1gSfpEntry.setDescription('MC 1G SFP entry definition') getSfpCmd = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("na", 0), ("local", 1), ("remote", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: getSfpCmd.setStatus('current') if mibBuilder.loadTexts: getSfpCmd.setDescription('This command will get the updated sfp information. Please send this command prior to getting the following params, otherwise the history sfp information will be sent back.') sfpCompliance = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sfpCompliance.setStatus('current') if mibBuilder.loadTexts: sfpCompliance.setDescription('SFP compliance (one byte) if 0 then the attributs of sfpTemperature/sfpTranPower/sfpRecvPower should be ignored') sfpConnector = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sfpConnector.setStatus('current') if mibBuilder.loadTexts: sfpConnector.setDescription('SFP connector type (one byte) 0x01: SC 0x07: LC 0x22: RJ45 others: unsupported') sfpTransCode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sfpTransCode.setStatus('current') if mibBuilder.loadTexts: sfpTransCode.setDescription('SFP transceiver code (one byte) bit0: SingleMode bit1: Copper Module bit2: MultiMode bit3: MultiMode others: unsupported') sfpSmLength = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sfpSmLength.setStatus('current') if mibBuilder.loadTexts: sfpSmLength.setDescription('SFP link length for SingleMode, units of km. (one byte) applicable only when sfpTransCode is SingleMode') sfpMmLength = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sfpMmLength.setStatus('current') if mibBuilder.loadTexts: sfpMmLength.setDescription('SFP link length for MultiMode, units of 10m (one byte) applicable only when sfpTransCode is MultiMode') sfpCopperLength = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sfpCopperLength.setStatus('current') if mibBuilder.loadTexts: sfpCopperLength.setDescription('SFP link length for Copper, units of m (one byte) applicable only when sfpConnector is RJ45') sfpBrSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sfpBrSpeed.setStatus('current') if mibBuilder.loadTexts: sfpBrSpeed.setDescription('SFP nominal signalling rate, units of 100Mbit/s (one byte)') sfpWavelength = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sfpWavelength.setStatus('current') if mibBuilder.loadTexts: sfpWavelength.setDescription('SFP laser wavelength (one word)') sfpTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sfpTemperature.setStatus('current') if mibBuilder.loadTexts: sfpTemperature.setDescription('SFP temperature (one type, signed)') sfpTranPower = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sfpTranPower.setStatus('current') if mibBuilder.loadTexts: sfpTranPower.setDescription('SFP tx power (one type, signed)') sfpRecvPower = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 12), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sfpRecvPower.setStatus('current') if mibBuilder.loadTexts: sfpRecvPower.setDescription('SFP rx power (one type, signed)') sfpVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 13), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: sfpVoltage.setStatus('current') if mibBuilder.loadTexts: sfpVoltage.setDescription('SFP voltage, units of 0.1mV (one word)') mcCm1gAccSfpObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3)) mcCm1gAccSfpTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1), ) if mibBuilder.loadTexts: mcCm1gAccSfpTable.setStatus('current') if mibBuilder.loadTexts: mcCm1gAccSfpTable.setDescription('MC 1G Access SFP table') mcCm1gAccSfpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1), ).setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx"), (0, "XXX-MIB", "mcLoOrRmtFg")) if mibBuilder.loadTexts: mcCm1gAccSfpEntry.setStatus('current') if mibBuilder.loadTexts: mcCm1gAccSfpEntry.setDescription('MC 1G Access SFP entry definition') getAccSfpCmd = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("na", 0), ("local", 1), ("remote", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: getAccSfpCmd.setStatus('current') if mibBuilder.loadTexts: getAccSfpCmd.setDescription('This command will get the updated sfp information. Please send this command prior to getting the following params, otherwise the history sfp information will be sent back.') accsfpCompliance = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: accsfpCompliance.setStatus('current') if mibBuilder.loadTexts: accsfpCompliance.setDescription('SFP compliance (one byte) if 0 then the attributs of sfpTemperature/sfpTranPower/sfpRecvPower should be ignored') accsfpConnector = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: accsfpConnector.setStatus('current') if mibBuilder.loadTexts: accsfpConnector.setDescription('SFP connector type (one byte) 0x01: SC 0x07: LC 0x22: RJ45 others: unsupported') accsfpTransCode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: accsfpTransCode.setStatus('current') if mibBuilder.loadTexts: accsfpTransCode.setDescription('SFP transceiver code (one byte) bit0: SingleMode bit2: MultiMode bit3: MultiMode others: unsupported') accsfpSmLength = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: accsfpSmLength.setStatus('current') if mibBuilder.loadTexts: accsfpSmLength.setDescription('SFP link length for SingleMode, units of km. (one byte) applicable only when sfpTransCode is SingleMode') accsfpMmLength = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: accsfpMmLength.setStatus('current') if mibBuilder.loadTexts: accsfpMmLength.setDescription('SFP link length for MultiMode, units of 10m (one byte) applicable only when sfpTransCode is MultiMode') accsfpCopperLength = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: accsfpCopperLength.setStatus('current') if mibBuilder.loadTexts: accsfpCopperLength.setDescription('SFP link length for Copper, units of m (one byte) applicable only when sfpConnector is RJ45') accsfpBrSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: accsfpBrSpeed.setStatus('current') if mibBuilder.loadTexts: accsfpBrSpeed.setDescription('SFP nominal signalling rate, units of 100Mbit/s (one byte)') accsfpWavelength = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: accsfpWavelength.setStatus('current') if mibBuilder.loadTexts: accsfpWavelength.setDescription('SFP laser wavelength (one word)') accsfpTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: accsfpTemperature.setStatus('current') if mibBuilder.loadTexts: accsfpTemperature.setDescription('SFP temperature (one type, signed)') accsfpTranPower = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: accsfpTranPower.setStatus('current') if mibBuilder.loadTexts: accsfpTranPower.setDescription('SFP tx power (one type, signed)') accsfpRecvPower = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 12), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: accsfpRecvPower.setStatus('current') if mibBuilder.loadTexts: accsfpRecvPower.setDescription('SFP rx power (one type, signed)') accsfpVoltage = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 13), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: accsfpVoltage.setStatus('current') if mibBuilder.loadTexts: accsfpVoltage.setDescription('SFP voltage, units of 0.1mV (one word)') mcIP175DObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3)) mcIP175DCardObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 1)) mcIP175DCardTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 1, 1), ) if mibBuilder.loadTexts: mcIP175DCardTable.setStatus('current') if mibBuilder.loadTexts: mcIP175DCardTable.setDescription('MC IP175D Configuration table') mcIP175DCardEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 1, 1, 1), ).setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx")) if mibBuilder.loadTexts: mcIP175DCardEntry.setStatus('current') if mibBuilder.loadTexts: mcIP175DCardEntry.setDescription('MC Configuration entry definition') mcIP175DVlanMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("Normal", 1), ("mode1", 2), ("mode2", 3), ("not-support", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcIP175DVlanMode.setStatus('current') if mibBuilder.loadTexts: mcIP175DVlanMode.setDescription("Center card's vlan mode") mcIP175DPortObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2)) mcIP175DPortTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1), ) if mibBuilder.loadTexts: mcIP175DPortTable.setStatus('current') if mibBuilder.loadTexts: mcIP175DPortTable.setDescription('MC IP175D Configuration table') mcIP175DPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1, 1), ).setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx"), (0, "XXX-MIB", "mcIP175DPortIdx")) if mibBuilder.loadTexts: mcIP175DPortEntry.setStatus('current') if mibBuilder.loadTexts: mcIP175DPortEntry.setDescription('MC Configuration entry definition') mcIP175DPortIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("port1", 1), ("port2", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcIP175DPortIdx.setStatus('current') if mibBuilder.loadTexts: mcIP175DPortIdx.setDescription('Port index') mcIP175DCurWorkMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("m100-full", 2), ("m100-half", 3), ("m10-full", 4), ("m10-half", 5), ("m1G-full", 6), ("not-support", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcIP175DCurWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcIP175DCurWorkMode.setDescription("Center card's port current work mode") mcIP175DCfgWorkMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("mAuto", 1), ("m100-full", 2), ("m100-half", 3), ("m10-full", 4), ("m10-half", 5), ("m1G-full", 6), ("not-support", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcIP175DCfgWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcIP175DCfgWorkMode.setDescription("Center card's port configurable work mode") mcIP175DUpStream = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1, 1, 4), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(64, 100000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcIP175DUpStream.setStatus('current') if mibBuilder.loadTexts: mcIP175DUpStream.setDescription("Center card's port up stream of MC") mcIP175DDownStream = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1, 1, 5), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(64, 100000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcIP175DDownStream.setStatus('current') if mibBuilder.loadTexts: mcIP175DDownStream.setDescription("Center card's port down stream of MC") mcIP175DTxlink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcIP175DTxlink.setStatus('current') if mibBuilder.loadTexts: mcIP175DTxlink.setDescription("Center card's port 1 electrical port's link status") mcIP175DRmtCurWorkMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("no-card", 0), ("m100-full", 2), ("m100-half", 3), ("m10-full", 4), ("m10-half", 5), ("m1G-full", 6), ("not-support", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcIP175DRmtCurWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcIP175DRmtCurWorkMode.setDescription("Remote card's port 1 current work mode") mcIP175DRmtCfgWorkMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("no-card", 0), ("mAuto", 1), ("m100-full", 2), ("m100-half", 3), ("m10-full", 4), ("m10-half", 5), ("m1G-full", 6), ("not-support", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcIP175DRmtCfgWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcIP175DRmtCfgWorkMode.setDescription("Remote card's port1 configurable work mode") mcIP175DRmtTxlink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("no-card", 0), ("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcIP175DRmtTxlink.setStatus('current') if mibBuilder.loadTexts: mcIP175DRmtTxlink.setDescription("Remote card's port electrial port status") mc4_25G_OEOObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4)).setLabel("mc4-25G-OEOObjects") mc4_25G_OEOCardObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1)).setLabel("mc4-25G-OEOCardObjects") mc4_25G_OEOCardTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1), ).setLabel("mc4-25G-OEOCardTable") if mibBuilder.loadTexts: mc4_25G_OEOCardTable.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEOCardTable.setDescription('MC 4.25G OEO Configuration table') mc4_25G_OEOCardEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1), ).setLabel("mc4-25G-OEOCardEntry").setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx")) if mibBuilder.loadTexts: mc4_25G_OEOCardEntry.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEOCardEntry.setDescription('MC Configuration entry definition') mc4_25G_OEOCurSpdMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=NamedValues(("Infini", 1), ("STM16", 2), ("STM4", 3), ("STM1", 4), ("FCx4", 5), ("FCx2", 6), ("FCx1", 7), ("GE", 8), ("FE", 9), ("ESCOM", 10), ("not-support", 11)))).setLabel("mc4-25G-OEOCurSpdMode").setMaxAccess("readonly") if mibBuilder.loadTexts: mc4_25G_OEOCurSpdMode.setStatus('mandatory') if mibBuilder.loadTexts: mc4_25G_OEOCurSpdMode.setDescription("Center card's config speed mode") mc4_25G_OEOCfgSpdMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=NamedValues(("Infini", 1), ("STM16", 2), ("STM4", 3), ("STM1", 4), ("FCx4", 5), ("FCx2", 6), ("FCx1", 7), ("GE", 8), ("FE", 9), ("ESCOM", 10), ("not-support", 11)))).setLabel("mc4-25G-OEOCfgSpdMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc4_25G_OEOCfgSpdMode.setStatus('mandatory') if mibBuilder.loadTexts: mc4_25G_OEOCfgSpdMode.setDescription("Center card's current speed mode") mc4_25G_OEOLoopback = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("not-support", 3)))).setLabel("mc4-25G-OEOLoopback").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc4_25G_OEOLoopback.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEOLoopback.setDescription("card's Loopback state") mc4_25G_OEOWorkMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("repeater", 1), ("retimer", 2), ("not-support", 3)))).setLabel("mc4-25G-OEOWorkMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc4_25G_OEOWorkMode.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEOWorkMode.setDescription("card's Work Mode") mc4_25G_OEONtwPD = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setLabel("mc4-25G-OEONtwPD").setMaxAccess("readonly") if mibBuilder.loadTexts: mc4_25G_OEONtwPD.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEONtwPD.setDescription("Center card's network side PD status") mc4_25G_OEOAccPD = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setLabel("mc4-25G-OEOAccPD").setMaxAccess("readonly") if mibBuilder.loadTexts: mc4_25G_OEOAccPD.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEOAccPD.setDescription("Center card's access side PD status") mc4_25G_OEOHWSpdMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=NamedValues(("Infini", 1), ("STM16", 2), ("STM4", 3), ("STM1", 4), ("FCx4", 5), ("FCx2", 6), ("FCx1", 7), ("GE", 8), ("FE", 9), ("ESCOM", 10), ("not-support", 11)))).setLabel("mc4-25G-OEOHWSpdMode").setMaxAccess("readonly") if mibBuilder.loadTexts: mc4_25G_OEOHWSpdMode.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEOHWSpdMode.setDescription("Center card's HW speed mode") mc4_25G_OEOHWLoopback = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("not-support", 3)))).setLabel("mc4-25G-OEOHWLoopback").setMaxAccess("readonly") if mibBuilder.loadTexts: mc4_25G_OEOHWLoopback.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEOHWLoopback.setDescription("card's HW Loopback state") mc4_25G_OEOHWWorkMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("repeater", 1), ("retimer", 2), ("not-support", 3)))).setLabel("mc4-25G-OEOHWWorkMode").setMaxAccess("readonly") if mibBuilder.loadTexts: mc4_25G_OEOHWWorkMode.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEOHWWorkMode.setDescription("card's HW Work Mode") mc4_25G_OEO_Test_Lock = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("Lock", 1), ("Unlock", 2)))).setLabel("mc4-25G-OEO-Test-Lock").setMaxAccess("readonly") if mibBuilder.loadTexts: mc4_25G_OEO_Test_Lock.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEO_Test_Lock.setDescription('test result lock or unlock') mc4_25G_OEO_Test_Error_Counter = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 11), Integer32()).setLabel("mc4-25G-OEO-Test-Error-Counter").setMaxAccess("readonly") if mibBuilder.loadTexts: mc4_25G_OEO_Test_Error_Counter.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEO_Test_Error_Counter.setDescription('test result error counter') mc4_25G_OEO_Test_Continue_Time = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 12), Integer32()).setLabel("mc4-25G-OEO-Test-Continue-Time").setMaxAccess("readonly") if mibBuilder.loadTexts: mc4_25G_OEO_Test_Continue_Time.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEO_Test_Continue_Time.setDescription('test continue time unit is second') mc4_25G_OEO_Test_Result = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("Pass", 1), ("Error", 2)))).setLabel("mc4-25G-OEO-Test-Result").setMaxAccess("readonly") if mibBuilder.loadTexts: mc4_25G_OEO_Test_Result.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEO_Test_Result.setDescription('test result') mc4_25G_OEO_Start_Test = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("Start", 1), ("Stop", 2)))).setLabel("mc4-25G-OEO-Start-Test").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc4_25G_OEO_Start_Test.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEO_Start_Test.setDescription('start test and stop test') mc4_25G_OEO_Get_Test_Rst = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("Get", 1)))).setLabel("mc4-25G-OEO-Get-Test-Rst").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc4_25G_OEO_Get_Test_Rst.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEO_Get_Test_Rst.setDescription('get test result') mcRmt4_25G_OEOCurSpdMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=NamedValues(("Infini", 1), ("STM16", 2), ("STM4", 3), ("STM1", 4), ("FCx4", 5), ("FCx2", 6), ("FCx1", 7), ("GE", 8), ("FE", 9), ("ESCOM", 10), ("not-support", 11)))).setLabel("mcRmt4-25G-OEOCurSpdMode").setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmt4_25G_OEOCurSpdMode.setStatus('mandatory') if mibBuilder.loadTexts: mcRmt4_25G_OEOCurSpdMode.setDescription("Center card's config speed mode") mcRmt4_25G_OEOCfgSpdMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=NamedValues(("Infini", 1), ("STM16", 2), ("STM4", 3), ("STM1", 4), ("FCx4", 5), ("FCx2", 6), ("FCx1", 7), ("GE", 8), ("FE", 9), ("ESCOM", 10), ("not-support", 11)))).setLabel("mcRmt4-25G-OEOCfgSpdMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: mcRmt4_25G_OEOCfgSpdMode.setStatus('mandatory') if mibBuilder.loadTexts: mcRmt4_25G_OEOCfgSpdMode.setDescription("Center card's current speed mode") mcRmt4_25G_OEOLoopback = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("not-support", 3)))).setLabel("mcRmt4-25G-OEOLoopback").setMaxAccess("readwrite") if mibBuilder.loadTexts: mcRmt4_25G_OEOLoopback.setStatus('current') if mibBuilder.loadTexts: mcRmt4_25G_OEOLoopback.setDescription("card's Loopback state") mcRmt4_25G_OEOWorkMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("repeater", 1), ("retimer", 2), ("not-support", 3)))).setLabel("mcRmt4-25G-OEOWorkMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: mcRmt4_25G_OEOWorkMode.setStatus('current') if mibBuilder.loadTexts: mcRmt4_25G_OEOWorkMode.setDescription("card's Work Mode") mcRmt4_25G_OEOHWSpdMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=NamedValues(("Infini", 1), ("STM16", 2), ("STM4", 3), ("STM1", 4), ("FCx4", 5), ("FCx2", 6), ("FCx1", 7), ("GE", 8), ("FE", 9), ("ESCOM", 10), ("not-support", 11)))).setLabel("mcRmt4-25G-OEOHWSpdMode").setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmt4_25G_OEOHWSpdMode.setStatus('current') if mibBuilder.loadTexts: mcRmt4_25G_OEOHWSpdMode.setDescription("Center card's HW speed mode") mcRmt4_25G_OEOHWLoopback = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("not-support", 3)))).setLabel("mcRmt4-25G-OEOHWLoopback").setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmt4_25G_OEOHWLoopback.setStatus('current') if mibBuilder.loadTexts: mcRmt4_25G_OEOHWLoopback.setDescription("card's HW Loopback state") mcRmt4_25G_OEOHWWorkMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("repeater", 1), ("retimer", 2), ("not-support", 3)))).setLabel("mcRmt4-25G-OEOHWWorkMode").setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmt4_25G_OEOHWWorkMode.setStatus('current') if mibBuilder.loadTexts: mcRmt4_25G_OEOHWWorkMode.setDescription("card's HW Work Mode") mc10G_OEOObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5)).setLabel("mc10G-OEOObjects") mc10G_OEOCardObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1)).setLabel("mc10G-OEOCardObjects") mc10G_OEOCardTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1), ).setLabel("mc10G-OEOCardTable") if mibBuilder.loadTexts: mc10G_OEOCardTable.setStatus('current') if mibBuilder.loadTexts: mc10G_OEOCardTable.setDescription('MC 10G OEO Configuration table') mc10G_OEOCardEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1), ).setLabel("mc10G-OEOCardEntry").setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx")) if mibBuilder.loadTexts: mc10G_OEOCardEntry.setStatus('current') if mibBuilder.loadTexts: mc10G_OEOCardEntry.setDescription('MC Configuration entry definition') mc10G_OEOCurSpdMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 4))).clone(namedValues=NamedValues(("LAN", 1), ("WAN", 2), ("not-support", 4)))).setLabel("mc10G-OEOCurSpdMode").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEOCurSpdMode.setStatus('mandatory') if mibBuilder.loadTexts: mc10G_OEOCurSpdMode.setDescription("Center card's current speed mode 10G LAN(10.3125G) and 10G WAN(9.95328G)") mc10G_OEOCfgSpdMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 4))).clone(namedValues=NamedValues(("LAN", 1), ("WAN", 2), ("not-support", 4)))).setLabel("mc10G-OEOCfgSpdMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc10G_OEOCfgSpdMode.setStatus('mandatory') if mibBuilder.loadTexts: mc10G_OEOCfgSpdMode.setDescription("Center card's config speed mode 10G LAN(10.3125G) and 10G WAN(9.95328G)") mc10G_OEOLoopback = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("not-support", 3)))).setLabel("mc10G-OEOLoopback").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc10G_OEOLoopback.setStatus('current') if mibBuilder.loadTexts: mc10G_OEOLoopback.setDescription("card's Loopback state") mc10G_OEOSFP1 = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setLabel("mc10G-OEOSFP1").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEOSFP1.setStatus('current') if mibBuilder.loadTexts: mc10G_OEOSFP1.setDescription("Center card's SFP1 link status") mc10G_OEOSFP2 = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setLabel("mc10G-OEOSFP2").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEOSFP2.setStatus('current') if mibBuilder.loadTexts: mc10G_OEOSFP2.setDescription("Center card's SFP2 link status") mc10G_OEOHWSpdMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 4))).clone(namedValues=NamedValues(("LAN", 1), ("WAN", 2), ("not-support", 4)))).setLabel("mc10G-OEOHWSpdMode").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEOHWSpdMode.setStatus('current') if mibBuilder.loadTexts: mc10G_OEOHWSpdMode.setDescription("Center card's HW speed mode") mc10G_OEOHWLoopback = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("not-support", 3)))).setLabel("mc10G-OEOHWLoopback").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEOHWLoopback.setStatus('current') if mibBuilder.loadTexts: mc10G_OEOHWLoopback.setDescription("card's HW Loopback state") mc10G_OEO_Test_Lock = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("Lock", 1), ("Unlock", 2)))).setLabel("mc10G-OEO-Test-Lock").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEO_Test_Lock.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO_Test_Lock.setDescription('test result lock or unlock') mc10G_OEO_Test_Error_Counter = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 9), Integer32()).setLabel("mc10G-OEO-Test-Error-Counter").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEO_Test_Error_Counter.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO_Test_Error_Counter.setDescription('test result error counter') mc10G_OEO_Test_Continue_Time = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 10), Integer32()).setLabel("mc10G-OEO-Test-Continue-Time").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEO_Test_Continue_Time.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO_Test_Continue_Time.setDescription('test continue time unit is second') mc10G_OEO_Test_Result = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("Pass", 1), ("Error", 2)))).setLabel("mc10G-OEO-Test-Result").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEO_Test_Result.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO_Test_Result.setDescription('test result') mc10G_OEO_Start_Test = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("Start", 1), ("Stop", 2)))).setLabel("mc10G-OEO-Start-Test").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc10G_OEO_Start_Test.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO_Start_Test.setDescription('start test and stop test') mc10G_OEO_Get_Test_Rst = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("Get", 1)))).setLabel("mc10G-OEO-Get-Test-Rst").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc10G_OEO_Get_Test_Rst.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO_Get_Test_Rst.setDescription('get test result') mcRmt10G_OEOCurSpdMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 4))).clone(namedValues=NamedValues(("LAN", 1), ("WAN", 2), ("not-support", 4)))).setLabel("mcRmt10G-OEOCurSpdMode").setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmt10G_OEOCurSpdMode.setStatus('mandatory') if mibBuilder.loadTexts: mcRmt10G_OEOCurSpdMode.setDescription("Center card's current speed mode 10G LAN(10.3125G) and 10G WAN(9.95328G)") mcRmt10G_OEOCfgSpdMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 4))).clone(namedValues=NamedValues(("LAN", 1), ("WAN", 2), ("not-support", 4)))).setLabel("mcRmt10G-OEOCfgSpdMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: mcRmt10G_OEOCfgSpdMode.setStatus('mandatory') if mibBuilder.loadTexts: mcRmt10G_OEOCfgSpdMode.setDescription("Center card's config speed mode 10G LAN(10.3125G) and 10G WAN(9.95328G)") mcRmt10G_OEOLoopback = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("not-support", 3)))).setLabel("mcRmt10G-OEOLoopback").setMaxAccess("readwrite") if mibBuilder.loadTexts: mcRmt10G_OEOLoopback.setStatus('current') if mibBuilder.loadTexts: mcRmt10G_OEOLoopback.setDescription("card's Loopback state") mcRmt10G_OEOHWSpdMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 4))).clone(namedValues=NamedValues(("LAN", 1), ("WAN", 2), ("not-support", 4)))).setLabel("mcRmt10G-OEOHWSpdMode").setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmt10G_OEOHWSpdMode.setStatus('current') if mibBuilder.loadTexts: mcRmt10G_OEOHWSpdMode.setDescription("Center card's HW speed mode 10G LAN(10.3125G) and 10G WAN(9.95328G)") mcRmt10G_OEOHWLoopback = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("not-support", 3)))).setLabel("mcRmt10G-OEOHWLoopback").setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmt10G_OEOHWLoopback.setStatus('current') if mibBuilder.loadTexts: mcRmt10G_OEOHWLoopback.setDescription("card's HW Loopback state") mcRmt10G_OEOSFP1 = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setLabel("mcRmt10G-OEOSFP1").setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmt10G_OEOSFP1.setStatus('current') if mibBuilder.loadTexts: mcRmt10G_OEOSFP1.setDescription("card's SFP1 link status") mc10G_OEO_accType = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("XFP", 1), ("SFP", 2), ("unknow", 3)))).setLabel("mc10G-OEO-accType").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEO_accType.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO_accType.setDescription('') mc10G_OEO_ntwType = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("XFP", 1), ("SFP", 2), ("unknow", 3)))).setLabel("mc10G-OEO-ntwType").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEO_ntwType.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO_ntwType.setDescription('') mcRmt10G_OEO_accType = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("XFP", 1), ("SFP", 2), ("unknow", 3)))).setLabel("mcRmt10G-OEO-accType").setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmt10G_OEO_accType.setStatus('current') if mibBuilder.loadTexts: mcRmt10G_OEO_accType.setDescription('') mcRmt10G_OEO_ntwType = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("XFP", 1), ("SFP", 2), ("unknow", 3)))).setLabel("mcRmt10G-OEO-ntwType").setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmt10G_OEO_ntwType.setStatus('current') if mibBuilder.loadTexts: mcRmt10G_OEO_ntwType.setDescription('') mc10G_OEEObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6)).setLabel("mc10G-OEEObjects") mc10G_OEECardObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1)).setLabel("mc10G-OEECardObjects") mc10G_OEECardTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1, 1), ).setLabel("mc10G-OEECardTable") if mibBuilder.loadTexts: mc10G_OEECardTable.setStatus('current') if mibBuilder.loadTexts: mc10G_OEECardTable.setDescription('MC 10G OEE Configuration table') mc10G_OEECardEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1, 1, 1), ).setLabel("mc10G-OEECardEntry").setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx")) if mibBuilder.loadTexts: mc10G_OEECardEntry.setStatus('current') if mibBuilder.loadTexts: mc10G_OEECardEntry.setDescription('MC Configuration entry definition') mc10G_OEETxlink = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setLabel("mc10G-OEETxlink").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEETxlink.setStatus('mandatory') if mibBuilder.loadTexts: mc10G_OEETxlink.setDescription("Center card's electrical port's link status") mc10G_OEEFxlink = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setLabel("mc10G-OEEFxlink").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEEFxlink.setStatus('mandatory') if mibBuilder.loadTexts: mc10G_OEEFxlink.setDescription("Center card's optical port's link status") mc10G_OEECurSpd = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("no-card", 0), ("mAuto", 1), ("m100-full", 2), ("m100-half", 3), ("m10-full", 4), ("m10-half", 5), ("m1G-full", 6), ("m10G-Master", 7), ("m10G-Slave", 8), ("not-support", 9)))).setLabel("mc10G-OEECurSpd").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEECurSpd.setStatus('mandatory') if mibBuilder.loadTexts: mc10G_OEECurSpd.setDescription("Local card's current spd") mc10G_OEELoopMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("not-support", 3)))).setLabel("mc10G-OEELoopMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc10G_OEELoopMode.setStatus('current') if mibBuilder.loadTexts: mc10G_OEELoopMode.setDescription("card's Loopback state") mc10G_OEESpdMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 7, 8))).clone(namedValues=NamedValues(("auto", 1), ("m10G-Master", 7), ("m10G-Slave", 8)))).setLabel("mc10G-OEESpdMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc10G_OEESpdMode.setStatus('current') if mibBuilder.loadTexts: mc10G_OEESpdMode.setDescription("card's speed mode") mc10G_OEEHWLoopback = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("not-support", 3)))).setLabel("mc10G-OEEHWLoopback").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEEHWLoopback.setStatus('current') if mibBuilder.loadTexts: mc10G_OEEHWLoopback.setDescription("card's Loopback state") mc10G_OEE_ntwType = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("XFP", 1), ("SFP", 2), ("unknow", 3)))).setLabel("mc10G-OEE-ntwType").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEE_ntwType.setStatus('current') if mibBuilder.loadTexts: mc10G_OEE_ntwType.setDescription('') mc10G_OEE_checkResult = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1, 1, 1, 8), Integer32()).setLabel("mc10G-OEE-checkResult").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEE_checkResult.setStatus('current') if mibBuilder.loadTexts: mc10G_OEE_checkResult.setDescription('test result') mcFanObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 7)) mcFanCardObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 7, 1)) mcFanCardTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 7, 1, 1), ) if mibBuilder.loadTexts: mcFanCardTable.setStatus('current') if mibBuilder.loadTexts: mcFanCardTable.setDescription('MC fan card table') mcFanCardEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 7, 1, 1, 1), ).setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx")) if mibBuilder.loadTexts: mcFanCardEntry.setStatus('current') if mibBuilder.loadTexts: mcFanCardEntry.setDescription('MC Configuration entry definition') mcFanStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 7, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Normal", 1), ("Abnormal", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcFanStatus.setStatus('mandatory') if mibBuilder.loadTexts: mcFanStatus.setDescription("Center card's fan status") mc40G_OEOObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8)).setLabel("mc40G-OEOObjects") mc40G_OEOCardObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1)).setLabel("mc40G-OEOCardObjects") mc40G_OEOCardTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1), ).setLabel("mc40G-OEOCardTable") if mibBuilder.loadTexts: mc40G_OEOCardTable.setStatus('current') if mibBuilder.loadTexts: mc40G_OEOCardTable.setDescription('MC 40G OEO Configuration table') mc40G_OEOCardEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1), ).setLabel("mc40G-OEOCardEntry").setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx")) if mibBuilder.loadTexts: mc40G_OEOCardEntry.setStatus('current') if mibBuilder.loadTexts: mc40G_OEOCardEntry.setDescription('MC Configuration entry definition') mc40G_OEOQsfp1Lane1_link = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setLabel("mc40G-OEOQsfp1Lane1-link").setMaxAccess("readonly") if mibBuilder.loadTexts: mc40G_OEOQsfp1Lane1_link.setStatus('mandatory') if mibBuilder.loadTexts: mc40G_OEOQsfp1Lane1_link.setDescription("Center card's Qsfp1 Lane1 link status") mc40G_OEOQsfp1Lane2_link = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setLabel("mc40G-OEOQsfp1Lane2-link").setMaxAccess("readonly") if mibBuilder.loadTexts: mc40G_OEOQsfp1Lane2_link.setStatus('mandatory') if mibBuilder.loadTexts: mc40G_OEOQsfp1Lane2_link.setDescription("Center card's Qsfp1 Lane2 link status") mc40G_OEOQsfp1Lane3_link = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setLabel("mc40G-OEOQsfp1Lane3-link").setMaxAccess("readonly") if mibBuilder.loadTexts: mc40G_OEOQsfp1Lane3_link.setStatus('mandatory') if mibBuilder.loadTexts: mc40G_OEOQsfp1Lane3_link.setDescription("Center card's Qsfp1 Lane3 link status") mc40G_OEOQsfp1Lane4_link = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setLabel("mc40G-OEOQsfp1Lane4-link").setMaxAccess("readonly") if mibBuilder.loadTexts: mc40G_OEOQsfp1Lane4_link.setStatus('mandatory') if mibBuilder.loadTexts: mc40G_OEOQsfp1Lane4_link.setDescription("Center card's Qsfp1 Lane4 link status") mc40G_OEOQsfp2Lane1_link = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setLabel("mc40G-OEOQsfp2Lane1-link").setMaxAccess("readonly") if mibBuilder.loadTexts: mc40G_OEOQsfp2Lane1_link.setStatus('mandatory') if mibBuilder.loadTexts: mc40G_OEOQsfp2Lane1_link.setDescription("Center card's Qsfp2 Lane1 link status") mc40G_OEOQsfp2Lane2_link = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setLabel("mc40G-OEOQsfp2Lane2-link").setMaxAccess("readonly") if mibBuilder.loadTexts: mc40G_OEOQsfp2Lane2_link.setStatus('mandatory') if mibBuilder.loadTexts: mc40G_OEOQsfp2Lane2_link.setDescription("Center card's Qsfp2 Lane2 link status") mc40G_OEOQsfp2Lane3_link = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setLabel("mc40G-OEOQsfp2Lane3-link").setMaxAccess("readonly") if mibBuilder.loadTexts: mc40G_OEOQsfp2Lane3_link.setStatus('mandatory') if mibBuilder.loadTexts: mc40G_OEOQsfp2Lane3_link.setDescription("Center card's Qsfp2 Lane3 link status") mc40G_OEOQsfp2Lane4_link = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setLabel("mc40G-OEOQsfp2Lane4-link").setMaxAccess("readonly") if mibBuilder.loadTexts: mc40G_OEOQsfp2Lane4_link.setStatus('mandatory') if mibBuilder.loadTexts: mc40G_OEOQsfp2Lane4_link.setDescription("Center card's Qsfp2 Lane4 link status") mc40G_OEOLane1LoopMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("line-side-enable", 1), ("host-side-enable", 2), ("disable", 3), ("not-support", 4)))).setLabel("mc40G-OEOLane1LoopMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc40G_OEOLane1LoopMode.setStatus('current') if mibBuilder.loadTexts: mc40G_OEOLane1LoopMode.setDescription("card's Lane1 Loopback state") mc40G_OEOLane2LoopMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("line-side-enable", 1), ("host-side-enable", 2), ("disable", 3), ("not-support", 4)))).setLabel("mc40G-OEOLane2LoopMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc40G_OEOLane2LoopMode.setStatus('current') if mibBuilder.loadTexts: mc40G_OEOLane2LoopMode.setDescription("card's Lane2 Loopback state") mc40G_OEOLane3LoopMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("line-side-enable", 1), ("host-side-enable", 2), ("disable", 3), ("not-support", 4)))).setLabel("mc40G-OEOLane3LoopMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc40G_OEOLane3LoopMode.setStatus('current') if mibBuilder.loadTexts: mc40G_OEOLane3LoopMode.setDescription("card's Lane3 Loopback state") mc40G_OEOLane4LoopMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("line-side-enable", 1), ("host-side-enable", 2), ("disable", 3), ("not-support", 4)))).setLabel("mc40G-OEOLane4LoopMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc40G_OEOLane4LoopMode.setStatus('current') if mibBuilder.loadTexts: mc40G_OEOLane4LoopMode.setDescription("card's Lane4 Loopback state") mc40G_OEOLoopMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("all", 1), ("line-side-enable", 2), ("host-side-enable", 3), ("disable", 4), ("not-support", 5)))).setLabel("mc40G-OEOLoopMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc40G_OEOLoopMode.setStatus('current') if mibBuilder.loadTexts: mc40G_OEOLoopMode.setDescription("card's Loopback state") mc40G_OEOSpeedMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14))).clone(namedValues=NamedValues(("no-card", 0), ("mc40GSpeed-1", 1), ("mc40GSpeed-2", 2), ("mc40GSpeed-3", 3), ("mc40GSpeed-4", 4), ("mc40GSpeed-5", 5), ("mc40GSpeed-6", 6), ("mc40GSpeed-7", 7), ("mc40GSpeed-8", 8), ("mc40GSpeed-9", 9), ("mc40GSpeed-10", 10), ("mc40GSpeed-11", 11), ("mc40GSpeed-12", 12), ("mc40GSpeed-13", 13), ("not-support", 14)))).setLabel("mc40G-OEOSpeedMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc40G_OEOSpeedMode.setStatus('mandatory') if mibBuilder.loadTexts: mc40G_OEOSpeedMode.setDescription('speed1: 1X40G: 10G LAN(10312.5Mbps) speed2: 1X40G: OTU3(10754.60325Mbps) speed3: 1X40G: OTU3e2(11145.83875Mbps) speed4: 4X10G: 10G LAN(10312.5Mbps) speed5: 4X10G: CPRI(9830.4 Mbps) speed6: 4X10G: OC-192/STM-64(9953.28Mbps) speed7: 4X10G: OC-192/STM-64(10664.228571427Mbps) speed8: 4X10G: OC-192/STM-64(10709.225316455Mbps) speed9: 4X10G: 10G Ethernet(11049.107142857Mbps) speed10: 4X10G: 10GFibreChannel(10518.750Mbps) speed11: 4X10G: 10GFibreChannel(11270.089285714Mbps) speed12: 4X10G: 10GFibreChannel(11317.642405063Mbps) speed13: 4X10G: 10GInfiniband(10000.00Mbps)') mc40G_OEOHWLoopMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("line-side-enable", 1), ("host-side-enable", 2), ("disable", 3), ("not-support", 4)))).setLabel("mc40G-OEOHWLoopMode").setMaxAccess("readonly") if mibBuilder.loadTexts: mc40G_OEOHWLoopMode.setStatus('current') if mibBuilder.loadTexts: mc40G_OEOHWLoopMode.setDescription("card's HW Loopback state") mc40G_OEOHWSpeedMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13))).clone(namedValues=NamedValues(("no-card", 0), ("mc40GSpeed-1", 1), ("mc40GSpeed-2", 2), ("mc40GSpeed-3", 3), ("mc40GSpeed-4", 4), ("mc40GSpeed-5", 5), ("mc40GSpeed-6", 6), ("mc40GSpeed-7", 7), ("mc40GSpeed-8", 8), ("mc40GSpeed-9", 9), ("mc40GSpeed-10", 10), ("mc40GSpeed-11", 11), ("mc40GSpeed-12", 12), ("not-support", 13)))).setLabel("mc40G-OEOHWSpeedMode").setMaxAccess("readonly") if mibBuilder.loadTexts: mc40G_OEOHWSpeedMode.setStatus('mandatory') if mibBuilder.loadTexts: mc40G_OEOHWSpeedMode.setDescription('speed1: 1X40G: 10G LAN(10312.5Mbps) speed2: 1X40G: OTU3(10754.60325Mbps) speed3: 1X40G: OTU3e2(11145.83875Mbps) speed4: 4X10G: 10G LAN(10312.5Mbps) speed5: 4X10G: CPRI(9830.4 Mbps) speed6: 4X10G: OC-192/STM-64(9953.28Mbps) speed7: 4X10G: OC-192/STM-64(10664.228571427Mbps) speed8: 4X10G: OC-192/STM-64(10709.225316455Mbps) speed9: 4X10G: 10G Ethernet(11049.107142857Mbps) speed10: 4X10G: 10GFibreChannel(10518.750Mbps) speed11: 4X10G: 10GFibreChannel(11270.089285714Mbps) speed12: 4X10G: 10GFibreChannel(11317.642405063Mbps)') mcQsfpSpecificObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9)) mcNtwQSfpObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1)) mcNtwQSfpTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1), ) if mibBuilder.loadTexts: mcNtwQSfpTable.setStatus('current') if mibBuilder.loadTexts: mcNtwQSfpTable.setDescription('MC Ntw QSFP table') mcNtwQSfpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1), ).setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx")) if mibBuilder.loadTexts: mcNtwQSfpEntry.setStatus('current') if mibBuilder.loadTexts: mcNtwQSfpEntry.setDescription('MC Ntw QSFP entry definition') getNtwQSfpCmd = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("na", 0), ("local", 1), ("remote", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: getNtwQSfpCmd.setStatus('current') if mibBuilder.loadTexts: getNtwQSfpCmd.setDescription('This command will get the updated sfp information. Please send this command prior to getting the following params, otherwise the history sfp information will be sent back.') qsfpNtwConnector = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: qsfpNtwConnector.setStatus('current') if mibBuilder.loadTexts: qsfpNtwConnector.setDescription('SFP connector type (one byte) 0x07: LC 0x0B: Optical Pigtail 0x0C: MPO 0x21: Copper Pigtail others: unsupported') qsfpNtwTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: qsfpNtwTemperature.setStatus('current') if mibBuilder.loadTexts: qsfpNtwTemperature.setDescription('SFP temperature (one type, signed)') qsfpNtwTxPower1 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: qsfpNtwTxPower1.setStatus('current') if mibBuilder.loadTexts: qsfpNtwTxPower1.setDescription('SFP tx power (one type, signed)') qsfpNtwTxPower2 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: qsfpNtwTxPower2.setStatus('current') if mibBuilder.loadTexts: qsfpNtwTxPower2.setDescription('SFP tx power (one type, signed)') qsfpNtwTxPower3 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: qsfpNtwTxPower3.setStatus('current') if mibBuilder.loadTexts: qsfpNtwTxPower3.setDescription('SFP tx power (one type, signed)') qsfpNtwTxPower4 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: qsfpNtwTxPower4.setStatus('current') if mibBuilder.loadTexts: qsfpNtwTxPower4.setDescription('SFP tx power (one type, signed)') qsfpNtwRxPower1 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: qsfpNtwRxPower1.setStatus('current') if mibBuilder.loadTexts: qsfpNtwRxPower1.setDescription('SFP rx power (one type, signed)') qsfpNtwRxPower2 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: qsfpNtwRxPower2.setStatus('current') if mibBuilder.loadTexts: qsfpNtwRxPower2.setDescription('SFP rx power (one type, signed)') qsfpNtwRxPower3 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: qsfpNtwRxPower3.setStatus('current') if mibBuilder.loadTexts: qsfpNtwRxPower3.setDescription('SFP rx power (one type, signed)') qsfpNtwRxPower4 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: qsfpNtwRxPower4.setStatus('current') if mibBuilder.loadTexts: qsfpNtwRxPower4.setDescription('SFP rx power (one type, signed)') mcAccQSfpObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2)) mcAccQSfpTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1), ) if mibBuilder.loadTexts: mcAccQSfpTable.setStatus('current') if mibBuilder.loadTexts: mcAccQSfpTable.setDescription('MC Acc QSFP table') mcAccQSfpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1), ).setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx")) if mibBuilder.loadTexts: mcAccQSfpEntry.setStatus('current') if mibBuilder.loadTexts: mcAccQSfpEntry.setDescription('MC Acc QSFP entry definition') getAccQSfpCmd = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("na", 0), ("local", 1), ("remote", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: getAccQSfpCmd.setStatus('current') if mibBuilder.loadTexts: getAccQSfpCmd.setDescription('This command will get the updated sfp information. Please send this command prior to getting the following params, otherwise the history sfp information will be sent back.') qsfpAccConnector = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: qsfpAccConnector.setStatus('current') if mibBuilder.loadTexts: qsfpAccConnector.setDescription('SFP connector type (one byte) 0x07: LC 0x0B: Optical Pigtail 0x0C: MPO 0x21: Copper Pigtail others: unsupported') qsfpAccTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: qsfpAccTemperature.setStatus('current') if mibBuilder.loadTexts: qsfpAccTemperature.setDescription('SFP temperature (one type, signed)') qsfpAccTxPower1 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: qsfpAccTxPower1.setStatus('current') if mibBuilder.loadTexts: qsfpAccTxPower1.setDescription('SFP tx power (one type, signed)') qsfpAccTxPower2 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: qsfpAccTxPower2.setStatus('current') if mibBuilder.loadTexts: qsfpAccTxPower2.setDescription('SFP tx power (one type, signed)') qsfpAccTxPower3 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: qsfpAccTxPower3.setStatus('current') if mibBuilder.loadTexts: qsfpAccTxPower3.setDescription('SFP tx power (one type, signed)') qsfpAccTxPower4 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: qsfpAccTxPower4.setStatus('current') if mibBuilder.loadTexts: qsfpAccTxPower4.setDescription('SFP tx power (one type, signed)') qsfpAccRxPower1 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: qsfpAccRxPower1.setStatus('current') if mibBuilder.loadTexts: qsfpAccRxPower1.setDescription('SFP rx power (one type, signed)') qsfpAccRxPower2 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: qsfpAccRxPower2.setStatus('current') if mibBuilder.loadTexts: qsfpAccRxPower2.setDescription('SFP rx power (one type, signed)') qsfpAccRxPower3 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: qsfpAccRxPower3.setStatus('current') if mibBuilder.loadTexts: qsfpAccRxPower3.setDescription('SFP rx power (one type, signed)') qsfpAccRxPower4 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: qsfpAccRxPower4.setStatus('current') if mibBuilder.loadTexts: qsfpAccRxPower4.setDescription('SFP rx power (one type, signed)') mc2_5GMCObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10)).setLabel("mc2-5GMCObjects") mc2_5GMCSFP3Objects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1)).setLabel("mc2-5GMCSFP3Objects") mc2_5Cm1gSfpTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1), ).setLabel("mc2-5Cm1gSfpTable") if mibBuilder.loadTexts: mc2_5Cm1gSfpTable.setStatus('current') if mibBuilder.loadTexts: mc2_5Cm1gSfpTable.setDescription('MC 1G SFP table') mc2_5Cm1gSfpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1), ).setLabel("mc2-5Cm1gSfpEntry").setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx"), (0, "XXX-MIB", "mcLoOrRmtFg")) if mibBuilder.loadTexts: mc2_5Cm1gSfpEntry.setStatus('current') if mibBuilder.loadTexts: mc2_5Cm1gSfpEntry.setDescription('MC 1G SFP entry definition') mc2_5g_getSfpCmd = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("na", 0), ("local", 1), ("remote", 2)))).setLabel("mc2-5g-getSfpCmd").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc2_5g_getSfpCmd.setStatus('current') if mibBuilder.loadTexts: mc2_5g_getSfpCmd.setDescription('This command will get the updated sfp information. Please send this command prior to getting the following params, otherwise the history sfp information will be sent back.') mc2_5g_sfpCompliance = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 2), Integer32()).setLabel("mc2-5g-sfpCompliance").setMaxAccess("readonly") if mibBuilder.loadTexts: mc2_5g_sfpCompliance.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpCompliance.setDescription('SFP compliance (one byte) if 0 then the attributs of sfpTemperature/sfpTranPower/sfpRecvPower should be ignored') mc2_5g_sfpConnector = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 3), Integer32()).setLabel("mc2-5g-sfpConnector").setMaxAccess("readonly") if mibBuilder.loadTexts: mc2_5g_sfpConnector.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpConnector.setDescription('SFP connector type (one byte) 0x01: SC 0x07: LC 0x22: RJ45 others: unsupported') mc2_5g_sfpTransCode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 4), Integer32()).setLabel("mc2-5g-sfpTransCode").setMaxAccess("readonly") if mibBuilder.loadTexts: mc2_5g_sfpTransCode.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpTransCode.setDescription('SFP transceiver code (one byte) bit0: SingleMode bit2: MultiMode bit3: MultiMode others: unsupported') mc2_5g_sfpSmLength = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 5), Integer32()).setLabel("mc2-5g-sfpSmLength").setMaxAccess("readonly") if mibBuilder.loadTexts: mc2_5g_sfpSmLength.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpSmLength.setDescription('SFP link length for SingleMode, units of km. (one byte) applicable only when sfpTransCode is SingleMode') mc2_5g_sfpMmLength = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 6), Integer32()).setLabel("mc2-5g-sfpMmLength").setMaxAccess("readonly") if mibBuilder.loadTexts: mc2_5g_sfpMmLength.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpMmLength.setDescription('SFP link length for MultiMode, units of 10m (one byte) applicable only when sfpTransCode is MultiMode') mc2_5g_sfpCopperLength = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 7), Integer32()).setLabel("mc2-5g-sfpCopperLength").setMaxAccess("readonly") if mibBuilder.loadTexts: mc2_5g_sfpCopperLength.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpCopperLength.setDescription('SFP link length for Copper, units of m (one byte) applicable only when sfpConnector is RJ45') mc2_5g_sfpBrSpeed = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 8), Integer32()).setLabel("mc2-5g-sfpBrSpeed").setMaxAccess("readonly") if mibBuilder.loadTexts: mc2_5g_sfpBrSpeed.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpBrSpeed.setDescription('SFP nominal signalling rate, units of 100Mbit/s (one byte)') mc2_5g_sfpWavelength = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 9), Integer32()).setLabel("mc2-5g-sfpWavelength").setMaxAccess("readonly") if mibBuilder.loadTexts: mc2_5g_sfpWavelength.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpWavelength.setDescription('SFP laser wavelength (one word)') mc2_5g_sfpTemperature = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 10), Integer32()).setLabel("mc2-5g-sfpTemperature").setMaxAccess("readonly") if mibBuilder.loadTexts: mc2_5g_sfpTemperature.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpTemperature.setDescription('SFP temperature (one type, signed)') mc2_5g_sfpTranPower = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 11), Integer32()).setLabel("mc2-5g-sfpTranPower").setMaxAccess("readonly") if mibBuilder.loadTexts: mc2_5g_sfpTranPower.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpTranPower.setDescription('SFP tx power (one type, signed)') mc2_5g_sfpRecvPower = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 12), Integer32()).setLabel("mc2-5g-sfpRecvPower").setMaxAccess("readonly") if mibBuilder.loadTexts: mc2_5g_sfpRecvPower.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpRecvPower.setDescription('SFP rx power (one type, signed)') mc2_5g_sfpVoltage = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 13), Integer32()).setLabel("mc2-5g-sfpVoltage").setMaxAccess("readonly") if mibBuilder.loadTexts: mc2_5g_sfpVoltage.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpVoltage.setDescription('SFP voltage, units of 0.1mV (one word)') mc2_5GMCCardObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 2)).setLabel("mc2-5GMCCardObjects") mc2_5GMCCardTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 2, 1), ).setLabel("mc2-5GMCCardTable") if mibBuilder.loadTexts: mc2_5GMCCardTable.setStatus('current') if mibBuilder.loadTexts: mc2_5GMCCardTable.setDescription('MC 2-5GMC Configuration table') mc2_5GMCCardEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 2, 1, 1), ).setLabel("mc2-5GMCCardEntry").setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx")) if mibBuilder.loadTexts: mc2_5GMCCardEntry.setStatus('current') if mibBuilder.loadTexts: mc2_5GMCCardEntry.setDescription('MC Configuration entry definition') mc2_5GMCSfp3Exist = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("inserted", 1), ("removed", 2), ("na", 3), ("not-support", 4)))).setLabel("mc2-5GMCSfp3Exist").setMaxAccess("readonly") if mibBuilder.loadTexts: mc2_5GMCSfp3Exist.setStatus('current') if mibBuilder.loadTexts: mc2_5GMCSfp3Exist.setDescription("Center 1G card's SFP3 indication") mc2_5GMCPort1link = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setLabel("mc2-5GMCPort1link").setMaxAccess("readonly") if mibBuilder.loadTexts: mc2_5GMCPort1link.setStatus('current') if mibBuilder.loadTexts: mc2_5GMCPort1link.setDescription("Center card's electrical port1's link status") mc2_5GMCPort2link = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setLabel("mc2-5GMCPort2link").setMaxAccess("readonly") if mibBuilder.loadTexts: mc2_5GMCPort2link.setStatus('current') if mibBuilder.loadTexts: mc2_5GMCPort2link.setDescription("Center card's electrical port2's link status") mc2_5GMCPort3link = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setLabel("mc2-5GMCPort3link").setMaxAccess("readonly") if mibBuilder.loadTexts: mc2_5GMCPort3link.setStatus('current') if mibBuilder.loadTexts: mc2_5GMCPort3link.setDescription("Center card's electrical port3's link status") mcE1Objects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11)) mcE1CardObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1)) mcE1CardTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1), ) if mibBuilder.loadTexts: mcE1CardTable.setStatus('current') if mibBuilder.loadTexts: mcE1CardTable.setDescription('MC E1 + Eth Configuration table') mcE1CardEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1), ).setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx")) if mibBuilder.loadTexts: mcE1CardEntry.setStatus('current') if mibBuilder.loadTexts: mcE1CardEntry.setDescription('MC Configuration entry definition') mcE1Txlink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcE1Txlink.setStatus('mandatory') if mibBuilder.loadTexts: mcE1Txlink.setDescription("Center card's electrical port's link status") mcE1TxCurWorkMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("m100-full", 2), ("m100-half", 3), ("m10-full", 4), ("m10-half", 5), ("m1G-full", 6), ("not-support", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcE1TxCurWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcE1TxCurWorkMode.setDescription("Center card's current work mode") mcE1SFP1Link = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcE1SFP1Link.setStatus('mandatory') if mibBuilder.loadTexts: mcE1SFP1Link.setDescription("Center card's SFP1 port's link status") mcE1Port1LOS = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("alarm", 1), ("e1normal", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcE1Port1LOS.setStatus('current') if mibBuilder.loadTexts: mcE1Port1LOS.setDescription("card's E1 Port1 Los state") mcE1Port1AIS = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("alarm", 1), ("e1normal", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcE1Port1AIS.setStatus('current') if mibBuilder.loadTexts: mcE1Port1AIS.setDescription("card's E1 Port1 AIS state") mcE1Port1CV = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("alarm", 1), ("e1normal", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcE1Port1CV.setStatus('current') if mibBuilder.loadTexts: mcE1Port1CV.setDescription("card's E1 Port1 CV state") mcE1Port2LOS = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("alarm", 1), ("e1normal", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcE1Port2LOS.setStatus('current') if mibBuilder.loadTexts: mcE1Port2LOS.setDescription("card's E1 Port2 Los state") mcE1Port2AIS = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("alarm", 1), ("e1normal", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcE1Port2AIS.setStatus('current') if mibBuilder.loadTexts: mcE1Port2AIS.setDescription("card's E1 Port2 AIS state") mcE1Port2CV = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("alarm", 1), ("e1normal", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcE1Port2CV.setStatus('current') if mibBuilder.loadTexts: mcE1Port2CV.setDescription("card's E1 Port2 CV state") mcE1Port1Loop = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("external", 1), ("internal", 2), ("disabled", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcE1Port1Loop.setStatus('current') if mibBuilder.loadTexts: mcE1Port1Loop.setDescription("card's Port1 Loopback state") mcE1Port2Loop = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("external", 1), ("internal", 2), ("disabled", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcE1Port2Loop.setStatus('current') if mibBuilder.loadTexts: mcE1Port2Loop.setDescription("card's Port2 Loopback state") mcRmtE1Txlink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmtE1Txlink.setStatus('mandatory') if mibBuilder.loadTexts: mcRmtE1Txlink.setDescription("Remote card's electrical port's link status") mcRmtE1TxCurWorkMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("m100-full", 2), ("m100-half", 3), ("m10-full", 4), ("m10-half", 5), ("m1G-full", 6), ("not-support", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmtE1TxCurWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcRmtE1TxCurWorkMode.setDescription("Remote card's current work mode") mcRmtE1SFP1Link = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmtE1SFP1Link.setStatus('mandatory') if mibBuilder.loadTexts: mcRmtE1SFP1Link.setDescription("Remote card's SFP1 port's link status") mcRmtE1Port1LOS = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("alarm", 1), ("e1normal", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmtE1Port1LOS.setStatus('current') if mibBuilder.loadTexts: mcRmtE1Port1LOS.setDescription("Remote card's E1 Port1 Los state") mcRmtE1Port1AIS = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("alarm", 1), ("e1normal", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmtE1Port1AIS.setStatus('current') if mibBuilder.loadTexts: mcRmtE1Port1AIS.setDescription("Remote card's E1 Port1 AIS state") mcRmtE1Port1CV = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("alarm", 1), ("e1normal", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmtE1Port1CV.setStatus('current') if mibBuilder.loadTexts: mcRmtE1Port1CV.setDescription("Remote card's E1 Port1 CV state") mcRmtE1Port2LOS = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("alarm", 1), ("e1normal", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmtE1Port2LOS.setStatus('current') if mibBuilder.loadTexts: mcRmtE1Port2LOS.setDescription("Remote card's E1 Port2 Los state") mcRmtE1Port2AIS = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("alarm", 1), ("e1normal", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmtE1Port2AIS.setStatus('current') if mibBuilder.loadTexts: mcRmtE1Port2AIS.setDescription("Remote card's E1 Port2 AIS state") mcRmtE1Port2CV = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("alarm", 1), ("e1normal", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcRmtE1Port2CV.setStatus('current') if mibBuilder.loadTexts: mcRmtE1Port2CV.setDescription("Remote card's E1 Port2 CV state") mcRmtE1Port1Loop = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("external", 1), ("internal", 2), ("disabled", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcRmtE1Port1Loop.setStatus('current') if mibBuilder.loadTexts: mcRmtE1Port1Loop.setDescription("Remote card's Port1 Loopback state") mcRmtE1Port2Loop = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("external", 1), ("internal", 2), ("disabled", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcRmtE1Port2Loop.setStatus('current') if mibBuilder.loadTexts: mcRmtE1Port2Loop.setDescription("Remote card's Port2 Loopback state") mc1GE2OObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12)) mc1GE2OCardObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1)) mc1GE2OCardTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1), ) if mibBuilder.loadTexts: mc1GE2OCardTable.setStatus('current') if mibBuilder.loadTexts: mc1GE2OCardTable.setDescription('MC E2O Fiber backup Configuration table') mc1GE2OCardEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1), ).setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx")) if mibBuilder.loadTexts: mc1GE2OCardEntry.setStatus('current') if mibBuilder.loadTexts: mc1GE2OCardEntry.setDescription('MC Configuration entry definition') mc1GE2OPort1SFPlink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GE2OPort1SFPlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GE2OPort1SFPlink.setDescription("Center card's port1 SFP's link status") mc1GE2OPort2SFPlink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GE2OPort2SFPlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GE2OPort2SFPlink.setDescription("Center card's port2 SFP's link status") mc1GE2OTxlink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GE2OTxlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GE2OTxlink.setDescription("Center card's electrical port's link status") mc1GE2OPortPri = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Port1", 1), ("Port2", 2), ("not-support", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mc1GE2OPortPri.setStatus('current') if mibBuilder.loadTexts: mc1GE2OPortPri.setDescription("Center card's Port Pri state") mc1GE2OPort1SFPExist = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("no-card", 0), ("inserted", 1), ("removed", 2), ("na", 3), ("support", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GE2OPort1SFPExist.setStatus('current') if mibBuilder.loadTexts: mc1GE2OPort1SFPExist.setDescription('E2O Port1 SFP indication') mc1GE2OPort2SFPExist = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("no-card", 0), ("inserted", 1), ("removed", 2), ("na", 3), ("support", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GE2OPort2SFPExist.setStatus('current') if mibBuilder.loadTexts: mc1GE2OPort2SFPExist.setDescription('E2O Port2 SFP indication') mc1GE2OPortHWPri = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Port1", 1), ("Port2", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GE2OPortHWPri.setStatus('current') if mibBuilder.loadTexts: mc1GE2OPortHWPri.setDescription("Center card's Port Hardward Pri state") mc1GE2ORmtPort1SFPlink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GE2ORmtPort1SFPlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GE2ORmtPort1SFPlink.setDescription("Remote card's port1 SFP's link status") mc1GE2ORmtPort2SFPlink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GE2ORmtPort2SFPlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GE2ORmtPort2SFPlink.setDescription("Remote card's port2 SFP's link status") mc1GE2ORmtTxlink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GE2ORmtTxlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GE2ORmtTxlink.setDescription("Remote card's electrical port's link status") mc1GE2ORmtPort1SFPExist = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("no-card", 0), ("inserted", 1), ("removed", 2), ("na", 3), ("support", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GE2ORmtPort1SFPExist.setStatus('current') if mibBuilder.loadTexts: mc1GE2ORmtPort1SFPExist.setDescription('E2O Port1 SFP indication') mc1GE2ORmtPort2SFPExist = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("no-card", 0), ("inserted", 1), ("removed", 2), ("na", 3), ("support", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GE2ORmtPort2SFPExist.setStatus('current') if mibBuilder.loadTexts: mc1GE2ORmtPort2SFPExist.setDescription('E2O Port2 SFP indication') mc1GE2ORmtPortHWPri = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Port1", 1), ("Port2", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GE2ORmtPortHWPri.setStatus('current') if mibBuilder.loadTexts: mc1GE2ORmtPortHWPri.setDescription("Remote card's Port Hardward Pri state") mc1GO2OObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13)) mc1GO2OCardObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1)) mc1GO2OCardTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1), ) if mibBuilder.loadTexts: mc1GO2OCardTable.setStatus('current') if mibBuilder.loadTexts: mc1GO2OCardTable.setDescription('MC O2O Fiber backup Configuration table') mc1GO2OCardEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1), ).setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx")) if mibBuilder.loadTexts: mc1GO2OCardEntry.setStatus('current') if mibBuilder.loadTexts: mc1GO2OCardEntry.setDescription('MC Configuration entry definition') mc1GO2OPort1SFPlink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GO2OPort1SFPlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GO2OPort1SFPlink.setDescription("Center card's port1 SFP's link status") mc1GO2OPort2SFPlink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GO2OPort2SFPlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GO2OPort2SFPlink.setDescription("Center card's port2 SFP's link status") mc1GO2OPort3SFPlink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GO2OPort3SFPlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GO2OPort3SFPlink.setDescription("Center card's port3 SFP's link status") mc1GO2OPortPri = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Port1", 1), ("Port2", 2), ("not-support", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mc1GO2OPortPri.setStatus('current') if mibBuilder.loadTexts: mc1GO2OPortPri.setDescription("Center card's Port Pri state") mc1GO2OPort1SFPExist = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("no-card", 0), ("inserted", 1), ("removed", 2), ("na", 3), ("support", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GO2OPort1SFPExist.setStatus('current') if mibBuilder.loadTexts: mc1GO2OPort1SFPExist.setDescription('O2O Port1 SFP indication') mc1GO2OPort2SFPExist = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("no-card", 0), ("inserted", 1), ("removed", 2), ("na", 3), ("support", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GO2OPort2SFPExist.setStatus('current') if mibBuilder.loadTexts: mc1GO2OPort2SFPExist.setDescription('O2O Port2 SFP indication') mc1GO2OPort3SFPExist = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("inserted", 1), ("removed", 2), ("na", 3), ("not-support", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GO2OPort3SFPExist.setStatus('current') if mibBuilder.loadTexts: mc1GO2OPort3SFPExist.setDescription('O2O Port3 SFP indication') mc1GO2OPortHWPri = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Port1", 1), ("Port2", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GO2OPortHWPri.setStatus('current') if mibBuilder.loadTexts: mc1GO2OPortHWPri.setDescription("Local card's Port Hardward Pri state") mc1GO2OPort3HWSpd = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("M100", 1), ("M1000", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GO2OPort3HWSpd.setStatus('current') if mibBuilder.loadTexts: mc1GO2OPort3HWSpd.setDescription("Local card's Port3 Hardward Speed state") mc1GO2ORmtPort1SFPlink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GO2ORmtPort1SFPlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GO2ORmtPort1SFPlink.setDescription("Remote card's port1 SFP's link status") mc1GO2ORmtPort2SFPlink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GO2ORmtPort2SFPlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GO2ORmtPort2SFPlink.setDescription("Remote card's port2 SFP's link status") mc1GO2ORmtPort3SFPlink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GO2ORmtPort3SFPlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GO2ORmtPort3SFPlink.setDescription("Remote card's port3 SFP's link status") mc1GO2ORmtPort1SFPExist = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("no-card", 0), ("inserted", 1), ("removed", 2), ("na", 3), ("support", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GO2ORmtPort1SFPExist.setStatus('current') if mibBuilder.loadTexts: mc1GO2ORmtPort1SFPExist.setDescription('O2O Port1 SFP indication') mc1GO2ORmtPort2SFPExist = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("no-card", 0), ("inserted", 1), ("removed", 2), ("na", 3), ("support", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GO2ORmtPort2SFPExist.setStatus('current') if mibBuilder.loadTexts: mc1GO2ORmtPort2SFPExist.setDescription('O2O Port2 SFP indication') mc1GO2ORmtPort3SFPExist = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("inserted", 1), ("removed", 2), ("na", 3), ("not-support", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GO2ORmtPort3SFPExist.setStatus('current') if mibBuilder.loadTexts: mc1GO2ORmtPort3SFPExist.setDescription("Remote card's SFP3 indication") mc1GO2ORmtPortHWPri = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Port1", 1), ("Port2", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GO2ORmtPortHWPri.setStatus('current') if mibBuilder.loadTexts: mc1GO2ORmtPortHWPri.setDescription("Remot card's Port Hardward Pri state") mc1GO2ORmtPort3HWSpd = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("M100", 1), ("M1000", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc1GO2ORmtPort3HWSpd.setStatus('current') if mibBuilder.loadTexts: mc1GO2ORmtPort3HWSpd.setDescription("Remot card's Port3 Hardward Speed state") mc1GO2OSFP3Objects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2)) mc1GO2OSfp3Table = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1), ) if mibBuilder.loadTexts: mc1GO2OSfp3Table.setStatus('current') if mibBuilder.loadTexts: mc1GO2OSfp3Table.setDescription('MC 1G SFP table') mc1GO2OSfp3Entry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1), ).setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx"), (0, "XXX-MIB", "mcLoOrRmtFg")) if mibBuilder.loadTexts: mc1GO2OSfp3Entry.setStatus('current') if mibBuilder.loadTexts: mc1GO2OSfp3Entry.setDescription('MC 1G O2O SFP3 entry definition') mc1go2o_getSfpCmd = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("na", 0), ("local", 1), ("remote", 2)))).setLabel("mc1go2o-getSfpCmd").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc1go2o_getSfpCmd.setStatus('current') if mibBuilder.loadTexts: mc1go2o_getSfpCmd.setDescription('This command will get the updated sfp information. Please send this command prior to getting the following params, otherwise the history sfp information will be sent back.') mc1go2o_sfpCompliance = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 2), Integer32()).setLabel("mc1go2o-sfpCompliance").setMaxAccess("readonly") if mibBuilder.loadTexts: mc1go2o_sfpCompliance.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpCompliance.setDescription('SFP compliance (one byte) if 0 then the attributs of sfpTemperature/sfpTranPower/sfpRecvPower should be ignored') mc1go2o_sfpConnector = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 3), Integer32()).setLabel("mc1go2o-sfpConnector").setMaxAccess("readonly") if mibBuilder.loadTexts: mc1go2o_sfpConnector.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpConnector.setDescription('SFP connector type (one byte) 0x01: SC 0x07: LC 0x22: RJ45 others: unsupported') mc1go2o_sfpTransCode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 4), Integer32()).setLabel("mc1go2o-sfpTransCode").setMaxAccess("readonly") if mibBuilder.loadTexts: mc1go2o_sfpTransCode.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpTransCode.setDescription('SFP transceiver code (one byte) bit0: SingleMode bit2: MultiMode bit3: MultiMode others: unsupported') mc1go2o_sfpSmLength = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 5), Integer32()).setLabel("mc1go2o-sfpSmLength").setMaxAccess("readonly") if mibBuilder.loadTexts: mc1go2o_sfpSmLength.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpSmLength.setDescription('SFP link length for SingleMode, units of km. (one byte) applicable only when sfpTransCode is SingleMode') mc1go2o_sfpMmLength = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 6), Integer32()).setLabel("mc1go2o-sfpMmLength").setMaxAccess("readonly") if mibBuilder.loadTexts: mc1go2o_sfpMmLength.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpMmLength.setDescription('SFP link length for MultiMode, units of 10m (one byte) applicable only when sfpTransCode is MultiMode') mc1go2o_sfpCopperLength = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 7), Integer32()).setLabel("mc1go2o-sfpCopperLength").setMaxAccess("readonly") if mibBuilder.loadTexts: mc1go2o_sfpCopperLength.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpCopperLength.setDescription('SFP link length for Copper, units of m (one byte) applicable only when sfpConnector is RJ45') mc1go2o_sfpBrSpeed = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 8), Integer32()).setLabel("mc1go2o-sfpBrSpeed").setMaxAccess("readonly") if mibBuilder.loadTexts: mc1go2o_sfpBrSpeed.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpBrSpeed.setDescription('SFP nominal signalling rate, units of 100Mbit/s (one byte)') mc1go2o_sfpWavelength = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 9), Integer32()).setLabel("mc1go2o-sfpWavelength").setMaxAccess("readonly") if mibBuilder.loadTexts: mc1go2o_sfpWavelength.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpWavelength.setDescription('SFP laser wavelength (one word)') mc1go2o_sfpTemperature = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 10), Integer32()).setLabel("mc1go2o-sfpTemperature").setMaxAccess("readonly") if mibBuilder.loadTexts: mc1go2o_sfpTemperature.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpTemperature.setDescription('SFP temperature (one type, signed)') mc1go2o_sfpTranPower = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 11), Integer32()).setLabel("mc1go2o-sfpTranPower").setMaxAccess("readonly") if mibBuilder.loadTexts: mc1go2o_sfpTranPower.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpTranPower.setDescription('SFP tx power (one type, signed)') mc1go2o_sfpRecvPower = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 12), Integer32()).setLabel("mc1go2o-sfpRecvPower").setMaxAccess("readonly") if mibBuilder.loadTexts: mc1go2o_sfpRecvPower.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpRecvPower.setDescription('SFP rx power (one type, signed)') mc1go2o_sfpVoltage = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 13), Integer32()).setLabel("mc1go2o-sfpVoltage").setMaxAccess("readonly") if mibBuilder.loadTexts: mc1go2o_sfpVoltage.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpVoltage.setDescription('SFP voltage, units of 0.1mV (one word)') mc10GOEO1RObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14)) mc10GOEO1RCardObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1)) mc10GOEO1RCardTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1, 1), ) if mibBuilder.loadTexts: mc10GOEO1RCardTable.setStatus('current') if mibBuilder.loadTexts: mc10GOEO1RCardTable.setDescription('MC 10G OEO 1R Configuration table') mc10GOEO1RCardEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1, 1, 1), ).setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx")) if mibBuilder.loadTexts: mc10GOEO1RCardEntry.setStatus('current') if mibBuilder.loadTexts: mc10GOEO1RCardEntry.setDescription('MC Configuration entry definition') mcAccXFP1WaveLengthTunability = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Supported", 1), ("Unsupported", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcAccXFP1WaveLengthTunability.setStatus('mandatory') if mibBuilder.loadTexts: mcAccXFP1WaveLengthTunability.setDescription("XFP1's wavelength tunability") mcAccXFP1WaveLengthTunable = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Doing", 1), ("Completed", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcAccXFP1WaveLengthTunable.setStatus('mandatory') if mibBuilder.loadTexts: mcAccXFP1WaveLengthTunable.setDescription("XFP1's wavelength tunable status") mcAccXFP1WaveLength = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1, 1, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcAccXFP1WaveLength.setStatus('mandatory') if mibBuilder.loadTexts: mcAccXFP1WaveLength.setDescription("XFP1's wavelength") mcNtwXFP2WaveLengthTunability = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Supported", 1), ("Unsupported", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcNtwXFP2WaveLengthTunability.setStatus('mandatory') if mibBuilder.loadTexts: mcNtwXFP2WaveLengthTunability.setDescription("XFP2's wavelength tunability") mcNtwXFP2WaveLengthTunable = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Doing", 1), ("Completed", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcNtwXFP2WaveLengthTunable.setStatus('mandatory') if mibBuilder.loadTexts: mcNtwXFP2WaveLengthTunable.setDescription("XFP2's wavelength tunable status") mcNtwXFP2WaveLength = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1, 1, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcNtwXFP2WaveLength.setStatus('mandatory') if mibBuilder.loadTexts: mcNtwXFP2WaveLength.setDescription("XFP2's wavelength") mcAccXFP1TunableType = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("channel", 1), ("wavelength", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcAccXFP1TunableType.setStatus('mandatory') if mibBuilder.loadTexts: mcAccXFP1TunableType.setDescription("XFP1's wavelength tunable type") mcNtwXFP2TunableType = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("channel", 1), ("wavelength", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcNtwXFP2TunableType.setStatus('mandatory') if mibBuilder.loadTexts: mcNtwXFP2TunableType.setDescription("XFP2's wavelength tunable type") mc10GOEO3RObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15)) mc10GOEO3RCardObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1)) mc10GOEO3RCardTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1, 1), ) if mibBuilder.loadTexts: mc10GOEO3RCardTable.setStatus('current') if mibBuilder.loadTexts: mc10GOEO3RCardTable.setDescription('MC 10G OEO 3R tunable wavelength Configuration table') mc10GOEO3RCardEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1, 1, 1), ).setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx")) if mibBuilder.loadTexts: mc10GOEO3RCardEntry.setStatus('current') if mibBuilder.loadTexts: mc10GOEO3RCardEntry.setDescription('MC Configuration entry definition') accXFP1WaveLengthTunability = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Supported", 1), ("Unsupported", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: accXFP1WaveLengthTunability.setStatus('mandatory') if mibBuilder.loadTexts: accXFP1WaveLengthTunability.setDescription("XFP1's wavelength tunability") accXFP1WaveLengthTunable = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Doing", 1), ("Completed", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: accXFP1WaveLengthTunable.setStatus('mandatory') if mibBuilder.loadTexts: accXFP1WaveLengthTunable.setDescription("XFP1's wavelength tunable status") accXFP1WaveLength = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1, 1, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: accXFP1WaveLength.setStatus('mandatory') if mibBuilder.loadTexts: accXFP1WaveLength.setDescription("XFP1's wavelength") ntwXFP2WaveLengthTunability = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Supported", 1), ("Unsupported", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwXFP2WaveLengthTunability.setStatus('mandatory') if mibBuilder.loadTexts: ntwXFP2WaveLengthTunability.setDescription("XFP2's wavelength tunability") ntwXFP2WaveLengthTunable = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Doing", 1), ("Completed", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwXFP2WaveLengthTunable.setStatus('mandatory') if mibBuilder.loadTexts: ntwXFP2WaveLengthTunable.setDescription("XFP2's wavelength tunable status") ntwXFP2WaveLength = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1, 1, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ntwXFP2WaveLength.setStatus('mandatory') if mibBuilder.loadTexts: ntwXFP2WaveLength.setDescription("XFP2's wavelength") accXFP1TunableType = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("channel", 1), ("wavelength", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: accXFP1TunableType.setStatus('mandatory') if mibBuilder.loadTexts: accXFP1TunableType.setDescription("XFP1's wavelength tunable type") ntwXFP2TunableType = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("channel", 1), ("wavelength", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwXFP2TunableType.setStatus('mandatory') if mibBuilder.loadTexts: ntwXFP2TunableType.setDescription("XFP2's wavelength tunable type") mcCWDMObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16)) mcCWDMCardObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1)) mcCWDMCardTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1), ) if mibBuilder.loadTexts: mcCWDMCardTable.setStatus('current') if mibBuilder.loadTexts: mcCWDMCardTable.setDescription('MC CWDM table') mcCWDMCardEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1, 1), ).setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx")) if mibBuilder.loadTexts: mcCWDMCardEntry.setStatus('current') if mibBuilder.loadTexts: mcCWDMCardEntry.setDescription('MC Configuration entry definition') cwdmWavelengthCount = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cwdmWavelengthCount.setStatus('mandatory') if mibBuilder.loadTexts: cwdmWavelengthCount.setDescription('wavelength count') cwdmWavelength1 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cwdmWavelength1.setStatus('mandatory') if mibBuilder.loadTexts: cwdmWavelength1.setDescription('CWDM Card wavelenth 1') cwdmWavelength2 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cwdmWavelength2.setStatus('mandatory') if mibBuilder.loadTexts: cwdmWavelength2.setDescription('CWDM Card wavelenth 2') cwdmWavelength3 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1, 1, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cwdmWavelength3.setStatus('mandatory') if mibBuilder.loadTexts: cwdmWavelength3.setDescription('CWDM Card wavelenth 3') cwdmWavelength4 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1, 1, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cwdmWavelength4.setStatus('mandatory') if mibBuilder.loadTexts: cwdmWavelength4.setDescription('CWDM Card wavelenth 4') cwdmWavelength5 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1, 1, 6), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cwdmWavelength5.setStatus('mandatory') if mibBuilder.loadTexts: cwdmWavelength5.setDescription('CWDM Card wavelenth 5') cwdmWavelength6 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1, 1, 7), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cwdmWavelength6.setStatus('mandatory') if mibBuilder.loadTexts: cwdmWavelength6.setDescription('CWDM Card wavelenth 6') cwdmWavelength7 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1, 1, 8), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cwdmWavelength7.setStatus('mandatory') if mibBuilder.loadTexts: cwdmWavelength7.setDescription('CWDM Card wavelenth 7') cwdmWavelength8 = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1, 1, 9), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cwdmWavelength8.setStatus('mandatory') if mibBuilder.loadTexts: cwdmWavelength8.setDescription('CWDM Card wavelenth 8') mc10G_OEO2RObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17)).setLabel("mc10G-OEO2RObjects") mc10G_OEO2RCardObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1)).setLabel("mc10G-OEO2RCardObjects") mc10G_OEO2RCardTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1), ).setLabel("mc10G-OEO2RCardTable") if mibBuilder.loadTexts: mc10G_OEO2RCardTable.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2RCardTable.setDescription('MC 10G OEO 2R Configuration table') mc10G_OEO2RCardEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1), ).setLabel("mc10G-OEO2RCardEntry").setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx")) if mibBuilder.loadTexts: mc10G_OEO2RCardEntry.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2RCardEntry.setDescription('MC Configuration entry definition') mc10G_OEO2RCurSpdMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("Speed85", 1), ("Speed103to117", 2), ("Speed995to113", 3), ("not-support", 4)))).setLabel("mc10G-OEO2RCurSpdMode").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEO2RCurSpdMode.setStatus('mandatory') if mibBuilder.loadTexts: mc10G_OEO2RCurSpdMode.setDescription("Center card's current speed mode 1: 8.5G 2: 10.3G-11.7G 3: 9.95G-11.3G ") mc10G_OEO2RCfgSpdMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("Speed85", 1), ("Speed103to117", 2), ("Speed995to113", 3), ("not-support", 4)))).setLabel("mc10G-OEO2RCfgSpdMode").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc10G_OEO2RCfgSpdMode.setStatus('mandatory') if mibBuilder.loadTexts: mc10G_OEO2RCfgSpdMode.setDescription("Center card's current speed mode 1: 8.5G 2: 10.3G-11.7G 3: 9.95G-11.3G ") mc10G_OEO2RSFP1Loopback = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("not-support", 3)))).setLabel("mc10G-OEO2RSFP1Loopback").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc10G_OEO2RSFP1Loopback.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2RSFP1Loopback.setDescription("card's SFP1 Loopback state") mc10G_OEO2RSFP2Loopback = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("not-support", 3)))).setLabel("mc10G-OEO2RSFP2Loopback").setMaxAccess("readwrite") if mibBuilder.loadTexts: mc10G_OEO2RSFP2Loopback.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2RSFP2Loopback.setDescription("card's SFP2 Loopback state") mc10G_OEO2RSFP1 = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setLabel("mc10G-OEO2RSFP1").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEO2RSFP1.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2RSFP1.setDescription("Center card's SFP1 link status") mc10G_OEO2RSFP2 = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setLabel("mc10G-OEO2RSFP2").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEO2RSFP2.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2RSFP2.setDescription("Center card's SFP2 link status") mc10G_OEO2RHWSpdMode = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("Speed85", 1), ("Speed103to117", 2), ("Speed995to113", 3), ("not-support", 4)))).setLabel("mc10G-OEO2RHWSpdMode").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEO2RHWSpdMode.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2RHWSpdMode.setDescription("Center card's current speed mode 1: 8.5G 2: 10.3G-11.7G 3: 9.95G-11.3G ") mc10G_OEO2RHWSFP1Loopback = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("not-support", 3)))).setLabel("mc10G-OEO2RHWSFP1Loopback").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEO2RHWSFP1Loopback.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2RHWSFP1Loopback.setDescription("card's HW Loopback state") mc10G_OEO2RHWSFP2Loopback = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("not-support", 3)))).setLabel("mc10G-OEO2RHWSFP2Loopback").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEO2RHWSFP2Loopback.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2RHWSFP2Loopback.setDescription("card's HW Loopback state") mc10G_OEO2RVersion = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 10), DisplayString()).setLabel("mc10G-OEO2RVersion").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEO2RVersion.setStatus('mandatory') if mibBuilder.loadTexts: mc10G_OEO2RVersion.setDescription('MC version') mc10GXFP1WaveLengthTunability = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Supported", 1), ("Unsupported", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc10GXFP1WaveLengthTunability.setStatus('mandatory') if mibBuilder.loadTexts: mc10GXFP1WaveLengthTunability.setDescription("XFP1's wavelength tunability") mc10GXFP1WaveLengthTunable = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Doing", 1), ("Completed", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc10GXFP1WaveLengthTunable.setStatus('mandatory') if mibBuilder.loadTexts: mc10GXFP1WaveLengthTunable.setDescription("XFP1's wavelength tunable status") mc10GXFP1WaveLength = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 13), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mc10GXFP1WaveLength.setStatus('mandatory') if mibBuilder.loadTexts: mc10GXFP1WaveLength.setDescription("XFP1's wavelength") mc10GXFP2WaveLengthTunability = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Supported", 1), ("Unsupported", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc10GXFP2WaveLengthTunability.setStatus('mandatory') if mibBuilder.loadTexts: mc10GXFP2WaveLengthTunability.setDescription("XFP2's wavelength tunability") mc10GXFP2WaveLengthTunable = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Doing", 1), ("Completed", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mc10GXFP2WaveLengthTunable.setStatus('mandatory') if mibBuilder.loadTexts: mc10GXFP2WaveLengthTunable.setDescription("XFP2's wavelength tunable status") mc10GXFP2WaveLength = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 16), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: mc10GXFP2WaveLength.setStatus('mandatory') if mibBuilder.loadTexts: mc10GXFP2WaveLength.setDescription("XFP2's wavelength") mc10G_OEO2R_accType = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("XFP", 1), ("SFP", 2), ("unknow", 3)))).setLabel("mc10G-OEO2R-accType").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEO2R_accType.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2R_accType.setDescription('') mc10G_OEO2R_ntwType = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("XFP", 1), ("SFP", 2), ("unknow", 3)))).setLabel("mc10G-OEO2R-ntwType").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEO2R_ntwType.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2R_ntwType.setDescription('') mc10G_OEO2R_accTunableType = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("channel", 1), ("wavelength", 2), ("not-support", 3)))).setLabel("mc10G-OEO2R-accTunableType").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEO2R_accTunableType.setStatus('mandatory') if mibBuilder.loadTexts: mc10G_OEO2R_accTunableType.setDescription("XFP1's wavelength tunable type") mc10G_OEO2R_ntwTunableType = MibScalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("channel", 1), ("wavelength", 2), ("not-support", 3)))).setLabel("mc10G-OEO2R-ntwTunableType").setMaxAccess("readonly") if mibBuilder.loadTexts: mc10G_OEO2R_ntwTunableType.setStatus('mandatory') if mibBuilder.loadTexts: mc10G_OEO2R_ntwTunableType.setDescription("XFP2's wavelength tunable type") mcQCA8334Objects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18)) mcQCA8334CardObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 1)) mcQCA8334CardTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 1, 1), ) if mibBuilder.loadTexts: mcQCA8334CardTable.setStatus('current') if mibBuilder.loadTexts: mcQCA8334CardTable.setDescription('MC QCA8334 Configuration table') mcQCA8334CardEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 1, 1, 1), ).setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx")) if mibBuilder.loadTexts: mcQCA8334CardEntry.setStatus('current') if mibBuilder.loadTexts: mcQCA8334CardEntry.setDescription('MC Configuration entry definition') mcQCA8334VlanMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("Normal", 1), ("mode1", 2), ("mode2", 3), ("not-support", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcQCA8334VlanMode.setStatus('current') if mibBuilder.loadTexts: mcQCA8334VlanMode.setDescription("Center card's vlan mode") mcQCA8334PortObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2)) mcQCA8334PortTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1), ) if mibBuilder.loadTexts: mcQCA8334PortTable.setStatus('current') if mibBuilder.loadTexts: mcQCA8334PortTable.setDescription('MC QCA8334 Configuration table') mcQCA8334PortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1, 1), ).setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx"), (0, "XXX-MIB", "mcQCA8334PortIdx")) if mibBuilder.loadTexts: mcQCA8334PortEntry.setStatus('current') if mibBuilder.loadTexts: mcQCA8334PortEntry.setDescription('MC Configuration entry definition') mcQCA8334PortIdx = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("port1", 1), ("port2", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcQCA8334PortIdx.setStatus('current') if mibBuilder.loadTexts: mcQCA8334PortIdx.setDescription('Port index') mcQCA8334CurWorkMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("m100-full", 2), ("m100-half", 3), ("m10-full", 4), ("m10-half", 5), ("m1G-full", 6), ("not-support", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcQCA8334CurWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcQCA8334CurWorkMode.setDescription("Center card's port current work mode") mcQCA8334CfgWorkMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("mAuto", 1), ("m100-full", 2), ("m100-half", 3), ("m10-full", 4), ("m10-half", 5), ("m1G-full", 6), ("not-support", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcQCA8334CfgWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcQCA8334CfgWorkMode.setDescription("Center card's port configurable work mode") mcQCA8334UpStream = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1, 1, 4), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(32, 1000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcQCA8334UpStream.setStatus('current') if mibBuilder.loadTexts: mcQCA8334UpStream.setDescription("Center card's port up stream of MC") mcQCA8334DownStream = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1, 1, 5), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(32, 1000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcQCA8334DownStream.setStatus('current') if mibBuilder.loadTexts: mcQCA8334DownStream.setDescription("Center card's port down stream of MC") mcQCA8334Txlink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcQCA8334Txlink.setStatus('current') if mibBuilder.loadTexts: mcQCA8334Txlink.setDescription("Center card's port 1 electrical port's link status") mcQCA8334RmtCurWorkMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("no-card", 0), ("m100-full", 2), ("m100-half", 3), ("m10-full", 4), ("m10-half", 5), ("m1G-full", 6), ("not-support", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcQCA8334RmtCurWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcQCA8334RmtCurWorkMode.setDescription("Remote card's port 1 current work mode") mcQCA8334RmtCfgWorkMode = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("no-card", 0), ("mAuto", 1), ("m100-full", 2), ("m100-half", 3), ("m10-full", 4), ("m10-half", 5), ("m1G-full", 6), ("not-support", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcQCA8334RmtCfgWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcQCA8334RmtCfgWorkMode.setDescription("Remote card's port1 configurable work mode") mcQCA8334RmtTxlink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("no-card", 0), ("up", 1), ("down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcQCA8334RmtTxlink.setStatus('current') if mibBuilder.loadTexts: mcQCA8334RmtTxlink.setDescription("Remote card's port electrial port status") mcE1T1Objects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19)) mcE1T1CardObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1)) mcE1T1CardTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1), ) if mibBuilder.loadTexts: mcE1T1CardTable.setStatus('current') if mibBuilder.loadTexts: mcE1T1CardTable.setDescription('MC E1T1 Configuration table') mcE1T1CardEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1), ).setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx")) if mibBuilder.loadTexts: mcE1T1CardEntry.setStatus('current') if mibBuilder.loadTexts: mcE1T1CardEntry.setDescription('MC Configuration entry definition') mcE1T1Type = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("E1", 1), ("T1", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcE1T1Type.setStatus('mandatory') if mibBuilder.loadTexts: mcE1T1Type.setDescription("Center card's current type") mcE1T1FLink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Up", 1), ("Down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcE1T1FLink.setStatus('mandatory') if mibBuilder.loadTexts: mcE1T1FLink.setDescription("Center card's current link") mcE1T1FLossAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Alarm", 1), ("Normal", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcE1T1FLossAlarm.setStatus('current') if mibBuilder.loadTexts: mcE1T1FLossAlarm.setDescription('') mcE1T1TLossAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Alarm", 1), ("Normal", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcE1T1TLossAlarm.setStatus('current') if mibBuilder.loadTexts: mcE1T1TLossAlarm.setDescription('') mcE1T1AISAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Alarm", 1), ("Normal", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcE1T1AISAlarm.setStatus('current') if mibBuilder.loadTexts: mcE1T1AISAlarm.setDescription('') mcE1T1TLoop = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("not-support", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcE1T1TLoop.setStatus('current') if mibBuilder.loadTexts: mcE1T1TLoop.setDescription('Tx Loopback state') mcE1T1FLoop = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("not-support", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcE1T1FLoop.setStatus('current') if mibBuilder.loadTexts: mcE1T1FLoop.setDescription('Fx Loopback state') mcE1T1CodeType = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("E1-HDB3-Or-T1-B8ZS", 1), ("AMI", 2), ("not-support", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcE1T1CodeType.setStatus('current') if mibBuilder.loadTexts: mcE1T1CodeType.setDescription('coding type') mcE1T1Version = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 9), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: mcE1T1Version.setStatus('mandatory') if mibBuilder.loadTexts: mcE1T1Version.setDescription('MC version') mcE1T1RmtFLink = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Up", 1), ("Down", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcE1T1RmtFLink.setStatus('mandatory') if mibBuilder.loadTexts: mcE1T1RmtFLink.setDescription("Center card's current link") mcE1T1RmtFLossAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Alarm", 1), ("Normal", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcE1T1RmtFLossAlarm.setStatus('current') if mibBuilder.loadTexts: mcE1T1RmtFLossAlarm.setDescription('') mcE1T1RmtTLossAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Alarm", 1), ("Normal", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcE1T1RmtTLossAlarm.setStatus('current') if mibBuilder.loadTexts: mcE1T1RmtTLossAlarm.setDescription('') mcE1T1RmtAISAlarm = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Alarm", 1), ("Normal", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: mcE1T1RmtAISAlarm.setStatus('current') if mibBuilder.loadTexts: mcE1T1RmtAISAlarm.setDescription('') mcE1T1RmtTLoop = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("not-support", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcE1T1RmtTLoop.setStatus('current') if mibBuilder.loadTexts: mcE1T1RmtTLoop.setDescription('Tx Loopback state') mcE1T1RmtFLoop = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("not-support", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcE1T1RmtFLoop.setStatus('current') if mibBuilder.loadTexts: mcE1T1RmtFLoop.setDescription('Fx Loopback state') mcE1T1RmtCodeType = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("E1-HDB3-Or-T1-B8ZS", 1), ("AMI", 2), ("not-support", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcE1T1RmtCodeType.setStatus('current') if mibBuilder.loadTexts: mcE1T1RmtCodeType.setDescription('coding type') mc10GOEEXFPTunableObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 20)) mc10GOEEXFPTunableCardObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 20, 1)) mc10GOEEXFPTunableCardTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 20, 1, 1), ) if mibBuilder.loadTexts: mc10GOEEXFPTunableCardTable.setStatus('current') if mibBuilder.loadTexts: mc10GOEEXFPTunableCardTable.setDescription('MC 10G OEE tunable wavelength Configuration table') mc10GOEEXFPTunableCardEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 20, 1, 1, 1), ).setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx")) if mibBuilder.loadTexts: mc10GOEEXFPTunableCardEntry.setStatus('current') if mibBuilder.loadTexts: mc10GOEEXFPTunableCardEntry.setDescription('MC Configuration entry definition') xfpWaveLengthTunability = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 20, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Supported", 1), ("Unsupported", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: xfpWaveLengthTunability.setStatus('mandatory') if mibBuilder.loadTexts: xfpWaveLengthTunability.setDescription("XFP's wavelength tunability") xfpWaveLengthTunable = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 20, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("Doing", 1), ("Completed", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: xfpWaveLengthTunable.setStatus('mandatory') if mibBuilder.loadTexts: xfpWaveLengthTunable.setDescription("XFP's wavelength tunable status") xfpWaveLength = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 20, 1, 1, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: xfpWaveLength.setStatus('mandatory') if mibBuilder.loadTexts: xfpWaveLength.setDescription("XFP's wavelength") xfpTunableType = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 20, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("channel", 1), ("wavelength", 2), ("not-support", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: xfpTunableType.setStatus('mandatory') if mibBuilder.loadTexts: xfpTunableType.setDescription("XFP's wavelength tunable type") mcPmObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 3)) mcPmTable = MibTable((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 3, 1), ) if mibBuilder.loadTexts: mcPmTable.setStatus('current') if mibBuilder.loadTexts: mcPmTable.setDescription('MC Performance table') mcPmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 3, 1, 1), ).setIndexNames((0, "XXX-MIB", "mcShelfIdx"), (0, "XXX-MIB", "mcCardIdx")) if mibBuilder.loadTexts: mcPmEntry.setStatus('current') if mibBuilder.loadTexts: mcPmEntry.setDescription('MC Performance entry definition') mcRxByteHi = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 3, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mcRxByteHi.setStatus('current') if mibBuilder.loadTexts: mcRxByteHi.setDescription('The total number of reveive bytes (high)') mcRxByteLo = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 3, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mcRxByteLo.setStatus('current') if mibBuilder.loadTexts: mcRxByteLo.setDescription('The total number of reveive bytes (low)') mcTxByteHi = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 3, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mcTxByteHi.setStatus('current') if mibBuilder.loadTexts: mcTxByteHi.setDescription('The total number of transmit bytes (high)') mcTxByteLo = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 3, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: mcTxByteLo.setStatus('current') if mibBuilder.loadTexts: mcTxByteLo.setDescription('The total number of transmit bytes (low)') mcPmRest = MibTableColumn((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("idle", 1), ("reset", 2), ("not-support", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: mcPmRest.setStatus('current') if mibBuilder.loadTexts: mcPmRest.setDescription('reset counter') shelf_Detected = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 1)).setLabel("shelf-Detected").setObjects(("XXX-MIB", "shelfIdx")) if mibBuilder.loadTexts: shelf_Detected.setStatus('current') if mibBuilder.loadTexts: shelf_Detected.setDescription('A slave shelf is detected (1~19)') shelf_Lost = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 2)).setLabel("shelf-Lost").setObjects(("XXX-MIB", "shelfIdx")) if mibBuilder.loadTexts: shelf_Lost.setStatus('current') if mibBuilder.loadTexts: shelf_Lost.setDescription('A shelf is lost') shelf_psuA_On = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 3)).setLabel("shelf-psuA-On").setObjects(("XXX-MIB", "shelfIdx")) if mibBuilder.loadTexts: shelf_psuA_On.setStatus('current') if mibBuilder.loadTexts: shelf_psuA_On.setDescription('PSU A is detected') shelf_psuA_Off = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 4)).setLabel("shelf-psuA-Off").setObjects(("XXX-MIB", "shelfIdx")) if mibBuilder.loadTexts: shelf_psuA_Off.setStatus('current') if mibBuilder.loadTexts: shelf_psuA_Off.setDescription('PSU A is lost') shelf_psuB_On = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 5)).setLabel("shelf-psuB-On").setObjects(("XXX-MIB", "shelfIdx")) if mibBuilder.loadTexts: shelf_psuB_On.setStatus('current') if mibBuilder.loadTexts: shelf_psuB_On.setDescription('PSU B is detected') shelf_psuB_Off = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 6)).setLabel("shelf-psuB-Off").setObjects(("XXX-MIB", "shelfIdx")) if mibBuilder.loadTexts: shelf_psuB_Off.setStatus('current') if mibBuilder.loadTexts: shelf_psuB_Off.setDescription('PSU B is lost') shelf_fan_On = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 7)).setLabel("shelf-fan-On").setObjects(("XXX-MIB", "shelfIdx")) if mibBuilder.loadTexts: shelf_fan_On.setStatus('current') if mibBuilder.loadTexts: shelf_fan_On.setDescription('Fan A is detected') shelf_fan_Off = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 8)).setLabel("shelf-fan-Off").setObjects(("XXX-MIB", "shelfIdx")) if mibBuilder.loadTexts: shelf_fan_Off.setStatus('current') if mibBuilder.loadTexts: shelf_fan_Off.setDescription('Fan A is lost') card_Detected = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 20)).setLabel("card-Detected").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_Detected.setStatus('current') if mibBuilder.loadTexts: card_Detected.setDescription('A card is detected (20~29)') card_Lost = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 21)).setLabel("card-Lost").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_Lost.setStatus('current') if mibBuilder.loadTexts: card_Lost.setDescription('A card is lost') card_MC_Co_Tx_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 30)).setLabel("card-MC-Co-Tx-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_Tx_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Tx_Up.setDescription('The tx link of mc in center side is up (above 30)') card_MC_Co_Tx_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 31)).setLabel("card-MC-Co-Tx-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_Tx_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Tx_Down.setDescription('The tx link of mc in center side is broken') card_MC_Co_Fx_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 32)).setLabel("card-MC-Co-Fx-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_Fx_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Fx_Up.setDescription('The fx link of mc in center side is up') card_MC_Co_Fx_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 33)).setLabel("card-MC-Co-Fx-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_Fx_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Fx_Down.setDescription('The fx link of mc in center side is broken') card_MC_Rmt_Tx_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 34)).setLabel("card-MC-Rmt-Tx-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_Tx_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_Tx_Up.setDescription('The tx link of mc in customer side is up') card_MC_Rmt_Tx_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 35)).setLabel("card-MC-Rmt-Tx-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_Tx_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_Tx_Down.setDescription('The tx link of mc in customer side is broken') card_MC_Rmt_PwrDown = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 36)).setLabel("card-MC-Rmt-PwrDown").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_PwrDown.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_PwrDown.setDescription('Remote mc power down detected') card_MC_Co_Ntw_SFP_Inserted = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 37)).setLabel("card-MC-Co-Ntw-SFP-Inserted").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_Ntw_SFP_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Ntw_SFP_Inserted.setDescription('Local network port SFP inserted') card_MC_Co_Ntw_SFP_Removed = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 38)).setLabel("card-MC-Co-Ntw-SFP-Removed").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_Ntw_SFP_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Ntw_SFP_Removed.setDescription('Local network port SFP removed') card_MC_Co_Acc_SFP_Inserted = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 39)).setLabel("card-MC-Co-Acc-SFP-Inserted").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_Acc_SFP_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Acc_SFP_Inserted.setDescription('Local access port SFP inserted') card_MC_Co_Acc_SFP_Removed = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 40)).setLabel("card-MC-Co-Acc-SFP-Removed").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_Acc_SFP_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Acc_SFP_Removed.setDescription('Local access port SFP removed') card_MC_Rmt_Acc_SFP_Inserted = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 41)).setLabel("card-MC-Rmt-Acc-SFP-Inserted").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_Acc_SFP_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_Acc_SFP_Inserted.setDescription('Remote access port SFP inserted') card_MC_Rmt_Acc_SFP_Removed = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 42)).setLabel("card-MC-Rmt-Acc-SFP-Removed").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_Acc_SFP_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_Acc_SFP_Removed.setDescription('Remote access port SFP removed') card_MC_Co_Tx_Up1 = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 43)).setLabel("card-MC-Co-Tx-Up1").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_Tx_Up1.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Tx_Up1.setDescription('The tx1 link of mc in center side is up') card_MC_Co_Tx_Down1 = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 44)).setLabel("card-MC-Co-Tx-Down1").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_Tx_Down1.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Tx_Down1.setDescription('The tx1 link of mc in center side is broken') card_MC_Co_Tx_Up2 = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 45)).setLabel("card-MC-Co-Tx-Up2").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_Tx_Up2.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Tx_Up2.setDescription('The tx2 link of mc in center side is up') card_MC_Co_Tx_Down2 = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 46)).setLabel("card-MC-Co-Tx-Down2").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_Tx_Down2.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Tx_Down2.setDescription('The tx2 link of mc in center side is broken') card_MC_Rmt_Tx_Up1 = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 47)).setLabel("card-MC-Rmt-Tx-Up1").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_Tx_Up1.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_Tx_Up1.setDescription('The tx1 link of mc in customer side is up') card_MC_Rmt_Tx_Down1 = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 48)).setLabel("card-MC-Rmt-Tx-Down1").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_Tx_Down1.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_Tx_Down1.setDescription('The tx1 link of mc in customer side is broken') card_MC_Rmt_Tx_Up2 = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 49)).setLabel("card-MC-Rmt-Tx-Up2").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_Tx_Up2.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_Tx_Up2.setDescription('The tx2 link of mc in customer side is up') card_MC_Rmt_Tx_Down2 = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 50)).setLabel("card-MC-Rmt-Tx-Down2").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_Tx_Down2.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_Tx_Down2.setDescription('The tx2 link of mc in customer side is broken') card_MC_Co_SFP1_Inserted = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 51)).setLabel("card-MC-Co-SFP1-Inserted").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_SFP1_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP1_Inserted.setDescription('Local SFP1 inserted') card_MC_Co_SFP1_Removed = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 52)).setLabel("card-MC-Co-SFP1-Removed").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_SFP1_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP1_Removed.setDescription('Local SFP1 removed') card_MC_Co_SFP2_Inserted = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 53)).setLabel("card-MC-Co-SFP2-Inserted").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_SFP2_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP2_Inserted.setDescription('Local SFP2 inserted') card_MC_Co_SFP2_Removed = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 54)).setLabel("card-MC-Co-SFP2-Removed").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_SFP2_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP2_Removed.setDescription('Local SFP2 removed') card_MC_Co_SFP1_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 55)).setLabel("card-MC-Co-SFP1-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_SFP1_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP1_Up.setDescription('The SFP1 link of mc in center side is up') card_MC_Co_SFP1_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 56)).setLabel("card-MC-Co-SFP1-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_SFP1_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP1_Down.setDescription('The SFP1 link of mc in center side is broken') card_MC_Co_SFP2_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 57)).setLabel("card-MC-Co-SFP2-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_SFP2_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP2_Up.setDescription('The SFP2 link of mc in center side is up') card_MC_Co_SFP2_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 58)).setLabel("card-MC-Co-SFP2-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_SFP2_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP2_Down.setDescription('The SFP2 link of mc in center side is broken') card_MC_Rmt_SFP1_Inserted = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 59)).setLabel("card-MC-Rmt-SFP1-Inserted").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_SFP1_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP1_Inserted.setDescription('Remote SFP1 inserted') card_MC_Rmt_SFP1_Removed = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 60)).setLabel("card-MC-Rmt-SFP1-Removed").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_SFP1_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP1_Removed.setDescription('Remote SFP1 removed') card_MC_Rmt_SFP1_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 61)).setLabel("card-MC-Rmt-SFP1-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_SFP1_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP1_Up.setDescription('The SFP1 link of mc in customer side is up') card_MC_Rmt_SFP1_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 62)).setLabel("card-MC-Rmt-SFP1-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_SFP1_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP1_Down.setDescription('The SFP1 link of mc in customer side is broken') card_MC_Co_SFPSFP1_Inserted = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 63)).setLabel("card-MC-Co-SFPSFP1-Inserted").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_SFPSFP1_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFPSFP1_Inserted.setDescription('Local SFP+1 inserted') card_MC_Co_SFPSFP1_Removed = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 64)).setLabel("card-MC-Co-SFPSFP1-Removed").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_SFPSFP1_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFPSFP1_Removed.setDescription('Local SFP+1 removed') card_MC_Co_SFPSFP2_Inserted = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 65)).setLabel("card-MC-Co-SFPSFP2-Inserted").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_SFPSFP2_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFPSFP2_Inserted.setDescription('Local SFPSFP2 inserted') card_MC_Co_SFPSFP2_Removed = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 66)).setLabel("card-MC-Co-SFPSFP2-Removed").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_SFPSFP2_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFPSFP2_Removed.setDescription('Local SFP+2 removed') card_MC_Rmt_SFPSFP1_Inserted = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 67)).setLabel("card-MC-Rmt-SFPSFP1-Inserted").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_SFPSFP1_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFPSFP1_Inserted.setDescription('Remote SFP+1 inserted') card_MC_Rmt_SFPSFP1_Removed = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 68)).setLabel("card-MC-Rmt-SFPSFP1-Removed").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_SFPSFP1_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFPSFP1_Removed.setDescription('Remote SFP+1 removed') card_MC_Co_XFP1_Inserted = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 69)).setLabel("card-MC-Co-XFP1-Inserted").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_XFP1_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_XFP1_Inserted.setDescription('Local XFP+1 inserted') card_MC_Co_XFP1_Removed = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 70)).setLabel("card-MC-Co-XFP1-Removed").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_XFP1_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_XFP1_Removed.setDescription('Local XFP+1 removed') card_MC_Co_XFP2_Inserted = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 71)).setLabel("card-MC-Co-XFP2-Inserted").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_XFP2_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_XFP2_Inserted.setDescription('Local XFP2 inserted') card_MC_Co_XFP2_Removed = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 72)).setLabel("card-MC-Co-XFP2-Removed").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_XFP2_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_XFP2_Removed.setDescription('Local XFP+2 removed') card_MC_Rmt_XFP1_Inserted = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 73)).setLabel("card-MC-Rmt-XFP1-Inserted").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_XFP1_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_XFP1_Inserted.setDescription('Remote XFP+1 inserted') card_MC_Rmt_XFP1_Removed = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 74)).setLabel("card-MC-Rmt-XFP1-Removed").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_XFP1_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_XFP1_Removed.setDescription('Remote XFP+1 removed') card_MC_Co_SFPSFP1_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 75)).setLabel("card-MC-Co-SFPSFP1-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_SFPSFP1_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFPSFP1_Up.setDescription('The SFP+1 link of mc in center side is up') card_MC_Co_SFPSFP1_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 76)).setLabel("card-MC-Co-SFPSFP1-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_SFPSFP1_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFPSFP1_Down.setDescription('The SFP+1 link of mc in center side is broken') card_MC_Co_SFPSFP2_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 77)).setLabel("card-MC-Co-SFPSFP2-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_SFPSFP2_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFPSFP2_Up.setDescription('The SFP+2 link of mc in center side is up') card_MC_Co_SFPSFP2_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 78)).setLabel("card-MC-Co-SFPSFP2-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_SFPSFP2_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFPSFP2_Down.setDescription('The SFP+2 link of mc in center side is broken') card_MC_Rmt_SFPSFP1_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 79)).setLabel("card-MC-Rmt-SFPSFP1-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_SFPSFP1_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFPSFP1_Up.setDescription('The SFPSFP1 link of mc in customer side is up') card_MC_Rmt_SFPSFP1_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 80)).setLabel("card-MC-Rmt-SFPSFP1-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_SFPSFP1_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFPSFP1_Down.setDescription('The SFP+1 link of mc in customer side is broken') card_MC_Co_XFP1_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 81)).setLabel("card-MC-Co-XFP1-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_XFP1_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_XFP1_Up.setDescription('The XFP1 link of mc in center side is up') card_MC_Co_XFP1_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 82)).setLabel("card-MC-Co-XFP1-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_XFP1_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_XFP1_Down.setDescription('The XFP1 link of mc in center side is broken') card_MC_Co_XFP2_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 83)).setLabel("card-MC-Co-XFP2-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_XFP2_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_XFP2_Up.setDescription('The XFP2 link of mc in center side is up') card_MC_Co_XFP2_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 84)).setLabel("card-MC-Co-XFP2-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_XFP2_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_XFP2_Down.setDescription('The XFP2 link of mc in center side is broken') card_MC_Rmt_XFP1_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 85)).setLabel("card-MC-Rmt-XFP1-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_XFP1_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_XFP1_Up.setDescription('The XFP1 link of mc in customer side is up') card_MC_Rmt_XFP1_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 86)).setLabel("card-MC-Rmt-XFP1-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_XFP1_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_XFP1_Down.setDescription('The XFP link of mc in customer side is broken') card_MC_Co_SFP3_Inserted = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 87)).setLabel("card-MC-Co-SFP3-Inserted").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_SFP3_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP3_Inserted.setDescription('Local SFP3 inserted') card_MC_Co_SFP3_Removed = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 88)).setLabel("card-MC-Co-SFP3-Removed").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_SFP3_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP3_Removed.setDescription('Local SFP3 removed') card_MC_Co_Port1_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 89)).setLabel("card-MC-Co-Port1-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_Port1_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Port1_Up.setDescription('The Port1 link of mc in center side is up') card_MC_Co_Port1_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 90)).setLabel("card-MC-Co-Port1-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_Port1_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Port1_Down.setDescription('The Port1 link of mc in center side is broken') card_MC_Co_Port2_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 91)).setLabel("card-MC-Co-Port2-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_Port2_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Port2_Up.setDescription('The Port2 link of mc in center side is up') card_MC_Co_Port2_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 92)).setLabel("card-MC-Co-Port2-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_Port2_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Port2_Down.setDescription('The Port2 link of mc in center side is broken') card_MC_Co_Port3_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 93)).setLabel("card-MC-Co-Port3-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_Port3_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Port3_Up.setDescription('The Port3 link of mc in center side is up') card_MC_Co_Port3_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 94)).setLabel("card-MC-Co-Port3-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_Port3_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Port3_Down.setDescription('The Port3 link of mc in center side is broken') card_MC_FAN_Normal = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 100)).setLabel("card-MC-FAN-Normal").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_FAN_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_FAN_Normal.setDescription('Fan card work normally') card_MC_FAN_Abnormal = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 101)).setLabel("card-MC-FAN-Abnormal").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_FAN_Abnormal.setStatus('current') if mibBuilder.loadTexts: card_MC_FAN_Abnormal.setDescription('Fan card work abnormally') card_MC_Co_QSFP1_Inserted = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 102)).setLabel("card-MC-Co-QSFP1-Inserted").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_QSFP1_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP1_Inserted.setDescription('Local QSFP1 inserted') card_MC_Co_QSFP1_Removed = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 103)).setLabel("card-MC-Co-QSFP1-Removed").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_QSFP1_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP1_Removed.setDescription('Local QSFP1 removed') card_MC_Co_QSFP2_Inserted = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 104)).setLabel("card-MC-Co-QSFP2-Inserted").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_QSFP2_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP2_Inserted.setDescription('Local QSFP2 inserted') card_MC_Co_QSFP2_Removed = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 105)).setLabel("card-MC-Co-QSFP2-Removed").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_QSFP2_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP2_Removed.setDescription('Local QSFP2 removed') card_MC_Co_QSFP1_Lane1_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 106)).setLabel("card-MC-Co-QSFP1-Lane1-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane1_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane1_Up.setDescription('The QSFP1 Lane1 link of mc in center side is up') card_MC_Co_QSFP1_Lane1_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 107)).setLabel("card-MC-Co-QSFP1-Lane1-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane1_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane1_Down.setDescription('The QSFP1 lane1 link of mc in center side is broken') card_MC_Co_QSFP1_Lane2_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 108)).setLabel("card-MC-Co-QSFP1-Lane2-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane2_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane2_Up.setDescription('The QSFP1 Lane2 link of mc in center side is up') card_MC_Co_QSFP1_Lane2_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 109)).setLabel("card-MC-Co-QSFP1-Lane2-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane2_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane2_Down.setDescription('The QSFP1 lane2 link of mc in center side is broken') card_MC_Co_QSFP1_Lane3_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 110)).setLabel("card-MC-Co-QSFP1-Lane3-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane3_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane3_Up.setDescription('The QSFP1 Lane3 link of mc in center side is up') card_MC_Co_QSFP1_Lane3_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 111)).setLabel("card-MC-Co-QSFP1-Lane3-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane3_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane3_Down.setDescription('The QSFP1 lane3 link of mc in center side is broken') card_MC_Co_QSFP1_Lane4_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 112)).setLabel("card-MC-Co-QSFP1-Lane4-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane4_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane4_Up.setDescription('The QSFP1 Lane4 link of mc in center side is up') card_MC_Co_QSFP1_Lane4_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 113)).setLabel("card-MC-Co-QSFP1-Lane4-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane4_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane4_Down.setDescription('The QSFP1 lane4 link of mc in center side is broken') card_MC_Co_QSFP2_Lane1_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 114)).setLabel("card-MC-Co-QSFP2-Lane1-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane1_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane1_Up.setDescription('The QSFP2 Lane1 link of mc in center side is up') card_MC_Co_QSFP2_Lane1_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 115)).setLabel("card-MC-Co-QSFP2-Lane1-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane1_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane1_Down.setDescription('The QSFP2 lane1 link of mc in center side is broken') card_MC_Co_QSFP2_Lane2_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 116)).setLabel("card-MC-Co-QSFP2-Lane2-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane2_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane2_Up.setDescription('The QSFP2 Lane2 link of mc in center side is up') card_MC_Co_QSFP2_Lane2_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 117)).setLabel("card-MC-Co-QSFP2-Lane2-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane2_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane2_Down.setDescription('The QSFP2 lane2 link of mc in center side is broken') card_MC_Co_QSFP2_Lane3_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 118)).setLabel("card-MC-Co-QSFP2-Lane3-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane3_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane3_Up.setDescription('The QSFP2 Lane3 link of mc in center side is up') card_MC_Co_QSFP2_Lane3_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 119)).setLabel("card-MC-Co-QSFP2-Lane3-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane3_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane3_Down.setDescription('The QSFP2 lane3 link of mc in center side is broken') card_MC_Co_QSFP2_Lane4_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 120)).setLabel("card-MC-Co-QSFP2-Lane4-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane4_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane4_Up.setDescription('The QSFP2 Lane4 link of mc in center side is up') card_MC_Co_QSFP2_Lane4_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 121)).setLabel("card-MC-Co-QSFP2-Lane4-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane4_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane4_Down.setDescription('The QSFP2 lane4 link of mc in center side is broken') card_MC_Rmt_SFP2_Inserted = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 122)).setLabel("card-MC-Rmt-SFP2-Inserted").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_SFP2_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP2_Inserted.setDescription('Remote SFP2 inserted') card_MC_Rmt_SFP2_Removed = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 123)).setLabel("card-MC-Rmt-SFP2-Removed").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_SFP2_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP2_Removed.setDescription('Remote SFP2 removed') card_MC_Rmt_SFP3_Inserted = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 124)).setLabel("card-MC-Rmt-SFP3-Inserted").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_SFP3_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP3_Inserted.setDescription('Remote SFP3 inserted') card_MC_Rmt_SFP3_Removed = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 125)).setLabel("card-MC-Rmt-SFP3-Removed").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_SFP3_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP3_Removed.setDescription('Remote SFP3 removed') card_MC_Rmt_SFP2_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 126)).setLabel("card-MC-Rmt-SFP2-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_SFP2_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP2_Up.setDescription('The SFP2 link of mc in customer side is up') card_MC_Rmt_SFP2_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 127)).setLabel("card-MC-Rmt-SFP2-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_SFP2_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP2_Down.setDescription('The SFP2 link of mc in customer side is broken') card_MC_Rmt_SFP3_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 128)).setLabel("card-MC-Rmt-SFP3-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_SFP3_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP3_Up.setDescription('The SFP3 link of mc in customer side is up') card_MC_Rmt_SFP3_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 129)).setLabel("card-MC-Rmt-SFP3-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Rmt_SFP3_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP3_Down.setDescription('The SFP3 link of mc in customer side is broken') card_MC_E1_Co_Port1_LOS_Alarm = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 130)).setLabel("card-MC-E1-Co-Port1-LOS-Alarm").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Co_Port1_LOS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port1_LOS_Alarm.setDescription('Port1 LOS alarm in center side') card_MC_E1_Co_Port1_LOS_Normal = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 131)).setLabel("card-MC-E1-Co-Port1-LOS-Normal").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Co_Port1_LOS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port1_LOS_Normal.setDescription('Port1 LOS normal in center side') card_MC_E1_Co_Port1_AIS_Alarm = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 132)).setLabel("card-MC-E1-Co-Port1-AIS-Alarm").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Co_Port1_AIS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port1_AIS_Alarm.setDescription('Port1 AIS alarm in center side') card_MC_E1_Co_Port1_AIS_Normal = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 133)).setLabel("card-MC-E1-Co-Port1-AIS-Normal").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Co_Port1_AIS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port1_AIS_Normal.setDescription('Port1 AIS normal in center side') card_MC_E1_Co_Port1_CV_Alarm = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 134)).setLabel("card-MC-E1-Co-Port1-CV-Alarm").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Co_Port1_CV_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port1_CV_Alarm.setDescription('Port1 CV alarm in center side') card_MC_E1_Co_Port1_CV_Normal = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 135)).setLabel("card-MC-E1-Co-Port1-CV-Normal").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Co_Port1_CV_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port1_CV_Normal.setDescription('Port1 CV normal in center side') card_MC_E1_Co_Port2_LOS_Alarm = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 136)).setLabel("card-MC-E1-Co-Port2-LOS-Alarm").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Co_Port2_LOS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port2_LOS_Alarm.setDescription('Port2 LOS alarm in center side') card_MC_E1_Co_Port2_LOS_Normal = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 137)).setLabel("card-MC-E1-Co-Port2-LOS-Normal").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Co_Port2_LOS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port2_LOS_Normal.setDescription('Port2 LOS normal in center side') card_MC_E1_Co_Port2_AIS_Alarm = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 138)).setLabel("card-MC-E1-Co-Port2-AIS-Alarm").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Co_Port2_AIS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port2_AIS_Alarm.setDescription('Port2 AIS alarm in center side') card_MC_E1_Co_Port2_AIS_Normal = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 139)).setLabel("card-MC-E1-Co-Port2-AIS-Normal").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Co_Port2_AIS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port2_AIS_Normal.setDescription('Port2 AIS normal in center side') card_MC_E1_Co_Port2_CV_Alarm = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 140)).setLabel("card-MC-E1-Co-Port2-CV-Alarm").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Co_Port2_CV_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port2_CV_Alarm.setDescription('Port2 CV alarm in center side') card_MC_E1_Co_Port2_CV_Normal = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 141)).setLabel("card-MC-E1-Co-Port2-CV-Normal").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Co_Port2_CV_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port2_CV_Normal.setDescription('Port2 CV normal in center side') card_MC_E1_Rmt_Port1_LOS_Alarm = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 142)).setLabel("card-MC-E1-Rmt-Port1-LOS-Alarm").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_LOS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_LOS_Alarm.setDescription('Port1 LOS alarm in customer side') card_MC_E1_Rmt_Port1_LOS_Normal = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 143)).setLabel("card-MC-E1-Rmt-Port1-LOS-Normal").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_LOS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_LOS_Normal.setDescription('Port1 LOS normal in customer side') card_MC_E1_Rmt_Port1_AIS_Alarm = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 144)).setLabel("card-MC-E1-Rmt-Port1-AIS-Alarm").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_AIS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_AIS_Alarm.setDescription('Port1 AIS alarm in customer side') card_MC_E1_Rmt_Port1_AIS_Normal = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 145)).setLabel("card-MC-E1-Rmt-Port1-AIS-Normal").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_AIS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_AIS_Normal.setDescription('Port1 AIS normal in customer side') card_MC_E1_Rmt_Port1_CV_Alarm = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 146)).setLabel("card-MC-E1-Rmt-Port1-CV-Alarm").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_CV_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_CV_Alarm.setDescription('Port1 CV alarm in customer side') card_MC_E1_Rmt_Port1_CV_Normal = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 147)).setLabel("card-MC-E1-Rmt-Port1-CV-Normal").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_CV_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_CV_Normal.setDescription('Port1 CV normal in customer side') card_MC_E1_Rmt_Port2_LOS_Alarm = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 148)).setLabel("card-MC-E1-Rmt-Port2-LOS-Alarm").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_LOS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_LOS_Alarm.setDescription('Port2 LOS alarm in customer side') card_MC_E1_Rmt_Port2_LOS_Normal = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 149)).setLabel("card-MC-E1-Rmt-Port2-LOS-Normal").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_LOS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_LOS_Normal.setDescription('Port2 LOS normal in customer side') card_MC_E1_Rmt_Port2_AIS_Alarm = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 150)).setLabel("card-MC-E1-Rmt-Port2-AIS-Alarm").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_AIS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_AIS_Alarm.setDescription('Port2 AIS alarm in customer side') card_MC_E1_Rmt_Port2_AIS_Normal = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 151)).setLabel("card-MC-E1-Rmt-Port2-AIS-Normal").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_AIS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_AIS_Normal.setDescription('Port2 AIS normal in customer side') card_MC_E1_Rmt_Port2_CV_Alarm = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 152)).setLabel("card-MC-E1-Rmt-Port2-CV-Alarm").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_CV_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_CV_Alarm.setDescription('Port2 CV alarm in customer side') card_MC_E1_Rmt_Port2_CV_Normal = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 153)).setLabel("card-MC-E1-Rmt-Port2-CV-Normal").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_CV_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_CV_Normal.setDescription('Port2 CV normal in customer side') card_MC_Co_SFP3_Up = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 154)).setLabel("card-MC-Co-SFP3-Up").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_SFP3_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP3_Up.setDescription('The SFP3 link of mc in center side is up') card_MC_Co_SFP3_Down = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 155)).setLabel("card-MC-Co-SFP3-Down").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_Co_SFP3_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP3_Down.setDescription('The SFP3 link of mc in center side is broken') card_MC_E1T1_Co_TXLOS_Alarm = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 156)).setLabel("card-MC-E1T1-Co-TXLOS-Alarm").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1T1_Co_TXLOS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Co_TXLOS_Alarm.setDescription('Tx LOS alarm in center side') card_MC_E1T1_Co_TXLOS_Normal = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 157)).setLabel("card-MC-E1T1-Co-TXLOS-Normal").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1T1_Co_TXLOS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Co_TXLOS_Normal.setDescription('Tx LOS normal in center side') card_MC_E1T1_Co_FXLOS_Alarm = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 158)).setLabel("card-MC-E1T1-Co-FXLOS-Alarm").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1T1_Co_FXLOS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Co_FXLOS_Alarm.setDescription('Fx LOS alarm in center side') card_MC_E1T1_Co_FXLOS_Normal = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 159)).setLabel("card-MC-E1T1-Co-FXLOS-Normal").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1T1_Co_FXLOS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Co_FXLOS_Normal.setDescription('Fx LOS normal in center side') card_MC_E1T1_Co_AIS_Alarm = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 160)).setLabel("card-MC-E1T1-Co-AIS-Alarm").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1T1_Co_AIS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Co_AIS_Alarm.setDescription('AIS alarm in center side') card_MC_E1T1_Co_AIS_Normal = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 161)).setLabel("card-MC-E1T1-Co-AIS-Normal").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1T1_Co_AIS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Co_AIS_Normal.setDescription('AIS normal in center side') card_MC_E1T1_Rmt_TXLOS_Alarm = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 162)).setLabel("card-MC-E1T1-Rmt-TXLOS-Alarm").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1T1_Rmt_TXLOS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Rmt_TXLOS_Alarm.setDescription('Tx LOS alarm in customer side') card_MC_E1T1_Rmt_TXLOS_Normal = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 163)).setLabel("card-MC-E1T1-Rmt-TXLOS-Normal").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1T1_Rmt_TXLOS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Rmt_TXLOS_Normal.setDescription('Tx LOS normal in customer side') card_MC_E1T1_Rmt_FXLOS_Alarm = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 164)).setLabel("card-MC-E1T1-Rmt-FXLOS-Alarm").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1T1_Rmt_FXLOS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Rmt_FXLOS_Alarm.setDescription('Fx LOS alarm in customer side') card_MC_E1T1_Rmt_FXLOS_Normal = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 165)).setLabel("card-MC-E1T1-Rmt-FXLOS-Normal").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1T1_Rmt_FXLOS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Rmt_FXLOS_Normal.setDescription('Fx LOS normal in customer side') card_MC_E1T1_Rmt_AIS_Alarm = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 166)).setLabel("card-MC-E1T1-Rmt-AIS-Alarm").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1T1_Rmt_AIS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Rmt_AIS_Alarm.setDescription('AIS alarm in customer side') card_MC_E1T1_Rmt_AIS_Normal = NotificationType((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 167)).setLabel("card-MC-E1T1-Rmt-AIS-Normal").setObjects(("XXX-MIB", "shelfIdx"), ("XXX-MIB", "slotIdx")) if mibBuilder.loadTexts: card_MC_E1T1_Rmt_AIS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Rmt_AIS_Normal.setDescription('AIS normal in customer side') mibBuilder.exportSymbols("XXX-MIB", mc40G_OEOLane2LoopMode=mc40G_OEOLane2LoopMode, company=company, mcFanCardObjects=mcFanCardObjects, mc10G_OEECurSpd=mc10G_OEECurSpd, card_MC_Co_QSFP1_Lane2_Up=card_MC_Co_QSFP1_Lane2_Up, mc4_25G_OEONtwPD=mc4_25G_OEONtwPD, mcCm1gSfpEntry=mcCm1gSfpEntry, card_MC_Co_QSFP1_Lane1_Down=card_MC_Co_QSFP1_Lane1_Down, mc10G_OEO2RObjects=mc10G_OEO2RObjects, mcTransceiverDist=mcTransceiverDist, mc2_5GMCCardObjects=mc2_5GMCCardObjects, mcPortState=mcPortState, mc1GE2OPort2SFPExist=mc1GE2OPort2SFPExist, shelfNum=shelfNum, mcIP175DCurWorkMode=mcIP175DCurWorkMode, card_MC_Rmt_Tx_Up1=card_MC_Rmt_Tx_Up1, mc1go2o_sfpTransCode=mc1go2o_sfpTransCode, sysName=sysName, psuB=psuB, ntwXFP2WaveLength=ntwXFP2WaveLength, mcAccXFP1WaveLengthTunability=mcAccXFP1WaveLengthTunability, mc10G_OEO_Test_Error_Counter=mc10G_OEO_Test_Error_Counter, mc2_5g_sfpWavelength=mc2_5g_sfpWavelength, mc2_5g_sfpCompliance=mc2_5g_sfpCompliance, card_MC_E1_Co_Port1_CV_Alarm=card_MC_E1_Co_Port1_CV_Alarm, mcIP175DCardTable=mcIP175DCardTable, mc4_25G_OEO_Test_Result=mc4_25G_OEO_Test_Result, mc40G_OEOHWLoopMode=mc40G_OEOHWLoopMode, mcE1T1RmtFLink=mcE1T1RmtFLink, ntwXFP2WaveLengthTunability=ntwXFP2WaveLengthTunability, card_MC_E1T1_Co_TXLOS_Normal=card_MC_E1T1_Co_TXLOS_Normal, mcCmEntry=mcCmEntry, mc1go2o_sfpCompliance=mc1go2o_sfpCompliance, shelfIdx=shelfIdx, trapHost1=trapHost1, mcCm1gSfpObjects=mcCm1gSfpObjects, volA=volA, getNtwQSfpCmd=getNtwQSfpCmd, mc1GO2OPortHWPri=mc1GO2OPortHWPri, card_MC_Co_SFP3_Up=card_MC_Co_SFP3_Up, mcE1Port2Loop=mcE1Port2Loop, xfpWaveLengthTunable=xfpWaveLengthTunable, rmtCardNum=rmtCardNum, shelf_fan_Off=shelf_fan_Off, mcDownStream=mcDownStream, mcE1SFP1Link=mcE1SFP1Link, mc10G_OEOCardEntry=mc10G_OEOCardEntry, mcAccXFP1WaveLengthTunable=mcAccXFP1WaveLengthTunable, nmuType=nmuType, mc10G_OEO_Get_Test_Rst=mc10G_OEO_Get_Test_Rst, mc1GE2ORmtPort1SFPlink=mc1GE2ORmtPort1SFPlink, slotObjects=slotObjects, mcIP175DObjects=mcIP175DObjects, card_MC_Co_Tx_Up1=card_MC_Co_Tx_Up1, mcRmtE1Port1CV=mcRmtE1Port1CV, mcRmtHWTransmitMode=mcRmtHWTransmitMode, mcIP175DTxlink=mcIP175DTxlink, mc10G_OEOCurSpdMode=mc10G_OEOCurSpdMode, mc10G_OEELoopMode=mc10G_OEELoopMode, mcE1T1FLossAlarm=mcE1T1FLossAlarm, shelf_psuA_On=shelf_psuA_On, mcQCA8334RmtCfgWorkMode=mcQCA8334RmtCfgWorkMode, shelfTable=shelfTable, ipaddr=ipaddr, mc1GE2OPort1SFPlink=mc1GE2OPort1SFPlink, mc10G_OEO_accType=mc10G_OEO_accType, card_MC_E1_Rmt_Port1_AIS_Normal=card_MC_E1_Rmt_Port1_AIS_Normal, sfpVoltage=sfpVoltage, mc10GOEO1RCardTable=mc10GOEO1RCardTable, mc10GXFP2WaveLengthTunable=mc10GXFP2WaveLengthTunable, mcRmtE1Port1Loop=mcRmtE1Port1Loop, mc4_25G_OEOCardEntry=mc4_25G_OEOCardEntry, card_MC_E1_Rmt_Port1_AIS_Alarm=card_MC_E1_Rmt_Port1_AIS_Alarm, mcRmt4_25G_OEOHWWorkMode=mcRmt4_25G_OEOHWWorkMode, mcCm1gIpEntry=mcCm1gIpEntry, cwdmWavelength5=cwdmWavelength5, mcE1Port1AIS=mcE1Port1AIS, accXFP1TunableType=accXFP1TunableType, mcRmtPwrDown=mcRmtPwrDown, mc10G_OEOObjects=mc10G_OEOObjects, card_MC_Rmt_Tx_Down=card_MC_Rmt_Tx_Down, mc10G_OEEHWLoopback=mc10G_OEEHWLoopback, card_MC_Co_Port3_Down=card_MC_Co_Port3_Down, card_MC_Co_SFP3_Down=card_MC_Co_SFP3_Down, mcQCA8334RmtTxlink=mcQCA8334RmtTxlink, card_MC_E1T1_Co_AIS_Normal=card_MC_E1T1_Co_AIS_Normal, mcRmtE1TxCurWorkMode=mcRmtE1TxCurWorkMode, qsfpAccRxPower4=qsfpAccRxPower4, mcRmt10G_OEOLoopback=mcRmt10G_OEOLoopback, card_MC_E1_Rmt_Port2_CV_Normal=card_MC_E1_Rmt_Port2_CV_Normal, card_MC_E1_Co_Port2_CV_Normal=card_MC_E1_Co_Port2_CV_Normal, mcTxByteLo=mcTxByteLo, mcCardIdx=mcCardIdx, card_MC_Rmt_SFP3_Up=card_MC_Rmt_SFP3_Up, card_MC_E1T1_Co_FXLOS_Alarm=card_MC_E1T1_Co_FXLOS_Alarm, mcRmt4_25G_OEOHWSpdMode=mcRmt4_25G_OEOHWSpdMode, card_MC_Co_QSFP1_Lane4_Up=card_MC_Co_QSFP1_Lane4_Up, mcUtility=mcUtility, mc4_25G_OEOObjects=mc4_25G_OEOObjects, mc10GOEO1RCardEntry=mc10GOEO1RCardEntry, getAccSfpCmd=getAccSfpCmd, mc1GO2OPort3SFPExist=mc1GO2OPort3SFPExist, mcRmtCfgWorkMode=mcRmtCfgWorkMode, mcNtwQSfpObjects=mcNtwQSfpObjects, mcShelfIdx=mcShelfIdx, mc40G_OEOCardEntry=mc40G_OEOCardEntry, mcE1T1CardTable=mcE1T1CardTable, accsfpRecvPower=accsfpRecvPower, mc10GXFP1WaveLengthTunability=mc10GXFP1WaveLengthTunability, cwdmWavelength7=cwdmWavelength7, cwdmWavelength1=cwdmWavelength1, mc40G_OEOQsfp2Lane3_link=mc40G_OEOQsfp2Lane3_link, mcE1Port2CV=mcE1Port2CV, mcAccQSfpObjects=mcAccQSfpObjects, mcRmtE1Port1AIS=mcRmtE1Port1AIS, mcIP175DCardEntry=mcIP175DCardEntry, accsfpTemperature=accsfpTemperature, mc10G_OEO2R_accTunableType=mc10G_OEO2R_accTunableType, card_MC_Co_QSFP2_Lane2_Up=card_MC_Co_QSFP2_Lane2_Up, mc4_25G_OEO_Test_Lock=mc4_25G_OEO_Test_Lock, mcRmtUtility=mcRmtUtility, mc2_5GMCSfp3Exist=mc2_5GMCSfp3Exist, mc4_25G_OEO_Start_Test=mc4_25G_OEO_Start_Test, qsfpAccTemperature=qsfpAccTemperature, card_MC_Rmt_Tx_Down2=card_MC_Rmt_Tx_Down2, sfpConnector=sfpConnector, mcFanObjects=mcFanObjects, card_MC_Co_SFP2_Inserted=card_MC_Co_SFP2_Inserted, mc1GE2OPortPri=mc1GE2OPortPri, mc1GO2OPort1SFPExist=mc1GO2OPort1SFPExist, card_MC_Rmt_SFP3_Down=card_MC_Rmt_SFP3_Down, mcRmt10G_OEOCfgSpdMode=mcRmt10G_OEOCfgSpdMode, mc1go2o_sfpWavelength=mc1go2o_sfpWavelength, card_MC_Co_SFP1_Removed=card_MC_Co_SFP1_Removed, mc40G_OEOQsfp1Lane1_link=mc40G_OEOQsfp1Lane1_link, card_MC_Rmt_XFP1_Up=card_MC_Rmt_XFP1_Up, card_MC_E1T1_Co_TXLOS_Alarm=card_MC_E1T1_Co_TXLOS_Alarm, sfpCopperLength=sfpCopperLength, mc2_5GMCCardTable=mc2_5GMCCardTable, mc2_5g_getSfpCmd=mc2_5g_getSfpCmd, mcE1T1RmtTLossAlarm=mcE1T1RmtTLossAlarm, trapHost3=trapHost3, mcRmtE1Port2LOS=mcRmtE1Port2LOS, card_MC_Co_SFPSFP1_Removed=card_MC_Co_SFPSFP1_Removed, card_MC_E1T1_Co_FXLOS_Normal=card_MC_E1T1_Co_FXLOS_Normal, mc1GO2OPort3SFPlink=mc1GO2OPort3SFPlink, mc1go2o_getSfpCmd=mc1go2o_getSfpCmd, sfpCompliance=sfpCompliance, card_MC_Co_QSFP2_Lane2_Down=card_MC_Co_QSFP2_Lane2_Down, mc10GXFP1WaveLength=mc10GXFP1WaveLength, mc10GOEO3RCardTable=mc10GOEO3RCardTable, mc1GO2ORmtPortHWPri=mc1GO2ORmtPortHWPri, card_MC_Rmt_Tx_Up2=card_MC_Rmt_Tx_Up2, mcRmtHWLFP=mcRmtHWLFP, card_MC_Co_QSFP1_Lane1_Up=card_MC_Co_QSFP1_Lane1_Up, accsfpSmLength=accsfpSmLength, mcIP175DPortObjects=mcIP175DPortObjects, mcType=mcType, accXFP1WaveLength=accXFP1WaveLength, mc40G_OEOQsfp1Lane3_link=mc40G_OEOQsfp1Lane3_link, mc10GXFP2WaveLengthTunability=mc10GXFP2WaveLengthTunability, card_MC_E1T1_Rmt_TXLOS_Normal=card_MC_E1T1_Rmt_TXLOS_Normal, mcRmtHWWorkMode=mcRmtHWWorkMode, mcQCA8334UpStream=mcQCA8334UpStream, card_MC_Rmt_SFP1_Down=card_MC_Rmt_SFP1_Down, mc4_25G_OEOHWLoopback=mc4_25G_OEOHWLoopback, mc10G_OEEFxlink=mc10G_OEEFxlink, mcE1Port1LOS=mcE1Port1LOS, mc2_5GMCPort1link=mc2_5GMCPort1link, qsfpAccRxPower3=qsfpAccRxPower3, mcNtwSfpExist=mcNtwSfpExist, mcNtwXFP2WaveLength=mcNtwXFP2WaveLength, mcRmt10G_OEOHWSpdMode=mcRmt10G_OEOHWSpdMode, cwdmWavelengthCount=cwdmWavelengthCount, card_MC_Rmt_SFPSFP1_Up=card_MC_Rmt_SFPSFP1_Up, mc10G_OEOHWSpdMode=mc10G_OEOHWSpdMode, mc40G_OEOQsfp2Lane4_link=mc40G_OEOQsfp2Lane4_link, mcNtwXFP2WaveLengthTunable=mcNtwXFP2WaveLengthTunable, mc2_5GMCSFP3Objects=mc2_5GMCSFP3Objects, mcHWTransmitMode=mcHWTransmitMode, slotIdx=slotIdx, qsfpNtwTxPower1=qsfpNtwTxPower1, mcHWLFP=mcHWLFP, mcE1T1RmtAISAlarm=mcE1T1RmtAISAlarm, volB=volB, mcRmtCurWorkMode=mcRmtCurWorkMode, mc1GE2OCardTable=mc1GE2OCardTable, accsfpWavelength=accsfpWavelength, mcAccQSfpEntry=mcAccQSfpEntry, mcTxByteHi=mcTxByteHi, mc10G_OEO2RHWSFP1Loopback=mc10G_OEO2RHWSFP1Loopback, sysContact=sysContact, slotEntry=slotEntry, mcCurWorkMode=mcCurWorkMode, card_MC_E1_Rmt_Port2_AIS_Alarm=card_MC_E1_Rmt_Port2_AIS_Alarm, mcIP175DUpStream=mcIP175DUpStream, mcRmtDetect=mcRmtDetect, mc10G_OEO_Test_Lock=mc10G_OEO_Test_Lock, mc2_5g_sfpTranPower=mc2_5g_sfpTranPower, mc2_5g_sfpBrSpeed=mc2_5g_sfpBrSpeed, mc40G_OEOSpeedMode=mc40G_OEOSpeedMode, mc1GO2OSfp3Table=mc1GO2OSfp3Table, mc1GE2ORmtPort2SFPlink=mc1GE2ORmtPort2SFPlink, mcCm1gAccSfpObjects=mcCm1gAccSfpObjects, rmtCardType=rmtCardType, card_MC_Co_SFP2_Removed=card_MC_Co_SFP2_Removed, card_MC_Co_Tx_Down1=card_MC_Co_Tx_Down1, card_MC_Co_QSFP1_Lane2_Down=card_MC_Co_QSFP1_Lane2_Down, card_MC_Co_QSFP2_Lane4_Down=card_MC_Co_QSFP2_Lane4_Down, mcRxByteHi=mcRxByteHi, card_MC_Rmt_SFP3_Inserted=card_MC_Rmt_SFP3_Inserted, mcE1CardEntry=mcE1CardEntry, card_Detected=card_Detected, card_MC_Co_XFP2_Up=card_MC_Co_XFP2_Up, card_MC_Rmt_SFP2_Up=card_MC_Rmt_SFP2_Up, trapHost2=trapHost2, mc2_5Cm1gSfpTable=mc2_5Cm1gSfpTable, mcCWDMCardEntry=mcCWDMCardEntry, mcE1T1TLoop=mcE1T1TLoop, mc1GO2OPortPri=mc1GO2OPortPri, mcLFPCfg=mcLFPCfg, qsfpAccRxPower1=qsfpAccRxPower1, temperature=temperature, qsfpAccTxPower3=qsfpAccTxPower3, card_MC_Co_SFP1_Down=card_MC_Co_SFP1_Down, mc4_25G_OEOCurSpdMode=mc4_25G_OEOCurSpdMode, mc10G_OEECardEntry=mc10G_OEECardEntry, mcFanStatus=mcFanStatus, mc2_5GMCPort3link=mc2_5GMCPort3link, systemMIB=systemMIB, mcTxlink=mcTxlink, mcCmTable=mcCmTable, mcRmtTxlink=mcRmtTxlink, mc40G_OEOQsfp1Lane4_link=mc40G_OEOQsfp1Lane4_link, sfpTranPower=sfpTranPower, coCardType=coCardType, mcFanCardEntry=mcFanCardEntry, cwdmWavelength3=cwdmWavelength3, card_MC_E1_Co_Port1_AIS_Normal=card_MC_E1_Co_Port1_AIS_Normal, mc1GE2OPortHWPri=mc1GE2OPortHWPri, mcE1T1TLossAlarm=mcE1T1TLossAlarm, mcQCA8334DownStream=mcQCA8334DownStream, mcIP175DPortEntry=mcIP175DPortEntry, mcE1T1Version=mcE1T1Version, card_MC_Co_QSFP1_Lane3_Down=card_MC_Co_QSFP1_Lane3_Down, card_MC_E1_Rmt_Port1_CV_Normal=card_MC_E1_Rmt_Port1_CV_Normal, card_MC_Rmt_SFP2_Removed=card_MC_Rmt_SFP2_Removed, card_MC_Co_SFPSFP1_Down=card_MC_Co_SFPSFP1_Down, accsfpBrSpeed=accsfpBrSpeed, cwdmWavelength8=cwdmWavelength8, mcRmt10G_OEOCurSpdMode=mcRmt10G_OEOCurSpdMode, mc10GOEEXFPTunableCardObjects=mc10GOEEXFPTunableCardObjects, mc1GE2ORmtPortHWPri=mc1GE2ORmtPortHWPri, mc10G_OEO_Test_Continue_Time=mc10G_OEO_Test_Continue_Time) mibBuilder.exportSymbols("XXX-MIB", mc4_25G_OEO_Test_Error_Counter=mc4_25G_OEO_Test_Error_Counter, mc1GO2OPort1SFPlink=mc1GO2OPort1SFPlink, card_MC_E1_Rmt_Port1_LOS_Normal=card_MC_E1_Rmt_Port1_LOS_Normal, mc1GO2OSFP3Objects=mc1GO2OSFP3Objects, xfpWaveLength=xfpWaveLength, card_MC_Co_XFP1_Removed=card_MC_Co_XFP1_Removed, card_MC_Rmt_SFP2_Inserted=card_MC_Rmt_SFP2_Inserted, mc4_25G_OEOWorkMode=mc4_25G_OEOWorkMode, card_MC_Co_XFP2_Inserted=card_MC_Co_XFP2_Inserted, mc2_5g_sfpSmLength=mc2_5g_sfpSmLength, card_MC_Co_Port2_Down=card_MC_Co_Port2_Down, card_MC_Rmt_Acc_SFP_Removed=card_MC_Rmt_Acc_SFP_Removed, card_MC_Co_QSFP2_Removed=card_MC_Co_QSFP2_Removed, mc10GOEEXFPTunableCardTable=mc10GOEEXFPTunableCardTable, card_MC_Co_SFPSFP2_Down=card_MC_Co_SFPSFP2_Down, mcQCA8334PortIdx=mcQCA8334PortIdx, card_MC_E1T1_Rmt_AIS_Alarm=card_MC_E1T1_Rmt_AIS_Alarm, mcIP175DPortTable=mcIP175DPortTable, mc1go2o_sfpRecvPower=mc1go2o_sfpRecvPower, mc10G_OEO2R_ntwType=mc10G_OEO2R_ntwType, card_MC_Rmt_Tx_Up=card_MC_Rmt_Tx_Up, mcCm1gAccSfpTable=mcCm1gAccSfpTable, mcE1T1RmtFLoop=mcE1T1RmtFLoop, card_MC_E1_Co_Port1_CV_Normal=card_MC_E1_Co_Port1_CV_Normal, mc10GXFP1WaveLengthTunable=mc10GXFP1WaveLengthTunable, card_MC_Co_Tx_Up2=card_MC_Co_Tx_Up2, mcRmt10G_OEOHWLoopback=mcRmt10G_OEOHWLoopback, mc10G_OEECardObjects=mc10G_OEECardObjects, mcRmt4_25G_OEOWorkMode=mcRmt4_25G_OEOWorkMode, card_MC_Co_Port1_Up=card_MC_Co_Port1_Up, mc10GXFP2WaveLength=mc10GXFP2WaveLength, mc10G_OEOCardTable=mc10G_OEOCardTable, mc10G_OEE_ntwType=mc10G_OEE_ntwType, mcRmt10G_OEO_ntwType=mcRmt10G_OEO_ntwType, card_MC_Co_SFPSFP1_Up=card_MC_Co_SFPSFP1_Up, mc1GO2OPort2SFPlink=mc1GO2OPort2SFPlink, mcE1T1AISAlarm=mcE1T1AISAlarm, mcLoOrRmtFg=mcLoOrRmtFg, mc10G_OEOCfgSpdMode=mc10G_OEOCfgSpdMode, mcE1T1CardObjects=mcE1T1CardObjects, card_MC_Co_SFP3_Removed=card_MC_Co_SFP3_Removed, mcE1T1FLink=mcE1T1FLink, nmuObjects=nmuObjects, mc1go2o_sfpCopperLength=mc1go2o_sfpCopperLength, mc1GO2OPort3HWSpd=mc1GO2OPort3HWSpd, mc1GO2ORmtPort3SFPExist=mc1GO2ORmtPort3SFPExist, mc10G_OEO2R_ntwTunableType=mc10G_OEO2R_ntwTunableType, shelf_psuB_On=shelf_psuB_On, mcPmTable=mcPmTable, mcCm1gSpecificObjects=mcCm1gSpecificObjects, mc4_25G_OEO_Get_Test_Rst=mc4_25G_OEO_Get_Test_Rst, mcE1T1CardEntry=mcE1T1CardEntry, mc4_25G_OEO_Test_Continue_Time=mc4_25G_OEO_Test_Continue_Time, mcQsfpSpecificObjects=mcQsfpSpecificObjects, mc10GOEO3RCardObjects=mc10GOEO3RCardObjects, card_MC_E1_Co_Port2_AIS_Alarm=card_MC_E1_Co_Port2_AIS_Alarm, mc1GE2OCardObjects=mc1GE2OCardObjects, mc2_5g_sfpRecvPower=mc2_5g_sfpRecvPower, height2HU=height2HU, mc2_5g_sfpMmLength=mc2_5g_sfpMmLength, mc1GE2OObjects=mc1GE2OObjects, mc1GO2OObjects=mc1GO2OObjects, mcCm1gIpTable=mcCm1gIpTable, mcNtwQSfpEntry=mcNtwQSfpEntry, mc40G_OEOLane1LoopMode=mc40G_OEOLane1LoopMode, mc1go2o_sfpConnector=mc1go2o_sfpConnector, card_MC_Co_SFPSFP2_Up=card_MC_Co_SFPSFP2_Up, mcE1Port1CV=mcE1Port1CV, shelfEntry=shelfEntry, sfpBrSpeed=sfpBrSpeed, mcRmtE1SFP1Link=mcRmtE1SFP1Link, card_MC_Co_Acc_SFP_Removed=card_MC_Co_Acc_SFP_Removed, mc10G_OEOSFP2=mc10G_OEOSFP2, card_MC_E1_Co_Port2_LOS_Normal=card_MC_E1_Co_Port2_LOS_Normal, mcUpStream=mcUpStream, mc4_25G_OEOCardObjects=mc4_25G_OEOCardObjects, card_MC_Co_SFP2_Up=card_MC_Co_SFP2_Up, mc2_5g_sfpTransCode=mc2_5g_sfpTransCode, card_MC_E1_Rmt_Port2_LOS_Normal=card_MC_E1_Rmt_Port2_LOS_Normal, mc10G_OEO_Start_Test=mc10G_OEO_Start_Test, accXFP1WaveLengthTunable=accXFP1WaveLengthTunable, mcIpAddr=mcIpAddr, mc40G_OEOCardTable=mc40G_OEOCardTable, mc1GO2ORmtPort3SFPlink=mc1GO2ORmtPort3SFPlink, mcRmt4_25G_OEOLoopback=mcRmt4_25G_OEOLoopback, mcE1T1Type=mcE1T1Type, qsfpNtwRxPower3=qsfpNtwRxPower3, mc10G_OEOCardObjects=mc10G_OEOCardObjects, shelfName=shelfName, card_Lost=card_Lost, accsfpCopperLength=accsfpCopperLength, card_MC_E1_Co_Port1_LOS_Alarm=card_MC_E1_Co_Port1_LOS_Alarm, mcIP175DVlanMode=mcIP175DVlanMode, card_MC_E1T1_Rmt_TXLOS_Alarm=card_MC_E1T1_Rmt_TXLOS_Alarm, mc10G_OEESpdMode=mc10G_OEESpdMode, card_MC_Co_Fx_Up=card_MC_Co_Fx_Up, rmtCardDesc=rmtCardDesc, mcAccXFP1TunableType=mcAccXFP1TunableType, card_MC_Rmt_SFPSFP1_Removed=card_MC_Rmt_SFPSFP1_Removed, mcNtwXFP2WaveLengthTunability=mcNtwXFP2WaveLengthTunability, card_MC_Co_QSFP1_Removed=card_MC_Co_QSFP1_Removed, card_MC_Co_Ntw_SFP_Removed=card_MC_Co_Ntw_SFP_Removed, mcPmRest=mcPmRest, card_MC_Co_Acc_SFP_Inserted=card_MC_Co_Acc_SFP_Inserted, mcE1T1RmtFLossAlarm=mcE1T1RmtFLossAlarm, mc10G_OEO2RCardTable=mc10G_OEO2RCardTable, card_MC_E1_Rmt_Port2_CV_Alarm=card_MC_E1_Rmt_Port2_CV_Alarm, card_MC_Co_Port3_Up=card_MC_Co_Port3_Up, mc1GE2OPort2SFPlink=mc1GE2OPort2SFPlink, mc10GOEO3RObjects=mc10GOEO3RObjects, card_MC_E1_Co_Port1_AIS_Alarm=card_MC_E1_Co_Port1_AIS_Alarm, mc10G_OEO_Test_Result=mc10G_OEO_Test_Result, card_MC_Co_SFPSFP1_Inserted=card_MC_Co_SFPSFP1_Inserted, mc4_25G_OEOHWWorkMode=mc4_25G_OEOHWWorkMode, card_MC_Co_Tx_Down=card_MC_Co_Tx_Down, mcCWDMObjects=mcCWDMObjects, mcHWRmtCtrlMode=mcHWRmtCtrlMode, mcCfgWorkMode=mcCfgWorkMode, mcQCA8334PortEntry=mcQCA8334PortEntry, mcE1CardTable=mcE1CardTable, mc40G_OEOQsfp1Lane2_link=mc40G_OEOQsfp1Lane2_link, mc10G_OEO2RCurSpdMode=mc10G_OEO2RCurSpdMode, PYSNMP_MODULE_ID=company, mc10G_OEOLoopback=mc10G_OEOLoopback, mcE1T1FLoop=mcE1T1FLoop, card_MC_Rmt_SFP1_Up=card_MC_Rmt_SFP1_Up, mcRmt4_25G_OEOCfgSpdMode=mcRmt4_25G_OEOCfgSpdMode, card_MC_Rmt_PwrDown=card_MC_Rmt_PwrDown, mc1go2o_sfpMmLength=mc1go2o_sfpMmLength, mcQCA8334CfgWorkMode=mcQCA8334CfgWorkMode, mcRmtType=mcRmtType, mcQCA8334VlanMode=mcQCA8334VlanMode, mc4_25G_OEOHWSpdMode=mc4_25G_OEOHWSpdMode, card_MC_Co_QSFP2_Lane1_Up=card_MC_Co_QSFP2_Lane1_Up, mcE1Port2LOS=mcE1Port2LOS, mc1GO2OCardObjects=mc1GO2OCardObjects, mcRmt4_25G_OEOHWLoopback=mcRmt4_25G_OEOHWLoopback, mcRmt10G_OEO_accType=mcRmt10G_OEO_accType, mc2_5GMCObjects=mc2_5GMCObjects, mcTransceiverMode=mcTransceiverMode, mc40G_OEOObjects=mc40G_OEOObjects, mcCm1gAccSfpEntry=mcCm1gAccSfpEntry, mcIP175DCfgWorkMode=mcIP175DCfgWorkMode, mc1GE2ORmtTxlink=mc1GE2ORmtTxlink, mcE1T1RmtTLoop=mcE1T1RmtTLoop, qsfpNtwTxPower2=qsfpNtwTxPower2, mc1GO2OPort2SFPExist=mc1GO2OPort2SFPExist, ntwXFP2WaveLengthTunable=ntwXFP2WaveLengthTunable, qsfpNtwRxPower2=qsfpNtwRxPower2, card_MC_Co_XFP1_Inserted=card_MC_Co_XFP1_Inserted, mc10G_OEOSFP1=mc10G_OEOSFP1, mcQCA8334CardObjects=mcQCA8334CardObjects, card_MC_Co_QSFP1_Lane3_Up=card_MC_Co_QSFP1_Lane3_Up, mcAccQSfpTable=mcAccQSfpTable, mc10G_OEO_ntwType=mc10G_OEO_ntwType, mc40G_OEOLane3LoopMode=mc40G_OEOLane3LoopMode, card_MC_Rmt_SFP3_Removed=card_MC_Rmt_SFP3_Removed, card_MC_Co_QSFP2_Lane3_Down=card_MC_Co_QSFP2_Lane3_Down, psuA=psuA, ipProduct=ipProduct, mcFanCardTable=mcFanCardTable, mcRmtE1Port2CV=mcRmtE1Port2CV, mc40G_OEOQsfp2Lane2_link=mc40G_OEOQsfp2Lane2_link, qsfpAccRxPower2=qsfpAccRxPower2, mc10G_OEO2RCfgSpdMode=mc10G_OEO2RCfgSpdMode, card_MC_E1_Rmt_Port2_LOS_Alarm=card_MC_E1_Rmt_Port2_LOS_Alarm, card_MC_E1T1_Rmt_FXLOS_Normal=card_MC_E1T1_Rmt_FXLOS_Normal, mc2_5g_sfpCopperLength=mc2_5g_sfpCopperLength, mcCmObjects=mcCmObjects, mc10GOEEXFPTunableObjects=mc10GOEEXFPTunableObjects, mc10GOEO1RObjects=mc10GOEO1RObjects, mc40G_OEOHWSpeedMode=mc40G_OEOHWSpeedMode, getAccQSfpCmd=getAccQSfpCmd, mcQCA8334CardTable=mcQCA8334CardTable, mc10G_OEO2R_accType=mc10G_OEO2R_accType, card_MC_E1_Co_Port1_LOS_Normal=card_MC_E1_Co_Port1_LOS_Normal, card_MC_Rmt_SFPSFP1_Inserted=card_MC_Rmt_SFPSFP1_Inserted, mc2_5g_sfpTemperature=mc2_5g_sfpTemperature, mcRmtE1Txlink=mcRmtE1Txlink, accsfpTranPower=accsfpTranPower, mcE1T1CodeType=mcE1T1CodeType, sfpRecvPower=sfpRecvPower, card_MC_Co_Fx_Down=card_MC_Co_Fx_Down, card_MC_Co_QSFP2_Inserted=card_MC_Co_QSFP2_Inserted, mcRmtLFP=mcRmtLFP, card_MC_Rmt_SFP1_Inserted=card_MC_Rmt_SFP1_Inserted, accsfpTransCode=accsfpTransCode, sysLocation=sysLocation, qsfpNtwRxPower4=qsfpNtwRxPower4, card_MC_E1_Rmt_Port1_LOS_Alarm=card_MC_E1_Rmt_Port1_LOS_Alarm, sfpSmLength=sfpSmLength, cwdmWavelength6=cwdmWavelength6, mcE1TxCurWorkMode=mcE1TxCurWorkMode, mc1GE2ORmtPort1SFPExist=mc1GE2ORmtPort1SFPExist, mcCm1gIpObjects=mcCm1gIpObjects, mcRmtE1Port2Loop=mcRmtE1Port2Loop, mc10G_OEO2RCardEntry=mc10G_OEO2RCardEntry, card_MC_Co_SFP1_Up=card_MC_Co_SFP1_Up, qsfpAccTxPower2=qsfpAccTxPower2, card_MC_Rmt_XFP1_Removed=card_MC_Rmt_XFP1_Removed, qsfpAccTxPower1=qsfpAccTxPower1, qsfpAccConnector=qsfpAccConnector, mcRmtE1Port2AIS=mcRmtE1Port2AIS, card_MC_E1T1_Rmt_FXLOS_Alarm=card_MC_E1T1_Rmt_FXLOS_Alarm, card_MC_Co_QSFP1_Inserted=card_MC_Co_QSFP1_Inserted, card_MC_FAN_Normal=card_MC_FAN_Normal, mcNtwQSfpTable=mcNtwQSfpTable, mc10G_OEE_checkResult=mc10G_OEE_checkResult, card_MC_E1T1_Rmt_AIS_Normal=card_MC_E1T1_Rmt_AIS_Normal, mc2_5GMCCardEntry=mc2_5GMCCardEntry, mcE1Txlink=mcE1Txlink, mcQCA8334CardEntry=mcQCA8334CardEntry, mcRmtLoopback=mcRmtLoopback, mcQCA8334CurWorkMode=mcQCA8334CurWorkMode, card_MC_Rmt_SFP2_Down=card_MC_Rmt_SFP2_Down, card_MC_Rmt_SFP1_Removed=card_MC_Rmt_SFP1_Removed, mcRmtE1Port1LOS=mcRmtE1Port1LOS, card_MC_Co_SFP1_Inserted=card_MC_Co_SFP1_Inserted, qsfpNtwRxPower1=qsfpNtwRxPower1, mc10G_OEO2RSFP2=mc10G_OEO2RSFP2, slotTable=slotTable, mc10G_OEECardTable=mc10G_OEECardTable, mc40G_OEOLoopMode=mc40G_OEOLoopMode, mc1go2o_sfpTranPower=mc1go2o_sfpTranPower, mc1GO2ORmtPort2SFPlink=mc1GO2ORmtPort2SFPlink, mc10G_OEO2RCardObjects=mc10G_OEO2RCardObjects, mcCm1gSfpTable=mcCm1gSfpTable, mc1go2o_sfpTemperature=mc1go2o_sfpTemperature, mc1GO2ORmtPort2SFPExist=mc1GO2ORmtPort2SFPExist, card_MC_E1_Co_Port2_CV_Alarm=card_MC_E1_Co_Port2_CV_Alarm, mc1GE2OPort1SFPExist=mc1GE2OPort1SFPExist, accsfpConnector=accsfpConnector, coCardNum=coCardNum, mc1GO2OCardTable=mc1GO2OCardTable, gateway=gateway, qsfpNtwTemperature=qsfpNtwTemperature, card_MC_Rmt_XFP1_Inserted=card_MC_Rmt_XFP1_Inserted, mcIP175DRmtCurWorkMode=mcIP175DRmtCurWorkMode, mc2_5g_sfpConnector=mc2_5g_sfpConnector, mcE1T1RmtCodeType=mcE1T1RmtCodeType, mc1GO2ORmtPort1SFPExist=mc1GO2ORmtPort1SFPExist, mc4_25G_OEOCfgSpdMode=mc4_25G_OEOCfgSpdMode, card_MC_Co_SFP2_Down=card_MC_Co_SFP2_Down, sfpMmLength=sfpMmLength, mc10GOEEXFPTunableCardEntry=mc10GOEEXFPTunableCardEntry, mcIP175DPortIdx=mcIP175DPortIdx, sfpWavelength=sfpWavelength, shelf_psuA_Off=shelf_psuA_Off, card_MC_Co_Port1_Down=card_MC_Co_Port1_Down, mcRmtAccSfpExist=mcRmtAccSfpExist, mcAccXFP1WaveLength=mcAccXFP1WaveLength, card_MC_Co_QSFP2_Lane4_Up=card_MC_Co_QSFP2_Lane4_Up, card_MC_Co_QSFP2_Lane3_Up=card_MC_Co_QSFP2_Lane3_Up, mcE1CardObjects=mcE1CardObjects) mibBuilder.exportSymbols("XXX-MIB", ntwXFP2TunableType=ntwXFP2TunableType, card_MC_Co_Ntw_SFP_Inserted=card_MC_Co_Ntw_SFP_Inserted, card_MC_E1_Rmt_Port2_AIS_Normal=card_MC_E1_Rmt_Port2_AIS_Normal, mc2_5GMCPort2link=mc2_5GMCPort2link, mc1GE2ORmtPort2SFPExist=mc1GE2ORmtPort2SFPExist, getSfpCmd=getSfpCmd, mc10G_OEO2RSFP1=mc10G_OEO2RSFP1, card_MC_Co_SFPSFP2_Removed=card_MC_Co_SFPSFP2_Removed, mc1GO2ORmtPort1SFPlink=mc1GO2ORmtPort1SFPlink, mcPmObjects=mcPmObjects, card_MC_Co_Tx_Up=card_MC_Co_Tx_Up, qsfpAccTxPower4=qsfpAccTxPower4, shelf_Lost=shelf_Lost, mcPmEntry=mcPmEntry, mc2_5Cm1gSfpEntry=mc2_5Cm1gSfpEntry, mc1GO2OSfp3Entry=mc1GO2OSfp3Entry, cwdmWavelength4=cwdmWavelength4, xfpWaveLengthTunability=xfpWaveLengthTunability, card_MC_FAN_Abnormal=card_MC_FAN_Abnormal, mc10G_OEO2RSFP2Loopback=mc10G_OEO2RSFP2Loopback, subnet=subnet, card_MC_Co_Port2_Up=card_MC_Co_Port2_Up, card_MC_Co_XFP2_Removed=card_MC_Co_XFP2_Removed, shelf_fan_On=shelf_fan_On, mcQCA8334PortObjects=mcQCA8334PortObjects, mcE1Port1Loop=mcE1Port1Loop, mc10G_OEETxlink=mc10G_OEETxlink, mc10G_OEOHWLoopback=mc10G_OEOHWLoopback, mcRmt4_25G_OEOCurSpdMode=mcRmt4_25G_OEOCurSpdMode, coCardDesc=coCardDesc, nmuConfig=nmuConfig, mc1GO2OCardEntry=mc1GO2OCardEntry, mc1go2o_sfpBrSpeed=mc1go2o_sfpBrSpeed, fan=fan, mc10GOEO3RCardEntry=mc10GOEO3RCardEntry, card_MC_Co_XFP1_Down=card_MC_Co_XFP1_Down, card_MC_Rmt_XFP1_Down=card_MC_Rmt_XFP1_Down, mcE1Objects=mcE1Objects, card_MC_Rmt_Tx_Down1=card_MC_Rmt_Tx_Down1, mcHWWorkMode=mcHWWorkMode, card_MC_Rmt_SFPSFP1_Down=card_MC_Rmt_SFPSFP1_Down, card_MC_Co_QSFP2_Lane1_Down=card_MC_Co_QSFP2_Lane1_Down, mc4_25G_OEOAccPD=mc4_25G_OEOAccPD, cwdmWavelength2=cwdmWavelength2, trapHost4=trapHost4, mcQCA8334PortTable=mcQCA8334PortTable, mcCWDMCardObjects=mcCWDMCardObjects, mcTransmitMode=mcTransmitMode, sfpTemperature=sfpTemperature, qsfpNtwConnector=qsfpNtwConnector, mc4_25G_OEOCardTable=mc4_25G_OEOCardTable, mc40G_OEOLane4LoopMode=mc40G_OEOLane4LoopMode, mcQCA8334Objects=mcQCA8334Objects, mc40G_OEOCardObjects=mc40G_OEOCardObjects, shelf_psuB_Off=shelf_psuB_Off, mcIP175DRmtTxlink=mcIP175DRmtTxlink, mc2_5g_sfpVoltage=mc2_5g_sfpVoltage, mcCWDMCardTable=mcCWDMCardTable, mcRmtTransmitMode=mcRmtTransmitMode, mcFxlink=mcFxlink, mcRxByteLo=mcRxByteLo, mc1GE2OTxlink=mc1GE2OTxlink, mc1go2o_sfpVoltage=mc1go2o_sfpVoltage, mc10GOEO1RCardObjects=mc10GOEO1RCardObjects, card_MC_E1_Rmt_Port1_CV_Alarm=card_MC_E1_Rmt_Port1_CV_Alarm, card_MC_Co_XFP1_Up=card_MC_Co_XFP1_Up, mc10G_OEEObjects=mc10G_OEEObjects, card_MC_E1T1_Co_AIS_Alarm=card_MC_E1T1_Co_AIS_Alarm, mc1go2o_sfpSmLength=mc1go2o_sfpSmLength, shelf_Detected=shelf_Detected, card_MC_Co_SFPSFP2_Inserted=card_MC_Co_SFPSFP2_Inserted, card_MC_Rmt_Acc_SFP_Inserted=card_MC_Rmt_Acc_SFP_Inserted, mcIP175DCardObjects=mcIP175DCardObjects, card_MC_Co_XFP2_Down=card_MC_Co_XFP2_Down, mcQCA8334Txlink=mcQCA8334Txlink, mcE1Port2AIS=mcE1Port2AIS, card_MC_Co_Tx_Down2=card_MC_Co_Tx_Down2, sfpTransCode=sfpTransCode, mc4_25G_OEOLoopback=mc4_25G_OEOLoopback, mcNtwXFP2TunableType=mcNtwXFP2TunableType, accsfpVoltage=accsfpVoltage, mcRmt10G_OEOSFP1=mcRmt10G_OEOSFP1, mc1GO2ORmtPort3HWSpd=mc1GO2ORmtPort3HWSpd, mc10G_OEO2RHWSFP2Loopback=mc10G_OEO2RHWSFP2Loopback, qsfpNtwTxPower3=qsfpNtwTxPower3, mc10G_OEO2RVersion=mc10G_OEO2RVersion, accsfpMmLength=accsfpMmLength, mc10G_OEO2RHWSpdMode=mc10G_OEO2RHWSpdMode, mc10G_OEO2RSFP1Loopback=mc10G_OEO2RSFP1Loopback, mc1GE2OCardEntry=mc1GE2OCardEntry, mcQCA8334RmtCurWorkMode=mcQCA8334RmtCurWorkMode, xfpTunableType=xfpTunableType, card_MC_Co_QSFP1_Lane4_Down=card_MC_Co_QSFP1_Lane4_Down, mcIP175DDownStream=mcIP175DDownStream, cardObjects=cardObjects, alarmMIB=alarmMIB, accXFP1WaveLengthTunability=accXFP1WaveLengthTunability, qsfpNtwTxPower4=qsfpNtwTxPower4, mcE1T1Objects=mcE1T1Objects, mcAccSfpExist=mcAccSfpExist, card_MC_E1_Co_Port2_AIS_Normal=card_MC_E1_Co_Port2_AIS_Normal, card_MC_E1_Co_Port2_LOS_Alarm=card_MC_E1_Co_Port2_LOS_Alarm, mcIP175DRmtCfgWorkMode=mcIP175DRmtCfgWorkMode, mc40G_OEOQsfp2Lane1_link=mc40G_OEOQsfp2Lane1_link, accsfpCompliance=accsfpCompliance, card_MC_Co_SFP3_Inserted=card_MC_Co_SFP3_Inserted)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, constraints_union, value_range_constraint, value_size_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ConstraintsUnion', 'ValueRangeConstraint', 'ValueSizeConstraint', 'ConstraintsIntersection') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (gauge32, module_identity, iso, integer32, enterprises, object_identity, unsigned32, counter64, ip_address, bits, counter32, mib_identifier, mib_scalar, mib_table, mib_table_row, mib_table_column, time_ticks, notification_type) = mibBuilder.importSymbols('SNMPv2-SMI', 'Gauge32', 'ModuleIdentity', 'iso', 'Integer32', 'enterprises', 'ObjectIdentity', 'Unsigned32', 'Counter64', 'IpAddress', 'Bits', 'Counter32', 'MibIdentifier', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'TimeTicks', 'NotificationType') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') company = module_identity((1, 3, 6, 1, 4, 1, 6688)) company.setRevisions(('2009-03-05 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: company.setRevisionsDescriptions(('1G MC supported',)) if mibBuilder.loadTexts: company.setLastUpdated('200903050000Z') if mibBuilder.loadTexts: company.setOrganization('FiberRoad') if mibBuilder.loadTexts: company.setContactInfo('www.fiberroad.com.cn') if mibBuilder.loadTexts: company.setDescription('Media Converter NMS SNMP mib file') ip_product = object_identity((1, 3, 6, 1, 4, 1, 6688, 1)) if mibBuilder.loadTexts: ipProduct.setStatus('current') if mibBuilder.loadTexts: ipProduct.setDescription('IP product line') height2_hu = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1)) system_mib = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1)) alarm_mib = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2)) shelf_num = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: shelfNum.setStatus('current') if mibBuilder.loadTexts: shelfNum.setDescription('The number of shelf in current system') shelf_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2)) if mibBuilder.loadTexts: shelfTable.setStatus('current') if mibBuilder.loadTexts: shelfTable.setDescription('Shelf table') shelf_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2, 1)).setIndexNames((0, 'XXX-MIB', 'shelfName')) if mibBuilder.loadTexts: shelfEntry.setStatus('current') if mibBuilder.loadTexts: shelfEntry.setDescription('Shelf entry definition') shelf_name = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('master', 1), ('slave1', 2), ('slave2', 3), ('slave3', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: shelfName.setStatus('current') if mibBuilder.loadTexts: shelfName.setDescription('Shelf name') psu_a = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('on', 1), ('off', 2), ('nc', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: psuA.setStatus('current') if mibBuilder.loadTexts: psuA.setDescription('The status fan A of current shelf') psu_b = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('on', 1), ('off', 2), ('nc', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: psuB.setStatus('current') if mibBuilder.loadTexts: psuB.setDescription('The status psu B of current shelf') vol_a = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('normal', 1), ('abnormal', 2), ('nc', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: volA.setStatus('current') if mibBuilder.loadTexts: volA.setDescription('The voltage status of psuA of current shelf') vol_b = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('normal', 1), ('abnormal', 2), ('nc', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: volB.setStatus('current') if mibBuilder.loadTexts: volB.setDescription('The voltage status of psuB of current shelf') fan = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('on', 1), ('off', 2), ('nc', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: fan.setStatus('current') if mibBuilder.loadTexts: fan.setDescription('The status fan A of current shelf') temperature = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2, 1, 7), integer32()).setUnits(' oC').setMaxAccess('readonly') if mibBuilder.loadTexts: temperature.setStatus('current') if mibBuilder.loadTexts: temperature.setDescription('The temperature status of current shelf') co_card_num = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: coCardNum.setStatus('current') if mibBuilder.loadTexts: coCardNum.setDescription('The number of center card inserting of current shelf') rmt_card_num = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 2, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: rmtCardNum.setStatus('current') if mibBuilder.loadTexts: rmtCardNum.setDescription('The number of remote card inserting of current shelf') slot_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 3)) slot_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 3, 1)) if mibBuilder.loadTexts: slotTable.setStatus('current') if mibBuilder.loadTexts: slotTable.setDescription('Sparse table containing one entry for each slot in exist chassis in the system, indexed by shelfIdx and slotIdx.') slot_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 3, 1, 1)).setIndexNames((0, 'XXX-MIB', 'shelfIdx'), (0, 'XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: slotEntry.setStatus('current') if mibBuilder.loadTexts: slotEntry.setDescription("in this table ,user can find the converter module's type inserted in the system's slot.then you can get the detail information about the specified type in the cardObjects table") shelf_idx = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 3, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('master', 1), ('slave1', 2), ('slave2', 3), ('slave3', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: shelfIdx.setStatus('current') if mibBuilder.loadTexts: shelfIdx.setDescription('Chassis index - 1 = master management module, 2-4 = slave management module') slot_idx = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 3, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17))).clone(namedValues=named_values(('slot01', 1), ('slot02', 2), ('slot03', 3), ('slot04', 4), ('slot05', 5), ('slot06', 6), ('slot07', 7), ('slot08', 8), ('slot09', 9), ('slot10', 10), ('slot11', 11), ('slot12', 12), ('slot13', 13), ('slot14', 14), ('slot15', 15), ('slot16', 16), ('slot17', 17)))).setMaxAccess('readonly') if mibBuilder.loadTexts: slotIdx.setStatus('current') if mibBuilder.loadTexts: slotIdx.setDescription("chassis's slot,whitch is a index in this table") co_card_type = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 3, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 100, 101, 102))).clone(namedValues=named_values(('no-card', 0), ('ip113s', 1), ('ip113f', 2), ('mc-1g-e2o', 3), ('mc-1g-o2o', 4), ('mc-4-25g-oeo', 5), ('mc-ip175d', 6), ('mc-10g-oeo', 7), ('mc-10g-oee', 8), ('mc-FAN', 9), ('mc-10g-oeo-1r', 10), ('mc-2-5g', 11), ('mc-40g-oeo', 12), ('mc-2-5g-t', 13), ('mc-2-5g-f', 14), ('mc-2-5g-mux-t', 15), ('mc-2-5g-mux-f', 16), ('mc-1g-e2o-backup', 17), ('mc-e1-1sfp', 18), ('mc-e1-2sfp', 19), ('mc-100m-sfp', 20), ('mc-1g-o2o-backup', 21), ('mc-cwdm-4', 22), ('mc-cwdm-8', 23), ('mc-10g-oeo-2r', 24), ('mc-qca8334', 25), ('mc-e1t1', 26), ('fr600f-mm', 100), ('fr600f-ms', 101), ('not-support', 102)))).setMaxAccess('readonly') if mibBuilder.loadTexts: coCardType.setStatus('current') if mibBuilder.loadTexts: coCardType.setDescription("local card's type inserted in the chassis") co_card_desc = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 3, 1, 1, 4), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: coCardDesc.setStatus('current') if mibBuilder.loadTexts: coCardDesc.setDescription("local card's description") rmt_card_type = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 3, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 100, 101, 102))).clone(namedValues=named_values(('no-card', 0), ('ip113sr', 1), ('ip113f', 2), ('mc-1g-e2o', 3), ('mc-1g-o2o', 4), ('mc-4-25g-oeor', 5), ('mc-ip175dr', 6), ('mc-10g-oeor', 7), ('mc-10g-oeer', 8), ('mc-FANr', 9), ('mc-10g-oeo-1rr', 10), ('mc-2-5gr', 11), ('mc-40g-oeor', 12), ('mc-2-5g-tr', 13), ('mc-2-5g-fr', 14), ('mc-2-5g-mux-tr', 15), ('mc-2-5g-mux-fr', 16), ('mc-1g-e2o-backupr', 17), ('mc-e1-1sfpr', 18), ('mc-e1-2sfpr', 19), ('mc-100m-sfpr', 20), ('mc-1g-o2o-backupr', 21), ('mc-cwdmr-4', 22), ('mc-cwdmr-8', 23), ('mc-10g-oeo-2rr', 24), ('mc-qca8334r', 25), ('mc-e1t1r', 26), ('fr600f-mm', 100), ('fr600f-ms', 101), ('not-support', 102)))).setMaxAccess('readonly') if mibBuilder.loadTexts: rmtCardType.setStatus('current') if mibBuilder.loadTexts: rmtCardType.setDescription("remote card's type connect with the local converter") rmt_card_desc = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 3, 1, 1, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rmtCardDesc.setStatus('current') if mibBuilder.loadTexts: rmtCardDesc.setDescription("remote card's description") card_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4)) nmu_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1)) nmu_config = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1)) nmu_type = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(100, 101, 102))).clone(namedValues=named_values(('fr600f-mm', 100), ('fr600f-ms', 101), ('not-support', 102)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nmuType.setStatus('current') if mibBuilder.loadTexts: nmuType.setDescription('The type of NMU (network management unit)') ipaddr = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 2), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: ipaddr.setStatus('current') if mibBuilder.loadTexts: ipaddr.setDescription('The ethernet IP address of NMU (network management unit)') subnet = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 3), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: subnet.setStatus('current') if mibBuilder.loadTexts: subnet.setDescription('The etherent mask address of NMU (network management unit)') gateway = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 4), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: gateway.setStatus('current') if mibBuilder.loadTexts: gateway.setDescription('The ethernet gateway address of NMU (network management unit)') sys_contact = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: sysContact.setStatus('current') if mibBuilder.loadTexts: sysContact.setDescription('Mirror of the system.sysContact.0') sys_name = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: sysName.setStatus('current') if mibBuilder.loadTexts: sysName.setDescription('Mirror of the system.sysName.0') sys_location = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 7), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: sysLocation.setStatus('current') if mibBuilder.loadTexts: sysLocation.setDescription('Mirror of the system.sysLocation.0') trap_host1 = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 8), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: trapHost1.setStatus('current') if mibBuilder.loadTexts: trapHost1.setDescription("The first host's IP address used to receive trap messages, when set 0 it simply delete this entry. This applies to the trap host 2~4 below as well.") trap_host2 = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 9), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: trapHost2.setStatus('current') if mibBuilder.loadTexts: trapHost2.setDescription("The second host's IP address used to receive trap messages") trap_host3 = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 10), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: trapHost3.setStatus('current') if mibBuilder.loadTexts: trapHost3.setDescription("The third host's IP address used to receive trap messages") trap_host4 = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 1, 1, 11), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: trapHost4.setStatus('current') if mibBuilder.loadTexts: trapHost4.setDescription("The fourth host's IP address used to receive trap messages") mc_cm_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2)) mc_cm_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1)) if mibBuilder.loadTexts: mcCmTable.setStatus('current') if mibBuilder.loadTexts: mcCmTable.setDescription('MC Configuration table') mc_cm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1)).setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx')) if mibBuilder.loadTexts: mcCmEntry.setStatus('current') if mibBuilder.loadTexts: mcCmEntry.setDescription('MC Configuration entry definition') mc_shelf_idx = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('master', 1), ('slave1', 2), ('slave2', 3), ('slave3', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcShelfIdx.setStatus('current') if mibBuilder.loadTexts: mcShelfIdx.setDescription('Shelf index') mc_card_idx = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=named_values(('card01', 1), ('card02', 2), ('card03', 3), ('card04', 4), ('card05', 5), ('card06', 6), ('card07', 7), ('card08', 8), ('card09', 9), ('card10', 10), ('card11', 11), ('card12', 12), ('card13', 13), ('card14', 14), ('card15', 15), ('card16', 16)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcCardIdx.setStatus('current') if mibBuilder.loadTexts: mcCardIdx.setDescription('Card index') mc_type = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26))).clone(namedValues=named_values(('no-card', 0), ('ip113s', 1), ('ip113f', 2), ('mc-1g-e2o', 3), ('mc-1g-o2o', 4), ('mc-4-25g-oeo', 5), ('mc-ip175d', 6), ('mc-10g-oeo', 7), ('mc-10g-oee', 8), ('mc-FAN', 9), ('mc-10g-oeo-1r', 10), ('mc-2-5g', 11), ('mc-40g-oeo', 12), ('mc-2-5g-t', 13), ('mc-2-5g-f', 14), ('mc-2-5g-mux-t', 15), ('mc-2-5g-mux-f', 16), ('mc-1g-e2o-backup', 17), ('mc-e1-1sfp', 18), ('mc-e1-2sfp', 19), ('mc-100m-sfp', 20), ('mc-1g-o2o-backup', 21), ('mc-cwdm-4', 22), ('mc-cwdm-8', 23), ('mc-10g-oeo-2r', 24), ('mc-qca8334', 25), ('mc-e1t1', 26)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcType.setStatus('current') if mibBuilder.loadTexts: mcType.setDescription("Center card's type") mc_transceiver_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('bidi', 1), ('duplex-fiber', 2), ('sfp', 3), ('not-support', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcTransceiverMode.setStatus('current') if mibBuilder.loadTexts: mcTransceiverMode.setDescription("Center card's optical transceiver mode. 100M card support bidi/duplex-fiber; 1G card support bidi/duplex-fiber/sfp. Once sfp is given, the following mcTransceiverDist should be ignored.") mc_transceiver_dist = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 120))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcTransceiverDist.setStatus('current') if mibBuilder.loadTexts: mcTransceiverDist.setDescription("Center card's optical transceiver distance, 1 means 550m for duplex-fiber mode in case of 1G card, otherwise it represents the real distance (unit of km).") mc_port_state = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('locked', 1), ('unlocked', 2), ('not-support', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcPortState.setStatus('current') if mibBuilder.loadTexts: mcPortState.setDescription("Center card's port status, locked or unlocked") mc_transmit_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('cut-through', 1), ('store-forward', 2), ('not-support', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcTransmitMode.setStatus('current') if mibBuilder.loadTexts: mcTransmitMode.setDescription("Center card's transmmit mode") mc_cur_work_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('m100-full', 2), ('m100-half', 3), ('m10-full', 4), ('m10-half', 5), ('m1G-full', 6), ('not-support', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcCurWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcCurWorkMode.setDescription("Center card's current work mode") mc_cfg_work_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('mAuto', 1), ('m100-full', 2), ('m100-half', 3), ('m10-full', 4), ('m10-half', 5), ('m1G-full', 6), ('not-support', 7)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcCfgWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcCfgWorkMode.setDescription("Center card's configurable work mode") mc_lfp_cfg = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('not-support', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcLFPCfg.setStatus('current') if mibBuilder.loadTexts: mcLFPCfg.setDescription('Remote fault detect function, valid only on center MC card') mc_up_stream = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 11), gauge32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcUpStream.setStatus('current') if mibBuilder.loadTexts: mcUpStream.setDescription("Center card's up stream of MC") mc_down_stream = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 12), gauge32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcDownStream.setStatus('current') if mibBuilder.loadTexts: mcDownStream.setDescription("Center card's down stream of MC") mc_txlink = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcTxlink.setStatus('current') if mibBuilder.loadTexts: mcTxlink.setDescription("Center card's electrical port's link status") mc_fxlink = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcFxlink.setStatus('current') if mibBuilder.loadTexts: mcFxlink.setDescription("Center card's optical port's link status") mc_hwlfp = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcHWLFP.setStatus('current') if mibBuilder.loadTexts: mcHWLFP.setDescription("Center card's HW LFP, not applicable for 1G card") mc_hw_transmit_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('cut-through', 1), ('store-forward', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcHWTransmitMode.setStatus('current') if mibBuilder.loadTexts: mcHWTransmitMode.setDescription("Center card's HW transmit mode, not applicable for 1G card") mc_hw_work_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('mAuto', 1), ('m100-full', 2), ('m100-half', 3), ('m10-full', 4), ('m10-half', 5), ('m1G-full', 6), ('not-support', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcHWWorkMode.setStatus('current') if mibBuilder.loadTexts: mcHWWorkMode.setDescription("Center card's HW work mode, not applicable for 1G card") mc_hw_rmt_ctrl_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcHWRmtCtrlMode.setStatus('current') if mibBuilder.loadTexts: mcHWRmtCtrlMode.setDescription("Center card's HW remote control mode (only valid for local card). the disable mode indicates that all SET operations must be prohibited") mc_ntw_sfp_exist = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('inserted', 1), ('removed', 2), ('na', 3), ('not-support', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcNtwSfpExist.setStatus('current') if mibBuilder.loadTexts: mcNtwSfpExist.setDescription("Center 1G card's Network SFP indication") mc_acc_sfp_exist = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('inserted', 1), ('removed', 2), ('na', 3), ('not-support', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcAccSfpExist.setStatus('current') if mibBuilder.loadTexts: mcAccSfpExist.setDescription("Center 1G card's Access SFP indication, applicable only for O2O type") mc_utility = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('idle', 1), ('reset', 2), ('default', 3), ('set2hw', 4), ('not-support', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcUtility.setStatus('current') if mibBuilder.loadTexts: mcUtility.setDescription('reset, default to factory, set to HW word, etc...') mc_rmt_detect = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('no-remote', 0), ('yes', 1), ('not-support', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmtDetect.setStatus('current') if mibBuilder.loadTexts: mcRmtDetect.setDescription('An identifier to indicate if there is a remote MC currently connecting to system or not') mc_rmt_type = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26))).clone(namedValues=named_values(('no-card', 0), ('ip113sr', 1), ('ip113f', 2), ('mc-1g-e2or', 3), ('mc-1g-o2or', 4), ('mc-4-25g-oeor', 5), ('mc-ip175dr', 6), ('mc-10g-oeor', 7), ('mc-10g-oeer', 8), ('mc-FANr', 9), ('mc-10g-oeo-1rr', 10), ('mc-2-5gr', 11), ('mc-40g-oeor', 12), ('mc-2-5g-tr', 13), ('mc-2-5g-fr', 14), ('mc-2-5g-mux-tr', 15), ('mc-2-5g-mux-fr', 16), ('mc-1g-e2o-backupr', 17), ('mc-e1-1sfpr', 18), ('mc-e1-2sfpr', 19), ('mc-100m-sfpr', 20), ('mc-1g-o2o-backupr', 21), ('mc-cwdmr-4', 22), ('mc-cwdmr-8', 23), ('mc-10g-oeo-2rr', 24), ('mc-qca8334r', 25), ('mc-e1t1r', 26)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmtType.setStatus('current') if mibBuilder.loadTexts: mcRmtType.setDescription("Remote card's type") mc_rmt_transmit_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('no-card', 0), ('cut-through', 1), ('store-forward', 2), ('not-support', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcRmtTransmitMode.setStatus('current') if mibBuilder.loadTexts: mcRmtTransmitMode.setDescription("Remote card's transmmit mode") mc_rmt_cur_work_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 25), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('no-card', 0), ('m100-full', 2), ('m100-half', 3), ('m10-full', 4), ('m10-half', 5), ('m1G-full', 6), ('not-support', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmtCurWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcRmtCurWorkMode.setDescription("Remote card's current work mode") mc_rmt_cfg_work_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 26), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('no-card', 0), ('mAuto', 1), ('m100-full', 2), ('m100-half', 3), ('m10-full', 4), ('m10-half', 5), ('m1G-full', 6), ('not-support', 7)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcRmtCfgWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcRmtCfgWorkMode.setDescription("Remote card's configurable work mode") mc_rmt_lfp = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('no-card', 0), ('enable', 1), ('disable', 2), ('not-support', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcRmtLFP.setStatus('current') if mibBuilder.loadTexts: mcRmtLFP.setDescription("Remote card's LFP lamp state") mc_rmt_txlink = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('no-card', 0), ('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmtTxlink.setStatus('current') if mibBuilder.loadTexts: mcRmtTxlink.setDescription("Remote card's electrial port status") mc_rmt_hwlfp = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 29), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('no-card', 0), ('enable', 1), ('disable', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmtHWLFP.setStatus('current') if mibBuilder.loadTexts: mcRmtHWLFP.setDescription("Remote card's HW LFP, not applicable for 1G card") mc_rmt_hw_transmit_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 30), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('no-card', 0), ('cut-through', 1), ('store-forward', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmtHWTransmitMode.setStatus('current') if mibBuilder.loadTexts: mcRmtHWTransmitMode.setDescription("Remote card's HW transmit mode, not applicable for 1G card") mc_rmt_hw_work_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 31), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('no-card', 0), ('mAuto', 1), ('m100-full', 2), ('m100-half', 3), ('m10-full', 4), ('m10-half', 5), ('m1G-full', 6), ('not-support', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmtHWWorkMode.setStatus('current') if mibBuilder.loadTexts: mcRmtHWWorkMode.setDescription("Remote card's HW work mode, not applicable for 1G card") mc_rmt_loopback = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 32), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('no-card', 0), ('enable', 1), ('disable', 2), ('not-support', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcRmtLoopback.setStatus('current') if mibBuilder.loadTexts: mcRmtLoopback.setDescription("Remote card's HW Loopback state") mc_rmt_pwr_down = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 33), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('no-card', 0), ('powerdown', 1), ('normal', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmtPwrDown.setStatus('current') if mibBuilder.loadTexts: mcRmtPwrDown.setDescription("Remote card's power down state") mc_rmt_acc_sfp_exist = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 34), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('no-card', 0), ('inserted', 1), ('removed', 2), ('na', 3), ('support', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmtAccSfpExist.setStatus('current') if mibBuilder.loadTexts: mcRmtAccSfpExist.setDescription("Remote 1G card's Access SFP indication, applicable only for O2O type") mc_rmt_utility = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 1, 1, 35), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5))).clone(namedValues=named_values(('no-card', 0), ('idle', 1), ('reset', 2), ('default', 3), ('set2hw', 4), ('not-support', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcRmtUtility.setStatus('current') if mibBuilder.loadTexts: mcRmtUtility.setDescription("Rmote cards's reset, default to factory, set to HW word, etc...") mc_cm1g_specific_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2)) mc_cm1g_ip_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 1)) mc_cm1g_ip_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 1, 1)) if mibBuilder.loadTexts: mcCm1gIpTable.setStatus('current') if mibBuilder.loadTexts: mcCm1gIpTable.setDescription('MC 1G Ip address table') mc_cm1g_ip_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 1, 1, 1)).setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx'), (0, 'XXX-MIB', 'mcLoOrRmtFg')) if mibBuilder.loadTexts: mcCm1gIpEntry.setStatus('current') if mibBuilder.loadTexts: mcCm1gIpEntry.setDescription('MC 1G Ip address entry definition') mc_lo_or_rmt_fg = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('local', 1), ('remote', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcLoOrRmtFg.setStatus('current') if mibBuilder.loadTexts: mcLoOrRmtFg.setDescription('location index, local or remote') mc_ip_addr = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 1, 1, 1, 2), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcIpAddr.setStatus('current') if mibBuilder.loadTexts: mcIpAddr.setDescription('The Ip address of the node') mc_cm1g_sfp_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2)) mc_cm1g_sfp_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1)) if mibBuilder.loadTexts: mcCm1gSfpTable.setStatus('current') if mibBuilder.loadTexts: mcCm1gSfpTable.setDescription('MC 1G SFP table') mc_cm1g_sfp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1)).setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx'), (0, 'XXX-MIB', 'mcLoOrRmtFg')) if mibBuilder.loadTexts: mcCm1gSfpEntry.setStatus('current') if mibBuilder.loadTexts: mcCm1gSfpEntry.setDescription('MC 1G SFP entry definition') get_sfp_cmd = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('na', 0), ('local', 1), ('remote', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: getSfpCmd.setStatus('current') if mibBuilder.loadTexts: getSfpCmd.setDescription('This command will get the updated sfp information. Please send this command prior to getting the following params, otherwise the history sfp information will be sent back.') sfp_compliance = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sfpCompliance.setStatus('current') if mibBuilder.loadTexts: sfpCompliance.setDescription('SFP compliance (one byte) if 0 then the attributs of sfpTemperature/sfpTranPower/sfpRecvPower should be ignored') sfp_connector = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sfpConnector.setStatus('current') if mibBuilder.loadTexts: sfpConnector.setDescription('SFP connector type (one byte) 0x01: SC 0x07: LC 0x22: RJ45 others: unsupported') sfp_trans_code = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sfpTransCode.setStatus('current') if mibBuilder.loadTexts: sfpTransCode.setDescription('SFP transceiver code (one byte) bit0: SingleMode bit1: Copper Module bit2: MultiMode bit3: MultiMode others: unsupported') sfp_sm_length = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sfpSmLength.setStatus('current') if mibBuilder.loadTexts: sfpSmLength.setDescription('SFP link length for SingleMode, units of km. (one byte) applicable only when sfpTransCode is SingleMode') sfp_mm_length = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sfpMmLength.setStatus('current') if mibBuilder.loadTexts: sfpMmLength.setDescription('SFP link length for MultiMode, units of 10m (one byte) applicable only when sfpTransCode is MultiMode') sfp_copper_length = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sfpCopperLength.setStatus('current') if mibBuilder.loadTexts: sfpCopperLength.setDescription('SFP link length for Copper, units of m (one byte) applicable only when sfpConnector is RJ45') sfp_br_speed = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sfpBrSpeed.setStatus('current') if mibBuilder.loadTexts: sfpBrSpeed.setDescription('SFP nominal signalling rate, units of 100Mbit/s (one byte)') sfp_wavelength = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sfpWavelength.setStatus('current') if mibBuilder.loadTexts: sfpWavelength.setDescription('SFP laser wavelength (one word)') sfp_temperature = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 10), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sfpTemperature.setStatus('current') if mibBuilder.loadTexts: sfpTemperature.setDescription('SFP temperature (one type, signed)') sfp_tran_power = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 11), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sfpTranPower.setStatus('current') if mibBuilder.loadTexts: sfpTranPower.setDescription('SFP tx power (one type, signed)') sfp_recv_power = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 12), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sfpRecvPower.setStatus('current') if mibBuilder.loadTexts: sfpRecvPower.setDescription('SFP rx power (one type, signed)') sfp_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 2, 1, 1, 13), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: sfpVoltage.setStatus('current') if mibBuilder.loadTexts: sfpVoltage.setDescription('SFP voltage, units of 0.1mV (one word)') mc_cm1g_acc_sfp_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3)) mc_cm1g_acc_sfp_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1)) if mibBuilder.loadTexts: mcCm1gAccSfpTable.setStatus('current') if mibBuilder.loadTexts: mcCm1gAccSfpTable.setDescription('MC 1G Access SFP table') mc_cm1g_acc_sfp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1)).setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx'), (0, 'XXX-MIB', 'mcLoOrRmtFg')) if mibBuilder.loadTexts: mcCm1gAccSfpEntry.setStatus('current') if mibBuilder.loadTexts: mcCm1gAccSfpEntry.setDescription('MC 1G Access SFP entry definition') get_acc_sfp_cmd = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('na', 0), ('local', 1), ('remote', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: getAccSfpCmd.setStatus('current') if mibBuilder.loadTexts: getAccSfpCmd.setDescription('This command will get the updated sfp information. Please send this command prior to getting the following params, otherwise the history sfp information will be sent back.') accsfp_compliance = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: accsfpCompliance.setStatus('current') if mibBuilder.loadTexts: accsfpCompliance.setDescription('SFP compliance (one byte) if 0 then the attributs of sfpTemperature/sfpTranPower/sfpRecvPower should be ignored') accsfp_connector = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: accsfpConnector.setStatus('current') if mibBuilder.loadTexts: accsfpConnector.setDescription('SFP connector type (one byte) 0x01: SC 0x07: LC 0x22: RJ45 others: unsupported') accsfp_trans_code = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: accsfpTransCode.setStatus('current') if mibBuilder.loadTexts: accsfpTransCode.setDescription('SFP transceiver code (one byte) bit0: SingleMode bit2: MultiMode bit3: MultiMode others: unsupported') accsfp_sm_length = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: accsfpSmLength.setStatus('current') if mibBuilder.loadTexts: accsfpSmLength.setDescription('SFP link length for SingleMode, units of km. (one byte) applicable only when sfpTransCode is SingleMode') accsfp_mm_length = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: accsfpMmLength.setStatus('current') if mibBuilder.loadTexts: accsfpMmLength.setDescription('SFP link length for MultiMode, units of 10m (one byte) applicable only when sfpTransCode is MultiMode') accsfp_copper_length = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: accsfpCopperLength.setStatus('current') if mibBuilder.loadTexts: accsfpCopperLength.setDescription('SFP link length for Copper, units of m (one byte) applicable only when sfpConnector is RJ45') accsfp_br_speed = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: accsfpBrSpeed.setStatus('current') if mibBuilder.loadTexts: accsfpBrSpeed.setDescription('SFP nominal signalling rate, units of 100Mbit/s (one byte)') accsfp_wavelength = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: accsfpWavelength.setStatus('current') if mibBuilder.loadTexts: accsfpWavelength.setDescription('SFP laser wavelength (one word)') accsfp_temperature = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 10), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: accsfpTemperature.setStatus('current') if mibBuilder.loadTexts: accsfpTemperature.setDescription('SFP temperature (one type, signed)') accsfp_tran_power = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 11), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: accsfpTranPower.setStatus('current') if mibBuilder.loadTexts: accsfpTranPower.setDescription('SFP tx power (one type, signed)') accsfp_recv_power = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 12), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: accsfpRecvPower.setStatus('current') if mibBuilder.loadTexts: accsfpRecvPower.setDescription('SFP rx power (one type, signed)') accsfp_voltage = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 2, 3, 1, 1, 13), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: accsfpVoltage.setStatus('current') if mibBuilder.loadTexts: accsfpVoltage.setDescription('SFP voltage, units of 0.1mV (one word)') mc_ip175_d_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3)) mc_ip175_d_card_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 1)) mc_ip175_d_card_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 1, 1)) if mibBuilder.loadTexts: mcIP175DCardTable.setStatus('current') if mibBuilder.loadTexts: mcIP175DCardTable.setDescription('MC IP175D Configuration table') mc_ip175_d_card_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 1, 1, 1)).setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx')) if mibBuilder.loadTexts: mcIP175DCardEntry.setStatus('current') if mibBuilder.loadTexts: mcIP175DCardEntry.setDescription('MC Configuration entry definition') mc_ip175_d_vlan_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('Normal', 1), ('mode1', 2), ('mode2', 3), ('not-support', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcIP175DVlanMode.setStatus('current') if mibBuilder.loadTexts: mcIP175DVlanMode.setDescription("Center card's vlan mode") mc_ip175_d_port_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2)) mc_ip175_d_port_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1)) if mibBuilder.loadTexts: mcIP175DPortTable.setStatus('current') if mibBuilder.loadTexts: mcIP175DPortTable.setDescription('MC IP175D Configuration table') mc_ip175_d_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1, 1)).setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx'), (0, 'XXX-MIB', 'mcIP175DPortIdx')) if mibBuilder.loadTexts: mcIP175DPortEntry.setStatus('current') if mibBuilder.loadTexts: mcIP175DPortEntry.setDescription('MC Configuration entry definition') mc_ip175_d_port_idx = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('port1', 1), ('port2', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcIP175DPortIdx.setStatus('current') if mibBuilder.loadTexts: mcIP175DPortIdx.setDescription('Port index') mc_ip175_d_cur_work_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('m100-full', 2), ('m100-half', 3), ('m10-full', 4), ('m10-half', 5), ('m1G-full', 6), ('not-support', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcIP175DCurWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcIP175DCurWorkMode.setDescription("Center card's port current work mode") mc_ip175_d_cfg_work_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('mAuto', 1), ('m100-full', 2), ('m100-half', 3), ('m10-full', 4), ('m10-half', 5), ('m1G-full', 6), ('not-support', 7)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcIP175DCfgWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcIP175DCfgWorkMode.setDescription("Center card's port configurable work mode") mc_ip175_d_up_stream = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1, 1, 4), gauge32().subtype(subtypeSpec=value_range_constraint(64, 100000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcIP175DUpStream.setStatus('current') if mibBuilder.loadTexts: mcIP175DUpStream.setDescription("Center card's port up stream of MC") mc_ip175_d_down_stream = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1, 1, 5), gauge32().subtype(subtypeSpec=value_range_constraint(64, 100000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcIP175DDownStream.setStatus('current') if mibBuilder.loadTexts: mcIP175DDownStream.setDescription("Center card's port down stream of MC") mc_ip175_d_txlink = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcIP175DTxlink.setStatus('current') if mibBuilder.loadTexts: mcIP175DTxlink.setDescription("Center card's port 1 electrical port's link status") mc_ip175_d_rmt_cur_work_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('no-card', 0), ('m100-full', 2), ('m100-half', 3), ('m10-full', 4), ('m10-half', 5), ('m1G-full', 6), ('not-support', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcIP175DRmtCurWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcIP175DRmtCurWorkMode.setDescription("Remote card's port 1 current work mode") mc_ip175_d_rmt_cfg_work_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('no-card', 0), ('mAuto', 1), ('m100-full', 2), ('m100-half', 3), ('m10-full', 4), ('m10-half', 5), ('m1G-full', 6), ('not-support', 7)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcIP175DRmtCfgWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcIP175DRmtCfgWorkMode.setDescription("Remote card's port1 configurable work mode") mc_ip175_d_rmt_txlink = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 3, 2, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('no-card', 0), ('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcIP175DRmtTxlink.setStatus('current') if mibBuilder.loadTexts: mcIP175DRmtTxlink.setDescription("Remote card's port electrial port status") mc4_25_g_oeo_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4)).setLabel('mc4-25G-OEOObjects') mc4_25_g_oeo_card_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1)).setLabel('mc4-25G-OEOCardObjects') mc4_25_g_oeo_card_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1)).setLabel('mc4-25G-OEOCardTable') if mibBuilder.loadTexts: mc4_25G_OEOCardTable.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEOCardTable.setDescription('MC 4.25G OEO Configuration table') mc4_25_g_oeo_card_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1)).setLabel('mc4-25G-OEOCardEntry').setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx')) if mibBuilder.loadTexts: mc4_25G_OEOCardEntry.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEOCardEntry.setDescription('MC Configuration entry definition') mc4_25_g_oeo_cur_spd_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=named_values(('Infini', 1), ('STM16', 2), ('STM4', 3), ('STM1', 4), ('FCx4', 5), ('FCx2', 6), ('FCx1', 7), ('GE', 8), ('FE', 9), ('ESCOM', 10), ('not-support', 11)))).setLabel('mc4-25G-OEOCurSpdMode').setMaxAccess('readonly') if mibBuilder.loadTexts: mc4_25G_OEOCurSpdMode.setStatus('mandatory') if mibBuilder.loadTexts: mc4_25G_OEOCurSpdMode.setDescription("Center card's config speed mode") mc4_25_g_oeo_cfg_spd_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=named_values(('Infini', 1), ('STM16', 2), ('STM4', 3), ('STM1', 4), ('FCx4', 5), ('FCx2', 6), ('FCx1', 7), ('GE', 8), ('FE', 9), ('ESCOM', 10), ('not-support', 11)))).setLabel('mc4-25G-OEOCfgSpdMode').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc4_25G_OEOCfgSpdMode.setStatus('mandatory') if mibBuilder.loadTexts: mc4_25G_OEOCfgSpdMode.setDescription("Center card's current speed mode") mc4_25_g_oeo_loopback = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('not-support', 3)))).setLabel('mc4-25G-OEOLoopback').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc4_25G_OEOLoopback.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEOLoopback.setDescription("card's Loopback state") mc4_25_g_oeo_work_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('repeater', 1), ('retimer', 2), ('not-support', 3)))).setLabel('mc4-25G-OEOWorkMode').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc4_25G_OEOWorkMode.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEOWorkMode.setDescription("card's Work Mode") mc4_25_g_oeo_ntw_pd = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setLabel('mc4-25G-OEONtwPD').setMaxAccess('readonly') if mibBuilder.loadTexts: mc4_25G_OEONtwPD.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEONtwPD.setDescription("Center card's network side PD status") mc4_25_g_oeo_acc_pd = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setLabel('mc4-25G-OEOAccPD').setMaxAccess('readonly') if mibBuilder.loadTexts: mc4_25G_OEOAccPD.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEOAccPD.setDescription("Center card's access side PD status") mc4_25_g_oeohw_spd_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=named_values(('Infini', 1), ('STM16', 2), ('STM4', 3), ('STM1', 4), ('FCx4', 5), ('FCx2', 6), ('FCx1', 7), ('GE', 8), ('FE', 9), ('ESCOM', 10), ('not-support', 11)))).setLabel('mc4-25G-OEOHWSpdMode').setMaxAccess('readonly') if mibBuilder.loadTexts: mc4_25G_OEOHWSpdMode.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEOHWSpdMode.setDescription("Center card's HW speed mode") mc4_25_g_oeohw_loopback = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('not-support', 3)))).setLabel('mc4-25G-OEOHWLoopback').setMaxAccess('readonly') if mibBuilder.loadTexts: mc4_25G_OEOHWLoopback.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEOHWLoopback.setDescription("card's HW Loopback state") mc4_25_g_oeohw_work_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('repeater', 1), ('retimer', 2), ('not-support', 3)))).setLabel('mc4-25G-OEOHWWorkMode').setMaxAccess('readonly') if mibBuilder.loadTexts: mc4_25G_OEOHWWorkMode.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEOHWWorkMode.setDescription("card's HW Work Mode") mc4_25_g_oeo__test__lock = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('Lock', 1), ('Unlock', 2)))).setLabel('mc4-25G-OEO-Test-Lock').setMaxAccess('readonly') if mibBuilder.loadTexts: mc4_25G_OEO_Test_Lock.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEO_Test_Lock.setDescription('test result lock or unlock') mc4_25_g_oeo__test__error__counter = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 11), integer32()).setLabel('mc4-25G-OEO-Test-Error-Counter').setMaxAccess('readonly') if mibBuilder.loadTexts: mc4_25G_OEO_Test_Error_Counter.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEO_Test_Error_Counter.setDescription('test result error counter') mc4_25_g_oeo__test__continue__time = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 12), integer32()).setLabel('mc4-25G-OEO-Test-Continue-Time').setMaxAccess('readonly') if mibBuilder.loadTexts: mc4_25G_OEO_Test_Continue_Time.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEO_Test_Continue_Time.setDescription('test continue time unit is second') mc4_25_g_oeo__test__result = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('Pass', 1), ('Error', 2)))).setLabel('mc4-25G-OEO-Test-Result').setMaxAccess('readonly') if mibBuilder.loadTexts: mc4_25G_OEO_Test_Result.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEO_Test_Result.setDescription('test result') mc4_25_g_oeo__start__test = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('Start', 1), ('Stop', 2)))).setLabel('mc4-25G-OEO-Start-Test').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc4_25G_OEO_Start_Test.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEO_Start_Test.setDescription('start test and stop test') mc4_25_g_oeo__get__test__rst = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('Get', 1)))).setLabel('mc4-25G-OEO-Get-Test-Rst').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc4_25G_OEO_Get_Test_Rst.setStatus('current') if mibBuilder.loadTexts: mc4_25G_OEO_Get_Test_Rst.setDescription('get test result') mc_rmt4_25_g_oeo_cur_spd_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=named_values(('Infini', 1), ('STM16', 2), ('STM4', 3), ('STM1', 4), ('FCx4', 5), ('FCx2', 6), ('FCx1', 7), ('GE', 8), ('FE', 9), ('ESCOM', 10), ('not-support', 11)))).setLabel('mcRmt4-25G-OEOCurSpdMode').setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmt4_25G_OEOCurSpdMode.setStatus('mandatory') if mibBuilder.loadTexts: mcRmt4_25G_OEOCurSpdMode.setDescription("Center card's config speed mode") mc_rmt4_25_g_oeo_cfg_spd_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=named_values(('Infini', 1), ('STM16', 2), ('STM4', 3), ('STM1', 4), ('FCx4', 5), ('FCx2', 6), ('FCx1', 7), ('GE', 8), ('FE', 9), ('ESCOM', 10), ('not-support', 11)))).setLabel('mcRmt4-25G-OEOCfgSpdMode').setMaxAccess('readwrite') if mibBuilder.loadTexts: mcRmt4_25G_OEOCfgSpdMode.setStatus('mandatory') if mibBuilder.loadTexts: mcRmt4_25G_OEOCfgSpdMode.setDescription("Center card's current speed mode") mc_rmt4_25_g_oeo_loopback = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('not-support', 3)))).setLabel('mcRmt4-25G-OEOLoopback').setMaxAccess('readwrite') if mibBuilder.loadTexts: mcRmt4_25G_OEOLoopback.setStatus('current') if mibBuilder.loadTexts: mcRmt4_25G_OEOLoopback.setDescription("card's Loopback state") mc_rmt4_25_g_oeo_work_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('repeater', 1), ('retimer', 2), ('not-support', 3)))).setLabel('mcRmt4-25G-OEOWorkMode').setMaxAccess('readwrite') if mibBuilder.loadTexts: mcRmt4_25G_OEOWorkMode.setStatus('current') if mibBuilder.loadTexts: mcRmt4_25G_OEOWorkMode.setDescription("card's Work Mode") mc_rmt4_25_g_oeohw_spd_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=named_values(('Infini', 1), ('STM16', 2), ('STM4', 3), ('STM1', 4), ('FCx4', 5), ('FCx2', 6), ('FCx1', 7), ('GE', 8), ('FE', 9), ('ESCOM', 10), ('not-support', 11)))).setLabel('mcRmt4-25G-OEOHWSpdMode').setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmt4_25G_OEOHWSpdMode.setStatus('current') if mibBuilder.loadTexts: mcRmt4_25G_OEOHWSpdMode.setDescription("Center card's HW speed mode") mc_rmt4_25_g_oeohw_loopback = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('not-support', 3)))).setLabel('mcRmt4-25G-OEOHWLoopback').setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmt4_25G_OEOHWLoopback.setStatus('current') if mibBuilder.loadTexts: mcRmt4_25G_OEOHWLoopback.setDescription("card's HW Loopback state") mc_rmt4_25_g_oeohw_work_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 4, 1, 1, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('repeater', 1), ('retimer', 2), ('not-support', 3)))).setLabel('mcRmt4-25G-OEOHWWorkMode').setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmt4_25G_OEOHWWorkMode.setStatus('current') if mibBuilder.loadTexts: mcRmt4_25G_OEOHWWorkMode.setDescription("card's HW Work Mode") mc10_g_oeo_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5)).setLabel('mc10G-OEOObjects') mc10_g_oeo_card_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1)).setLabel('mc10G-OEOCardObjects') mc10_g_oeo_card_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1)).setLabel('mc10G-OEOCardTable') if mibBuilder.loadTexts: mc10G_OEOCardTable.setStatus('current') if mibBuilder.loadTexts: mc10G_OEOCardTable.setDescription('MC 10G OEO Configuration table') mc10_g_oeo_card_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1)).setLabel('mc10G-OEOCardEntry').setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx')) if mibBuilder.loadTexts: mc10G_OEOCardEntry.setStatus('current') if mibBuilder.loadTexts: mc10G_OEOCardEntry.setDescription('MC Configuration entry definition') mc10_g_oeo_cur_spd_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 4))).clone(namedValues=named_values(('LAN', 1), ('WAN', 2), ('not-support', 4)))).setLabel('mc10G-OEOCurSpdMode').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEOCurSpdMode.setStatus('mandatory') if mibBuilder.loadTexts: mc10G_OEOCurSpdMode.setDescription("Center card's current speed mode 10G LAN(10.3125G) and 10G WAN(9.95328G)") mc10_g_oeo_cfg_spd_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 4))).clone(namedValues=named_values(('LAN', 1), ('WAN', 2), ('not-support', 4)))).setLabel('mc10G-OEOCfgSpdMode').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc10G_OEOCfgSpdMode.setStatus('mandatory') if mibBuilder.loadTexts: mc10G_OEOCfgSpdMode.setDescription("Center card's config speed mode 10G LAN(10.3125G) and 10G WAN(9.95328G)") mc10_g_oeo_loopback = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('not-support', 3)))).setLabel('mc10G-OEOLoopback').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc10G_OEOLoopback.setStatus('current') if mibBuilder.loadTexts: mc10G_OEOLoopback.setDescription("card's Loopback state") mc10_g_oeosfp1 = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setLabel('mc10G-OEOSFP1').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEOSFP1.setStatus('current') if mibBuilder.loadTexts: mc10G_OEOSFP1.setDescription("Center card's SFP1 link status") mc10_g_oeosfp2 = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setLabel('mc10G-OEOSFP2').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEOSFP2.setStatus('current') if mibBuilder.loadTexts: mc10G_OEOSFP2.setDescription("Center card's SFP2 link status") mc10_g_oeohw_spd_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 4))).clone(namedValues=named_values(('LAN', 1), ('WAN', 2), ('not-support', 4)))).setLabel('mc10G-OEOHWSpdMode').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEOHWSpdMode.setStatus('current') if mibBuilder.loadTexts: mc10G_OEOHWSpdMode.setDescription("Center card's HW speed mode") mc10_g_oeohw_loopback = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('not-support', 3)))).setLabel('mc10G-OEOHWLoopback').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEOHWLoopback.setStatus('current') if mibBuilder.loadTexts: mc10G_OEOHWLoopback.setDescription("card's HW Loopback state") mc10_g_oeo__test__lock = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('Lock', 1), ('Unlock', 2)))).setLabel('mc10G-OEO-Test-Lock').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEO_Test_Lock.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO_Test_Lock.setDescription('test result lock or unlock') mc10_g_oeo__test__error__counter = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 9), integer32()).setLabel('mc10G-OEO-Test-Error-Counter').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEO_Test_Error_Counter.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO_Test_Error_Counter.setDescription('test result error counter') mc10_g_oeo__test__continue__time = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 10), integer32()).setLabel('mc10G-OEO-Test-Continue-Time').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEO_Test_Continue_Time.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO_Test_Continue_Time.setDescription('test continue time unit is second') mc10_g_oeo__test__result = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('Pass', 1), ('Error', 2)))).setLabel('mc10G-OEO-Test-Result').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEO_Test_Result.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO_Test_Result.setDescription('test result') mc10_g_oeo__start__test = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('Start', 1), ('Stop', 2)))).setLabel('mc10G-OEO-Start-Test').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc10G_OEO_Start_Test.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO_Start_Test.setDescription('start test and stop test') mc10_g_oeo__get__test__rst = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('Get', 1)))).setLabel('mc10G-OEO-Get-Test-Rst').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc10G_OEO_Get_Test_Rst.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO_Get_Test_Rst.setDescription('get test result') mc_rmt10_g_oeo_cur_spd_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 4))).clone(namedValues=named_values(('LAN', 1), ('WAN', 2), ('not-support', 4)))).setLabel('mcRmt10G-OEOCurSpdMode').setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmt10G_OEOCurSpdMode.setStatus('mandatory') if mibBuilder.loadTexts: mcRmt10G_OEOCurSpdMode.setDescription("Center card's current speed mode 10G LAN(10.3125G) and 10G WAN(9.95328G)") mc_rmt10_g_oeo_cfg_spd_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 4))).clone(namedValues=named_values(('LAN', 1), ('WAN', 2), ('not-support', 4)))).setLabel('mcRmt10G-OEOCfgSpdMode').setMaxAccess('readwrite') if mibBuilder.loadTexts: mcRmt10G_OEOCfgSpdMode.setStatus('mandatory') if mibBuilder.loadTexts: mcRmt10G_OEOCfgSpdMode.setDescription("Center card's config speed mode 10G LAN(10.3125G) and 10G WAN(9.95328G)") mc_rmt10_g_oeo_loopback = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('not-support', 3)))).setLabel('mcRmt10G-OEOLoopback').setMaxAccess('readwrite') if mibBuilder.loadTexts: mcRmt10G_OEOLoopback.setStatus('current') if mibBuilder.loadTexts: mcRmt10G_OEOLoopback.setDescription("card's Loopback state") mc_rmt10_g_oeohw_spd_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 4))).clone(namedValues=named_values(('LAN', 1), ('WAN', 2), ('not-support', 4)))).setLabel('mcRmt10G-OEOHWSpdMode').setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmt10G_OEOHWSpdMode.setStatus('current') if mibBuilder.loadTexts: mcRmt10G_OEOHWSpdMode.setDescription("Center card's HW speed mode 10G LAN(10.3125G) and 10G WAN(9.95328G)") mc_rmt10_g_oeohw_loopback = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('not-support', 3)))).setLabel('mcRmt10G-OEOHWLoopback').setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmt10G_OEOHWLoopback.setStatus('current') if mibBuilder.loadTexts: mcRmt10G_OEOHWLoopback.setDescription("card's HW Loopback state") mc_rmt10_g_oeosfp1 = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setLabel('mcRmt10G-OEOSFP1').setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmt10G_OEOSFP1.setStatus('current') if mibBuilder.loadTexts: mcRmt10G_OEOSFP1.setDescription("card's SFP1 link status") mc10_g_oeo_acc_type = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('XFP', 1), ('SFP', 2), ('unknow', 3)))).setLabel('mc10G-OEO-accType').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEO_accType.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO_accType.setDescription('') mc10_g_oeo_ntw_type = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('XFP', 1), ('SFP', 2), ('unknow', 3)))).setLabel('mc10G-OEO-ntwType').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEO_ntwType.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO_ntwType.setDescription('') mc_rmt10_g_oeo_acc_type = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('XFP', 1), ('SFP', 2), ('unknow', 3)))).setLabel('mcRmt10G-OEO-accType').setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmt10G_OEO_accType.setStatus('current') if mibBuilder.loadTexts: mcRmt10G_OEO_accType.setDescription('') mc_rmt10_g_oeo_ntw_type = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 5, 1, 1, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('XFP', 1), ('SFP', 2), ('unknow', 3)))).setLabel('mcRmt10G-OEO-ntwType').setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmt10G_OEO_ntwType.setStatus('current') if mibBuilder.loadTexts: mcRmt10G_OEO_ntwType.setDescription('') mc10_g_oee_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6)).setLabel('mc10G-OEEObjects') mc10_g_oee_card_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1)).setLabel('mc10G-OEECardObjects') mc10_g_oee_card_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1, 1)).setLabel('mc10G-OEECardTable') if mibBuilder.loadTexts: mc10G_OEECardTable.setStatus('current') if mibBuilder.loadTexts: mc10G_OEECardTable.setDescription('MC 10G OEE Configuration table') mc10_g_oee_card_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1, 1, 1)).setLabel('mc10G-OEECardEntry').setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx')) if mibBuilder.loadTexts: mc10G_OEECardEntry.setStatus('current') if mibBuilder.loadTexts: mc10G_OEECardEntry.setDescription('MC Configuration entry definition') mc10_g_oee_txlink = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setLabel('mc10G-OEETxlink').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEETxlink.setStatus('mandatory') if mibBuilder.loadTexts: mc10G_OEETxlink.setDescription("Center card's electrical port's link status") mc10_g_oee_fxlink = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setLabel('mc10G-OEEFxlink').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEEFxlink.setStatus('mandatory') if mibBuilder.loadTexts: mc10G_OEEFxlink.setDescription("Center card's optical port's link status") mc10_g_oee_cur_spd = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('no-card', 0), ('mAuto', 1), ('m100-full', 2), ('m100-half', 3), ('m10-full', 4), ('m10-half', 5), ('m1G-full', 6), ('m10G-Master', 7), ('m10G-Slave', 8), ('not-support', 9)))).setLabel('mc10G-OEECurSpd').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEECurSpd.setStatus('mandatory') if mibBuilder.loadTexts: mc10G_OEECurSpd.setDescription("Local card's current spd") mc10_g_oee_loop_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('not-support', 3)))).setLabel('mc10G-OEELoopMode').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc10G_OEELoopMode.setStatus('current') if mibBuilder.loadTexts: mc10G_OEELoopMode.setDescription("card's Loopback state") mc10_g_oee_spd_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 7, 8))).clone(namedValues=named_values(('auto', 1), ('m10G-Master', 7), ('m10G-Slave', 8)))).setLabel('mc10G-OEESpdMode').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc10G_OEESpdMode.setStatus('current') if mibBuilder.loadTexts: mc10G_OEESpdMode.setDescription("card's speed mode") mc10_g_oeehw_loopback = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('not-support', 3)))).setLabel('mc10G-OEEHWLoopback').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEEHWLoopback.setStatus('current') if mibBuilder.loadTexts: mc10G_OEEHWLoopback.setDescription("card's Loopback state") mc10_g_oee_ntw_type = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('XFP', 1), ('SFP', 2), ('unknow', 3)))).setLabel('mc10G-OEE-ntwType').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEE_ntwType.setStatus('current') if mibBuilder.loadTexts: mc10G_OEE_ntwType.setDescription('') mc10_g_oee_check_result = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 6, 1, 1, 1, 8), integer32()).setLabel('mc10G-OEE-checkResult').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEE_checkResult.setStatus('current') if mibBuilder.loadTexts: mc10G_OEE_checkResult.setDescription('test result') mc_fan_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 7)) mc_fan_card_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 7, 1)) mc_fan_card_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 7, 1, 1)) if mibBuilder.loadTexts: mcFanCardTable.setStatus('current') if mibBuilder.loadTexts: mcFanCardTable.setDescription('MC fan card table') mc_fan_card_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 7, 1, 1, 1)).setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx')) if mibBuilder.loadTexts: mcFanCardEntry.setStatus('current') if mibBuilder.loadTexts: mcFanCardEntry.setDescription('MC Configuration entry definition') mc_fan_status = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 7, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Normal', 1), ('Abnormal', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcFanStatus.setStatus('mandatory') if mibBuilder.loadTexts: mcFanStatus.setDescription("Center card's fan status") mc40_g_oeo_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8)).setLabel('mc40G-OEOObjects') mc40_g_oeo_card_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1)).setLabel('mc40G-OEOCardObjects') mc40_g_oeo_card_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1)).setLabel('mc40G-OEOCardTable') if mibBuilder.loadTexts: mc40G_OEOCardTable.setStatus('current') if mibBuilder.loadTexts: mc40G_OEOCardTable.setDescription('MC 40G OEO Configuration table') mc40_g_oeo_card_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1)).setLabel('mc40G-OEOCardEntry').setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx')) if mibBuilder.loadTexts: mc40G_OEOCardEntry.setStatus('current') if mibBuilder.loadTexts: mc40G_OEOCardEntry.setDescription('MC Configuration entry definition') mc40_g_oeo_qsfp1_lane1_link = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setLabel('mc40G-OEOQsfp1Lane1-link').setMaxAccess('readonly') if mibBuilder.loadTexts: mc40G_OEOQsfp1Lane1_link.setStatus('mandatory') if mibBuilder.loadTexts: mc40G_OEOQsfp1Lane1_link.setDescription("Center card's Qsfp1 Lane1 link status") mc40_g_oeo_qsfp1_lane2_link = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setLabel('mc40G-OEOQsfp1Lane2-link').setMaxAccess('readonly') if mibBuilder.loadTexts: mc40G_OEOQsfp1Lane2_link.setStatus('mandatory') if mibBuilder.loadTexts: mc40G_OEOQsfp1Lane2_link.setDescription("Center card's Qsfp1 Lane2 link status") mc40_g_oeo_qsfp1_lane3_link = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setLabel('mc40G-OEOQsfp1Lane3-link').setMaxAccess('readonly') if mibBuilder.loadTexts: mc40G_OEOQsfp1Lane3_link.setStatus('mandatory') if mibBuilder.loadTexts: mc40G_OEOQsfp1Lane3_link.setDescription("Center card's Qsfp1 Lane3 link status") mc40_g_oeo_qsfp1_lane4_link = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setLabel('mc40G-OEOQsfp1Lane4-link').setMaxAccess('readonly') if mibBuilder.loadTexts: mc40G_OEOQsfp1Lane4_link.setStatus('mandatory') if mibBuilder.loadTexts: mc40G_OEOQsfp1Lane4_link.setDescription("Center card's Qsfp1 Lane4 link status") mc40_g_oeo_qsfp2_lane1_link = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setLabel('mc40G-OEOQsfp2Lane1-link').setMaxAccess('readonly') if mibBuilder.loadTexts: mc40G_OEOQsfp2Lane1_link.setStatus('mandatory') if mibBuilder.loadTexts: mc40G_OEOQsfp2Lane1_link.setDescription("Center card's Qsfp2 Lane1 link status") mc40_g_oeo_qsfp2_lane2_link = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setLabel('mc40G-OEOQsfp2Lane2-link').setMaxAccess('readonly') if mibBuilder.loadTexts: mc40G_OEOQsfp2Lane2_link.setStatus('mandatory') if mibBuilder.loadTexts: mc40G_OEOQsfp2Lane2_link.setDescription("Center card's Qsfp2 Lane2 link status") mc40_g_oeo_qsfp2_lane3_link = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setLabel('mc40G-OEOQsfp2Lane3-link').setMaxAccess('readonly') if mibBuilder.loadTexts: mc40G_OEOQsfp2Lane3_link.setStatus('mandatory') if mibBuilder.loadTexts: mc40G_OEOQsfp2Lane3_link.setDescription("Center card's Qsfp2 Lane3 link status") mc40_g_oeo_qsfp2_lane4_link = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setLabel('mc40G-OEOQsfp2Lane4-link').setMaxAccess('readonly') if mibBuilder.loadTexts: mc40G_OEOQsfp2Lane4_link.setStatus('mandatory') if mibBuilder.loadTexts: mc40G_OEOQsfp2Lane4_link.setDescription("Center card's Qsfp2 Lane4 link status") mc40_g_oeo_lane1_loop_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('line-side-enable', 1), ('host-side-enable', 2), ('disable', 3), ('not-support', 4)))).setLabel('mc40G-OEOLane1LoopMode').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc40G_OEOLane1LoopMode.setStatus('current') if mibBuilder.loadTexts: mc40G_OEOLane1LoopMode.setDescription("card's Lane1 Loopback state") mc40_g_oeo_lane2_loop_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('line-side-enable', 1), ('host-side-enable', 2), ('disable', 3), ('not-support', 4)))).setLabel('mc40G-OEOLane2LoopMode').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc40G_OEOLane2LoopMode.setStatus('current') if mibBuilder.loadTexts: mc40G_OEOLane2LoopMode.setDescription("card's Lane2 Loopback state") mc40_g_oeo_lane3_loop_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('line-side-enable', 1), ('host-side-enable', 2), ('disable', 3), ('not-support', 4)))).setLabel('mc40G-OEOLane3LoopMode').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc40G_OEOLane3LoopMode.setStatus('current') if mibBuilder.loadTexts: mc40G_OEOLane3LoopMode.setDescription("card's Lane3 Loopback state") mc40_g_oeo_lane4_loop_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('line-side-enable', 1), ('host-side-enable', 2), ('disable', 3), ('not-support', 4)))).setLabel('mc40G-OEOLane4LoopMode').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc40G_OEOLane4LoopMode.setStatus('current') if mibBuilder.loadTexts: mc40G_OEOLane4LoopMode.setDescription("card's Lane4 Loopback state") mc40_g_oeo_loop_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('all', 1), ('line-side-enable', 2), ('host-side-enable', 3), ('disable', 4), ('not-support', 5)))).setLabel('mc40G-OEOLoopMode').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc40G_OEOLoopMode.setStatus('current') if mibBuilder.loadTexts: mc40G_OEOLoopMode.setDescription("card's Loopback state") mc40_g_oeo_speed_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14))).clone(namedValues=named_values(('no-card', 0), ('mc40GSpeed-1', 1), ('mc40GSpeed-2', 2), ('mc40GSpeed-3', 3), ('mc40GSpeed-4', 4), ('mc40GSpeed-5', 5), ('mc40GSpeed-6', 6), ('mc40GSpeed-7', 7), ('mc40GSpeed-8', 8), ('mc40GSpeed-9', 9), ('mc40GSpeed-10', 10), ('mc40GSpeed-11', 11), ('mc40GSpeed-12', 12), ('mc40GSpeed-13', 13), ('not-support', 14)))).setLabel('mc40G-OEOSpeedMode').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc40G_OEOSpeedMode.setStatus('mandatory') if mibBuilder.loadTexts: mc40G_OEOSpeedMode.setDescription('speed1: 1X40G: 10G LAN(10312.5Mbps) speed2: 1X40G: OTU3(10754.60325Mbps) speed3: 1X40G: OTU3e2(11145.83875Mbps) speed4: 4X10G: 10G LAN(10312.5Mbps) speed5: 4X10G: CPRI(9830.4 Mbps) speed6: 4X10G: OC-192/STM-64(9953.28Mbps) speed7: 4X10G: OC-192/STM-64(10664.228571427Mbps) speed8: 4X10G: OC-192/STM-64(10709.225316455Mbps) speed9: 4X10G: 10G Ethernet(11049.107142857Mbps) speed10: 4X10G: 10GFibreChannel(10518.750Mbps) speed11: 4X10G: 10GFibreChannel(11270.089285714Mbps) speed12: 4X10G: 10GFibreChannel(11317.642405063Mbps) speed13: 4X10G: 10GInfiniband(10000.00Mbps)') mc40_g_oeohw_loop_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('line-side-enable', 1), ('host-side-enable', 2), ('disable', 3), ('not-support', 4)))).setLabel('mc40G-OEOHWLoopMode').setMaxAccess('readonly') if mibBuilder.loadTexts: mc40G_OEOHWLoopMode.setStatus('current') if mibBuilder.loadTexts: mc40G_OEOHWLoopMode.setDescription("card's HW Loopback state") mc40_g_oeohw_speed_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 8, 1, 1, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13))).clone(namedValues=named_values(('no-card', 0), ('mc40GSpeed-1', 1), ('mc40GSpeed-2', 2), ('mc40GSpeed-3', 3), ('mc40GSpeed-4', 4), ('mc40GSpeed-5', 5), ('mc40GSpeed-6', 6), ('mc40GSpeed-7', 7), ('mc40GSpeed-8', 8), ('mc40GSpeed-9', 9), ('mc40GSpeed-10', 10), ('mc40GSpeed-11', 11), ('mc40GSpeed-12', 12), ('not-support', 13)))).setLabel('mc40G-OEOHWSpeedMode').setMaxAccess('readonly') if mibBuilder.loadTexts: mc40G_OEOHWSpeedMode.setStatus('mandatory') if mibBuilder.loadTexts: mc40G_OEOHWSpeedMode.setDescription('speed1: 1X40G: 10G LAN(10312.5Mbps) speed2: 1X40G: OTU3(10754.60325Mbps) speed3: 1X40G: OTU3e2(11145.83875Mbps) speed4: 4X10G: 10G LAN(10312.5Mbps) speed5: 4X10G: CPRI(9830.4 Mbps) speed6: 4X10G: OC-192/STM-64(9953.28Mbps) speed7: 4X10G: OC-192/STM-64(10664.228571427Mbps) speed8: 4X10G: OC-192/STM-64(10709.225316455Mbps) speed9: 4X10G: 10G Ethernet(11049.107142857Mbps) speed10: 4X10G: 10GFibreChannel(10518.750Mbps) speed11: 4X10G: 10GFibreChannel(11270.089285714Mbps) speed12: 4X10G: 10GFibreChannel(11317.642405063Mbps)') mc_qsfp_specific_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9)) mc_ntw_q_sfp_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1)) mc_ntw_q_sfp_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1)) if mibBuilder.loadTexts: mcNtwQSfpTable.setStatus('current') if mibBuilder.loadTexts: mcNtwQSfpTable.setDescription('MC Ntw QSFP table') mc_ntw_q_sfp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1)).setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx')) if mibBuilder.loadTexts: mcNtwQSfpEntry.setStatus('current') if mibBuilder.loadTexts: mcNtwQSfpEntry.setDescription('MC Ntw QSFP entry definition') get_ntw_q_sfp_cmd = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('na', 0), ('local', 1), ('remote', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: getNtwQSfpCmd.setStatus('current') if mibBuilder.loadTexts: getNtwQSfpCmd.setDescription('This command will get the updated sfp information. Please send this command prior to getting the following params, otherwise the history sfp information will be sent back.') qsfp_ntw_connector = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: qsfpNtwConnector.setStatus('current') if mibBuilder.loadTexts: qsfpNtwConnector.setDescription('SFP connector type (one byte) 0x07: LC 0x0B: Optical Pigtail 0x0C: MPO 0x21: Copper Pigtail others: unsupported') qsfp_ntw_temperature = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: qsfpNtwTemperature.setStatus('current') if mibBuilder.loadTexts: qsfpNtwTemperature.setDescription('SFP temperature (one type, signed)') qsfp_ntw_tx_power1 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: qsfpNtwTxPower1.setStatus('current') if mibBuilder.loadTexts: qsfpNtwTxPower1.setDescription('SFP tx power (one type, signed)') qsfp_ntw_tx_power2 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: qsfpNtwTxPower2.setStatus('current') if mibBuilder.loadTexts: qsfpNtwTxPower2.setDescription('SFP tx power (one type, signed)') qsfp_ntw_tx_power3 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: qsfpNtwTxPower3.setStatus('current') if mibBuilder.loadTexts: qsfpNtwTxPower3.setDescription('SFP tx power (one type, signed)') qsfp_ntw_tx_power4 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: qsfpNtwTxPower4.setStatus('current') if mibBuilder.loadTexts: qsfpNtwTxPower4.setDescription('SFP tx power (one type, signed)') qsfp_ntw_rx_power1 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: qsfpNtwRxPower1.setStatus('current') if mibBuilder.loadTexts: qsfpNtwRxPower1.setDescription('SFP rx power (one type, signed)') qsfp_ntw_rx_power2 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: qsfpNtwRxPower2.setStatus('current') if mibBuilder.loadTexts: qsfpNtwRxPower2.setDescription('SFP rx power (one type, signed)') qsfp_ntw_rx_power3 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 10), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: qsfpNtwRxPower3.setStatus('current') if mibBuilder.loadTexts: qsfpNtwRxPower3.setDescription('SFP rx power (one type, signed)') qsfp_ntw_rx_power4 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 1, 1, 1, 11), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: qsfpNtwRxPower4.setStatus('current') if mibBuilder.loadTexts: qsfpNtwRxPower4.setDescription('SFP rx power (one type, signed)') mc_acc_q_sfp_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2)) mc_acc_q_sfp_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1)) if mibBuilder.loadTexts: mcAccQSfpTable.setStatus('current') if mibBuilder.loadTexts: mcAccQSfpTable.setDescription('MC Acc QSFP table') mc_acc_q_sfp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1)).setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx')) if mibBuilder.loadTexts: mcAccQSfpEntry.setStatus('current') if mibBuilder.loadTexts: mcAccQSfpEntry.setDescription('MC Acc QSFP entry definition') get_acc_q_sfp_cmd = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('na', 0), ('local', 1), ('remote', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: getAccQSfpCmd.setStatus('current') if mibBuilder.loadTexts: getAccQSfpCmd.setDescription('This command will get the updated sfp information. Please send this command prior to getting the following params, otherwise the history sfp information will be sent back.') qsfp_acc_connector = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: qsfpAccConnector.setStatus('current') if mibBuilder.loadTexts: qsfpAccConnector.setDescription('SFP connector type (one byte) 0x07: LC 0x0B: Optical Pigtail 0x0C: MPO 0x21: Copper Pigtail others: unsupported') qsfp_acc_temperature = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: qsfpAccTemperature.setStatus('current') if mibBuilder.loadTexts: qsfpAccTemperature.setDescription('SFP temperature (one type, signed)') qsfp_acc_tx_power1 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: qsfpAccTxPower1.setStatus('current') if mibBuilder.loadTexts: qsfpAccTxPower1.setDescription('SFP tx power (one type, signed)') qsfp_acc_tx_power2 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: qsfpAccTxPower2.setStatus('current') if mibBuilder.loadTexts: qsfpAccTxPower2.setDescription('SFP tx power (one type, signed)') qsfp_acc_tx_power3 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: qsfpAccTxPower3.setStatus('current') if mibBuilder.loadTexts: qsfpAccTxPower3.setDescription('SFP tx power (one type, signed)') qsfp_acc_tx_power4 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: qsfpAccTxPower4.setStatus('current') if mibBuilder.loadTexts: qsfpAccTxPower4.setDescription('SFP tx power (one type, signed)') qsfp_acc_rx_power1 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: qsfpAccRxPower1.setStatus('current') if mibBuilder.loadTexts: qsfpAccRxPower1.setDescription('SFP rx power (one type, signed)') qsfp_acc_rx_power2 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: qsfpAccRxPower2.setStatus('current') if mibBuilder.loadTexts: qsfpAccRxPower2.setDescription('SFP rx power (one type, signed)') qsfp_acc_rx_power3 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 10), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: qsfpAccRxPower3.setStatus('current') if mibBuilder.loadTexts: qsfpAccRxPower3.setDescription('SFP rx power (one type, signed)') qsfp_acc_rx_power4 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 9, 2, 1, 1, 11), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: qsfpAccRxPower4.setStatus('current') if mibBuilder.loadTexts: qsfpAccRxPower4.setDescription('SFP rx power (one type, signed)') mc2_5_gmc_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10)).setLabel('mc2-5GMCObjects') mc2_5_gmcsfp3_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1)).setLabel('mc2-5GMCSFP3Objects') mc2_5_cm1g_sfp_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1)).setLabel('mc2-5Cm1gSfpTable') if mibBuilder.loadTexts: mc2_5Cm1gSfpTable.setStatus('current') if mibBuilder.loadTexts: mc2_5Cm1gSfpTable.setDescription('MC 1G SFP table') mc2_5_cm1g_sfp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1)).setLabel('mc2-5Cm1gSfpEntry').setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx'), (0, 'XXX-MIB', 'mcLoOrRmtFg')) if mibBuilder.loadTexts: mc2_5Cm1gSfpEntry.setStatus('current') if mibBuilder.loadTexts: mc2_5Cm1gSfpEntry.setDescription('MC 1G SFP entry definition') mc2_5g_get_sfp_cmd = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('na', 0), ('local', 1), ('remote', 2)))).setLabel('mc2-5g-getSfpCmd').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc2_5g_getSfpCmd.setStatus('current') if mibBuilder.loadTexts: mc2_5g_getSfpCmd.setDescription('This command will get the updated sfp information. Please send this command prior to getting the following params, otherwise the history sfp information will be sent back.') mc2_5g_sfp_compliance = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 2), integer32()).setLabel('mc2-5g-sfpCompliance').setMaxAccess('readonly') if mibBuilder.loadTexts: mc2_5g_sfpCompliance.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpCompliance.setDescription('SFP compliance (one byte) if 0 then the attributs of sfpTemperature/sfpTranPower/sfpRecvPower should be ignored') mc2_5g_sfp_connector = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 3), integer32()).setLabel('mc2-5g-sfpConnector').setMaxAccess('readonly') if mibBuilder.loadTexts: mc2_5g_sfpConnector.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpConnector.setDescription('SFP connector type (one byte) 0x01: SC 0x07: LC 0x22: RJ45 others: unsupported') mc2_5g_sfp_trans_code = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 4), integer32()).setLabel('mc2-5g-sfpTransCode').setMaxAccess('readonly') if mibBuilder.loadTexts: mc2_5g_sfpTransCode.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpTransCode.setDescription('SFP transceiver code (one byte) bit0: SingleMode bit2: MultiMode bit3: MultiMode others: unsupported') mc2_5g_sfp_sm_length = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 5), integer32()).setLabel('mc2-5g-sfpSmLength').setMaxAccess('readonly') if mibBuilder.loadTexts: mc2_5g_sfpSmLength.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpSmLength.setDescription('SFP link length for SingleMode, units of km. (one byte) applicable only when sfpTransCode is SingleMode') mc2_5g_sfp_mm_length = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 6), integer32()).setLabel('mc2-5g-sfpMmLength').setMaxAccess('readonly') if mibBuilder.loadTexts: mc2_5g_sfpMmLength.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpMmLength.setDescription('SFP link length for MultiMode, units of 10m (one byte) applicable only when sfpTransCode is MultiMode') mc2_5g_sfp_copper_length = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 7), integer32()).setLabel('mc2-5g-sfpCopperLength').setMaxAccess('readonly') if mibBuilder.loadTexts: mc2_5g_sfpCopperLength.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpCopperLength.setDescription('SFP link length for Copper, units of m (one byte) applicable only when sfpConnector is RJ45') mc2_5g_sfp_br_speed = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 8), integer32()).setLabel('mc2-5g-sfpBrSpeed').setMaxAccess('readonly') if mibBuilder.loadTexts: mc2_5g_sfpBrSpeed.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpBrSpeed.setDescription('SFP nominal signalling rate, units of 100Mbit/s (one byte)') mc2_5g_sfp_wavelength = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 9), integer32()).setLabel('mc2-5g-sfpWavelength').setMaxAccess('readonly') if mibBuilder.loadTexts: mc2_5g_sfpWavelength.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpWavelength.setDescription('SFP laser wavelength (one word)') mc2_5g_sfp_temperature = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 10), integer32()).setLabel('mc2-5g-sfpTemperature').setMaxAccess('readonly') if mibBuilder.loadTexts: mc2_5g_sfpTemperature.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpTemperature.setDescription('SFP temperature (one type, signed)') mc2_5g_sfp_tran_power = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 11), integer32()).setLabel('mc2-5g-sfpTranPower').setMaxAccess('readonly') if mibBuilder.loadTexts: mc2_5g_sfpTranPower.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpTranPower.setDescription('SFP tx power (one type, signed)') mc2_5g_sfp_recv_power = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 12), integer32()).setLabel('mc2-5g-sfpRecvPower').setMaxAccess('readonly') if mibBuilder.loadTexts: mc2_5g_sfpRecvPower.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpRecvPower.setDescription('SFP rx power (one type, signed)') mc2_5g_sfp_voltage = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 1, 1, 1, 13), integer32()).setLabel('mc2-5g-sfpVoltage').setMaxAccess('readonly') if mibBuilder.loadTexts: mc2_5g_sfpVoltage.setStatus('current') if mibBuilder.loadTexts: mc2_5g_sfpVoltage.setDescription('SFP voltage, units of 0.1mV (one word)') mc2_5_gmc_card_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 2)).setLabel('mc2-5GMCCardObjects') mc2_5_gmc_card_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 2, 1)).setLabel('mc2-5GMCCardTable') if mibBuilder.loadTexts: mc2_5GMCCardTable.setStatus('current') if mibBuilder.loadTexts: mc2_5GMCCardTable.setDescription('MC 2-5GMC Configuration table') mc2_5_gmc_card_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 2, 1, 1)).setLabel('mc2-5GMCCardEntry').setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx')) if mibBuilder.loadTexts: mc2_5GMCCardEntry.setStatus('current') if mibBuilder.loadTexts: mc2_5GMCCardEntry.setDescription('MC Configuration entry definition') mc2_5_gmc_sfp3_exist = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 2, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('inserted', 1), ('removed', 2), ('na', 3), ('not-support', 4)))).setLabel('mc2-5GMCSfp3Exist').setMaxAccess('readonly') if mibBuilder.loadTexts: mc2_5GMCSfp3Exist.setStatus('current') if mibBuilder.loadTexts: mc2_5GMCSfp3Exist.setDescription("Center 1G card's SFP3 indication") mc2_5_gmc_port1link = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setLabel('mc2-5GMCPort1link').setMaxAccess('readonly') if mibBuilder.loadTexts: mc2_5GMCPort1link.setStatus('current') if mibBuilder.loadTexts: mc2_5GMCPort1link.setDescription("Center card's electrical port1's link status") mc2_5_gmc_port2link = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setLabel('mc2-5GMCPort2link').setMaxAccess('readonly') if mibBuilder.loadTexts: mc2_5GMCPort2link.setStatus('current') if mibBuilder.loadTexts: mc2_5GMCPort2link.setDescription("Center card's electrical port2's link status") mc2_5_gmc_port3link = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 10, 2, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setLabel('mc2-5GMCPort3link').setMaxAccess('readonly') if mibBuilder.loadTexts: mc2_5GMCPort3link.setStatus('current') if mibBuilder.loadTexts: mc2_5GMCPort3link.setDescription("Center card's electrical port3's link status") mc_e1_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11)) mc_e1_card_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1)) mc_e1_card_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1)) if mibBuilder.loadTexts: mcE1CardTable.setStatus('current') if mibBuilder.loadTexts: mcE1CardTable.setDescription('MC E1 + Eth Configuration table') mc_e1_card_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1)).setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx')) if mibBuilder.loadTexts: mcE1CardEntry.setStatus('current') if mibBuilder.loadTexts: mcE1CardEntry.setDescription('MC Configuration entry definition') mc_e1_txlink = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcE1Txlink.setStatus('mandatory') if mibBuilder.loadTexts: mcE1Txlink.setDescription("Center card's electrical port's link status") mc_e1_tx_cur_work_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('m100-full', 2), ('m100-half', 3), ('m10-full', 4), ('m10-half', 5), ('m1G-full', 6), ('not-support', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcE1TxCurWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcE1TxCurWorkMode.setDescription("Center card's current work mode") mc_e1_sfp1_link = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcE1SFP1Link.setStatus('mandatory') if mibBuilder.loadTexts: mcE1SFP1Link.setDescription("Center card's SFP1 port's link status") mc_e1_port1_los = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('alarm', 1), ('e1normal', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcE1Port1LOS.setStatus('current') if mibBuilder.loadTexts: mcE1Port1LOS.setDescription("card's E1 Port1 Los state") mc_e1_port1_ais = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('alarm', 1), ('e1normal', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcE1Port1AIS.setStatus('current') if mibBuilder.loadTexts: mcE1Port1AIS.setDescription("card's E1 Port1 AIS state") mc_e1_port1_cv = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('alarm', 1), ('e1normal', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcE1Port1CV.setStatus('current') if mibBuilder.loadTexts: mcE1Port1CV.setDescription("card's E1 Port1 CV state") mc_e1_port2_los = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('alarm', 1), ('e1normal', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcE1Port2LOS.setStatus('current') if mibBuilder.loadTexts: mcE1Port2LOS.setDescription("card's E1 Port2 Los state") mc_e1_port2_ais = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('alarm', 1), ('e1normal', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcE1Port2AIS.setStatus('current') if mibBuilder.loadTexts: mcE1Port2AIS.setDescription("card's E1 Port2 AIS state") mc_e1_port2_cv = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('alarm', 1), ('e1normal', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcE1Port2CV.setStatus('current') if mibBuilder.loadTexts: mcE1Port2CV.setDescription("card's E1 Port2 CV state") mc_e1_port1_loop = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('external', 1), ('internal', 2), ('disabled', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcE1Port1Loop.setStatus('current') if mibBuilder.loadTexts: mcE1Port1Loop.setDescription("card's Port1 Loopback state") mc_e1_port2_loop = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('external', 1), ('internal', 2), ('disabled', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcE1Port2Loop.setStatus('current') if mibBuilder.loadTexts: mcE1Port2Loop.setDescription("card's Port2 Loopback state") mc_rmt_e1_txlink = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmtE1Txlink.setStatus('mandatory') if mibBuilder.loadTexts: mcRmtE1Txlink.setDescription("Remote card's electrical port's link status") mc_rmt_e1_tx_cur_work_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('m100-full', 2), ('m100-half', 3), ('m10-full', 4), ('m10-half', 5), ('m1G-full', 6), ('not-support', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmtE1TxCurWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcRmtE1TxCurWorkMode.setDescription("Remote card's current work mode") mc_rmt_e1_sfp1_link = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmtE1SFP1Link.setStatus('mandatory') if mibBuilder.loadTexts: mcRmtE1SFP1Link.setDescription("Remote card's SFP1 port's link status") mc_rmt_e1_port1_los = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('alarm', 1), ('e1normal', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmtE1Port1LOS.setStatus('current') if mibBuilder.loadTexts: mcRmtE1Port1LOS.setDescription("Remote card's E1 Port1 Los state") mc_rmt_e1_port1_ais = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('alarm', 1), ('e1normal', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmtE1Port1AIS.setStatus('current') if mibBuilder.loadTexts: mcRmtE1Port1AIS.setDescription("Remote card's E1 Port1 AIS state") mc_rmt_e1_port1_cv = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('alarm', 1), ('e1normal', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmtE1Port1CV.setStatus('current') if mibBuilder.loadTexts: mcRmtE1Port1CV.setDescription("Remote card's E1 Port1 CV state") mc_rmt_e1_port2_los = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('alarm', 1), ('e1normal', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmtE1Port2LOS.setStatus('current') if mibBuilder.loadTexts: mcRmtE1Port2LOS.setDescription("Remote card's E1 Port2 Los state") mc_rmt_e1_port2_ais = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('alarm', 1), ('e1normal', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmtE1Port2AIS.setStatus('current') if mibBuilder.loadTexts: mcRmtE1Port2AIS.setDescription("Remote card's E1 Port2 AIS state") mc_rmt_e1_port2_cv = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('alarm', 1), ('e1normal', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcRmtE1Port2CV.setStatus('current') if mibBuilder.loadTexts: mcRmtE1Port2CV.setDescription("Remote card's E1 Port2 CV state") mc_rmt_e1_port1_loop = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('external', 1), ('internal', 2), ('disabled', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcRmtE1Port1Loop.setStatus('current') if mibBuilder.loadTexts: mcRmtE1Port1Loop.setDescription("Remote card's Port1 Loopback state") mc_rmt_e1_port2_loop = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 11, 1, 1, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('external', 1), ('internal', 2), ('disabled', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcRmtE1Port2Loop.setStatus('current') if mibBuilder.loadTexts: mcRmtE1Port2Loop.setDescription("Remote card's Port2 Loopback state") mc1_ge2_o_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12)) mc1_ge2_o_card_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1)) mc1_ge2_o_card_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1)) if mibBuilder.loadTexts: mc1GE2OCardTable.setStatus('current') if mibBuilder.loadTexts: mc1GE2OCardTable.setDescription('MC E2O Fiber backup Configuration table') mc1_ge2_o_card_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1)).setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx')) if mibBuilder.loadTexts: mc1GE2OCardEntry.setStatus('current') if mibBuilder.loadTexts: mc1GE2OCardEntry.setDescription('MC Configuration entry definition') mc1_ge2_o_port1_sf_plink = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GE2OPort1SFPlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GE2OPort1SFPlink.setDescription("Center card's port1 SFP's link status") mc1_ge2_o_port2_sf_plink = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GE2OPort2SFPlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GE2OPort2SFPlink.setDescription("Center card's port2 SFP's link status") mc1_ge2_o_txlink = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GE2OTxlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GE2OTxlink.setDescription("Center card's electrical port's link status") mc1_ge2_o_port_pri = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Port1', 1), ('Port2', 2), ('not-support', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mc1GE2OPortPri.setStatus('current') if mibBuilder.loadTexts: mc1GE2OPortPri.setDescription("Center card's Port Pri state") mc1_ge2_o_port1_sfp_exist = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('no-card', 0), ('inserted', 1), ('removed', 2), ('na', 3), ('support', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GE2OPort1SFPExist.setStatus('current') if mibBuilder.loadTexts: mc1GE2OPort1SFPExist.setDescription('E2O Port1 SFP indication') mc1_ge2_o_port2_sfp_exist = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('no-card', 0), ('inserted', 1), ('removed', 2), ('na', 3), ('support', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GE2OPort2SFPExist.setStatus('current') if mibBuilder.loadTexts: mc1GE2OPort2SFPExist.setDescription('E2O Port2 SFP indication') mc1_ge2_o_port_hw_pri = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Port1', 1), ('Port2', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GE2OPortHWPri.setStatus('current') if mibBuilder.loadTexts: mc1GE2OPortHWPri.setDescription("Center card's Port Hardward Pri state") mc1_ge2_o_rmt_port1_sf_plink = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GE2ORmtPort1SFPlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GE2ORmtPort1SFPlink.setDescription("Remote card's port1 SFP's link status") mc1_ge2_o_rmt_port2_sf_plink = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GE2ORmtPort2SFPlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GE2ORmtPort2SFPlink.setDescription("Remote card's port2 SFP's link status") mc1_ge2_o_rmt_txlink = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GE2ORmtTxlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GE2ORmtTxlink.setDescription("Remote card's electrical port's link status") mc1_ge2_o_rmt_port1_sfp_exist = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('no-card', 0), ('inserted', 1), ('removed', 2), ('na', 3), ('support', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GE2ORmtPort1SFPExist.setStatus('current') if mibBuilder.loadTexts: mc1GE2ORmtPort1SFPExist.setDescription('E2O Port1 SFP indication') mc1_ge2_o_rmt_port2_sfp_exist = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('no-card', 0), ('inserted', 1), ('removed', 2), ('na', 3), ('support', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GE2ORmtPort2SFPExist.setStatus('current') if mibBuilder.loadTexts: mc1GE2ORmtPort2SFPExist.setDescription('E2O Port2 SFP indication') mc1_ge2_o_rmt_port_hw_pri = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 12, 1, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Port1', 1), ('Port2', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GE2ORmtPortHWPri.setStatus('current') if mibBuilder.loadTexts: mc1GE2ORmtPortHWPri.setDescription("Remote card's Port Hardward Pri state") mc1_go2_o_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13)) mc1_go2_o_card_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1)) mc1_go2_o_card_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1)) if mibBuilder.loadTexts: mc1GO2OCardTable.setStatus('current') if mibBuilder.loadTexts: mc1GO2OCardTable.setDescription('MC O2O Fiber backup Configuration table') mc1_go2_o_card_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1)).setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx')) if mibBuilder.loadTexts: mc1GO2OCardEntry.setStatus('current') if mibBuilder.loadTexts: mc1GO2OCardEntry.setDescription('MC Configuration entry definition') mc1_go2_o_port1_sf_plink = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GO2OPort1SFPlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GO2OPort1SFPlink.setDescription("Center card's port1 SFP's link status") mc1_go2_o_port2_sf_plink = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GO2OPort2SFPlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GO2OPort2SFPlink.setDescription("Center card's port2 SFP's link status") mc1_go2_o_port3_sf_plink = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GO2OPort3SFPlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GO2OPort3SFPlink.setDescription("Center card's port3 SFP's link status") mc1_go2_o_port_pri = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Port1', 1), ('Port2', 2), ('not-support', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mc1GO2OPortPri.setStatus('current') if mibBuilder.loadTexts: mc1GO2OPortPri.setDescription("Center card's Port Pri state") mc1_go2_o_port1_sfp_exist = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('no-card', 0), ('inserted', 1), ('removed', 2), ('na', 3), ('support', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GO2OPort1SFPExist.setStatus('current') if mibBuilder.loadTexts: mc1GO2OPort1SFPExist.setDescription('O2O Port1 SFP indication') mc1_go2_o_port2_sfp_exist = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('no-card', 0), ('inserted', 1), ('removed', 2), ('na', 3), ('support', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GO2OPort2SFPExist.setStatus('current') if mibBuilder.loadTexts: mc1GO2OPort2SFPExist.setDescription('O2O Port2 SFP indication') mc1_go2_o_port3_sfp_exist = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('inserted', 1), ('removed', 2), ('na', 3), ('not-support', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GO2OPort3SFPExist.setStatus('current') if mibBuilder.loadTexts: mc1GO2OPort3SFPExist.setDescription('O2O Port3 SFP indication') mc1_go2_o_port_hw_pri = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Port1', 1), ('Port2', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GO2OPortHWPri.setStatus('current') if mibBuilder.loadTexts: mc1GO2OPortHWPri.setDescription("Local card's Port Hardward Pri state") mc1_go2_o_port3_hw_spd = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('M100', 1), ('M1000', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GO2OPort3HWSpd.setStatus('current') if mibBuilder.loadTexts: mc1GO2OPort3HWSpd.setDescription("Local card's Port3 Hardward Speed state") mc1_go2_o_rmt_port1_sf_plink = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GO2ORmtPort1SFPlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GO2ORmtPort1SFPlink.setDescription("Remote card's port1 SFP's link status") mc1_go2_o_rmt_port2_sf_plink = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GO2ORmtPort2SFPlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GO2ORmtPort2SFPlink.setDescription("Remote card's port2 SFP's link status") mc1_go2_o_rmt_port3_sf_plink = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GO2ORmtPort3SFPlink.setStatus('mandatory') if mibBuilder.loadTexts: mc1GO2ORmtPort3SFPlink.setDescription("Remote card's port3 SFP's link status") mc1_go2_o_rmt_port1_sfp_exist = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('no-card', 0), ('inserted', 1), ('removed', 2), ('na', 3), ('support', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GO2ORmtPort1SFPExist.setStatus('current') if mibBuilder.loadTexts: mc1GO2ORmtPort1SFPExist.setDescription('O2O Port1 SFP indication') mc1_go2_o_rmt_port2_sfp_exist = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('no-card', 0), ('inserted', 1), ('removed', 2), ('na', 3), ('support', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GO2ORmtPort2SFPExist.setStatus('current') if mibBuilder.loadTexts: mc1GO2ORmtPort2SFPExist.setDescription('O2O Port2 SFP indication') mc1_go2_o_rmt_port3_sfp_exist = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('inserted', 1), ('removed', 2), ('na', 3), ('not-support', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GO2ORmtPort3SFPExist.setStatus('current') if mibBuilder.loadTexts: mc1GO2ORmtPort3SFPExist.setDescription("Remote card's SFP3 indication") mc1_go2_o_rmt_port_hw_pri = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Port1', 1), ('Port2', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GO2ORmtPortHWPri.setStatus('current') if mibBuilder.loadTexts: mc1GO2ORmtPortHWPri.setDescription("Remot card's Port Hardward Pri state") mc1_go2_o_rmt_port3_hw_spd = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 1, 1, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('M100', 1), ('M1000', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc1GO2ORmtPort3HWSpd.setStatus('current') if mibBuilder.loadTexts: mc1GO2ORmtPort3HWSpd.setDescription("Remot card's Port3 Hardward Speed state") mc1_go2_osfp3_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2)) mc1_go2_o_sfp3_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1)) if mibBuilder.loadTexts: mc1GO2OSfp3Table.setStatus('current') if mibBuilder.loadTexts: mc1GO2OSfp3Table.setDescription('MC 1G SFP table') mc1_go2_o_sfp3_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1)).setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx'), (0, 'XXX-MIB', 'mcLoOrRmtFg')) if mibBuilder.loadTexts: mc1GO2OSfp3Entry.setStatus('current') if mibBuilder.loadTexts: mc1GO2OSfp3Entry.setDescription('MC 1G O2O SFP3 entry definition') mc1go2o_get_sfp_cmd = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('na', 0), ('local', 1), ('remote', 2)))).setLabel('mc1go2o-getSfpCmd').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc1go2o_getSfpCmd.setStatus('current') if mibBuilder.loadTexts: mc1go2o_getSfpCmd.setDescription('This command will get the updated sfp information. Please send this command prior to getting the following params, otherwise the history sfp information will be sent back.') mc1go2o_sfp_compliance = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 2), integer32()).setLabel('mc1go2o-sfpCompliance').setMaxAccess('readonly') if mibBuilder.loadTexts: mc1go2o_sfpCompliance.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpCompliance.setDescription('SFP compliance (one byte) if 0 then the attributs of sfpTemperature/sfpTranPower/sfpRecvPower should be ignored') mc1go2o_sfp_connector = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 3), integer32()).setLabel('mc1go2o-sfpConnector').setMaxAccess('readonly') if mibBuilder.loadTexts: mc1go2o_sfpConnector.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpConnector.setDescription('SFP connector type (one byte) 0x01: SC 0x07: LC 0x22: RJ45 others: unsupported') mc1go2o_sfp_trans_code = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 4), integer32()).setLabel('mc1go2o-sfpTransCode').setMaxAccess('readonly') if mibBuilder.loadTexts: mc1go2o_sfpTransCode.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpTransCode.setDescription('SFP transceiver code (one byte) bit0: SingleMode bit2: MultiMode bit3: MultiMode others: unsupported') mc1go2o_sfp_sm_length = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 5), integer32()).setLabel('mc1go2o-sfpSmLength').setMaxAccess('readonly') if mibBuilder.loadTexts: mc1go2o_sfpSmLength.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpSmLength.setDescription('SFP link length for SingleMode, units of km. (one byte) applicable only when sfpTransCode is SingleMode') mc1go2o_sfp_mm_length = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 6), integer32()).setLabel('mc1go2o-sfpMmLength').setMaxAccess('readonly') if mibBuilder.loadTexts: mc1go2o_sfpMmLength.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpMmLength.setDescription('SFP link length for MultiMode, units of 10m (one byte) applicable only when sfpTransCode is MultiMode') mc1go2o_sfp_copper_length = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 7), integer32()).setLabel('mc1go2o-sfpCopperLength').setMaxAccess('readonly') if mibBuilder.loadTexts: mc1go2o_sfpCopperLength.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpCopperLength.setDescription('SFP link length for Copper, units of m (one byte) applicable only when sfpConnector is RJ45') mc1go2o_sfp_br_speed = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 8), integer32()).setLabel('mc1go2o-sfpBrSpeed').setMaxAccess('readonly') if mibBuilder.loadTexts: mc1go2o_sfpBrSpeed.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpBrSpeed.setDescription('SFP nominal signalling rate, units of 100Mbit/s (one byte)') mc1go2o_sfp_wavelength = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 9), integer32()).setLabel('mc1go2o-sfpWavelength').setMaxAccess('readonly') if mibBuilder.loadTexts: mc1go2o_sfpWavelength.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpWavelength.setDescription('SFP laser wavelength (one word)') mc1go2o_sfp_temperature = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 10), integer32()).setLabel('mc1go2o-sfpTemperature').setMaxAccess('readonly') if mibBuilder.loadTexts: mc1go2o_sfpTemperature.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpTemperature.setDescription('SFP temperature (one type, signed)') mc1go2o_sfp_tran_power = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 11), integer32()).setLabel('mc1go2o-sfpTranPower').setMaxAccess('readonly') if mibBuilder.loadTexts: mc1go2o_sfpTranPower.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpTranPower.setDescription('SFP tx power (one type, signed)') mc1go2o_sfp_recv_power = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 12), integer32()).setLabel('mc1go2o-sfpRecvPower').setMaxAccess('readonly') if mibBuilder.loadTexts: mc1go2o_sfpRecvPower.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpRecvPower.setDescription('SFP rx power (one type, signed)') mc1go2o_sfp_voltage = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 13, 2, 1, 1, 13), integer32()).setLabel('mc1go2o-sfpVoltage').setMaxAccess('readonly') if mibBuilder.loadTexts: mc1go2o_sfpVoltage.setStatus('current') if mibBuilder.loadTexts: mc1go2o_sfpVoltage.setDescription('SFP voltage, units of 0.1mV (one word)') mc10_goeo1_r_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14)) mc10_goeo1_r_card_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1)) mc10_goeo1_r_card_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1, 1)) if mibBuilder.loadTexts: mc10GOEO1RCardTable.setStatus('current') if mibBuilder.loadTexts: mc10GOEO1RCardTable.setDescription('MC 10G OEO 1R Configuration table') mc10_goeo1_r_card_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1, 1, 1)).setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx')) if mibBuilder.loadTexts: mc10GOEO1RCardEntry.setStatus('current') if mibBuilder.loadTexts: mc10GOEO1RCardEntry.setDescription('MC Configuration entry definition') mc_acc_xfp1_wave_length_tunability = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Supported', 1), ('Unsupported', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcAccXFP1WaveLengthTunability.setStatus('mandatory') if mibBuilder.loadTexts: mcAccXFP1WaveLengthTunability.setDescription("XFP1's wavelength tunability") mc_acc_xfp1_wave_length_tunable = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Doing', 1), ('Completed', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcAccXFP1WaveLengthTunable.setStatus('mandatory') if mibBuilder.loadTexts: mcAccXFP1WaveLengthTunable.setDescription("XFP1's wavelength tunable status") mc_acc_xfp1_wave_length = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1, 1, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcAccXFP1WaveLength.setStatus('mandatory') if mibBuilder.loadTexts: mcAccXFP1WaveLength.setDescription("XFP1's wavelength") mc_ntw_xfp2_wave_length_tunability = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Supported', 1), ('Unsupported', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcNtwXFP2WaveLengthTunability.setStatus('mandatory') if mibBuilder.loadTexts: mcNtwXFP2WaveLengthTunability.setDescription("XFP2's wavelength tunability") mc_ntw_xfp2_wave_length_tunable = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Doing', 1), ('Completed', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcNtwXFP2WaveLengthTunable.setStatus('mandatory') if mibBuilder.loadTexts: mcNtwXFP2WaveLengthTunable.setDescription("XFP2's wavelength tunable status") mc_ntw_xfp2_wave_length = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1, 1, 1, 6), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcNtwXFP2WaveLength.setStatus('mandatory') if mibBuilder.loadTexts: mcNtwXFP2WaveLength.setDescription("XFP2's wavelength") mc_acc_xfp1_tunable_type = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('channel', 1), ('wavelength', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcAccXFP1TunableType.setStatus('mandatory') if mibBuilder.loadTexts: mcAccXFP1TunableType.setDescription("XFP1's wavelength tunable type") mc_ntw_xfp2_tunable_type = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 14, 1, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('channel', 1), ('wavelength', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcNtwXFP2TunableType.setStatus('mandatory') if mibBuilder.loadTexts: mcNtwXFP2TunableType.setDescription("XFP2's wavelength tunable type") mc10_goeo3_r_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15)) mc10_goeo3_r_card_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1)) mc10_goeo3_r_card_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1, 1)) if mibBuilder.loadTexts: mc10GOEO3RCardTable.setStatus('current') if mibBuilder.loadTexts: mc10GOEO3RCardTable.setDescription('MC 10G OEO 3R tunable wavelength Configuration table') mc10_goeo3_r_card_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1, 1, 1)).setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx')) if mibBuilder.loadTexts: mc10GOEO3RCardEntry.setStatus('current') if mibBuilder.loadTexts: mc10GOEO3RCardEntry.setDescription('MC Configuration entry definition') acc_xfp1_wave_length_tunability = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Supported', 1), ('Unsupported', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: accXFP1WaveLengthTunability.setStatus('mandatory') if mibBuilder.loadTexts: accXFP1WaveLengthTunability.setDescription("XFP1's wavelength tunability") acc_xfp1_wave_length_tunable = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Doing', 1), ('Completed', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: accXFP1WaveLengthTunable.setStatus('mandatory') if mibBuilder.loadTexts: accXFP1WaveLengthTunable.setDescription("XFP1's wavelength tunable status") acc_xfp1_wave_length = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1, 1, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: accXFP1WaveLength.setStatus('mandatory') if mibBuilder.loadTexts: accXFP1WaveLength.setDescription("XFP1's wavelength") ntw_xfp2_wave_length_tunability = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Supported', 1), ('Unsupported', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwXFP2WaveLengthTunability.setStatus('mandatory') if mibBuilder.loadTexts: ntwXFP2WaveLengthTunability.setDescription("XFP2's wavelength tunability") ntw_xfp2_wave_length_tunable = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Doing', 1), ('Completed', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwXFP2WaveLengthTunable.setStatus('mandatory') if mibBuilder.loadTexts: ntwXFP2WaveLengthTunable.setDescription("XFP2's wavelength tunable status") ntw_xfp2_wave_length = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1, 1, 1, 6), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ntwXFP2WaveLength.setStatus('mandatory') if mibBuilder.loadTexts: ntwXFP2WaveLength.setDescription("XFP2's wavelength") acc_xfp1_tunable_type = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('channel', 1), ('wavelength', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: accXFP1TunableType.setStatus('mandatory') if mibBuilder.loadTexts: accXFP1TunableType.setDescription("XFP1's wavelength tunable type") ntw_xfp2_tunable_type = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 15, 1, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('channel', 1), ('wavelength', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwXFP2TunableType.setStatus('mandatory') if mibBuilder.loadTexts: ntwXFP2TunableType.setDescription("XFP2's wavelength tunable type") mc_cwdm_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16)) mc_cwdm_card_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1)) mc_cwdm_card_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1)) if mibBuilder.loadTexts: mcCWDMCardTable.setStatus('current') if mibBuilder.loadTexts: mcCWDMCardTable.setDescription('MC CWDM table') mc_cwdm_card_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1, 1)).setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx')) if mibBuilder.loadTexts: mcCWDMCardEntry.setStatus('current') if mibBuilder.loadTexts: mcCWDMCardEntry.setDescription('MC Configuration entry definition') cwdm_wavelength_count = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cwdmWavelengthCount.setStatus('mandatory') if mibBuilder.loadTexts: cwdmWavelengthCount.setDescription('wavelength count') cwdm_wavelength1 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cwdmWavelength1.setStatus('mandatory') if mibBuilder.loadTexts: cwdmWavelength1.setDescription('CWDM Card wavelenth 1') cwdm_wavelength2 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1, 1, 3), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cwdmWavelength2.setStatus('mandatory') if mibBuilder.loadTexts: cwdmWavelength2.setDescription('CWDM Card wavelenth 2') cwdm_wavelength3 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1, 1, 4), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cwdmWavelength3.setStatus('mandatory') if mibBuilder.loadTexts: cwdmWavelength3.setDescription('CWDM Card wavelenth 3') cwdm_wavelength4 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1, 1, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cwdmWavelength4.setStatus('mandatory') if mibBuilder.loadTexts: cwdmWavelength4.setDescription('CWDM Card wavelenth 4') cwdm_wavelength5 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1, 1, 6), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cwdmWavelength5.setStatus('mandatory') if mibBuilder.loadTexts: cwdmWavelength5.setDescription('CWDM Card wavelenth 5') cwdm_wavelength6 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1, 1, 7), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cwdmWavelength6.setStatus('mandatory') if mibBuilder.loadTexts: cwdmWavelength6.setDescription('CWDM Card wavelenth 6') cwdm_wavelength7 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1, 1, 8), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cwdmWavelength7.setStatus('mandatory') if mibBuilder.loadTexts: cwdmWavelength7.setDescription('CWDM Card wavelenth 7') cwdm_wavelength8 = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 16, 1, 1, 1, 9), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cwdmWavelength8.setStatus('mandatory') if mibBuilder.loadTexts: cwdmWavelength8.setDescription('CWDM Card wavelenth 8') mc10_g_oeo2_r_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17)).setLabel('mc10G-OEO2RObjects') mc10_g_oeo2_r_card_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1)).setLabel('mc10G-OEO2RCardObjects') mc10_g_oeo2_r_card_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1)).setLabel('mc10G-OEO2RCardTable') if mibBuilder.loadTexts: mc10G_OEO2RCardTable.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2RCardTable.setDescription('MC 10G OEO 2R Configuration table') mc10_g_oeo2_r_card_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1)).setLabel('mc10G-OEO2RCardEntry').setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx')) if mibBuilder.loadTexts: mc10G_OEO2RCardEntry.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2RCardEntry.setDescription('MC Configuration entry definition') mc10_g_oeo2_r_cur_spd_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('Speed85', 1), ('Speed103to117', 2), ('Speed995to113', 3), ('not-support', 4)))).setLabel('mc10G-OEO2RCurSpdMode').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEO2RCurSpdMode.setStatus('mandatory') if mibBuilder.loadTexts: mc10G_OEO2RCurSpdMode.setDescription("Center card's current speed mode 1: 8.5G 2: 10.3G-11.7G 3: 9.95G-11.3G ") mc10_g_oeo2_r_cfg_spd_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('Speed85', 1), ('Speed103to117', 2), ('Speed995to113', 3), ('not-support', 4)))).setLabel('mc10G-OEO2RCfgSpdMode').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc10G_OEO2RCfgSpdMode.setStatus('mandatory') if mibBuilder.loadTexts: mc10G_OEO2RCfgSpdMode.setDescription("Center card's current speed mode 1: 8.5G 2: 10.3G-11.7G 3: 9.95G-11.3G ") mc10_g_oeo2_rsfp1_loopback = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('not-support', 3)))).setLabel('mc10G-OEO2RSFP1Loopback').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc10G_OEO2RSFP1Loopback.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2RSFP1Loopback.setDescription("card's SFP1 Loopback state") mc10_g_oeo2_rsfp2_loopback = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('not-support', 3)))).setLabel('mc10G-OEO2RSFP2Loopback').setMaxAccess('readwrite') if mibBuilder.loadTexts: mc10G_OEO2RSFP2Loopback.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2RSFP2Loopback.setDescription("card's SFP2 Loopback state") mc10_g_oeo2_rsfp1 = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setLabel('mc10G-OEO2RSFP1').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEO2RSFP1.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2RSFP1.setDescription("Center card's SFP1 link status") mc10_g_oeo2_rsfp2 = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setLabel('mc10G-OEO2RSFP2').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEO2RSFP2.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2RSFP2.setDescription("Center card's SFP2 link status") mc10_g_oeo2_rhw_spd_mode = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('Speed85', 1), ('Speed103to117', 2), ('Speed995to113', 3), ('not-support', 4)))).setLabel('mc10G-OEO2RHWSpdMode').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEO2RHWSpdMode.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2RHWSpdMode.setDescription("Center card's current speed mode 1: 8.5G 2: 10.3G-11.7G 3: 9.95G-11.3G ") mc10_g_oeo2_rhwsfp1_loopback = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('not-support', 3)))).setLabel('mc10G-OEO2RHWSFP1Loopback').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEO2RHWSFP1Loopback.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2RHWSFP1Loopback.setDescription("card's HW Loopback state") mc10_g_oeo2_rhwsfp2_loopback = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('not-support', 3)))).setLabel('mc10G-OEO2RHWSFP2Loopback').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEO2RHWSFP2Loopback.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2RHWSFP2Loopback.setDescription("card's HW Loopback state") mc10_g_oeo2_r_version = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 10), display_string()).setLabel('mc10G-OEO2RVersion').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEO2RVersion.setStatus('mandatory') if mibBuilder.loadTexts: mc10G_OEO2RVersion.setDescription('MC version') mc10_gxfp1_wave_length_tunability = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Supported', 1), ('Unsupported', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc10GXFP1WaveLengthTunability.setStatus('mandatory') if mibBuilder.loadTexts: mc10GXFP1WaveLengthTunability.setDescription("XFP1's wavelength tunability") mc10_gxfp1_wave_length_tunable = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Doing', 1), ('Completed', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc10GXFP1WaveLengthTunable.setStatus('mandatory') if mibBuilder.loadTexts: mc10GXFP1WaveLengthTunable.setDescription("XFP1's wavelength tunable status") mc10_gxfp1_wave_length = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 13), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mc10GXFP1WaveLength.setStatus('mandatory') if mibBuilder.loadTexts: mc10GXFP1WaveLength.setDescription("XFP1's wavelength") mc10_gxfp2_wave_length_tunability = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Supported', 1), ('Unsupported', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc10GXFP2WaveLengthTunability.setStatus('mandatory') if mibBuilder.loadTexts: mc10GXFP2WaveLengthTunability.setDescription("XFP2's wavelength tunability") mc10_gxfp2_wave_length_tunable = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Doing', 1), ('Completed', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mc10GXFP2WaveLengthTunable.setStatus('mandatory') if mibBuilder.loadTexts: mc10GXFP2WaveLengthTunable.setDescription("XFP2's wavelength tunable status") mc10_gxfp2_wave_length = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 16), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: mc10GXFP2WaveLength.setStatus('mandatory') if mibBuilder.loadTexts: mc10GXFP2WaveLength.setDescription("XFP2's wavelength") mc10_g_oeo2_r_acc_type = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('XFP', 1), ('SFP', 2), ('unknow', 3)))).setLabel('mc10G-OEO2R-accType').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEO2R_accType.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2R_accType.setDescription('') mc10_g_oeo2_r_ntw_type = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('XFP', 1), ('SFP', 2), ('unknow', 3)))).setLabel('mc10G-OEO2R-ntwType').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEO2R_ntwType.setStatus('current') if mibBuilder.loadTexts: mc10G_OEO2R_ntwType.setDescription('') mc10_g_oeo2_r_acc_tunable_type = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('channel', 1), ('wavelength', 2), ('not-support', 3)))).setLabel('mc10G-OEO2R-accTunableType').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEO2R_accTunableType.setStatus('mandatory') if mibBuilder.loadTexts: mc10G_OEO2R_accTunableType.setDescription("XFP1's wavelength tunable type") mc10_g_oeo2_r_ntw_tunable_type = mib_scalar((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 17, 1, 1, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('channel', 1), ('wavelength', 2), ('not-support', 3)))).setLabel('mc10G-OEO2R-ntwTunableType').setMaxAccess('readonly') if mibBuilder.loadTexts: mc10G_OEO2R_ntwTunableType.setStatus('mandatory') if mibBuilder.loadTexts: mc10G_OEO2R_ntwTunableType.setDescription("XFP2's wavelength tunable type") mc_qca8334_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18)) mc_qca8334_card_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 1)) mc_qca8334_card_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 1, 1)) if mibBuilder.loadTexts: mcQCA8334CardTable.setStatus('current') if mibBuilder.loadTexts: mcQCA8334CardTable.setDescription('MC QCA8334 Configuration table') mc_qca8334_card_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 1, 1, 1)).setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx')) if mibBuilder.loadTexts: mcQCA8334CardEntry.setStatus('current') if mibBuilder.loadTexts: mcQCA8334CardEntry.setDescription('MC Configuration entry definition') mc_qca8334_vlan_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('Normal', 1), ('mode1', 2), ('mode2', 3), ('not-support', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcQCA8334VlanMode.setStatus('current') if mibBuilder.loadTexts: mcQCA8334VlanMode.setDescription("Center card's vlan mode") mc_qca8334_port_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2)) mc_qca8334_port_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1)) if mibBuilder.loadTexts: mcQCA8334PortTable.setStatus('current') if mibBuilder.loadTexts: mcQCA8334PortTable.setDescription('MC QCA8334 Configuration table') mc_qca8334_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1, 1)).setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx'), (0, 'XXX-MIB', 'mcQCA8334PortIdx')) if mibBuilder.loadTexts: mcQCA8334PortEntry.setStatus('current') if mibBuilder.loadTexts: mcQCA8334PortEntry.setDescription('MC Configuration entry definition') mc_qca8334_port_idx = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('port1', 1), ('port2', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcQCA8334PortIdx.setStatus('current') if mibBuilder.loadTexts: mcQCA8334PortIdx.setDescription('Port index') mc_qca8334_cur_work_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('m100-full', 2), ('m100-half', 3), ('m10-full', 4), ('m10-half', 5), ('m1G-full', 6), ('not-support', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcQCA8334CurWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcQCA8334CurWorkMode.setDescription("Center card's port current work mode") mc_qca8334_cfg_work_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('mAuto', 1), ('m100-full', 2), ('m100-half', 3), ('m10-full', 4), ('m10-half', 5), ('m1G-full', 6), ('not-support', 7)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcQCA8334CfgWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcQCA8334CfgWorkMode.setDescription("Center card's port configurable work mode") mc_qca8334_up_stream = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1, 1, 4), gauge32().subtype(subtypeSpec=value_range_constraint(32, 1000000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcQCA8334UpStream.setStatus('current') if mibBuilder.loadTexts: mcQCA8334UpStream.setDescription("Center card's port up stream of MC") mc_qca8334_down_stream = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1, 1, 5), gauge32().subtype(subtypeSpec=value_range_constraint(32, 1000000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcQCA8334DownStream.setStatus('current') if mibBuilder.loadTexts: mcQCA8334DownStream.setDescription("Center card's port down stream of MC") mc_qca8334_txlink = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcQCA8334Txlink.setStatus('current') if mibBuilder.loadTexts: mcQCA8334Txlink.setDescription("Center card's port 1 electrical port's link status") mc_qca8334_rmt_cur_work_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('no-card', 0), ('m100-full', 2), ('m100-half', 3), ('m10-full', 4), ('m10-half', 5), ('m1G-full', 6), ('not-support', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcQCA8334RmtCurWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcQCA8334RmtCurWorkMode.setDescription("Remote card's port 1 current work mode") mc_qca8334_rmt_cfg_work_mode = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('no-card', 0), ('mAuto', 1), ('m100-full', 2), ('m100-half', 3), ('m10-full', 4), ('m10-half', 5), ('m1G-full', 6), ('not-support', 7)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcQCA8334RmtCfgWorkMode.setStatus('mandatory') if mibBuilder.loadTexts: mcQCA8334RmtCfgWorkMode.setDescription("Remote card's port1 configurable work mode") mc_qca8334_rmt_txlink = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 18, 2, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('no-card', 0), ('up', 1), ('down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcQCA8334RmtTxlink.setStatus('current') if mibBuilder.loadTexts: mcQCA8334RmtTxlink.setDescription("Remote card's port electrial port status") mc_e1_t1_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19)) mc_e1_t1_card_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1)) mc_e1_t1_card_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1)) if mibBuilder.loadTexts: mcE1T1CardTable.setStatus('current') if mibBuilder.loadTexts: mcE1T1CardTable.setDescription('MC E1T1 Configuration table') mc_e1_t1_card_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1)).setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx')) if mibBuilder.loadTexts: mcE1T1CardEntry.setStatus('current') if mibBuilder.loadTexts: mcE1T1CardEntry.setDescription('MC Configuration entry definition') mc_e1_t1_type = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('E1', 1), ('T1', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcE1T1Type.setStatus('mandatory') if mibBuilder.loadTexts: mcE1T1Type.setDescription("Center card's current type") mc_e1_t1_f_link = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Up', 1), ('Down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcE1T1FLink.setStatus('mandatory') if mibBuilder.loadTexts: mcE1T1FLink.setDescription("Center card's current link") mc_e1_t1_f_loss_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Alarm', 1), ('Normal', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcE1T1FLossAlarm.setStatus('current') if mibBuilder.loadTexts: mcE1T1FLossAlarm.setDescription('') mc_e1_t1_t_loss_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Alarm', 1), ('Normal', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcE1T1TLossAlarm.setStatus('current') if mibBuilder.loadTexts: mcE1T1TLossAlarm.setDescription('') mc_e1_t1_ais_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Alarm', 1), ('Normal', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcE1T1AISAlarm.setStatus('current') if mibBuilder.loadTexts: mcE1T1AISAlarm.setDescription('') mc_e1_t1_t_loop = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('not-support', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcE1T1TLoop.setStatus('current') if mibBuilder.loadTexts: mcE1T1TLoop.setDescription('Tx Loopback state') mc_e1_t1_f_loop = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('not-support', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcE1T1FLoop.setStatus('current') if mibBuilder.loadTexts: mcE1T1FLoop.setDescription('Fx Loopback state') mc_e1_t1_code_type = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('E1-HDB3-Or-T1-B8ZS', 1), ('AMI', 2), ('not-support', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcE1T1CodeType.setStatus('current') if mibBuilder.loadTexts: mcE1T1CodeType.setDescription('coding type') mc_e1_t1_version = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 9), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: mcE1T1Version.setStatus('mandatory') if mibBuilder.loadTexts: mcE1T1Version.setDescription('MC version') mc_e1_t1_rmt_f_link = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Up', 1), ('Down', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcE1T1RmtFLink.setStatus('mandatory') if mibBuilder.loadTexts: mcE1T1RmtFLink.setDescription("Center card's current link") mc_e1_t1_rmt_f_loss_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Alarm', 1), ('Normal', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcE1T1RmtFLossAlarm.setStatus('current') if mibBuilder.loadTexts: mcE1T1RmtFLossAlarm.setDescription('') mc_e1_t1_rmt_t_loss_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Alarm', 1), ('Normal', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcE1T1RmtTLossAlarm.setStatus('current') if mibBuilder.loadTexts: mcE1T1RmtTLossAlarm.setDescription('') mc_e1_t1_rmt_ais_alarm = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Alarm', 1), ('Normal', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: mcE1T1RmtAISAlarm.setStatus('current') if mibBuilder.loadTexts: mcE1T1RmtAISAlarm.setDescription('') mc_e1_t1_rmt_t_loop = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('not-support', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcE1T1RmtTLoop.setStatus('current') if mibBuilder.loadTexts: mcE1T1RmtTLoop.setDescription('Tx Loopback state') mc_e1_t1_rmt_f_loop = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enable', 1), ('disable', 2), ('not-support', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcE1T1RmtFLoop.setStatus('current') if mibBuilder.loadTexts: mcE1T1RmtFLoop.setDescription('Fx Loopback state') mc_e1_t1_rmt_code_type = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 19, 1, 1, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('E1-HDB3-Or-T1-B8ZS', 1), ('AMI', 2), ('not-support', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcE1T1RmtCodeType.setStatus('current') if mibBuilder.loadTexts: mcE1T1RmtCodeType.setDescription('coding type') mc10_goeexfp_tunable_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 20)) mc10_goeexfp_tunable_card_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 20, 1)) mc10_goeexfp_tunable_card_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 20, 1, 1)) if mibBuilder.loadTexts: mc10GOEEXFPTunableCardTable.setStatus('current') if mibBuilder.loadTexts: mc10GOEEXFPTunableCardTable.setDescription('MC 10G OEE tunable wavelength Configuration table') mc10_goeexfp_tunable_card_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 20, 1, 1, 1)).setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx')) if mibBuilder.loadTexts: mc10GOEEXFPTunableCardEntry.setStatus('current') if mibBuilder.loadTexts: mc10GOEEXFPTunableCardEntry.setDescription('MC Configuration entry definition') xfp_wave_length_tunability = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 20, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Supported', 1), ('Unsupported', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: xfpWaveLengthTunability.setStatus('mandatory') if mibBuilder.loadTexts: xfpWaveLengthTunability.setDescription("XFP's wavelength tunability") xfp_wave_length_tunable = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 20, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('Doing', 1), ('Completed', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: xfpWaveLengthTunable.setStatus('mandatory') if mibBuilder.loadTexts: xfpWaveLengthTunable.setDescription("XFP's wavelength tunable status") xfp_wave_length = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 20, 1, 1, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: xfpWaveLength.setStatus('mandatory') if mibBuilder.loadTexts: xfpWaveLength.setDescription("XFP's wavelength") xfp_tunable_type = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 2, 20, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('channel', 1), ('wavelength', 2), ('not-support', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: xfpTunableType.setStatus('mandatory') if mibBuilder.loadTexts: xfpTunableType.setDescription("XFP's wavelength tunable type") mc_pm_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 3)) mc_pm_table = mib_table((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 3, 1)) if mibBuilder.loadTexts: mcPmTable.setStatus('current') if mibBuilder.loadTexts: mcPmTable.setDescription('MC Performance table') mc_pm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 3, 1, 1)).setIndexNames((0, 'XXX-MIB', 'mcShelfIdx'), (0, 'XXX-MIB', 'mcCardIdx')) if mibBuilder.loadTexts: mcPmEntry.setStatus('current') if mibBuilder.loadTexts: mcPmEntry.setDescription('MC Performance entry definition') mc_rx_byte_hi = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 3, 1, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mcRxByteHi.setStatus('current') if mibBuilder.loadTexts: mcRxByteHi.setDescription('The total number of reveive bytes (high)') mc_rx_byte_lo = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 3, 1, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mcRxByteLo.setStatus('current') if mibBuilder.loadTexts: mcRxByteLo.setDescription('The total number of reveive bytes (low)') mc_tx_byte_hi = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 3, 1, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mcTxByteHi.setStatus('current') if mibBuilder.loadTexts: mcTxByteHi.setDescription('The total number of transmit bytes (high)') mc_tx_byte_lo = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 3, 1, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: mcTxByteLo.setStatus('current') if mibBuilder.loadTexts: mcTxByteLo.setDescription('The total number of transmit bytes (low)') mc_pm_rest = mib_table_column((1, 3, 6, 1, 4, 1, 6688, 1, 1, 1, 4, 3, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('idle', 1), ('reset', 2), ('not-support', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: mcPmRest.setStatus('current') if mibBuilder.loadTexts: mcPmRest.setDescription('reset counter') shelf__detected = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 1)).setLabel('shelf-Detected').setObjects(('XXX-MIB', 'shelfIdx')) if mibBuilder.loadTexts: shelf_Detected.setStatus('current') if mibBuilder.loadTexts: shelf_Detected.setDescription('A slave shelf is detected (1~19)') shelf__lost = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 2)).setLabel('shelf-Lost').setObjects(('XXX-MIB', 'shelfIdx')) if mibBuilder.loadTexts: shelf_Lost.setStatus('current') if mibBuilder.loadTexts: shelf_Lost.setDescription('A shelf is lost') shelf_psu_a__on = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 3)).setLabel('shelf-psuA-On').setObjects(('XXX-MIB', 'shelfIdx')) if mibBuilder.loadTexts: shelf_psuA_On.setStatus('current') if mibBuilder.loadTexts: shelf_psuA_On.setDescription('PSU A is detected') shelf_psu_a__off = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 4)).setLabel('shelf-psuA-Off').setObjects(('XXX-MIB', 'shelfIdx')) if mibBuilder.loadTexts: shelf_psuA_Off.setStatus('current') if mibBuilder.loadTexts: shelf_psuA_Off.setDescription('PSU A is lost') shelf_psu_b__on = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 5)).setLabel('shelf-psuB-On').setObjects(('XXX-MIB', 'shelfIdx')) if mibBuilder.loadTexts: shelf_psuB_On.setStatus('current') if mibBuilder.loadTexts: shelf_psuB_On.setDescription('PSU B is detected') shelf_psu_b__off = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 6)).setLabel('shelf-psuB-Off').setObjects(('XXX-MIB', 'shelfIdx')) if mibBuilder.loadTexts: shelf_psuB_Off.setStatus('current') if mibBuilder.loadTexts: shelf_psuB_Off.setDescription('PSU B is lost') shelf_fan__on = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 7)).setLabel('shelf-fan-On').setObjects(('XXX-MIB', 'shelfIdx')) if mibBuilder.loadTexts: shelf_fan_On.setStatus('current') if mibBuilder.loadTexts: shelf_fan_On.setDescription('Fan A is detected') shelf_fan__off = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 8)).setLabel('shelf-fan-Off').setObjects(('XXX-MIB', 'shelfIdx')) if mibBuilder.loadTexts: shelf_fan_Off.setStatus('current') if mibBuilder.loadTexts: shelf_fan_Off.setDescription('Fan A is lost') card__detected = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 20)).setLabel('card-Detected').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_Detected.setStatus('current') if mibBuilder.loadTexts: card_Detected.setDescription('A card is detected (20~29)') card__lost = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 21)).setLabel('card-Lost').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_Lost.setStatus('current') if mibBuilder.loadTexts: card_Lost.setDescription('A card is lost') card_mc__co__tx__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 30)).setLabel('card-MC-Co-Tx-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_Tx_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Tx_Up.setDescription('The tx link of mc in center side is up (above 30)') card_mc__co__tx__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 31)).setLabel('card-MC-Co-Tx-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_Tx_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Tx_Down.setDescription('The tx link of mc in center side is broken') card_mc__co__fx__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 32)).setLabel('card-MC-Co-Fx-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_Fx_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Fx_Up.setDescription('The fx link of mc in center side is up') card_mc__co__fx__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 33)).setLabel('card-MC-Co-Fx-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_Fx_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Fx_Down.setDescription('The fx link of mc in center side is broken') card_mc__rmt__tx__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 34)).setLabel('card-MC-Rmt-Tx-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_Tx_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_Tx_Up.setDescription('The tx link of mc in customer side is up') card_mc__rmt__tx__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 35)).setLabel('card-MC-Rmt-Tx-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_Tx_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_Tx_Down.setDescription('The tx link of mc in customer side is broken') card_mc__rmt__pwr_down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 36)).setLabel('card-MC-Rmt-PwrDown').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_PwrDown.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_PwrDown.setDescription('Remote mc power down detected') card_mc__co__ntw_sfp__inserted = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 37)).setLabel('card-MC-Co-Ntw-SFP-Inserted').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_Ntw_SFP_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Ntw_SFP_Inserted.setDescription('Local network port SFP inserted') card_mc__co__ntw_sfp__removed = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 38)).setLabel('card-MC-Co-Ntw-SFP-Removed').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_Ntw_SFP_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Ntw_SFP_Removed.setDescription('Local network port SFP removed') card_mc__co__acc_sfp__inserted = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 39)).setLabel('card-MC-Co-Acc-SFP-Inserted').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_Acc_SFP_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Acc_SFP_Inserted.setDescription('Local access port SFP inserted') card_mc__co__acc_sfp__removed = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 40)).setLabel('card-MC-Co-Acc-SFP-Removed').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_Acc_SFP_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Acc_SFP_Removed.setDescription('Local access port SFP removed') card_mc__rmt__acc_sfp__inserted = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 41)).setLabel('card-MC-Rmt-Acc-SFP-Inserted').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_Acc_SFP_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_Acc_SFP_Inserted.setDescription('Remote access port SFP inserted') card_mc__rmt__acc_sfp__removed = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 42)).setLabel('card-MC-Rmt-Acc-SFP-Removed').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_Acc_SFP_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_Acc_SFP_Removed.setDescription('Remote access port SFP removed') card_mc__co__tx__up1 = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 43)).setLabel('card-MC-Co-Tx-Up1').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_Tx_Up1.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Tx_Up1.setDescription('The tx1 link of mc in center side is up') card_mc__co__tx__down1 = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 44)).setLabel('card-MC-Co-Tx-Down1').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_Tx_Down1.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Tx_Down1.setDescription('The tx1 link of mc in center side is broken') card_mc__co__tx__up2 = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 45)).setLabel('card-MC-Co-Tx-Up2').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_Tx_Up2.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Tx_Up2.setDescription('The tx2 link of mc in center side is up') card_mc__co__tx__down2 = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 46)).setLabel('card-MC-Co-Tx-Down2').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_Tx_Down2.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Tx_Down2.setDescription('The tx2 link of mc in center side is broken') card_mc__rmt__tx__up1 = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 47)).setLabel('card-MC-Rmt-Tx-Up1').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_Tx_Up1.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_Tx_Up1.setDescription('The tx1 link of mc in customer side is up') card_mc__rmt__tx__down1 = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 48)).setLabel('card-MC-Rmt-Tx-Down1').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_Tx_Down1.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_Tx_Down1.setDescription('The tx1 link of mc in customer side is broken') card_mc__rmt__tx__up2 = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 49)).setLabel('card-MC-Rmt-Tx-Up2').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_Tx_Up2.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_Tx_Up2.setDescription('The tx2 link of mc in customer side is up') card_mc__rmt__tx__down2 = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 50)).setLabel('card-MC-Rmt-Tx-Down2').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_Tx_Down2.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_Tx_Down2.setDescription('The tx2 link of mc in customer side is broken') card_mc__co_sfp1__inserted = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 51)).setLabel('card-MC-Co-SFP1-Inserted').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_SFP1_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP1_Inserted.setDescription('Local SFP1 inserted') card_mc__co_sfp1__removed = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 52)).setLabel('card-MC-Co-SFP1-Removed').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_SFP1_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP1_Removed.setDescription('Local SFP1 removed') card_mc__co_sfp2__inserted = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 53)).setLabel('card-MC-Co-SFP2-Inserted').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_SFP2_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP2_Inserted.setDescription('Local SFP2 inserted') card_mc__co_sfp2__removed = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 54)).setLabel('card-MC-Co-SFP2-Removed').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_SFP2_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP2_Removed.setDescription('Local SFP2 removed') card_mc__co_sfp1__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 55)).setLabel('card-MC-Co-SFP1-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_SFP1_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP1_Up.setDescription('The SFP1 link of mc in center side is up') card_mc__co_sfp1__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 56)).setLabel('card-MC-Co-SFP1-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_SFP1_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP1_Down.setDescription('The SFP1 link of mc in center side is broken') card_mc__co_sfp2__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 57)).setLabel('card-MC-Co-SFP2-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_SFP2_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP2_Up.setDescription('The SFP2 link of mc in center side is up') card_mc__co_sfp2__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 58)).setLabel('card-MC-Co-SFP2-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_SFP2_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP2_Down.setDescription('The SFP2 link of mc in center side is broken') card_mc__rmt_sfp1__inserted = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 59)).setLabel('card-MC-Rmt-SFP1-Inserted').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_SFP1_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP1_Inserted.setDescription('Remote SFP1 inserted') card_mc__rmt_sfp1__removed = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 60)).setLabel('card-MC-Rmt-SFP1-Removed').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_SFP1_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP1_Removed.setDescription('Remote SFP1 removed') card_mc__rmt_sfp1__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 61)).setLabel('card-MC-Rmt-SFP1-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_SFP1_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP1_Up.setDescription('The SFP1 link of mc in customer side is up') card_mc__rmt_sfp1__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 62)).setLabel('card-MC-Rmt-SFP1-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_SFP1_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP1_Down.setDescription('The SFP1 link of mc in customer side is broken') card_mc__co_sfpsfp1__inserted = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 63)).setLabel('card-MC-Co-SFPSFP1-Inserted').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_SFPSFP1_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFPSFP1_Inserted.setDescription('Local SFP+1 inserted') card_mc__co_sfpsfp1__removed = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 64)).setLabel('card-MC-Co-SFPSFP1-Removed').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_SFPSFP1_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFPSFP1_Removed.setDescription('Local SFP+1 removed') card_mc__co_sfpsfp2__inserted = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 65)).setLabel('card-MC-Co-SFPSFP2-Inserted').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_SFPSFP2_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFPSFP2_Inserted.setDescription('Local SFPSFP2 inserted') card_mc__co_sfpsfp2__removed = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 66)).setLabel('card-MC-Co-SFPSFP2-Removed').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_SFPSFP2_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFPSFP2_Removed.setDescription('Local SFP+2 removed') card_mc__rmt_sfpsfp1__inserted = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 67)).setLabel('card-MC-Rmt-SFPSFP1-Inserted').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_SFPSFP1_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFPSFP1_Inserted.setDescription('Remote SFP+1 inserted') card_mc__rmt_sfpsfp1__removed = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 68)).setLabel('card-MC-Rmt-SFPSFP1-Removed').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_SFPSFP1_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFPSFP1_Removed.setDescription('Remote SFP+1 removed') card_mc__co_xfp1__inserted = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 69)).setLabel('card-MC-Co-XFP1-Inserted').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_XFP1_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_XFP1_Inserted.setDescription('Local XFP+1 inserted') card_mc__co_xfp1__removed = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 70)).setLabel('card-MC-Co-XFP1-Removed').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_XFP1_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_XFP1_Removed.setDescription('Local XFP+1 removed') card_mc__co_xfp2__inserted = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 71)).setLabel('card-MC-Co-XFP2-Inserted').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_XFP2_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_XFP2_Inserted.setDescription('Local XFP2 inserted') card_mc__co_xfp2__removed = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 72)).setLabel('card-MC-Co-XFP2-Removed').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_XFP2_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_XFP2_Removed.setDescription('Local XFP+2 removed') card_mc__rmt_xfp1__inserted = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 73)).setLabel('card-MC-Rmt-XFP1-Inserted').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_XFP1_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_XFP1_Inserted.setDescription('Remote XFP+1 inserted') card_mc__rmt_xfp1__removed = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 74)).setLabel('card-MC-Rmt-XFP1-Removed').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_XFP1_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_XFP1_Removed.setDescription('Remote XFP+1 removed') card_mc__co_sfpsfp1__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 75)).setLabel('card-MC-Co-SFPSFP1-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_SFPSFP1_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFPSFP1_Up.setDescription('The SFP+1 link of mc in center side is up') card_mc__co_sfpsfp1__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 76)).setLabel('card-MC-Co-SFPSFP1-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_SFPSFP1_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFPSFP1_Down.setDescription('The SFP+1 link of mc in center side is broken') card_mc__co_sfpsfp2__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 77)).setLabel('card-MC-Co-SFPSFP2-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_SFPSFP2_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFPSFP2_Up.setDescription('The SFP+2 link of mc in center side is up') card_mc__co_sfpsfp2__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 78)).setLabel('card-MC-Co-SFPSFP2-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_SFPSFP2_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFPSFP2_Down.setDescription('The SFP+2 link of mc in center side is broken') card_mc__rmt_sfpsfp1__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 79)).setLabel('card-MC-Rmt-SFPSFP1-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_SFPSFP1_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFPSFP1_Up.setDescription('The SFPSFP1 link of mc in customer side is up') card_mc__rmt_sfpsfp1__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 80)).setLabel('card-MC-Rmt-SFPSFP1-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_SFPSFP1_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFPSFP1_Down.setDescription('The SFP+1 link of mc in customer side is broken') card_mc__co_xfp1__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 81)).setLabel('card-MC-Co-XFP1-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_XFP1_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_XFP1_Up.setDescription('The XFP1 link of mc in center side is up') card_mc__co_xfp1__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 82)).setLabel('card-MC-Co-XFP1-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_XFP1_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_XFP1_Down.setDescription('The XFP1 link of mc in center side is broken') card_mc__co_xfp2__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 83)).setLabel('card-MC-Co-XFP2-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_XFP2_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_XFP2_Up.setDescription('The XFP2 link of mc in center side is up') card_mc__co_xfp2__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 84)).setLabel('card-MC-Co-XFP2-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_XFP2_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_XFP2_Down.setDescription('The XFP2 link of mc in center side is broken') card_mc__rmt_xfp1__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 85)).setLabel('card-MC-Rmt-XFP1-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_XFP1_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_XFP1_Up.setDescription('The XFP1 link of mc in customer side is up') card_mc__rmt_xfp1__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 86)).setLabel('card-MC-Rmt-XFP1-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_XFP1_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_XFP1_Down.setDescription('The XFP link of mc in customer side is broken') card_mc__co_sfp3__inserted = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 87)).setLabel('card-MC-Co-SFP3-Inserted').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_SFP3_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP3_Inserted.setDescription('Local SFP3 inserted') card_mc__co_sfp3__removed = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 88)).setLabel('card-MC-Co-SFP3-Removed').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_SFP3_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP3_Removed.setDescription('Local SFP3 removed') card_mc__co__port1__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 89)).setLabel('card-MC-Co-Port1-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_Port1_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Port1_Up.setDescription('The Port1 link of mc in center side is up') card_mc__co__port1__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 90)).setLabel('card-MC-Co-Port1-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_Port1_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Port1_Down.setDescription('The Port1 link of mc in center side is broken') card_mc__co__port2__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 91)).setLabel('card-MC-Co-Port2-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_Port2_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Port2_Up.setDescription('The Port2 link of mc in center side is up') card_mc__co__port2__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 92)).setLabel('card-MC-Co-Port2-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_Port2_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Port2_Down.setDescription('The Port2 link of mc in center side is broken') card_mc__co__port3__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 93)).setLabel('card-MC-Co-Port3-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_Port3_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Port3_Up.setDescription('The Port3 link of mc in center side is up') card_mc__co__port3__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 94)).setLabel('card-MC-Co-Port3-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_Port3_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_Port3_Down.setDescription('The Port3 link of mc in center side is broken') card_mc_fan__normal = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 100)).setLabel('card-MC-FAN-Normal').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_FAN_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_FAN_Normal.setDescription('Fan card work normally') card_mc_fan__abnormal = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 101)).setLabel('card-MC-FAN-Abnormal').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_FAN_Abnormal.setStatus('current') if mibBuilder.loadTexts: card_MC_FAN_Abnormal.setDescription('Fan card work abnormally') card_mc__co_qsfp1__inserted = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 102)).setLabel('card-MC-Co-QSFP1-Inserted').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_QSFP1_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP1_Inserted.setDescription('Local QSFP1 inserted') card_mc__co_qsfp1__removed = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 103)).setLabel('card-MC-Co-QSFP1-Removed').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_QSFP1_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP1_Removed.setDescription('Local QSFP1 removed') card_mc__co_qsfp2__inserted = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 104)).setLabel('card-MC-Co-QSFP2-Inserted').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_QSFP2_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP2_Inserted.setDescription('Local QSFP2 inserted') card_mc__co_qsfp2__removed = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 105)).setLabel('card-MC-Co-QSFP2-Removed').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_QSFP2_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP2_Removed.setDescription('Local QSFP2 removed') card_mc__co_qsfp1__lane1__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 106)).setLabel('card-MC-Co-QSFP1-Lane1-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane1_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane1_Up.setDescription('The QSFP1 Lane1 link of mc in center side is up') card_mc__co_qsfp1__lane1__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 107)).setLabel('card-MC-Co-QSFP1-Lane1-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane1_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane1_Down.setDescription('The QSFP1 lane1 link of mc in center side is broken') card_mc__co_qsfp1__lane2__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 108)).setLabel('card-MC-Co-QSFP1-Lane2-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane2_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane2_Up.setDescription('The QSFP1 Lane2 link of mc in center side is up') card_mc__co_qsfp1__lane2__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 109)).setLabel('card-MC-Co-QSFP1-Lane2-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane2_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane2_Down.setDescription('The QSFP1 lane2 link of mc in center side is broken') card_mc__co_qsfp1__lane3__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 110)).setLabel('card-MC-Co-QSFP1-Lane3-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane3_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane3_Up.setDescription('The QSFP1 Lane3 link of mc in center side is up') card_mc__co_qsfp1__lane3__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 111)).setLabel('card-MC-Co-QSFP1-Lane3-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane3_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane3_Down.setDescription('The QSFP1 lane3 link of mc in center side is broken') card_mc__co_qsfp1__lane4__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 112)).setLabel('card-MC-Co-QSFP1-Lane4-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane4_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane4_Up.setDescription('The QSFP1 Lane4 link of mc in center side is up') card_mc__co_qsfp1__lane4__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 113)).setLabel('card-MC-Co-QSFP1-Lane4-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane4_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP1_Lane4_Down.setDescription('The QSFP1 lane4 link of mc in center side is broken') card_mc__co_qsfp2__lane1__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 114)).setLabel('card-MC-Co-QSFP2-Lane1-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane1_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane1_Up.setDescription('The QSFP2 Lane1 link of mc in center side is up') card_mc__co_qsfp2__lane1__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 115)).setLabel('card-MC-Co-QSFP2-Lane1-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane1_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane1_Down.setDescription('The QSFP2 lane1 link of mc in center side is broken') card_mc__co_qsfp2__lane2__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 116)).setLabel('card-MC-Co-QSFP2-Lane2-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane2_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane2_Up.setDescription('The QSFP2 Lane2 link of mc in center side is up') card_mc__co_qsfp2__lane2__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 117)).setLabel('card-MC-Co-QSFP2-Lane2-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane2_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane2_Down.setDescription('The QSFP2 lane2 link of mc in center side is broken') card_mc__co_qsfp2__lane3__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 118)).setLabel('card-MC-Co-QSFP2-Lane3-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane3_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane3_Up.setDescription('The QSFP2 Lane3 link of mc in center side is up') card_mc__co_qsfp2__lane3__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 119)).setLabel('card-MC-Co-QSFP2-Lane3-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane3_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane3_Down.setDescription('The QSFP2 lane3 link of mc in center side is broken') card_mc__co_qsfp2__lane4__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 120)).setLabel('card-MC-Co-QSFP2-Lane4-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane4_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane4_Up.setDescription('The QSFP2 Lane4 link of mc in center side is up') card_mc__co_qsfp2__lane4__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 121)).setLabel('card-MC-Co-QSFP2-Lane4-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane4_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_QSFP2_Lane4_Down.setDescription('The QSFP2 lane4 link of mc in center side is broken') card_mc__rmt_sfp2__inserted = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 122)).setLabel('card-MC-Rmt-SFP2-Inserted').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_SFP2_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP2_Inserted.setDescription('Remote SFP2 inserted') card_mc__rmt_sfp2__removed = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 123)).setLabel('card-MC-Rmt-SFP2-Removed').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_SFP2_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP2_Removed.setDescription('Remote SFP2 removed') card_mc__rmt_sfp3__inserted = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 124)).setLabel('card-MC-Rmt-SFP3-Inserted').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_SFP3_Inserted.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP3_Inserted.setDescription('Remote SFP3 inserted') card_mc__rmt_sfp3__removed = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 125)).setLabel('card-MC-Rmt-SFP3-Removed').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_SFP3_Removed.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP3_Removed.setDescription('Remote SFP3 removed') card_mc__rmt_sfp2__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 126)).setLabel('card-MC-Rmt-SFP2-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_SFP2_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP2_Up.setDescription('The SFP2 link of mc in customer side is up') card_mc__rmt_sfp2__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 127)).setLabel('card-MC-Rmt-SFP2-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_SFP2_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP2_Down.setDescription('The SFP2 link of mc in customer side is broken') card_mc__rmt_sfp3__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 128)).setLabel('card-MC-Rmt-SFP3-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_SFP3_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP3_Up.setDescription('The SFP3 link of mc in customer side is up') card_mc__rmt_sfp3__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 129)).setLabel('card-MC-Rmt-SFP3-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Rmt_SFP3_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Rmt_SFP3_Down.setDescription('The SFP3 link of mc in customer side is broken') card_mc_e1__co__port1_los__alarm = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 130)).setLabel('card-MC-E1-Co-Port1-LOS-Alarm').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Co_Port1_LOS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port1_LOS_Alarm.setDescription('Port1 LOS alarm in center side') card_mc_e1__co__port1_los__normal = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 131)).setLabel('card-MC-E1-Co-Port1-LOS-Normal').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Co_Port1_LOS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port1_LOS_Normal.setDescription('Port1 LOS normal in center side') card_mc_e1__co__port1_ais__alarm = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 132)).setLabel('card-MC-E1-Co-Port1-AIS-Alarm').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Co_Port1_AIS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port1_AIS_Alarm.setDescription('Port1 AIS alarm in center side') card_mc_e1__co__port1_ais__normal = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 133)).setLabel('card-MC-E1-Co-Port1-AIS-Normal').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Co_Port1_AIS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port1_AIS_Normal.setDescription('Port1 AIS normal in center side') card_mc_e1__co__port1_cv__alarm = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 134)).setLabel('card-MC-E1-Co-Port1-CV-Alarm').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Co_Port1_CV_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port1_CV_Alarm.setDescription('Port1 CV alarm in center side') card_mc_e1__co__port1_cv__normal = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 135)).setLabel('card-MC-E1-Co-Port1-CV-Normal').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Co_Port1_CV_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port1_CV_Normal.setDescription('Port1 CV normal in center side') card_mc_e1__co__port2_los__alarm = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 136)).setLabel('card-MC-E1-Co-Port2-LOS-Alarm').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Co_Port2_LOS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port2_LOS_Alarm.setDescription('Port2 LOS alarm in center side') card_mc_e1__co__port2_los__normal = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 137)).setLabel('card-MC-E1-Co-Port2-LOS-Normal').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Co_Port2_LOS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port2_LOS_Normal.setDescription('Port2 LOS normal in center side') card_mc_e1__co__port2_ais__alarm = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 138)).setLabel('card-MC-E1-Co-Port2-AIS-Alarm').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Co_Port2_AIS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port2_AIS_Alarm.setDescription('Port2 AIS alarm in center side') card_mc_e1__co__port2_ais__normal = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 139)).setLabel('card-MC-E1-Co-Port2-AIS-Normal').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Co_Port2_AIS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port2_AIS_Normal.setDescription('Port2 AIS normal in center side') card_mc_e1__co__port2_cv__alarm = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 140)).setLabel('card-MC-E1-Co-Port2-CV-Alarm').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Co_Port2_CV_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port2_CV_Alarm.setDescription('Port2 CV alarm in center side') card_mc_e1__co__port2_cv__normal = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 141)).setLabel('card-MC-E1-Co-Port2-CV-Normal').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Co_Port2_CV_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Co_Port2_CV_Normal.setDescription('Port2 CV normal in center side') card_mc_e1__rmt__port1_los__alarm = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 142)).setLabel('card-MC-E1-Rmt-Port1-LOS-Alarm').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_LOS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_LOS_Alarm.setDescription('Port1 LOS alarm in customer side') card_mc_e1__rmt__port1_los__normal = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 143)).setLabel('card-MC-E1-Rmt-Port1-LOS-Normal').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_LOS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_LOS_Normal.setDescription('Port1 LOS normal in customer side') card_mc_e1__rmt__port1_ais__alarm = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 144)).setLabel('card-MC-E1-Rmt-Port1-AIS-Alarm').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_AIS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_AIS_Alarm.setDescription('Port1 AIS alarm in customer side') card_mc_e1__rmt__port1_ais__normal = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 145)).setLabel('card-MC-E1-Rmt-Port1-AIS-Normal').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_AIS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_AIS_Normal.setDescription('Port1 AIS normal in customer side') card_mc_e1__rmt__port1_cv__alarm = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 146)).setLabel('card-MC-E1-Rmt-Port1-CV-Alarm').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_CV_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_CV_Alarm.setDescription('Port1 CV alarm in customer side') card_mc_e1__rmt__port1_cv__normal = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 147)).setLabel('card-MC-E1-Rmt-Port1-CV-Normal').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_CV_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port1_CV_Normal.setDescription('Port1 CV normal in customer side') card_mc_e1__rmt__port2_los__alarm = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 148)).setLabel('card-MC-E1-Rmt-Port2-LOS-Alarm').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_LOS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_LOS_Alarm.setDescription('Port2 LOS alarm in customer side') card_mc_e1__rmt__port2_los__normal = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 149)).setLabel('card-MC-E1-Rmt-Port2-LOS-Normal').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_LOS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_LOS_Normal.setDescription('Port2 LOS normal in customer side') card_mc_e1__rmt__port2_ais__alarm = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 150)).setLabel('card-MC-E1-Rmt-Port2-AIS-Alarm').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_AIS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_AIS_Alarm.setDescription('Port2 AIS alarm in customer side') card_mc_e1__rmt__port2_ais__normal = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 151)).setLabel('card-MC-E1-Rmt-Port2-AIS-Normal').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_AIS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_AIS_Normal.setDescription('Port2 AIS normal in customer side') card_mc_e1__rmt__port2_cv__alarm = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 152)).setLabel('card-MC-E1-Rmt-Port2-CV-Alarm').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_CV_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_CV_Alarm.setDescription('Port2 CV alarm in customer side') card_mc_e1__rmt__port2_cv__normal = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 153)).setLabel('card-MC-E1-Rmt-Port2-CV-Normal').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_CV_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1_Rmt_Port2_CV_Normal.setDescription('Port2 CV normal in customer side') card_mc__co_sfp3__up = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 154)).setLabel('card-MC-Co-SFP3-Up').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_SFP3_Up.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP3_Up.setDescription('The SFP3 link of mc in center side is up') card_mc__co_sfp3__down = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 155)).setLabel('card-MC-Co-SFP3-Down').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_Co_SFP3_Down.setStatus('current') if mibBuilder.loadTexts: card_MC_Co_SFP3_Down.setDescription('The SFP3 link of mc in center side is broken') card_mc_e1_t1__co_txlos__alarm = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 156)).setLabel('card-MC-E1T1-Co-TXLOS-Alarm').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1T1_Co_TXLOS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Co_TXLOS_Alarm.setDescription('Tx LOS alarm in center side') card_mc_e1_t1__co_txlos__normal = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 157)).setLabel('card-MC-E1T1-Co-TXLOS-Normal').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1T1_Co_TXLOS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Co_TXLOS_Normal.setDescription('Tx LOS normal in center side') card_mc_e1_t1__co_fxlos__alarm = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 158)).setLabel('card-MC-E1T1-Co-FXLOS-Alarm').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1T1_Co_FXLOS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Co_FXLOS_Alarm.setDescription('Fx LOS alarm in center side') card_mc_e1_t1__co_fxlos__normal = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 159)).setLabel('card-MC-E1T1-Co-FXLOS-Normal').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1T1_Co_FXLOS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Co_FXLOS_Normal.setDescription('Fx LOS normal in center side') card_mc_e1_t1__co_ais__alarm = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 160)).setLabel('card-MC-E1T1-Co-AIS-Alarm').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1T1_Co_AIS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Co_AIS_Alarm.setDescription('AIS alarm in center side') card_mc_e1_t1__co_ais__normal = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 161)).setLabel('card-MC-E1T1-Co-AIS-Normal').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1T1_Co_AIS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Co_AIS_Normal.setDescription('AIS normal in center side') card_mc_e1_t1__rmt_txlos__alarm = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 162)).setLabel('card-MC-E1T1-Rmt-TXLOS-Alarm').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1T1_Rmt_TXLOS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Rmt_TXLOS_Alarm.setDescription('Tx LOS alarm in customer side') card_mc_e1_t1__rmt_txlos__normal = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 163)).setLabel('card-MC-E1T1-Rmt-TXLOS-Normal').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1T1_Rmt_TXLOS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Rmt_TXLOS_Normal.setDescription('Tx LOS normal in customer side') card_mc_e1_t1__rmt_fxlos__alarm = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 164)).setLabel('card-MC-E1T1-Rmt-FXLOS-Alarm').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1T1_Rmt_FXLOS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Rmt_FXLOS_Alarm.setDescription('Fx LOS alarm in customer side') card_mc_e1_t1__rmt_fxlos__normal = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 165)).setLabel('card-MC-E1T1-Rmt-FXLOS-Normal').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1T1_Rmt_FXLOS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Rmt_FXLOS_Normal.setDescription('Fx LOS normal in customer side') card_mc_e1_t1__rmt_ais__alarm = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 166)).setLabel('card-MC-E1T1-Rmt-AIS-Alarm').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1T1_Rmt_AIS_Alarm.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Rmt_AIS_Alarm.setDescription('AIS alarm in customer side') card_mc_e1_t1__rmt_ais__normal = notification_type((1, 3, 6, 1, 4, 1, 6688, 1, 1, 2, 167)).setLabel('card-MC-E1T1-Rmt-AIS-Normal').setObjects(('XXX-MIB', 'shelfIdx'), ('XXX-MIB', 'slotIdx')) if mibBuilder.loadTexts: card_MC_E1T1_Rmt_AIS_Normal.setStatus('current') if mibBuilder.loadTexts: card_MC_E1T1_Rmt_AIS_Normal.setDescription('AIS normal in customer side') mibBuilder.exportSymbols('XXX-MIB', mc40G_OEOLane2LoopMode=mc40G_OEOLane2LoopMode, company=company, mcFanCardObjects=mcFanCardObjects, mc10G_OEECurSpd=mc10G_OEECurSpd, card_MC_Co_QSFP1_Lane2_Up=card_MC_Co_QSFP1_Lane2_Up, mc4_25G_OEONtwPD=mc4_25G_OEONtwPD, mcCm1gSfpEntry=mcCm1gSfpEntry, card_MC_Co_QSFP1_Lane1_Down=card_MC_Co_QSFP1_Lane1_Down, mc10G_OEO2RObjects=mc10G_OEO2RObjects, mcTransceiverDist=mcTransceiverDist, mc2_5GMCCardObjects=mc2_5GMCCardObjects, mcPortState=mcPortState, mc1GE2OPort2SFPExist=mc1GE2OPort2SFPExist, shelfNum=shelfNum, mcIP175DCurWorkMode=mcIP175DCurWorkMode, card_MC_Rmt_Tx_Up1=card_MC_Rmt_Tx_Up1, mc1go2o_sfpTransCode=mc1go2o_sfpTransCode, sysName=sysName, psuB=psuB, ntwXFP2WaveLength=ntwXFP2WaveLength, mcAccXFP1WaveLengthTunability=mcAccXFP1WaveLengthTunability, mc10G_OEO_Test_Error_Counter=mc10G_OEO_Test_Error_Counter, mc2_5g_sfpWavelength=mc2_5g_sfpWavelength, mc2_5g_sfpCompliance=mc2_5g_sfpCompliance, card_MC_E1_Co_Port1_CV_Alarm=card_MC_E1_Co_Port1_CV_Alarm, mcIP175DCardTable=mcIP175DCardTable, mc4_25G_OEO_Test_Result=mc4_25G_OEO_Test_Result, mc40G_OEOHWLoopMode=mc40G_OEOHWLoopMode, mcE1T1RmtFLink=mcE1T1RmtFLink, ntwXFP2WaveLengthTunability=ntwXFP2WaveLengthTunability, card_MC_E1T1_Co_TXLOS_Normal=card_MC_E1T1_Co_TXLOS_Normal, mcCmEntry=mcCmEntry, mc1go2o_sfpCompliance=mc1go2o_sfpCompliance, shelfIdx=shelfIdx, trapHost1=trapHost1, mcCm1gSfpObjects=mcCm1gSfpObjects, volA=volA, getNtwQSfpCmd=getNtwQSfpCmd, mc1GO2OPortHWPri=mc1GO2OPortHWPri, card_MC_Co_SFP3_Up=card_MC_Co_SFP3_Up, mcE1Port2Loop=mcE1Port2Loop, xfpWaveLengthTunable=xfpWaveLengthTunable, rmtCardNum=rmtCardNum, shelf_fan_Off=shelf_fan_Off, mcDownStream=mcDownStream, mcE1SFP1Link=mcE1SFP1Link, mc10G_OEOCardEntry=mc10G_OEOCardEntry, mcAccXFP1WaveLengthTunable=mcAccXFP1WaveLengthTunable, nmuType=nmuType, mc10G_OEO_Get_Test_Rst=mc10G_OEO_Get_Test_Rst, mc1GE2ORmtPort1SFPlink=mc1GE2ORmtPort1SFPlink, slotObjects=slotObjects, mcIP175DObjects=mcIP175DObjects, card_MC_Co_Tx_Up1=card_MC_Co_Tx_Up1, mcRmtE1Port1CV=mcRmtE1Port1CV, mcRmtHWTransmitMode=mcRmtHWTransmitMode, mcIP175DTxlink=mcIP175DTxlink, mc10G_OEOCurSpdMode=mc10G_OEOCurSpdMode, mc10G_OEELoopMode=mc10G_OEELoopMode, mcE1T1FLossAlarm=mcE1T1FLossAlarm, shelf_psuA_On=shelf_psuA_On, mcQCA8334RmtCfgWorkMode=mcQCA8334RmtCfgWorkMode, shelfTable=shelfTable, ipaddr=ipaddr, mc1GE2OPort1SFPlink=mc1GE2OPort1SFPlink, mc10G_OEO_accType=mc10G_OEO_accType, card_MC_E1_Rmt_Port1_AIS_Normal=card_MC_E1_Rmt_Port1_AIS_Normal, sfpVoltage=sfpVoltage, mc10GOEO1RCardTable=mc10GOEO1RCardTable, mc10GXFP2WaveLengthTunable=mc10GXFP2WaveLengthTunable, mcRmtE1Port1Loop=mcRmtE1Port1Loop, mc4_25G_OEOCardEntry=mc4_25G_OEOCardEntry, card_MC_E1_Rmt_Port1_AIS_Alarm=card_MC_E1_Rmt_Port1_AIS_Alarm, mcRmt4_25G_OEOHWWorkMode=mcRmt4_25G_OEOHWWorkMode, mcCm1gIpEntry=mcCm1gIpEntry, cwdmWavelength5=cwdmWavelength5, mcE1Port1AIS=mcE1Port1AIS, accXFP1TunableType=accXFP1TunableType, mcRmtPwrDown=mcRmtPwrDown, mc10G_OEOObjects=mc10G_OEOObjects, card_MC_Rmt_Tx_Down=card_MC_Rmt_Tx_Down, mc10G_OEEHWLoopback=mc10G_OEEHWLoopback, card_MC_Co_Port3_Down=card_MC_Co_Port3_Down, card_MC_Co_SFP3_Down=card_MC_Co_SFP3_Down, mcQCA8334RmtTxlink=mcQCA8334RmtTxlink, card_MC_E1T1_Co_AIS_Normal=card_MC_E1T1_Co_AIS_Normal, mcRmtE1TxCurWorkMode=mcRmtE1TxCurWorkMode, qsfpAccRxPower4=qsfpAccRxPower4, mcRmt10G_OEOLoopback=mcRmt10G_OEOLoopback, card_MC_E1_Rmt_Port2_CV_Normal=card_MC_E1_Rmt_Port2_CV_Normal, card_MC_E1_Co_Port2_CV_Normal=card_MC_E1_Co_Port2_CV_Normal, mcTxByteLo=mcTxByteLo, mcCardIdx=mcCardIdx, card_MC_Rmt_SFP3_Up=card_MC_Rmt_SFP3_Up, card_MC_E1T1_Co_FXLOS_Alarm=card_MC_E1T1_Co_FXLOS_Alarm, mcRmt4_25G_OEOHWSpdMode=mcRmt4_25G_OEOHWSpdMode, card_MC_Co_QSFP1_Lane4_Up=card_MC_Co_QSFP1_Lane4_Up, mcUtility=mcUtility, mc4_25G_OEOObjects=mc4_25G_OEOObjects, mc10GOEO1RCardEntry=mc10GOEO1RCardEntry, getAccSfpCmd=getAccSfpCmd, mc1GO2OPort3SFPExist=mc1GO2OPort3SFPExist, mcRmtCfgWorkMode=mcRmtCfgWorkMode, mcNtwQSfpObjects=mcNtwQSfpObjects, mcShelfIdx=mcShelfIdx, mc40G_OEOCardEntry=mc40G_OEOCardEntry, mcE1T1CardTable=mcE1T1CardTable, accsfpRecvPower=accsfpRecvPower, mc10GXFP1WaveLengthTunability=mc10GXFP1WaveLengthTunability, cwdmWavelength7=cwdmWavelength7, cwdmWavelength1=cwdmWavelength1, mc40G_OEOQsfp2Lane3_link=mc40G_OEOQsfp2Lane3_link, mcE1Port2CV=mcE1Port2CV, mcAccQSfpObjects=mcAccQSfpObjects, mcRmtE1Port1AIS=mcRmtE1Port1AIS, mcIP175DCardEntry=mcIP175DCardEntry, accsfpTemperature=accsfpTemperature, mc10G_OEO2R_accTunableType=mc10G_OEO2R_accTunableType, card_MC_Co_QSFP2_Lane2_Up=card_MC_Co_QSFP2_Lane2_Up, mc4_25G_OEO_Test_Lock=mc4_25G_OEO_Test_Lock, mcRmtUtility=mcRmtUtility, mc2_5GMCSfp3Exist=mc2_5GMCSfp3Exist, mc4_25G_OEO_Start_Test=mc4_25G_OEO_Start_Test, qsfpAccTemperature=qsfpAccTemperature, card_MC_Rmt_Tx_Down2=card_MC_Rmt_Tx_Down2, sfpConnector=sfpConnector, mcFanObjects=mcFanObjects, card_MC_Co_SFP2_Inserted=card_MC_Co_SFP2_Inserted, mc1GE2OPortPri=mc1GE2OPortPri, mc1GO2OPort1SFPExist=mc1GO2OPort1SFPExist, card_MC_Rmt_SFP3_Down=card_MC_Rmt_SFP3_Down, mcRmt10G_OEOCfgSpdMode=mcRmt10G_OEOCfgSpdMode, mc1go2o_sfpWavelength=mc1go2o_sfpWavelength, card_MC_Co_SFP1_Removed=card_MC_Co_SFP1_Removed, mc40G_OEOQsfp1Lane1_link=mc40G_OEOQsfp1Lane1_link, card_MC_Rmt_XFP1_Up=card_MC_Rmt_XFP1_Up, card_MC_E1T1_Co_TXLOS_Alarm=card_MC_E1T1_Co_TXLOS_Alarm, sfpCopperLength=sfpCopperLength, mc2_5GMCCardTable=mc2_5GMCCardTable, mc2_5g_getSfpCmd=mc2_5g_getSfpCmd, mcE1T1RmtTLossAlarm=mcE1T1RmtTLossAlarm, trapHost3=trapHost3, mcRmtE1Port2LOS=mcRmtE1Port2LOS, card_MC_Co_SFPSFP1_Removed=card_MC_Co_SFPSFP1_Removed, card_MC_E1T1_Co_FXLOS_Normal=card_MC_E1T1_Co_FXLOS_Normal, mc1GO2OPort3SFPlink=mc1GO2OPort3SFPlink, mc1go2o_getSfpCmd=mc1go2o_getSfpCmd, sfpCompliance=sfpCompliance, card_MC_Co_QSFP2_Lane2_Down=card_MC_Co_QSFP2_Lane2_Down, mc10GXFP1WaveLength=mc10GXFP1WaveLength, mc10GOEO3RCardTable=mc10GOEO3RCardTable, mc1GO2ORmtPortHWPri=mc1GO2ORmtPortHWPri, card_MC_Rmt_Tx_Up2=card_MC_Rmt_Tx_Up2, mcRmtHWLFP=mcRmtHWLFP, card_MC_Co_QSFP1_Lane1_Up=card_MC_Co_QSFP1_Lane1_Up, accsfpSmLength=accsfpSmLength, mcIP175DPortObjects=mcIP175DPortObjects, mcType=mcType, accXFP1WaveLength=accXFP1WaveLength, mc40G_OEOQsfp1Lane3_link=mc40G_OEOQsfp1Lane3_link, mc10GXFP2WaveLengthTunability=mc10GXFP2WaveLengthTunability, card_MC_E1T1_Rmt_TXLOS_Normal=card_MC_E1T1_Rmt_TXLOS_Normal, mcRmtHWWorkMode=mcRmtHWWorkMode, mcQCA8334UpStream=mcQCA8334UpStream, card_MC_Rmt_SFP1_Down=card_MC_Rmt_SFP1_Down, mc4_25G_OEOHWLoopback=mc4_25G_OEOHWLoopback, mc10G_OEEFxlink=mc10G_OEEFxlink, mcE1Port1LOS=mcE1Port1LOS, mc2_5GMCPort1link=mc2_5GMCPort1link, qsfpAccRxPower3=qsfpAccRxPower3, mcNtwSfpExist=mcNtwSfpExist, mcNtwXFP2WaveLength=mcNtwXFP2WaveLength, mcRmt10G_OEOHWSpdMode=mcRmt10G_OEOHWSpdMode, cwdmWavelengthCount=cwdmWavelengthCount, card_MC_Rmt_SFPSFP1_Up=card_MC_Rmt_SFPSFP1_Up, mc10G_OEOHWSpdMode=mc10G_OEOHWSpdMode, mc40G_OEOQsfp2Lane4_link=mc40G_OEOQsfp2Lane4_link, mcNtwXFP2WaveLengthTunable=mcNtwXFP2WaveLengthTunable, mc2_5GMCSFP3Objects=mc2_5GMCSFP3Objects, mcHWTransmitMode=mcHWTransmitMode, slotIdx=slotIdx, qsfpNtwTxPower1=qsfpNtwTxPower1, mcHWLFP=mcHWLFP, mcE1T1RmtAISAlarm=mcE1T1RmtAISAlarm, volB=volB, mcRmtCurWorkMode=mcRmtCurWorkMode, mc1GE2OCardTable=mc1GE2OCardTable, accsfpWavelength=accsfpWavelength, mcAccQSfpEntry=mcAccQSfpEntry, mcTxByteHi=mcTxByteHi, mc10G_OEO2RHWSFP1Loopback=mc10G_OEO2RHWSFP1Loopback, sysContact=sysContact, slotEntry=slotEntry, mcCurWorkMode=mcCurWorkMode, card_MC_E1_Rmt_Port2_AIS_Alarm=card_MC_E1_Rmt_Port2_AIS_Alarm, mcIP175DUpStream=mcIP175DUpStream, mcRmtDetect=mcRmtDetect, mc10G_OEO_Test_Lock=mc10G_OEO_Test_Lock, mc2_5g_sfpTranPower=mc2_5g_sfpTranPower, mc2_5g_sfpBrSpeed=mc2_5g_sfpBrSpeed, mc40G_OEOSpeedMode=mc40G_OEOSpeedMode, mc1GO2OSfp3Table=mc1GO2OSfp3Table, mc1GE2ORmtPort2SFPlink=mc1GE2ORmtPort2SFPlink, mcCm1gAccSfpObjects=mcCm1gAccSfpObjects, rmtCardType=rmtCardType, card_MC_Co_SFP2_Removed=card_MC_Co_SFP2_Removed, card_MC_Co_Tx_Down1=card_MC_Co_Tx_Down1, card_MC_Co_QSFP1_Lane2_Down=card_MC_Co_QSFP1_Lane2_Down, card_MC_Co_QSFP2_Lane4_Down=card_MC_Co_QSFP2_Lane4_Down, mcRxByteHi=mcRxByteHi, card_MC_Rmt_SFP3_Inserted=card_MC_Rmt_SFP3_Inserted, mcE1CardEntry=mcE1CardEntry, card_Detected=card_Detected, card_MC_Co_XFP2_Up=card_MC_Co_XFP2_Up, card_MC_Rmt_SFP2_Up=card_MC_Rmt_SFP2_Up, trapHost2=trapHost2, mc2_5Cm1gSfpTable=mc2_5Cm1gSfpTable, mcCWDMCardEntry=mcCWDMCardEntry, mcE1T1TLoop=mcE1T1TLoop, mc1GO2OPortPri=mc1GO2OPortPri, mcLFPCfg=mcLFPCfg, qsfpAccRxPower1=qsfpAccRxPower1, temperature=temperature, qsfpAccTxPower3=qsfpAccTxPower3, card_MC_Co_SFP1_Down=card_MC_Co_SFP1_Down, mc4_25G_OEOCurSpdMode=mc4_25G_OEOCurSpdMode, mc10G_OEECardEntry=mc10G_OEECardEntry, mcFanStatus=mcFanStatus, mc2_5GMCPort3link=mc2_5GMCPort3link, systemMIB=systemMIB, mcTxlink=mcTxlink, mcCmTable=mcCmTable, mcRmtTxlink=mcRmtTxlink, mc40G_OEOQsfp1Lane4_link=mc40G_OEOQsfp1Lane4_link, sfpTranPower=sfpTranPower, coCardType=coCardType, mcFanCardEntry=mcFanCardEntry, cwdmWavelength3=cwdmWavelength3, card_MC_E1_Co_Port1_AIS_Normal=card_MC_E1_Co_Port1_AIS_Normal, mc1GE2OPortHWPri=mc1GE2OPortHWPri, mcE1T1TLossAlarm=mcE1T1TLossAlarm, mcQCA8334DownStream=mcQCA8334DownStream, mcIP175DPortEntry=mcIP175DPortEntry, mcE1T1Version=mcE1T1Version, card_MC_Co_QSFP1_Lane3_Down=card_MC_Co_QSFP1_Lane3_Down, card_MC_E1_Rmt_Port1_CV_Normal=card_MC_E1_Rmt_Port1_CV_Normal, card_MC_Rmt_SFP2_Removed=card_MC_Rmt_SFP2_Removed, card_MC_Co_SFPSFP1_Down=card_MC_Co_SFPSFP1_Down, accsfpBrSpeed=accsfpBrSpeed, cwdmWavelength8=cwdmWavelength8, mcRmt10G_OEOCurSpdMode=mcRmt10G_OEOCurSpdMode, mc10GOEEXFPTunableCardObjects=mc10GOEEXFPTunableCardObjects, mc1GE2ORmtPortHWPri=mc1GE2ORmtPortHWPri, mc10G_OEO_Test_Continue_Time=mc10G_OEO_Test_Continue_Time) mibBuilder.exportSymbols('XXX-MIB', mc4_25G_OEO_Test_Error_Counter=mc4_25G_OEO_Test_Error_Counter, mc1GO2OPort1SFPlink=mc1GO2OPort1SFPlink, card_MC_E1_Rmt_Port1_LOS_Normal=card_MC_E1_Rmt_Port1_LOS_Normal, mc1GO2OSFP3Objects=mc1GO2OSFP3Objects, xfpWaveLength=xfpWaveLength, card_MC_Co_XFP1_Removed=card_MC_Co_XFP1_Removed, card_MC_Rmt_SFP2_Inserted=card_MC_Rmt_SFP2_Inserted, mc4_25G_OEOWorkMode=mc4_25G_OEOWorkMode, card_MC_Co_XFP2_Inserted=card_MC_Co_XFP2_Inserted, mc2_5g_sfpSmLength=mc2_5g_sfpSmLength, card_MC_Co_Port2_Down=card_MC_Co_Port2_Down, card_MC_Rmt_Acc_SFP_Removed=card_MC_Rmt_Acc_SFP_Removed, card_MC_Co_QSFP2_Removed=card_MC_Co_QSFP2_Removed, mc10GOEEXFPTunableCardTable=mc10GOEEXFPTunableCardTable, card_MC_Co_SFPSFP2_Down=card_MC_Co_SFPSFP2_Down, mcQCA8334PortIdx=mcQCA8334PortIdx, card_MC_E1T1_Rmt_AIS_Alarm=card_MC_E1T1_Rmt_AIS_Alarm, mcIP175DPortTable=mcIP175DPortTable, mc1go2o_sfpRecvPower=mc1go2o_sfpRecvPower, mc10G_OEO2R_ntwType=mc10G_OEO2R_ntwType, card_MC_Rmt_Tx_Up=card_MC_Rmt_Tx_Up, mcCm1gAccSfpTable=mcCm1gAccSfpTable, mcE1T1RmtFLoop=mcE1T1RmtFLoop, card_MC_E1_Co_Port1_CV_Normal=card_MC_E1_Co_Port1_CV_Normal, mc10GXFP1WaveLengthTunable=mc10GXFP1WaveLengthTunable, card_MC_Co_Tx_Up2=card_MC_Co_Tx_Up2, mcRmt10G_OEOHWLoopback=mcRmt10G_OEOHWLoopback, mc10G_OEECardObjects=mc10G_OEECardObjects, mcRmt4_25G_OEOWorkMode=mcRmt4_25G_OEOWorkMode, card_MC_Co_Port1_Up=card_MC_Co_Port1_Up, mc10GXFP2WaveLength=mc10GXFP2WaveLength, mc10G_OEOCardTable=mc10G_OEOCardTable, mc10G_OEE_ntwType=mc10G_OEE_ntwType, mcRmt10G_OEO_ntwType=mcRmt10G_OEO_ntwType, card_MC_Co_SFPSFP1_Up=card_MC_Co_SFPSFP1_Up, mc1GO2OPort2SFPlink=mc1GO2OPort2SFPlink, mcE1T1AISAlarm=mcE1T1AISAlarm, mcLoOrRmtFg=mcLoOrRmtFg, mc10G_OEOCfgSpdMode=mc10G_OEOCfgSpdMode, mcE1T1CardObjects=mcE1T1CardObjects, card_MC_Co_SFP3_Removed=card_MC_Co_SFP3_Removed, mcE1T1FLink=mcE1T1FLink, nmuObjects=nmuObjects, mc1go2o_sfpCopperLength=mc1go2o_sfpCopperLength, mc1GO2OPort3HWSpd=mc1GO2OPort3HWSpd, mc1GO2ORmtPort3SFPExist=mc1GO2ORmtPort3SFPExist, mc10G_OEO2R_ntwTunableType=mc10G_OEO2R_ntwTunableType, shelf_psuB_On=shelf_psuB_On, mcPmTable=mcPmTable, mcCm1gSpecificObjects=mcCm1gSpecificObjects, mc4_25G_OEO_Get_Test_Rst=mc4_25G_OEO_Get_Test_Rst, mcE1T1CardEntry=mcE1T1CardEntry, mc4_25G_OEO_Test_Continue_Time=mc4_25G_OEO_Test_Continue_Time, mcQsfpSpecificObjects=mcQsfpSpecificObjects, mc10GOEO3RCardObjects=mc10GOEO3RCardObjects, card_MC_E1_Co_Port2_AIS_Alarm=card_MC_E1_Co_Port2_AIS_Alarm, mc1GE2OCardObjects=mc1GE2OCardObjects, mc2_5g_sfpRecvPower=mc2_5g_sfpRecvPower, height2HU=height2HU, mc2_5g_sfpMmLength=mc2_5g_sfpMmLength, mc1GE2OObjects=mc1GE2OObjects, mc1GO2OObjects=mc1GO2OObjects, mcCm1gIpTable=mcCm1gIpTable, mcNtwQSfpEntry=mcNtwQSfpEntry, mc40G_OEOLane1LoopMode=mc40G_OEOLane1LoopMode, mc1go2o_sfpConnector=mc1go2o_sfpConnector, card_MC_Co_SFPSFP2_Up=card_MC_Co_SFPSFP2_Up, mcE1Port1CV=mcE1Port1CV, shelfEntry=shelfEntry, sfpBrSpeed=sfpBrSpeed, mcRmtE1SFP1Link=mcRmtE1SFP1Link, card_MC_Co_Acc_SFP_Removed=card_MC_Co_Acc_SFP_Removed, mc10G_OEOSFP2=mc10G_OEOSFP2, card_MC_E1_Co_Port2_LOS_Normal=card_MC_E1_Co_Port2_LOS_Normal, mcUpStream=mcUpStream, mc4_25G_OEOCardObjects=mc4_25G_OEOCardObjects, card_MC_Co_SFP2_Up=card_MC_Co_SFP2_Up, mc2_5g_sfpTransCode=mc2_5g_sfpTransCode, card_MC_E1_Rmt_Port2_LOS_Normal=card_MC_E1_Rmt_Port2_LOS_Normal, mc10G_OEO_Start_Test=mc10G_OEO_Start_Test, accXFP1WaveLengthTunable=accXFP1WaveLengthTunable, mcIpAddr=mcIpAddr, mc40G_OEOCardTable=mc40G_OEOCardTable, mc1GO2ORmtPort3SFPlink=mc1GO2ORmtPort3SFPlink, mcRmt4_25G_OEOLoopback=mcRmt4_25G_OEOLoopback, mcE1T1Type=mcE1T1Type, qsfpNtwRxPower3=qsfpNtwRxPower3, mc10G_OEOCardObjects=mc10G_OEOCardObjects, shelfName=shelfName, card_Lost=card_Lost, accsfpCopperLength=accsfpCopperLength, card_MC_E1_Co_Port1_LOS_Alarm=card_MC_E1_Co_Port1_LOS_Alarm, mcIP175DVlanMode=mcIP175DVlanMode, card_MC_E1T1_Rmt_TXLOS_Alarm=card_MC_E1T1_Rmt_TXLOS_Alarm, mc10G_OEESpdMode=mc10G_OEESpdMode, card_MC_Co_Fx_Up=card_MC_Co_Fx_Up, rmtCardDesc=rmtCardDesc, mcAccXFP1TunableType=mcAccXFP1TunableType, card_MC_Rmt_SFPSFP1_Removed=card_MC_Rmt_SFPSFP1_Removed, mcNtwXFP2WaveLengthTunability=mcNtwXFP2WaveLengthTunability, card_MC_Co_QSFP1_Removed=card_MC_Co_QSFP1_Removed, card_MC_Co_Ntw_SFP_Removed=card_MC_Co_Ntw_SFP_Removed, mcPmRest=mcPmRest, card_MC_Co_Acc_SFP_Inserted=card_MC_Co_Acc_SFP_Inserted, mcE1T1RmtFLossAlarm=mcE1T1RmtFLossAlarm, mc10G_OEO2RCardTable=mc10G_OEO2RCardTable, card_MC_E1_Rmt_Port2_CV_Alarm=card_MC_E1_Rmt_Port2_CV_Alarm, card_MC_Co_Port3_Up=card_MC_Co_Port3_Up, mc1GE2OPort2SFPlink=mc1GE2OPort2SFPlink, mc10GOEO3RObjects=mc10GOEO3RObjects, card_MC_E1_Co_Port1_AIS_Alarm=card_MC_E1_Co_Port1_AIS_Alarm, mc10G_OEO_Test_Result=mc10G_OEO_Test_Result, card_MC_Co_SFPSFP1_Inserted=card_MC_Co_SFPSFP1_Inserted, mc4_25G_OEOHWWorkMode=mc4_25G_OEOHWWorkMode, card_MC_Co_Tx_Down=card_MC_Co_Tx_Down, mcCWDMObjects=mcCWDMObjects, mcHWRmtCtrlMode=mcHWRmtCtrlMode, mcCfgWorkMode=mcCfgWorkMode, mcQCA8334PortEntry=mcQCA8334PortEntry, mcE1CardTable=mcE1CardTable, mc40G_OEOQsfp1Lane2_link=mc40G_OEOQsfp1Lane2_link, mc10G_OEO2RCurSpdMode=mc10G_OEO2RCurSpdMode, PYSNMP_MODULE_ID=company, mc10G_OEOLoopback=mc10G_OEOLoopback, mcE1T1FLoop=mcE1T1FLoop, card_MC_Rmt_SFP1_Up=card_MC_Rmt_SFP1_Up, mcRmt4_25G_OEOCfgSpdMode=mcRmt4_25G_OEOCfgSpdMode, card_MC_Rmt_PwrDown=card_MC_Rmt_PwrDown, mc1go2o_sfpMmLength=mc1go2o_sfpMmLength, mcQCA8334CfgWorkMode=mcQCA8334CfgWorkMode, mcRmtType=mcRmtType, mcQCA8334VlanMode=mcQCA8334VlanMode, mc4_25G_OEOHWSpdMode=mc4_25G_OEOHWSpdMode, card_MC_Co_QSFP2_Lane1_Up=card_MC_Co_QSFP2_Lane1_Up, mcE1Port2LOS=mcE1Port2LOS, mc1GO2OCardObjects=mc1GO2OCardObjects, mcRmt4_25G_OEOHWLoopback=mcRmt4_25G_OEOHWLoopback, mcRmt10G_OEO_accType=mcRmt10G_OEO_accType, mc2_5GMCObjects=mc2_5GMCObjects, mcTransceiverMode=mcTransceiverMode, mc40G_OEOObjects=mc40G_OEOObjects, mcCm1gAccSfpEntry=mcCm1gAccSfpEntry, mcIP175DCfgWorkMode=mcIP175DCfgWorkMode, mc1GE2ORmtTxlink=mc1GE2ORmtTxlink, mcE1T1RmtTLoop=mcE1T1RmtTLoop, qsfpNtwTxPower2=qsfpNtwTxPower2, mc1GO2OPort2SFPExist=mc1GO2OPort2SFPExist, ntwXFP2WaveLengthTunable=ntwXFP2WaveLengthTunable, qsfpNtwRxPower2=qsfpNtwRxPower2, card_MC_Co_XFP1_Inserted=card_MC_Co_XFP1_Inserted, mc10G_OEOSFP1=mc10G_OEOSFP1, mcQCA8334CardObjects=mcQCA8334CardObjects, card_MC_Co_QSFP1_Lane3_Up=card_MC_Co_QSFP1_Lane3_Up, mcAccQSfpTable=mcAccQSfpTable, mc10G_OEO_ntwType=mc10G_OEO_ntwType, mc40G_OEOLane3LoopMode=mc40G_OEOLane3LoopMode, card_MC_Rmt_SFP3_Removed=card_MC_Rmt_SFP3_Removed, card_MC_Co_QSFP2_Lane3_Down=card_MC_Co_QSFP2_Lane3_Down, psuA=psuA, ipProduct=ipProduct, mcFanCardTable=mcFanCardTable, mcRmtE1Port2CV=mcRmtE1Port2CV, mc40G_OEOQsfp2Lane2_link=mc40G_OEOQsfp2Lane2_link, qsfpAccRxPower2=qsfpAccRxPower2, mc10G_OEO2RCfgSpdMode=mc10G_OEO2RCfgSpdMode, card_MC_E1_Rmt_Port2_LOS_Alarm=card_MC_E1_Rmt_Port2_LOS_Alarm, card_MC_E1T1_Rmt_FXLOS_Normal=card_MC_E1T1_Rmt_FXLOS_Normal, mc2_5g_sfpCopperLength=mc2_5g_sfpCopperLength, mcCmObjects=mcCmObjects, mc10GOEEXFPTunableObjects=mc10GOEEXFPTunableObjects, mc10GOEO1RObjects=mc10GOEO1RObjects, mc40G_OEOHWSpeedMode=mc40G_OEOHWSpeedMode, getAccQSfpCmd=getAccQSfpCmd, mcQCA8334CardTable=mcQCA8334CardTable, mc10G_OEO2R_accType=mc10G_OEO2R_accType, card_MC_E1_Co_Port1_LOS_Normal=card_MC_E1_Co_Port1_LOS_Normal, card_MC_Rmt_SFPSFP1_Inserted=card_MC_Rmt_SFPSFP1_Inserted, mc2_5g_sfpTemperature=mc2_5g_sfpTemperature, mcRmtE1Txlink=mcRmtE1Txlink, accsfpTranPower=accsfpTranPower, mcE1T1CodeType=mcE1T1CodeType, sfpRecvPower=sfpRecvPower, card_MC_Co_Fx_Down=card_MC_Co_Fx_Down, card_MC_Co_QSFP2_Inserted=card_MC_Co_QSFP2_Inserted, mcRmtLFP=mcRmtLFP, card_MC_Rmt_SFP1_Inserted=card_MC_Rmt_SFP1_Inserted, accsfpTransCode=accsfpTransCode, sysLocation=sysLocation, qsfpNtwRxPower4=qsfpNtwRxPower4, card_MC_E1_Rmt_Port1_LOS_Alarm=card_MC_E1_Rmt_Port1_LOS_Alarm, sfpSmLength=sfpSmLength, cwdmWavelength6=cwdmWavelength6, mcE1TxCurWorkMode=mcE1TxCurWorkMode, mc1GE2ORmtPort1SFPExist=mc1GE2ORmtPort1SFPExist, mcCm1gIpObjects=mcCm1gIpObjects, mcRmtE1Port2Loop=mcRmtE1Port2Loop, mc10G_OEO2RCardEntry=mc10G_OEO2RCardEntry, card_MC_Co_SFP1_Up=card_MC_Co_SFP1_Up, qsfpAccTxPower2=qsfpAccTxPower2, card_MC_Rmt_XFP1_Removed=card_MC_Rmt_XFP1_Removed, qsfpAccTxPower1=qsfpAccTxPower1, qsfpAccConnector=qsfpAccConnector, mcRmtE1Port2AIS=mcRmtE1Port2AIS, card_MC_E1T1_Rmt_FXLOS_Alarm=card_MC_E1T1_Rmt_FXLOS_Alarm, card_MC_Co_QSFP1_Inserted=card_MC_Co_QSFP1_Inserted, card_MC_FAN_Normal=card_MC_FAN_Normal, mcNtwQSfpTable=mcNtwQSfpTable, mc10G_OEE_checkResult=mc10G_OEE_checkResult, card_MC_E1T1_Rmt_AIS_Normal=card_MC_E1T1_Rmt_AIS_Normal, mc2_5GMCCardEntry=mc2_5GMCCardEntry, mcE1Txlink=mcE1Txlink, mcQCA8334CardEntry=mcQCA8334CardEntry, mcRmtLoopback=mcRmtLoopback, mcQCA8334CurWorkMode=mcQCA8334CurWorkMode, card_MC_Rmt_SFP2_Down=card_MC_Rmt_SFP2_Down, card_MC_Rmt_SFP1_Removed=card_MC_Rmt_SFP1_Removed, mcRmtE1Port1LOS=mcRmtE1Port1LOS, card_MC_Co_SFP1_Inserted=card_MC_Co_SFP1_Inserted, qsfpNtwRxPower1=qsfpNtwRxPower1, mc10G_OEO2RSFP2=mc10G_OEO2RSFP2, slotTable=slotTable, mc10G_OEECardTable=mc10G_OEECardTable, mc40G_OEOLoopMode=mc40G_OEOLoopMode, mc1go2o_sfpTranPower=mc1go2o_sfpTranPower, mc1GO2ORmtPort2SFPlink=mc1GO2ORmtPort2SFPlink, mc10G_OEO2RCardObjects=mc10G_OEO2RCardObjects, mcCm1gSfpTable=mcCm1gSfpTable, mc1go2o_sfpTemperature=mc1go2o_sfpTemperature, mc1GO2ORmtPort2SFPExist=mc1GO2ORmtPort2SFPExist, card_MC_E1_Co_Port2_CV_Alarm=card_MC_E1_Co_Port2_CV_Alarm, mc1GE2OPort1SFPExist=mc1GE2OPort1SFPExist, accsfpConnector=accsfpConnector, coCardNum=coCardNum, mc1GO2OCardTable=mc1GO2OCardTable, gateway=gateway, qsfpNtwTemperature=qsfpNtwTemperature, card_MC_Rmt_XFP1_Inserted=card_MC_Rmt_XFP1_Inserted, mcIP175DRmtCurWorkMode=mcIP175DRmtCurWorkMode, mc2_5g_sfpConnector=mc2_5g_sfpConnector, mcE1T1RmtCodeType=mcE1T1RmtCodeType, mc1GO2ORmtPort1SFPExist=mc1GO2ORmtPort1SFPExist, mc4_25G_OEOCfgSpdMode=mc4_25G_OEOCfgSpdMode, card_MC_Co_SFP2_Down=card_MC_Co_SFP2_Down, sfpMmLength=sfpMmLength, mc10GOEEXFPTunableCardEntry=mc10GOEEXFPTunableCardEntry, mcIP175DPortIdx=mcIP175DPortIdx, sfpWavelength=sfpWavelength, shelf_psuA_Off=shelf_psuA_Off, card_MC_Co_Port1_Down=card_MC_Co_Port1_Down, mcRmtAccSfpExist=mcRmtAccSfpExist, mcAccXFP1WaveLength=mcAccXFP1WaveLength, card_MC_Co_QSFP2_Lane4_Up=card_MC_Co_QSFP2_Lane4_Up, card_MC_Co_QSFP2_Lane3_Up=card_MC_Co_QSFP2_Lane3_Up, mcE1CardObjects=mcE1CardObjects) mibBuilder.exportSymbols('XXX-MIB', ntwXFP2TunableType=ntwXFP2TunableType, card_MC_Co_Ntw_SFP_Inserted=card_MC_Co_Ntw_SFP_Inserted, card_MC_E1_Rmt_Port2_AIS_Normal=card_MC_E1_Rmt_Port2_AIS_Normal, mc2_5GMCPort2link=mc2_5GMCPort2link, mc1GE2ORmtPort2SFPExist=mc1GE2ORmtPort2SFPExist, getSfpCmd=getSfpCmd, mc10G_OEO2RSFP1=mc10G_OEO2RSFP1, card_MC_Co_SFPSFP2_Removed=card_MC_Co_SFPSFP2_Removed, mc1GO2ORmtPort1SFPlink=mc1GO2ORmtPort1SFPlink, mcPmObjects=mcPmObjects, card_MC_Co_Tx_Up=card_MC_Co_Tx_Up, qsfpAccTxPower4=qsfpAccTxPower4, shelf_Lost=shelf_Lost, mcPmEntry=mcPmEntry, mc2_5Cm1gSfpEntry=mc2_5Cm1gSfpEntry, mc1GO2OSfp3Entry=mc1GO2OSfp3Entry, cwdmWavelength4=cwdmWavelength4, xfpWaveLengthTunability=xfpWaveLengthTunability, card_MC_FAN_Abnormal=card_MC_FAN_Abnormal, mc10G_OEO2RSFP2Loopback=mc10G_OEO2RSFP2Loopback, subnet=subnet, card_MC_Co_Port2_Up=card_MC_Co_Port2_Up, card_MC_Co_XFP2_Removed=card_MC_Co_XFP2_Removed, shelf_fan_On=shelf_fan_On, mcQCA8334PortObjects=mcQCA8334PortObjects, mcE1Port1Loop=mcE1Port1Loop, mc10G_OEETxlink=mc10G_OEETxlink, mc10G_OEOHWLoopback=mc10G_OEOHWLoopback, mcRmt4_25G_OEOCurSpdMode=mcRmt4_25G_OEOCurSpdMode, coCardDesc=coCardDesc, nmuConfig=nmuConfig, mc1GO2OCardEntry=mc1GO2OCardEntry, mc1go2o_sfpBrSpeed=mc1go2o_sfpBrSpeed, fan=fan, mc10GOEO3RCardEntry=mc10GOEO3RCardEntry, card_MC_Co_XFP1_Down=card_MC_Co_XFP1_Down, card_MC_Rmt_XFP1_Down=card_MC_Rmt_XFP1_Down, mcE1Objects=mcE1Objects, card_MC_Rmt_Tx_Down1=card_MC_Rmt_Tx_Down1, mcHWWorkMode=mcHWWorkMode, card_MC_Rmt_SFPSFP1_Down=card_MC_Rmt_SFPSFP1_Down, card_MC_Co_QSFP2_Lane1_Down=card_MC_Co_QSFP2_Lane1_Down, mc4_25G_OEOAccPD=mc4_25G_OEOAccPD, cwdmWavelength2=cwdmWavelength2, trapHost4=trapHost4, mcQCA8334PortTable=mcQCA8334PortTable, mcCWDMCardObjects=mcCWDMCardObjects, mcTransmitMode=mcTransmitMode, sfpTemperature=sfpTemperature, qsfpNtwConnector=qsfpNtwConnector, mc4_25G_OEOCardTable=mc4_25G_OEOCardTable, mc40G_OEOLane4LoopMode=mc40G_OEOLane4LoopMode, mcQCA8334Objects=mcQCA8334Objects, mc40G_OEOCardObjects=mc40G_OEOCardObjects, shelf_psuB_Off=shelf_psuB_Off, mcIP175DRmtTxlink=mcIP175DRmtTxlink, mc2_5g_sfpVoltage=mc2_5g_sfpVoltage, mcCWDMCardTable=mcCWDMCardTable, mcRmtTransmitMode=mcRmtTransmitMode, mcFxlink=mcFxlink, mcRxByteLo=mcRxByteLo, mc1GE2OTxlink=mc1GE2OTxlink, mc1go2o_sfpVoltage=mc1go2o_sfpVoltage, mc10GOEO1RCardObjects=mc10GOEO1RCardObjects, card_MC_E1_Rmt_Port1_CV_Alarm=card_MC_E1_Rmt_Port1_CV_Alarm, card_MC_Co_XFP1_Up=card_MC_Co_XFP1_Up, mc10G_OEEObjects=mc10G_OEEObjects, card_MC_E1T1_Co_AIS_Alarm=card_MC_E1T1_Co_AIS_Alarm, mc1go2o_sfpSmLength=mc1go2o_sfpSmLength, shelf_Detected=shelf_Detected, card_MC_Co_SFPSFP2_Inserted=card_MC_Co_SFPSFP2_Inserted, card_MC_Rmt_Acc_SFP_Inserted=card_MC_Rmt_Acc_SFP_Inserted, mcIP175DCardObjects=mcIP175DCardObjects, card_MC_Co_XFP2_Down=card_MC_Co_XFP2_Down, mcQCA8334Txlink=mcQCA8334Txlink, mcE1Port2AIS=mcE1Port2AIS, card_MC_Co_Tx_Down2=card_MC_Co_Tx_Down2, sfpTransCode=sfpTransCode, mc4_25G_OEOLoopback=mc4_25G_OEOLoopback, mcNtwXFP2TunableType=mcNtwXFP2TunableType, accsfpVoltage=accsfpVoltage, mcRmt10G_OEOSFP1=mcRmt10G_OEOSFP1, mc1GO2ORmtPort3HWSpd=mc1GO2ORmtPort3HWSpd, mc10G_OEO2RHWSFP2Loopback=mc10G_OEO2RHWSFP2Loopback, qsfpNtwTxPower3=qsfpNtwTxPower3, mc10G_OEO2RVersion=mc10G_OEO2RVersion, accsfpMmLength=accsfpMmLength, mc10G_OEO2RHWSpdMode=mc10G_OEO2RHWSpdMode, mc10G_OEO2RSFP1Loopback=mc10G_OEO2RSFP1Loopback, mc1GE2OCardEntry=mc1GE2OCardEntry, mcQCA8334RmtCurWorkMode=mcQCA8334RmtCurWorkMode, xfpTunableType=xfpTunableType, card_MC_Co_QSFP1_Lane4_Down=card_MC_Co_QSFP1_Lane4_Down, mcIP175DDownStream=mcIP175DDownStream, cardObjects=cardObjects, alarmMIB=alarmMIB, accXFP1WaveLengthTunability=accXFP1WaveLengthTunability, qsfpNtwTxPower4=qsfpNtwTxPower4, mcE1T1Objects=mcE1T1Objects, mcAccSfpExist=mcAccSfpExist, card_MC_E1_Co_Port2_AIS_Normal=card_MC_E1_Co_Port2_AIS_Normal, card_MC_E1_Co_Port2_LOS_Alarm=card_MC_E1_Co_Port2_LOS_Alarm, mcIP175DRmtCfgWorkMode=mcIP175DRmtCfgWorkMode, mc40G_OEOQsfp2Lane1_link=mc40G_OEOQsfp2Lane1_link, accsfpCompliance=accsfpCompliance, card_MC_Co_SFP3_Inserted=card_MC_Co_SFP3_Inserted)
# Copyright (c) 2009 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'conditions': [ ['OS!="win"', { 'variables': { 'config_h_dir': '.', # crafted for gcc/linux. }, }, { # else, OS=="win" 'variables': { 'config_h_dir': 'vsprojects', # crafted for msvc. }, 'target_defaults': { 'msvs_disabled_warnings': [ 4018, # signed/unsigned mismatch in comparison 4244, # implicit conversion, possible loss of data 4355, # 'this' used in base member initializer list ], 'defines!': [ 'WIN32_LEAN_AND_MEAN', # Protobuf defines this itself. ], }, }] ], 'targets': [ # The "lite" lib is about 1/7th the size of the heavy lib, # but it doesn't support some of the more exotic features of # protobufs, like reflection. To generate C++ code that can link # against the lite version of the library, add the option line: # # option optimize_for = LITE_RUNTIME; # # to your .proto file. { 'target_name': 'protobuf_lite', 'type': '<(library)', 'toolsets': ['host', 'target'], 'sources': [ 'src/google/protobuf/stubs/common.h', 'src/google/protobuf/stubs/once.h', 'src/google/protobuf/extension_set.h', 'src/google/protobuf/generated_message_util.h', 'src/google/protobuf/message_lite.h', 'src/google/protobuf/repeated_field.h', 'src/google/protobuf/unknown_field_set.cc', 'src/google/protobuf/unknown_field_set.h', 'src/google/protobuf/wire_format_lite.h', 'src/google/protobuf/wire_format_lite_inl.h', 'src/google/protobuf/io/coded_stream.h', 'src/google/protobuf/io/zero_copy_stream.h', 'src/google/protobuf/io/zero_copy_stream_impl_lite.h', 'src/google/protobuf/stubs/common.cc', 'src/google/protobuf/stubs/once.cc', 'src/google/protobuf/stubs/hash.h', 'src/google/protobuf/stubs/map-util.h', 'src/google/protobuf/stubs/stl_util-inl.h', 'src/google/protobuf/extension_set.cc', 'src/google/protobuf/generated_message_util.cc', 'src/google/protobuf/message_lite.cc', 'src/google/protobuf/repeated_field.cc', 'src/google/protobuf/wire_format_lite.cc', 'src/google/protobuf/io/coded_stream.cc', 'src/google/protobuf/io/coded_stream_inl.h', 'src/google/protobuf/io/zero_copy_stream.cc', 'src/google/protobuf/io/zero_copy_stream_impl_lite.cc', '<(config_h_dir)/config.h', ], 'include_dirs': [ '<(config_h_dir)', 'src', ], # This macro must be defined to suppress the use of dynamic_cast<>, # which requires RTTI. 'defines': [ 'GOOGLE_PROTOBUF_NO_RTTI', ], 'direct_dependent_settings': { 'include_dirs': [ '<(config_h_dir)', 'src', ], 'defines': [ 'GOOGLE_PROTOBUF_NO_RTTI', ], }, }, # This is the full, heavy protobuf lib that's needed for c++ .proto's # that don't specify the LITE_RUNTIME option. The protocol # compiler itself (protoc) falls into that category. # # DO NOT LINK AGAINST THIS TARGET IN CHROME CODE --agl { 'target_name': 'protobuf_full_do_not_use', 'type': '<(library)', 'toolsets': ['host','target'], 'sources': [ 'src/google/protobuf/descriptor.h', 'src/google/protobuf/descriptor.pb.h', 'src/google/protobuf/descriptor_database.h', 'src/google/protobuf/dynamic_message.h', 'src/google/protobuf/generated_message_reflection.h', 'src/google/protobuf/message.h', 'src/google/protobuf/reflection_ops.h', 'src/google/protobuf/service.h', 'src/google/protobuf/text_format.h', 'src/google/protobuf/unknown_field_set.h', 'src/google/protobuf/wire_format.h', 'src/google/protobuf/io/gzip_stream.h', 'src/google/protobuf/io/printer.h', 'src/google/protobuf/io/tokenizer.h', 'src/google/protobuf/io/zero_copy_stream_impl.h', 'src/google/protobuf/compiler/code_generator.h', 'src/google/protobuf/compiler/command_line_interface.h', 'src/google/protobuf/compiler/importer.h', 'src/google/protobuf/compiler/parser.h', 'src/google/protobuf/stubs/strutil.cc', 'src/google/protobuf/stubs/strutil.h', 'src/google/protobuf/stubs/substitute.cc', 'src/google/protobuf/stubs/substitute.h', 'src/google/protobuf/stubs/structurally_valid.cc', 'src/google/protobuf/descriptor.cc', 'src/google/protobuf/descriptor.pb.cc', 'src/google/protobuf/descriptor_database.cc', 'src/google/protobuf/dynamic_message.cc', 'src/google/protobuf/extension_set_heavy.cc', 'src/google/protobuf/generated_message_reflection.cc', 'src/google/protobuf/message.cc', 'src/google/protobuf/reflection_ops.cc', 'src/google/protobuf/service.cc', 'src/google/protobuf/text_format.cc', 'src/google/protobuf/unknown_field_set.cc', 'src/google/protobuf/wire_format.cc', # This file pulls in zlib, but it's not actually used by protoc, so # instead of compiling zlib for the host, let's just exclude this. # 'src/src/google/protobuf/io/gzip_stream.cc', 'src/google/protobuf/io/printer.cc', 'src/google/protobuf/io/tokenizer.cc', 'src/google/protobuf/io/zero_copy_stream_impl.cc', 'src/google/protobuf/compiler/importer.cc', 'src/google/protobuf/compiler/parser.cc', ], 'dependencies': [ 'protobuf_lite', ], 'export_dependent_settings': [ 'protobuf_lite', ], }, { 'target_name': 'protoc', 'type': 'executable', 'toolsets': ['host'], 'sources': [ 'src/google/protobuf/compiler/code_generator.cc', 'src/google/protobuf/compiler/command_line_interface.cc', 'src/google/protobuf/compiler/plugin.cc', 'src/google/protobuf/compiler/plugin.pb.cc', 'src/google/protobuf/compiler/subprocess.cc', 'src/google/protobuf/compiler/subprocess.h', 'src/google/protobuf/compiler/zip_writer.cc', 'src/google/protobuf/compiler/zip_writer.h', 'src/google/protobuf/compiler/cpp/cpp_enum.cc', 'src/google/protobuf/compiler/cpp/cpp_enum.h', 'src/google/protobuf/compiler/cpp/cpp_enum_field.cc', 'src/google/protobuf/compiler/cpp/cpp_enum_field.h', 'src/google/protobuf/compiler/cpp/cpp_extension.cc', 'src/google/protobuf/compiler/cpp/cpp_extension.h', 'src/google/protobuf/compiler/cpp/cpp_field.cc', 'src/google/protobuf/compiler/cpp/cpp_field.h', 'src/google/protobuf/compiler/cpp/cpp_file.cc', 'src/google/protobuf/compiler/cpp/cpp_file.h', 'src/google/protobuf/compiler/cpp/cpp_generator.cc', 'src/google/protobuf/compiler/cpp/cpp_helpers.cc', 'src/google/protobuf/compiler/cpp/cpp_helpers.h', 'src/google/protobuf/compiler/cpp/cpp_message.cc', 'src/google/protobuf/compiler/cpp/cpp_message.h', 'src/google/protobuf/compiler/cpp/cpp_message_field.cc', 'src/google/protobuf/compiler/cpp/cpp_message_field.h', 'src/google/protobuf/compiler/cpp/cpp_primitive_field.cc', 'src/google/protobuf/compiler/cpp/cpp_primitive_field.h', 'src/google/protobuf/compiler/cpp/cpp_service.cc', 'src/google/protobuf/compiler/cpp/cpp_service.h', 'src/google/protobuf/compiler/cpp/cpp_string_field.cc', 'src/google/protobuf/compiler/cpp/cpp_string_field.h', 'src/google/protobuf/compiler/java/java_enum.cc', 'src/google/protobuf/compiler/java/java_enum.h', 'src/google/protobuf/compiler/java/java_enum_field.cc', 'src/google/protobuf/compiler/java/java_enum_field.h', 'src/google/protobuf/compiler/java/java_extension.cc', 'src/google/protobuf/compiler/java/java_extension.h', 'src/google/protobuf/compiler/java/java_field.cc', 'src/google/protobuf/compiler/java/java_field.h', 'src/google/protobuf/compiler/java/java_file.cc', 'src/google/protobuf/compiler/java/java_file.h', 'src/google/protobuf/compiler/java/java_generator.cc', 'src/google/protobuf/compiler/java/java_helpers.cc', 'src/google/protobuf/compiler/java/java_helpers.h', 'src/google/protobuf/compiler/java/java_message.cc', 'src/google/protobuf/compiler/java/java_message.h', 'src/google/protobuf/compiler/java/java_message_field.cc', 'src/google/protobuf/compiler/java/java_message_field.h', 'src/google/protobuf/compiler/java/java_primitive_field.cc', 'src/google/protobuf/compiler/java/java_primitive_field.h', 'src/google/protobuf/compiler/java/java_service.cc', 'src/google/protobuf/compiler/java/java_service.h', 'src/google/protobuf/compiler/java/java_string_field.cc', 'src/google/protobuf/compiler/java/java_string_field.h', 'src/google/protobuf/compiler/python/python_generator.cc', 'src/google/protobuf/compiler/main.cc', ], 'dependencies': [ 'protobuf_full_do_not_use', ], 'include_dirs': [ '<(config_h_dir)', 'src/src', ], }, { # Generate the python module needed by all protoc-generated Python code. 'target_name': 'py_proto', 'type': 'none', 'copies': [ { 'destination': '<(PRODUCT_DIR)/pyproto/google/', 'files': [ # google/ module gets an empty __init__.py. '__init__.py', ], }, { 'destination': '<(PRODUCT_DIR)/pyproto/google/protobuf', 'files': [ 'python/google/protobuf/__init__.py', 'python/google/protobuf/descriptor.py', 'python/google/protobuf/message.py', 'python/google/protobuf/reflection.py', 'python/google/protobuf/service.py', 'python/google/protobuf/service_reflection.py', 'python/google/protobuf/text_format.py', # TODO(ncarter): protoc's python generator treats descriptor.proto # specially, but it's not possible to trigger the special treatment # unless you run protoc from ./src/src (the treatment is based # on the path to the .proto file matching a constant exactly). # I'm not sure how to convince gyp to execute a rule from a # different directory. Until this is resolved, use a copy of # descriptor_pb2.py that I manually generated. 'descriptor_pb2.py', ], }, { 'destination': '<(PRODUCT_DIR)/pyproto/google/protobuf/internal', 'files': [ 'python/google/protobuf/internal/__init__.py', 'python/google/protobuf/internal/api_implementation.py', 'python/google/protobuf/internal/containers.py', 'python/google/protobuf/internal/cpp_message.py', 'python/google/protobuf/internal/decoder.py', 'python/google/protobuf/internal/encoder.py', 'python/google/protobuf/internal/generator_test.py', 'python/google/protobuf/internal/message_listener.py', 'python/google/protobuf/internal/python_message.py', 'python/google/protobuf/internal/type_checkers.py', 'python/google/protobuf/internal/wire_format.py', ], }, ], # # We can't generate a proper descriptor_pb2.py -- see earlier comment. # 'rules': [ # { # 'rule_name': 'genproto', # 'extension': 'proto', # 'inputs': [ # '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)', # ], # 'variables': { # # The protoc compiler requires a proto_path argument with the # # directory containing the .proto file. # 'rule_input_relpath': 'src/google/protobuf', # }, # 'outputs': [ # '<(PRODUCT_DIR)/pyproto/google/protobuf/<(RULE_INPUT_ROOT)_pb2.py', # ], # 'action': [ # '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)protoc<(EXECUTABLE_SUFFIX)', # '-I./src', # '-I.', # '--python_out=<(PRODUCT_DIR)/pyproto/google/protobuf', # 'google/protobuf/descriptor.proto', # ], # 'message': 'Generating Python code from <(RULE_INPUT_PATH)', # }, # ], # 'dependencies': [ # 'protoc#host', # ], # 'sources': [ # 'src/google/protobuf/descriptor.proto', # ], }, ], } # Local Variables: # tab-width:2 # indent-tabs-mode:nil # End: # vim: set expandtab tabstop=2 shiftwidth=2:
{'conditions': [['OS!="win"', {'variables': {'config_h_dir': '.'}}, {'variables': {'config_h_dir': 'vsprojects'}, 'target_defaults': {'msvs_disabled_warnings': [4018, 4244, 4355], 'defines!': ['WIN32_LEAN_AND_MEAN']}}]], 'targets': [{'target_name': 'protobuf_lite', 'type': '<(library)', 'toolsets': ['host', 'target'], 'sources': ['src/google/protobuf/stubs/common.h', 'src/google/protobuf/stubs/once.h', 'src/google/protobuf/extension_set.h', 'src/google/protobuf/generated_message_util.h', 'src/google/protobuf/message_lite.h', 'src/google/protobuf/repeated_field.h', 'src/google/protobuf/unknown_field_set.cc', 'src/google/protobuf/unknown_field_set.h', 'src/google/protobuf/wire_format_lite.h', 'src/google/protobuf/wire_format_lite_inl.h', 'src/google/protobuf/io/coded_stream.h', 'src/google/protobuf/io/zero_copy_stream.h', 'src/google/protobuf/io/zero_copy_stream_impl_lite.h', 'src/google/protobuf/stubs/common.cc', 'src/google/protobuf/stubs/once.cc', 'src/google/protobuf/stubs/hash.h', 'src/google/protobuf/stubs/map-util.h', 'src/google/protobuf/stubs/stl_util-inl.h', 'src/google/protobuf/extension_set.cc', 'src/google/protobuf/generated_message_util.cc', 'src/google/protobuf/message_lite.cc', 'src/google/protobuf/repeated_field.cc', 'src/google/protobuf/wire_format_lite.cc', 'src/google/protobuf/io/coded_stream.cc', 'src/google/protobuf/io/coded_stream_inl.h', 'src/google/protobuf/io/zero_copy_stream.cc', 'src/google/protobuf/io/zero_copy_stream_impl_lite.cc', '<(config_h_dir)/config.h'], 'include_dirs': ['<(config_h_dir)', 'src'], 'defines': ['GOOGLE_PROTOBUF_NO_RTTI'], 'direct_dependent_settings': {'include_dirs': ['<(config_h_dir)', 'src'], 'defines': ['GOOGLE_PROTOBUF_NO_RTTI']}}, {'target_name': 'protobuf_full_do_not_use', 'type': '<(library)', 'toolsets': ['host', 'target'], 'sources': ['src/google/protobuf/descriptor.h', 'src/google/protobuf/descriptor.pb.h', 'src/google/protobuf/descriptor_database.h', 'src/google/protobuf/dynamic_message.h', 'src/google/protobuf/generated_message_reflection.h', 'src/google/protobuf/message.h', 'src/google/protobuf/reflection_ops.h', 'src/google/protobuf/service.h', 'src/google/protobuf/text_format.h', 'src/google/protobuf/unknown_field_set.h', 'src/google/protobuf/wire_format.h', 'src/google/protobuf/io/gzip_stream.h', 'src/google/protobuf/io/printer.h', 'src/google/protobuf/io/tokenizer.h', 'src/google/protobuf/io/zero_copy_stream_impl.h', 'src/google/protobuf/compiler/code_generator.h', 'src/google/protobuf/compiler/command_line_interface.h', 'src/google/protobuf/compiler/importer.h', 'src/google/protobuf/compiler/parser.h', 'src/google/protobuf/stubs/strutil.cc', 'src/google/protobuf/stubs/strutil.h', 'src/google/protobuf/stubs/substitute.cc', 'src/google/protobuf/stubs/substitute.h', 'src/google/protobuf/stubs/structurally_valid.cc', 'src/google/protobuf/descriptor.cc', 'src/google/protobuf/descriptor.pb.cc', 'src/google/protobuf/descriptor_database.cc', 'src/google/protobuf/dynamic_message.cc', 'src/google/protobuf/extension_set_heavy.cc', 'src/google/protobuf/generated_message_reflection.cc', 'src/google/protobuf/message.cc', 'src/google/protobuf/reflection_ops.cc', 'src/google/protobuf/service.cc', 'src/google/protobuf/text_format.cc', 'src/google/protobuf/unknown_field_set.cc', 'src/google/protobuf/wire_format.cc', 'src/google/protobuf/io/printer.cc', 'src/google/protobuf/io/tokenizer.cc', 'src/google/protobuf/io/zero_copy_stream_impl.cc', 'src/google/protobuf/compiler/importer.cc', 'src/google/protobuf/compiler/parser.cc'], 'dependencies': ['protobuf_lite'], 'export_dependent_settings': ['protobuf_lite']}, {'target_name': 'protoc', 'type': 'executable', 'toolsets': ['host'], 'sources': ['src/google/protobuf/compiler/code_generator.cc', 'src/google/protobuf/compiler/command_line_interface.cc', 'src/google/protobuf/compiler/plugin.cc', 'src/google/protobuf/compiler/plugin.pb.cc', 'src/google/protobuf/compiler/subprocess.cc', 'src/google/protobuf/compiler/subprocess.h', 'src/google/protobuf/compiler/zip_writer.cc', 'src/google/protobuf/compiler/zip_writer.h', 'src/google/protobuf/compiler/cpp/cpp_enum.cc', 'src/google/protobuf/compiler/cpp/cpp_enum.h', 'src/google/protobuf/compiler/cpp/cpp_enum_field.cc', 'src/google/protobuf/compiler/cpp/cpp_enum_field.h', 'src/google/protobuf/compiler/cpp/cpp_extension.cc', 'src/google/protobuf/compiler/cpp/cpp_extension.h', 'src/google/protobuf/compiler/cpp/cpp_field.cc', 'src/google/protobuf/compiler/cpp/cpp_field.h', 'src/google/protobuf/compiler/cpp/cpp_file.cc', 'src/google/protobuf/compiler/cpp/cpp_file.h', 'src/google/protobuf/compiler/cpp/cpp_generator.cc', 'src/google/protobuf/compiler/cpp/cpp_helpers.cc', 'src/google/protobuf/compiler/cpp/cpp_helpers.h', 'src/google/protobuf/compiler/cpp/cpp_message.cc', 'src/google/protobuf/compiler/cpp/cpp_message.h', 'src/google/protobuf/compiler/cpp/cpp_message_field.cc', 'src/google/protobuf/compiler/cpp/cpp_message_field.h', 'src/google/protobuf/compiler/cpp/cpp_primitive_field.cc', 'src/google/protobuf/compiler/cpp/cpp_primitive_field.h', 'src/google/protobuf/compiler/cpp/cpp_service.cc', 'src/google/protobuf/compiler/cpp/cpp_service.h', 'src/google/protobuf/compiler/cpp/cpp_string_field.cc', 'src/google/protobuf/compiler/cpp/cpp_string_field.h', 'src/google/protobuf/compiler/java/java_enum.cc', 'src/google/protobuf/compiler/java/java_enum.h', 'src/google/protobuf/compiler/java/java_enum_field.cc', 'src/google/protobuf/compiler/java/java_enum_field.h', 'src/google/protobuf/compiler/java/java_extension.cc', 'src/google/protobuf/compiler/java/java_extension.h', 'src/google/protobuf/compiler/java/java_field.cc', 'src/google/protobuf/compiler/java/java_field.h', 'src/google/protobuf/compiler/java/java_file.cc', 'src/google/protobuf/compiler/java/java_file.h', 'src/google/protobuf/compiler/java/java_generator.cc', 'src/google/protobuf/compiler/java/java_helpers.cc', 'src/google/protobuf/compiler/java/java_helpers.h', 'src/google/protobuf/compiler/java/java_message.cc', 'src/google/protobuf/compiler/java/java_message.h', 'src/google/protobuf/compiler/java/java_message_field.cc', 'src/google/protobuf/compiler/java/java_message_field.h', 'src/google/protobuf/compiler/java/java_primitive_field.cc', 'src/google/protobuf/compiler/java/java_primitive_field.h', 'src/google/protobuf/compiler/java/java_service.cc', 'src/google/protobuf/compiler/java/java_service.h', 'src/google/protobuf/compiler/java/java_string_field.cc', 'src/google/protobuf/compiler/java/java_string_field.h', 'src/google/protobuf/compiler/python/python_generator.cc', 'src/google/protobuf/compiler/main.cc'], 'dependencies': ['protobuf_full_do_not_use'], 'include_dirs': ['<(config_h_dir)', 'src/src']}, {'target_name': 'py_proto', 'type': 'none', 'copies': [{'destination': '<(PRODUCT_DIR)/pyproto/google/', 'files': ['__init__.py']}, {'destination': '<(PRODUCT_DIR)/pyproto/google/protobuf', 'files': ['python/google/protobuf/__init__.py', 'python/google/protobuf/descriptor.py', 'python/google/protobuf/message.py', 'python/google/protobuf/reflection.py', 'python/google/protobuf/service.py', 'python/google/protobuf/service_reflection.py', 'python/google/protobuf/text_format.py', 'descriptor_pb2.py']}, {'destination': '<(PRODUCT_DIR)/pyproto/google/protobuf/internal', 'files': ['python/google/protobuf/internal/__init__.py', 'python/google/protobuf/internal/api_implementation.py', 'python/google/protobuf/internal/containers.py', 'python/google/protobuf/internal/cpp_message.py', 'python/google/protobuf/internal/decoder.py', 'python/google/protobuf/internal/encoder.py', 'python/google/protobuf/internal/generator_test.py', 'python/google/protobuf/internal/message_listener.py', 'python/google/protobuf/internal/python_message.py', 'python/google/protobuf/internal/type_checkers.py', 'python/google/protobuf/internal/wire_format.py']}]}]}
# def mul(a): # return lambda b:b*a # singler = mul(1) # addition = lambda b:b*1 # doubler = mul(2) # addition = lambda b:b*2 # tripler = mul(3) # addition = lambda b:b*3 # print(doubler(7)) # 7*2 = 14 # print(tripler(7)) # 7*3 = 21 # print(singler(7)) # 7*1 = 7 class Student: def __init__(self, fname): self.fname = fname def greet(self, fname): return f"Hello, {fname}" class BatchA(Student): def __init__(self, lname): self.lname = lname #Student.__init__(self, "Nikunj") super().__init__("Nikunj") def printName(self): return f"{self.fname} {self.lname}" stud = BatchA("Thakor") print(stud.printName()) rgb(255, 255, 255) # White rgb(255, 0, 0) # Red rgb(0, 0, 0) # Black rgb(0, 255, 255) # Cyan rgb(255, 255, 0) # Yellow #00ff00 //green #1e90ff //dodgerblue
class Student: def __init__(self, fname): self.fname = fname def greet(self, fname): return f'Hello, {fname}' class Batcha(Student): def __init__(self, lname): self.lname = lname super().__init__('Nikunj') def print_name(self): return f'{self.fname} {self.lname}' stud = batch_a('Thakor') print(stud.printName()) rgb(255, 255, 255) rgb(255, 0, 0) rgb(0, 0, 0) rgb(0, 255, 255) rgb(255, 255, 0)
class MyError(Exception): pass class PropertyContainer(object): def __init__(self): self.props = {} def set_property(self, prop, value): self.props[prop] = value def get_property(self, prop): return self.props.get(prop) def has_property(self, prop): return prop in self.props class Node(PropertyContainer): pass class Edge(PropertyContainer): def __init__(self, node1, node2): super().__init__() self.node1 = node1 self.node2 = node2 class Network(object): NAME_PROP = "name" # NAME_PROP is an optional string property FRIEND_PROP = "friend" # FRIEND_PROP is an optional boolean property def __init__(self): self.nodes = set() self.edges = set() def create_person(self): node = Node() self.nodes.add(node) return node # add prop to value; overwrite if prop exists def add_person_property(self, person, prop, value): # flag non-existent person if person not in self.nodes: raise RuntimeError("person does not exist") if prop == Network.NAME_PROP: # disallow non-string values for NAME_PROP property if not isinstance(value, str): raise TypeError( "{0} is a string property".format(Network.NAME_PROP)) # disallow multiple people to have the same name for p in self.nodes: if p.get_property(Network.NAME_PROP) == value and \ p is not person: raise ValueError("{0} name already taken".format(value)) person.set_property(prop, value) def add_relation(self, person1, person2): # flag non-existent persons if person1 not in self.nodes: # raise RuntimeError("person1 does not exist") person1 = self.create_person() if person2 not in self.nodes: raise RuntimeError("person2 does not exist") # flag existing edge for e in self.edges: if (e.node1 is person1 and e.node2 is person2) or \ (e.node1 is person2 and e.node2 is person1): raise ValueError("relation exists") self.edges.add(Edge(person1, person2)) def add_relation_property(self, person1, person2, prop, value): # disallow non-boolean values for FRIEND_PROP property if prop == Network.FRIEND_PROP and not isinstance(value, bool): raise TypeError( "{0} is a boolean property".format(Network.FRIEND_PROP)) for e in self.edges: if (e.node1 is person1 and e.node2 is person2) or \ (e.node1 is person2 and e.node2 is person1): e.set_property(prop, value) return # flag non-existent relation raise RuntimeError("Non-existent relation") # get a person with given name def get_person(self, name): # disallow non-string values for name if not isinstance(name, str): raise TypeError( "{0} is a string argument".format(Network.NAME_PROP)) for n in self.nodes: if n.get_property(Network.NAME_PROP) == name: return n # flag non-existent person raise RuntimeError("No person named {0}".format(name)) # get friends of friends of a person with given name def friends_of_friends(self, name): # disallow non-string values for name if not isinstance(name, str): raise TypeError( "{0} is a string argument".format(Network.NAME_PROP)) # flag non-existent person person = self.get_person(name) visited = set([person]) i = 0 while i < 2: newly_visited = set() for p in (x for x in visited): for e in (x for x in self.edges if x.get_property(Network.FRIEND_PROP) == True): n1 = e.node1 n2 = e.node2 if n1 == p: newly_visited.add(e.node2) elif n2 == p: newly_visited.add(e.node1) visited = newly_visited i += 1 return list(visited)
class Myerror(Exception): pass class Propertycontainer(object): def __init__(self): self.props = {} def set_property(self, prop, value): self.props[prop] = value def get_property(self, prop): return self.props.get(prop) def has_property(self, prop): return prop in self.props class Node(PropertyContainer): pass class Edge(PropertyContainer): def __init__(self, node1, node2): super().__init__() self.node1 = node1 self.node2 = node2 class Network(object): name_prop = 'name' friend_prop = 'friend' def __init__(self): self.nodes = set() self.edges = set() def create_person(self): node = node() self.nodes.add(node) return node def add_person_property(self, person, prop, value): if person not in self.nodes: raise runtime_error('person does not exist') if prop == Network.NAME_PROP: if not isinstance(value, str): raise type_error('{0} is a string property'.format(Network.NAME_PROP)) for p in self.nodes: if p.get_property(Network.NAME_PROP) == value and p is not person: raise value_error('{0} name already taken'.format(value)) person.set_property(prop, value) def add_relation(self, person1, person2): if person1 not in self.nodes: person1 = self.create_person() if person2 not in self.nodes: raise runtime_error('person2 does not exist') for e in self.edges: if e.node1 is person1 and e.node2 is person2 or (e.node1 is person2 and e.node2 is person1): raise value_error('relation exists') self.edges.add(edge(person1, person2)) def add_relation_property(self, person1, person2, prop, value): if prop == Network.FRIEND_PROP and (not isinstance(value, bool)): raise type_error('{0} is a boolean property'.format(Network.FRIEND_PROP)) for e in self.edges: if e.node1 is person1 and e.node2 is person2 or (e.node1 is person2 and e.node2 is person1): e.set_property(prop, value) return raise runtime_error('Non-existent relation') def get_person(self, name): if not isinstance(name, str): raise type_error('{0} is a string argument'.format(Network.NAME_PROP)) for n in self.nodes: if n.get_property(Network.NAME_PROP) == name: return n raise runtime_error('No person named {0}'.format(name)) def friends_of_friends(self, name): if not isinstance(name, str): raise type_error('{0} is a string argument'.format(Network.NAME_PROP)) person = self.get_person(name) visited = set([person]) i = 0 while i < 2: newly_visited = set() for p in (x for x in visited): for e in (x for x in self.edges if x.get_property(Network.FRIEND_PROP) == True): n1 = e.node1 n2 = e.node2 if n1 == p: newly_visited.add(e.node2) elif n2 == p: newly_visited.add(e.node1) visited = newly_visited i += 1 return list(visited)
# code.... a = 1 b = 2 c = 3 s = a+b+c r = s/3 print(r) # code.... ''' def average(): a=1 b=2 c=3 s=a+b+c r=s/3 print(r) average() ''' ''' #input #parameter #argument def average(a,b,c): s=a+b+c r=s/3 print(r) average(10,20,30) ''' def average(a, b, c): s = a+b+c r = s/3 return r print(average(10, 20, 30))
a = 1 b = 2 c = 3 s = a + b + c r = s / 3 print(r) '\ndef average():\n a=1\n b=2\n c=3\n s=a+b+c\n r=s/3\n print(r)\naverage()\n' '\n#input\n#parameter\n#argument\ndef average(a,b,c):\n s=a+b+c\n r=s/3\n print(r)\naverage(10,20,30)\n' def average(a, b, c): s = a + b + c r = s / 3 return r print(average(10, 20, 30))
''' This is the Settings File for the Mattermost-Octane Bridge. You can change various variables here to customize and set up the client. ''' '''----------------------Mattermost Webhook Configuration----------------------''' #URL of the webhook from mattermost. To create one go to `Main Menu -> Integrations -> Incoming Webhooks` and press `Add Incoming Webhook` mm_webhook_url = 'http://localhost:8065/hooks/yuro8xrfeffj787cj1bwc4ziue' #Override the channel to send the notifications to, use the channel name as a String mm_channel = None #Set a custom Username to display in Mattermost mm_username = 'Defect Notification' #Set a custom Profile Image for the Client mm_profileimage = 'https://i.imgur.com/7Wg3Tgs.png' #Telekom T Image #The latter two need to be enabled in the settings.json of the Mattermost server '''----------------------------Flask Configuration----------------------------''' #set external IP for the Flask Server to create a Webhook for ALM Octane #local: 127.0.0.1 / False #default external: 0.0.0.0 (will default to only available external adress) external_ip = False #default: 5000 port = 5000 #external webhook verify token can be set here, if set as `None` it will be autogenerated & changed on each startup. wh_token = None
""" This is the Settings File for the Mattermost-Octane Bridge. You can change various variables here to customize and set up the client. """ '----------------------Mattermost Webhook Configuration----------------------' mm_webhook_url = 'http://localhost:8065/hooks/yuro8xrfeffj787cj1bwc4ziue' mm_channel = None mm_username = 'Defect Notification' mm_profileimage = 'https://i.imgur.com/7Wg3Tgs.png' '----------------------------Flask Configuration----------------------------' external_ip = False port = 5000 wh_token = None
def hello_world(request): request_json = request.get_json() name = 'World' if request_json and 'name' in request_json: name = request_json['name'] headers = { 'Access-Control-Allow-Origin': 'https://furikuri.net', 'Access-Control-Allow-Methods': 'GET, POST', 'Access-Control-Allow-Headers': 'Content-Type' } return ('Hello ' + name + '! From GCP + Python', 200, headers)
def hello_world(request): request_json = request.get_json() name = 'World' if request_json and 'name' in request_json: name = request_json['name'] headers = {'Access-Control-Allow-Origin': 'https://furikuri.net', 'Access-Control-Allow-Methods': 'GET, POST', 'Access-Control-Allow-Headers': 'Content-Type'} return ('Hello ' + name + '! From GCP + Python', 200, headers)
#Copyright ReportLab Europe Ltd. 2000-2016 #see license.txt for license details #history http://www.reportlab.co.uk/cgi-bin/viewcvs.cgi/public/reportlab/trunk/reportlab/graphics/charts/__init__.py __version__='3.3.0' __doc__='''Business charts'''
__version__ = '3.3.0' __doc__ = 'Business charts'
total_budget = 0 while True: destination = input() if destination == "End": break minimal_budget = float(input()) while True: command = input() if command == "End": break money = float(command) total_budget += money if total_budget >= minimal_budget: print(f"Going to {destination}!") total_budget = 0 break
total_budget = 0 while True: destination = input() if destination == 'End': break minimal_budget = float(input()) while True: command = input() if command == 'End': break money = float(command) total_budget += money if total_budget >= minimal_budget: print(f'Going to {destination}!') total_budget = 0 break
price = float(input()) puzzles = int(input()) dolls = int(input()) bears = int(input()) minions = int(input()) trucks = int(input()) total_toys = puzzles + dolls + bears + minions + trucks price_puzzles = puzzles * 2.6 price_dolls = dolls * 3 price_bears = bears * 4.1 price_minions = minions * 8.2 price_trucks = trucks * 2 total_price = price_puzzles + price_dolls + price_bears + price_minions + price_trucks if total_toys >= 50: total_price = total_price - (total_price * 0.25) rent = total_price * 0.1 total_price = total_price - rent if total_price >= price: print(f"Yes! {(total_price - price):.2f} lv left.") else: print(f"Not enough money! {(price - total_price):.2f} lv needed.")
price = float(input()) puzzles = int(input()) dolls = int(input()) bears = int(input()) minions = int(input()) trucks = int(input()) total_toys = puzzles + dolls + bears + minions + trucks price_puzzles = puzzles * 2.6 price_dolls = dolls * 3 price_bears = bears * 4.1 price_minions = minions * 8.2 price_trucks = trucks * 2 total_price = price_puzzles + price_dolls + price_bears + price_minions + price_trucks if total_toys >= 50: total_price = total_price - total_price * 0.25 rent = total_price * 0.1 total_price = total_price - rent if total_price >= price: print(f'Yes! {total_price - price:.2f} lv left.') else: print(f'Not enough money! {price - total_price:.2f} lv needed.')
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of groupthink. # https://github.com/emanuelfeld/groupthink # This project is in the public domain within the United States. # Additionally, the Government of the District of Columbia waives # copyright and related rights in the work worldwide through the CC0 1.0 # Universal public domain dedication. __version__ = '1.0.0' # NOQA
__version__ = '1.0.0'
load("//python:compile.bzl", "py_proto_compile", "py_grpc_compile") load("@grpc_py_deps//:requirements.bzl", "all_requirements") def py_proto_library(**kwargs): name = kwargs.get("name") deps = kwargs.get("deps") verbose = kwargs.get("verbose") visibility = kwargs.get("visibility") name_pb = name + "_pb" py_proto_compile( name = name_pb, deps = deps, visibility = visibility, verbose = verbose, ) native.py_library( name = name, srcs = [name_pb], deps = all_requirements, # fixme don't need grpc here # This magically adds REPOSITORY_NAME/PACKAGE_NAME/{name_pb} to PYTHONPATH imports = [name_pb], visibility = visibility, ) def py_grpc_library(**kwargs): name = kwargs.get("name") deps = kwargs.get("deps") verbose = kwargs.get("verbose") visibility = kwargs.get("visibility") name_pb = name + "_pb" py_grpc_compile( name = name_pb, deps = deps, visibility = visibility, verbose = verbose, ) native.py_library( name = name, srcs = [name_pb], deps = all_requirements, # This magically adds REPOSITORY_NAME/PACKAGE_NAME/{name_pb} to PYTHONPATH imports = [name_pb], visibility = visibility, )
load('//python:compile.bzl', 'py_proto_compile', 'py_grpc_compile') load('@grpc_py_deps//:requirements.bzl', 'all_requirements') def py_proto_library(**kwargs): name = kwargs.get('name') deps = kwargs.get('deps') verbose = kwargs.get('verbose') visibility = kwargs.get('visibility') name_pb = name + '_pb' py_proto_compile(name=name_pb, deps=deps, visibility=visibility, verbose=verbose) native.py_library(name=name, srcs=[name_pb], deps=all_requirements, imports=[name_pb], visibility=visibility) def py_grpc_library(**kwargs): name = kwargs.get('name') deps = kwargs.get('deps') verbose = kwargs.get('verbose') visibility = kwargs.get('visibility') name_pb = name + '_pb' py_grpc_compile(name=name_pb, deps=deps, visibility=visibility, verbose=verbose) native.py_library(name=name, srcs=[name_pb], deps=all_requirements, imports=[name_pb], visibility=visibility)
def indexof(listofnames, value): if value in listofnames: value_index = listofnames.index(value) return(listofnames, value_index) else: return(-1)
def indexof(listofnames, value): if value in listofnames: value_index = listofnames.index(value) return (listofnames, value_index) else: return -1
{ "cells": [ { "cell_type": "code", "execution_count": 64, "metadata": {}, "outputs": [], "source": [ "# Import libraries\n", "import os, csv" ] }, { "cell_type": "code", "execution_count": 65, "metadata": {}, "outputs": [], "source": [ "#variables for the script\n", "months = [] #list of months\n", "pl =[] #list of monthly PL\n", "pl_changes = [] #list of P&L Changes\n", "n_months = 0 #count of months\n", "pl_total = 0 #total of P&L\n", "plc = 0 #variable to track PL changes\n", "avg_pl_change = 0 #average of changes in PL\n", "maxpl = 0 #maximum increase in profits\n", "minpl = 0 #maximum decrease in losses\n", "max_i = 0 #index for max pl\n", "min_i = 0 #index for min pl\n", "\n", "#read the resource file\n", "bankcsv = os.path.join(\".\", \"Resources\", \"budget_data.csv\") #set path\n", "\n", "\n", "#read file\n", "with open(bankcsv, 'r') as csv_file:\n", " csv_reader = csv.reader(csv_file,delimiter=\",\")\n", " header = next(csv_reader)\n", " \n", " #for loop to update the counters and lists\n", " for row in csv_reader:\n", " n_months += 1\n", " pl_total += int(row[1])\n", " pl.append(row[1])\n", " months.append(row[0])" ] }, { "cell_type": "code", "execution_count": 66, "metadata": {}, "outputs": [], "source": [ "# loop to track the PL change values\n", "pl_changes = [] \n", "plc = int(pl[0])\n", "for i in range(1, len(pl)):\n", " pl_changes.append(int(pl[i]) - plc)\n", " plc = int(pl[i])\n", " i += 1\n", "#print(pl_changes)" ] }, { "cell_type": "code", "execution_count": 67, "metadata": {}, "outputs": [], "source": [ "#calculate the average PL Changes, max and min\n", "avg_pl_change = sum(pl_changes) / len(pl_changes)\n", "maxpl = max(pl_changes)\n", "minpl = min(pl_changes)\n", "#print(avg_pl_change, maxpl, minpl)\n", "#print(pl_changes.index(maxpl))\n", "#print(len(pl_changes))" ] }, { "cell_type": "code", "execution_count": 68, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Financial Analysis\n", "---------------------------------------------------------------------\n", "Total Months: 86\n", "Total: $38382578\n", "Average Change: $-2315.12\n", "Greatest Increase in Profits: Feb-2012 ($1926159)\n", "Greatest Decrease in Profits: Sep-2013 ($-2196167)\n" ] } ], "source": [ "#find dates for max and min PL changes\n", "max_i = pl_changes.index(maxpl) +1 #adding +1 since the changes are calculated one row above\n", "min_i = pl_changes.index(minpl) +1\n", "\n", "maxmonth = months[max_i]\n", "minmonth = months[min_i]\n", "\n", "#print output to the terminal\n", "\n", "print(\"Financial Analysis\")\n", "print(\"-\"*69)\n", "print(f\"Total Months: {n_months}\")\n", "print(f\"Total: ${round(pl_total,2)}\")\n", "print(f\"Average Change: ${round(avg_pl_change,2)}\")\n", "print(f\"Greatest Increase in Profits: {maxmonth} (${maxpl})\")\n", "print(f\"Greatest Decrease in Profits: {minmonth} (${minpl})\")\n" ] }, { "cell_type": "code", "execution_count": 69, "metadata": {}, "outputs": [], "source": [ "# write summary to txt file\n", "output = os.path.join(\".\",\"Analysis\", \"summary.txt\")\n", "\n", "# use \"\\n\" to create a new line\n", "with open(output, 'w') as output:\n", " output.write(\"Financial Analysis\\n\")\n", " output.write(\"-\"*69 + \"\\n\")\n", " output.write(f\"Total Months: {n_months}\\n\")\n", " output.write(f\"Total: ${round(pl_total,2)}\\n\")\n", " output.write(f\"Average Change: ${round(avg_pl_change,2)}\\n\")\n", " output.write(f\"Greatest Increase in Profits: {maxmonth} (${maxpl})\\n\")\n", " output.write(f\"Greatest Decrease in Profits: {minmonth} (${minpl})\\n\")" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.5" } }, "nbformat": 4, "nbformat_minor": 4 }
{'cells': [{'cell_type': 'code', 'execution_count': 64, 'metadata': {}, 'outputs': [], 'source': ['# Import libraries\n', 'import os, csv']}, {'cell_type': 'code', 'execution_count': 65, 'metadata': {}, 'outputs': [], 'source': ['#variables for the script\n', 'months = [] #list of months\n', 'pl =[] #list of monthly PL\n', 'pl_changes = [] #list of P&L Changes\n', 'n_months = 0 #count of months\n', 'pl_total = 0 #total of P&L\n', 'plc = 0 #variable to track PL changes\n', 'avg_pl_change = 0 #average of changes in PL\n', 'maxpl = 0 #maximum increase in profits\n', 'minpl = 0 #maximum decrease in losses\n', 'max_i = 0 #index for max pl\n', 'min_i = 0 #index for min pl\n', '\n', '#read the resource file\n', 'bankcsv = os.path.join(".", "Resources", "budget_data.csv") #set path\n', '\n', '\n', '#read file\n', "with open(bankcsv, 'r') as csv_file:\n", ' csv_reader = csv.reader(csv_file,delimiter=",")\n', ' header = next(csv_reader)\n', ' \n', ' #for loop to update the counters and lists\n', ' for row in csv_reader:\n', ' n_months += 1\n', ' pl_total += int(row[1])\n', ' pl.append(row[1])\n', ' months.append(row[0])']}, {'cell_type': 'code', 'execution_count': 66, 'metadata': {}, 'outputs': [], 'source': ['# loop to track the PL change values\n', 'pl_changes = [] \n', 'plc = int(pl[0])\n', 'for i in range(1, len(pl)):\n', ' pl_changes.append(int(pl[i]) - plc)\n', ' plc = int(pl[i])\n', ' i += 1\n', '#print(pl_changes)']}, {'cell_type': 'code', 'execution_count': 67, 'metadata': {}, 'outputs': [], 'source': ['#calculate the average PL Changes, max and min\n', 'avg_pl_change = sum(pl_changes) / len(pl_changes)\n', 'maxpl = max(pl_changes)\n', 'minpl = min(pl_changes)\n', '#print(avg_pl_change, maxpl, minpl)\n', '#print(pl_changes.index(maxpl))\n', '#print(len(pl_changes))']}, {'cell_type': 'code', 'execution_count': 68, 'metadata': {}, 'outputs': [{'name': 'stdout', 'output_type': 'stream', 'text': ['Financial Analysis\n', '---------------------------------------------------------------------\n', 'Total Months: 86\n', 'Total: $38382578\n', 'Average Change: $-2315.12\n', 'Greatest Increase in Profits: Feb-2012 ($1926159)\n', 'Greatest Decrease in Profits: Sep-2013 ($-2196167)\n']}], 'source': ['#find dates for max and min PL changes\n', 'max_i = pl_changes.index(maxpl) +1 #adding +1 since the changes are calculated one row above\n', 'min_i = pl_changes.index(minpl) +1\n', '\n', 'maxmonth = months[max_i]\n', 'minmonth = months[min_i]\n', '\n', '#print output to the terminal\n', '\n', 'print("Financial Analysis")\n', 'print("-"*69)\n', 'print(f"Total Months: {n_months}")\n', 'print(f"Total: ${round(pl_total,2)}")\n', 'print(f"Average Change: ${round(avg_pl_change,2)}")\n', 'print(f"Greatest Increase in Profits: {maxmonth} (${maxpl})")\n', 'print(f"Greatest Decrease in Profits: {minmonth} (${minpl})")\n']}, {'cell_type': 'code', 'execution_count': 69, 'metadata': {}, 'outputs': [], 'source': ['# write summary to txt file\n', 'output = os.path.join(".","Analysis", "summary.txt")\n', '\n', '# use "\\n" to create a new line\n', "with open(output, 'w') as output:\n", ' output.write("Financial Analysis\\n")\n', ' output.write("-"*69 + "\\n")\n', ' output.write(f"Total Months: {n_months}\\n")\n', ' output.write(f"Total: ${round(pl_total,2)}\\n")\n', ' output.write(f"Average Change: ${round(avg_pl_change,2)}\\n")\n', ' output.write(f"Greatest Increase in Profits: {maxmonth} (${maxpl})\\n")\n', ' output.write(f"Greatest Decrease in Profits: {minmonth} (${minpl})\\n")']}], 'metadata': {'kernelspec': {'display_name': 'Python 3', 'language': 'python', 'name': 'python3'}, 'language_info': {'codemirror_mode': {'name': 'ipython', 'version': 3}, 'file_extension': '.py', 'mimetype': 'text/x-python', 'name': 'python', 'nbconvert_exporter': 'python', 'pygments_lexer': 'ipython3', 'version': '3.8.5'}}, 'nbformat': 4, 'nbformat_minor': 4}
#!/usr/bin/env python #-*- coding:utf-8 -*- __all__ = ["args", "colors", "libcolors", "routine"] __version__ = "0.96"
__all__ = ['args', 'colors', 'libcolors', 'routine'] __version__ = '0.96'
def get_primes(n): primes = [] # stores the prime numbers within the reange of the number sieve = [False] * (n + 1) # stores boolean values indicating whether a number is prime or not sieve[0] = sieve[1] = True # marking 0 and 1 as not prime for i in range(2, n + 1): # loops over all the numbers to check for prime numbers if sieve[i]: # checks whether a number is not prime continue # skips the loop if the number is not a prime number primes.append(i) # adds a number into list if it is a prime number for j in range(i ** 2, n + 1, i): # loops over all multiples of the prime number starting from the sqaure of the prime number sieve[j] = True # marks the multiple of the prime number as not prime return primes # returns the list containing prime numbers def get_factorization(n): prime_factors = [] # stores the prime factorization of the number for prime in get_primes(n): # looping over all the prime numbers while n != 1: # keeps diving the number by a certain prime number until the number is 1 if n % prime == 0: # checks if the number is divisible by a particular prime number prime_factors.append(prime) # add the prime factor in the list if it divides the number n /= prime # reducing the number after dividing it by the prime number else: break # if the number is not divisible by the paricular prime number then the inner loop breaks and the number is further divided by the next prime number until the number becomes 1 return prime_factors # returns the list containing the prime factorization of the number if __name__ == "__main__": n = int(input("Enter a number: ")) print(get_factorization(n))
def get_primes(n): primes = [] sieve = [False] * (n + 1) sieve[0] = sieve[1] = True for i in range(2, n + 1): if sieve[i]: continue primes.append(i) for j in range(i ** 2, n + 1, i): sieve[j] = True return primes def get_factorization(n): prime_factors = [] for prime in get_primes(n): while n != 1: if n % prime == 0: prime_factors.append(prime) n /= prime else: break return prime_factors if __name__ == '__main__': n = int(input('Enter a number: ')) print(get_factorization(n))
s = "([}}])" stack = [] if len(s) % 2 == 1: print(False) exit() for i in s: if i == "(": stack.append("(") elif i == "[": stack.append("[") elif i == "{": stack.append("{") elif i == ")": if len(stack) < 1: print(False) exit() if stack[-1] == "(": stack.pop() else: print(False) exit() elif i == "]": if len(stack) < 1: print(False) exit() if stack[-1] == "[": stack.pop() else: print(False) exit() elif i == "}": if len(stack) < 1: print(False) exit() if stack[-1] == "{": stack.pop() else: print(False) exit() if len(stack) == 0: print(True) else: print(False)
s = '([}}])' stack = [] if len(s) % 2 == 1: print(False) exit() for i in s: if i == '(': stack.append('(') elif i == '[': stack.append('[') elif i == '{': stack.append('{') elif i == ')': if len(stack) < 1: print(False) exit() if stack[-1] == '(': stack.pop() else: print(False) exit() elif i == ']': if len(stack) < 1: print(False) exit() if stack[-1] == '[': stack.pop() else: print(False) exit() elif i == '}': if len(stack) < 1: print(False) exit() if stack[-1] == '{': stack.pop() else: print(False) exit() if len(stack) == 0: print(True) else: print(False)
class Foo: pass class Bar(Foo): def __init__(self): super(Bar, self).__init__() # [super-with-arguments] class Baz(Foo): def __init__(self): super().__init__() class Qux(Foo): def __init__(self): super(Bar, self).__init__() class NotSuperCall(Foo): def __init__(self): super.test(Bar, self).__init__() class InvalidSuperCall(Foo): def __init__(self): super(InvalidSuperCall.__class__, self).__init__() def method_accepting_cls(cls, self): # Using plain `super()` is not valid here, since there's no `__class__` cell found # (Exact exception would be 'RuntimeError: super(): __class__ cell not found') # Instead, we expect to *not* see a warning about `super-with-arguments`. # Explicitly passing `cls`, and `self` to `super()` is what's required. super(cls, self).__init__()
class Foo: pass class Bar(Foo): def __init__(self): super(Bar, self).__init__() class Baz(Foo): def __init__(self): super().__init__() class Qux(Foo): def __init__(self): super(Bar, self).__init__() class Notsupercall(Foo): def __init__(self): super.test(Bar, self).__init__() class Invalidsupercall(Foo): def __init__(self): super(InvalidSuperCall.__class__, self).__init__() def method_accepting_cls(cls, self): super(cls, self).__init__()
_base_ = [ '../retinanet_r50_fpn_1x_coco.py', '../../_base_/datasets/hdr_detection_minmax_glob_gamma.py', ] # optimizer # lr is set for a batch size of 8 optimizer = dict(type='SGD', lr=0.0005, momentum=0.9, weight_decay=0.0001) optimizer_config = dict(grad_clip=None) # dict(grad_clip=dict(max_norm=35, norm_type=2)) # learning policy lr_config = dict( policy='step', warmup='linear', warmup_iters=500, warmup_ratio=0.001, step=[10]) runner = dict( type='EpochBasedRunner', max_epochs=20)
_base_ = ['../retinanet_r50_fpn_1x_coco.py', '../../_base_/datasets/hdr_detection_minmax_glob_gamma.py'] optimizer = dict(type='SGD', lr=0.0005, momentum=0.9, weight_decay=0.0001) optimizer_config = dict(grad_clip=None) lr_config = dict(policy='step', warmup='linear', warmup_iters=500, warmup_ratio=0.001, step=[10]) runner = dict(type='EpochBasedRunner', max_epochs=20)
# solution 1: class Solution1: def convert(self, s: str, numRows: int) -> str: if numRows == 1 or numRows >= len(s): return s L = [''] * numRows index, step = 0, 1 for x in s: L[index] += x if index == 0: step = 1 elif index == numRows - 1: step = -1 index += step return ''.join(L) # Solution 2 class Solution: def convert(self, s: str, numRows: int) -> str: # If we have only one row then we can return the string as it is if numRows < 2: return s # We will create an empty string for each row and then fill each element in each row # from row = 0 to row = numRows-1, if we reach bottom (i.e. row = numRows-1) # then we move up. Similarly if we reach top, we change direction and move down # Finally after filling up all the four rows we join them row0 + row1 +.. numRows row = 0 result = [""]*numRows for character in s: if row == 0: move_down = True elif row == numRows-1: move_down = False result[row] += character row = (row+1) if move_down else row-1 return "".join(result) if __name__ == '__main__': # begin s = Solution() print(s.convert("PAYPALISHIRING", 3))
class Solution1: def convert(self, s: str, numRows: int) -> str: if numRows == 1 or numRows >= len(s): return s l = [''] * numRows (index, step) = (0, 1) for x in s: L[index] += x if index == 0: step = 1 elif index == numRows - 1: step = -1 index += step return ''.join(L) class Solution: def convert(self, s: str, numRows: int) -> str: if numRows < 2: return s row = 0 result = [''] * numRows for character in s: if row == 0: move_down = True elif row == numRows - 1: move_down = False result[row] += character row = row + 1 if move_down else row - 1 return ''.join(result) if __name__ == '__main__': s = solution() print(s.convert('PAYPALISHIRING', 3))
MANIFEST = { "hilt": { "h1": { "offsets": {"blade": 0, "button": {"x": (8, 9), "y": (110, 111)}}, "colours": { "primary": (216, 216, 216), # d8d8d8 "secondary": (141, 141, 141), # 8d8d8d "tertiary": (180, 97, 19), # b46113 }, "length": 24, "materials": "Alloy metal/Salvaged materials", }, "h2": { "offsets": {"blade": 20, "button": {"x": (8, 8), "y": (100, 105)}}, "colours": { "primary": (112, 112, 112), # 707070 "secondary": (0, 0, 0), # 000000 "tertiary": (212, 175, 55), # 000000 }, "length": 24, "materials": "Alloy metal and carbon composite", }, "h3": { "offsets": {"blade": 0, "button": {"x": (10, 10), "y": (100, 118)}}, "colours": { "primary": (157, 157, 157), # 707070 "secondary": (0, 0, 0), # 000000 "tertiary": (180, 97, 19), # b46113 }, "length": 24, "materials": "Alloy metal", }, "h4": { "offsets": {"blade": 7, "button": {"x": (8, 9), "y": (92, 100)}}, "colours": { "primary": (0, 0, 0), # 000000 "secondary": (157, 157, 157), # 9d9d9d "tertiary": (180, 97, 19), # b46113 }, "length": 13, "materials": "Alloy metal", }, "h5": { "offsets": {"blade": 0, "button": {"x": (8, 8), "y": (92, 105)}}, "colours": { "primary": (111, 111, 111), # 6f6f6f "secondary": (0, 0, 0), # 000000 "tertiary": (180, 97, 19), # b46113 }, "length": 24, "materials": "Alloy metal", }, "h6": { "offsets": {"blade": 2, "button": {"x": (8, 9), "y": (112, 113)}}, "colours": { "primary": (120, 120, 120), # 787878 "secondary": (0, 0, 0), # 000000 "tertiary": (180, 97, 19), # b46113 }, "length": 22, "materials": "Alloy metal/Salvaged materials", }, "h7": { "offsets": {"blade": 0, "button": {"x": (8, 9), "y": (105, 113)}}, "colours": { "primary": (192, 192, 192), # c0c0c0 "secondary": (255, 215, 0), # ffd700 "tertiary": (0, 0, 0), # 000000 }, "length": 22, "materials": "Alloy metal and Gold", }, "h8": { "offsets": {"blade": 0, "button": {"x": (8, 9), "y": (100, 111)}}, "colours": { "primary": (216, 216, 216), # d8d8d8 "secondary": (180, 97, 19), # b46113 "tertiary": (0, 0, 0), # 000000 }, "length": 24, "materials": "Alloy metal/Copper", }, }, "blade": { "b1": {"colour": "Red", "crystal": "Adegan crystal", "type": "Sith"}, "b2": {"colour": "Blue", "crystal": "Zophis crystal", "type": "Jedi"}, "b3": {"colour": "Green", "crystal": "Nishalorite stone", "type": "Jedi"}, "b4": {"colour": "Yellow", "crystal": "Kimber stone", "type": "Jedi"}, "b5": {"colour": "White", "crystal": "Dragite gem", "type": "Jedi"}, "b6": {"colour": "Purple", "crystal": "Krayt dragon pearl", "type": "Jedi"}, "b7": {"colour": "Blue/Green", "crystal": "Dantari crystal", "type": "Jedi"}, "b8": { "colour": "Orange", "crystal": ["Ilum crystal", "Ultima Pearl"], "type": "Sith", }, "b9": { "colour": "Black", "crystal": "Obsidian", "type": ["Jedi", "Mandalorian"], }, }, "pommel": { "p1": {"length": 5,}, "p2": {"length": 14,}, "p3": {"length": 3,}, "p4": {"length": 8,}, "p5": {"length": 5,}, "p6": {"length": 5,}, "p7": {"length": 8,}, }, # These are lightsabers for a specific Jedi or Sith. Should use their name instead of "unique_urls": {""}, }
manifest = {'hilt': {'h1': {'offsets': {'blade': 0, 'button': {'x': (8, 9), 'y': (110, 111)}}, 'colours': {'primary': (216, 216, 216), 'secondary': (141, 141, 141), 'tertiary': (180, 97, 19)}, 'length': 24, 'materials': 'Alloy metal/Salvaged materials'}, 'h2': {'offsets': {'blade': 20, 'button': {'x': (8, 8), 'y': (100, 105)}}, 'colours': {'primary': (112, 112, 112), 'secondary': (0, 0, 0), 'tertiary': (212, 175, 55)}, 'length': 24, 'materials': 'Alloy metal and carbon composite'}, 'h3': {'offsets': {'blade': 0, 'button': {'x': (10, 10), 'y': (100, 118)}}, 'colours': {'primary': (157, 157, 157), 'secondary': (0, 0, 0), 'tertiary': (180, 97, 19)}, 'length': 24, 'materials': 'Alloy metal'}, 'h4': {'offsets': {'blade': 7, 'button': {'x': (8, 9), 'y': (92, 100)}}, 'colours': {'primary': (0, 0, 0), 'secondary': (157, 157, 157), 'tertiary': (180, 97, 19)}, 'length': 13, 'materials': 'Alloy metal'}, 'h5': {'offsets': {'blade': 0, 'button': {'x': (8, 8), 'y': (92, 105)}}, 'colours': {'primary': (111, 111, 111), 'secondary': (0, 0, 0), 'tertiary': (180, 97, 19)}, 'length': 24, 'materials': 'Alloy metal'}, 'h6': {'offsets': {'blade': 2, 'button': {'x': (8, 9), 'y': (112, 113)}}, 'colours': {'primary': (120, 120, 120), 'secondary': (0, 0, 0), 'tertiary': (180, 97, 19)}, 'length': 22, 'materials': 'Alloy metal/Salvaged materials'}, 'h7': {'offsets': {'blade': 0, 'button': {'x': (8, 9), 'y': (105, 113)}}, 'colours': {'primary': (192, 192, 192), 'secondary': (255, 215, 0), 'tertiary': (0, 0, 0)}, 'length': 22, 'materials': 'Alloy metal and Gold'}, 'h8': {'offsets': {'blade': 0, 'button': {'x': (8, 9), 'y': (100, 111)}}, 'colours': {'primary': (216, 216, 216), 'secondary': (180, 97, 19), 'tertiary': (0, 0, 0)}, 'length': 24, 'materials': 'Alloy metal/Copper'}}, 'blade': {'b1': {'colour': 'Red', 'crystal': 'Adegan crystal', 'type': 'Sith'}, 'b2': {'colour': 'Blue', 'crystal': 'Zophis crystal', 'type': 'Jedi'}, 'b3': {'colour': 'Green', 'crystal': 'Nishalorite stone', 'type': 'Jedi'}, 'b4': {'colour': 'Yellow', 'crystal': 'Kimber stone', 'type': 'Jedi'}, 'b5': {'colour': 'White', 'crystal': 'Dragite gem', 'type': 'Jedi'}, 'b6': {'colour': 'Purple', 'crystal': 'Krayt dragon pearl', 'type': 'Jedi'}, 'b7': {'colour': 'Blue/Green', 'crystal': 'Dantari crystal', 'type': 'Jedi'}, 'b8': {'colour': 'Orange', 'crystal': ['Ilum crystal', 'Ultima Pearl'], 'type': 'Sith'}, 'b9': {'colour': 'Black', 'crystal': 'Obsidian', 'type': ['Jedi', 'Mandalorian']}}, 'pommel': {'p1': {'length': 5}, 'p2': {'length': 14}, 'p3': {'length': 3}, 'p4': {'length': 8}, 'p5': {'length': 5}, 'p6': {'length': 5}, 'p7': {'length': 8}}, 'unique_urls': {''}}
## @file # Standardized Error Hanlding infrastructures. # # Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR> # This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License # which accompanies this distribution. The full text of the license may be found at # http://opensource.org/licenses/bsd-license.php # # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. # FILE_OPEN_FAILURE = 1 FILE_WRITE_FAILURE = 2 FILE_PARSE_FAILURE = 3 FILE_READ_FAILURE = 4 FILE_CREATE_FAILURE = 5 FILE_CHECKSUM_FAILURE = 6 FILE_COMPRESS_FAILURE = 7 FILE_DECOMPRESS_FAILURE = 8 FILE_MOVE_FAILURE = 9 FILE_DELETE_FAILURE = 10 FILE_COPY_FAILURE = 11 FILE_POSITIONING_FAILURE = 12 FILE_ALREADY_EXIST = 13 FILE_NOT_FOUND = 14 FILE_TYPE_MISMATCH = 15 FILE_CASE_MISMATCH = 16 FILE_DUPLICATED = 17 FILE_UNKNOWN_ERROR = 0x0FFF OPTION_UNKNOWN = 0x1000 OPTION_MISSING = 0x1001 OPTION_CONFLICT = 0x1002 OPTION_VALUE_INVALID = 0x1003 OPTION_DEPRECATED = 0x1004 OPTION_NOT_SUPPORTED = 0x1005 OPTION_UNKNOWN_ERROR = 0x1FFF PARAMETER_INVALID = 0x2000 PARAMETER_MISSING = 0x2001 PARAMETER_UNKNOWN_ERROR =0x2FFF FORMAT_INVALID = 0x3000 FORMAT_NOT_SUPPORTED = 0x3001 FORMAT_UNKNOWN = 0x3002 FORMAT_UNKNOWN_ERROR = 0x3FFF RESOURCE_NOT_AVAILABLE = 0x4000 RESOURCE_ALLOCATE_FAILURE = 0x4001 RESOURCE_FULL = 0x4002 RESOURCE_OVERFLOW = 0x4003 RESOURCE_UNDERRUN = 0x4004 RESOURCE_UNKNOWN_ERROR = 0x4FFF ATTRIBUTE_NOT_AVAILABLE = 0x5000 ATTRIBUTE_GET_FAILURE = 0x5001 ATTRIBUTE_SET_FAILURE = 0x5002 ATTRIBUTE_UPDATE_FAILURE = 0x5003 ATTRIBUTE_ACCESS_DENIED = 0x5004 ATTRIBUTE_UNKNOWN_ERROR = 0x5FFF IO_NOT_READY = 0x6000 IO_BUSY = 0x6001 IO_TIMEOUT = 0x6002 IO_UNKNOWN_ERROR = 0x6FFF COMMAND_FAILURE = 0x7000 PERMISSION_FAILURE = 0x8000 CODE_ERROR = 0xC0DE AUTOGEN_ERROR = 0xF000 PARSER_ERROR = 0xF001 BUILD_ERROR = 0xF002 GENFDS_ERROR = 0xF003 ECC_ERROR = 0xF004 EOT_ERROR = 0xF005 DDC_ERROR = 0xF009 WARNING_AS_ERROR = 0xF006 MIGRATION_ERROR = 0xF010 PCD_VALIDATION_INFO_ERROR = 0xF011 PCD_VARIABLE_ATTRIBUTES_ERROR = 0xF012 PCD_VARIABLE_ATTRIBUTES_CONFLICT_ERROR = 0xF013 ABORT_ERROR = 0xFFFE UNKNOWN_ERROR = 0xFFFF ## Error message of each error code gErrorMessage = { FILE_NOT_FOUND : "File/directory not found in workspace", FILE_OPEN_FAILURE : "File open failure", FILE_WRITE_FAILURE : "File write failure", FILE_PARSE_FAILURE : "File parse failure", FILE_READ_FAILURE : "File read failure", FILE_CREATE_FAILURE : "File create failure", FILE_CHECKSUM_FAILURE : "Invalid checksum of file", FILE_COMPRESS_FAILURE : "File compress failure", FILE_DECOMPRESS_FAILURE : "File decompress failure", FILE_MOVE_FAILURE : "File move failure", FILE_DELETE_FAILURE : "File delete failure", FILE_COPY_FAILURE : "File copy failure", FILE_POSITIONING_FAILURE: "Failed to seeking position", FILE_ALREADY_EXIST : "File or directory already exists", FILE_TYPE_MISMATCH : "Incorrect file type", FILE_CASE_MISMATCH : "File name case mismatch", FILE_DUPLICATED : "Duplicated file found", FILE_UNKNOWN_ERROR : "Unknown error encountered on file", OPTION_UNKNOWN : "Unknown option", OPTION_MISSING : "Missing option", OPTION_CONFLICT : "Conflict options", OPTION_VALUE_INVALID : "Invalid value of option", OPTION_DEPRECATED : "Deprecated option", OPTION_NOT_SUPPORTED : "Unsupported option", OPTION_UNKNOWN_ERROR : "Unknown error when processing options", PARAMETER_INVALID : "Invalid parameter", PARAMETER_MISSING : "Missing parameter", PARAMETER_UNKNOWN_ERROR : "Unknown error in parameters", FORMAT_INVALID : "Invalid syntax/format", FORMAT_NOT_SUPPORTED : "Not supported syntax/format", FORMAT_UNKNOWN : "Unknown format", FORMAT_UNKNOWN_ERROR : "Unknown error in syntax/format ", RESOURCE_NOT_AVAILABLE : "Not available", RESOURCE_ALLOCATE_FAILURE : "Allocate failure", RESOURCE_FULL : "Full", RESOURCE_OVERFLOW : "Overflow", RESOURCE_UNDERRUN : "Underrun", RESOURCE_UNKNOWN_ERROR : "Unknown error", ATTRIBUTE_NOT_AVAILABLE : "Not available", ATTRIBUTE_GET_FAILURE : "Failed to retrieve", ATTRIBUTE_SET_FAILURE : "Failed to set", ATTRIBUTE_UPDATE_FAILURE: "Failed to update", ATTRIBUTE_ACCESS_DENIED : "Access denied", ATTRIBUTE_UNKNOWN_ERROR : "Unknown error when accessing", COMMAND_FAILURE : "Failed to execute command", IO_NOT_READY : "Not ready", IO_BUSY : "Busy", IO_TIMEOUT : "Timeout", IO_UNKNOWN_ERROR : "Unknown error in IO operation", UNKNOWN_ERROR : "Unknown error", } ## Exception indicating a fatal error class FatalError(Exception): pass if __name__ == "__main__": pass
file_open_failure = 1 file_write_failure = 2 file_parse_failure = 3 file_read_failure = 4 file_create_failure = 5 file_checksum_failure = 6 file_compress_failure = 7 file_decompress_failure = 8 file_move_failure = 9 file_delete_failure = 10 file_copy_failure = 11 file_positioning_failure = 12 file_already_exist = 13 file_not_found = 14 file_type_mismatch = 15 file_case_mismatch = 16 file_duplicated = 17 file_unknown_error = 4095 option_unknown = 4096 option_missing = 4097 option_conflict = 4098 option_value_invalid = 4099 option_deprecated = 4100 option_not_supported = 4101 option_unknown_error = 8191 parameter_invalid = 8192 parameter_missing = 8193 parameter_unknown_error = 12287 format_invalid = 12288 format_not_supported = 12289 format_unknown = 12290 format_unknown_error = 16383 resource_not_available = 16384 resource_allocate_failure = 16385 resource_full = 16386 resource_overflow = 16387 resource_underrun = 16388 resource_unknown_error = 20479 attribute_not_available = 20480 attribute_get_failure = 20481 attribute_set_failure = 20482 attribute_update_failure = 20483 attribute_access_denied = 20484 attribute_unknown_error = 24575 io_not_ready = 24576 io_busy = 24577 io_timeout = 24578 io_unknown_error = 28671 command_failure = 28672 permission_failure = 32768 code_error = 49374 autogen_error = 61440 parser_error = 61441 build_error = 61442 genfds_error = 61443 ecc_error = 61444 eot_error = 61445 ddc_error = 61449 warning_as_error = 61446 migration_error = 61456 pcd_validation_info_error = 61457 pcd_variable_attributes_error = 61458 pcd_variable_attributes_conflict_error = 61459 abort_error = 65534 unknown_error = 65535 g_error_message = {FILE_NOT_FOUND: 'File/directory not found in workspace', FILE_OPEN_FAILURE: 'File open failure', FILE_WRITE_FAILURE: 'File write failure', FILE_PARSE_FAILURE: 'File parse failure', FILE_READ_FAILURE: 'File read failure', FILE_CREATE_FAILURE: 'File create failure', FILE_CHECKSUM_FAILURE: 'Invalid checksum of file', FILE_COMPRESS_FAILURE: 'File compress failure', FILE_DECOMPRESS_FAILURE: 'File decompress failure', FILE_MOVE_FAILURE: 'File move failure', FILE_DELETE_FAILURE: 'File delete failure', FILE_COPY_FAILURE: 'File copy failure', FILE_POSITIONING_FAILURE: 'Failed to seeking position', FILE_ALREADY_EXIST: 'File or directory already exists', FILE_TYPE_MISMATCH: 'Incorrect file type', FILE_CASE_MISMATCH: 'File name case mismatch', FILE_DUPLICATED: 'Duplicated file found', FILE_UNKNOWN_ERROR: 'Unknown error encountered on file', OPTION_UNKNOWN: 'Unknown option', OPTION_MISSING: 'Missing option', OPTION_CONFLICT: 'Conflict options', OPTION_VALUE_INVALID: 'Invalid value of option', OPTION_DEPRECATED: 'Deprecated option', OPTION_NOT_SUPPORTED: 'Unsupported option', OPTION_UNKNOWN_ERROR: 'Unknown error when processing options', PARAMETER_INVALID: 'Invalid parameter', PARAMETER_MISSING: 'Missing parameter', PARAMETER_UNKNOWN_ERROR: 'Unknown error in parameters', FORMAT_INVALID: 'Invalid syntax/format', FORMAT_NOT_SUPPORTED: 'Not supported syntax/format', FORMAT_UNKNOWN: 'Unknown format', FORMAT_UNKNOWN_ERROR: 'Unknown error in syntax/format ', RESOURCE_NOT_AVAILABLE: 'Not available', RESOURCE_ALLOCATE_FAILURE: 'Allocate failure', RESOURCE_FULL: 'Full', RESOURCE_OVERFLOW: 'Overflow', RESOURCE_UNDERRUN: 'Underrun', RESOURCE_UNKNOWN_ERROR: 'Unknown error', ATTRIBUTE_NOT_AVAILABLE: 'Not available', ATTRIBUTE_GET_FAILURE: 'Failed to retrieve', ATTRIBUTE_SET_FAILURE: 'Failed to set', ATTRIBUTE_UPDATE_FAILURE: 'Failed to update', ATTRIBUTE_ACCESS_DENIED: 'Access denied', ATTRIBUTE_UNKNOWN_ERROR: 'Unknown error when accessing', COMMAND_FAILURE: 'Failed to execute command', IO_NOT_READY: 'Not ready', IO_BUSY: 'Busy', IO_TIMEOUT: 'Timeout', IO_UNKNOWN_ERROR: 'Unknown error in IO operation', UNKNOWN_ERROR: 'Unknown error'} class Fatalerror(Exception): pass if __name__ == '__main__': pass
ELECTRUM_VERSION = '4.1.5-radc' # version of the client package APK_VERSION = '4.1.5.0' # read by buildozer.spec PROTOCOL_VERSION = '1.4' # protocol version requested # The hash of the mnemonic seed must begin with this SEED_PREFIX = '01' # Standard wallet SEED_PREFIX_SW = '100' # Segwit wallet SEED_PREFIX_2FA = '101' # Two-factor authentication SEED_PREFIX_2FA_SW = '102' # Two-factor auth, using segwit def seed_prefix(seed_type): if seed_type == 'standard': return SEED_PREFIX elif seed_type == 'segwit': return SEED_PREFIX_SW elif seed_type == '2fa': return SEED_PREFIX_2FA elif seed_type == '2fa_segwit': return SEED_PREFIX_2FA_SW raise Exception(f"unknown seed_type: {seed_type}")
electrum_version = '4.1.5-radc' apk_version = '4.1.5.0' protocol_version = '1.4' seed_prefix = '01' seed_prefix_sw = '100' seed_prefix_2_fa = '101' seed_prefix_2_fa_sw = '102' def seed_prefix(seed_type): if seed_type == 'standard': return SEED_PREFIX elif seed_type == 'segwit': return SEED_PREFIX_SW elif seed_type == '2fa': return SEED_PREFIX_2FA elif seed_type == '2fa_segwit': return SEED_PREFIX_2FA_SW raise exception(f'unknown seed_type: {seed_type}')
class Node(object): def __init__(self, name, follow_list, intention, lane): self.name = name self.follow_list = follow_list self.intention = intention self.lane = lane def __eq__(self, other): if isinstance(other, Node): if self.name == other.get_name() and self.follow_list == other.get_follow_list() \ and self.intention == other.get_intention() and self.lane == other.get_lane(): return True return False def get_name(self): return self.name def set_name(self, name): self.name = name def get_follow_list(self): return self.follow_list def set_follow_list(self, follow_list): self.follow_list = follow_list def get_intention(self): return self.intention def set_intention(self, intention): self.intention = intention def get_lane(self): return self.lane def set_lane(self, lane): self.lane = lane
class Node(object): def __init__(self, name, follow_list, intention, lane): self.name = name self.follow_list = follow_list self.intention = intention self.lane = lane def __eq__(self, other): if isinstance(other, Node): if self.name == other.get_name() and self.follow_list == other.get_follow_list() and (self.intention == other.get_intention()) and (self.lane == other.get_lane()): return True return False def get_name(self): return self.name def set_name(self, name): self.name = name def get_follow_list(self): return self.follow_list def set_follow_list(self, follow_list): self.follow_list = follow_list def get_intention(self): return self.intention def set_intention(self, intention): self.intention = intention def get_lane(self): return self.lane def set_lane(self, lane): self.lane = lane
#!/usr/bin/python # -*- coding: utf-8 -*- # Function to encrypt message using key is defined def encrypt(msg, key): # Defining empty strings and counters hexadecimal = '' iteration = 0 # Running for loop in the range of MSG and comparing the BITS for i in range(len(msg)): temp = ord(msg[i]) ^ ord(key[iteration]) # zfill will pad a single letter hex with 0, to make it two letter pair hexadecimal += hex(temp)[2:].zfill(2) # Checking if the iterations of the key are 1 iteration += 1 if iteration >= len(key): # once all of the key's letters are used, repeat the key iteration = 0 # Returning the final value return hexadecimal def decrypt(msg, key): # Defining hex to uni string to store hex_to_uni = '' # Running for loop to the length of message for i in range(0, len(msg), 2): # Decoding each individual bytes from hex hex_to_uni += bytes.fromhex(msg[i:i + 2]).decode('utf-8') decryp_text = '' iteration = 0 # For loop running for the length of the hex to unicode string for i in range(len(hex_to_uni)): # Comparing each individual bit temp = ord(hex_to_uni[i]) ^ ord(key[iteration]) # zfill will pad a single letter hex with 0, to make it two letter pair decryp_text += chr(temp) iteration += 1 if iteration >= len(key): # once all of the key's letters are used, repeat the key iteration = 0 # FInally return the decrypted text string return decryp_text
def encrypt(msg, key): hexadecimal = '' iteration = 0 for i in range(len(msg)): temp = ord(msg[i]) ^ ord(key[iteration]) hexadecimal += hex(temp)[2:].zfill(2) iteration += 1 if iteration >= len(key): iteration = 0 return hexadecimal def decrypt(msg, key): hex_to_uni = '' for i in range(0, len(msg), 2): hex_to_uni += bytes.fromhex(msg[i:i + 2]).decode('utf-8') decryp_text = '' iteration = 0 for i in range(len(hex_to_uni)): temp = ord(hex_to_uni[i]) ^ ord(key[iteration]) decryp_text += chr(temp) iteration += 1 if iteration >= len(key): iteration = 0 return decryp_text
number_of_participants, number_of_pens, number_of_notebooks = map(int, input().split()) if number_of_pens >= number_of_participants and number_of_notebooks >= number_of_participants: print('Yes') else: print('No')
(number_of_participants, number_of_pens, number_of_notebooks) = map(int, input().split()) if number_of_pens >= number_of_participants and number_of_notebooks >= number_of_participants: print('Yes') else: print('No')
# coding: utf-8 # Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. MEBIBYTE = 1024 * 1024 STREAMING_DEFAULT_PART_SIZE = 10 * MEBIBYTE DEFAULT_PART_SIZE = 128 * MEBIBYTE OBJECT_USE_MULTIPART_SIZE = 128 * MEBIBYTE
mebibyte = 1024 * 1024 streaming_default_part_size = 10 * MEBIBYTE default_part_size = 128 * MEBIBYTE object_use_multipart_size = 128 * MEBIBYTE
# Curbrock Summon 2 CURBROCK2 = 9400930 # MOD ID CURBROCKS_ESCAPE_ROUTE_VER2 = 600050040 # MAP ID CURBROCKS_ESCAPE_ROUTE_VER3 = 600050050 # MAP ID 2 sm.spawnMob(CURBROCK2, 190, -208, False) sm.createClock(1800) sm.addEvent(sm.invokeAfterDelay(1800000, "warp", CURBROCKS_ESCAPE_ROUTE_VER3, 0)) sm.waitForMobDeath(CURBROCK2) sm.warp(CURBROCKS_ESCAPE_ROUTE_VER2) sm.stopEvents()
curbrock2 = 9400930 curbrocks_escape_route_ver2 = 600050040 curbrocks_escape_route_ver3 = 600050050 sm.spawnMob(CURBROCK2, 190, -208, False) sm.createClock(1800) sm.addEvent(sm.invokeAfterDelay(1800000, 'warp', CURBROCKS_ESCAPE_ROUTE_VER3, 0)) sm.waitForMobDeath(CURBROCK2) sm.warp(CURBROCKS_ESCAPE_ROUTE_VER2) sm.stopEvents()
def getNumBags(color): if color=='': return 0 numBags=1 for bag in rules[color]: numBags+=bag[1]*getNumBags(bag[0]) return numBags with open('day7/input.txt') as f: rules=dict([l.split(' contain') for l in f.read().replace(' bags', '').replace(' bag', '').replace('.', '').replace(' no other', '0 ').splitlines()]) for key in rules: rules[key]=[(d[2:].strip(), int(d[:2].strip())) for d in rules[key].split(', ')] print(getNumBags('shiny gold')-1) #-1 cause shiny bag not included
def get_num_bags(color): if color == '': return 0 num_bags = 1 for bag in rules[color]: num_bags += bag[1] * get_num_bags(bag[0]) return numBags with open('day7/input.txt') as f: rules = dict([l.split(' contain') for l in f.read().replace(' bags', '').replace(' bag', '').replace('.', '').replace(' no other', '0 ').splitlines()]) for key in rules: rules[key] = [(d[2:].strip(), int(d[:2].strip())) for d in rules[key].split(', ')] print(get_num_bags('shiny gold') - 1)
''' Largest rectangle area in a histogram:: Find the largest rectangular area possible in a given histogram where the largest rectangle can be made of a number of contiguous bars. For simplicity, assume that all bars have same width and the width is 1 unit. ''' def max_area_histogram(histogram): stack = list() max_area = 0 # Initialize max area index = 0 while index < len(histogram): if (not stack) or (histogram[stack[-1]] <= histogram[index]): stack.append(index) index += 1 else: top_of_stack = stack.pop() area = (histogram[top_of_stack] * ((index - stack[-1] - 1) if stack else index)) max_area = max(max_area, area) while stack: top_of_stack = stack.pop() area = (histogram[top_of_stack] * ((index - stack[-1] - 1) if stack else index)) max_area = max(max_area, area) return max_area hist = [4, 7, 1, 8, 4, 9, 5] print("Maximum area is", max_area_histogram(hist))
""" Largest rectangle area in a histogram:: Find the largest rectangular area possible in a given histogram where the largest rectangle can be made of a number of contiguous bars. For simplicity, assume that all bars have same width and the width is 1 unit. """ def max_area_histogram(histogram): stack = list() max_area = 0 index = 0 while index < len(histogram): if not stack or histogram[stack[-1]] <= histogram[index]: stack.append(index) index += 1 else: top_of_stack = stack.pop() area = histogram[top_of_stack] * (index - stack[-1] - 1 if stack else index) max_area = max(max_area, area) while stack: top_of_stack = stack.pop() area = histogram[top_of_stack] * (index - stack[-1] - 1 if stack else index) max_area = max(max_area, area) return max_area hist = [4, 7, 1, 8, 4, 9, 5] print('Maximum area is', max_area_histogram(hist))
def sort(arr): # Start index 0. start = 0 # End index end = len(arr)-1 while start <= end: # Swap all positive value with last index end & decrease end by 1. if arr[start] >= 0: arr[start], arr[end] = arr[end], arr[start] end -= 1 else: # If arr[start] is not positive then increase start by 1. start += 1 if __name__ == "__main__": arr = [-1, 2, -3, 4, 5, 6, -7, 8, 9] sort(arr) print(arr)
def sort(arr): start = 0 end = len(arr) - 1 while start <= end: if arr[start] >= 0: (arr[start], arr[end]) = (arr[end], arr[start]) end -= 1 else: start += 1 if __name__ == '__main__': arr = [-1, 2, -3, 4, 5, 6, -7, 8, 9] sort(arr) print(arr)
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { 'chromium_code': 1, }, 'includes': [ '../build/win_precompile.gypi', 'base.gypi', ], 'targets': [ { 'target_name': 'base', 'type': '<(component)', 'toolsets': ['host', 'target'], 'variables': { 'base_target': 1, 'enable_wexit_time_destructors': 1, 'optimize': 'max', }, 'dependencies': [ 'base_static', 'allocator/allocator.gyp:allocator_extension_thunks', '../testing/gtest.gyp:gtest_prod', '../third_party/modp_b64/modp_b64.gyp:modp_b64', 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', ], # TODO(gregoryd): direct_dependent_settings should be shared with the # 64-bit target, but it doesn't work due to a bug in gyp 'direct_dependent_settings': { 'include_dirs': [ '..', ], }, 'conditions': [ ['desktop_linux == 1 or chromeos == 1', { 'conditions': [ ['chromeos==1', { 'sources/': [ ['include', '_chromeos\\.cc$'] ] }], ], 'dependencies': [ 'symbolize', 'xdg_mime', ], 'defines': [ 'USE_SYMBOLIZE', ], }, { # desktop_linux == 0 and chromeos == 0 'sources/': [ ['exclude', '/xdg_user_dirs/'], ['exclude', '_nss\\.cc$'], ], }], ['use_glib==1', { 'dependencies': [ '../build/linux/system.gyp:glib', ], 'export_dependent_settings': [ '../build/linux/system.gyp:glib', ], }], ['OS == "android" and _toolset == "host"', { # Always build base as a static_library for host toolset, even if # we're doing a component build. Specifically, we only care about the # target toolset using components since that's what developers are # focusing on. In theory we should do this more generally for all # targets when building for host, but getting the gyp magic # per-toolset for the "component" variable is hard, and we really only # need base on host. 'type': 'static_library', # Base for host support is the minimum required to run the # ssl false start blacklist tool. It requires further changes # to generically support host builds (and tests). # Note: when building for host, gyp has OS == "android", # hence the *_android.cc files are included but the actual code # doesn't have OS_ANDROID / ANDROID defined. 'conditions': [ ['host_os == "mac"', { 'sources/': [ ['exclude', '^native_library_linux\\.cc$'], ['exclude', '^process_util_linux\\.cc$'], ['exclude', '^sys_info_linux\\.cc$'], ['exclude', '^sys_string_conversions_linux\\.cc$'], ['exclude', '^worker_pool_linux\\.cc$'], ], }], ], }], ['OS == "android" and _toolset == "target"', { 'dependencies': [ 'base_java', 'base_jni_headers', '../build/android/ndk.gyp:cpu_features', '../third_party/ashmem/ashmem.gyp:ashmem', ], 'link_settings': { 'libraries': [ '-llog', ], }, 'sources!': [ 'debug/stack_trace_posix.cc', ], }], ['os_bsd==1', { 'include_dirs': [ '/usr/local/include', ], 'link_settings': { 'libraries': [ '-L/usr/local/lib -lexecinfo', ], }, }], ['OS == "linux"', { 'link_settings': { 'libraries': [ # We need rt for clock_gettime(). '-lrt', # For 'native_library_linux.cc' '-ldl', ], }, 'conditions': [ ['use_allocator!="tcmalloc"', { 'defines': [ 'NO_TCMALLOC', ], 'direct_dependent_settings': { 'defines': [ 'NO_TCMALLOC', ], }, }], ], }], ['OS == "win"', { # Specify delayload for base.dll. 'msvs_settings': { 'VCLinkerTool': { 'DelayLoadDLLs': [ 'cfgmgr32.dll', 'powrprof.dll', 'setupapi.dll', ], 'AdditionalDependencies': [ 'cfgmgr32.lib', 'powrprof.lib', 'setupapi.lib', ], }, }, # Specify delayload for components that link with base.lib. 'all_dependent_settings': { 'msvs_settings': { 'VCLinkerTool': { 'DelayLoadDLLs': [ 'cfgmgr32.dll', 'powrprof.dll', 'setupapi.dll', ], 'AdditionalDependencies': [ 'cfgmgr32.lib', 'powrprof.lib', 'setupapi.lib', ], }, }, }, 'copies': [ { 'destination': '<(PRODUCT_DIR)/', 'files': [ '../build/win/dbghelp_xp/dbghelp.dll', ], }, ], 'dependencies': [ 'trace_event/etw_manifest/etw_manifest.gyp:etw_manifest', ], }], ['OS == "mac" or (OS == "ios" and _toolset == "host")', { 'link_settings': { 'libraries': [ '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework', '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', '$(SDKROOT)/System/Library/Frameworks/Security.framework', ], }, }], ['OS == "ios" and _toolset != "host"', { 'link_settings': { 'libraries': [ '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', '$(SDKROOT)/System/Library/Frameworks/CoreText.framework', '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', '$(SDKROOT)/System/Library/Frameworks/UIKit.framework', ], }, }], ['OS != "win" and (OS != "ios" or _toolset == "host")', { 'dependencies': ['../third_party/libevent/libevent.gyp:libevent'], },], ['component=="shared_library"', { 'conditions': [ ['OS=="win"', { 'sources!': [ 'debug/debug_on_start_win.cc', ], }], ], }], ['OS=="ios"', { 'sources!': [ 'sync_socket.h', 'sync_socket_posix.cc', ] }], ], 'sources': [ 'auto_reset.h', 'linux_util.cc', 'linux_util.h', 'message_loop/message_pump_android.cc', 'message_loop/message_pump_android.h', 'message_loop/message_pump_glib.cc', 'message_loop/message_pump_glib.h', 'message_loop/message_pump_io_ios.cc', 'message_loop/message_pump_io_ios.h', 'message_loop/message_pump_libevent.cc', 'message_loop/message_pump_libevent.h', 'message_loop/message_pump_mac.h', 'message_loop/message_pump_mac.mm', 'metrics/field_trial.cc', 'metrics/field_trial.h', 'posix/file_descriptor_shuffle.cc', 'posix/file_descriptor_shuffle.h', 'sync_socket.h', 'sync_socket_posix.cc', 'sync_socket_win.cc', 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h', ], 'includes': [ '../build/android/increase_size_for_speed.gypi', ], }, { 'target_name': 'base_i18n', 'type': '<(component)', 'variables': { 'enable_wexit_time_destructors': 1, 'optimize': 'max', 'base_i18n_target': 1, }, 'dependencies': [ 'base', 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', '../third_party/icu/icu.gyp:icui18n', '../third_party/icu/icu.gyp:icuuc', ], 'conditions': [ ['OS == "win"', { # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 'msvs_disabled_warnings': [ 4267, ], }], ['icu_use_data_file_flag==1', { 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE'], }, { # else icu_use_data_file_flag !=1 'conditions': [ ['OS=="win"', { 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'], }, { 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'], }], ], }], ['OS == "ios"', { 'toolsets': ['host', 'target'], }], ], 'export_dependent_settings': [ 'base', '../third_party/icu/icu.gyp:icuuc', '../third_party/icu/icu.gyp:icui18n', ], 'includes': [ '../build/android/increase_size_for_speed.gypi', ], }, { 'target_name': 'base_message_loop_tests', 'type': 'static_library', 'dependencies': [ 'base', '../testing/gtest.gyp:gtest', ], 'sources': [ 'message_loop/message_loop_test.cc', 'message_loop/message_loop_test.h', ], }, { 'target_name': 'base_prefs', 'type': '<(component)', 'variables': { 'enable_wexit_time_destructors': 1, 'optimize': 'max', }, 'dependencies': [ 'base', ], 'export_dependent_settings': [ 'base', ], 'defines': [ 'BASE_PREFS_IMPLEMENTATION', ], 'sources': [ 'prefs/base_prefs_export.h', 'prefs/default_pref_store.cc', 'prefs/default_pref_store.h', 'prefs/json_pref_store.cc', 'prefs/json_pref_store.h', 'prefs/overlay_user_pref_store.cc', 'prefs/overlay_user_pref_store.h', 'prefs/persistent_pref_store.h', 'prefs/pref_change_registrar.cc', 'prefs/pref_change_registrar.h', 'prefs/pref_filter.h', 'prefs/pref_member.cc', 'prefs/pref_member.h', 'prefs/pref_notifier.h', 'prefs/pref_notifier_impl.cc', 'prefs/pref_notifier_impl.h', 'prefs/pref_observer.h', 'prefs/pref_registry.cc', 'prefs/pref_registry.h', 'prefs/pref_registry_simple.cc', 'prefs/pref_registry_simple.h', 'prefs/pref_service.cc', 'prefs/pref_service.h', 'prefs/pref_service_factory.cc', 'prefs/pref_service_factory.h', 'prefs/pref_store.cc', 'prefs/pref_store.h', 'prefs/pref_value_map.cc', 'prefs/pref_value_map.h', 'prefs/pref_value_store.cc', 'prefs/pref_value_store.h', 'prefs/scoped_user_pref_update.cc', 'prefs/scoped_user_pref_update.h', 'prefs/value_map_pref_store.cc', 'prefs/value_map_pref_store.h', 'prefs/writeable_pref_store.h', ], 'includes': [ '../build/android/increase_size_for_speed.gypi', ], }, { 'target_name': 'base_prefs_test_support', 'type': 'static_library', 'dependencies': [ 'base', 'base_prefs', '../testing/gmock.gyp:gmock', ], 'sources': [ 'prefs/mock_pref_change_callback.cc', 'prefs/pref_store_observer_mock.cc', 'prefs/pref_store_observer_mock.h', 'prefs/testing_pref_service.cc', 'prefs/testing_pref_service.h', 'prefs/testing_pref_store.cc', 'prefs/testing_pref_store.h', ], }, { # This is the subset of files from base that should not be used with a # dynamic library. Note that this library cannot depend on base because # base depends on base_static. 'target_name': 'base_static', 'type': 'static_library', 'variables': { 'enable_wexit_time_destructors': 1, 'optimize': 'max', }, 'toolsets': ['host', 'target'], 'sources': [ 'base_switches.cc', 'base_switches.h', 'win/pe_image.cc', 'win/pe_image.h', ], 'include_dirs': [ '..', ], 'includes': [ '../build/android/increase_size_for_speed.gypi', ], }, # Include this target for a main() function that simply instantiates # and runs a base::TestSuite. { 'target_name': 'run_all_unittests', 'type': 'static_library', 'dependencies': [ 'test_support_base', ], 'sources': [ 'test/run_all_unittests.cc', ], }, { 'target_name': 'base_unittests', 'type': '<(gtest_target_type)', 'sources': [ 'android/application_status_listener_unittest.cc', 'android/content_uri_utils_unittest.cc', 'android/jni_android_unittest.cc', 'android/jni_array_unittest.cc', 'android/jni_string_unittest.cc', 'android/library_loader/library_prefetcher_unittest.cc', 'android/path_utils_unittest.cc', 'android/scoped_java_ref_unittest.cc', 'android/sys_utils_unittest.cc', 'at_exit_unittest.cc', 'atomicops_unittest.cc', 'barrier_closure_unittest.cc', 'base64_unittest.cc', 'base64url_unittest.cc', 'big_endian_unittest.cc', 'bind_unittest.cc', 'bind_unittest.nc', 'bits_unittest.cc', 'build_time_unittest.cc', 'callback_helpers_unittest.cc', 'callback_list_unittest.cc', 'callback_list_unittest.nc', 'callback_unittest.cc', 'callback_unittest.nc', 'cancelable_callback_unittest.cc', 'command_line_unittest.cc', 'containers/adapters_unittest.cc', 'containers/hash_tables_unittest.cc', 'containers/linked_list_unittest.cc', 'containers/mru_cache_unittest.cc', 'containers/scoped_ptr_hash_map_unittest.cc', 'containers/small_map_unittest.cc', 'containers/stack_container_unittest.cc', 'cpu_unittest.cc', 'debug/crash_logging_unittest.cc', 'debug/debugger_unittest.cc', 'debug/leak_tracker_unittest.cc', 'debug/proc_maps_linux_unittest.cc', 'debug/stack_trace_unittest.cc', 'debug/task_annotator_unittest.cc', 'deferred_sequenced_task_runner_unittest.cc', 'environment_unittest.cc', 'feature_list_unittest.cc', 'file_version_info_unittest.cc', 'files/dir_reader_posix_unittest.cc', 'files/file_path_unittest.cc', 'files/file_path_watcher_unittest.cc', 'files/file_proxy_unittest.cc', 'files/file_unittest.cc', 'files/file_util_proxy_unittest.cc', 'files/file_util_unittest.cc', 'files/important_file_writer_unittest.cc', 'files/memory_mapped_file_unittest.cc', 'files/scoped_temp_dir_unittest.cc', 'gmock_unittest.cc', 'guid_unittest.cc', 'hash_unittest.cc', 'i18n/break_iterator_unittest.cc', 'i18n/case_conversion_unittest.cc', 'i18n/char_iterator_unittest.cc', 'i18n/file_util_icu_unittest.cc', 'i18n/icu_string_conversions_unittest.cc', 'i18n/message_formatter_unittest.cc', 'i18n/number_formatting_unittest.cc', 'i18n/rtl_unittest.cc', 'i18n/streaming_utf8_validator_unittest.cc', 'i18n/string_search_unittest.cc', 'i18n/time_formatting_unittest.cc', 'i18n/timezone_unittest.cc', 'id_map_unittest.cc', 'ios/crb_protocol_observers_unittest.mm', 'ios/device_util_unittest.mm', 'ios/weak_nsobject_unittest.mm', 'json/json_parser_unittest.cc', 'json/json_reader_unittest.cc', 'json/json_value_converter_unittest.cc', 'json/json_value_serializer_unittest.cc', 'json/json_writer_unittest.cc', 'json/string_escape_unittest.cc', 'lazy_instance_unittest.cc', 'logging_unittest.cc', 'mac/bind_objc_block_unittest.mm', 'mac/call_with_eh_frame_unittest.mm', 'mac/dispatch_source_mach_unittest.cc', 'mac/foundation_util_unittest.mm', 'mac/libdispatch_task_runner_unittest.cc', 'mac/mac_util_unittest.mm', 'mac/objc_property_releaser_unittest.mm', 'mac/scoped_nsobject_unittest.mm', 'mac/scoped_objc_class_swizzler_unittest.mm', 'mac/scoped_sending_event_unittest.mm', 'md5_unittest.cc', 'memory/aligned_memory_unittest.cc', 'memory/discardable_shared_memory_unittest.cc', 'memory/linked_ptr_unittest.cc', 'memory/memory_pressure_listener_unittest.cc', 'memory/memory_pressure_monitor_chromeos_unittest.cc', 'memory/memory_pressure_monitor_mac_unittest.cc', 'memory/memory_pressure_monitor_win_unittest.cc', 'memory/ref_counted_memory_unittest.cc', 'memory/ref_counted_unittest.cc', 'memory/scoped_ptr_unittest.cc', 'memory/scoped_ptr_unittest.nc', 'memory/scoped_vector_unittest.cc', 'memory/shared_memory_unittest.cc', 'memory/shared_memory_mac_unittest.cc', 'memory/singleton_unittest.cc', 'memory/weak_ptr_unittest.cc', 'memory/weak_ptr_unittest.nc', 'message_loop/message_loop_task_runner_unittest.cc', 'message_loop/message_loop_unittest.cc', 'message_loop/message_pump_glib_unittest.cc', 'message_loop/message_pump_io_ios_unittest.cc', 'message_loop/message_pump_libevent_unittest.cc', 'metrics/bucket_ranges_unittest.cc', 'metrics/field_trial_unittest.cc', 'metrics/histogram_base_unittest.cc', 'metrics/histogram_delta_serialization_unittest.cc', 'metrics/histogram_macros_unittest.cc', 'metrics/histogram_snapshot_manager_unittest.cc', 'metrics/histogram_unittest.cc', 'metrics/metrics_hashes_unittest.cc', 'metrics/sample_map_unittest.cc', 'metrics/sample_vector_unittest.cc', 'metrics/sparse_histogram_unittest.cc', 'metrics/statistics_recorder_unittest.cc', 'native_library_unittest.cc', 'numerics/safe_numerics_unittest.cc', 'observer_list_unittest.cc', 'os_compat_android_unittest.cc', 'path_service_unittest.cc', 'pickle_unittest.cc', 'posix/file_descriptor_shuffle_unittest.cc', 'posix/unix_domain_socket_linux_unittest.cc', 'power_monitor/power_monitor_unittest.cc', 'prefs/default_pref_store_unittest.cc', 'prefs/json_pref_store_unittest.cc', 'prefs/mock_pref_change_callback.h', 'prefs/overlay_user_pref_store_unittest.cc', 'prefs/pref_change_registrar_unittest.cc', 'prefs/pref_member_unittest.cc', 'prefs/pref_notifier_impl_unittest.cc', 'prefs/pref_service_unittest.cc', 'prefs/pref_value_map_unittest.cc', 'prefs/pref_value_store_unittest.cc', 'prefs/scoped_user_pref_update_unittest.cc', 'process/memory_unittest.cc', 'process/memory_unittest_mac.h', 'process/memory_unittest_mac.mm', 'process/process_metrics_unittest.cc', 'process/process_metrics_unittest_ios.cc', 'process/process_unittest.cc', 'process/process_util_unittest.cc', 'profiler/stack_sampling_profiler_unittest.cc', 'profiler/tracked_time_unittest.cc', 'rand_util_unittest.cc', 'scoped_clear_errno_unittest.cc', 'scoped_generic_unittest.cc', 'scoped_native_library_unittest.cc', 'security_unittest.cc', 'sequence_checker_unittest.cc', 'sha1_unittest.cc', 'stl_util_unittest.cc', 'strings/nullable_string16_unittest.cc', 'strings/pattern_unittest.cc', 'strings/safe_sprintf_unittest.cc', 'strings/string16_unittest.cc', 'strings/string_number_conversions_unittest.cc', 'strings/string_piece_unittest.cc', 'strings/string_split_unittest.cc', 'strings/string_tokenizer_unittest.cc', 'strings/string_util_unittest.cc', 'strings/stringize_macros_unittest.cc', 'strings/stringprintf_unittest.cc', 'strings/sys_string_conversions_mac_unittest.mm', 'strings/sys_string_conversions_unittest.cc', 'strings/utf_offset_string_conversions_unittest.cc', 'strings/utf_string_conversions_unittest.cc', 'supports_user_data_unittest.cc', 'sync_socket_unittest.cc', 'synchronization/cancellation_flag_unittest.cc', 'synchronization/condition_variable_unittest.cc', 'synchronization/lock_unittest.cc', 'synchronization/waitable_event_unittest.cc', 'synchronization/waitable_event_watcher_unittest.cc', 'sys_info_unittest.cc', 'system_monitor/system_monitor_unittest.cc', 'task/cancelable_task_tracker_unittest.cc', 'task_runner_util_unittest.cc', 'template_util_unittest.cc', 'test/histogram_tester_unittest.cc', 'test/test_pending_task_unittest.cc', 'test/test_reg_util_win_unittest.cc', 'test/trace_event_analyzer_unittest.cc', 'test/user_action_tester_unittest.cc', 'threading/non_thread_safe_unittest.cc', 'threading/platform_thread_unittest.cc', 'threading/sequenced_worker_pool_unittest.cc', 'threading/sequenced_task_runner_handle_unittest.cc', 'threading/simple_thread_unittest.cc', 'threading/thread_checker_unittest.cc', 'threading/thread_collision_warner_unittest.cc', 'threading/thread_id_name_manager_unittest.cc', 'threading/thread_local_storage_unittest.cc', 'threading/thread_local_unittest.cc', 'threading/thread_unittest.cc', 'threading/watchdog_unittest.cc', 'threading/worker_pool_posix_unittest.cc', 'threading/worker_pool_unittest.cc', 'time/pr_time_unittest.cc', 'time/time_unittest.cc', 'time/time_win_unittest.cc', 'timer/hi_res_timer_manager_unittest.cc', 'timer/mock_timer_unittest.cc', 'timer/timer_unittest.cc', 'tools_sanity_unittest.cc', 'tracked_objects_unittest.cc', 'tuple_unittest.cc', 'values_unittest.cc', 'version_unittest.cc', 'vlog_unittest.cc', 'win/dllmain.cc', 'win/enum_variant_unittest.cc', 'win/event_trace_consumer_unittest.cc', 'win/event_trace_controller_unittest.cc', 'win/event_trace_provider_unittest.cc', 'win/i18n_unittest.cc', 'win/iunknown_impl_unittest.cc', 'win/message_window_unittest.cc', 'win/object_watcher_unittest.cc', 'win/pe_image_unittest.cc', 'win/registry_unittest.cc', 'win/scoped_bstr_unittest.cc', 'win/scoped_comptr_unittest.cc', 'win/scoped_handle_unittest.cc', 'win/scoped_process_information_unittest.cc', 'win/scoped_variant_unittest.cc', 'win/shortcut_unittest.cc', 'win/startup_information_unittest.cc', 'win/win_util_unittest.cc', 'win/wrapped_window_proc_unittest.cc', '<@(trace_event_test_sources)', ], 'dependencies': [ 'base', 'base_i18n', 'base_message_loop_tests', 'base_prefs', 'base_prefs_test_support', 'base_static', 'run_all_unittests', 'test_support_base', 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', '../third_party/icu/icu.gyp:icui18n', '../third_party/icu/icu.gyp:icuuc', ], 'includes': ['../build/nocompile.gypi'], 'variables': { # TODO(ajwong): Is there a way to autodetect this? 'module_dir': 'base' }, 'conditions': [ ['OS == "android"', { 'dependencies': [ 'android/jni_generator/jni_generator.gyp:jni_generator_tests', '../testing/android/native_test.gyp:native_test_native_code', ], }], ['OS == "ios" and _toolset != "host"', { 'sources/': [ # iOS does not support FilePathWatcher. ['exclude', '^files/file_path_watcher_unittest\\.cc$'], # Only test the iOS-meaningful portion of memory and process_utils. ['exclude', '^memory/discardable_shared_memory_unittest\\.cc$'], ['exclude', '^memory/shared_memory_unittest\\.cc$'], ['exclude', '^process/memory_unittest'], ['exclude', '^process/process_unittest\\.cc$'], ['exclude', '^process/process_util_unittest\\.cc$'], ['include', '^process/process_util_unittest_ios\\.cc$'], # iOS does not use message_pump_libevent. ['exclude', '^message_loop/message_pump_libevent_unittest\\.cc$'], ], 'actions': [ { 'action_name': 'copy_test_data', 'variables': { 'test_data_files': [ 'test/data', ], 'test_data_prefix': 'base', }, 'includes': [ '../build/copy_test_data_ios.gypi' ], }, ], }], ['desktop_linux == 1 or chromeos == 1', { 'defines': [ 'USE_SYMBOLIZE', ], 'sources!': [ 'file_version_info_unittest.cc', ], 'conditions': [ [ 'desktop_linux==1', { 'sources': [ 'nix/xdg_util_unittest.cc', ], }], ], }], ['use_glib == 1', { 'dependencies': [ '../build/linux/system.gyp:glib', ], }, { # use_glib == 0 'sources!': [ 'message_loop/message_pump_glib_unittest.cc', ] }], ['use_ozone == 1', { 'sources!': [ 'message_loop/message_pump_glib_unittest.cc', ] }], ['OS == "linux"', { 'dependencies': [ 'malloc_wrapper', ], 'conditions': [ ['use_allocator!="none"', { 'dependencies': [ 'allocator/allocator.gyp:allocator', ], }], ]}, ], [ 'OS == "win" and target_arch == "x64"', { 'sources': [ 'profiler/win32_stack_frame_unwinder_unittest.cc', ], 'dependencies': [ 'base_profiler_test_support_library', ], }], ['OS == "win"', { 'sources!': [ 'file_descriptor_shuffle_unittest.cc', 'files/dir_reader_posix_unittest.cc', 'message_loop/message_pump_libevent_unittest.cc', 'threading/worker_pool_posix_unittest.cc', ], # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 'msvs_disabled_warnings': [ 4267, ], 'conditions': [ # This is needed so base_unittests uses the allocator shim, as # SecurityTest.MemoryAllocationRestriction* tests are dependent # on tcmalloc. # TODO(wfh): crbug.com/246278 Move tcmalloc specific tests into # their own test suite. ['win_use_allocator_shim==1', { 'dependencies': [ 'allocator/allocator.gyp:allocator', ], }], ['icu_use_data_file_flag==0', { # This is needed to trigger the dll copy step on windows. # TODO(mark): This should not be necessary. 'dependencies': [ '../third_party/icu/icu.gyp:icudata', ], }], ], }, { # OS != "win" 'dependencies': [ '../third_party/libevent/libevent.gyp:libevent' ], }], ], # conditions 'target_conditions': [ ['OS == "ios" and _toolset != "host"', { 'sources/': [ # Pull in specific Mac files for iOS (which have been filtered out # by file name rules). ['include', '^mac/bind_objc_block_unittest\\.mm$'], ['include', '^mac/foundation_util_unittest\\.mm$',], ['include', '^mac/objc_property_releaser_unittest\\.mm$'], ['include', '^mac/scoped_nsobject_unittest\\.mm$'], ['include', '^sys_string_conversions_mac_unittest\\.mm$'], ], }], ['OS == "android"', { 'sources/': [ ['include', '^debug/proc_maps_linux_unittest\\.cc$'], ], }], # Enable more direct string conversions on platforms with native utf8 # strings ['OS=="mac" or OS=="ios" or <(chromeos)==1 or <(chromecast)==1', { 'defines': ['SYSTEM_NATIVE_UTF8'], }], # SyncSocket isn't used on iOS ['OS=="ios"', { 'sources!': [ 'sync_socket_unittest.cc', ], }], ], # target_conditions }, { # GN: //base:base_perftests 'target_name': 'base_perftests', 'type': '<(gtest_target_type)', 'dependencies': [ 'base', 'test_support_base', '../testing/gtest.gyp:gtest', ], 'sources': [ 'message_loop/message_pump_perftest.cc', 'test/run_all_unittests.cc', 'threading/thread_perftest.cc', '../testing/perf/perf_test.cc' ], 'conditions': [ ['OS == "android"', { 'dependencies': [ '../testing/android/native_test.gyp:native_test_native_code', ], }], ], }, { # GN: //base:base_i18n_perftests 'target_name': 'base_i18n_perftests', 'type': '<(gtest_target_type)', 'dependencies': [ 'test_support_base', 'test_support_perf', '../testing/gtest.gyp:gtest', 'base_i18n', 'base', ], 'sources': [ 'i18n/streaming_utf8_validator_perftest.cc', ], }, { # GN: //base/test:test_support 'target_name': 'test_support_base', 'type': 'static_library', 'dependencies': [ 'base', 'base_static', 'base_i18n', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', '../third_party/icu/icu.gyp:icuuc', '../third_party/libxml/libxml.gyp:libxml', 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', ], 'export_dependent_settings': [ 'base', ], 'conditions': [ ['os_posix==0', { 'sources!': [ 'test/scoped_locale.cc', 'test/scoped_locale.h', ], }], ['os_bsd==1', { 'sources!': [ 'test/test_file_util_linux.cc', ], }], ['OS == "android"', { 'dependencies': [ 'base_unittests_jni_headers', 'base_java_unittest_support', ], }], ['OS == "ios"', { 'toolsets': ['host', 'target'], }], ], 'sources': [ 'test/gtest_util.cc', 'test/gtest_util.h', 'test/gtest_xml_unittest_result_printer.cc', 'test/gtest_xml_unittest_result_printer.h', 'test/gtest_xml_util.cc', 'test/gtest_xml_util.h', 'test/histogram_tester.cc', 'test/histogram_tester.h', 'test/icu_test_util.cc', 'test/icu_test_util.h', 'test/ios/wait_util.h', 'test/ios/wait_util.mm', 'test/launcher/test_launcher.cc', 'test/launcher/test_launcher.h', 'test/launcher/test_result.cc', 'test/launcher/test_result.h', 'test/launcher/test_results_tracker.cc', 'test/launcher/test_results_tracker.h', 'test/launcher/unit_test_launcher.cc', 'test/launcher/unit_test_launcher.h', 'test/launcher/unit_test_launcher_ios.cc', 'test/mock_chrome_application_mac.h', 'test/mock_chrome_application_mac.mm', 'test/mock_devices_changed_observer.cc', 'test/mock_devices_changed_observer.h', 'test/mock_entropy_provider.cc', 'test/mock_entropy_provider.h', 'test/mock_log.cc', 'test/mock_log.h', 'test/multiprocess_test.cc', 'test/multiprocess_test.h', 'test/multiprocess_test_android.cc', 'test/null_task_runner.cc', 'test/null_task_runner.h', 'test/opaque_ref_counted.cc', 'test/opaque_ref_counted.h', 'test/perf_log.cc', 'test/perf_log.h', 'test/perf_test_suite.cc', 'test/perf_test_suite.h', 'test/perf_time_logger.cc', 'test/perf_time_logger.h', 'test/power_monitor_test_base.cc', 'test/power_monitor_test_base.h', 'test/scoped_locale.cc', 'test/scoped_locale.h', 'test/scoped_path_override.cc', 'test/scoped_path_override.h', 'test/sequenced_task_runner_test_template.cc', 'test/sequenced_task_runner_test_template.h', 'test/sequenced_worker_pool_owner.cc', 'test/sequenced_worker_pool_owner.h', 'test/simple_test_clock.cc', 'test/simple_test_clock.h', 'test/simple_test_tick_clock.cc', 'test/simple_test_tick_clock.h', 'test/task_runner_test_template.cc', 'test/task_runner_test_template.h', 'test/test_discardable_memory_allocator.cc', 'test/test_discardable_memory_allocator.h', 'test/test_file_util.cc', 'test/test_file_util.h', 'test/test_file_util_android.cc', 'test/test_file_util_linux.cc', 'test/test_file_util_mac.cc', 'test/test_file_util_posix.cc', 'test/test_file_util_win.cc', 'test/test_io_thread.cc', 'test/test_io_thread.h', 'test/test_listener_ios.h', 'test/test_listener_ios.mm', 'test/test_mock_time_task_runner.cc', 'test/test_mock_time_task_runner.h', 'test/test_pending_task.cc', 'test/test_pending_task.h', 'test/test_reg_util_win.cc', 'test/test_reg_util_win.h', 'test/test_shortcut_win.cc', 'test/test_shortcut_win.h', 'test/test_simple_task_runner.cc', 'test/test_simple_task_runner.h', 'test/test_suite.cc', 'test/test_suite.h', 'test/test_support_android.cc', 'test/test_support_android.h', 'test/test_support_ios.h', 'test/test_support_ios.mm', 'test/test_switches.cc', 'test/test_switches.h', 'test/test_timeouts.cc', 'test/test_timeouts.h', 'test/test_ui_thread_android.cc', 'test/test_ui_thread_android.h', 'test/thread_test_helper.cc', 'test/thread_test_helper.h', 'test/trace_event_analyzer.cc', 'test/trace_event_analyzer.h', 'test/trace_to_file.cc', 'test/trace_to_file.h', 'test/user_action_tester.cc', 'test/user_action_tester.h', 'test/values_test_util.cc', 'test/values_test_util.h', ], 'target_conditions': [ ['OS == "ios"', { 'sources/': [ # Pull in specific Mac files for iOS (which have been filtered out # by file name rules). ['include', '^test/test_file_util_mac\\.cc$'], ], }], ['OS == "ios" and _toolset == "target"', { 'sources!': [ # iOS uses its own unit test launcher. 'test/launcher/unit_test_launcher.cc', ], }], ['OS == "ios" and _toolset == "host"', { 'sources!': [ 'test/launcher/unit_test_launcher_ios.cc', 'test/test_support_ios.h', 'test/test_support_ios.mm', ], }], ], # target_conditions }, { 'target_name': 'test_support_perf', 'type': 'static_library', 'dependencies': [ 'base', 'test_support_base', '../testing/gtest.gyp:gtest', ], 'sources': [ 'test/run_all_perftests.cc', ], 'direct_dependent_settings': { 'defines': [ 'PERF_TEST', ], }, }, { 'target_name': 'test_launcher_nacl_nonsfi', 'conditions': [ ['disable_nacl==0 and disable_nacl_untrusted==0 and enable_nacl_nonsfi_test==1', { 'type': 'static_library', 'sources': [ 'test/launcher/test_launcher_nacl_nonsfi.cc', ], 'dependencies': [ 'test_support_base', ], }, { 'type': 'none', }], ], }, ], 'conditions': [ ['OS=="ios" and "<(GENERATOR)"=="ninja"', { 'targets': [ { 'target_name': 'test_launcher', 'toolsets': ['host'], 'type': 'executable', 'dependencies': [ 'test_support_base', ], 'sources': [ 'test/launcher/test_launcher_ios.cc', ], }, ], }], ['OS!="ios"', { 'targets': [ { # GN: //base:check_example 'target_name': 'check_example', 'type': 'executable', 'sources': [ 'check_example.cc', ], 'dependencies': [ 'base', ], }, { 'target_name': 'build_utf8_validator_tables', 'type': 'executable', 'toolsets': ['host'], 'dependencies': [ 'base', '../third_party/icu/icu.gyp:icuuc', ], 'sources': [ 'i18n/build_utf8_validator_tables.cc' ], }, ], }], ['OS == "win" and target_arch=="ia32"', { 'targets': [ # The base_win64 target here allows us to use base for Win64 targets # (the normal build is 32 bits). { 'target_name': 'base_win64', 'type': '<(component)', 'variables': { 'base_target': 1, }, 'dependencies': [ 'base_static_win64', 'allocator/allocator.gyp:allocator_extension_thunks_win64', '../third_party/modp_b64/modp_b64.gyp:modp_b64_win64', 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64', 'trace_event/etw_manifest/etw_manifest.gyp:etw_manifest', ], # TODO(gregoryd): direct_dependent_settings should be shared with the # 32-bit target, but it doesn't work due to a bug in gyp 'direct_dependent_settings': { 'include_dirs': [ '..', ], }, 'defines': [ 'BASE_WIN64', '<@(nacl_win64_defines)', ], 'configurations': { 'Common_Base': { 'msvs_target_platform': 'x64', }, }, 'conditions': [ ['component == "shared_library"', { 'sources!': [ 'debug/debug_on_start_win.cc', ], }], ], # Specify delayload for base_win64.dll. 'msvs_settings': { 'VCLinkerTool': { 'DelayLoadDLLs': [ 'cfgmgr32.dll', 'powrprof.dll', 'setupapi.dll', ], 'AdditionalDependencies': [ 'cfgmgr32.lib', 'powrprof.lib', 'setupapi.lib', ], }, }, # Specify delayload for components that link with base_win64.lib. 'all_dependent_settings': { 'msvs_settings': { 'VCLinkerTool': { 'DelayLoadDLLs': [ 'cfgmgr32.dll', 'powrprof.dll', 'setupapi.dll', ], 'AdditionalDependencies': [ 'cfgmgr32.lib', 'powrprof.lib', 'setupapi.lib', ], }, }, }, # TODO(rvargas): Bug 78117. Remove this. 'msvs_disabled_warnings': [ 4244, 4996, 4267, ], 'sources': [ 'auto_reset.h', 'linux_util.cc', 'linux_util.h', 'md5.cc', 'md5.h', 'message_loop/message_pump_libevent.cc', 'message_loop/message_pump_libevent.h', 'metrics/field_trial.cc', 'metrics/field_trial.h', 'posix/file_descriptor_shuffle.cc', 'posix/file_descriptor_shuffle.h', 'sync_socket.h', 'sync_socket_posix.cc', 'sync_socket_win.cc', 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h', ], }, { 'target_name': 'base_i18n_nacl_win64', 'type': '<(component)', # TODO(gregoryd): direct_dependent_settings should be shared with the # 32-bit target, but it doesn't work due to a bug in gyp 'direct_dependent_settings': { 'include_dirs': [ '..', ], }, 'defines': [ '<@(nacl_win64_defines)', 'BASE_I18N_IMPLEMENTATION', ], 'include_dirs': [ '..', ], 'sources': [ 'i18n/icu_util_nacl_win64.cc', ], 'configurations': { 'Common_Base': { 'msvs_target_platform': 'x64', }, }, }, { # TODO(rvargas): Remove this when gyp finally supports a clean model. # See bug 36232. 'target_name': 'base_static_win64', 'type': 'static_library', 'sources': [ 'base_switches.cc', 'base_switches.h', 'win/pe_image.cc', 'win/pe_image.h', ], 'sources!': [ # base64.cc depends on modp_b64. 'base64.cc', ], 'include_dirs': [ '..', ], 'configurations': { 'Common_Base': { 'msvs_target_platform': 'x64', }, }, 'defines': [ '<@(nacl_win64_defines)', ], # TODO(rvargas): Bug 78117. Remove this. 'msvs_disabled_warnings': [ 4244, ], }, ], }], ['OS == "win" and target_arch=="x64"', { 'targets': [ { 'target_name': 'base_profiler_test_support_library', # Must be a shared library so that it can be unloaded during testing. 'type': 'shared_library', 'include_dirs': [ '..', ], 'sources': [ 'profiler/test_support_library.cc', ], }, ] }], ['os_posix==1 and OS!="mac" and OS!="ios"', { 'targets': [ { 'target_name': 'symbolize', 'type': 'static_library', 'toolsets': ['host', 'target'], 'variables': { 'chromium_code': 0, }, 'conditions': [ ['OS == "solaris"', { 'include_dirs': [ '/usr/gnu/include', '/usr/gnu/include/libelf', ], },], ], 'cflags': [ '-Wno-sign-compare', ], 'cflags!': [ '-Wextra', ], 'defines': [ 'GLOG_BUILD_CONFIG_INCLUDE="build/build_config.h"', ], 'sources': [ 'third_party/symbolize/config.h', 'third_party/symbolize/demangle.cc', 'third_party/symbolize/demangle.h', 'third_party/symbolize/glog/logging.h', 'third_party/symbolize/glog/raw_logging.h', 'third_party/symbolize/symbolize.cc', 'third_party/symbolize/symbolize.h', 'third_party/symbolize/utilities.h', ], 'include_dirs': [ '..', ], 'includes': [ '../build/android/increase_size_for_speed.gypi', ], }, { 'target_name': 'xdg_mime', 'type': 'static_library', 'toolsets': ['host', 'target'], 'variables': { 'chromium_code': 0, }, 'cflags!': [ '-Wextra', ], 'sources': [ 'third_party/xdg_mime/xdgmime.c', 'third_party/xdg_mime/xdgmime.h', 'third_party/xdg_mime/xdgmimealias.c', 'third_party/xdg_mime/xdgmimealias.h', 'third_party/xdg_mime/xdgmimecache.c', 'third_party/xdg_mime/xdgmimecache.h', 'third_party/xdg_mime/xdgmimeglob.c', 'third_party/xdg_mime/xdgmimeglob.h', 'third_party/xdg_mime/xdgmimeicon.c', 'third_party/xdg_mime/xdgmimeicon.h', 'third_party/xdg_mime/xdgmimeint.c', 'third_party/xdg_mime/xdgmimeint.h', 'third_party/xdg_mime/xdgmimemagic.c', 'third_party/xdg_mime/xdgmimemagic.h', 'third_party/xdg_mime/xdgmimeparent.c', 'third_party/xdg_mime/xdgmimeparent.h', ], 'includes': [ '../build/android/increase_size_for_speed.gypi', ], }, ], }], ['OS == "linux"', { 'targets': [ { 'target_name': 'malloc_wrapper', 'type': 'shared_library', 'dependencies': [ 'base', ], 'sources': [ 'test/malloc_wrapper.cc', ], } ], }], ['OS == "android"', { 'targets': [ { # GN: //base:base_jni_headers 'target_name': 'base_jni_headers', 'type': 'none', 'sources': [ 'android/java/src/org/chromium/base/ApkAssets.java', 'android/java/src/org/chromium/base/ApplicationStatus.java', 'android/java/src/org/chromium/base/AnimationFrameTimeHistogram.java', 'android/java/src/org/chromium/base/BuildInfo.java', 'android/java/src/org/chromium/base/CommandLine.java', 'android/java/src/org/chromium/base/ContentUriUtils.java', 'android/java/src/org/chromium/base/ContextUtils.java', 'android/java/src/org/chromium/base/CpuFeatures.java', 'android/java/src/org/chromium/base/EventLog.java', 'android/java/src/org/chromium/base/FieldTrialList.java', 'android/java/src/org/chromium/base/ImportantFileWriterAndroid.java', 'android/java/src/org/chromium/base/JNIUtils.java', 'android/java/src/org/chromium/base/JavaHandlerThread.java', 'android/java/src/org/chromium/base/LocaleUtils.java', 'android/java/src/org/chromium/base/MemoryPressureListener.java', 'android/java/src/org/chromium/base/PathService.java', 'android/java/src/org/chromium/base/PathUtils.java', 'android/java/src/org/chromium/base/PowerMonitor.java', 'android/java/src/org/chromium/base/SysUtils.java', 'android/java/src/org/chromium/base/SystemMessageHandler.java', 'android/java/src/org/chromium/base/ThreadUtils.java', 'android/java/src/org/chromium/base/TraceEvent.java', 'android/java/src/org/chromium/base/library_loader/LibraryLoader.java', 'android/java/src/org/chromium/base/metrics/RecordHistogram.java', 'android/java/src/org/chromium/base/metrics/RecordUserAction.java', ], 'variables': { 'jni_gen_package': 'base', }, 'dependencies': [ 'android_runtime_jni_headers', ], 'includes': [ '../build/jni_generator.gypi' ], }, { # GN: //base:android_runtime_jni_headers 'target_name': 'android_runtime_jni_headers', 'type': 'none', 'variables': { 'jni_gen_package': 'base', 'input_java_class': 'java/lang/Runtime.class', }, 'includes': [ '../build/jar_file_jni_generator.gypi' ], }, { # GN: //base:base_unittests_jni_headers 'target_name': 'base_unittests_jni_headers', 'type': 'none', 'sources': [ 'test/android/java/src/org/chromium/base/ContentUriTestUtils.java', 'test/android/java/src/org/chromium/base/TestUiThread.java', ], 'variables': { 'jni_gen_package': 'base', }, 'includes': [ '../build/jni_generator.gypi' ], }, { # GN: //base:base_native_libraries_gen 'target_name': 'base_native_libraries_gen', 'type': 'none', 'sources': [ 'android/java/templates/NativeLibraries.template', ], 'variables': { 'package_name': 'org/chromium/base/library_loader', 'template_deps': [], }, 'includes': [ '../build/android/java_cpp_template.gypi' ], }, { # GN: //base:base_multidex_gen 'target_name': 'base_multidex_gen', 'type': 'none', 'sources': [ 'android/java/templates/ChromiumMultiDex.template', ], 'variables': { 'package_name': 'org/chromium/base/multidex', 'template_deps': [], 'additional_gcc_preprocess_options': [ '--defines', 'MULTIDEX_CONFIGURATION_<(CONFIGURATION_NAME)', ], }, 'includes': ['../build/android/java_cpp_template.gypi'], }, { # GN: //base:base_android_java_enums_srcjar 'target_name': 'base_java_library_process_type', 'type': 'none', 'variables': { 'source_file': 'android/library_loader/library_loader_hooks.h', }, 'includes': [ '../build/android/java_cpp_enum.gypi' ], }, { # GN: //base:base_java 'target_name': 'base_java', 'type': 'none', 'variables': { 'java_in_dir': 'android/java', 'jar_excluded_classes': [ '*/NativeLibraries.class' ], }, 'dependencies': [ 'base_java_application_state', 'base_java_library_load_from_apk_status_codes', 'base_java_library_process_type', 'base_java_memory_pressure_level', 'base_multidex_gen', 'base_native_libraries_gen', '../third_party/android_tools/android_tools.gyp:android_support_multidex_javalib', '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib', ], 'includes': [ '../build/java.gypi' ], }, { # GN: //base:base_java_unittest_support 'target_name': 'base_java_unittest_support', 'type': 'none', 'dependencies': [ 'base_java', ], 'variables': { 'java_in_dir': '../base/test/android/java', }, 'includes': [ '../build/java.gypi' ], }, { # GN: //base:base_android_java_enums_srcjar 'target_name': 'base_java_application_state', 'type': 'none', 'variables': { 'source_file': 'android/application_status_listener.h', }, 'includes': [ '../build/android/java_cpp_enum.gypi' ], }, { # GN: //base:base_android_java_enums_srcjar 'target_name': 'base_java_library_load_from_apk_status_codes', 'type': 'none', 'variables': { 'source_file': 'android/library_loader/library_load_from_apk_status_codes.h' }, 'includes': [ '../build/android/java_cpp_enum.gypi' ], }, { # GN: //base:base_android_java_enums_srcjar 'target_name': 'base_java_memory_pressure_level', 'type': 'none', 'variables': { 'source_file': 'memory/memory_pressure_listener.h', }, 'includes': [ '../build/android/java_cpp_enum.gypi' ], }, { # GN: //base:base_java_test_support 'target_name': 'base_java_test_support', 'type': 'none', 'dependencies': [ 'base_java', '../testing/android/on_device_instrumentation.gyp:reporter_java', ], 'variables': { 'java_in_dir': '../base/test/android/javatests', }, 'includes': [ '../build/java.gypi' ], }, { # TODO(jbudorick): Remove this once we roll to robolectric 3.0 and pull # in the multidex shadow library. crbug.com/522043 # GN: //base:base_junit_test_support 'target_name': 'base_junit_test_support', 'type': 'none', 'dependencies': [ '../testing/android/junit/junit_test.gyp:junit_test_support', '../third_party/android_tools/android_tools.gyp:android_support_multidex_javalib', ], 'variables': { 'src_paths': [ '../base/test/android/junit/', ], }, 'includes': [ '../build/host_jar.gypi' ] }, { # GN: //base:base_junit_tests 'target_name': 'base_junit_tests', 'type': 'none', 'dependencies': [ 'base_java', 'base_java_test_support', 'base_junit_test_support', '../testing/android/junit/junit_test.gyp:junit_test_support', ], 'variables': { 'main_class': 'org.chromium.testing.local.JunitTestMain', 'src_paths': [ '../base/android/junit/', ], }, 'includes': [ '../build/host_jar.gypi' ], }, { # GN: //base:base_javatests 'target_name': 'base_javatests', 'type': 'none', 'dependencies': [ 'base_java', 'base_java_test_support', ], 'variables': { 'java_in_dir': '../base/android/javatests', }, 'includes': [ '../build/java.gypi' ], }, { # GN: //base/android/linker:chromium_android_linker 'target_name': 'chromium_android_linker', 'type': 'shared_library', 'sources': [ 'android/linker/android_dlext.h', 'android/linker/legacy_linker_jni.cc', 'android/linker/legacy_linker_jni.h', 'android/linker/linker_jni.cc', 'android/linker/linker_jni.h', 'android/linker/modern_linker_jni.cc', 'android/linker/modern_linker_jni.h', ], # The crazy linker is never instrumented. 'cflags!': [ '-finstrument-functions', ], 'dependencies': [ # The NDK contains the crazy_linker here: # '<(android_ndk_root)/crazy_linker.gyp:crazy_linker' # However, we use our own fork. See bug 384700. '../third_party/android_crazy_linker/crazy_linker.gyp:crazy_linker', ], }, { # GN: //base:base_perftests_apk 'target_name': 'base_perftests_apk', 'type': 'none', 'dependencies': [ 'base_perftests', ], 'variables': { 'test_suite_name': 'base_perftests', }, 'includes': [ '../build/apk_test.gypi' ], }, { # GN: //base:base_unittests_apk 'target_name': 'base_unittests_apk', 'type': 'none', 'dependencies': [ 'base_java', 'base_unittests', ], 'variables': { 'test_suite_name': 'base_unittests', 'isolate_file': 'base_unittests.isolate', }, 'includes': [ '../build/apk_test.gypi' ], }, ], 'conditions': [ ['test_isolation_mode != "noop"', { 'targets': [ { 'target_name': 'base_unittests_apk_run', 'type': 'none', 'dependencies': [ 'base_unittests_apk', ], 'includes': [ '../build/isolate.gypi', ], 'sources': [ 'base_unittests_apk.isolate', ], }, ] } ], ], }], ['OS == "win"', { 'targets': [ { # Target to manually rebuild pe_image_test.dll which is checked into # base/test/data/pe_image. 'target_name': 'pe_image_test', 'type': 'shared_library', 'sources': [ 'win/pe_image_test.cc', ], 'msvs_settings': { 'VCLinkerTool': { 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS 'DelayLoadDLLs': [ 'cfgmgr32.dll', 'shell32.dll', ], 'AdditionalDependencies': [ 'cfgmgr32.lib', 'shell32.lib', ], }, }, }, ], }], ['test_isolation_mode != "noop"', { 'targets': [ { 'target_name': 'base_unittests_run', 'type': 'none', 'dependencies': [ 'base_unittests', ], 'includes': [ '../build/isolate.gypi', ], 'sources': [ 'base_unittests.isolate', ], }, ], }], ], }
{'variables': {'chromium_code': 1}, 'includes': ['../build/win_precompile.gypi', 'base.gypi'], 'targets': [{'target_name': 'base', 'type': '<(component)', 'toolsets': ['host', 'target'], 'variables': {'base_target': 1, 'enable_wexit_time_destructors': 1, 'optimize': 'max'}, 'dependencies': ['base_static', 'allocator/allocator.gyp:allocator_extension_thunks', '../testing/gtest.gyp:gtest_prod', '../third_party/modp_b64/modp_b64.gyp:modp_b64', 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations'], 'direct_dependent_settings': {'include_dirs': ['..']}, 'conditions': [['desktop_linux == 1 or chromeos == 1', {'conditions': [['chromeos==1', {'sources/': [['include', '_chromeos\\.cc$']]}]], 'dependencies': ['symbolize', 'xdg_mime'], 'defines': ['USE_SYMBOLIZE']}, {'sources/': [['exclude', '/xdg_user_dirs/'], ['exclude', '_nss\\.cc$']]}], ['use_glib==1', {'dependencies': ['../build/linux/system.gyp:glib'], 'export_dependent_settings': ['../build/linux/system.gyp:glib']}], ['OS == "android" and _toolset == "host"', {'type': 'static_library', 'conditions': [['host_os == "mac"', {'sources/': [['exclude', '^native_library_linux\\.cc$'], ['exclude', '^process_util_linux\\.cc$'], ['exclude', '^sys_info_linux\\.cc$'], ['exclude', '^sys_string_conversions_linux\\.cc$'], ['exclude', '^worker_pool_linux\\.cc$']]}]]}], ['OS == "android" and _toolset == "target"', {'dependencies': ['base_java', 'base_jni_headers', '../build/android/ndk.gyp:cpu_features', '../third_party/ashmem/ashmem.gyp:ashmem'], 'link_settings': {'libraries': ['-llog']}, 'sources!': ['debug/stack_trace_posix.cc']}], ['os_bsd==1', {'include_dirs': ['/usr/local/include'], 'link_settings': {'libraries': ['-L/usr/local/lib -lexecinfo']}}], ['OS == "linux"', {'link_settings': {'libraries': ['-lrt', '-ldl']}, 'conditions': [['use_allocator!="tcmalloc"', {'defines': ['NO_TCMALLOC'], 'direct_dependent_settings': {'defines': ['NO_TCMALLOC']}}]]}], ['OS == "win"', {'msvs_settings': {'VCLinkerTool': {'DelayLoadDLLs': ['cfgmgr32.dll', 'powrprof.dll', 'setupapi.dll'], 'AdditionalDependencies': ['cfgmgr32.lib', 'powrprof.lib', 'setupapi.lib']}}, 'all_dependent_settings': {'msvs_settings': {'VCLinkerTool': {'DelayLoadDLLs': ['cfgmgr32.dll', 'powrprof.dll', 'setupapi.dll'], 'AdditionalDependencies': ['cfgmgr32.lib', 'powrprof.lib', 'setupapi.lib']}}}, 'copies': [{'destination': '<(PRODUCT_DIR)/', 'files': ['../build/win/dbghelp_xp/dbghelp.dll']}], 'dependencies': ['trace_event/etw_manifest/etw_manifest.gyp:etw_manifest']}], ['OS == "mac" or (OS == "ios" and _toolset == "host")', {'link_settings': {'libraries': ['$(SDKROOT)/System/Library/Frameworks/AppKit.framework', '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework', '$(SDKROOT)/System/Library/Frameworks/Carbon.framework', '$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', '$(SDKROOT)/System/Library/Frameworks/IOKit.framework', '$(SDKROOT)/System/Library/Frameworks/Security.framework']}}], ['OS == "ios" and _toolset != "host"', {'link_settings': {'libraries': ['$(SDKROOT)/System/Library/Frameworks/CoreFoundation.framework', '$(SDKROOT)/System/Library/Frameworks/CoreGraphics.framework', '$(SDKROOT)/System/Library/Frameworks/CoreText.framework', '$(SDKROOT)/System/Library/Frameworks/Foundation.framework', '$(SDKROOT)/System/Library/Frameworks/UIKit.framework']}}], ['OS != "win" and (OS != "ios" or _toolset == "host")', {'dependencies': ['../third_party/libevent/libevent.gyp:libevent']}], ['component=="shared_library"', {'conditions': [['OS=="win"', {'sources!': ['debug/debug_on_start_win.cc']}]]}], ['OS=="ios"', {'sources!': ['sync_socket.h', 'sync_socket_posix.cc']}]], 'sources': ['auto_reset.h', 'linux_util.cc', 'linux_util.h', 'message_loop/message_pump_android.cc', 'message_loop/message_pump_android.h', 'message_loop/message_pump_glib.cc', 'message_loop/message_pump_glib.h', 'message_loop/message_pump_io_ios.cc', 'message_loop/message_pump_io_ios.h', 'message_loop/message_pump_libevent.cc', 'message_loop/message_pump_libevent.h', 'message_loop/message_pump_mac.h', 'message_loop/message_pump_mac.mm', 'metrics/field_trial.cc', 'metrics/field_trial.h', 'posix/file_descriptor_shuffle.cc', 'posix/file_descriptor_shuffle.h', 'sync_socket.h', 'sync_socket_posix.cc', 'sync_socket_win.cc', 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h'], 'includes': ['../build/android/increase_size_for_speed.gypi']}, {'target_name': 'base_i18n', 'type': '<(component)', 'variables': {'enable_wexit_time_destructors': 1, 'optimize': 'max', 'base_i18n_target': 1}, 'dependencies': ['base', 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', '../third_party/icu/icu.gyp:icui18n', '../third_party/icu/icu.gyp:icuuc'], 'conditions': [['OS == "win"', {'msvs_disabled_warnings': [4267]}], ['icu_use_data_file_flag==1', {'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE']}, {'conditions': [['OS=="win"', {'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED']}, {'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC']}]]}], ['OS == "ios"', {'toolsets': ['host', 'target']}]], 'export_dependent_settings': ['base', '../third_party/icu/icu.gyp:icuuc', '../third_party/icu/icu.gyp:icui18n'], 'includes': ['../build/android/increase_size_for_speed.gypi']}, {'target_name': 'base_message_loop_tests', 'type': 'static_library', 'dependencies': ['base', '../testing/gtest.gyp:gtest'], 'sources': ['message_loop/message_loop_test.cc', 'message_loop/message_loop_test.h']}, {'target_name': 'base_prefs', 'type': '<(component)', 'variables': {'enable_wexit_time_destructors': 1, 'optimize': 'max'}, 'dependencies': ['base'], 'export_dependent_settings': ['base'], 'defines': ['BASE_PREFS_IMPLEMENTATION'], 'sources': ['prefs/base_prefs_export.h', 'prefs/default_pref_store.cc', 'prefs/default_pref_store.h', 'prefs/json_pref_store.cc', 'prefs/json_pref_store.h', 'prefs/overlay_user_pref_store.cc', 'prefs/overlay_user_pref_store.h', 'prefs/persistent_pref_store.h', 'prefs/pref_change_registrar.cc', 'prefs/pref_change_registrar.h', 'prefs/pref_filter.h', 'prefs/pref_member.cc', 'prefs/pref_member.h', 'prefs/pref_notifier.h', 'prefs/pref_notifier_impl.cc', 'prefs/pref_notifier_impl.h', 'prefs/pref_observer.h', 'prefs/pref_registry.cc', 'prefs/pref_registry.h', 'prefs/pref_registry_simple.cc', 'prefs/pref_registry_simple.h', 'prefs/pref_service.cc', 'prefs/pref_service.h', 'prefs/pref_service_factory.cc', 'prefs/pref_service_factory.h', 'prefs/pref_store.cc', 'prefs/pref_store.h', 'prefs/pref_value_map.cc', 'prefs/pref_value_map.h', 'prefs/pref_value_store.cc', 'prefs/pref_value_store.h', 'prefs/scoped_user_pref_update.cc', 'prefs/scoped_user_pref_update.h', 'prefs/value_map_pref_store.cc', 'prefs/value_map_pref_store.h', 'prefs/writeable_pref_store.h'], 'includes': ['../build/android/increase_size_for_speed.gypi']}, {'target_name': 'base_prefs_test_support', 'type': 'static_library', 'dependencies': ['base', 'base_prefs', '../testing/gmock.gyp:gmock'], 'sources': ['prefs/mock_pref_change_callback.cc', 'prefs/pref_store_observer_mock.cc', 'prefs/pref_store_observer_mock.h', 'prefs/testing_pref_service.cc', 'prefs/testing_pref_service.h', 'prefs/testing_pref_store.cc', 'prefs/testing_pref_store.h']}, {'target_name': 'base_static', 'type': 'static_library', 'variables': {'enable_wexit_time_destructors': 1, 'optimize': 'max'}, 'toolsets': ['host', 'target'], 'sources': ['base_switches.cc', 'base_switches.h', 'win/pe_image.cc', 'win/pe_image.h'], 'include_dirs': ['..'], 'includes': ['../build/android/increase_size_for_speed.gypi']}, {'target_name': 'run_all_unittests', 'type': 'static_library', 'dependencies': ['test_support_base'], 'sources': ['test/run_all_unittests.cc']}, {'target_name': 'base_unittests', 'type': '<(gtest_target_type)', 'sources': ['android/application_status_listener_unittest.cc', 'android/content_uri_utils_unittest.cc', 'android/jni_android_unittest.cc', 'android/jni_array_unittest.cc', 'android/jni_string_unittest.cc', 'android/library_loader/library_prefetcher_unittest.cc', 'android/path_utils_unittest.cc', 'android/scoped_java_ref_unittest.cc', 'android/sys_utils_unittest.cc', 'at_exit_unittest.cc', 'atomicops_unittest.cc', 'barrier_closure_unittest.cc', 'base64_unittest.cc', 'base64url_unittest.cc', 'big_endian_unittest.cc', 'bind_unittest.cc', 'bind_unittest.nc', 'bits_unittest.cc', 'build_time_unittest.cc', 'callback_helpers_unittest.cc', 'callback_list_unittest.cc', 'callback_list_unittest.nc', 'callback_unittest.cc', 'callback_unittest.nc', 'cancelable_callback_unittest.cc', 'command_line_unittest.cc', 'containers/adapters_unittest.cc', 'containers/hash_tables_unittest.cc', 'containers/linked_list_unittest.cc', 'containers/mru_cache_unittest.cc', 'containers/scoped_ptr_hash_map_unittest.cc', 'containers/small_map_unittest.cc', 'containers/stack_container_unittest.cc', 'cpu_unittest.cc', 'debug/crash_logging_unittest.cc', 'debug/debugger_unittest.cc', 'debug/leak_tracker_unittest.cc', 'debug/proc_maps_linux_unittest.cc', 'debug/stack_trace_unittest.cc', 'debug/task_annotator_unittest.cc', 'deferred_sequenced_task_runner_unittest.cc', 'environment_unittest.cc', 'feature_list_unittest.cc', 'file_version_info_unittest.cc', 'files/dir_reader_posix_unittest.cc', 'files/file_path_unittest.cc', 'files/file_path_watcher_unittest.cc', 'files/file_proxy_unittest.cc', 'files/file_unittest.cc', 'files/file_util_proxy_unittest.cc', 'files/file_util_unittest.cc', 'files/important_file_writer_unittest.cc', 'files/memory_mapped_file_unittest.cc', 'files/scoped_temp_dir_unittest.cc', 'gmock_unittest.cc', 'guid_unittest.cc', 'hash_unittest.cc', 'i18n/break_iterator_unittest.cc', 'i18n/case_conversion_unittest.cc', 'i18n/char_iterator_unittest.cc', 'i18n/file_util_icu_unittest.cc', 'i18n/icu_string_conversions_unittest.cc', 'i18n/message_formatter_unittest.cc', 'i18n/number_formatting_unittest.cc', 'i18n/rtl_unittest.cc', 'i18n/streaming_utf8_validator_unittest.cc', 'i18n/string_search_unittest.cc', 'i18n/time_formatting_unittest.cc', 'i18n/timezone_unittest.cc', 'id_map_unittest.cc', 'ios/crb_protocol_observers_unittest.mm', 'ios/device_util_unittest.mm', 'ios/weak_nsobject_unittest.mm', 'json/json_parser_unittest.cc', 'json/json_reader_unittest.cc', 'json/json_value_converter_unittest.cc', 'json/json_value_serializer_unittest.cc', 'json/json_writer_unittest.cc', 'json/string_escape_unittest.cc', 'lazy_instance_unittest.cc', 'logging_unittest.cc', 'mac/bind_objc_block_unittest.mm', 'mac/call_with_eh_frame_unittest.mm', 'mac/dispatch_source_mach_unittest.cc', 'mac/foundation_util_unittest.mm', 'mac/libdispatch_task_runner_unittest.cc', 'mac/mac_util_unittest.mm', 'mac/objc_property_releaser_unittest.mm', 'mac/scoped_nsobject_unittest.mm', 'mac/scoped_objc_class_swizzler_unittest.mm', 'mac/scoped_sending_event_unittest.mm', 'md5_unittest.cc', 'memory/aligned_memory_unittest.cc', 'memory/discardable_shared_memory_unittest.cc', 'memory/linked_ptr_unittest.cc', 'memory/memory_pressure_listener_unittest.cc', 'memory/memory_pressure_monitor_chromeos_unittest.cc', 'memory/memory_pressure_monitor_mac_unittest.cc', 'memory/memory_pressure_monitor_win_unittest.cc', 'memory/ref_counted_memory_unittest.cc', 'memory/ref_counted_unittest.cc', 'memory/scoped_ptr_unittest.cc', 'memory/scoped_ptr_unittest.nc', 'memory/scoped_vector_unittest.cc', 'memory/shared_memory_unittest.cc', 'memory/shared_memory_mac_unittest.cc', 'memory/singleton_unittest.cc', 'memory/weak_ptr_unittest.cc', 'memory/weak_ptr_unittest.nc', 'message_loop/message_loop_task_runner_unittest.cc', 'message_loop/message_loop_unittest.cc', 'message_loop/message_pump_glib_unittest.cc', 'message_loop/message_pump_io_ios_unittest.cc', 'message_loop/message_pump_libevent_unittest.cc', 'metrics/bucket_ranges_unittest.cc', 'metrics/field_trial_unittest.cc', 'metrics/histogram_base_unittest.cc', 'metrics/histogram_delta_serialization_unittest.cc', 'metrics/histogram_macros_unittest.cc', 'metrics/histogram_snapshot_manager_unittest.cc', 'metrics/histogram_unittest.cc', 'metrics/metrics_hashes_unittest.cc', 'metrics/sample_map_unittest.cc', 'metrics/sample_vector_unittest.cc', 'metrics/sparse_histogram_unittest.cc', 'metrics/statistics_recorder_unittest.cc', 'native_library_unittest.cc', 'numerics/safe_numerics_unittest.cc', 'observer_list_unittest.cc', 'os_compat_android_unittest.cc', 'path_service_unittest.cc', 'pickle_unittest.cc', 'posix/file_descriptor_shuffle_unittest.cc', 'posix/unix_domain_socket_linux_unittest.cc', 'power_monitor/power_monitor_unittest.cc', 'prefs/default_pref_store_unittest.cc', 'prefs/json_pref_store_unittest.cc', 'prefs/mock_pref_change_callback.h', 'prefs/overlay_user_pref_store_unittest.cc', 'prefs/pref_change_registrar_unittest.cc', 'prefs/pref_member_unittest.cc', 'prefs/pref_notifier_impl_unittest.cc', 'prefs/pref_service_unittest.cc', 'prefs/pref_value_map_unittest.cc', 'prefs/pref_value_store_unittest.cc', 'prefs/scoped_user_pref_update_unittest.cc', 'process/memory_unittest.cc', 'process/memory_unittest_mac.h', 'process/memory_unittest_mac.mm', 'process/process_metrics_unittest.cc', 'process/process_metrics_unittest_ios.cc', 'process/process_unittest.cc', 'process/process_util_unittest.cc', 'profiler/stack_sampling_profiler_unittest.cc', 'profiler/tracked_time_unittest.cc', 'rand_util_unittest.cc', 'scoped_clear_errno_unittest.cc', 'scoped_generic_unittest.cc', 'scoped_native_library_unittest.cc', 'security_unittest.cc', 'sequence_checker_unittest.cc', 'sha1_unittest.cc', 'stl_util_unittest.cc', 'strings/nullable_string16_unittest.cc', 'strings/pattern_unittest.cc', 'strings/safe_sprintf_unittest.cc', 'strings/string16_unittest.cc', 'strings/string_number_conversions_unittest.cc', 'strings/string_piece_unittest.cc', 'strings/string_split_unittest.cc', 'strings/string_tokenizer_unittest.cc', 'strings/string_util_unittest.cc', 'strings/stringize_macros_unittest.cc', 'strings/stringprintf_unittest.cc', 'strings/sys_string_conversions_mac_unittest.mm', 'strings/sys_string_conversions_unittest.cc', 'strings/utf_offset_string_conversions_unittest.cc', 'strings/utf_string_conversions_unittest.cc', 'supports_user_data_unittest.cc', 'sync_socket_unittest.cc', 'synchronization/cancellation_flag_unittest.cc', 'synchronization/condition_variable_unittest.cc', 'synchronization/lock_unittest.cc', 'synchronization/waitable_event_unittest.cc', 'synchronization/waitable_event_watcher_unittest.cc', 'sys_info_unittest.cc', 'system_monitor/system_monitor_unittest.cc', 'task/cancelable_task_tracker_unittest.cc', 'task_runner_util_unittest.cc', 'template_util_unittest.cc', 'test/histogram_tester_unittest.cc', 'test/test_pending_task_unittest.cc', 'test/test_reg_util_win_unittest.cc', 'test/trace_event_analyzer_unittest.cc', 'test/user_action_tester_unittest.cc', 'threading/non_thread_safe_unittest.cc', 'threading/platform_thread_unittest.cc', 'threading/sequenced_worker_pool_unittest.cc', 'threading/sequenced_task_runner_handle_unittest.cc', 'threading/simple_thread_unittest.cc', 'threading/thread_checker_unittest.cc', 'threading/thread_collision_warner_unittest.cc', 'threading/thread_id_name_manager_unittest.cc', 'threading/thread_local_storage_unittest.cc', 'threading/thread_local_unittest.cc', 'threading/thread_unittest.cc', 'threading/watchdog_unittest.cc', 'threading/worker_pool_posix_unittest.cc', 'threading/worker_pool_unittest.cc', 'time/pr_time_unittest.cc', 'time/time_unittest.cc', 'time/time_win_unittest.cc', 'timer/hi_res_timer_manager_unittest.cc', 'timer/mock_timer_unittest.cc', 'timer/timer_unittest.cc', 'tools_sanity_unittest.cc', 'tracked_objects_unittest.cc', 'tuple_unittest.cc', 'values_unittest.cc', 'version_unittest.cc', 'vlog_unittest.cc', 'win/dllmain.cc', 'win/enum_variant_unittest.cc', 'win/event_trace_consumer_unittest.cc', 'win/event_trace_controller_unittest.cc', 'win/event_trace_provider_unittest.cc', 'win/i18n_unittest.cc', 'win/iunknown_impl_unittest.cc', 'win/message_window_unittest.cc', 'win/object_watcher_unittest.cc', 'win/pe_image_unittest.cc', 'win/registry_unittest.cc', 'win/scoped_bstr_unittest.cc', 'win/scoped_comptr_unittest.cc', 'win/scoped_handle_unittest.cc', 'win/scoped_process_information_unittest.cc', 'win/scoped_variant_unittest.cc', 'win/shortcut_unittest.cc', 'win/startup_information_unittest.cc', 'win/win_util_unittest.cc', 'win/wrapped_window_proc_unittest.cc', '<@(trace_event_test_sources)'], 'dependencies': ['base', 'base_i18n', 'base_message_loop_tests', 'base_prefs', 'base_prefs_test_support', 'base_static', 'run_all_unittests', 'test_support_base', 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', '../third_party/icu/icu.gyp:icui18n', '../third_party/icu/icu.gyp:icuuc'], 'includes': ['../build/nocompile.gypi'], 'variables': {'module_dir': 'base'}, 'conditions': [['OS == "android"', {'dependencies': ['android/jni_generator/jni_generator.gyp:jni_generator_tests', '../testing/android/native_test.gyp:native_test_native_code']}], ['OS == "ios" and _toolset != "host"', {'sources/': [['exclude', '^files/file_path_watcher_unittest\\.cc$'], ['exclude', '^memory/discardable_shared_memory_unittest\\.cc$'], ['exclude', '^memory/shared_memory_unittest\\.cc$'], ['exclude', '^process/memory_unittest'], ['exclude', '^process/process_unittest\\.cc$'], ['exclude', '^process/process_util_unittest\\.cc$'], ['include', '^process/process_util_unittest_ios\\.cc$'], ['exclude', '^message_loop/message_pump_libevent_unittest\\.cc$']], 'actions': [{'action_name': 'copy_test_data', 'variables': {'test_data_files': ['test/data'], 'test_data_prefix': 'base'}, 'includes': ['../build/copy_test_data_ios.gypi']}]}], ['desktop_linux == 1 or chromeos == 1', {'defines': ['USE_SYMBOLIZE'], 'sources!': ['file_version_info_unittest.cc'], 'conditions': [['desktop_linux==1', {'sources': ['nix/xdg_util_unittest.cc']}]]}], ['use_glib == 1', {'dependencies': ['../build/linux/system.gyp:glib']}, {'sources!': ['message_loop/message_pump_glib_unittest.cc']}], ['use_ozone == 1', {'sources!': ['message_loop/message_pump_glib_unittest.cc']}], ['OS == "linux"', {'dependencies': ['malloc_wrapper'], 'conditions': [['use_allocator!="none"', {'dependencies': ['allocator/allocator.gyp:allocator']}]]}], ['OS == "win" and target_arch == "x64"', {'sources': ['profiler/win32_stack_frame_unwinder_unittest.cc'], 'dependencies': ['base_profiler_test_support_library']}], ['OS == "win"', {'sources!': ['file_descriptor_shuffle_unittest.cc', 'files/dir_reader_posix_unittest.cc', 'message_loop/message_pump_libevent_unittest.cc', 'threading/worker_pool_posix_unittest.cc'], 'msvs_disabled_warnings': [4267], 'conditions': [['win_use_allocator_shim==1', {'dependencies': ['allocator/allocator.gyp:allocator']}], ['icu_use_data_file_flag==0', {'dependencies': ['../third_party/icu/icu.gyp:icudata']}]]}, {'dependencies': ['../third_party/libevent/libevent.gyp:libevent']}]], 'target_conditions': [['OS == "ios" and _toolset != "host"', {'sources/': [['include', '^mac/bind_objc_block_unittest\\.mm$'], ['include', '^mac/foundation_util_unittest\\.mm$'], ['include', '^mac/objc_property_releaser_unittest\\.mm$'], ['include', '^mac/scoped_nsobject_unittest\\.mm$'], ['include', '^sys_string_conversions_mac_unittest\\.mm$']]}], ['OS == "android"', {'sources/': [['include', '^debug/proc_maps_linux_unittest\\.cc$']]}], ['OS=="mac" or OS=="ios" or <(chromeos)==1 or <(chromecast)==1', {'defines': ['SYSTEM_NATIVE_UTF8']}], ['OS=="ios"', {'sources!': ['sync_socket_unittest.cc']}]]}, {'target_name': 'base_perftests', 'type': '<(gtest_target_type)', 'dependencies': ['base', 'test_support_base', '../testing/gtest.gyp:gtest'], 'sources': ['message_loop/message_pump_perftest.cc', 'test/run_all_unittests.cc', 'threading/thread_perftest.cc', '../testing/perf/perf_test.cc'], 'conditions': [['OS == "android"', {'dependencies': ['../testing/android/native_test.gyp:native_test_native_code']}]]}, {'target_name': 'base_i18n_perftests', 'type': '<(gtest_target_type)', 'dependencies': ['test_support_base', 'test_support_perf', '../testing/gtest.gyp:gtest', 'base_i18n', 'base'], 'sources': ['i18n/streaming_utf8_validator_perftest.cc']}, {'target_name': 'test_support_base', 'type': 'static_library', 'dependencies': ['base', 'base_static', 'base_i18n', '../testing/gmock.gyp:gmock', '../testing/gtest.gyp:gtest', '../third_party/icu/icu.gyp:icuuc', '../third_party/libxml/libxml.gyp:libxml', 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations'], 'export_dependent_settings': ['base'], 'conditions': [['os_posix==0', {'sources!': ['test/scoped_locale.cc', 'test/scoped_locale.h']}], ['os_bsd==1', {'sources!': ['test/test_file_util_linux.cc']}], ['OS == "android"', {'dependencies': ['base_unittests_jni_headers', 'base_java_unittest_support']}], ['OS == "ios"', {'toolsets': ['host', 'target']}]], 'sources': ['test/gtest_util.cc', 'test/gtest_util.h', 'test/gtest_xml_unittest_result_printer.cc', 'test/gtest_xml_unittest_result_printer.h', 'test/gtest_xml_util.cc', 'test/gtest_xml_util.h', 'test/histogram_tester.cc', 'test/histogram_tester.h', 'test/icu_test_util.cc', 'test/icu_test_util.h', 'test/ios/wait_util.h', 'test/ios/wait_util.mm', 'test/launcher/test_launcher.cc', 'test/launcher/test_launcher.h', 'test/launcher/test_result.cc', 'test/launcher/test_result.h', 'test/launcher/test_results_tracker.cc', 'test/launcher/test_results_tracker.h', 'test/launcher/unit_test_launcher.cc', 'test/launcher/unit_test_launcher.h', 'test/launcher/unit_test_launcher_ios.cc', 'test/mock_chrome_application_mac.h', 'test/mock_chrome_application_mac.mm', 'test/mock_devices_changed_observer.cc', 'test/mock_devices_changed_observer.h', 'test/mock_entropy_provider.cc', 'test/mock_entropy_provider.h', 'test/mock_log.cc', 'test/mock_log.h', 'test/multiprocess_test.cc', 'test/multiprocess_test.h', 'test/multiprocess_test_android.cc', 'test/null_task_runner.cc', 'test/null_task_runner.h', 'test/opaque_ref_counted.cc', 'test/opaque_ref_counted.h', 'test/perf_log.cc', 'test/perf_log.h', 'test/perf_test_suite.cc', 'test/perf_test_suite.h', 'test/perf_time_logger.cc', 'test/perf_time_logger.h', 'test/power_monitor_test_base.cc', 'test/power_monitor_test_base.h', 'test/scoped_locale.cc', 'test/scoped_locale.h', 'test/scoped_path_override.cc', 'test/scoped_path_override.h', 'test/sequenced_task_runner_test_template.cc', 'test/sequenced_task_runner_test_template.h', 'test/sequenced_worker_pool_owner.cc', 'test/sequenced_worker_pool_owner.h', 'test/simple_test_clock.cc', 'test/simple_test_clock.h', 'test/simple_test_tick_clock.cc', 'test/simple_test_tick_clock.h', 'test/task_runner_test_template.cc', 'test/task_runner_test_template.h', 'test/test_discardable_memory_allocator.cc', 'test/test_discardable_memory_allocator.h', 'test/test_file_util.cc', 'test/test_file_util.h', 'test/test_file_util_android.cc', 'test/test_file_util_linux.cc', 'test/test_file_util_mac.cc', 'test/test_file_util_posix.cc', 'test/test_file_util_win.cc', 'test/test_io_thread.cc', 'test/test_io_thread.h', 'test/test_listener_ios.h', 'test/test_listener_ios.mm', 'test/test_mock_time_task_runner.cc', 'test/test_mock_time_task_runner.h', 'test/test_pending_task.cc', 'test/test_pending_task.h', 'test/test_reg_util_win.cc', 'test/test_reg_util_win.h', 'test/test_shortcut_win.cc', 'test/test_shortcut_win.h', 'test/test_simple_task_runner.cc', 'test/test_simple_task_runner.h', 'test/test_suite.cc', 'test/test_suite.h', 'test/test_support_android.cc', 'test/test_support_android.h', 'test/test_support_ios.h', 'test/test_support_ios.mm', 'test/test_switches.cc', 'test/test_switches.h', 'test/test_timeouts.cc', 'test/test_timeouts.h', 'test/test_ui_thread_android.cc', 'test/test_ui_thread_android.h', 'test/thread_test_helper.cc', 'test/thread_test_helper.h', 'test/trace_event_analyzer.cc', 'test/trace_event_analyzer.h', 'test/trace_to_file.cc', 'test/trace_to_file.h', 'test/user_action_tester.cc', 'test/user_action_tester.h', 'test/values_test_util.cc', 'test/values_test_util.h'], 'target_conditions': [['OS == "ios"', {'sources/': [['include', '^test/test_file_util_mac\\.cc$']]}], ['OS == "ios" and _toolset == "target"', {'sources!': ['test/launcher/unit_test_launcher.cc']}], ['OS == "ios" and _toolset == "host"', {'sources!': ['test/launcher/unit_test_launcher_ios.cc', 'test/test_support_ios.h', 'test/test_support_ios.mm']}]]}, {'target_name': 'test_support_perf', 'type': 'static_library', 'dependencies': ['base', 'test_support_base', '../testing/gtest.gyp:gtest'], 'sources': ['test/run_all_perftests.cc'], 'direct_dependent_settings': {'defines': ['PERF_TEST']}}, {'target_name': 'test_launcher_nacl_nonsfi', 'conditions': [['disable_nacl==0 and disable_nacl_untrusted==0 and enable_nacl_nonsfi_test==1', {'type': 'static_library', 'sources': ['test/launcher/test_launcher_nacl_nonsfi.cc'], 'dependencies': ['test_support_base']}, {'type': 'none'}]]}], 'conditions': [['OS=="ios" and "<(GENERATOR)"=="ninja"', {'targets': [{'target_name': 'test_launcher', 'toolsets': ['host'], 'type': 'executable', 'dependencies': ['test_support_base'], 'sources': ['test/launcher/test_launcher_ios.cc']}]}], ['OS!="ios"', {'targets': [{'target_name': 'check_example', 'type': 'executable', 'sources': ['check_example.cc'], 'dependencies': ['base']}, {'target_name': 'build_utf8_validator_tables', 'type': 'executable', 'toolsets': ['host'], 'dependencies': ['base', '../third_party/icu/icu.gyp:icuuc'], 'sources': ['i18n/build_utf8_validator_tables.cc']}]}], ['OS == "win" and target_arch=="ia32"', {'targets': [{'target_name': 'base_win64', 'type': '<(component)', 'variables': {'base_target': 1}, 'dependencies': ['base_static_win64', 'allocator/allocator.gyp:allocator_extension_thunks_win64', '../third_party/modp_b64/modp_b64.gyp:modp_b64_win64', 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations_win64', 'trace_event/etw_manifest/etw_manifest.gyp:etw_manifest'], 'direct_dependent_settings': {'include_dirs': ['..']}, 'defines': ['BASE_WIN64', '<@(nacl_win64_defines)'], 'configurations': {'Common_Base': {'msvs_target_platform': 'x64'}}, 'conditions': [['component == "shared_library"', {'sources!': ['debug/debug_on_start_win.cc']}]], 'msvs_settings': {'VCLinkerTool': {'DelayLoadDLLs': ['cfgmgr32.dll', 'powrprof.dll', 'setupapi.dll'], 'AdditionalDependencies': ['cfgmgr32.lib', 'powrprof.lib', 'setupapi.lib']}}, 'all_dependent_settings': {'msvs_settings': {'VCLinkerTool': {'DelayLoadDLLs': ['cfgmgr32.dll', 'powrprof.dll', 'setupapi.dll'], 'AdditionalDependencies': ['cfgmgr32.lib', 'powrprof.lib', 'setupapi.lib']}}}, 'msvs_disabled_warnings': [4244, 4996, 4267], 'sources': ['auto_reset.h', 'linux_util.cc', 'linux_util.h', 'md5.cc', 'md5.h', 'message_loop/message_pump_libevent.cc', 'message_loop/message_pump_libevent.h', 'metrics/field_trial.cc', 'metrics/field_trial.h', 'posix/file_descriptor_shuffle.cc', 'posix/file_descriptor_shuffle.h', 'sync_socket.h', 'sync_socket_posix.cc', 'sync_socket_win.cc', 'third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', 'third_party/xdg_user_dirs/xdg_user_dir_lookup.h']}, {'target_name': 'base_i18n_nacl_win64', 'type': '<(component)', 'direct_dependent_settings': {'include_dirs': ['..']}, 'defines': ['<@(nacl_win64_defines)', 'BASE_I18N_IMPLEMENTATION'], 'include_dirs': ['..'], 'sources': ['i18n/icu_util_nacl_win64.cc'], 'configurations': {'Common_Base': {'msvs_target_platform': 'x64'}}}, {'target_name': 'base_static_win64', 'type': 'static_library', 'sources': ['base_switches.cc', 'base_switches.h', 'win/pe_image.cc', 'win/pe_image.h'], 'sources!': ['base64.cc'], 'include_dirs': ['..'], 'configurations': {'Common_Base': {'msvs_target_platform': 'x64'}}, 'defines': ['<@(nacl_win64_defines)'], 'msvs_disabled_warnings': [4244]}]}], ['OS == "win" and target_arch=="x64"', {'targets': [{'target_name': 'base_profiler_test_support_library', 'type': 'shared_library', 'include_dirs': ['..'], 'sources': ['profiler/test_support_library.cc']}]}], ['os_posix==1 and OS!="mac" and OS!="ios"', {'targets': [{'target_name': 'symbolize', 'type': 'static_library', 'toolsets': ['host', 'target'], 'variables': {'chromium_code': 0}, 'conditions': [['OS == "solaris"', {'include_dirs': ['/usr/gnu/include', '/usr/gnu/include/libelf']}]], 'cflags': ['-Wno-sign-compare'], 'cflags!': ['-Wextra'], 'defines': ['GLOG_BUILD_CONFIG_INCLUDE="build/build_config.h"'], 'sources': ['third_party/symbolize/config.h', 'third_party/symbolize/demangle.cc', 'third_party/symbolize/demangle.h', 'third_party/symbolize/glog/logging.h', 'third_party/symbolize/glog/raw_logging.h', 'third_party/symbolize/symbolize.cc', 'third_party/symbolize/symbolize.h', 'third_party/symbolize/utilities.h'], 'include_dirs': ['..'], 'includes': ['../build/android/increase_size_for_speed.gypi']}, {'target_name': 'xdg_mime', 'type': 'static_library', 'toolsets': ['host', 'target'], 'variables': {'chromium_code': 0}, 'cflags!': ['-Wextra'], 'sources': ['third_party/xdg_mime/xdgmime.c', 'third_party/xdg_mime/xdgmime.h', 'third_party/xdg_mime/xdgmimealias.c', 'third_party/xdg_mime/xdgmimealias.h', 'third_party/xdg_mime/xdgmimecache.c', 'third_party/xdg_mime/xdgmimecache.h', 'third_party/xdg_mime/xdgmimeglob.c', 'third_party/xdg_mime/xdgmimeglob.h', 'third_party/xdg_mime/xdgmimeicon.c', 'third_party/xdg_mime/xdgmimeicon.h', 'third_party/xdg_mime/xdgmimeint.c', 'third_party/xdg_mime/xdgmimeint.h', 'third_party/xdg_mime/xdgmimemagic.c', 'third_party/xdg_mime/xdgmimemagic.h', 'third_party/xdg_mime/xdgmimeparent.c', 'third_party/xdg_mime/xdgmimeparent.h'], 'includes': ['../build/android/increase_size_for_speed.gypi']}]}], ['OS == "linux"', {'targets': [{'target_name': 'malloc_wrapper', 'type': 'shared_library', 'dependencies': ['base'], 'sources': ['test/malloc_wrapper.cc']}]}], ['OS == "android"', {'targets': [{'target_name': 'base_jni_headers', 'type': 'none', 'sources': ['android/java/src/org/chromium/base/ApkAssets.java', 'android/java/src/org/chromium/base/ApplicationStatus.java', 'android/java/src/org/chromium/base/AnimationFrameTimeHistogram.java', 'android/java/src/org/chromium/base/BuildInfo.java', 'android/java/src/org/chromium/base/CommandLine.java', 'android/java/src/org/chromium/base/ContentUriUtils.java', 'android/java/src/org/chromium/base/ContextUtils.java', 'android/java/src/org/chromium/base/CpuFeatures.java', 'android/java/src/org/chromium/base/EventLog.java', 'android/java/src/org/chromium/base/FieldTrialList.java', 'android/java/src/org/chromium/base/ImportantFileWriterAndroid.java', 'android/java/src/org/chromium/base/JNIUtils.java', 'android/java/src/org/chromium/base/JavaHandlerThread.java', 'android/java/src/org/chromium/base/LocaleUtils.java', 'android/java/src/org/chromium/base/MemoryPressureListener.java', 'android/java/src/org/chromium/base/PathService.java', 'android/java/src/org/chromium/base/PathUtils.java', 'android/java/src/org/chromium/base/PowerMonitor.java', 'android/java/src/org/chromium/base/SysUtils.java', 'android/java/src/org/chromium/base/SystemMessageHandler.java', 'android/java/src/org/chromium/base/ThreadUtils.java', 'android/java/src/org/chromium/base/TraceEvent.java', 'android/java/src/org/chromium/base/library_loader/LibraryLoader.java', 'android/java/src/org/chromium/base/metrics/RecordHistogram.java', 'android/java/src/org/chromium/base/metrics/RecordUserAction.java'], 'variables': {'jni_gen_package': 'base'}, 'dependencies': ['android_runtime_jni_headers'], 'includes': ['../build/jni_generator.gypi']}, {'target_name': 'android_runtime_jni_headers', 'type': 'none', 'variables': {'jni_gen_package': 'base', 'input_java_class': 'java/lang/Runtime.class'}, 'includes': ['../build/jar_file_jni_generator.gypi']}, {'target_name': 'base_unittests_jni_headers', 'type': 'none', 'sources': ['test/android/java/src/org/chromium/base/ContentUriTestUtils.java', 'test/android/java/src/org/chromium/base/TestUiThread.java'], 'variables': {'jni_gen_package': 'base'}, 'includes': ['../build/jni_generator.gypi']}, {'target_name': 'base_native_libraries_gen', 'type': 'none', 'sources': ['android/java/templates/NativeLibraries.template'], 'variables': {'package_name': 'org/chromium/base/library_loader', 'template_deps': []}, 'includes': ['../build/android/java_cpp_template.gypi']}, {'target_name': 'base_multidex_gen', 'type': 'none', 'sources': ['android/java/templates/ChromiumMultiDex.template'], 'variables': {'package_name': 'org/chromium/base/multidex', 'template_deps': [], 'additional_gcc_preprocess_options': ['--defines', 'MULTIDEX_CONFIGURATION_<(CONFIGURATION_NAME)']}, 'includes': ['../build/android/java_cpp_template.gypi']}, {'target_name': 'base_java_library_process_type', 'type': 'none', 'variables': {'source_file': 'android/library_loader/library_loader_hooks.h'}, 'includes': ['../build/android/java_cpp_enum.gypi']}, {'target_name': 'base_java', 'type': 'none', 'variables': {'java_in_dir': 'android/java', 'jar_excluded_classes': ['*/NativeLibraries.class']}, 'dependencies': ['base_java_application_state', 'base_java_library_load_from_apk_status_codes', 'base_java_library_process_type', 'base_java_memory_pressure_level', 'base_multidex_gen', 'base_native_libraries_gen', '../third_party/android_tools/android_tools.gyp:android_support_multidex_javalib', '../third_party/jsr-305/jsr-305.gyp:jsr_305_javalib'], 'includes': ['../build/java.gypi']}, {'target_name': 'base_java_unittest_support', 'type': 'none', 'dependencies': ['base_java'], 'variables': {'java_in_dir': '../base/test/android/java'}, 'includes': ['../build/java.gypi']}, {'target_name': 'base_java_application_state', 'type': 'none', 'variables': {'source_file': 'android/application_status_listener.h'}, 'includes': ['../build/android/java_cpp_enum.gypi']}, {'target_name': 'base_java_library_load_from_apk_status_codes', 'type': 'none', 'variables': {'source_file': 'android/library_loader/library_load_from_apk_status_codes.h'}, 'includes': ['../build/android/java_cpp_enum.gypi']}, {'target_name': 'base_java_memory_pressure_level', 'type': 'none', 'variables': {'source_file': 'memory/memory_pressure_listener.h'}, 'includes': ['../build/android/java_cpp_enum.gypi']}, {'target_name': 'base_java_test_support', 'type': 'none', 'dependencies': ['base_java', '../testing/android/on_device_instrumentation.gyp:reporter_java'], 'variables': {'java_in_dir': '../base/test/android/javatests'}, 'includes': ['../build/java.gypi']}, {'target_name': 'base_junit_test_support', 'type': 'none', 'dependencies': ['../testing/android/junit/junit_test.gyp:junit_test_support', '../third_party/android_tools/android_tools.gyp:android_support_multidex_javalib'], 'variables': {'src_paths': ['../base/test/android/junit/']}, 'includes': ['../build/host_jar.gypi']}, {'target_name': 'base_junit_tests', 'type': 'none', 'dependencies': ['base_java', 'base_java_test_support', 'base_junit_test_support', '../testing/android/junit/junit_test.gyp:junit_test_support'], 'variables': {'main_class': 'org.chromium.testing.local.JunitTestMain', 'src_paths': ['../base/android/junit/']}, 'includes': ['../build/host_jar.gypi']}, {'target_name': 'base_javatests', 'type': 'none', 'dependencies': ['base_java', 'base_java_test_support'], 'variables': {'java_in_dir': '../base/android/javatests'}, 'includes': ['../build/java.gypi']}, {'target_name': 'chromium_android_linker', 'type': 'shared_library', 'sources': ['android/linker/android_dlext.h', 'android/linker/legacy_linker_jni.cc', 'android/linker/legacy_linker_jni.h', 'android/linker/linker_jni.cc', 'android/linker/linker_jni.h', 'android/linker/modern_linker_jni.cc', 'android/linker/modern_linker_jni.h'], 'cflags!': ['-finstrument-functions'], 'dependencies': ['../third_party/android_crazy_linker/crazy_linker.gyp:crazy_linker']}, {'target_name': 'base_perftests_apk', 'type': 'none', 'dependencies': ['base_perftests'], 'variables': {'test_suite_name': 'base_perftests'}, 'includes': ['../build/apk_test.gypi']}, {'target_name': 'base_unittests_apk', 'type': 'none', 'dependencies': ['base_java', 'base_unittests'], 'variables': {'test_suite_name': 'base_unittests', 'isolate_file': 'base_unittests.isolate'}, 'includes': ['../build/apk_test.gypi']}], 'conditions': [['test_isolation_mode != "noop"', {'targets': [{'target_name': 'base_unittests_apk_run', 'type': 'none', 'dependencies': ['base_unittests_apk'], 'includes': ['../build/isolate.gypi'], 'sources': ['base_unittests_apk.isolate']}]}]]}], ['OS == "win"', {'targets': [{'target_name': 'pe_image_test', 'type': 'shared_library', 'sources': ['win/pe_image_test.cc'], 'msvs_settings': {'VCLinkerTool': {'SubSystem': '2', 'DelayLoadDLLs': ['cfgmgr32.dll', 'shell32.dll'], 'AdditionalDependencies': ['cfgmgr32.lib', 'shell32.lib']}}}]}], ['test_isolation_mode != "noop"', {'targets': [{'target_name': 'base_unittests_run', 'type': 'none', 'dependencies': ['base_unittests'], 'includes': ['../build/isolate.gypi'], 'sources': ['base_unittests.isolate']}]}]]}
k=0 while k!=1: print(k) k+=1
k = 0 while k != 1: print(k) k += 1
class Some_enum(Enum): some_literal = "some_literal" class Something(Some_enum): pass class Reference: pass __book_url__ = "dummy" __book_version__ = "dummy" associate_ref_with(Reference)
class Some_Enum(Enum): some_literal = 'some_literal' class Something(Some_enum): pass class Reference: pass __book_url__ = 'dummy' __book_version__ = 'dummy' associate_ref_with(Reference)
def orangesRotting(elemnts): if not elemnts or len(elemnts) == 0: return 0 n = len(elemnts) m = len(elemnts[0]) rotten = [] for i in range(n): for j in range(m): if elemnts[i][j] == 2: rotten.append((i, j)) mins = 0 def dfs(rotten): count = [] for i, j in rotten: if i > 0 and rotten[i - 1][j] == 1: count.append((i - 1, j)) elemnts[i - 1][j] = 2 if j > 0 and rotten[i][j - 1] == 1: count.append((i, j - 1)) elemnts[i][j - 1] = 2 if i < n - 1 and rotten[i][j] == 1: count.append((i, j)) elemnts[i][j] = 2 if j < m - 1 and rotten[i][j] == 1: count.append((i, j)) elemnts[i][j] = 2 return count while rotten: rotten = dfs(rotten) if not rotten: break mins += 1 for i in range(n): for j in range(m): if elemnts[i][j] == 1: return -1 return mins
def oranges_rotting(elemnts): if not elemnts or len(elemnts) == 0: return 0 n = len(elemnts) m = len(elemnts[0]) rotten = [] for i in range(n): for j in range(m): if elemnts[i][j] == 2: rotten.append((i, j)) mins = 0 def dfs(rotten): count = [] for (i, j) in rotten: if i > 0 and rotten[i - 1][j] == 1: count.append((i - 1, j)) elemnts[i - 1][j] = 2 if j > 0 and rotten[i][j - 1] == 1: count.append((i, j - 1)) elemnts[i][j - 1] = 2 if i < n - 1 and rotten[i][j] == 1: count.append((i, j)) elemnts[i][j] = 2 if j < m - 1 and rotten[i][j] == 1: count.append((i, j)) elemnts[i][j] = 2 return count while rotten: rotten = dfs(rotten) if not rotten: break mins += 1 for i in range(n): for j in range(m): if elemnts[i][j] == 1: return -1 return mins
class TaskA: def run(self): V, A, B, C = map(int, input().split()) pass class TaskB: def run(self): A = int(input()) B = int(input()) C = int(input()) X = int(input()) counter = 0 for a in range(A+1): for b in range(B+1): for c in range(C+1): total = 500 * a + 100 * b + 50 * c if total == X: counter += 1 print(counter) class TaskC: def run(self): pass if __name__ == "__main__": task = TaskB() task.run()
class Taska: def run(self): (v, a, b, c) = map(int, input().split()) pass class Taskb: def run(self): a = int(input()) b = int(input()) c = int(input()) x = int(input()) counter = 0 for a in range(A + 1): for b in range(B + 1): for c in range(C + 1): total = 500 * a + 100 * b + 50 * c if total == X: counter += 1 print(counter) class Taskc: def run(self): pass if __name__ == '__main__': task = task_b() task.run()
def banner_text(text): screen_width = 80 if len(text) > screen_width - 4: print("EEK!!") print("THE TEXT IS TOO LONG TO FIT IN THE SPECIFIED WIDTH") if text == "*": print("*" * screen_width) else: centred_text = text.center(screen_width - 4) output_string = "**{0}**".format(centred_text) print(output_string) banner_text("*") banner_text("Always look on the bright side of life...") banner_text("If life seems jolly rotten,") banner_text("There's something you've forgotten!") banner_text("And that's to laugh and smile and dance and sing,") banner_text(" ") banner_text("When you're feeling in the dumps,") banner_text("Don't be silly chumps,") banner_text("Just purse your lips and whistle - that's the thing!") banner_text("And... always look on the bright side of life...") banner_text("*") result = banner_text("Nothing is returned") print(result) numbers = [4, 2, 7, 5, 8, 3, 9, 6, 1] print(numbers.sort())
def banner_text(text): screen_width = 80 if len(text) > screen_width - 4: print('EEK!!') print('THE TEXT IS TOO LONG TO FIT IN THE SPECIFIED WIDTH') if text == '*': print('*' * screen_width) else: centred_text = text.center(screen_width - 4) output_string = '**{0}**'.format(centred_text) print(output_string) banner_text('*') banner_text('Always look on the bright side of life...') banner_text('If life seems jolly rotten,') banner_text("There's something you've forgotten!") banner_text("And that's to laugh and smile and dance and sing,") banner_text(' ') banner_text("When you're feeling in the dumps,") banner_text("Don't be silly chumps,") banner_text("Just purse your lips and whistle - that's the thing!") banner_text('And... always look on the bright side of life...') banner_text('*') result = banner_text('Nothing is returned') print(result) numbers = [4, 2, 7, 5, 8, 3, 9, 6, 1] print(numbers.sort())
######################################################## FLASK SETTINGS ############################################################## #Variable used to securly sign cookies ##THIS IS SET IN DEV ENVIRONMENT FOR CONVENIENCE BUT SHOULD BE SET AS AN ENVIRONMENT VARIABLE IN PROD SECRET_KEY = "dev" ######################################################## DATABSE SETTINGS #################################################### #Neo4j Database URI used by the Neomodel OGM ## THIS SHOULD BE SET AS AN ENVIRONMENT VARIABLE IN PRODUCTION ## DATABASE_URI = "bolt://test:test@localhost:7687"
secret_key = 'dev' database_uri = 'bolt://test:test@localhost:7687'
def init(): global brightness global calibration_mode brightness = 500 calibration_mode = False
def init(): global brightness global calibration_mode brightness = 500 calibration_mode = False
class Node: def __init__(self, data): self.data = data self.prev = None self.next = None class SingleLinkedList: def __init__(self): self.head = None def add(self, ele): new_node = Node(ele) if self.head is None: self.head = new_node return temp_head = self.head while temp_head.next is not None: temp_head = temp_head.next; temp_head.next = new_node; def contains(self, ele): temp_head = self.head while temp_head is not None: if temp_head.data == ele: return True temp_head = temp_head.next return False def remove(self, ele): if self.head is None: return; if self.head.data == ele: self.head = self.head.next return True temp_head = self.head.next prev_node = temp_head is_node_deleted = False while temp_head is not None: if temp_head.data == ele: is_node_deleted = True prev_node.next = temp_head.next break prev_node = temp_head temp_head = temp_head.next return is_node_deleted def print_list(self): temp_head = self.head while temp_head is not None: print(temp_head.data) temp_head = temp_head.next if __name__ == '__main__': list = SingleLinkedList(); list.add(5) list.add(4) list.add(12) list.add(13) list.add(19) list.print_list(); print("List contains element 4", list.contains(4)) print("List contains element 6", list.contains(6)) print("Removing element 13", list.remove(13)) list.print_list(); print("List contains element 13", list.contains(13))
class Node: def __init__(self, data): self.data = data self.prev = None self.next = None class Singlelinkedlist: def __init__(self): self.head = None def add(self, ele): new_node = node(ele) if self.head is None: self.head = new_node return temp_head = self.head while temp_head.next is not None: temp_head = temp_head.next temp_head.next = new_node def contains(self, ele): temp_head = self.head while temp_head is not None: if temp_head.data == ele: return True temp_head = temp_head.next return False def remove(self, ele): if self.head is None: return if self.head.data == ele: self.head = self.head.next return True temp_head = self.head.next prev_node = temp_head is_node_deleted = False while temp_head is not None: if temp_head.data == ele: is_node_deleted = True prev_node.next = temp_head.next break prev_node = temp_head temp_head = temp_head.next return is_node_deleted def print_list(self): temp_head = self.head while temp_head is not None: print(temp_head.data) temp_head = temp_head.next if __name__ == '__main__': list = single_linked_list() list.add(5) list.add(4) list.add(12) list.add(13) list.add(19) list.print_list() print('List contains element 4', list.contains(4)) print('List contains element 6', list.contains(6)) print('Removing element 13', list.remove(13)) list.print_list() print('List contains element 13', list.contains(13))
def solution(A): total = sum(A) m = float('inf') left_sum = 0 for n in A[:-1]: left_sum += n v = abs(total - 2*left_sum) if v < m: m = v return m
def solution(A): total = sum(A) m = float('inf') left_sum = 0 for n in A[:-1]: left_sum += n v = abs(total - 2 * left_sum) if v < m: m = v return m
def matrix_form(): r = int(input("Enter the no of rows")) c = int(input("Enter the no of columns")) matrix=[] print("Enter the enteries") for i in range(r): a = [] for j in range(c): a.append(int(input())) matrix.append(a) return(matrix) def check_matrix(first_matrix,sec_matrix): if(first_matrix==sec_matrix): print("same") else: print("not same") print("Enter the 1st matrix") first_matrix = matrix_form() print(first_matrix) print("Enter the 2nd matrix") sec_matrix = matrix_form() print(sec_matrix) check_matrix(first_matrix,sec_matrix)
def matrix_form(): r = int(input('Enter the no of rows')) c = int(input('Enter the no of columns')) matrix = [] print('Enter the enteries') for i in range(r): a = [] for j in range(c): a.append(int(input())) matrix.append(a) return matrix def check_matrix(first_matrix, sec_matrix): if first_matrix == sec_matrix: print('same') else: print('not same') print('Enter the 1st matrix') first_matrix = matrix_form() print(first_matrix) print('Enter the 2nd matrix') sec_matrix = matrix_form() print(sec_matrix) check_matrix(first_matrix, sec_matrix)
# Assignment 1 Day 8 # write a decorator function for taking input for you # any kind of function you want to build def getInput(calculate_arg_fuc): def wrap_function(): print("Enter two numbers ") a=int(input("Enter first number = ")) b=int(input("Enter second number = ")) calculate_arg_fuc(a,b) return wrap_function @getInput def addition(num1,num2): print("Addition = ",num1+num2) @getInput def subtraction(num1,num2): print("Subtraction = ",num1-num2) @getInput def multiplication(num1,num2): print("Multiplication = ",num1*num2) @getInput def division(num1,num2): print("Division = ",num1/num2) addition() subtraction() multiplication() division() # Assignment 2 day 8 # you need to develop a python program to open a file in read only mode and # try writing something to it and handlethe subsequent errorusing Exception Handling try: f=open("abc.txt","r"); f.write("Heyy, i am prajval"); f.close(); except: print("File is in read only mode...")
def get_input(calculate_arg_fuc): def wrap_function(): print('Enter two numbers ') a = int(input('Enter first number = ')) b = int(input('Enter second number = ')) calculate_arg_fuc(a, b) return wrap_function @getInput def addition(num1, num2): print('Addition = ', num1 + num2) @getInput def subtraction(num1, num2): print('Subtraction = ', num1 - num2) @getInput def multiplication(num1, num2): print('Multiplication = ', num1 * num2) @getInput def division(num1, num2): print('Division = ', num1 / num2) addition() subtraction() multiplication() division() try: f = open('abc.txt', 'r') f.write('Heyy, i am prajval') f.close() except: print('File is in read only mode...')
def unlock(m): return m.lower().translate( str.maketrans( 'abcdefghijklmnopqrstuvwxyz', '22233344455566677778889999' ) )
def unlock(m): return m.lower().translate(str.maketrans('abcdefghijklmnopqrstuvwxyz', '22233344455566677778889999'))
nis=get('nis') q1="xpto1" q2=nis + "xpto2" query=query1.q2 koneksi=0 q=execute(query,koneksi)
nis = get('nis') q1 = 'xpto1' q2 = nis + 'xpto2' query = query1.q2 koneksi = 0 q = execute(query, koneksi)
def nearest_mid(input_list, lower_bound_index, upper_bound_index, search_value): return lower_bound_index + ( (upper_bound_index - lower_bound_index) // (input_list[upper_bound_index] - input_list[lower_bound_index]) ) * (search_value - input_list[lower_bound_index]) def interpolation_search(ordered_list, term): size_of_list = len(ordered_list) - 1 index_of_first_element = 0 index_of_last_element = size_of_list while index_of_first_element <= index_of_last_element: mid_point = nearest_mid( ordered_list, index_of_first_element, index_of_last_element, term ) if mid_point > index_of_last_element or mid_point < index_of_first_element: return None if ordered_list[mid_point] == term: return mid_point if term > ordered_list[mid_point]: index_of_first_element = mid_point + 1 else: index_of_last_element = mid_point - 1 store = [2, 4, 5, 12, 43, 54, 60, 77] a = interpolation_search(store, 2) print("Index position of value 2 is ", a)
def nearest_mid(input_list, lower_bound_index, upper_bound_index, search_value): return lower_bound_index + (upper_bound_index - lower_bound_index) // (input_list[upper_bound_index] - input_list[lower_bound_index]) * (search_value - input_list[lower_bound_index]) def interpolation_search(ordered_list, term): size_of_list = len(ordered_list) - 1 index_of_first_element = 0 index_of_last_element = size_of_list while index_of_first_element <= index_of_last_element: mid_point = nearest_mid(ordered_list, index_of_first_element, index_of_last_element, term) if mid_point > index_of_last_element or mid_point < index_of_first_element: return None if ordered_list[mid_point] == term: return mid_point if term > ordered_list[mid_point]: index_of_first_element = mid_point + 1 else: index_of_last_element = mid_point - 1 store = [2, 4, 5, 12, 43, 54, 60, 77] a = interpolation_search(store, 2) print('Index position of value 2 is ', a)
def pickingNumbers(a): # Write your code here max = 0 for i in a: c = a.count(i) d = a.count(i-1) e = c+d if e>max: max = e return max
def picking_numbers(a): max = 0 for i in a: c = a.count(i) d = a.count(i - 1) e = c + d if e > max: max = e return max
expected_output = { "vrf": { "VRF1": { "address_family": { "ipv6": { "instance": { "rip ripng": { "redistribute": { "static": {"route_policy": "static-to-rip"}, "connected": {}, }, "interfaces": { "GigabitEthernet3.200": {}, "GigabitEthernet2.200": {}, }, } } } } } } }
expected_output = {'vrf': {'VRF1': {'address_family': {'ipv6': {'instance': {'rip ripng': {'redistribute': {'static': {'route_policy': 'static-to-rip'}, 'connected': {}}, 'interfaces': {'GigabitEthernet3.200': {}, 'GigabitEthernet2.200': {}}}}}}}}}
#!/usr/bin/env python sw1_show_cdp_neighbors = ''' SW1>show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone Device ID Local Intrfce Holdtme Capability Platform Port ID R1 Fas 0/11 153 R S I 881 Fas 1 R2 Fas 0/12 123 R S I 881 Fas 1 R3 Fas 0/13 129 R S I 881 Fas 1 R4 Fas 0/14 173 R S I 881 Fas 1 R5 Fas 0/15 144 R S I 881 Fas 1 ''' sw1_show_cdp_neighbors_detail = ''' SW1> show cdp neighbors detail -------------------------- Device ID: R1 Entry address(es): IP address: 10.1.1.1 Platform: Cisco 881, Capabilities: Router Switch IGMP Interface: FastEthernet0/11, Port ID (outgoing port): FastEthernet1 Holdtime: 153 sec Version : Cisco IOS Software, C880 Software (C880DATA-UNIVERSALK9-M), Version 15.0(1)M4, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2010 by Cisco Systems, Inc. Compiled Fri 29-Oct-10 00:02 by prod_rel_team advertisement version: 2 VTP Management Domain: '' Native VLAN: 1 Duplex: full Management address(es): -------------------------- Device ID: R2 Entry address(es): IP address: 10.1.1.2 Platform: Cisco 881, Capabilities: Router Switch IGMP Interface: FastEthernet0/12, Port ID (outgoing port): FastEthernet1 Holdtime: 123 sec Version : Cisco IOS Software, C880 Software (C880DATA-UNIVERSALK9-M), Version 15.0(1)M4, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2010 by Cisco Systems, Inc. Compiled Fri 29-Oct-10 00:02 by prod_rel_team advertisement version: 2 VTP Management Domain: '' Native VLAN: 1 Duplex: full Management address(es): -------------------------- Device ID: R3 Entry address(es): IP address: 10.1.1.3 Platform: Cisco 881, Capabilities: Router Switch IGMP Interface: FastEthernet0/13, Port ID (outgoing port): FastEthernet1 Holdtime: 129 sec Version : Cisco IOS Software, C880 Software (C880DATA-UNIVERSALK9-M), Version 15.0(1)M4, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2010 by Cisco Systems, Inc. Compiled Fri 29-Oct-10 00:02 by prod_rel_team advertisement version: 2 VTP Management Domain: '' Native VLAN: 1 Duplex: full Management address(es): -------------------------- Device ID: R4 Entry address(es): IP address: 10.1.1.4 Platform: Cisco 881, Capabilities: Router Switch IGMP Interface: FastEthernet0/14, Port ID (outgoing port): FastEthernet1 Holdtime: 173 sec Version : Cisco IOS Software, C880 Software (C880DATA-UNIVERSALK9-M), Version 15.0(1)M4, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2010 by Cisco Systems, Inc. Compiled Fri 29-Oct-10 00:02 by prod_rel_team advertisement version: 2 VTP Management Domain: '' Native VLAN: 1 Duplex: full Management address(es): -------------------------- Device ID: R5 Entry address(es): IP address: 10.1.1.5 Platform: Cisco 881, Capabilities: Router Switch IGMP Interface: FastEthernet0/15, Port ID (outgoing port): FastEthernet1 Holdtime: 144 sec Version : Cisco IOS Software, C880 Software (C880DATA-UNIVERSALK9-M), Version 15.0(1)M4, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2010 by Cisco Systems, Inc. Compiled Fri 29-Oct-10 00:02 by prod_rel_team advertisement version: 2 VTP Management Domain: '' Native VLAN: 1 Duplex: full Management address(es): ''' r1_show_cdp_neighbors = ''' R1>show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater Device ID Local Intrfce Holdtme Capability Platform Port ID SW1 Fas 1 150 S I WS-C2950- Fas 0/11 ''' r1_show_cdp_neighbors_detail = ''' R1>show cdp neighbors detail ------------------------- Device ID: SW1 Entry address(es): IP address: 10.1.1.22 Platform: cisco WS-C2950-24, Capabilities: Switch IGMP Interface: FastEthernet1, Port ID (outgoing port): FastEthernet0/11 Holdtime : 145 sec Version : Cisco Internetwork Operating System Software IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA8a, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2006 by cisco Systems, Inc. Compiled Fri 28-Jul-06 15:16 by weiliu advertisement version: 2 Protocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=00000000FFFFFFFF010221FF0000000000000019E845CE80FF0000 VTP Management Domain: '' Native VLAN: 1 Duplex: full ''' r2_show_cdp_neighbors = ''' R2>show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater Device ID Local Intrfce Holdtme Capability Platform Port ID SW1 Fas 1 150 S I WS-C2950- Fas 0/12 ''' r2_show_cdp_neighbors_detail = ''' R2>show cdp neighbors detail ------------------------- Device ID: SW1 Entry address(es): IP address: 10.1.1.22 Platform: cisco WS-C2950-24, Capabilities: Switch IGMP Interface: FastEthernet1, Port ID (outgoing port): FastEthernet0/12 Holdtime : 145 sec Version : Cisco Internetwork Operating System Software IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA8a, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2006 by cisco Systems, Inc. Compiled Fri 28-Jul-06 15:16 by weiliu advertisement version: 2 Protocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=00000000FFFFFFFF010221FF0000000000000019E845CE80FF0000 VTP Management Domain: '' Native VLAN: 1 Duplex: full ''' r3_show_cdp_neighbors = ''' R3>show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater Device ID Local Intrfce Holdtme Capability Platform Port ID SW1 Fas 1 150 S I WS-C2950- Fas 0/13 ''' r3_show_cdp_neighbors_detail = ''' R3>show cdp neighbors detail ------------------------- Device ID: SW1 Entry address(es): IP address: 10.1.1.22 Platform: cisco WS-C2950-24, Capabilities: Switch IGMP Interface: FastEthernet1, Port ID (outgoing port): FastEthernet0/13 Holdtime : 145 sec Version : Cisco Internetwork Operating System Software IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA8a, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2006 by cisco Systems, Inc. Compiled Fri 28-Jul-06 15:16 by weiliu advertisement version: 2 Protocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=00000000FFFFFFFF010221FF0000000000000019E845CE80FF0000 VTP Management Domain: '' Native VLAN: 1 Duplex: full ''' r4_show_cdp_neighbors = ''' R4>show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater Device ID Local Intrfce Holdtme Capability Platform Port ID SW1 Fas 1 150 S I WS-C2950- Fas 0/14 ''' r4_show_cdp_neighbors_detail = ''' R4>show cdp neighbors detail ------------------------- Device ID: SW1 Entry address(es): IP address: 10.1.1.22 Platform: cisco WS-C2950-24, Capabilities: Switch IGMP Interface: FastEthernet1, Port ID (outgoing port): FastEthernet0/14 Holdtime : 145 sec Version : Cisco Internetwork Operating System Software IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA8a, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2006 by cisco Systems, Inc. Compiled Fri 28-Jul-06 15:16 by weiliu advertisement version: 2 Protocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=00000000FFFFFFFF010221FF0000000000000019E845CE80FF0000 VTP Management Domain: '' Native VLAN: 1 Duplex: full ''' r5_show_cdp_neighbors = ''' R5>show cdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater Device ID Local Intrfce Holdtme Capability Platform Port ID SW1 Fas 1 150 S I WS-C2950- Fas 0/15 ''' r5_show_cdp_neighbors_detail = ''' R5>show cdp neighbors detail ------------------------- Device ID: SW1 Entry address(es): IP address: 10.1.1.22 Platform: cisco WS-C2950-24, Capabilities: Switch IGMP Interface: FastEthernet1, Port ID (outgoing port): FastEthernet0/15 Holdtime : 145 sec Version : Cisco Internetwork Operating System Software IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA8a, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2006 by cisco Systems, Inc. Compiled Fri 28-Jul-06 15:16 by weiliu advertisement version: 2 Protocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=00000000FFFFFFFF010221FF0000000000000019E845CE80FF0000 VTP Management Domain: '' Native VLAN: 1 Duplex: full '''
sw1_show_cdp_neighbors = '\nSW1>show cdp neighbors\nCapability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge\n S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone\nDevice ID Local Intrfce Holdtme Capability Platform Port ID\nR1 Fas 0/11 153 R S I 881 Fas 1\nR2 Fas 0/12 123 R S I 881 Fas 1\nR3 Fas 0/13 129 R S I 881 Fas 1\nR4 Fas 0/14 173 R S I 881 Fas 1\nR5 Fas 0/15 144 R S I 881 Fas 1\n' sw1_show_cdp_neighbors_detail = "\nSW1> show cdp neighbors detail\n--------------------------\nDevice ID: R1\nEntry address(es):\n IP address: 10.1.1.1\nPlatform: Cisco 881, Capabilities: Router Switch IGMP\nInterface: FastEthernet0/11, Port ID (outgoing port): FastEthernet1\nHoldtime: 153 sec\nVersion :\nCisco IOS Software, C880 Software (C880DATA-UNIVERSALK9-M), Version 15.0(1)M4, RELEASE SOFTWARE (fc1)\nTechnical Support: http://www.cisco.com/techsupport\nCopyright (c) 1986-2010 by Cisco Systems, Inc.\nCompiled Fri 29-Oct-10 00:02 by prod_rel_team\nadvertisement version: 2\nVTP Management Domain: ''\nNative VLAN: 1\nDuplex: full\nManagement address(es):\n--------------------------\nDevice ID: R2\nEntry address(es):\n IP address: 10.1.1.2\nPlatform: Cisco 881, Capabilities: Router Switch IGMP\nInterface: FastEthernet0/12, Port ID (outgoing port): FastEthernet1\nHoldtime: 123 sec\nVersion :\nCisco IOS Software, C880 Software (C880DATA-UNIVERSALK9-M), Version 15.0(1)M4, RELEASE SOFTWARE (fc1)\nTechnical Support: http://www.cisco.com/techsupport\nCopyright (c) 1986-2010 by Cisco Systems, Inc.\nCompiled Fri 29-Oct-10 00:02 by prod_rel_team\nadvertisement version: 2\nVTP Management Domain: ''\nNative VLAN: 1\nDuplex: full\nManagement address(es):\n--------------------------\nDevice ID: R3\nEntry address(es):\n IP address: 10.1.1.3\nPlatform: Cisco 881, Capabilities: Router Switch IGMP\nInterface: FastEthernet0/13, Port ID (outgoing port): FastEthernet1\nHoldtime: 129 sec\nVersion :\nCisco IOS Software, C880 Software (C880DATA-UNIVERSALK9-M), Version 15.0(1)M4, RELEASE SOFTWARE (fc1)\nTechnical Support: http://www.cisco.com/techsupport\nCopyright (c) 1986-2010 by Cisco Systems, Inc.\nCompiled Fri 29-Oct-10 00:02 by prod_rel_team\nadvertisement version: 2\nVTP Management Domain: ''\nNative VLAN: 1\nDuplex: full\nManagement address(es):\n--------------------------\nDevice ID: R4\nEntry address(es):\n IP address: 10.1.1.4\nPlatform: Cisco 881, Capabilities: Router Switch IGMP\nInterface: FastEthernet0/14, Port ID (outgoing port): FastEthernet1\nHoldtime: 173 sec\nVersion :\nCisco IOS Software, C880 Software (C880DATA-UNIVERSALK9-M), Version 15.0(1)M4, RELEASE SOFTWARE (fc1)\nTechnical Support: http://www.cisco.com/techsupport\nCopyright (c) 1986-2010 by Cisco Systems, Inc.\nCompiled Fri 29-Oct-10 00:02 by prod_rel_team\nadvertisement version: 2\nVTP Management Domain: ''\nNative VLAN: 1\nDuplex: full\nManagement address(es):\n--------------------------\nDevice ID: R5\nEntry address(es):\n IP address: 10.1.1.5\nPlatform: Cisco 881, Capabilities: Router Switch IGMP\nInterface: FastEthernet0/15, Port ID (outgoing port): FastEthernet1\nHoldtime: 144 sec\nVersion :\nCisco IOS Software, C880 Software (C880DATA-UNIVERSALK9-M), Version 15.0(1)M4, RELEASE SOFTWARE (fc1)\nTechnical Support: http://www.cisco.com/techsupport\nCopyright (c) 1986-2010 by Cisco Systems, Inc.\nCompiled Fri 29-Oct-10 00:02 by prod_rel_team\nadvertisement version: 2\nVTP Management Domain: ''\nNative VLAN: 1\nDuplex: full\nManagement address(es):\n" r1_show_cdp_neighbors = '\nR1>show cdp neighbors \nCapability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge\n S - Switch, H - Host, I - IGMP, r - Repeater\nDevice ID Local Intrfce Holdtme Capability Platform Port ID\nSW1 Fas 1 150 S I WS-C2950- Fas 0/11\n' r1_show_cdp_neighbors_detail = "\nR1>show cdp neighbors detail \n-------------------------\nDevice ID: SW1\nEntry address(es): \n IP address: 10.1.1.22\nPlatform: cisco WS-C2950-24, Capabilities: Switch IGMP \nInterface: FastEthernet1, Port ID (outgoing port): FastEthernet0/11\nHoldtime : 145 sec\nVersion :\nCisco Internetwork Operating System Software \nIOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA8a, RELEASE SOFTWARE (fc1)\nCopyright (c) 1986-2006 by cisco Systems, Inc.\nCompiled Fri 28-Jul-06 15:16 by weiliu\nadvertisement version: 2\nProtocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=00000000FFFFFFFF010221FF0000000000000019E845CE80FF0000\nVTP Management Domain: ''\nNative VLAN: 1\nDuplex: full\n" r2_show_cdp_neighbors = '\nR2>show cdp neighbors \nCapability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge\n S - Switch, H - Host, I - IGMP, r - Repeater\nDevice ID Local Intrfce Holdtme Capability Platform Port ID\nSW1 Fas 1 150 S I WS-C2950- Fas 0/12\n' r2_show_cdp_neighbors_detail = "\nR2>show cdp neighbors detail \n-------------------------\nDevice ID: SW1\nEntry address(es): \n IP address: 10.1.1.22\nPlatform: cisco WS-C2950-24, Capabilities: Switch IGMP \nInterface: FastEthernet1, Port ID (outgoing port): FastEthernet0/12\nHoldtime : 145 sec\nVersion :\nCisco Internetwork Operating System Software \nIOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA8a, RELEASE SOFTWARE (fc1)\nCopyright (c) 1986-2006 by cisco Systems, Inc.\nCompiled Fri 28-Jul-06 15:16 by weiliu\nadvertisement version: 2\nProtocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=00000000FFFFFFFF010221FF0000000000000019E845CE80FF0000\nVTP Management Domain: ''\nNative VLAN: 1\nDuplex: full\n" r3_show_cdp_neighbors = '\nR3>show cdp neighbors \nCapability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge\n S - Switch, H - Host, I - IGMP, r - Repeater\nDevice ID Local Intrfce Holdtme Capability Platform Port ID\nSW1 Fas 1 150 S I WS-C2950- Fas 0/13\n' r3_show_cdp_neighbors_detail = "\nR3>show cdp neighbors detail \n-------------------------\nDevice ID: SW1\nEntry address(es): \n IP address: 10.1.1.22\nPlatform: cisco WS-C2950-24, Capabilities: Switch IGMP \nInterface: FastEthernet1, Port ID (outgoing port): FastEthernet0/13\nHoldtime : 145 sec\nVersion :\nCisco Internetwork Operating System Software \nIOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA8a, RELEASE SOFTWARE (fc1)\nCopyright (c) 1986-2006 by cisco Systems, Inc.\nCompiled Fri 28-Jul-06 15:16 by weiliu\nadvertisement version: 2\nProtocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=00000000FFFFFFFF010221FF0000000000000019E845CE80FF0000\nVTP Management Domain: ''\nNative VLAN: 1\nDuplex: full\n" r4_show_cdp_neighbors = '\nR4>show cdp neighbors \nCapability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge\n S - Switch, H - Host, I - IGMP, r - Repeater\nDevice ID Local Intrfce Holdtme Capability Platform Port ID\nSW1 Fas 1 150 S I WS-C2950- Fas 0/14\n' r4_show_cdp_neighbors_detail = "\nR4>show cdp neighbors detail \n-------------------------\nDevice ID: SW1\nEntry address(es): \n IP address: 10.1.1.22\nPlatform: cisco WS-C2950-24, Capabilities: Switch IGMP \nInterface: FastEthernet1, Port ID (outgoing port): FastEthernet0/14\nHoldtime : 145 sec\nVersion :\nCisco Internetwork Operating System Software \nIOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA8a, RELEASE SOFTWARE (fc1)\nCopyright (c) 1986-2006 by cisco Systems, Inc.\nCompiled Fri 28-Jul-06 15:16 by weiliu\nadvertisement version: 2\nProtocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=00000000FFFFFFFF010221FF0000000000000019E845CE80FF0000\nVTP Management Domain: ''\nNative VLAN: 1\nDuplex: full\n" r5_show_cdp_neighbors = '\nR5>show cdp neighbors \nCapability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge\n S - Switch, H - Host, I - IGMP, r - Repeater\nDevice ID Local Intrfce Holdtme Capability Platform Port ID\nSW1 Fas 1 150 S I WS-C2950- Fas 0/15\n' r5_show_cdp_neighbors_detail = "\nR5>show cdp neighbors detail \n-------------------------\nDevice ID: SW1\nEntry address(es): \n IP address: 10.1.1.22\nPlatform: cisco WS-C2950-24, Capabilities: Switch IGMP \nInterface: FastEthernet1, Port ID (outgoing port): FastEthernet0/15\nHoldtime : 145 sec\nVersion :\nCisco Internetwork Operating System Software \nIOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA8a, RELEASE SOFTWARE (fc1)\nCopyright (c) 1986-2006 by cisco Systems, Inc.\nCompiled Fri 28-Jul-06 15:16 by weiliu\nadvertisement version: 2\nProtocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=00000000FFFFFFFF010221FF0000000000000019E845CE80FF0000\nVTP Management Domain: ''\nNative VLAN: 1\nDuplex: full\n"
EVENT_SCHEDULER_STARTED = EVENT_SCHEDULER_START = 2 ** 0 EVENT_SCHEDULER_SHUTDOWN = 2 ** 1 EVENT_SCHEDULER_PAUSED = 2 ** 2 EVENT_SCHEDULER_RESUMED = 2 ** 3 EVENT_EXECUTOR_ADDED = 2 ** 4 EVENT_EXECUTOR_REMOVED = 2 ** 5 EVENT_JOBSTORE_ADDED = 2 ** 6 EVENT_JOBSTORE_REMOVED = 2 ** 7 EVENT_ALL_JOBS_REMOVED = 2 ** 8 EVENT_JOB_ADDED = 2 ** 9 EVENT_JOB_REMOVED = 2 ** 10 EVENT_JOB_MODIFIED = 2 ** 11 EVENT_JOB_EXECUTED = 2 ** 12 EVENT_JOB_ERROR = 2 ** 13 EVENT_JOB_MISSED = 2 ** 14 EVENT_JOB_SUBMITTED = 2 ** 15 EVENT_JOB_MAX_INSTANCES = 2 ** 16 EVENT_ALL = (EVENT_SCHEDULER_STARTED | EVENT_SCHEDULER_SHUTDOWN | EVENT_SCHEDULER_PAUSED | EVENT_SCHEDULER_RESUMED | EVENT_EXECUTOR_ADDED | EVENT_EXECUTOR_REMOVED | EVENT_JOBSTORE_ADDED | EVENT_JOBSTORE_REMOVED | EVENT_ALL_JOBS_REMOVED | EVENT_JOB_ADDED | EVENT_JOB_REMOVED | EVENT_JOB_MODIFIED | EVENT_JOB_EXECUTED | EVENT_JOB_ERROR | EVENT_JOB_MISSED | EVENT_JOB_SUBMITTED | EVENT_JOB_MAX_INSTANCES)
event_scheduler_started = event_scheduler_start = 2 ** 0 event_scheduler_shutdown = 2 ** 1 event_scheduler_paused = 2 ** 2 event_scheduler_resumed = 2 ** 3 event_executor_added = 2 ** 4 event_executor_removed = 2 ** 5 event_jobstore_added = 2 ** 6 event_jobstore_removed = 2 ** 7 event_all_jobs_removed = 2 ** 8 event_job_added = 2 ** 9 event_job_removed = 2 ** 10 event_job_modified = 2 ** 11 event_job_executed = 2 ** 12 event_job_error = 2 ** 13 event_job_missed = 2 ** 14 event_job_submitted = 2 ** 15 event_job_max_instances = 2 ** 16 event_all = EVENT_SCHEDULER_STARTED | EVENT_SCHEDULER_SHUTDOWN | EVENT_SCHEDULER_PAUSED | EVENT_SCHEDULER_RESUMED | EVENT_EXECUTOR_ADDED | EVENT_EXECUTOR_REMOVED | EVENT_JOBSTORE_ADDED | EVENT_JOBSTORE_REMOVED | EVENT_ALL_JOBS_REMOVED | EVENT_JOB_ADDED | EVENT_JOB_REMOVED | EVENT_JOB_MODIFIED | EVENT_JOB_EXECUTED | EVENT_JOB_ERROR | EVENT_JOB_MISSED | EVENT_JOB_SUBMITTED | EVENT_JOB_MAX_INSTANCES
__author__ = 'Elias Haroun' class BinaryNode(object): def __init__(self, data, left, right): self.data = data self.left = left self.right = right def getData(self): return self.data def getLeft(self): return self.left def getRight(self): return self.right def setData(self, data): self.data = data def setLeft(self, aNode): self.left = aNode def setRight(self, aNode): self.right = aNode def hasLeft(self): return self.getLeft() is not None def hasRight(self): return self.getRight() is not None def isLeaf(self): return not(self.hasLeft() | self.hasRight())
__author__ = 'Elias Haroun' class Binarynode(object): def __init__(self, data, left, right): self.data = data self.left = left self.right = right def get_data(self): return self.data def get_left(self): return self.left def get_right(self): return self.right def set_data(self, data): self.data = data def set_left(self, aNode): self.left = aNode def set_right(self, aNode): self.right = aNode def has_left(self): return self.getLeft() is not None def has_right(self): return self.getRight() is not None def is_leaf(self): return not self.hasLeft() | self.hasRight()
# The isBadVersion API is already defined for you. # @param version, an integer # @return a bool # def isBadVersion(version): class Solution(object): def firstBadVersion(self, n): start = 1 end = n while start + 1 < end: mid = start + (end - start) / 2 if isBadVersion(mid): end = mid else: start = mid if isBadVersion(start): return start elif isBadVersion(end): return end
class Solution(object): def first_bad_version(self, n): start = 1 end = n while start + 1 < end: mid = start + (end - start) / 2 if is_bad_version(mid): end = mid else: start = mid if is_bad_version(start): return start elif is_bad_version(end): return end
#!/usr/bin/env python3 def binary(code, max, bits): ret = [] for i in range(max): ret.append(bits[code[i]]) return int(''.join(ret), base=2) mid = 0 with open('input5.txt') as f: for line in f.readlines(): line = line[:-1] row = binary(line[:7], 7, {'F': '0', 'B': '1'}) col = binary(line[7:], 3, {'R': '1', 'L': '0'}) sid = row * 8 + col mid = sid if sid > mid else mid print(mid)
def binary(code, max, bits): ret = [] for i in range(max): ret.append(bits[code[i]]) return int(''.join(ret), base=2) mid = 0 with open('input5.txt') as f: for line in f.readlines(): line = line[:-1] row = binary(line[:7], 7, {'F': '0', 'B': '1'}) col = binary(line[7:], 3, {'R': '1', 'L': '0'}) sid = row * 8 + col mid = sid if sid > mid else mid print(mid)
def test_list_example_directory(client): response = client.get("/api/files") assert response.status_code == 200 file_list = response.get_json() assert len(file_list) == 5 assert file_list[0]['key'] == 'image_annotated.jpg' assert file_list[1]['key'] == 'image.jpg' assert file_list[2]['key'] == 'more_images/' assert file_list[3]['key'] == 'more_images/01.jpg' assert file_list[4]['key'] == 'more_images/02.png' def test_list_example_directory_nested(client): response = client.get("/api/files?path=more_images") assert response.status_code == 200 file_list = response.get_json() assert len(file_list) == 2 assert file_list[0]['key'] == '01.jpg' assert file_list[1]['key'] == '02.png' def test_get_example_image(client): response = client.get("/api/files/image/x.jpg") assert response.status_code == 404 response = client.get("/api/files/image/image.jpg") assert response.status_code == 200 response = client.get("/api/files/image/more_images/01.jpg") assert response.status_code == 200 def test_get_example_image_data(client): response = client.get("/api/files/image_data/image.jpg") assert response.status_code == 404 response = client.get("/api/files/image_data/image_annotated.jpg") assert response.status_code == 200 data = response.get_json() assert 'annotations' in data assert 'tags' in data def test_put_example_image_data(client): response = client.get("/api/files/image_data/image.jpg") assert response.status_code == 404 response = client.put("/api/files/image_data/image.jpg", json={ 'annotations': [{'width': 10, 'height': 10, 'x': 0, 'y': 0}], 'tags': ['a', 'b'] }) assert response.status_code == 200 response = client.get("/api/files/image_data/image.jpg") assert response.status_code == 200 data = response.get_json() assert 'annotations' in data assert 'tags' in data
def test_list_example_directory(client): response = client.get('/api/files') assert response.status_code == 200 file_list = response.get_json() assert len(file_list) == 5 assert file_list[0]['key'] == 'image_annotated.jpg' assert file_list[1]['key'] == 'image.jpg' assert file_list[2]['key'] == 'more_images/' assert file_list[3]['key'] == 'more_images/01.jpg' assert file_list[4]['key'] == 'more_images/02.png' def test_list_example_directory_nested(client): response = client.get('/api/files?path=more_images') assert response.status_code == 200 file_list = response.get_json() assert len(file_list) == 2 assert file_list[0]['key'] == '01.jpg' assert file_list[1]['key'] == '02.png' def test_get_example_image(client): response = client.get('/api/files/image/x.jpg') assert response.status_code == 404 response = client.get('/api/files/image/image.jpg') assert response.status_code == 200 response = client.get('/api/files/image/more_images/01.jpg') assert response.status_code == 200 def test_get_example_image_data(client): response = client.get('/api/files/image_data/image.jpg') assert response.status_code == 404 response = client.get('/api/files/image_data/image_annotated.jpg') assert response.status_code == 200 data = response.get_json() assert 'annotations' in data assert 'tags' in data def test_put_example_image_data(client): response = client.get('/api/files/image_data/image.jpg') assert response.status_code == 404 response = client.put('/api/files/image_data/image.jpg', json={'annotations': [{'width': 10, 'height': 10, 'x': 0, 'y': 0}], 'tags': ['a', 'b']}) assert response.status_code == 200 response = client.get('/api/files/image_data/image.jpg') assert response.status_code == 200 data = response.get_json() assert 'annotations' in data assert 'tags' in data
# This Part will gather Infos and demonstrate the use of Variables. usrName = input("What is your Name?") usrAge = int(input("What is your Age?")) usrGPA = float(input("What is your GPA?")) print () #cheap way to get a new line print ("Hello, %s" % (usrName)) print ("Did you know that in two years you will be %d years old? " % (usrAge +2)) print ("Also you need to improve your GPA by %f points to have a perfect score." % (4.0 - usrGPA)) print ()
usr_name = input('What is your Name?') usr_age = int(input('What is your Age?')) usr_gpa = float(input('What is your GPA?')) print() print('Hello, %s' % usrName) print('Did you know that in two years you will be %d years old? ' % (usrAge + 2)) print('Also you need to improve your GPA by %f points to have a perfect score.' % (4.0 - usrGPA)) print()
class Message: def __init__(self, from_channel=None, **kwargs): self._channel = from_channel if kwargs is not None: for key, value in kwargs.items(): setattr(self, key, value) @property def carrier(self): return self._channel def sender(self): return self._channel.sender def receiver(self): return self._channel.receiver class CallbackMessage(Message): def __init__(self, function): super(CallbackMessage, self).__init__(function=function) if __name__ == "__main__": msg = Message(sender="A", receiver="B") assert msg.sender is "A" assert msg.receiver is "B"
class Message: def __init__(self, from_channel=None, **kwargs): self._channel = from_channel if kwargs is not None: for (key, value) in kwargs.items(): setattr(self, key, value) @property def carrier(self): return self._channel def sender(self): return self._channel.sender def receiver(self): return self._channel.receiver class Callbackmessage(Message): def __init__(self, function): super(CallbackMessage, self).__init__(function=function) if __name__ == '__main__': msg = message(sender='A', receiver='B') assert msg.sender is 'A' assert msg.receiver is 'B'
def main(): print("|\_/|") print("|q p| /}") print("( 0 )\"\"\"\\") print("|\"^\"` |") print("||_/=\\\\__|") if __name__ == "__main__": main()
def main(): print('|\\_/|') print('|q p| /}') print('( 0 )"""\\') print('|"^"` |') print('||_/=\\\\__|') if __name__ == '__main__': main()
# -*- coding: utf-8 -*- n, w = map(int, input().split()) for _ in range(n): entrada = input() last_space = entrada.rfind(' ') if int(entrada[last_space:]) > w: print(entrada[:last_space])
(n, w) = map(int, input().split()) for _ in range(n): entrada = input() last_space = entrada.rfind(' ') if int(entrada[last_space:]) > w: print(entrada[:last_space])
str1= input("enter a string :") l1 ="" for i in str1 [::-1]: l1 = i+l1 print(l1) if str1 == l1: print("string is a palindrome") else : print("string is not a palindrome")
str1 = input('enter a string :') l1 = '' for i in str1[::-1]: l1 = i + l1 print(l1) if str1 == l1: print('string is a palindrome') else: print('string is not a palindrome')
# https://github.com/git/git/blob/master/Documentation/technical/index-format.txt class GitIndexEntry(object): # The last time a file's metadata changed. This is a tuple (seconds, nanoseconds) ctime = None # The last time a file's data changed. This is a tuple (seconds, nanoseconds) mtime = None # the ID of device containing this file dev = None # The file's inode number ino = None # The object type, either b1000 (regular), b1010 (symlink), b1110 (gitlink) mode_type = None # The object permissions as an integer mode_permissions = None # User ID of owner uui = None # Group ID of owner gid = None # Size of this object in bytes size = None # The object's hash as a hex string object = None flag_assume_valid = None flag_extended = None flag_stage = None # Length of the name if < OxFFF, -1 otherwise flag_name_length = None name = None
class Gitindexentry(object): ctime = None mtime = None dev = None ino = None mode_type = None mode_permissions = None uui = None gid = None size = None object = None flag_assume_valid = None flag_extended = None flag_stage = None flag_name_length = None name = None
__version__ = '7.8.0' _optional_dependencies = [ { 'name': 'CuPy', 'packages': [ 'cupy-cuda120', 'cupy-cuda114', 'cupy-cuda113', 'cupy-cuda112', 'cupy-cuda111', 'cupy-cuda110', 'cupy-cuda102', 'cupy-cuda101', 'cupy-cuda100', 'cupy-cuda92', 'cupy-cuda91', 'cupy-cuda90', 'cupy-cuda80', 'cupy', ], 'specifier': '>=7.7.0,<8.0.0', 'help': 'https://docs.cupy.dev/en/latest/install.html', }, { 'name': 'iDeep', 'packages': [ 'ideep4py', ], 'specifier': '>=2.0.0.post3, <2.1', 'help': 'https://docs.chainer.org/en/latest/tips.html', }, ]
__version__ = '7.8.0' _optional_dependencies = [{'name': 'CuPy', 'packages': ['cupy-cuda120', 'cupy-cuda114', 'cupy-cuda113', 'cupy-cuda112', 'cupy-cuda111', 'cupy-cuda110', 'cupy-cuda102', 'cupy-cuda101', 'cupy-cuda100', 'cupy-cuda92', 'cupy-cuda91', 'cupy-cuda90', 'cupy-cuda80', 'cupy'], 'specifier': '>=7.7.0,<8.0.0', 'help': 'https://docs.cupy.dev/en/latest/install.html'}, {'name': 'iDeep', 'packages': ['ideep4py'], 'specifier': '>=2.0.0.post3, <2.1', 'help': 'https://docs.chainer.org/en/latest/tips.html'}]
side_a=int(input("Enter the first side(a):")) side_b=int(input("Enter the second side(b):")) side_c=int(input("Enter the third side(c):")) if side_a==side_b and side_a==side_c: print("The triangle is an equilateral triangle.") elif side_a==side_b or side_a==side_c or side_b==side_c: print("The triangle is an isosceles triangle.") else: print("The triangle is scalene triangle.")
side_a = int(input('Enter the first side(a):')) side_b = int(input('Enter the second side(b):')) side_c = int(input('Enter the third side(c):')) if side_a == side_b and side_a == side_c: print('The triangle is an equilateral triangle.') elif side_a == side_b or side_a == side_c or side_b == side_c: print('The triangle is an isosceles triangle.') else: print('The triangle is scalene triangle.')
_base_ = [ '../_base_/models/cascade_rcnn_r50_fpn.py', './dataset_base.py', './scheduler_base.py', '../_base_/default_runtime.py' ] model = dict( pretrained='open-mmlab://resnext101_32x4d', backbone=dict( type='DetectoRS_ResNeXt', pretrained='open-mmlab://resnext101_32x4d', depth=101, groups=32, base_width=4, conv_cfg=dict(type='ConvAWS'), sac=dict(type='SAC', use_deform=True), stage_with_sac=(False, True, True, True), output_img=True, plugins=[ dict( cfg=dict( type='GeneralizedAttention', spatial_range=-1, num_heads=8, attention_type='0010', kv_stride=2), stages=(False, False, True, True), in_channels=512, position='after_conv2') ] ), neck=dict( type='RFP', rfp_steps=2, aspp_out_channels=64, aspp_dilations=(1, 3, 6, 1), rfp_backbone=dict( rfp_inplanes=256, type='DetectoRS_ResNeXt', depth=101, groups=32, base_width=4, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, norm_cfg=dict(type='BN', requires_grad=True), norm_eval=True, conv_cfg=dict(type='ConvAWS'), sac=dict(type='SAC', use_deform=True), stage_with_sac=(False, True, True, True), pretrained='open-mmlab://resnext101_32x4d', style='pytorch')), roi_head=dict( bbox_head=[ dict( type='Shared2FCBBoxHead', num_classes=14 ), dict( type='Shared2FCBBoxHead', num_classes=14 ), dict( type='Shared2FCBBoxHead', num_classes=14 ) ] ), test_cfg=dict( rpn=dict( nms_thr=0.7 ), rcnn=dict( score_thr=0.0, nms=dict(type='nms', iou_threshold=0.4) ) ) )
_base_ = ['../_base_/models/cascade_rcnn_r50_fpn.py', './dataset_base.py', './scheduler_base.py', '../_base_/default_runtime.py'] model = dict(pretrained='open-mmlab://resnext101_32x4d', backbone=dict(type='DetectoRS_ResNeXt', pretrained='open-mmlab://resnext101_32x4d', depth=101, groups=32, base_width=4, conv_cfg=dict(type='ConvAWS'), sac=dict(type='SAC', use_deform=True), stage_with_sac=(False, True, True, True), output_img=True, plugins=[dict(cfg=dict(type='GeneralizedAttention', spatial_range=-1, num_heads=8, attention_type='0010', kv_stride=2), stages=(False, False, True, True), in_channels=512, position='after_conv2')]), neck=dict(type='RFP', rfp_steps=2, aspp_out_channels=64, aspp_dilations=(1, 3, 6, 1), rfp_backbone=dict(rfp_inplanes=256, type='DetectoRS_ResNeXt', depth=101, groups=32, base_width=4, num_stages=4, out_indices=(0, 1, 2, 3), frozen_stages=1, norm_cfg=dict(type='BN', requires_grad=True), norm_eval=True, conv_cfg=dict(type='ConvAWS'), sac=dict(type='SAC', use_deform=True), stage_with_sac=(False, True, True, True), pretrained='open-mmlab://resnext101_32x4d', style='pytorch')), roi_head=dict(bbox_head=[dict(type='Shared2FCBBoxHead', num_classes=14), dict(type='Shared2FCBBoxHead', num_classes=14), dict(type='Shared2FCBBoxHead', num_classes=14)]), test_cfg=dict(rpn=dict(nms_thr=0.7), rcnn=dict(score_thr=0.0, nms=dict(type='nms', iou_threshold=0.4))))
def decodeLongLong(lst): high = int(lst[0]) << 32 low = int(lst[1]) if low < 0: low += 4294967296 if high < 0: high += 4294967296 return high + low def encodeLongLong(i): high = int(i / 4294967296) low = i - high return high, low def parseOk(str): if str == 'ok': return True else: return False def printList(lst): #for i in range(len(lst)): # print i, '\t', repr(lst[i]) pass # t is a nine item tuple returned by the time module. This method converts it to # MythTV's standard representation used on filenames def encodeTime(t): ret = '' for i in t[:-3]: si = str(i) if len(si) < 2: ret += si.zfill(2) else: ret += si return ret
def decode_long_long(lst): high = int(lst[0]) << 32 low = int(lst[1]) if low < 0: low += 4294967296 if high < 0: high += 4294967296 return high + low def encode_long_long(i): high = int(i / 4294967296) low = i - high return (high, low) def parse_ok(str): if str == 'ok': return True else: return False def print_list(lst): pass def encode_time(t): ret = '' for i in t[:-3]: si = str(i) if len(si) < 2: ret += si.zfill(2) else: ret += si return ret
# # PySNMP MIB module ENTERASYS-NAC-APPLIANCE-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ENTERASYS-NAC-APPLIANCE-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:04:09 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) # ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, ValueSizeConstraint, ConstraintsUnion, ConstraintsIntersection, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ConstraintsIntersection", "SingleValueConstraint") etsysModules, = mibBuilder.importSymbols("ENTERASYS-MIB-NAMES", "etsysModules") ObjectGroup, NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "NotificationGroup", "ModuleCompliance") Bits, ObjectIdentity, MibIdentifier, Counter64, iso, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, ModuleIdentity, IpAddress, Unsigned32, TimeTicks, Gauge32, Integer32, Counter32 = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "ObjectIdentity", "MibIdentifier", "Counter64", "iso", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ModuleIdentity", "IpAddress", "Unsigned32", "TimeTicks", "Gauge32", "Integer32", "Counter32") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") etsysNacApplianceMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73)) etsysNacApplianceMIB.setRevisions(('2010-03-09 13:03',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: etsysNacApplianceMIB.setRevisionsDescriptions(('The initial version of this MIB module.',)) if mibBuilder.loadTexts: etsysNacApplianceMIB.setLastUpdated('201003091303Z') if mibBuilder.loadTexts: etsysNacApplianceMIB.setOrganization('Enterasys Networks, Inc') if mibBuilder.loadTexts: etsysNacApplianceMIB.setContactInfo('Postal: Enterasys Networks 50 Minuteman Rd. Andover, MA 01810-1008 USA Phone: +1 978 684 1000 E-mail: [email protected] WWW: http://www.enterasys.com') if mibBuilder.loadTexts: etsysNacApplianceMIB.setDescription("This MIB module defines a portion of the SNMP enterprise MIBs under Enterasys Networks' enterprise OID pertaining to NAC Appliance Status.") etsysNacApplianceObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1)) etsysNacApplAuthenticationRequests = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 1), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysNacApplAuthenticationRequests.setStatus('current') if mibBuilder.loadTexts: etsysNacApplAuthenticationRequests.setDescription('Represents the number of authentication requests made since the NAC was started.') etsysNacApplAuthenticationSuccesses = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysNacApplAuthenticationSuccesses.setStatus('current') if mibBuilder.loadTexts: etsysNacApplAuthenticationSuccesses.setDescription('Represents the number of successful authentication requests made since the NAC was started.') etsysNacApplAuthenticationFailures = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysNacApplAuthenticationFailures.setStatus('current') if mibBuilder.loadTexts: etsysNacApplAuthenticationFailures.setDescription('Represents the number of failed authentication requests made since the NAC was started.') etsysNacApplRadiusChallenges = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysNacApplRadiusChallenges.setStatus('current') if mibBuilder.loadTexts: etsysNacApplRadiusChallenges.setDescription('Represents the number of Radius challenges made since the NAC was started.') etsysNacApplAuthenticationInvalidRequests = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysNacApplAuthenticationInvalidRequests.setStatus('current') if mibBuilder.loadTexts: etsysNacApplAuthenticationInvalidRequests.setDescription('Represents the number of invalid authentication requests made since the NAC was started.') etsysNacApplAuthenticationDuplicateRequests = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysNacApplAuthenticationDuplicateRequests.setStatus('current') if mibBuilder.loadTexts: etsysNacApplAuthenticationDuplicateRequests.setDescription('Represents the number of duplicate authentication requests made since the NAC was started.') etsysNacApplAuthenticationMalformedRequests = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysNacApplAuthenticationMalformedRequests.setStatus('current') if mibBuilder.loadTexts: etsysNacApplAuthenticationMalformedRequests.setDescription('Represents the number of malformed authentication requests made since the NAC was started.') etsysNacApplAuthenticationBadRequests = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysNacApplAuthenticationBadRequests.setStatus('current') if mibBuilder.loadTexts: etsysNacApplAuthenticationBadRequests.setDescription('Represents the number of bad authentication requests made since the NAC was started.') etsysNacApplAuthenticationDroppedPackets = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysNacApplAuthenticationDroppedPackets.setStatus('current') if mibBuilder.loadTexts: etsysNacApplAuthenticationDroppedPackets.setDescription('Represents the number of dropped authentication packets since the NAC was started.') etsysNacApplAuthenticationUnknownTypes = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysNacApplAuthenticationUnknownTypes.setStatus('current') if mibBuilder.loadTexts: etsysNacApplAuthenticationUnknownTypes.setDescription('Represents the number of unknown authentication types since the NAC was started.') etsysNacApplAssessmentRequests = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 11), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysNacApplAssessmentRequests.setStatus('current') if mibBuilder.loadTexts: etsysNacApplAssessmentRequests.setDescription('Represents the number of assessment requests made since the NAC was started.') etsysNacApplCaptivePortalRequests = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysNacApplCaptivePortalRequests.setStatus('current') if mibBuilder.loadTexts: etsysNacApplCaptivePortalRequests.setDescription('Represents the number of captive portal requests made since the NAC was started.') etsysNacApplContactLostSwitches = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysNacApplContactLostSwitches.setStatus('current') if mibBuilder.loadTexts: etsysNacApplContactLostSwitches.setDescription('Represents the number of configured switches with which the NAC has lost SNMP contact.') etsysNacApplIPResolutionFailures = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 14), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysNacApplIPResolutionFailures.setStatus('current') if mibBuilder.loadTexts: etsysNacApplIPResolutionFailures.setDescription('Represents the number of failed IP Resolution attempts made since the NAC was started.') etsysNacApplIPResolutionTimeouts = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 15), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysNacApplIPResolutionTimeouts.setStatus('current') if mibBuilder.loadTexts: etsysNacApplIPResolutionTimeouts.setDescription('Represents the number of IP Resolution attempts that timed out since the NAC was started.') etsysNacApplConnectedAgents = MibScalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 16), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: etsysNacApplConnectedAgents.setStatus('current') if mibBuilder.loadTexts: etsysNacApplConnectedAgents.setDescription('Represents the number of End-System Assessment Agents currently connected to the NAC.') etsysNacApplianceMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 2)) etsysNacApplianceMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 2, 1)) etsysNacApplianceMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 2, 2)) etsysNacApplianceMIBGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 2, 1, 1)).setObjects(("ENTERASYS-NAC-APPLIANCE-MIB", "etsysNacApplAuthenticationRequests"), ("ENTERASYS-NAC-APPLIANCE-MIB", "etsysNacApplAuthenticationSuccesses"), ("ENTERASYS-NAC-APPLIANCE-MIB", "etsysNacApplAuthenticationFailures"), ("ENTERASYS-NAC-APPLIANCE-MIB", "etsysNacApplRadiusChallenges"), ("ENTERASYS-NAC-APPLIANCE-MIB", "etsysNacApplAuthenticationInvalidRequests"), ("ENTERASYS-NAC-APPLIANCE-MIB", "etsysNacApplAuthenticationDuplicateRequests"), ("ENTERASYS-NAC-APPLIANCE-MIB", "etsysNacApplAuthenticationMalformedRequests"), ("ENTERASYS-NAC-APPLIANCE-MIB", "etsysNacApplAuthenticationBadRequests"), ("ENTERASYS-NAC-APPLIANCE-MIB", "etsysNacApplAuthenticationDroppedPackets"), ("ENTERASYS-NAC-APPLIANCE-MIB", "etsysNacApplAuthenticationUnknownTypes"), ("ENTERASYS-NAC-APPLIANCE-MIB", "etsysNacApplAssessmentRequests"), ("ENTERASYS-NAC-APPLIANCE-MIB", "etsysNacApplCaptivePortalRequests"), ("ENTERASYS-NAC-APPLIANCE-MIB", "etsysNacApplContactLostSwitches"), ("ENTERASYS-NAC-APPLIANCE-MIB", "etsysNacApplIPResolutionFailures"), ("ENTERASYS-NAC-APPLIANCE-MIB", "etsysNacApplIPResolutionTimeouts"), ("ENTERASYS-NAC-APPLIANCE-MIB", "etsysNacApplConnectedAgents")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etsysNacApplianceMIBGroup = etsysNacApplianceMIBGroup.setStatus('current') if mibBuilder.loadTexts: etsysNacApplianceMIBGroup.setDescription('The basic collection of objects providing status information about the NAC Appliance.') etsysNacApplianceMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 2, 2, 1)).setObjects(("ENTERASYS-NAC-APPLIANCE-MIB", "etsysNacApplianceMIBGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etsysNacApplianceMIBCompliance = etsysNacApplianceMIBCompliance.setStatus('current') if mibBuilder.loadTexts: etsysNacApplianceMIBCompliance.setDescription('The compliance statement for clients implementing the NAC Appliance Status MIB.') mibBuilder.exportSymbols("ENTERASYS-NAC-APPLIANCE-MIB", etsysNacApplianceMIBCompliance=etsysNacApplianceMIBCompliance, etsysNacApplAuthenticationDuplicateRequests=etsysNacApplAuthenticationDuplicateRequests, etsysNacApplIPResolutionTimeouts=etsysNacApplIPResolutionTimeouts, etsysNacApplianceObjects=etsysNacApplianceObjects, etsysNacApplAuthenticationInvalidRequests=etsysNacApplAuthenticationInvalidRequests, etsysNacApplAuthenticationUnknownTypes=etsysNacApplAuthenticationUnknownTypes, etsysNacApplianceMIBCompliances=etsysNacApplianceMIBCompliances, etsysNacApplAssessmentRequests=etsysNacApplAssessmentRequests, etsysNacApplAuthenticationBadRequests=etsysNacApplAuthenticationBadRequests, etsysNacApplAuthenticationRequests=etsysNacApplAuthenticationRequests, etsysNacApplRadiusChallenges=etsysNacApplRadiusChallenges, etsysNacApplAuthenticationMalformedRequests=etsysNacApplAuthenticationMalformedRequests, etsysNacApplContactLostSwitches=etsysNacApplContactLostSwitches, etsysNacApplAuthenticationDroppedPackets=etsysNacApplAuthenticationDroppedPackets, etsysNacApplCaptivePortalRequests=etsysNacApplCaptivePortalRequests, etsysNacApplAuthenticationSuccesses=etsysNacApplAuthenticationSuccesses, etsysNacApplIPResolutionFailures=etsysNacApplIPResolutionFailures, etsysNacApplianceMIBConformance=etsysNacApplianceMIBConformance, PYSNMP_MODULE_ID=etsysNacApplianceMIB, etsysNacApplianceMIBGroups=etsysNacApplianceMIBGroups, etsysNacApplianceMIB=etsysNacApplianceMIB, etsysNacApplAuthenticationFailures=etsysNacApplAuthenticationFailures, etsysNacApplianceMIBGroup=etsysNacApplianceMIBGroup, etsysNacApplConnectedAgents=etsysNacApplConnectedAgents)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, value_size_constraint, constraints_union, constraints_intersection, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ValueSizeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'SingleValueConstraint') (etsys_modules,) = mibBuilder.importSymbols('ENTERASYS-MIB-NAMES', 'etsysModules') (object_group, notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'NotificationGroup', 'ModuleCompliance') (bits, object_identity, mib_identifier, counter64, iso, notification_type, mib_scalar, mib_table, mib_table_row, mib_table_column, module_identity, ip_address, unsigned32, time_ticks, gauge32, integer32, counter32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Bits', 'ObjectIdentity', 'MibIdentifier', 'Counter64', 'iso', 'NotificationType', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ModuleIdentity', 'IpAddress', 'Unsigned32', 'TimeTicks', 'Gauge32', 'Integer32', 'Counter32') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') etsys_nac_appliance_mib = module_identity((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73)) etsysNacApplianceMIB.setRevisions(('2010-03-09 13:03',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: etsysNacApplianceMIB.setRevisionsDescriptions(('The initial version of this MIB module.',)) if mibBuilder.loadTexts: etsysNacApplianceMIB.setLastUpdated('201003091303Z') if mibBuilder.loadTexts: etsysNacApplianceMIB.setOrganization('Enterasys Networks, Inc') if mibBuilder.loadTexts: etsysNacApplianceMIB.setContactInfo('Postal: Enterasys Networks 50 Minuteman Rd. Andover, MA 01810-1008 USA Phone: +1 978 684 1000 E-mail: [email protected] WWW: http://www.enterasys.com') if mibBuilder.loadTexts: etsysNacApplianceMIB.setDescription("This MIB module defines a portion of the SNMP enterprise MIBs under Enterasys Networks' enterprise OID pertaining to NAC Appliance Status.") etsys_nac_appliance_objects = mib_identifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1)) etsys_nac_appl_authentication_requests = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 1), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysNacApplAuthenticationRequests.setStatus('current') if mibBuilder.loadTexts: etsysNacApplAuthenticationRequests.setDescription('Represents the number of authentication requests made since the NAC was started.') etsys_nac_appl_authentication_successes = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 2), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysNacApplAuthenticationSuccesses.setStatus('current') if mibBuilder.loadTexts: etsysNacApplAuthenticationSuccesses.setDescription('Represents the number of successful authentication requests made since the NAC was started.') etsys_nac_appl_authentication_failures = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 3), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysNacApplAuthenticationFailures.setStatus('current') if mibBuilder.loadTexts: etsysNacApplAuthenticationFailures.setDescription('Represents the number of failed authentication requests made since the NAC was started.') etsys_nac_appl_radius_challenges = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 4), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysNacApplRadiusChallenges.setStatus('current') if mibBuilder.loadTexts: etsysNacApplRadiusChallenges.setDescription('Represents the number of Radius challenges made since the NAC was started.') etsys_nac_appl_authentication_invalid_requests = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 5), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysNacApplAuthenticationInvalidRequests.setStatus('current') if mibBuilder.loadTexts: etsysNacApplAuthenticationInvalidRequests.setDescription('Represents the number of invalid authentication requests made since the NAC was started.') etsys_nac_appl_authentication_duplicate_requests = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 6), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysNacApplAuthenticationDuplicateRequests.setStatus('current') if mibBuilder.loadTexts: etsysNacApplAuthenticationDuplicateRequests.setDescription('Represents the number of duplicate authentication requests made since the NAC was started.') etsys_nac_appl_authentication_malformed_requests = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 7), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysNacApplAuthenticationMalformedRequests.setStatus('current') if mibBuilder.loadTexts: etsysNacApplAuthenticationMalformedRequests.setDescription('Represents the number of malformed authentication requests made since the NAC was started.') etsys_nac_appl_authentication_bad_requests = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 8), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysNacApplAuthenticationBadRequests.setStatus('current') if mibBuilder.loadTexts: etsysNacApplAuthenticationBadRequests.setDescription('Represents the number of bad authentication requests made since the NAC was started.') etsys_nac_appl_authentication_dropped_packets = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 9), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysNacApplAuthenticationDroppedPackets.setStatus('current') if mibBuilder.loadTexts: etsysNacApplAuthenticationDroppedPackets.setDescription('Represents the number of dropped authentication packets since the NAC was started.') etsys_nac_appl_authentication_unknown_types = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 10), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysNacApplAuthenticationUnknownTypes.setStatus('current') if mibBuilder.loadTexts: etsysNacApplAuthenticationUnknownTypes.setDescription('Represents the number of unknown authentication types since the NAC was started.') etsys_nac_appl_assessment_requests = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 11), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysNacApplAssessmentRequests.setStatus('current') if mibBuilder.loadTexts: etsysNacApplAssessmentRequests.setDescription('Represents the number of assessment requests made since the NAC was started.') etsys_nac_appl_captive_portal_requests = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 12), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysNacApplCaptivePortalRequests.setStatus('current') if mibBuilder.loadTexts: etsysNacApplCaptivePortalRequests.setDescription('Represents the number of captive portal requests made since the NAC was started.') etsys_nac_appl_contact_lost_switches = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 13), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysNacApplContactLostSwitches.setStatus('current') if mibBuilder.loadTexts: etsysNacApplContactLostSwitches.setDescription('Represents the number of configured switches with which the NAC has lost SNMP contact.') etsys_nac_appl_ip_resolution_failures = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 14), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysNacApplIPResolutionFailures.setStatus('current') if mibBuilder.loadTexts: etsysNacApplIPResolutionFailures.setDescription('Represents the number of failed IP Resolution attempts made since the NAC was started.') etsys_nac_appl_ip_resolution_timeouts = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 15), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysNacApplIPResolutionTimeouts.setStatus('current') if mibBuilder.loadTexts: etsysNacApplIPResolutionTimeouts.setDescription('Represents the number of IP Resolution attempts that timed out since the NAC was started.') etsys_nac_appl_connected_agents = mib_scalar((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 1, 16), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: etsysNacApplConnectedAgents.setStatus('current') if mibBuilder.loadTexts: etsysNacApplConnectedAgents.setDescription('Represents the number of End-System Assessment Agents currently connected to the NAC.') etsys_nac_appliance_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 2)) etsys_nac_appliance_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 2, 1)) etsys_nac_appliance_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 2, 2)) etsys_nac_appliance_mib_group = object_group((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 2, 1, 1)).setObjects(('ENTERASYS-NAC-APPLIANCE-MIB', 'etsysNacApplAuthenticationRequests'), ('ENTERASYS-NAC-APPLIANCE-MIB', 'etsysNacApplAuthenticationSuccesses'), ('ENTERASYS-NAC-APPLIANCE-MIB', 'etsysNacApplAuthenticationFailures'), ('ENTERASYS-NAC-APPLIANCE-MIB', 'etsysNacApplRadiusChallenges'), ('ENTERASYS-NAC-APPLIANCE-MIB', 'etsysNacApplAuthenticationInvalidRequests'), ('ENTERASYS-NAC-APPLIANCE-MIB', 'etsysNacApplAuthenticationDuplicateRequests'), ('ENTERASYS-NAC-APPLIANCE-MIB', 'etsysNacApplAuthenticationMalformedRequests'), ('ENTERASYS-NAC-APPLIANCE-MIB', 'etsysNacApplAuthenticationBadRequests'), ('ENTERASYS-NAC-APPLIANCE-MIB', 'etsysNacApplAuthenticationDroppedPackets'), ('ENTERASYS-NAC-APPLIANCE-MIB', 'etsysNacApplAuthenticationUnknownTypes'), ('ENTERASYS-NAC-APPLIANCE-MIB', 'etsysNacApplAssessmentRequests'), ('ENTERASYS-NAC-APPLIANCE-MIB', 'etsysNacApplCaptivePortalRequests'), ('ENTERASYS-NAC-APPLIANCE-MIB', 'etsysNacApplContactLostSwitches'), ('ENTERASYS-NAC-APPLIANCE-MIB', 'etsysNacApplIPResolutionFailures'), ('ENTERASYS-NAC-APPLIANCE-MIB', 'etsysNacApplIPResolutionTimeouts'), ('ENTERASYS-NAC-APPLIANCE-MIB', 'etsysNacApplConnectedAgents')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etsys_nac_appliance_mib_group = etsysNacApplianceMIBGroup.setStatus('current') if mibBuilder.loadTexts: etsysNacApplianceMIBGroup.setDescription('The basic collection of objects providing status information about the NAC Appliance.') etsys_nac_appliance_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 5624, 1, 2, 73, 2, 2, 1)).setObjects(('ENTERASYS-NAC-APPLIANCE-MIB', 'etsysNacApplianceMIBGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etsys_nac_appliance_mib_compliance = etsysNacApplianceMIBCompliance.setStatus('current') if mibBuilder.loadTexts: etsysNacApplianceMIBCompliance.setDescription('The compliance statement for clients implementing the NAC Appliance Status MIB.') mibBuilder.exportSymbols('ENTERASYS-NAC-APPLIANCE-MIB', etsysNacApplianceMIBCompliance=etsysNacApplianceMIBCompliance, etsysNacApplAuthenticationDuplicateRequests=etsysNacApplAuthenticationDuplicateRequests, etsysNacApplIPResolutionTimeouts=etsysNacApplIPResolutionTimeouts, etsysNacApplianceObjects=etsysNacApplianceObjects, etsysNacApplAuthenticationInvalidRequests=etsysNacApplAuthenticationInvalidRequests, etsysNacApplAuthenticationUnknownTypes=etsysNacApplAuthenticationUnknownTypes, etsysNacApplianceMIBCompliances=etsysNacApplianceMIBCompliances, etsysNacApplAssessmentRequests=etsysNacApplAssessmentRequests, etsysNacApplAuthenticationBadRequests=etsysNacApplAuthenticationBadRequests, etsysNacApplAuthenticationRequests=etsysNacApplAuthenticationRequests, etsysNacApplRadiusChallenges=etsysNacApplRadiusChallenges, etsysNacApplAuthenticationMalformedRequests=etsysNacApplAuthenticationMalformedRequests, etsysNacApplContactLostSwitches=etsysNacApplContactLostSwitches, etsysNacApplAuthenticationDroppedPackets=etsysNacApplAuthenticationDroppedPackets, etsysNacApplCaptivePortalRequests=etsysNacApplCaptivePortalRequests, etsysNacApplAuthenticationSuccesses=etsysNacApplAuthenticationSuccesses, etsysNacApplIPResolutionFailures=etsysNacApplIPResolutionFailures, etsysNacApplianceMIBConformance=etsysNacApplianceMIBConformance, PYSNMP_MODULE_ID=etsysNacApplianceMIB, etsysNacApplianceMIBGroups=etsysNacApplianceMIBGroups, etsysNacApplianceMIB=etsysNacApplianceMIB, etsysNacApplAuthenticationFailures=etsysNacApplAuthenticationFailures, etsysNacApplianceMIBGroup=etsysNacApplianceMIBGroup, etsysNacApplConnectedAgents=etsysNacApplConnectedAgents)
class Unsubclassable: def __init_subclass__(cls, **kwargs): raise TypeError('Unacceptable base type') def prevent_subclassing(): raise TypeError('Unacceptable base type') def final_class(cls): setattr(cls, '__init_subclass__', prevent_subclassing) return cls class UnsubclassableType(type): def __new__(cls, name, bases, dct): c = super().__new__(cls, name, bases, dct) setattr(c, '__init_subclass__', prevent_subclassing) return c
class Unsubclassable: def __init_subclass__(cls, **kwargs): raise type_error('Unacceptable base type') def prevent_subclassing(): raise type_error('Unacceptable base type') def final_class(cls): setattr(cls, '__init_subclass__', prevent_subclassing) return cls class Unsubclassabletype(type): def __new__(cls, name, bases, dct): c = super().__new__(cls, name, bases, dct) setattr(c, '__init_subclass__', prevent_subclassing) return c
def solve(): # Read input R, C, H, V = map(int, input().split()) choco = [] for _ in range(R): choco.append([0] * C) choco_row, choco_col = [0]*R, [0]*C num_choco = 0 for i in range(R): row = input() for j in range(C): if row[j] == '@': choco_col[j] += 1 choco[i][j] = 1 choco_row[i] = row.count('@') num_choco += choco_row[i] # Find H and V cuts if num_choco == 0: return 'POSSIBLE' H_idx, V_idx = [], [] flag = True if num_choco%(H+1)==0 and num_choco%(V+1)==0: num_choco_h = num_choco/(H+1) num_choco_v = num_choco/(V+1) accum = 0 for i, r in enumerate(choco_row): accum += r if accum == num_choco_h: accum = 0 H_idx.append(i) elif accum > num_choco_h: flag = False break if not flag: return 'IMPOSSIBLE' accum = 0 for i, c in enumerate(choco_col): accum += c if accum == num_choco_v: accum = 0 V_idx.append(i) elif accum > num_choco_v: flag = False break if not flag: return 'IMPOSSIBLE' else: return 'IMPOSSIBLE' # Check each piece r_from = 0 num_prev = None for r in H_idx: c_from = 0 for c in V_idx: num = 0 for i in range(r_from, r+1): for j in range(c_from, c+1): num += choco[i][j] if num_prev is None: num_prev = num elif num_prev != num: return 'IMPOSSIBLE' c_from = c+1 r_from = r+1 return 'POSSIBLE' if __name__ == '__main__': T = int(input()) for t in range(T): print('Case #{}: {}'.format(t+1, solve()))
def solve(): (r, c, h, v) = map(int, input().split()) choco = [] for _ in range(R): choco.append([0] * C) (choco_row, choco_col) = ([0] * R, [0] * C) num_choco = 0 for i in range(R): row = input() for j in range(C): if row[j] == '@': choco_col[j] += 1 choco[i][j] = 1 choco_row[i] = row.count('@') num_choco += choco_row[i] if num_choco == 0: return 'POSSIBLE' (h_idx, v_idx) = ([], []) flag = True if num_choco % (H + 1) == 0 and num_choco % (V + 1) == 0: num_choco_h = num_choco / (H + 1) num_choco_v = num_choco / (V + 1) accum = 0 for (i, r) in enumerate(choco_row): accum += r if accum == num_choco_h: accum = 0 H_idx.append(i) elif accum > num_choco_h: flag = False break if not flag: return 'IMPOSSIBLE' accum = 0 for (i, c) in enumerate(choco_col): accum += c if accum == num_choco_v: accum = 0 V_idx.append(i) elif accum > num_choco_v: flag = False break if not flag: return 'IMPOSSIBLE' else: return 'IMPOSSIBLE' r_from = 0 num_prev = None for r in H_idx: c_from = 0 for c in V_idx: num = 0 for i in range(r_from, r + 1): for j in range(c_from, c + 1): num += choco[i][j] if num_prev is None: num_prev = num elif num_prev != num: return 'IMPOSSIBLE' c_from = c + 1 r_from = r + 1 return 'POSSIBLE' if __name__ == '__main__': t = int(input()) for t in range(T): print('Case #{}: {}'.format(t + 1, solve()))
#Definicion de la clase #antes de empezar una clase se declara de la siguiente manera class Lamp: _LAMPS = [''' . . | , \ ' / ` ,-. ' --- ( ) --- \ / _|=|_ |_____| ''', ''' ,-. ( ) \ / _|=|_ |_____| '''] def __init__(self, is_turned_on): #metodo instancia e init es el constructar osea es el primero que se ejecuta self._is_turned_on = is_turned_on def turn_on(self): self._is_turned_on = True self._display_image() def turn_off(self): self._is_turned_on = False self._display_image() def _display_image(self): if self._is_turned_on: print(self._LAMPS[0]) else: print(self._LAMPS[1])
class Lamp: _lamps = ["\n .\n . | ,\n \\ ' /\n ` ,-. '\n --- ( ) ---\n \\ /\n _|=|_\n |_____|\n ", '\n ,-.\n ( )\n \\ /\n _|=|_\n |_____|\n '] def __init__(self, is_turned_on): self._is_turned_on = is_turned_on def turn_on(self): self._is_turned_on = True self._display_image() def turn_off(self): self._is_turned_on = False self._display_image() def _display_image(self): if self._is_turned_on: print(self._LAMPS[0]) else: print(self._LAMPS[1])
votes_t_shape = [3, 0, 1, 2] for i in range(6 - 4): votes_t_shape += [i + 4] print(votes_t_shape)
votes_t_shape = [3, 0, 1, 2] for i in range(6 - 4): votes_t_shape += [i + 4] print(votes_t_shape)
#/ <reference path="./testBlocks/mb.ts" /> def function_0(): basic.showNumber(7) basic.forever(function_0)
def function_0(): basic.showNumber(7) basic.forever(function_0)
# # PySNMP MIB module HH3C-PPPOE-SERVER-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HH3C-PPPOE-SERVER-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:16:17 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, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueSizeConstraint, SingleValueConstraint, ValueRangeConstraint, ConstraintsIntersection, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsIntersection", "ConstraintsUnion") hh3cCommon, = mibBuilder.importSymbols("HH3C-OID-MIB", "hh3cCommon") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") ObjectIdentity, Integer32, IpAddress, NotificationType, Unsigned32, iso, MibIdentifier, Counter64, Counter32, MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, ModuleIdentity, Bits, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "ObjectIdentity", "Integer32", "IpAddress", "NotificationType", "Unsigned32", "iso", "MibIdentifier", "Counter64", "Counter32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "ModuleIdentity", "Bits", "TimeTicks") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") hh3cPPPoEServer = ModuleIdentity((1, 3, 6, 1, 4, 1, 25506, 2, 102)) hh3cPPPoEServer.setRevisions(('2009-05-06 00:00',)) if mibBuilder.loadTexts: hh3cPPPoEServer.setLastUpdated('200905060000Z') if mibBuilder.loadTexts: hh3cPPPoEServer.setOrganization('Hangzhou H3C Technologies Co., Ltd.') hh3cPPPoEServerObject = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 102, 1)) hh3cPPPoEServerMaxSessions = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 102, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hh3cPPPoEServerMaxSessions.setStatus('current') hh3cPPPoEServerCurrSessions = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 102, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hh3cPPPoEServerCurrSessions.setStatus('current') hh3cPPPoEServerAuthRequests = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 102, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hh3cPPPoEServerAuthRequests.setStatus('current') hh3cPPPoEServerAuthSuccesses = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 102, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hh3cPPPoEServerAuthSuccesses.setStatus('current') hh3cPPPoEServerAuthFailures = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 102, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hh3cPPPoEServerAuthFailures.setStatus('current') hh3cPPPoESAbnormOffsThreshold = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 102, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cPPPoESAbnormOffsThreshold.setStatus('current') hh3cPPPoESAbnormOffPerThreshold = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 102, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cPPPoESAbnormOffPerThreshold.setStatus('current') hh3cPPPoESNormOffPerThreshold = MibScalar((1, 3, 6, 1, 4, 1, 25506, 2, 102, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cPPPoESNormOffPerThreshold.setStatus('current') hh3cPPPoEServerTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 102, 2)) hh3cPPPoeServerTrapPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 102, 2, 0)) hh3cPPPoESAbnormOffsAlarm = NotificationType((1, 3, 6, 1, 4, 1, 25506, 2, 102, 2, 0, 1)) if mibBuilder.loadTexts: hh3cPPPoESAbnormOffsAlarm.setStatus('current') hh3cPPPoESAbnormOffPerAlarm = NotificationType((1, 3, 6, 1, 4, 1, 25506, 2, 102, 2, 0, 2)) if mibBuilder.loadTexts: hh3cPPPoESAbnormOffPerAlarm.setStatus('current') hh3cPPPoESNormOffPerAlarm = NotificationType((1, 3, 6, 1, 4, 1, 25506, 2, 102, 2, 0, 3)) if mibBuilder.loadTexts: hh3cPPPoESNormOffPerAlarm.setStatus('current') mibBuilder.exportSymbols("HH3C-PPPOE-SERVER-MIB", hh3cPPPoEServerMaxSessions=hh3cPPPoEServerMaxSessions, hh3cPPPoEServerObject=hh3cPPPoEServerObject, hh3cPPPoeServerTrapPrefix=hh3cPPPoeServerTrapPrefix, hh3cPPPoEServerAuthFailures=hh3cPPPoEServerAuthFailures, hh3cPPPoEServer=hh3cPPPoEServer, PYSNMP_MODULE_ID=hh3cPPPoEServer, hh3cPPPoESAbnormOffsAlarm=hh3cPPPoESAbnormOffsAlarm, hh3cPPPoEServerAuthRequests=hh3cPPPoEServerAuthRequests, hh3cPPPoEServerAuthSuccesses=hh3cPPPoEServerAuthSuccesses, hh3cPPPoESNormOffPerThreshold=hh3cPPPoESNormOffPerThreshold, hh3cPPPoEServerCurrSessions=hh3cPPPoEServerCurrSessions, hh3cPPPoEServerTraps=hh3cPPPoEServerTraps, hh3cPPPoESAbnormOffPerThreshold=hh3cPPPoESAbnormOffPerThreshold, hh3cPPPoESAbnormOffPerAlarm=hh3cPPPoESAbnormOffPerAlarm, hh3cPPPoESAbnormOffsThreshold=hh3cPPPoESAbnormOffsThreshold, hh3cPPPoESNormOffPerAlarm=hh3cPPPoESNormOffPerAlarm)
(integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_size_constraint, single_value_constraint, value_range_constraint, constraints_intersection, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'SingleValueConstraint', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ConstraintsUnion') (hh3c_common,) = mibBuilder.importSymbols('HH3C-OID-MIB', 'hh3cCommon') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (object_identity, integer32, ip_address, notification_type, unsigned32, iso, mib_identifier, counter64, counter32, mib_scalar, mib_table, mib_table_row, mib_table_column, gauge32, module_identity, bits, time_ticks) = mibBuilder.importSymbols('SNMPv2-SMI', 'ObjectIdentity', 'Integer32', 'IpAddress', 'NotificationType', 'Unsigned32', 'iso', 'MibIdentifier', 'Counter64', 'Counter32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Gauge32', 'ModuleIdentity', 'Bits', 'TimeTicks') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') hh3c_pp_po_e_server = module_identity((1, 3, 6, 1, 4, 1, 25506, 2, 102)) hh3cPPPoEServer.setRevisions(('2009-05-06 00:00',)) if mibBuilder.loadTexts: hh3cPPPoEServer.setLastUpdated('200905060000Z') if mibBuilder.loadTexts: hh3cPPPoEServer.setOrganization('Hangzhou H3C Technologies Co., Ltd.') hh3c_pp_po_e_server_object = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 102, 1)) hh3c_pp_po_e_server_max_sessions = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 102, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hh3cPPPoEServerMaxSessions.setStatus('current') hh3c_pp_po_e_server_curr_sessions = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 102, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hh3cPPPoEServerCurrSessions.setStatus('current') hh3c_pp_po_e_server_auth_requests = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 102, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hh3cPPPoEServerAuthRequests.setStatus('current') hh3c_pp_po_e_server_auth_successes = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 102, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hh3cPPPoEServerAuthSuccesses.setStatus('current') hh3c_pp_po_e_server_auth_failures = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 102, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hh3cPPPoEServerAuthFailures.setStatus('current') hh3c_pp_po_es_abnorm_offs_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 102, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hh3cPPPoESAbnormOffsThreshold.setStatus('current') hh3c_pp_po_es_abnorm_off_per_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 102, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hh3cPPPoESAbnormOffPerThreshold.setStatus('current') hh3c_pp_po_es_norm_off_per_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 25506, 2, 102, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hh3cPPPoESNormOffPerThreshold.setStatus('current') hh3c_pp_po_e_server_traps = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 102, 2)) hh3c_pp_poe_server_trap_prefix = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 102, 2, 0)) hh3c_pp_po_es_abnorm_offs_alarm = notification_type((1, 3, 6, 1, 4, 1, 25506, 2, 102, 2, 0, 1)) if mibBuilder.loadTexts: hh3cPPPoESAbnormOffsAlarm.setStatus('current') hh3c_pp_po_es_abnorm_off_per_alarm = notification_type((1, 3, 6, 1, 4, 1, 25506, 2, 102, 2, 0, 2)) if mibBuilder.loadTexts: hh3cPPPoESAbnormOffPerAlarm.setStatus('current') hh3c_pp_po_es_norm_off_per_alarm = notification_type((1, 3, 6, 1, 4, 1, 25506, 2, 102, 2, 0, 3)) if mibBuilder.loadTexts: hh3cPPPoESNormOffPerAlarm.setStatus('current') mibBuilder.exportSymbols('HH3C-PPPOE-SERVER-MIB', hh3cPPPoEServerMaxSessions=hh3cPPPoEServerMaxSessions, hh3cPPPoEServerObject=hh3cPPPoEServerObject, hh3cPPPoeServerTrapPrefix=hh3cPPPoeServerTrapPrefix, hh3cPPPoEServerAuthFailures=hh3cPPPoEServerAuthFailures, hh3cPPPoEServer=hh3cPPPoEServer, PYSNMP_MODULE_ID=hh3cPPPoEServer, hh3cPPPoESAbnormOffsAlarm=hh3cPPPoESAbnormOffsAlarm, hh3cPPPoEServerAuthRequests=hh3cPPPoEServerAuthRequests, hh3cPPPoEServerAuthSuccesses=hh3cPPPoEServerAuthSuccesses, hh3cPPPoESNormOffPerThreshold=hh3cPPPoESNormOffPerThreshold, hh3cPPPoEServerCurrSessions=hh3cPPPoEServerCurrSessions, hh3cPPPoEServerTraps=hh3cPPPoEServerTraps, hh3cPPPoESAbnormOffPerThreshold=hh3cPPPoESAbnormOffPerThreshold, hh3cPPPoESAbnormOffPerAlarm=hh3cPPPoESAbnormOffPerAlarm, hh3cPPPoESAbnormOffsThreshold=hh3cPPPoESAbnormOffsThreshold, hh3cPPPoESNormOffPerAlarm=hh3cPPPoESNormOffPerAlarm)
name = input("masukkan nama pembeli = ") alamat= input("Alamat = ") NoTelp = input("No Telp = ") print("\n") print("=================INFORMASI HARGA MOBIL DEALER JAYA ABADI===============") print("Pilih Jenis Mobil :") print("\t 1.Daihatsu ") print("\t 2.Honda ") print("\t 3.Toyota ") print("") pilihan = int(input("Pilih jenis mobil yang ingin dibeli : ")) print("") if (pilihan==1): print("<<<<<<<< Macam macam mobil pada Daihatsu >>>>>>>>>") print("\ta.Grand New Xenia") print("\tb.All New Terios") print("\tc.New Ayla") Pilih1 = input("Mana yang ingin anda pilih ?? = ") if(Pilih1 == "a"): print("Harga mobil Grand New Xenia adalah 183 juta ") elif(Pilih1== "b"): print("Harga mobil All New Terios adalah 215 juta") elif(Pilih1== "c"): print("Harga mobil New Ayla adalah 110 juta") else: print("Tidak terdefinisi") elif (pilihan==2): print("<<<<<<<< Macam macam mobil pada Honda >>>>>>>>>") print("\ta.Honda Brio Satya S") print("\tb.Honda Jazz ") print("\tb.Honda Mobilio ") pilih2 = input("Mana yang ingin anda pilih??") if(pilih2=="a"): print("Harga mobil HOnda Brio Satya S adalah 131 juta") elif(pilih2=="b"): print("Harga mobil Honda Jazz adalah 232 juta") elif(pilih2=="c"): print("Harga mobil Honda mobilio adalah 189 juta") else: print("Tidak terdefinisi") elif (pilihan==3): print("<<<<<<<< Macam macam mobil pada Toyota>>>>>>>>?") print("\ta.Alphard") print("\tb.Camry") print("\tc.Fortuner") pilih3 = input("Mana yang ingin anda pilih??") if (pilih3=="a"): print("Harga mobil Alphard adalah 870 juta") elif (pilih3=="b"): print("Harga mobil Camry adalah 560 Juta") elif (pilih3=="c"): print("Harga mobil Fortuner adalah 492 Juta")
name = input('masukkan nama pembeli = ') alamat = input('Alamat = ') no_telp = input('No Telp = ') print('\n') print('=================INFORMASI HARGA MOBIL DEALER JAYA ABADI===============') print('Pilih Jenis Mobil :') print('\t 1.Daihatsu ') print('\t 2.Honda ') print('\t 3.Toyota ') print('') pilihan = int(input('Pilih jenis mobil yang ingin dibeli : ')) print('') if pilihan == 1: print('<<<<<<<< Macam macam mobil pada Daihatsu >>>>>>>>>') print('\ta.Grand New Xenia') print('\tb.All New Terios') print('\tc.New Ayla') pilih1 = input('Mana yang ingin anda pilih ?? = ') if Pilih1 == 'a': print('Harga mobil Grand New Xenia adalah 183 juta ') elif Pilih1 == 'b': print('Harga mobil All New Terios adalah 215 juta') elif Pilih1 == 'c': print('Harga mobil New Ayla adalah 110 juta') else: print('Tidak terdefinisi') elif pilihan == 2: print('<<<<<<<< Macam macam mobil pada Honda >>>>>>>>>') print('\ta.Honda Brio Satya S') print('\tb.Honda Jazz ') print('\tb.Honda Mobilio ') pilih2 = input('Mana yang ingin anda pilih??') if pilih2 == 'a': print('Harga mobil HOnda Brio Satya S adalah 131 juta') elif pilih2 == 'b': print('Harga mobil Honda Jazz adalah 232 juta') elif pilih2 == 'c': print('Harga mobil Honda mobilio adalah 189 juta') else: print('Tidak terdefinisi') elif pilihan == 3: print('<<<<<<<< Macam macam mobil pada Toyota>>>>>>>>?') print('\ta.Alphard') print('\tb.Camry') print('\tc.Fortuner') pilih3 = input('Mana yang ingin anda pilih??') if pilih3 == 'a': print('Harga mobil Alphard adalah 870 juta') elif pilih3 == 'b': print('Harga mobil Camry adalah 560 Juta') elif pilih3 == 'c': print('Harga mobil Fortuner adalah 492 Juta')
#!/bin/python3 with open('../camera/QCamera2/stack/common/cam_intf.h', 'r') as f: data = f.read() f.closed start = data.find(' INCLUDE(CAM_INTF_META_HISTOGRAM') end = data.find('} metadata_data_t;') data = data[start:end] metadata = data.split("\n") metalist = list() for line in metadata: if (line.startswith(' INCLUDE')): foo = line.split(',') foo[0] = foo[0].replace('INCLUDE', 'PRINT') metalist.append(foo[0] + ", pMetadata);") with open('list.txt', 'w') as f: for item in metalist: f.write("%s\n" % item) f.closed
with open('../camera/QCamera2/stack/common/cam_intf.h', 'r') as f: data = f.read() f.closed start = data.find(' INCLUDE(CAM_INTF_META_HISTOGRAM') end = data.find('} metadata_data_t;') data = data[start:end] metadata = data.split('\n') metalist = list() for line in metadata: if line.startswith(' INCLUDE'): foo = line.split(',') foo[0] = foo[0].replace('INCLUDE', 'PRINT') metalist.append(foo[0] + ', pMetadata);') with open('list.txt', 'w') as f: for item in metalist: f.write('%s\n' % item) f.closed
def g(A, n): if A == -1: return 0 return A // (2 * n) * n + max(A % (2 * n) - (n - 1), 0) def f(A, B): result = 0 for i in range(48): t = 1 << i if (g(B, t) - g(A - 1, t)) % 2 == 1: result += t return result A, B = map(int, input().split()) print(f(A, B))
def g(A, n): if A == -1: return 0 return A // (2 * n) * n + max(A % (2 * n) - (n - 1), 0) def f(A, B): result = 0 for i in range(48): t = 1 << i if (g(B, t) - g(A - 1, t)) % 2 == 1: result += t return result (a, b) = map(int, input().split()) print(f(A, B))
# Write an algorithm that takes an array and moves all of the zeros to the end, preserving the order of the other elements. def move_zeros(array): #your code here new_array = [] new_index = 0 while len(array) > 0: item = array.pop(0) if item == 0 and not type(item) == bool : new_array.append(item) else: new_array.insert(new_index, item) new_index = new_index + 1 return new_array
def move_zeros(array): new_array = [] new_index = 0 while len(array) > 0: item = array.pop(0) if item == 0 and (not type(item) == bool): new_array.append(item) else: new_array.insert(new_index, item) new_index = new_index + 1 return new_array
def construct_tag_data(tag_name, attrs=None, value=None, sorting=None): data = { '_name': tag_name, '_attrs': attrs or [], '_value': value, } if sorting: data['_sorting'] = sorting return data def add_simple_child(data, child_friendly_name, child_tag_name, child_attrs=None, child_value=None): data[child_friendly_name] = construct_tag_data(child_tag_name, child_attrs, child_value) return data def construct_header(ctransfer): header = construct_tag_data('GrpHdr') header['_sorting'] = ['MsgId', 'CreDtTm', 'NbOfTxs', 'CtrlSum', 'InitgPty'] header['message_id'] = construct_tag_data('MsgId', value=ctransfer.uuid) header['creation_date_time'] = construct_tag_data('CreDtTm', value=ctransfer.timestamp) header['num_transactions'] = construct_tag_data('NbOfTxs', value=ctransfer.get_num_of_transactions()) header['control_sum'] = construct_tag_data('CtrlSum', value=ctransfer.get_control_sum()) header['initiating_party'] = add_simple_child(construct_tag_data('InitgPty'), 'name', 'Nm', [], ctransfer.debtor.name) return header def construct_iban(account, tag_name): iban_data = construct_tag_data(tag_name) iban_data['id'] = add_simple_child(construct_tag_data('Id'), 'iban', 'IBAN', [], account.iban) return iban_data def construct_bic(account, tag_name): bic_data = construct_tag_data(tag_name) bic_data['financial_instrument_id'] = add_simple_child(construct_tag_data('FinInstnId'), 'bic', 'BIC', [], account.bic) return bic_data def construct_address_data(account, tag_name): addr_data = construct_tag_data(tag_name) addr_data['name'] = construct_tag_data('Nm', value=account.name) if account.has_address(): address = construct_tag_data('PstlAdr') if account.country: address['country'] = construct_tag_data('Ctry', value=account.country) if account.street: address['addr_line_1'] = construct_tag_data('AdrLine', value=account.street) if account.postcode and account.city: address['addr_line_2'] = construct_tag_data('AdrLine', value="%s %s" % (account.postcode, account.city)) addr_data['address'] = address return addr_data def construct_transaction_data(ctransfer, transaction): transaction_information = construct_tag_data('CdtTrfTxInf') transaction_information['_sorting'] = ['PmtId', 'Amt', 'ChrgBr', 'UltmtDbtr', 'CdtrAgt', 'Cdtr', 'CdtrAcct', 'UltmtCdtr', 'Purp', 'RmtInf'] transaction_information['payment_id'] = add_simple_child( data=add_simple_child(data=construct_tag_data('PmtId', sorting=['InstrId', 'EndToEndId']), child_friendly_name='instruction', child_tag_name='InstrId', child_value=transaction.uuid), child_friendly_name='eref', child_tag_name='EndToEndId', child_value=transaction.eref) transaction_information['amount'] = add_simple_child(data=construct_tag_data('Amt'), child_friendly_name='amount', child_tag_name='InstdAmt', child_attrs=[('Ccy', ctransfer.currency)], child_value=transaction.get_amount()) transaction_information['charge_bearer'] = construct_tag_data('ChrgBr', value='SLEV') if ctransfer.debtor.use_ultimate: transaction_information['ultimate_debtor'] = add_simple_child(data=construct_tag_data('UltmtDbtr'), child_friendly_name='name', child_tag_name='Nm', child_value=ctransfer.debtor.name) transaction_information['creditor_agent'] = construct_bic(transaction.creditor, 'CdtrAgt') transaction_information['creditor_data'] = construct_address_data(transaction.creditor, 'Cdtr') transaction_information['creditor_account'] = construct_iban(transaction.creditor, 'CdtrAcct') if transaction.creditor.use_ultimate: transaction_information['ultimate_creditor'] = add_simple_child(data=construct_tag_data('UltmtCdtr'), child_friendly_name='name', child_tag_name='Nm', child_value=transaction.creditor.name) transaction_information['purpose'] = add_simple_child(data=construct_tag_data('Purp'), child_friendly_name='code', child_tag_name='Cd', child_value=transaction.ext_purpose) if not transaction.use_structured: transaction_information['remote_inf'] = add_simple_child(data=construct_tag_data('RmtInf'), child_friendly_name='unstructured', child_tag_name='Ustrd', child_value=transaction.purpose) else: rmt_inf = construct_tag_data('RmtInf') rmt_inf_strd = add_simple_child(data=construct_tag_data('Strd'), child_friendly_name='additional_info', child_tag_name='AddtlRmtInf', child_value=transaction.purpose) rmt_tp = construct_tag_data('Tp') rmt_tp['code_or_property'] = add_simple_child(data=construct_tag_data('CdOrPrtry'), child_friendly_name='code', child_tag_name='Cd', child_value='SCOR') rmt_creditor_ref_inf = add_simple_child(data=construct_tag_data('CdtrRefInf'), child_friendly_name='reference', child_tag_name='Ref', child_value=transaction.cref) rmt_creditor_ref_inf['tp'] = rmt_tp rmt_inf_strd['creditor_ref_information'] = rmt_creditor_ref_inf rmt_inf['structured'] = rmt_inf_strd transaction_information['remote_inf'] = rmt_inf return transaction_information def construct_payment_information(ctransfer): payment_inf = construct_tag_data('PmtInf') payment_inf['_sorting'] = ['PmtInfId', 'PmtMtd', 'BtchBookg', 'NbOfTxs', 'CtrlSum', 'PmtTpInf', 'ReqdExctnDt', 'Dbtr', 'DbtrAcct', 'DbtrAgt', 'ChrgBr', 'CdtTrfTxInf'] payment_inf['payment_id'] = construct_tag_data('PmtInfId', value=ctransfer.payment_id) payment_inf['payment_method'] = construct_tag_data('PmtMtd', value='TRF') payment_inf['batch'] = construct_tag_data('BtchBookg', value=str(ctransfer.batch).lower()) payment_inf['num_transactions'] = construct_tag_data('NbOfTxs', value=ctransfer.get_num_of_transactions()) payment_inf['control_sum'] = construct_tag_data('CtrlSum', value=ctransfer.get_control_sum()) payment_instruction = construct_tag_data('PmtTpInf') payment_instruction['_sorting'] = ['InstrPrty', 'SvcLvl'] payment_instruction['priority'] = construct_tag_data('InstrPrty', value='NORM') payment_instruction['service_level'] = add_simple_child(construct_tag_data('SvcLvl'), 'code', 'Cd', [], 'SEPA') payment_inf['instruction'] = payment_instruction payment_inf['requested_execution_time'] = construct_tag_data('ReqdExctnDt', value=ctransfer.execution_time) payment_inf['debtor'] = construct_address_data(ctransfer.debtor, 'Dbtr') payment_inf['debtor_account'] = construct_iban(ctransfer.debtor, 'DbtrAcct') payment_inf['debtor_agent'] = construct_bic(ctransfer.debtor, 'DbtrAgt') payment_inf['charge_bearer'] = construct_tag_data('ChrgBr', value='SLEV') for i, payment in enumerate(ctransfer.transactions): transfer_information = construct_transaction_data(ctransfer, payment) payment_inf['transfer_no_%s' % i] = transfer_information return payment_inf def construct_document(ctransfer): root = construct_tag_data('Document', [('xmlns', 'urn:iso:std:iso:20022:tech:xsd:pain.001.001.03')]) message = construct_tag_data('CstmrCdtTrfInitn') message['_sorting'] = ['GrpHdr', 'PmtInf'] message['header'] = construct_header(ctransfer) message['payment_information'] = construct_payment_information(ctransfer) root['message'] = message return root
def construct_tag_data(tag_name, attrs=None, value=None, sorting=None): data = {'_name': tag_name, '_attrs': attrs or [], '_value': value} if sorting: data['_sorting'] = sorting return data def add_simple_child(data, child_friendly_name, child_tag_name, child_attrs=None, child_value=None): data[child_friendly_name] = construct_tag_data(child_tag_name, child_attrs, child_value) return data def construct_header(ctransfer): header = construct_tag_data('GrpHdr') header['_sorting'] = ['MsgId', 'CreDtTm', 'NbOfTxs', 'CtrlSum', 'InitgPty'] header['message_id'] = construct_tag_data('MsgId', value=ctransfer.uuid) header['creation_date_time'] = construct_tag_data('CreDtTm', value=ctransfer.timestamp) header['num_transactions'] = construct_tag_data('NbOfTxs', value=ctransfer.get_num_of_transactions()) header['control_sum'] = construct_tag_data('CtrlSum', value=ctransfer.get_control_sum()) header['initiating_party'] = add_simple_child(construct_tag_data('InitgPty'), 'name', 'Nm', [], ctransfer.debtor.name) return header def construct_iban(account, tag_name): iban_data = construct_tag_data(tag_name) iban_data['id'] = add_simple_child(construct_tag_data('Id'), 'iban', 'IBAN', [], account.iban) return iban_data def construct_bic(account, tag_name): bic_data = construct_tag_data(tag_name) bic_data['financial_instrument_id'] = add_simple_child(construct_tag_data('FinInstnId'), 'bic', 'BIC', [], account.bic) return bic_data def construct_address_data(account, tag_name): addr_data = construct_tag_data(tag_name) addr_data['name'] = construct_tag_data('Nm', value=account.name) if account.has_address(): address = construct_tag_data('PstlAdr') if account.country: address['country'] = construct_tag_data('Ctry', value=account.country) if account.street: address['addr_line_1'] = construct_tag_data('AdrLine', value=account.street) if account.postcode and account.city: address['addr_line_2'] = construct_tag_data('AdrLine', value='%s %s' % (account.postcode, account.city)) addr_data['address'] = address return addr_data def construct_transaction_data(ctransfer, transaction): transaction_information = construct_tag_data('CdtTrfTxInf') transaction_information['_sorting'] = ['PmtId', 'Amt', 'ChrgBr', 'UltmtDbtr', 'CdtrAgt', 'Cdtr', 'CdtrAcct', 'UltmtCdtr', 'Purp', 'RmtInf'] transaction_information['payment_id'] = add_simple_child(data=add_simple_child(data=construct_tag_data('PmtId', sorting=['InstrId', 'EndToEndId']), child_friendly_name='instruction', child_tag_name='InstrId', child_value=transaction.uuid), child_friendly_name='eref', child_tag_name='EndToEndId', child_value=transaction.eref) transaction_information['amount'] = add_simple_child(data=construct_tag_data('Amt'), child_friendly_name='amount', child_tag_name='InstdAmt', child_attrs=[('Ccy', ctransfer.currency)], child_value=transaction.get_amount()) transaction_information['charge_bearer'] = construct_tag_data('ChrgBr', value='SLEV') if ctransfer.debtor.use_ultimate: transaction_information['ultimate_debtor'] = add_simple_child(data=construct_tag_data('UltmtDbtr'), child_friendly_name='name', child_tag_name='Nm', child_value=ctransfer.debtor.name) transaction_information['creditor_agent'] = construct_bic(transaction.creditor, 'CdtrAgt') transaction_information['creditor_data'] = construct_address_data(transaction.creditor, 'Cdtr') transaction_information['creditor_account'] = construct_iban(transaction.creditor, 'CdtrAcct') if transaction.creditor.use_ultimate: transaction_information['ultimate_creditor'] = add_simple_child(data=construct_tag_data('UltmtCdtr'), child_friendly_name='name', child_tag_name='Nm', child_value=transaction.creditor.name) transaction_information['purpose'] = add_simple_child(data=construct_tag_data('Purp'), child_friendly_name='code', child_tag_name='Cd', child_value=transaction.ext_purpose) if not transaction.use_structured: transaction_information['remote_inf'] = add_simple_child(data=construct_tag_data('RmtInf'), child_friendly_name='unstructured', child_tag_name='Ustrd', child_value=transaction.purpose) else: rmt_inf = construct_tag_data('RmtInf') rmt_inf_strd = add_simple_child(data=construct_tag_data('Strd'), child_friendly_name='additional_info', child_tag_name='AddtlRmtInf', child_value=transaction.purpose) rmt_tp = construct_tag_data('Tp') rmt_tp['code_or_property'] = add_simple_child(data=construct_tag_data('CdOrPrtry'), child_friendly_name='code', child_tag_name='Cd', child_value='SCOR') rmt_creditor_ref_inf = add_simple_child(data=construct_tag_data('CdtrRefInf'), child_friendly_name='reference', child_tag_name='Ref', child_value=transaction.cref) rmt_creditor_ref_inf['tp'] = rmt_tp rmt_inf_strd['creditor_ref_information'] = rmt_creditor_ref_inf rmt_inf['structured'] = rmt_inf_strd transaction_information['remote_inf'] = rmt_inf return transaction_information def construct_payment_information(ctransfer): payment_inf = construct_tag_data('PmtInf') payment_inf['_sorting'] = ['PmtInfId', 'PmtMtd', 'BtchBookg', 'NbOfTxs', 'CtrlSum', 'PmtTpInf', 'ReqdExctnDt', 'Dbtr', 'DbtrAcct', 'DbtrAgt', 'ChrgBr', 'CdtTrfTxInf'] payment_inf['payment_id'] = construct_tag_data('PmtInfId', value=ctransfer.payment_id) payment_inf['payment_method'] = construct_tag_data('PmtMtd', value='TRF') payment_inf['batch'] = construct_tag_data('BtchBookg', value=str(ctransfer.batch).lower()) payment_inf['num_transactions'] = construct_tag_data('NbOfTxs', value=ctransfer.get_num_of_transactions()) payment_inf['control_sum'] = construct_tag_data('CtrlSum', value=ctransfer.get_control_sum()) payment_instruction = construct_tag_data('PmtTpInf') payment_instruction['_sorting'] = ['InstrPrty', 'SvcLvl'] payment_instruction['priority'] = construct_tag_data('InstrPrty', value='NORM') payment_instruction['service_level'] = add_simple_child(construct_tag_data('SvcLvl'), 'code', 'Cd', [], 'SEPA') payment_inf['instruction'] = payment_instruction payment_inf['requested_execution_time'] = construct_tag_data('ReqdExctnDt', value=ctransfer.execution_time) payment_inf['debtor'] = construct_address_data(ctransfer.debtor, 'Dbtr') payment_inf['debtor_account'] = construct_iban(ctransfer.debtor, 'DbtrAcct') payment_inf['debtor_agent'] = construct_bic(ctransfer.debtor, 'DbtrAgt') payment_inf['charge_bearer'] = construct_tag_data('ChrgBr', value='SLEV') for (i, payment) in enumerate(ctransfer.transactions): transfer_information = construct_transaction_data(ctransfer, payment) payment_inf['transfer_no_%s' % i] = transfer_information return payment_inf def construct_document(ctransfer): root = construct_tag_data('Document', [('xmlns', 'urn:iso:std:iso:20022:tech:xsd:pain.001.001.03')]) message = construct_tag_data('CstmrCdtTrfInitn') message['_sorting'] = ['GrpHdr', 'PmtInf'] message['header'] = construct_header(ctransfer) message['payment_information'] = construct_payment_information(ctransfer) root['message'] = message return root
# # PySNMP MIB module CISCO-DOT11-QOS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-DOT11-QOS-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:55:50 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") ValueSizeConstraint, ConstraintsIntersection, ConstraintsUnion, ValueRangeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ConstraintsIntersection", "ConstraintsUnion", "ValueRangeConstraint", "SingleValueConstraint") CDot11IfVlanIdOrZero, = mibBuilder.importSymbols("CISCO-DOT11-IF-MIB", "CDot11IfVlanIdOrZero") ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt") ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex") ObjectGroup, ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup") Bits, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, ObjectIdentity, Counter64, Counter32, ModuleIdentity, NotificationType, Unsigned32, IpAddress, MibIdentifier, iso, TimeTicks, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ObjectIdentity", "Counter64", "Counter32", "ModuleIdentity", "NotificationType", "Unsigned32", "IpAddress", "MibIdentifier", "iso", "TimeTicks", "Integer32") TextualConvention, DisplayString, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString", "TruthValue") ciscoDot11QosMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 416)) ciscoDot11QosMIB.setRevisions(('2006-05-09 00:00', '2003-11-24 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ciscoDot11QosMIB.setRevisionsDescriptions(('The DEFVAL clauses have been removed from the definition of the objects cdot11QosCWmin, cdot11QosCWmax, cdot11QosMaxRetry and cdot11QosBackoffOffset, as the default values for these objects depend on the different traffic classes and that there are no common default values across the different traffic classes. ', 'Initial version of this MIB module.',)) if mibBuilder.loadTexts: ciscoDot11QosMIB.setLastUpdated('200605090000Z') if mibBuilder.loadTexts: ciscoDot11QosMIB.setOrganization('Cisco Systems Inc.') if mibBuilder.loadTexts: ciscoDot11QosMIB.setContactInfo(' Cisco Systems Customer Service Postal: 170 West Tasman Drive, San Jose CA 95134-1706. USA Tel: +1 800 553-NETS E-mail: [email protected]') if mibBuilder.loadTexts: ciscoDot11QosMIB.setDescription('This MIB module provides network management support for QoS on wireless LAN devices. The objects defined in this MIB provide equivalent support as the objects in the IEEE 802.11E Standard draft. The original names of the objects in the standard are included in the REFERENCE clauses. GLOSSARY and ACRONYMS Access point (AP) Transmitter/receiver (transceiver) device that commonly connects and transports data between a wireless network and a wired network. AIFS Arbitration Interframe Space. It is one of the five different IFSs defined to provide priority levels for access to the wireless media. It shall be used by QSTAs to transmit data type frames (MPDUs) and management type frames (MMPDUs). BSS IEEE 802.11 Basic Service Set (Radio Cell). The BSS of an AP comprises of the stations directly associating with the AP. CW Contention Window. It is the time period between radio signal collisions caused by simultaneous broadcast from multiple wireless stations. The contention window is used to compute the random backoff of the radio broadcast. The IEEE 802.11b does not specify the unit for the time period. CWP Factor Contention Window Persistence Factor. It indicates the factor used in computing new CW values on every 15 unsuccessful attempt to transmit an MPDU or an MMPDU of a traffic class. It is a scaling factor in units of 1/16ths. IFS Inter-Frame Space is the time interval between frames. A STA shall determine that the medium is idle through the use of the carrier sense function for the interval specified. In other words, the size of the IFS determines the length of the backoff time interval of a device to the medium. In this case, the medium is the radio wave spectrum. The IEEE 802.11b standard does not specify any unit for the time interval. BSS IEEE 802.11 Basic Service Set (Radio Cell). The MAC Medium Access Control. Layer 2 in the network model. MPDU MAC protocol data unit. The unit of data exchanged between two peer MAC entities using the services of the physical layer (PHY). MMPDU Management type MAC protocol data unit. MSDU MAC service data unit. Information that is delivered as a unit between MAC service access points. QBSS Quality of service basic service set. QSTA QoS station. STA (WSTA) A non-AP IEEE 802.11 wireless station.') ciscoDot11QosMIBNotifs = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 416, 0)) ciscoDot11QosMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 416, 1)) ciscoDot11QosMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 416, 2)) ciscoDot11QosConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1)) ciscoDot11QosQueue = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 2)) ciscoDot11QosStatistics = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3)) ciscoDot11QosNotifControl = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 4)) class Cdot11QosTrafficClass(TextualConvention, Integer32): reference = 'IEEE 802.1D-1998, Annex H.2.10 and IEEE 802.11E-2001, section 7.5.1.' description = 'This textual convention defines the 802.11E traffic classes: background(0) - background traffic, lowest priority bestEffort(1) - best effort delivery, default priority class for all traffic video(2) - video traffic, 2nd highest priority voice(3) - voice traffic, highest priority.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3)) namedValues = NamedValues(("background", 0), ("bestEffort", 1), ("video", 2), ("voice", 3)) cdot11QosConfigTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 1), ) if mibBuilder.loadTexts: cdot11QosConfigTable.setStatus('current') if mibBuilder.loadTexts: cdot11QosConfigTable.setDescription('This table contains the basic set of attributes to configure QoS queues for radio interfaces of a wireless LAN device. This table has an expansion dependent relationship with the ifTable. Each IEEE 802.11 wireless interface has different outbound queues for different network traffic class. For each entry in this table, there exists an entry in the ifTable of ifType ieee80211(71).') cdot11QosConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "CISCO-DOT11-QOS-MIB", "cdot11TrafficQueue")) if mibBuilder.loadTexts: cdot11QosConfigEntry.setStatus('current') if mibBuilder.loadTexts: cdot11QosConfigEntry.setDescription('Each entry contains parameters to configure traffic contention window, AIFS, priority and MSDU lifetime for each traffic queue on an IEEE 802.11 interface.') cdot11TrafficQueue = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 1, 1, 1), Unsigned32()) if mibBuilder.loadTexts: cdot11TrafficQueue.setStatus('current') if mibBuilder.loadTexts: cdot11TrafficQueue.setDescription('This is the index to the outbound traffic queue on the radio interface.') cdot11TrafficClass = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 1, 1, 2), Cdot11QosTrafficClass()).setMaxAccess("readonly") if mibBuilder.loadTexts: cdot11TrafficClass.setStatus('current') if mibBuilder.loadTexts: cdot11TrafficClass.setDescription('This object specifies the traffic class and priority for the traffic on this queue.') cdot11QosCWmin = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 1, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 10))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cdot11QosCWmin.setReference('dot11CWmin, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosCWmin.setStatus('current') if mibBuilder.loadTexts: cdot11QosCWmin.setDescription('This object defines the minimum contention window value for a traffic class. The minimum contention window is 2 to the power of cdot11QosCWmin minus 1, and that is from 0 to 1023. The cdot11QosCWmin value must be less than or equal to cdot11QosCWmax.') cdot11QosCWmax = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 10))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cdot11QosCWmax.setReference('dot11CWmax, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosCWmax.setStatus('current') if mibBuilder.loadTexts: cdot11QosCWmax.setDescription('This object defines the maximum contention window value for a traffic class. The maximum contention window is 2 to the power of cdot11QosCWmax minus 1, and that is from 0 to 1023. The cdot11QosCWmax value must be greater than or equal to cdot11QosCWmin.') cdot11QosBackoffOffset = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 20))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cdot11QosBackoffOffset.setStatus('current') if mibBuilder.loadTexts: cdot11QosBackoffOffset.setDescription('This specifies the offset of the radio backoff from the transmission media for this traffic class. The backoff interval of a radio is calculated from a pseudo random integer drawn from a uniform distribution over the interval determined by the maximum and minimum of the contention window.') cdot11QosMaxRetry = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 1, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cdot11QosMaxRetry.setStatus('current') if mibBuilder.loadTexts: cdot11QosMaxRetry.setDescription('This specifies the number of times the radio retries for a particular transmission if there is a collision for the media.') cdot11QosSupportTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 2), ) if mibBuilder.loadTexts: cdot11QosSupportTable.setStatus('current') if mibBuilder.loadTexts: cdot11QosSupportTable.setDescription('This table contains the attributes indicating QoS support information on the IEEE 802.11 interfaces of this device. This table has a sparse dependent relationship with the ifTable. For each entry in this table, there exists an entry in the ifTable of ifType ieee80211(71).') cdot11QosSupportEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: cdot11QosSupportEntry.setStatus('current') if mibBuilder.loadTexts: cdot11QosSupportEntry.setDescription('Each entry contains attributes to indicate if QoS and priority queue are supported for an IEEE 802.11 interface.') cdot11QosOptionImplemented = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 2, 1, 1), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: cdot11QosOptionImplemented.setReference('dot11QosOptionImplemented, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosOptionImplemented.setStatus('current') if mibBuilder.loadTexts: cdot11QosOptionImplemented.setDescription('This object indicates if QoS is implemented on this IEEE 802.11 network interface.') cdot11QosOptionEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 2, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: cdot11QosOptionEnabled.setStatus('current') if mibBuilder.loadTexts: cdot11QosOptionEnabled.setDescription("This object indicates if QoS is enabled on this IEEE 802.11 network interface. If it is 'true', QoS queuing is ON and traffic are prioritized according to their traffic class. If it is 'false', there is no QoS queuing and traffic are not prioritized.") cdot11QosQueuesAvailable = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 2, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(4, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: cdot11QosQueuesAvailable.setReference('dot11QueuesAvailable, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosQueuesAvailable.setStatus('current') if mibBuilder.loadTexts: cdot11QosQueuesAvailable.setDescription('This object shows the number of QoS priority queues are available on this IEEE 802.11 network interface. That is the number of queue per interface in the cdot11QosConfigTable.') cdot11QosQueueTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 2, 1), ) if mibBuilder.loadTexts: cdot11QosQueueTable.setStatus('current') if mibBuilder.loadTexts: cdot11QosQueueTable.setDescription('This table contains the queue weight and size information and statistics for each traffic queue on each the IEEE 802.11 interface. This table has a sparse dependent relationship with the ifTable. For each entry in this table, there exists an entry in the ifTable of ifType ieee80211(71).') cdot11QosQueueEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 2, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "CISCO-DOT11-QOS-MIB", "cdot11TrafficQueue")) if mibBuilder.loadTexts: cdot11QosQueueEntry.setStatus('current') if mibBuilder.loadTexts: cdot11QosQueueEntry.setDescription('Each entry contains the current queue weight, size, and peak size information for each traffic queue on an IEEE 802.11 interface.') cdot11QosQueueQuota = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 2, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: cdot11QosQueueQuota.setStatus('current') if mibBuilder.loadTexts: cdot11QosQueueQuota.setDescription('This is the current QoS priority queue packet quota for this queue on the overall bandwidth. The total available quota is platform dependent and is shared among all the transmitting queues. The queue with the largest quota value has the largest share of the overall bandwidth of the radio. The quota is allocated by the radio driver dynamically.') cdot11QosQueueSize = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 2, 1, 1, 2), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cdot11QosQueueSize.setReference('dot11QueueSizeTC, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosQueueSize.setStatus('current') if mibBuilder.loadTexts: cdot11QosQueueSize.setDescription('This is the current QoS priority queue size for this queue.') cdot11QosQueuePeakSize = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 2, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cdot11QosQueuePeakSize.setReference('dot11QueuePeakSizeTC, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosQueuePeakSize.setStatus('current') if mibBuilder.loadTexts: cdot11QosQueuePeakSize.setDescription('This is the peak QoS priority queue size for this queue.') cdot11QosStatisticsTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3, 1), ) if mibBuilder.loadTexts: cdot11QosStatisticsTable.setStatus('current') if mibBuilder.loadTexts: cdot11QosStatisticsTable.setDescription('This table contains the QoS statistics by traffic queue on each the IEEE 802.11 network interface. This table has a expansion dependent relationship with the ifTable. For each entry in this table, there exists an entry in the ifTable of ifType ieee80211(71).') cdot11QosStatisticsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "CISCO-DOT11-QOS-MIB", "cdot11TrafficQueue")) if mibBuilder.loadTexts: cdot11QosStatisticsEntry.setStatus('current') if mibBuilder.loadTexts: cdot11QosStatisticsEntry.setDescription('Each entry contain QoS statistics for data transmission and receive for each traffic queue on an IEEE 802.11 interface.') cdot11QosDiscardedFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3, 1, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cdot11QosDiscardedFrames.setReference('dot11QosDiscardedFrameCountTC, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosDiscardedFrames.setStatus('current') if mibBuilder.loadTexts: cdot11QosDiscardedFrames.setDescription('This is the counter for QoS discarded frames transmitting from this IEEE 802.11 interface for the traffic queue.') cdot11QosFails = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cdot11QosFails.setReference('dot11QosFailedCountTC, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosFails.setStatus('current') if mibBuilder.loadTexts: cdot11QosFails.setDescription('This is the counter for QoS failures on this IEEE 802.11 interface for the traffic queue.') cdot11QosRetries = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cdot11QosRetries.setReference('dot11QosRetryCountTC, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosRetries.setStatus('current') if mibBuilder.loadTexts: cdot11QosRetries.setDescription('This is the counter for QoS retries performed on this IEEE 802.11 interface for the traffic queue.') cdot11QosMutipleRetries = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cdot11QosMutipleRetries.setReference('dot11QosMutipleRetryCountTC, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosMutipleRetries.setStatus('current') if mibBuilder.loadTexts: cdot11QosMutipleRetries.setDescription('This is the counter for QoS multiple retries performed on this IEEE 802.11 interface for the traffic queue.') cdot11QosTransmittedFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cdot11QosTransmittedFrames.setReference('dot11QosTransmittedFrameCountTC, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosTransmittedFrames.setStatus('current') if mibBuilder.loadTexts: cdot11QosTransmittedFrames.setDescription('This is the counter for QoS frames transmitted from this IEEE 802.11 interface for the traffic queue.') cdot11QosIfStatisticsTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3, 2), ) if mibBuilder.loadTexts: cdot11QosIfStatisticsTable.setStatus('current') if mibBuilder.loadTexts: cdot11QosIfStatisticsTable.setDescription('This table contains the attributes indicating QoS statistics on the IEEE 802.11 interfaces of the device. This table has a sparse dependent relationship with the ifTable. For each entry in this table, there exists an entry in the ifTable of ifType ieee80211(71).') cdot11QosIfStatisticsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: cdot11QosIfStatisticsEntry.setStatus('current') if mibBuilder.loadTexts: cdot11QosIfStatisticsEntry.setDescription('Each entry contains attributes to support QoS statistics on an IEEE 802.11 interface.') cdot11QosIfDiscardedFragments = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3, 2, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cdot11QosIfDiscardedFragments.setReference('dot11QosDiscardedFragments, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosIfDiscardedFragments.setStatus('current') if mibBuilder.loadTexts: cdot11QosIfDiscardedFragments.setDescription('This object counts the number of QoS discarded transmitting fragments on this radio interface.') cdot11QosIfVlanTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 3), ) if mibBuilder.loadTexts: cdot11QosIfVlanTable.setStatus('current') if mibBuilder.loadTexts: cdot11QosIfVlanTable.setDescription('This table maps VLANs to different traffic classes and defines their QoS properties. This table has an expansion dependent relationship with the ifTable. For each entry in this table, there exists an entry in the ifTable of ifType ieee80211(71).') cdot11QosIfVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 3, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "CISCO-DOT11-QOS-MIB", "cdot11QosIfVlanId")) if mibBuilder.loadTexts: cdot11QosIfVlanEntry.setStatus('current') if mibBuilder.loadTexts: cdot11QosIfVlanEntry.setDescription('Each entry defines parameters determining the traffic class and QoS configuration of a VLAN.') cdot11QosIfVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 3, 1, 1), CDot11IfVlanIdOrZero().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))) if mibBuilder.loadTexts: cdot11QosIfVlanId.setStatus('current') if mibBuilder.loadTexts: cdot11QosIfVlanId.setDescription('This object identifies the VLAN (1 to 4095) on this radio interface.') cdot11QosIfVlanTrafficClass = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 3, 1, 2), Cdot11QosTrafficClass()).setMaxAccess("readonly") if mibBuilder.loadTexts: cdot11QosIfVlanTrafficClass.setStatus('current') if mibBuilder.loadTexts: cdot11QosIfVlanTrafficClass.setDescription('This is the QoS traffic class for the traffic transmitting on this VLAN. The traffic class determines the priority for the VLAN.') cdot11QosNotifEnabled = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 4, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cdot11QosNotifEnabled.setStatus('current') if mibBuilder.loadTexts: cdot11QosNotifEnabled.setDescription('Indicates whether cdot11QosChangeNotif notification will or will not be sent by the agent when the QoS configuration in the cdot11QosConfigTable is changed.') cdot11QosChangeNotif = NotificationType((1, 3, 6, 1, 4, 1, 9, 9, 416, 0, 1)).setObjects(("CISCO-DOT11-QOS-MIB", "cdot11TrafficClass")) if mibBuilder.loadTexts: cdot11QosChangeNotif.setStatus('current') if mibBuilder.loadTexts: cdot11QosChangeNotif.setDescription('This notification will be sent when the QoS configuration in the cdot11QosConfigTable is changed. The object cdot11TrafficClass specifies the traffic class of which a queue is configured. The sending of these notifications can be enabled or disabled via cdot11QosNotifEnabled.') ciscoDot11QosMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 416, 2, 1)) ciscoDot11QosMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 416, 2, 2)) ciscoDot11QosMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 416, 2, 1, 1)).setObjects(("CISCO-DOT11-QOS-MIB", "ciscoDot11QosConfigGroup"), ("CISCO-DOT11-QOS-MIB", "ciscoDot11QosStatsGroup"), ("CISCO-DOT11-QOS-MIB", "ciscoDot11QosNotifControlGroup"), ("CISCO-DOT11-QOS-MIB", "ciscoDot11QosNotificationGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoDot11QosMIBCompliance = ciscoDot11QosMIBCompliance.setStatus('current') if mibBuilder.loadTexts: ciscoDot11QosMIBCompliance.setDescription('The compliance statement for the configuration and status groups.') ciscoDot11QosConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 416, 2, 2, 1)).setObjects(("CISCO-DOT11-QOS-MIB", "cdot11TrafficClass"), ("CISCO-DOT11-QOS-MIB", "cdot11QosCWmin"), ("CISCO-DOT11-QOS-MIB", "cdot11QosCWmax"), ("CISCO-DOT11-QOS-MIB", "cdot11QosBackoffOffset"), ("CISCO-DOT11-QOS-MIB", "cdot11QosMaxRetry"), ("CISCO-DOT11-QOS-MIB", "cdot11QosOptionImplemented"), ("CISCO-DOT11-QOS-MIB", "cdot11QosOptionEnabled"), ("CISCO-DOT11-QOS-MIB", "cdot11QosQueuesAvailable"), ("CISCO-DOT11-QOS-MIB", "cdot11QosQueueQuota"), ("CISCO-DOT11-QOS-MIB", "cdot11QosQueueSize"), ("CISCO-DOT11-QOS-MIB", "cdot11QosQueuePeakSize"), ("CISCO-DOT11-QOS-MIB", "cdot11QosIfVlanTrafficClass")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoDot11QosConfigGroup = ciscoDot11QosConfigGroup.setStatus('current') if mibBuilder.loadTexts: ciscoDot11QosConfigGroup.setDescription('Configurations for IEEE 802.11 QoS.') ciscoDot11QosStatsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 416, 2, 2, 2)).setObjects(("CISCO-DOT11-QOS-MIB", "cdot11QosIfDiscardedFragments"), ("CISCO-DOT11-QOS-MIB", "cdot11QosDiscardedFrames"), ("CISCO-DOT11-QOS-MIB", "cdot11QosFails"), ("CISCO-DOT11-QOS-MIB", "cdot11QosRetries"), ("CISCO-DOT11-QOS-MIB", "cdot11QosMutipleRetries"), ("CISCO-DOT11-QOS-MIB", "cdot11QosTransmittedFrames")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoDot11QosStatsGroup = ciscoDot11QosStatsGroup.setStatus('current') if mibBuilder.loadTexts: ciscoDot11QosStatsGroup.setDescription('Status and statistics for IEEE 802.11 QoS.') ciscoDot11QosNotifControlGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 416, 2, 2, 3)).setObjects(("CISCO-DOT11-QOS-MIB", "cdot11QosNotifEnabled")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoDot11QosNotifControlGroup = ciscoDot11QosNotifControlGroup.setStatus('current') if mibBuilder.loadTexts: ciscoDot11QosNotifControlGroup.setDescription('Notification control configuration for QoS.') ciscoDot11QosNotificationGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 9, 9, 416, 2, 2, 4)).setObjects(("CISCO-DOT11-QOS-MIB", "cdot11QosChangeNotif")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoDot11QosNotificationGroup = ciscoDot11QosNotificationGroup.setStatus('current') if mibBuilder.loadTexts: ciscoDot11QosNotificationGroup.setDescription('Notifications for QoS configuration.') mibBuilder.exportSymbols("CISCO-DOT11-QOS-MIB", PYSNMP_MODULE_ID=ciscoDot11QosMIB, cdot11QosQueueTable=cdot11QosQueueTable, cdot11QosCWmin=cdot11QosCWmin, ciscoDot11QosMIBObjects=ciscoDot11QosMIBObjects, cdot11QosIfVlanTable=cdot11QosIfVlanTable, cdot11QosIfVlanId=cdot11QosIfVlanId, cdot11QosStatisticsTable=cdot11QosStatisticsTable, ciscoDot11QosQueue=ciscoDot11QosQueue, ciscoDot11QosStatistics=ciscoDot11QosStatistics, cdot11QosRetries=cdot11QosRetries, cdot11QosQueuesAvailable=cdot11QosQueuesAvailable, cdot11QosFails=cdot11QosFails, cdot11QosOptionEnabled=cdot11QosOptionEnabled, cdot11QosStatisticsEntry=cdot11QosStatisticsEntry, cdot11TrafficQueue=cdot11TrafficQueue, ciscoDot11QosMIBCompliance=ciscoDot11QosMIBCompliance, ciscoDot11QosMIBCompliances=ciscoDot11QosMIBCompliances, cdot11QosIfStatisticsTable=cdot11QosIfStatisticsTable, cdot11QosIfDiscardedFragments=cdot11QosIfDiscardedFragments, cdot11QosMaxRetry=cdot11QosMaxRetry, cdot11QosMutipleRetries=cdot11QosMutipleRetries, ciscoDot11QosMIB=ciscoDot11QosMIB, cdot11QosQueueQuota=cdot11QosQueueQuota, ciscoDot11QosMIBConformance=ciscoDot11QosMIBConformance, cdot11QosConfigTable=cdot11QosConfigTable, cdot11QosCWmax=cdot11QosCWmax, cdot11QosConfigEntry=cdot11QosConfigEntry, cdot11QosQueueSize=cdot11QosQueueSize, cdot11QosIfVlanEntry=cdot11QosIfVlanEntry, cdot11TrafficClass=cdot11TrafficClass, ciscoDot11QosStatsGroup=ciscoDot11QosStatsGroup, ciscoDot11QosConfig=ciscoDot11QosConfig, ciscoDot11QosNotifControl=ciscoDot11QosNotifControl, cdot11QosSupportEntry=cdot11QosSupportEntry, cdot11QosSupportTable=cdot11QosSupportTable, ciscoDot11QosMIBGroups=ciscoDot11QosMIBGroups, cdot11QosBackoffOffset=cdot11QosBackoffOffset, ciscoDot11QosConfigGroup=ciscoDot11QosConfigGroup, cdot11QosTransmittedFrames=cdot11QosTransmittedFrames, cdot11QosQueueEntry=cdot11QosQueueEntry, ciscoDot11QosNotifControlGroup=ciscoDot11QosNotifControlGroup, ciscoDot11QosNotificationGroup=ciscoDot11QosNotificationGroup, ciscoDot11QosMIBNotifs=ciscoDot11QosMIBNotifs, cdot11QosIfStatisticsEntry=cdot11QosIfStatisticsEntry, cdot11QosNotifEnabled=cdot11QosNotifEnabled, cdot11QosChangeNotif=cdot11QosChangeNotif, cdot11QosOptionImplemented=cdot11QosOptionImplemented, cdot11QosIfVlanTrafficClass=cdot11QosIfVlanTrafficClass, Cdot11QosTrafficClass=Cdot11QosTrafficClass, cdot11QosQueuePeakSize=cdot11QosQueuePeakSize, cdot11QosDiscardedFrames=cdot11QosDiscardedFrames)
(integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_size_constraint, constraints_intersection, constraints_union, value_range_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ConstraintsIntersection', 'ConstraintsUnion', 'ValueRangeConstraint', 'SingleValueConstraint') (c_dot11_if_vlan_id_or_zero,) = mibBuilder.importSymbols('CISCO-DOT11-IF-MIB', 'CDot11IfVlanIdOrZero') (cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt') (if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex') (object_group, module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'ModuleCompliance', 'NotificationGroup') (bits, gauge32, mib_scalar, mib_table, mib_table_row, mib_table_column, object_identity, counter64, counter32, module_identity, notification_type, unsigned32, ip_address, mib_identifier, iso, time_ticks, integer32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Bits', 'Gauge32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ObjectIdentity', 'Counter64', 'Counter32', 'ModuleIdentity', 'NotificationType', 'Unsigned32', 'IpAddress', 'MibIdentifier', 'iso', 'TimeTicks', 'Integer32') (textual_convention, display_string, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString', 'TruthValue') cisco_dot11_qos_mib = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 416)) ciscoDot11QosMIB.setRevisions(('2006-05-09 00:00', '2003-11-24 00:00')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ciscoDot11QosMIB.setRevisionsDescriptions(('The DEFVAL clauses have been removed from the definition of the objects cdot11QosCWmin, cdot11QosCWmax, cdot11QosMaxRetry and cdot11QosBackoffOffset, as the default values for these objects depend on the different traffic classes and that there are no common default values across the different traffic classes. ', 'Initial version of this MIB module.')) if mibBuilder.loadTexts: ciscoDot11QosMIB.setLastUpdated('200605090000Z') if mibBuilder.loadTexts: ciscoDot11QosMIB.setOrganization('Cisco Systems Inc.') if mibBuilder.loadTexts: ciscoDot11QosMIB.setContactInfo(' Cisco Systems Customer Service Postal: 170 West Tasman Drive, San Jose CA 95134-1706. USA Tel: +1 800 553-NETS E-mail: [email protected]') if mibBuilder.loadTexts: ciscoDot11QosMIB.setDescription('This MIB module provides network management support for QoS on wireless LAN devices. The objects defined in this MIB provide equivalent support as the objects in the IEEE 802.11E Standard draft. The original names of the objects in the standard are included in the REFERENCE clauses. GLOSSARY and ACRONYMS Access point (AP) Transmitter/receiver (transceiver) device that commonly connects and transports data between a wireless network and a wired network. AIFS Arbitration Interframe Space. It is one of the five different IFSs defined to provide priority levels for access to the wireless media. It shall be used by QSTAs to transmit data type frames (MPDUs) and management type frames (MMPDUs). BSS IEEE 802.11 Basic Service Set (Radio Cell). The BSS of an AP comprises of the stations directly associating with the AP. CW Contention Window. It is the time period between radio signal collisions caused by simultaneous broadcast from multiple wireless stations. The contention window is used to compute the random backoff of the radio broadcast. The IEEE 802.11b does not specify the unit for the time period. CWP Factor Contention Window Persistence Factor. It indicates the factor used in computing new CW values on every 15 unsuccessful attempt to transmit an MPDU or an MMPDU of a traffic class. It is a scaling factor in units of 1/16ths. IFS Inter-Frame Space is the time interval between frames. A STA shall determine that the medium is idle through the use of the carrier sense function for the interval specified. In other words, the size of the IFS determines the length of the backoff time interval of a device to the medium. In this case, the medium is the radio wave spectrum. The IEEE 802.11b standard does not specify any unit for the time interval. BSS IEEE 802.11 Basic Service Set (Radio Cell). The MAC Medium Access Control. Layer 2 in the network model. MPDU MAC protocol data unit. The unit of data exchanged between two peer MAC entities using the services of the physical layer (PHY). MMPDU Management type MAC protocol data unit. MSDU MAC service data unit. Information that is delivered as a unit between MAC service access points. QBSS Quality of service basic service set. QSTA QoS station. STA (WSTA) A non-AP IEEE 802.11 wireless station.') cisco_dot11_qos_mib_notifs = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 416, 0)) cisco_dot11_qos_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 416, 1)) cisco_dot11_qos_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 416, 2)) cisco_dot11_qos_config = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1)) cisco_dot11_qos_queue = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 2)) cisco_dot11_qos_statistics = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3)) cisco_dot11_qos_notif_control = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 4)) class Cdot11Qostrafficclass(TextualConvention, Integer32): reference = 'IEEE 802.1D-1998, Annex H.2.10 and IEEE 802.11E-2001, section 7.5.1.' description = 'This textual convention defines the 802.11E traffic classes: background(0) - background traffic, lowest priority bestEffort(1) - best effort delivery, default priority class for all traffic video(2) - video traffic, 2nd highest priority voice(3) - voice traffic, highest priority.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3)) named_values = named_values(('background', 0), ('bestEffort', 1), ('video', 2), ('voice', 3)) cdot11_qos_config_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 1)) if mibBuilder.loadTexts: cdot11QosConfigTable.setStatus('current') if mibBuilder.loadTexts: cdot11QosConfigTable.setDescription('This table contains the basic set of attributes to configure QoS queues for radio interfaces of a wireless LAN device. This table has an expansion dependent relationship with the ifTable. Each IEEE 802.11 wireless interface has different outbound queues for different network traffic class. For each entry in this table, there exists an entry in the ifTable of ifType ieee80211(71).') cdot11_qos_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'CISCO-DOT11-QOS-MIB', 'cdot11TrafficQueue')) if mibBuilder.loadTexts: cdot11QosConfigEntry.setStatus('current') if mibBuilder.loadTexts: cdot11QosConfigEntry.setDescription('Each entry contains parameters to configure traffic contention window, AIFS, priority and MSDU lifetime for each traffic queue on an IEEE 802.11 interface.') cdot11_traffic_queue = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 1, 1, 1), unsigned32()) if mibBuilder.loadTexts: cdot11TrafficQueue.setStatus('current') if mibBuilder.loadTexts: cdot11TrafficQueue.setDescription('This is the index to the outbound traffic queue on the radio interface.') cdot11_traffic_class = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 1, 1, 2), cdot11_qos_traffic_class()).setMaxAccess('readonly') if mibBuilder.loadTexts: cdot11TrafficClass.setStatus('current') if mibBuilder.loadTexts: cdot11TrafficClass.setDescription('This object specifies the traffic class and priority for the traffic on this queue.') cdot11_qos_c_wmin = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 1, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 10))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cdot11QosCWmin.setReference('dot11CWmin, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosCWmin.setStatus('current') if mibBuilder.loadTexts: cdot11QosCWmin.setDescription('This object defines the minimum contention window value for a traffic class. The minimum contention window is 2 to the power of cdot11QosCWmin minus 1, and that is from 0 to 1023. The cdot11QosCWmin value must be less than or equal to cdot11QosCWmax.') cdot11_qos_c_wmax = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 1, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 10))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cdot11QosCWmax.setReference('dot11CWmax, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosCWmax.setStatus('current') if mibBuilder.loadTexts: cdot11QosCWmax.setDescription('This object defines the maximum contention window value for a traffic class. The maximum contention window is 2 to the power of cdot11QosCWmax minus 1, and that is from 0 to 1023. The cdot11QosCWmax value must be greater than or equal to cdot11QosCWmin.') cdot11_qos_backoff_offset = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 1, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 20))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cdot11QosBackoffOffset.setStatus('current') if mibBuilder.loadTexts: cdot11QosBackoffOffset.setDescription('This specifies the offset of the radio backoff from the transmission media for this traffic class. The backoff interval of a radio is calculated from a pseudo random integer drawn from a uniform distribution over the interval determined by the maximum and minimum of the contention window.') cdot11_qos_max_retry = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 1, 1, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cdot11QosMaxRetry.setStatus('current') if mibBuilder.loadTexts: cdot11QosMaxRetry.setDescription('This specifies the number of times the radio retries for a particular transmission if there is a collision for the media.') cdot11_qos_support_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 2)) if mibBuilder.loadTexts: cdot11QosSupportTable.setStatus('current') if mibBuilder.loadTexts: cdot11QosSupportTable.setDescription('This table contains the attributes indicating QoS support information on the IEEE 802.11 interfaces of this device. This table has a sparse dependent relationship with the ifTable. For each entry in this table, there exists an entry in the ifTable of ifType ieee80211(71).') cdot11_qos_support_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 2, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: cdot11QosSupportEntry.setStatus('current') if mibBuilder.loadTexts: cdot11QosSupportEntry.setDescription('Each entry contains attributes to indicate if QoS and priority queue are supported for an IEEE 802.11 interface.') cdot11_qos_option_implemented = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 2, 1, 1), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: cdot11QosOptionImplemented.setReference('dot11QosOptionImplemented, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosOptionImplemented.setStatus('current') if mibBuilder.loadTexts: cdot11QosOptionImplemented.setDescription('This object indicates if QoS is implemented on this IEEE 802.11 network interface.') cdot11_qos_option_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 2, 1, 2), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: cdot11QosOptionEnabled.setStatus('current') if mibBuilder.loadTexts: cdot11QosOptionEnabled.setDescription("This object indicates if QoS is enabled on this IEEE 802.11 network interface. If it is 'true', QoS queuing is ON and traffic are prioritized according to their traffic class. If it is 'false', there is no QoS queuing and traffic are not prioritized.") cdot11_qos_queues_available = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 2, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(4, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: cdot11QosQueuesAvailable.setReference('dot11QueuesAvailable, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosQueuesAvailable.setStatus('current') if mibBuilder.loadTexts: cdot11QosQueuesAvailable.setDescription('This object shows the number of QoS priority queues are available on this IEEE 802.11 network interface. That is the number of queue per interface in the cdot11QosConfigTable.') cdot11_qos_queue_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 2, 1)) if mibBuilder.loadTexts: cdot11QosQueueTable.setStatus('current') if mibBuilder.loadTexts: cdot11QosQueueTable.setDescription('This table contains the queue weight and size information and statistics for each traffic queue on each the IEEE 802.11 interface. This table has a sparse dependent relationship with the ifTable. For each entry in this table, there exists an entry in the ifTable of ifType ieee80211(71).') cdot11_qos_queue_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 2, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'CISCO-DOT11-QOS-MIB', 'cdot11TrafficQueue')) if mibBuilder.loadTexts: cdot11QosQueueEntry.setStatus('current') if mibBuilder.loadTexts: cdot11QosQueueEntry.setDescription('Each entry contains the current queue weight, size, and peak size information for each traffic queue on an IEEE 802.11 interface.') cdot11_qos_queue_quota = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 2, 1, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: cdot11QosQueueQuota.setStatus('current') if mibBuilder.loadTexts: cdot11QosQueueQuota.setDescription('This is the current QoS priority queue packet quota for this queue on the overall bandwidth. The total available quota is platform dependent and is shared among all the transmitting queues. The queue with the largest quota value has the largest share of the overall bandwidth of the radio. The quota is allocated by the radio driver dynamically.') cdot11_qos_queue_size = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 2, 1, 1, 2), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cdot11QosQueueSize.setReference('dot11QueueSizeTC, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosQueueSize.setStatus('current') if mibBuilder.loadTexts: cdot11QosQueueSize.setDescription('This is the current QoS priority queue size for this queue.') cdot11_qos_queue_peak_size = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 2, 1, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cdot11QosQueuePeakSize.setReference('dot11QueuePeakSizeTC, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosQueuePeakSize.setStatus('current') if mibBuilder.loadTexts: cdot11QosQueuePeakSize.setDescription('This is the peak QoS priority queue size for this queue.') cdot11_qos_statistics_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3, 1)) if mibBuilder.loadTexts: cdot11QosStatisticsTable.setStatus('current') if mibBuilder.loadTexts: cdot11QosStatisticsTable.setDescription('This table contains the QoS statistics by traffic queue on each the IEEE 802.11 network interface. This table has a expansion dependent relationship with the ifTable. For each entry in this table, there exists an entry in the ifTable of ifType ieee80211(71).') cdot11_qos_statistics_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'CISCO-DOT11-QOS-MIB', 'cdot11TrafficQueue')) if mibBuilder.loadTexts: cdot11QosStatisticsEntry.setStatus('current') if mibBuilder.loadTexts: cdot11QosStatisticsEntry.setDescription('Each entry contain QoS statistics for data transmission and receive for each traffic queue on an IEEE 802.11 interface.') cdot11_qos_discarded_frames = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3, 1, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cdot11QosDiscardedFrames.setReference('dot11QosDiscardedFrameCountTC, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosDiscardedFrames.setStatus('current') if mibBuilder.loadTexts: cdot11QosDiscardedFrames.setDescription('This is the counter for QoS discarded frames transmitting from this IEEE 802.11 interface for the traffic queue.') cdot11_qos_fails = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3, 1, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cdot11QosFails.setReference('dot11QosFailedCountTC, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosFails.setStatus('current') if mibBuilder.loadTexts: cdot11QosFails.setDescription('This is the counter for QoS failures on this IEEE 802.11 interface for the traffic queue.') cdot11_qos_retries = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3, 1, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cdot11QosRetries.setReference('dot11QosRetryCountTC, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosRetries.setStatus('current') if mibBuilder.loadTexts: cdot11QosRetries.setDescription('This is the counter for QoS retries performed on this IEEE 802.11 interface for the traffic queue.') cdot11_qos_mutiple_retries = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3, 1, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cdot11QosMutipleRetries.setReference('dot11QosMutipleRetryCountTC, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosMutipleRetries.setStatus('current') if mibBuilder.loadTexts: cdot11QosMutipleRetries.setDescription('This is the counter for QoS multiple retries performed on this IEEE 802.11 interface for the traffic queue.') cdot11_qos_transmitted_frames = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3, 1, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cdot11QosTransmittedFrames.setReference('dot11QosTransmittedFrameCountTC, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosTransmittedFrames.setStatus('current') if mibBuilder.loadTexts: cdot11QosTransmittedFrames.setDescription('This is the counter for QoS frames transmitted from this IEEE 802.11 interface for the traffic queue.') cdot11_qos_if_statistics_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3, 2)) if mibBuilder.loadTexts: cdot11QosIfStatisticsTable.setStatus('current') if mibBuilder.loadTexts: cdot11QosIfStatisticsTable.setDescription('This table contains the attributes indicating QoS statistics on the IEEE 802.11 interfaces of the device. This table has a sparse dependent relationship with the ifTable. For each entry in this table, there exists an entry in the ifTable of ifType ieee80211(71).') cdot11_qos_if_statistics_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3, 2, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: cdot11QosIfStatisticsEntry.setStatus('current') if mibBuilder.loadTexts: cdot11QosIfStatisticsEntry.setDescription('Each entry contains attributes to support QoS statistics on an IEEE 802.11 interface.') cdot11_qos_if_discarded_fragments = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 3, 2, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cdot11QosIfDiscardedFragments.setReference('dot11QosDiscardedFragments, IEEE 802.11E-2001/D1.') if mibBuilder.loadTexts: cdot11QosIfDiscardedFragments.setStatus('current') if mibBuilder.loadTexts: cdot11QosIfDiscardedFragments.setDescription('This object counts the number of QoS discarded transmitting fragments on this radio interface.') cdot11_qos_if_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 3)) if mibBuilder.loadTexts: cdot11QosIfVlanTable.setStatus('current') if mibBuilder.loadTexts: cdot11QosIfVlanTable.setDescription('This table maps VLANs to different traffic classes and defines their QoS properties. This table has an expansion dependent relationship with the ifTable. For each entry in this table, there exists an entry in the ifTable of ifType ieee80211(71).') cdot11_qos_if_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 3, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'CISCO-DOT11-QOS-MIB', 'cdot11QosIfVlanId')) if mibBuilder.loadTexts: cdot11QosIfVlanEntry.setStatus('current') if mibBuilder.loadTexts: cdot11QosIfVlanEntry.setDescription('Each entry defines parameters determining the traffic class and QoS configuration of a VLAN.') cdot11_qos_if_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 3, 1, 1), c_dot11_if_vlan_id_or_zero().subtype(subtypeSpec=value_range_constraint(1, 4095))) if mibBuilder.loadTexts: cdot11QosIfVlanId.setStatus('current') if mibBuilder.loadTexts: cdot11QosIfVlanId.setDescription('This object identifies the VLAN (1 to 4095) on this radio interface.') cdot11_qos_if_vlan_traffic_class = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 1, 3, 1, 2), cdot11_qos_traffic_class()).setMaxAccess('readonly') if mibBuilder.loadTexts: cdot11QosIfVlanTrafficClass.setStatus('current') if mibBuilder.loadTexts: cdot11QosIfVlanTrafficClass.setDescription('This is the QoS traffic class for the traffic transmitting on this VLAN. The traffic class determines the priority for the VLAN.') cdot11_qos_notif_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 416, 1, 4, 1), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cdot11QosNotifEnabled.setStatus('current') if mibBuilder.loadTexts: cdot11QosNotifEnabled.setDescription('Indicates whether cdot11QosChangeNotif notification will or will not be sent by the agent when the QoS configuration in the cdot11QosConfigTable is changed.') cdot11_qos_change_notif = notification_type((1, 3, 6, 1, 4, 1, 9, 9, 416, 0, 1)).setObjects(('CISCO-DOT11-QOS-MIB', 'cdot11TrafficClass')) if mibBuilder.loadTexts: cdot11QosChangeNotif.setStatus('current') if mibBuilder.loadTexts: cdot11QosChangeNotif.setDescription('This notification will be sent when the QoS configuration in the cdot11QosConfigTable is changed. The object cdot11TrafficClass specifies the traffic class of which a queue is configured. The sending of these notifications can be enabled or disabled via cdot11QosNotifEnabled.') cisco_dot11_qos_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 416, 2, 1)) cisco_dot11_qos_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 416, 2, 2)) cisco_dot11_qos_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 416, 2, 1, 1)).setObjects(('CISCO-DOT11-QOS-MIB', 'ciscoDot11QosConfigGroup'), ('CISCO-DOT11-QOS-MIB', 'ciscoDot11QosStatsGroup'), ('CISCO-DOT11-QOS-MIB', 'ciscoDot11QosNotifControlGroup'), ('CISCO-DOT11-QOS-MIB', 'ciscoDot11QosNotificationGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_dot11_qos_mib_compliance = ciscoDot11QosMIBCompliance.setStatus('current') if mibBuilder.loadTexts: ciscoDot11QosMIBCompliance.setDescription('The compliance statement for the configuration and status groups.') cisco_dot11_qos_config_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 416, 2, 2, 1)).setObjects(('CISCO-DOT11-QOS-MIB', 'cdot11TrafficClass'), ('CISCO-DOT11-QOS-MIB', 'cdot11QosCWmin'), ('CISCO-DOT11-QOS-MIB', 'cdot11QosCWmax'), ('CISCO-DOT11-QOS-MIB', 'cdot11QosBackoffOffset'), ('CISCO-DOT11-QOS-MIB', 'cdot11QosMaxRetry'), ('CISCO-DOT11-QOS-MIB', 'cdot11QosOptionImplemented'), ('CISCO-DOT11-QOS-MIB', 'cdot11QosOptionEnabled'), ('CISCO-DOT11-QOS-MIB', 'cdot11QosQueuesAvailable'), ('CISCO-DOT11-QOS-MIB', 'cdot11QosQueueQuota'), ('CISCO-DOT11-QOS-MIB', 'cdot11QosQueueSize'), ('CISCO-DOT11-QOS-MIB', 'cdot11QosQueuePeakSize'), ('CISCO-DOT11-QOS-MIB', 'cdot11QosIfVlanTrafficClass')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_dot11_qos_config_group = ciscoDot11QosConfigGroup.setStatus('current') if mibBuilder.loadTexts: ciscoDot11QosConfigGroup.setDescription('Configurations for IEEE 802.11 QoS.') cisco_dot11_qos_stats_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 416, 2, 2, 2)).setObjects(('CISCO-DOT11-QOS-MIB', 'cdot11QosIfDiscardedFragments'), ('CISCO-DOT11-QOS-MIB', 'cdot11QosDiscardedFrames'), ('CISCO-DOT11-QOS-MIB', 'cdot11QosFails'), ('CISCO-DOT11-QOS-MIB', 'cdot11QosRetries'), ('CISCO-DOT11-QOS-MIB', 'cdot11QosMutipleRetries'), ('CISCO-DOT11-QOS-MIB', 'cdot11QosTransmittedFrames')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_dot11_qos_stats_group = ciscoDot11QosStatsGroup.setStatus('current') if mibBuilder.loadTexts: ciscoDot11QosStatsGroup.setDescription('Status and statistics for IEEE 802.11 QoS.') cisco_dot11_qos_notif_control_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 416, 2, 2, 3)).setObjects(('CISCO-DOT11-QOS-MIB', 'cdot11QosNotifEnabled')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_dot11_qos_notif_control_group = ciscoDot11QosNotifControlGroup.setStatus('current') if mibBuilder.loadTexts: ciscoDot11QosNotifControlGroup.setDescription('Notification control configuration for QoS.') cisco_dot11_qos_notification_group = notification_group((1, 3, 6, 1, 4, 1, 9, 9, 416, 2, 2, 4)).setObjects(('CISCO-DOT11-QOS-MIB', 'cdot11QosChangeNotif')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_dot11_qos_notification_group = ciscoDot11QosNotificationGroup.setStatus('current') if mibBuilder.loadTexts: ciscoDot11QosNotificationGroup.setDescription('Notifications for QoS configuration.') mibBuilder.exportSymbols('CISCO-DOT11-QOS-MIB', PYSNMP_MODULE_ID=ciscoDot11QosMIB, cdot11QosQueueTable=cdot11QosQueueTable, cdot11QosCWmin=cdot11QosCWmin, ciscoDot11QosMIBObjects=ciscoDot11QosMIBObjects, cdot11QosIfVlanTable=cdot11QosIfVlanTable, cdot11QosIfVlanId=cdot11QosIfVlanId, cdot11QosStatisticsTable=cdot11QosStatisticsTable, ciscoDot11QosQueue=ciscoDot11QosQueue, ciscoDot11QosStatistics=ciscoDot11QosStatistics, cdot11QosRetries=cdot11QosRetries, cdot11QosQueuesAvailable=cdot11QosQueuesAvailable, cdot11QosFails=cdot11QosFails, cdot11QosOptionEnabled=cdot11QosOptionEnabled, cdot11QosStatisticsEntry=cdot11QosStatisticsEntry, cdot11TrafficQueue=cdot11TrafficQueue, ciscoDot11QosMIBCompliance=ciscoDot11QosMIBCompliance, ciscoDot11QosMIBCompliances=ciscoDot11QosMIBCompliances, cdot11QosIfStatisticsTable=cdot11QosIfStatisticsTable, cdot11QosIfDiscardedFragments=cdot11QosIfDiscardedFragments, cdot11QosMaxRetry=cdot11QosMaxRetry, cdot11QosMutipleRetries=cdot11QosMutipleRetries, ciscoDot11QosMIB=ciscoDot11QosMIB, cdot11QosQueueQuota=cdot11QosQueueQuota, ciscoDot11QosMIBConformance=ciscoDot11QosMIBConformance, cdot11QosConfigTable=cdot11QosConfigTable, cdot11QosCWmax=cdot11QosCWmax, cdot11QosConfigEntry=cdot11QosConfigEntry, cdot11QosQueueSize=cdot11QosQueueSize, cdot11QosIfVlanEntry=cdot11QosIfVlanEntry, cdot11TrafficClass=cdot11TrafficClass, ciscoDot11QosStatsGroup=ciscoDot11QosStatsGroup, ciscoDot11QosConfig=ciscoDot11QosConfig, ciscoDot11QosNotifControl=ciscoDot11QosNotifControl, cdot11QosSupportEntry=cdot11QosSupportEntry, cdot11QosSupportTable=cdot11QosSupportTable, ciscoDot11QosMIBGroups=ciscoDot11QosMIBGroups, cdot11QosBackoffOffset=cdot11QosBackoffOffset, ciscoDot11QosConfigGroup=ciscoDot11QosConfigGroup, cdot11QosTransmittedFrames=cdot11QosTransmittedFrames, cdot11QosQueueEntry=cdot11QosQueueEntry, ciscoDot11QosNotifControlGroup=ciscoDot11QosNotifControlGroup, ciscoDot11QosNotificationGroup=ciscoDot11QosNotificationGroup, ciscoDot11QosMIBNotifs=ciscoDot11QosMIBNotifs, cdot11QosIfStatisticsEntry=cdot11QosIfStatisticsEntry, cdot11QosNotifEnabled=cdot11QosNotifEnabled, cdot11QosChangeNotif=cdot11QosChangeNotif, cdot11QosOptionImplemented=cdot11QosOptionImplemented, cdot11QosIfVlanTrafficClass=cdot11QosIfVlanTrafficClass, Cdot11QosTrafficClass=Cdot11QosTrafficClass, cdot11QosQueuePeakSize=cdot11QosQueuePeakSize, cdot11QosDiscardedFrames=cdot11QosDiscardedFrames)
''' Created on Jan 18, 2018 @author: riteshagarwal ''' java = False rest = False cli = False
""" Created on Jan 18, 2018 @author: riteshagarwal """ java = False rest = False cli = False
async def handler(context): return await context.data
async def handler(context): return await context.data
dataset_type = 'UNITER_VqaDataset' data_root = '/home/datasets/mix_data/UNITER/VQA/' train_datasets = ['train'] test_datasets = ['minival'] # name not in use, but have defined one to run vqa_cfg = dict( train_txt_dbs=[ data_root + 'vqa_train.db', data_root + 'vqa_trainval.db', data_root + 'vqa_vg.db', ], train_img_dbs=[ data_root + 'coco_train2014/', data_root + 'coco_val2014', data_root + 'vg/', ], val_txt_db=data_root + 'vqa_devval.db', val_img_db=data_root + 'coco_val2014/', ans2label_file=data_root + 'ans2label.json', max_txt_len=60, conf_th=0.2, max_bb=100, min_bb=10, num_bb=36, train_batch_size=20480, # 5120, val_batch_size=40960, # 10240, ) BUCKET_SIZE = 8192 train_data = dict( samples_per_gpu=vqa_cfg['train_batch_size'], workers_per_gpu=4, pin_memory=True, batch_sampler=dict( type='TokenBucketSampler', bucket_size=BUCKET_SIZE, batch_size=vqa_cfg['train_batch_size'], drop_last=True, size_multiple=8, ), data=dict( type=dataset_type, datacfg=vqa_cfg, train_or_val=True, ), ) test_data = dict( samples_per_gpu=vqa_cfg['val_batch_size'], workers_per_gpu=4, batch_sampler=dict( type='TokenBucketSampler', bucket_size=BUCKET_SIZE, batch_size=vqa_cfg['val_batch_size'], drop_last=False, size_multiple=8, ), pin_memory=True, data=dict( type=dataset_type, datacfg=vqa_cfg, train_or_val=False, ), ) post_processor = dict( type='Evaluator', metrics=[dict(type='UNITER_AccuracyMetric')], dataset_converters=[dict(type='UNITER_DatasetConverter')], )
dataset_type = 'UNITER_VqaDataset' data_root = '/home/datasets/mix_data/UNITER/VQA/' train_datasets = ['train'] test_datasets = ['minival'] vqa_cfg = dict(train_txt_dbs=[data_root + 'vqa_train.db', data_root + 'vqa_trainval.db', data_root + 'vqa_vg.db'], train_img_dbs=[data_root + 'coco_train2014/', data_root + 'coco_val2014', data_root + 'vg/'], val_txt_db=data_root + 'vqa_devval.db', val_img_db=data_root + 'coco_val2014/', ans2label_file=data_root + 'ans2label.json', max_txt_len=60, conf_th=0.2, max_bb=100, min_bb=10, num_bb=36, train_batch_size=20480, val_batch_size=40960) bucket_size = 8192 train_data = dict(samples_per_gpu=vqa_cfg['train_batch_size'], workers_per_gpu=4, pin_memory=True, batch_sampler=dict(type='TokenBucketSampler', bucket_size=BUCKET_SIZE, batch_size=vqa_cfg['train_batch_size'], drop_last=True, size_multiple=8), data=dict(type=dataset_type, datacfg=vqa_cfg, train_or_val=True)) test_data = dict(samples_per_gpu=vqa_cfg['val_batch_size'], workers_per_gpu=4, batch_sampler=dict(type='TokenBucketSampler', bucket_size=BUCKET_SIZE, batch_size=vqa_cfg['val_batch_size'], drop_last=False, size_multiple=8), pin_memory=True, data=dict(type=dataset_type, datacfg=vqa_cfg, train_or_val=False)) post_processor = dict(type='Evaluator', metrics=[dict(type='UNITER_AccuracyMetric')], dataset_converters=[dict(type='UNITER_DatasetConverter')])
# Debug print levels for fine-grained debug trace output control DNFQUEUE = (1 << 0) # netfilterqueue DGENPKT = (1 << 1) # Generic packet handling DGENPKTV = (1 << 2) # Generic packet handling with TCP analysis DCB = (1 << 3) # Packet handlign callbacks DPROCFS = (1 << 4) # procfs DIPTBLS = (1 << 5) # iptables DNONLOC = (1 << 6) # Nonlocal-destined datagrams DDPF = (1 << 7) # DPF (Dynamic Port Forwarding) DDPFV = (1 << 8) # DPF (Dynamic Port Forwarding) Verbose DIPNAT = (1 << 9) # IP redirection for nonlocal-destined datagrams DMANGLE = (1 << 10) # Packet mangling DPCAP = (1 << 11) # Pcap write logic DIGN = (1 << 12) # Packet redirect ignore conditions DFTP = (1 << 13) # FTP checks DMISC = (1 << 27) # Miscellaneous DCOMP = 0x0fffffff # Component mask DFLAG = 0xf0000000 # Flag mask DEVERY = 0x0fffffff # Log everything, low verbosity DEVERY2 = 0x8fffffff # Log everything, complete verbosity DLABELS = { DNFQUEUE: 'NFQUEUE', DGENPKT: 'GENPKT', DGENPKTV: 'GENPKTV', DCB: 'CB', DPROCFS: 'PROCFS', DIPTBLS: 'IPTABLES', DNONLOC: 'NONLOC', DDPF: 'DPF', DDPFV: 'DPFV', DIPNAT: 'IPNAT', DMANGLE: 'MANGLE', DPCAP: 'PCAP', DIGN: 'IGN', DFTP: 'FTP', DIGN | DFTP: 'IGN-FTP', DMISC: 'MISC', } DLABELS_INV = {v.upper(): k for k, v in DLABELS.items()}
dnfqueue = 1 << 0 dgenpkt = 1 << 1 dgenpktv = 1 << 2 dcb = 1 << 3 dprocfs = 1 << 4 diptbls = 1 << 5 dnonloc = 1 << 6 ddpf = 1 << 7 ddpfv = 1 << 8 dipnat = 1 << 9 dmangle = 1 << 10 dpcap = 1 << 11 dign = 1 << 12 dftp = 1 << 13 dmisc = 1 << 27 dcomp = 268435455 dflag = 4026531840 devery = 268435455 devery2 = 2415919103 dlabels = {DNFQUEUE: 'NFQUEUE', DGENPKT: 'GENPKT', DGENPKTV: 'GENPKTV', DCB: 'CB', DPROCFS: 'PROCFS', DIPTBLS: 'IPTABLES', DNONLOC: 'NONLOC', DDPF: 'DPF', DDPFV: 'DPFV', DIPNAT: 'IPNAT', DMANGLE: 'MANGLE', DPCAP: 'PCAP', DIGN: 'IGN', DFTP: 'FTP', DIGN | DFTP: 'IGN-FTP', DMISC: 'MISC'} dlabels_inv = {v.upper(): k for (k, v) in DLABELS.items()}
types_of_people = 10 x = f"There are {types_of_people} types of people." binary = "binary" do_not = "don't" y = f"Those who know {binary} and those who {do_not}." print(x) print(y) print(f"I said: {x}") print(f"I also said: '{y}'") hilarious = False joke_evaluation = "Isn't that joke so funny?! {}" print(joke_evaluation.format(hilarious)) w="This is the left side of..." e="a string with a right side." print(w + e)
types_of_people = 10 x = f'There are {types_of_people} types of people.' binary = 'binary' do_not = "don't" y = f'Those who know {binary} and those who {do_not}.' print(x) print(y) print(f'I said: {x}') print(f"I also said: '{y}'") hilarious = False joke_evaluation = "Isn't that joke so funny?! {}" print(joke_evaluation.format(hilarious)) w = 'This is the left side of...' e = 'a string with a right side.' print(w + e)
def create_array(n): res=[] i=1 while i<=n: res.append(i) i += 1 return res
def create_array(n): res = [] i = 1 while i <= n: res.append(i) i += 1 return res
class Popularity: ''' Popularity( length=20 ) Used to iteratively calculate the average overall popularity of an algorithm's recommendations. Parameters ----------- length : int Coverage@length training_df : dataframe determines how many distinct item_ids there are in the training data ''' def __init__(self, length=20, training_df=None): self.length = length; self.sum = 0 self.tests = 0 self.train_actions = len(training_df.index) #group the data by the itemIds grp = training_df.groupby('ItemId') #count the occurence of every itemid in the trainingdataset self.pop_scores = grp.size() #sort it according to the score self.pop_scores.sort_values(ascending=False, inplace=True) #normalize self.pop_scores = self.pop_scores / self.pop_scores[:1].values[0] def add(self, result, next_items, for_item=0, session=0, pop_bin=None, position=None): ''' Update the metric with a result set and the correct next item. Result must be sorted correctly. Parameters -------- result: pandas.Series Series of scores with the item id as the index ''' #only keep the k- first predictions recs = result[:self.length] #take the unique values out of those top scorers items = recs.index.unique() self.sum += ( self.pop_scores[ items ].sum() / len( items ) ) self.tests += 1 def result(self): ''' Return a tuple of a description string and the current averaged value ''' return ("Popularity@" + str( self.length ) + ": "), ( self.sum / self.tests )
class Popularity: """ Popularity( length=20 ) Used to iteratively calculate the average overall popularity of an algorithm's recommendations. Parameters ----------- length : int Coverage@length training_df : dataframe determines how many distinct item_ids there are in the training data """ def __init__(self, length=20, training_df=None): self.length = length self.sum = 0 self.tests = 0 self.train_actions = len(training_df.index) grp = training_df.groupby('ItemId') self.pop_scores = grp.size() self.pop_scores.sort_values(ascending=False, inplace=True) self.pop_scores = self.pop_scores / self.pop_scores[:1].values[0] def add(self, result, next_items, for_item=0, session=0, pop_bin=None, position=None): """ Update the metric with a result set and the correct next item. Result must be sorted correctly. Parameters -------- result: pandas.Series Series of scores with the item id as the index """ recs = result[:self.length] items = recs.index.unique() self.sum += self.pop_scores[items].sum() / len(items) self.tests += 1 def result(self): """ Return a tuple of a description string and the current averaged value """ return ('Popularity@' + str(self.length) + ': ', self.sum / self.tests)
def create_auction(self): expected_http_status = '201 Created' request_data = {"data": self.auction} entrypoint = '/auctions' response = self.app.post_json(entrypoint, request_data) self.assertEqual(response.status, expected_http_status) def create_auction_check_minNumberOfQualifiedBids(self): expected_minNumberOfQualifiedBids = 2 request_data = {"data": self.auction} entrypoint = '/auctions' response = self.app.post_json(entrypoint, request_data) self.assertEqual(response.json['data']['minNumberOfQualifiedBids'], expected_minNumberOfQualifiedBids) def create_auction_check_auctionParameters(self): expected_auctionParameters = {'type': 'texas'} request_data = {"data": self.auction} entrypoint = '/auctions' response = self.app.post_json(entrypoint, request_data) self.assertEqual(response.json['data']['auctionParameters'], expected_auctionParameters) def create_auction_invalid_auctionPeriod(self): expected_http_status = '422 Unprocessable Entity' auction = self.auction auction.pop('auctionPeriod') request_data = {"data": self.auction} entrypoint = '/auctions' response = self.app.post_json(entrypoint, request_data, status=422) self.assertEqual(response.status, expected_http_status) entrypoint = '/auctions' auction['auctionPeriod'] = {'startDate': None} response = self.app.post_json(entrypoint, request_data, status=422) self.assertEqual(response.status, expected_http_status) def create_auction_dump(self): request_data = {"data": self.auction} entrypoint = '/auctions' response = self.app.post_json(entrypoint, request_data) filename = 'docs/source/tutorial/create_auction.http' self.dump(response.request, response, filename)
def create_auction(self): expected_http_status = '201 Created' request_data = {'data': self.auction} entrypoint = '/auctions' response = self.app.post_json(entrypoint, request_data) self.assertEqual(response.status, expected_http_status) def create_auction_check_min_number_of_qualified_bids(self): expected_min_number_of_qualified_bids = 2 request_data = {'data': self.auction} entrypoint = '/auctions' response = self.app.post_json(entrypoint, request_data) self.assertEqual(response.json['data']['minNumberOfQualifiedBids'], expected_minNumberOfQualifiedBids) def create_auction_check_auction_parameters(self): expected_auction_parameters = {'type': 'texas'} request_data = {'data': self.auction} entrypoint = '/auctions' response = self.app.post_json(entrypoint, request_data) self.assertEqual(response.json['data']['auctionParameters'], expected_auctionParameters) def create_auction_invalid_auction_period(self): expected_http_status = '422 Unprocessable Entity' auction = self.auction auction.pop('auctionPeriod') request_data = {'data': self.auction} entrypoint = '/auctions' response = self.app.post_json(entrypoint, request_data, status=422) self.assertEqual(response.status, expected_http_status) entrypoint = '/auctions' auction['auctionPeriod'] = {'startDate': None} response = self.app.post_json(entrypoint, request_data, status=422) self.assertEqual(response.status, expected_http_status) def create_auction_dump(self): request_data = {'data': self.auction} entrypoint = '/auctions' response = self.app.post_json(entrypoint, request_data) filename = 'docs/source/tutorial/create_auction.http' self.dump(response.request, response, filename)
#=========================================================================== # # Crystalfontz Raspberry-Pi Python example library for FTDI / BridgeTek # EVE graphic accelerators. # #--------------------------------------------------------------------------- # # This file is part of the port/adaptation of existing C based EVE libraries # to Python for Crystalfontz EVE based displays. # # 2021-10-20 Mark Williams / Crystalfontz America Inc. # https:#www.crystalfontz.com/products/eve-accelerated-tft-displays.php #--------------------------------------------------------------------------- # # This is free and unencumbered software released into the public domain. # Anyone is free to copy, modify, publish, use, compile, sell, or # distribute this software, either in source code form or as a compiled # binary, for any purpose, commercial or non-commercial, and by any # means. # In jurisdictions that recognize copyright laws, the author or authors # of this software dedicate any and all copyright interest in the # software to the public domain. We make this dedication for the benefit # of the public at large and to the detriment of our heirs and # successors. We intend this dedication to be an overt act of # relinquishment in perpetuity of all present and future rights to this # software under copyright law. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. # IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR # OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR # OTHER DEALINGS IN THE SOFTWARE. # For more information, please refer to <http:#unlicense.org/> # #============================================================================ #EVE Device Type EVE_DEVICE = 811 # EVE Clock Speed EVE_CLOCK_SPEED = 60000000 # Touch TOUCH_RESISTIVE = False TOUCH_CAPACITIVE = False TOUCH_GOODIX_CAPACITIVE = False # Define RGB output pins order, determined by PCB layout LCD_SWIZZLE = 2 # Define active edge of PCLK. Observed by scope: # 0: Data is put out coincident with falling edge of the clock. # Rising edge of the clock is in the middle of the data. # 1: Data is put out coincident with rising edge of the clock. # Falling edge of the clock is in the middle of the data. LCD_PCLKPOL = 0 # LCD drive strength: 0=5mA, 1=10mA LCD_DRIVE_10MA = 0 # Spread Spectrum on RGB signals. Probably not a good idea at higher # PCLK frequencies. LCD_PCLK_CSPREAD = 0 #This is not a 24-bit display, so dither LCD_DITHER = 0 # Pixel clock divisor LCD_PCLK = 5 #---------------------------------------------------------------------------- # Frame_Rate = 60Hz / 16.7mS #---------------------------------------------------------------------------- # Horizontal timing # Target 60Hz frame rate, using the largest possible line time in order to # maximize the time that the EVE has to process each line. HPX = 240 # Horizontal Pixel Width HSW = 10 # Horizontal Sync Width HBP = 20 # Horizontal Back Porch HFP = 10 # Horizontal Front Porch HPP = 209 # Horizontal Pixel Padding # FTDI needs at least 1 here # Define the constants needed by the EVE based on the timing # Active width of LCD display LCD_WIDTH = HPX # Start of horizontal sync pulse LCD_HSYNC0 = HFP # End of horizontal sync pulse LCD_HSYNC1 = HFP+HSW # Start of active line LCD_HOFFSET = HFP+HSW+HBP # Total number of clocks per line LCD_HCYCLE = HPX+HFP+HSW+HBP+HPP #---------------------------------------------------------------------------- # Vertical timing VLH = 400 # Vertical Line Height VS = 2 # Vertical Sync (in lines) VBP = 2 # Vertical Back Porch VFP = 4 # Vertical Front Porch VLP = 1 # Vertical Line Padding # FTDI needs at least 1 here # Define the constants needed by the EVE based on the timing # Active height of LCD display LCD_HEIGHT = VLH # Start of vertical sync pulse LCD_VSYNC0 = VFP # End of vertical sync pulse LCD_VSYNC1 = VFP+VS # Start of active screen LCD_VOFFSET = VFP+VS+VBP # Total number of lines per screen LCD_VCYCLE = VLH+VFP+VS+VBP+VLP
eve_device = 811 eve_clock_speed = 60000000 touch_resistive = False touch_capacitive = False touch_goodix_capacitive = False lcd_swizzle = 2 lcd_pclkpol = 0 lcd_drive_10_ma = 0 lcd_pclk_cspread = 0 lcd_dither = 0 lcd_pclk = 5 hpx = 240 hsw = 10 hbp = 20 hfp = 10 hpp = 209 lcd_width = HPX lcd_hsync0 = HFP lcd_hsync1 = HFP + HSW lcd_hoffset = HFP + HSW + HBP lcd_hcycle = HPX + HFP + HSW + HBP + HPP vlh = 400 vs = 2 vbp = 2 vfp = 4 vlp = 1 lcd_height = VLH lcd_vsync0 = VFP lcd_vsync1 = VFP + VS lcd_voffset = VFP + VS + VBP lcd_vcycle = VLH + VFP + VS + VBP + VLP
class Any2Int: def __init__(self, min_count: int, include_UNK: bool, include_PAD: bool): self.min_count = min_count self.include_UNK = include_UNK self.include_PAD = include_PAD self.frozen = False self.UNK_i = -1 self.UNK_s = "<UNK>" self.PAD_i = -2 self.PAD_s = "<PAD>" self.voc_size = 0 self._s2i = dict() self._i2s = [] self.frequency = dict() def iter_item(self): return enumerate(self._i2s) def get_s2i(self, s, default: int): assert self.frozen i = self._s2i.get(s, -1) if i >= 0: return i elif self.include_UNK: return self.UNK_i else: return default def __getitem__(self, s): return self.s2i(s) def s2i(self, s): i = self.get_s2i(s, -1) if i >= 0: return i else: raise Exception(f"out of vocabulary entry {s}") def contains(self, s): return self.get_s2i(s, -1) != -1 def i2s(self, i): assert self.frozen if 0 <= i < self.voc_size: return self._i2s[i] else: raise Exception(f"not entry at position {i} for a vocabulary of size {self.voc_size}") def add_to_counts(self, s): assert not self.frozen self.frequency[s] = self.frequency.get(s, 0)+1 def freeze(self): assert not self.frozen if self.include_UNK: self.UNK_i = len(self._i2s) self._i2s.append(self.UNK_s) if self.include_PAD: self.PAD_i = len(self._i2s) self._i2s.append(self.PAD_s) for s, count in sorted(self.frequency.items(), key=lambda x: -x[1]): if count >= self.min_count: self._i2s.append(s) for i, s in enumerate(self._i2s): self._s2i[s] = i self.voc_size = len(self._i2s) self.frozen = True def __reduce__(self): return Any2Int, (2, self.include_UNK, self.include_PAD), (self.min_count, self.include_UNK, self.frozen, self.UNK_i, self.UNK_s, self.PAD_i, self.PAD_s, self.voc_size, self._s2i, self._i2s, self.frequency) def __setstate__(self, state): self.min_count = state[0] self.include_UNK = state[1] self.frozen = state[2] self.UNK_i = state[3] self.UNK_s = state[4] self.PAD_i = state[5] self.PAD_s = state[6] self.voc_size = state[7] self._s2i = state[8] self._i2s = state[9] self.frequency = state[10]
class Any2Int: def __init__(self, min_count: int, include_UNK: bool, include_PAD: bool): self.min_count = min_count self.include_UNK = include_UNK self.include_PAD = include_PAD self.frozen = False self.UNK_i = -1 self.UNK_s = '<UNK>' self.PAD_i = -2 self.PAD_s = '<PAD>' self.voc_size = 0 self._s2i = dict() self._i2s = [] self.frequency = dict() def iter_item(self): return enumerate(self._i2s) def get_s2i(self, s, default: int): assert self.frozen i = self._s2i.get(s, -1) if i >= 0: return i elif self.include_UNK: return self.UNK_i else: return default def __getitem__(self, s): return self.s2i(s) def s2i(self, s): i = self.get_s2i(s, -1) if i >= 0: return i else: raise exception(f'out of vocabulary entry {s}') def contains(self, s): return self.get_s2i(s, -1) != -1 def i2s(self, i): assert self.frozen if 0 <= i < self.voc_size: return self._i2s[i] else: raise exception(f'not entry at position {i} for a vocabulary of size {self.voc_size}') def add_to_counts(self, s): assert not self.frozen self.frequency[s] = self.frequency.get(s, 0) + 1 def freeze(self): assert not self.frozen if self.include_UNK: self.UNK_i = len(self._i2s) self._i2s.append(self.UNK_s) if self.include_PAD: self.PAD_i = len(self._i2s) self._i2s.append(self.PAD_s) for (s, count) in sorted(self.frequency.items(), key=lambda x: -x[1]): if count >= self.min_count: self._i2s.append(s) for (i, s) in enumerate(self._i2s): self._s2i[s] = i self.voc_size = len(self._i2s) self.frozen = True def __reduce__(self): return (Any2Int, (2, self.include_UNK, self.include_PAD), (self.min_count, self.include_UNK, self.frozen, self.UNK_i, self.UNK_s, self.PAD_i, self.PAD_s, self.voc_size, self._s2i, self._i2s, self.frequency)) def __setstate__(self, state): self.min_count = state[0] self.include_UNK = state[1] self.frozen = state[2] self.UNK_i = state[3] self.UNK_s = state[4] self.PAD_i = state[5] self.PAD_s = state[6] self.voc_size = state[7] self._s2i = state[8] self._i2s = state[9] self.frequency = state[10]
# model settings model = dict( type='Semi_AppSup_TempSup_SimCLR_Crossclip_PTV_Recognizer3D', backbone=dict( type='ResNet3d', depth=18, pretrained=None, pretrained2d=False, norm_eval=False, conv_cfg=dict(type='Conv3d'), norm_cfg=dict(type='SyncBN', requires_grad=True, eps=1e-3), act_cfg=dict(type='ReLU'), conv1_kernel=(3, 7, 7), conv1_stride_t=1, pool1_stride_t=1, inflate=(1, 1, 1, 1), spatial_strides=(1, 2, 2, 2), temporal_strides=(1, 2, 2, 2), zero_init_residual=False), cls_head=dict( type='I3DHead', num_classes=400, in_channels=512, spatial_type='avg', dropout_ratio=0.5, init_std=0.01), cls_head_temp=None, temp_backbone='same', temp_sup_head='same', train_cfg=dict( warmup_epoch=10, fixmatch_threshold=0.3, temp_align_indices=(0, 1, 2, 3), align_loss_func='Cosine', pseudo_label_metric='avg', crossclip_contrast_loss=[], crossclip_contrast_range=[], ), test_cfg=dict(average_clips='score')) # dataset settings dataset_type = 'VideoDataset' dataset_type_labeled = 'VideoDataset_Contrastive' dataset_type_unlabeled = 'UnlabeledVideoDataset_MultiView_Contrastive' # dataset_type_appearance = 'RawframeDataset_withAPP' data_root = 'data/kinetics400/videos_train' data_root_val = 'data/kinetics400/videos_val' labeled_percentage = 1 ann_file_train_labeled = f'data/kinetics400/videossl_splits/kinetics400_train_{labeled_percentage}_percent_labeled_videos.txt' ann_file_train_unlabeled = 'data/kinetics400/kinetics400_train_list_videos.txt' ann_file_val = 'data/kinetics400/kinetics400_val_list_videos.txt' ann_file_test = 'data/kinetics400/kinetics400_val_list_videos.txt' img_norm_cfg = dict( mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_bgr=False) train_pipeline = [ dict(type='DecordInit'), dict(type='SampleFrames_Custom', clip_len=8, frame_interval=8, num_clips=1, total_frames_offset=-1), dict(type='DecordDecode_Custom', extra_modalities=['tempgrad']), dict(type='Resize', scale=(-1, 256), lazy=True), dict(type='RandomResizedCrop', lazy=True), dict(type='Resize', scale=(224, 224), keep_ratio=False, lazy=True), dict(type='Flip', flip_ratio=0.5, lazy=True), dict(type='Fuse_WithDiff'), dict(type='Normalize', **img_norm_cfg), dict(type='Normalize_Diff', **img_norm_cfg, raw_to_diff=False, redist_to_rgb=False), dict(type='FormatShape', input_format='NCTHW'), dict(type='FormatShape_Diff', input_format='NCTHW'), dict(type='Collect', keys=['imgs', 'label', 'imgs_diff'], meta_keys=[]), dict(type='ToTensor', keys=['imgs', 'label', 'imgs_diff']) ] # Get the frame and resize, shared by both weak and strong train_pipeline_weak = [ dict(type='DecordInit'), dict(type='SampleFrames_Custom', clip_len=8, frame_interval=8, num_clips=1, total_frames_offset=-1), dict(type='DecordDecode_Custom', extra_modalities=['tempgrad']), dict(type='Resize', scale=(-1, 256), lazy=True), dict(type='RandomResizedCrop', lazy=True), dict(type='Resize', scale=(224, 224), keep_ratio=False, lazy=True), dict(type='Flip', flip_ratio=0.5, lazy=True), dict(type='Fuse_WithDiff'), ] # Only used for strong augmentation train_pipeline_strong = [ dict(type='Imgaug', transforms='default'), dict(type='Imgaug_Custom', transforms='default', modality='imgs_diff') ] # Formating the input tensors, shared by both weak and strong train_pipeline_format = [ dict(type='Normalize', **img_norm_cfg), dict(type='Normalize_Diff', **img_norm_cfg, raw_to_diff=False, redist_to_rgb=False), dict(type='FormatShape', input_format='NCTHW'), dict(type='FormatShape_Diff', input_format='NCTHW'), dict(type='Collect', keys=['imgs', 'label', 'imgs_diff'], meta_keys=[]), dict(type='ToTensor', keys=['imgs', 'label', 'imgs_diff']) ] val_pipeline = [ dict(type='DecordInit'), dict( type='SampleFrames', clip_len=8, frame_interval=8, num_clips=1, test_mode=True), dict(type='DecordDecode'), dict(type='Resize', scale=(-1, 256), lazy=True), dict(type='CenterCrop', crop_size=224, lazy=True), dict(type='Flip', flip_ratio=0, lazy=True), dict(type='Fuse'), dict(type='Normalize', **img_norm_cfg), dict(type='FormatShape', input_format='NCTHW'), dict(type='Collect', keys=['imgs', 'label'], meta_keys=[]), dict(type='ToTensor', keys=['imgs']) ] test_pipeline = [ dict(type='DecordInit'), dict( type='SampleFrames', clip_len=8, frame_interval=8, num_clips=10, test_mode=True), dict(type='DecordDecode'), dict(type='Resize', scale=(-1, 256)), dict(type='ThreeCrop', crop_size=256), dict(type='Flip', flip_ratio=0), dict(type='Normalize', **img_norm_cfg), dict(type='FormatShape', input_format='NCTHW'), dict(type='Collect', keys=['imgs', 'label'], meta_keys=[]), dict(type='ToTensor', keys=['imgs']) ] data = dict( videos_per_gpu=8, # NOTE: Need to reduce batch size. 16 -> 5 workers_per_gpu=4, # Default: 4 train_dataloader=dict(drop_last=True, pin_memory=True), train_labeled=dict( type=dataset_type_labeled, ann_file=ann_file_train_labeled, data_prefix=data_root, pipeline=train_pipeline, contrast_clip_num=1 ), train_unlabeled=dict( type=dataset_type_unlabeled, ann_file=ann_file_train_unlabeled, data_prefix=data_root, pipeline_weak=train_pipeline_weak, pipeline_strong=train_pipeline_strong, pipeline_format=train_pipeline_format, contrast_clip_num=1 ), val=dict( type=dataset_type, ann_file=ann_file_val, data_prefix=data_root_val, pipeline=val_pipeline, test_mode=True), test=dict( type=dataset_type, ann_file=ann_file_val, data_prefix=data_root_val, pipeline=test_pipeline, test_mode=True), precise_bn=dict( type=dataset_type, ann_file=ann_file_train_unlabeled, data_prefix=data_root, pipeline=val_pipeline), videos_per_gpu_precise_bn=5 ) # optimizer optimizer = dict( type='SGD', lr=0.2, momentum=0.9, weight_decay=0.0001) # this lr 0.2 is used for 8 gpus optimizer_config = dict(grad_clip=dict(max_norm=40, norm_type=2)) # learning policy lr_config = dict(policy='CosineAnnealing', min_lr=0, warmup='linear', warmup_ratio=0.1, warmup_by_epoch=True, warmup_iters=10) total_epochs = 45 # Might need to increase this number for different splits. Default: 180 checkpoint_config = dict(interval=5, max_keep_ckpts=3) evaluation = dict( interval=5, metrics=['top_k_accuracy', 'mean_class_accuracy'], topk=(1, 5)) # Default: 5 log_config = dict( interval=20, # Default: 20 hooks=[ dict(type='TextLoggerHook'), dict(type='TensorboardLoggerHook'), ]) precise_bn = dict(num_iters=200, interval=5, bn_range=['backbone', 'cls_head']) dist_params = dict(backend='nccl') log_level = 'INFO' work_dir = None load_from = None resume_from = None workflow = [('train', 1)] find_unused_parameters = False
model = dict(type='Semi_AppSup_TempSup_SimCLR_Crossclip_PTV_Recognizer3D', backbone=dict(type='ResNet3d', depth=18, pretrained=None, pretrained2d=False, norm_eval=False, conv_cfg=dict(type='Conv3d'), norm_cfg=dict(type='SyncBN', requires_grad=True, eps=0.001), act_cfg=dict(type='ReLU'), conv1_kernel=(3, 7, 7), conv1_stride_t=1, pool1_stride_t=1, inflate=(1, 1, 1, 1), spatial_strides=(1, 2, 2, 2), temporal_strides=(1, 2, 2, 2), zero_init_residual=False), cls_head=dict(type='I3DHead', num_classes=400, in_channels=512, spatial_type='avg', dropout_ratio=0.5, init_std=0.01), cls_head_temp=None, temp_backbone='same', temp_sup_head='same', train_cfg=dict(warmup_epoch=10, fixmatch_threshold=0.3, temp_align_indices=(0, 1, 2, 3), align_loss_func='Cosine', pseudo_label_metric='avg', crossclip_contrast_loss=[], crossclip_contrast_range=[]), test_cfg=dict(average_clips='score')) dataset_type = 'VideoDataset' dataset_type_labeled = 'VideoDataset_Contrastive' dataset_type_unlabeled = 'UnlabeledVideoDataset_MultiView_Contrastive' data_root = 'data/kinetics400/videos_train' data_root_val = 'data/kinetics400/videos_val' labeled_percentage = 1 ann_file_train_labeled = f'data/kinetics400/videossl_splits/kinetics400_train_{labeled_percentage}_percent_labeled_videos.txt' ann_file_train_unlabeled = 'data/kinetics400/kinetics400_train_list_videos.txt' ann_file_val = 'data/kinetics400/kinetics400_val_list_videos.txt' ann_file_test = 'data/kinetics400/kinetics400_val_list_videos.txt' img_norm_cfg = dict(mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_bgr=False) train_pipeline = [dict(type='DecordInit'), dict(type='SampleFrames_Custom', clip_len=8, frame_interval=8, num_clips=1, total_frames_offset=-1), dict(type='DecordDecode_Custom', extra_modalities=['tempgrad']), dict(type='Resize', scale=(-1, 256), lazy=True), dict(type='RandomResizedCrop', lazy=True), dict(type='Resize', scale=(224, 224), keep_ratio=False, lazy=True), dict(type='Flip', flip_ratio=0.5, lazy=True), dict(type='Fuse_WithDiff'), dict(type='Normalize', **img_norm_cfg), dict(type='Normalize_Diff', **img_norm_cfg, raw_to_diff=False, redist_to_rgb=False), dict(type='FormatShape', input_format='NCTHW'), dict(type='FormatShape_Diff', input_format='NCTHW'), dict(type='Collect', keys=['imgs', 'label', 'imgs_diff'], meta_keys=[]), dict(type='ToTensor', keys=['imgs', 'label', 'imgs_diff'])] train_pipeline_weak = [dict(type='DecordInit'), dict(type='SampleFrames_Custom', clip_len=8, frame_interval=8, num_clips=1, total_frames_offset=-1), dict(type='DecordDecode_Custom', extra_modalities=['tempgrad']), dict(type='Resize', scale=(-1, 256), lazy=True), dict(type='RandomResizedCrop', lazy=True), dict(type='Resize', scale=(224, 224), keep_ratio=False, lazy=True), dict(type='Flip', flip_ratio=0.5, lazy=True), dict(type='Fuse_WithDiff')] train_pipeline_strong = [dict(type='Imgaug', transforms='default'), dict(type='Imgaug_Custom', transforms='default', modality='imgs_diff')] train_pipeline_format = [dict(type='Normalize', **img_norm_cfg), dict(type='Normalize_Diff', **img_norm_cfg, raw_to_diff=False, redist_to_rgb=False), dict(type='FormatShape', input_format='NCTHW'), dict(type='FormatShape_Diff', input_format='NCTHW'), dict(type='Collect', keys=['imgs', 'label', 'imgs_diff'], meta_keys=[]), dict(type='ToTensor', keys=['imgs', 'label', 'imgs_diff'])] val_pipeline = [dict(type='DecordInit'), dict(type='SampleFrames', clip_len=8, frame_interval=8, num_clips=1, test_mode=True), dict(type='DecordDecode'), dict(type='Resize', scale=(-1, 256), lazy=True), dict(type='CenterCrop', crop_size=224, lazy=True), dict(type='Flip', flip_ratio=0, lazy=True), dict(type='Fuse'), dict(type='Normalize', **img_norm_cfg), dict(type='FormatShape', input_format='NCTHW'), dict(type='Collect', keys=['imgs', 'label'], meta_keys=[]), dict(type='ToTensor', keys=['imgs'])] test_pipeline = [dict(type='DecordInit'), dict(type='SampleFrames', clip_len=8, frame_interval=8, num_clips=10, test_mode=True), dict(type='DecordDecode'), dict(type='Resize', scale=(-1, 256)), dict(type='ThreeCrop', crop_size=256), dict(type='Flip', flip_ratio=0), dict(type='Normalize', **img_norm_cfg), dict(type='FormatShape', input_format='NCTHW'), dict(type='Collect', keys=['imgs', 'label'], meta_keys=[]), dict(type='ToTensor', keys=['imgs'])] data = dict(videos_per_gpu=8, workers_per_gpu=4, train_dataloader=dict(drop_last=True, pin_memory=True), train_labeled=dict(type=dataset_type_labeled, ann_file=ann_file_train_labeled, data_prefix=data_root, pipeline=train_pipeline, contrast_clip_num=1), train_unlabeled=dict(type=dataset_type_unlabeled, ann_file=ann_file_train_unlabeled, data_prefix=data_root, pipeline_weak=train_pipeline_weak, pipeline_strong=train_pipeline_strong, pipeline_format=train_pipeline_format, contrast_clip_num=1), val=dict(type=dataset_type, ann_file=ann_file_val, data_prefix=data_root_val, pipeline=val_pipeline, test_mode=True), test=dict(type=dataset_type, ann_file=ann_file_val, data_prefix=data_root_val, pipeline=test_pipeline, test_mode=True), precise_bn=dict(type=dataset_type, ann_file=ann_file_train_unlabeled, data_prefix=data_root, pipeline=val_pipeline), videos_per_gpu_precise_bn=5) optimizer = dict(type='SGD', lr=0.2, momentum=0.9, weight_decay=0.0001) optimizer_config = dict(grad_clip=dict(max_norm=40, norm_type=2)) lr_config = dict(policy='CosineAnnealing', min_lr=0, warmup='linear', warmup_ratio=0.1, warmup_by_epoch=True, warmup_iters=10) total_epochs = 45 checkpoint_config = dict(interval=5, max_keep_ckpts=3) evaluation = dict(interval=5, metrics=['top_k_accuracy', 'mean_class_accuracy'], topk=(1, 5)) log_config = dict(interval=20, hooks=[dict(type='TextLoggerHook'), dict(type='TensorboardLoggerHook')]) precise_bn = dict(num_iters=200, interval=5, bn_range=['backbone', 'cls_head']) dist_params = dict(backend='nccl') log_level = 'INFO' work_dir = None load_from = None resume_from = None workflow = [('train', 1)] find_unused_parameters = False
class SeqIter: def __init__(self,l): self.l = l self.i = 0 self.stop = False def __len__(self): return len(self.l) def __list__(self): l = [] while True: try: l.append(self.__next__()) except StopIteration: break return l def __iter__(self): return self def __next__(self): has_length = True found = False try: self.l.__len__() except AttributeError: has_length = False try: if self.stop: raise StopIteration() if has_length and self.i >= self.l.__len__(): self.stop = True raise StopIteration() ret = self.l[self.i] found = True except IndexError: raise StopIteration() except StopIteration: raise StopIteration() self.i += 1 if found: return ret else: return None ___assign("%SeqIter", SeqIter) def iter(l, *args): callable = ___id("%callable") if args.__len__() == 1: if callable(l): stopwhen = args[0] return FuncIter(l, stopwhen) else: TypeError("iter(v, w): v must be callable") elif args.__len__() == 0: try: return l.__iter__() except: try: if callable(l.__getitem__): return SeqIter(l) except: raise TypeError("object is not iterable") else: raise TypeError("iter expect at most 2 arguments") ___assign("%iter", iter) def next(it, *arg): if len(arg) == 0: return it.__next__() else: return it.__next__(arg[0]) ___assign("%next", next) class FuncIter: def __init__(self, func, stopwhen): self.func = func self.stopwhen = stopwhen self.stopped = False def __list__(self): l = [] while not self.stopped: try: l.append(self.__next__()) except StopIteration: break return l def __next__(self): f = self.func v = f() if v == self.stopwhen: self.stopped = True raise StopIteration() else: return v ___assign("%FuncIter", FuncIter)
class Seqiter: def __init__(self, l): self.l = l self.i = 0 self.stop = False def __len__(self): return len(self.l) def __list__(self): l = [] while True: try: l.append(self.__next__()) except StopIteration: break return l def __iter__(self): return self def __next__(self): has_length = True found = False try: self.l.__len__() except AttributeError: has_length = False try: if self.stop: raise stop_iteration() if has_length and self.i >= self.l.__len__(): self.stop = True raise stop_iteration() ret = self.l[self.i] found = True except IndexError: raise stop_iteration() except StopIteration: raise stop_iteration() self.i += 1 if found: return ret else: return None ___assign('%SeqIter', SeqIter) def iter(l, *args): callable = ___id('%callable') if args.__len__() == 1: if callable(l): stopwhen = args[0] return func_iter(l, stopwhen) else: type_error('iter(v, w): v must be callable') elif args.__len__() == 0: try: return l.__iter__() except: try: if callable(l.__getitem__): return seq_iter(l) except: raise type_error('object is not iterable') else: raise type_error('iter expect at most 2 arguments') ___assign('%iter', iter) def next(it, *arg): if len(arg) == 0: return it.__next__() else: return it.__next__(arg[0]) ___assign('%next', next) class Funciter: def __init__(self, func, stopwhen): self.func = func self.stopwhen = stopwhen self.stopped = False def __list__(self): l = [] while not self.stopped: try: l.append(self.__next__()) except StopIteration: break return l def __next__(self): f = self.func v = f() if v == self.stopwhen: self.stopped = True raise stop_iteration() else: return v ___assign('%FuncIter', FuncIter)
def quicksort(xs): if len(xs) == 0: return [] pivot = xs[0] xs = xs[1:] left = [x for x in xs if x <= pivot] right = [x for x in xs if x > pivot] res = quicksort(left) res.append(pivot) res += quicksort(right) return res xs = [1, 3, 2, 4, 5, 2] sorted_xs = quicksort(xs)
def quicksort(xs): if len(xs) == 0: return [] pivot = xs[0] xs = xs[1:] left = [x for x in xs if x <= pivot] right = [x for x in xs if x > pivot] res = quicksort(left) res.append(pivot) res += quicksort(right) return res xs = [1, 3, 2, 4, 5, 2] sorted_xs = quicksort(xs)
# # PySNMP MIB module CISCO-TRUSTSEC-POLICY-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-TRUSTSEC-POLICY-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:14:36 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) # ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, ConstraintsIntersection, SingleValueConstraint, ValueSizeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsIntersection", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsUnion") ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt") Cisco2KVlanList, CiscoVrfName = mibBuilder.importSymbols("CISCO-TC", "Cisco2KVlanList", "CiscoVrfName") CtsAclNameOrEmpty, CtsAclList, CtsGenerationId, CtsAclName, CtsAclListOrEmpty, CtsSgaclMonitorMode, CtsSecurityGroupTag = mibBuilder.importSymbols("CISCO-TRUSTSEC-TC-MIB", "CtsAclNameOrEmpty", "CtsAclList", "CtsGenerationId", "CtsAclName", "CtsAclListOrEmpty", "CtsSgaclMonitorMode", "CtsSecurityGroupTag") ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex") InetAddressType, InetAddress, InetAddressPrefixLength = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressType", "InetAddress", "InetAddressPrefixLength") VlanIndex, = mibBuilder.importSymbols("Q-BRIDGE-MIB", "VlanIndex") SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") NotificationGroup, ObjectGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup", "ModuleCompliance") Counter32, Unsigned32, Bits, ObjectIdentity, iso, Counter64, Gauge32, Integer32, TimeTicks, MibIdentifier, ModuleIdentity, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress = mibBuilder.importSymbols("SNMPv2-SMI", "Counter32", "Unsigned32", "Bits", "ObjectIdentity", "iso", "Counter64", "Gauge32", "Integer32", "TimeTicks", "MibIdentifier", "ModuleIdentity", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress") DisplayString, StorageType, TruthValue, RowStatus, DateAndTime, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "StorageType", "TruthValue", "RowStatus", "DateAndTime", "TextualConvention") ciscoTrustSecPolicyMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 713)) ciscoTrustSecPolicyMIB.setRevisions(('2012-12-19 00:00', '2009-11-06 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ciscoTrustSecPolicyMIB.setRevisionsDescriptions(('Added following OBJECT-GROUP: - ctspNotifCtrlGroup - ctspNotifGroup - ctspNotifInfoGroup - ctspIfSgtMappingGroup - ctspVlanSgtMappingGroup - ctspSgtCachingGroup - ctspSgaclMonitorGroup - ctspSgaclMonitorStatisticGroup Added new compliance - ciscoTrustSecPolicyMIBCompliances Modified ctspIpSgtSource to add l3if(6), vlan(7), caching(8).', 'Initial version of this MIB module.',)) if mibBuilder.loadTexts: ciscoTrustSecPolicyMIB.setLastUpdated('201212190000Z') if mibBuilder.loadTexts: ciscoTrustSecPolicyMIB.setOrganization('Cisco Systems, Inc.') if mibBuilder.loadTexts: ciscoTrustSecPolicyMIB.setContactInfo('Cisco Systems Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553-NETS E-mail: [email protected]') if mibBuilder.loadTexts: ciscoTrustSecPolicyMIB.setDescription('This MIB module defines managed objects that facilitate the management of various policies within the Cisco Trusted Security (TrustSec) infrastructure. The information available through this MIB includes: o Device and interface level configuration for enabling SGACL (Security Group Access Control List) enforcement on Layer2/3 traffic. o Administrative and operational SGACL mapping to Security Group Tag (SGT). o Various statistics counters for traffic subject to SGACL enforcement. o TrustSec policies with respect to peer device. o Interface level configuration for enabling the propagation of SGT along with the Layer 3 traffic in portions of network which does not have the capability to support TrustSec feature. o TrustSec policies with respect to SGT propagation with Layer 3 traffic. The following terms are used throughout this MIB: VRF: Virtual Routing and Forwarding. SGACL: Security Group Access Control List. ACE: Access Control Entries. SXP: SGT Propagation Protocol. SVI: Switch Virtual Interface. IPM: Identity Port Mapping. SGT (Security Group Tag) is a unique 16 bits value assigned to every security group and used by network devices to enforce SGACL. Peer is another device connected to the local device on the other side of a TrustSec link. Default Policy: Policy applied to traffic when there is no explicit policy between the SGT associated with the originator of the traffic and the SGT associated with the destination of the traffic.') ciscoTrustSecPolicyMIBNotifs = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 0)) ciscoTrustSecPolicyMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1)) ciscoTrustSecPolicyMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 2)) ctspSgacl = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1)) ctspPeerPolicy = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2)) ctspLayer3Transport = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3)) ctspIpSgtMappings = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4)) ctspSgtPolicy = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5)) ctspIfSgtMappings = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 6)) ctspVlanSgtMappings = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 7)) ctspSgtCaching = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 8)) ctspNotifsControl = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 9)) ctspNotifsOnlyInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 10)) ctspSgaclGlobals = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1)) ctspSgaclMappings = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2)) ctspSgaclStatistics = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3)) ctspSgaclEnforcementEnable = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("none", 1), ("l3Only", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ctspSgaclEnforcementEnable.setStatus('current') if mibBuilder.loadTexts: ctspSgaclEnforcementEnable.setDescription("This object specifies whether SGACL enforcement for all Layer 3 interfaces (excluding SVIs) is enabled at the managed system. 'none' indicates that SGACL enforcement for all Layer 3 interfaces (excluding SVIs) is disabled. 'l3Only' indicates that SGACL enforcement is enabled on every TrustSec capable Layer3 interface (excluding SVIs) in the device.") ctspSgaclIpv4DropNetflowMonitor = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 2), SnmpAdminString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ctspSgaclIpv4DropNetflowMonitor.setStatus('current') if mibBuilder.loadTexts: ctspSgaclIpv4DropNetflowMonitor.setDescription('This object specifies an existing flexible netflow monitor name used to collect and export the IPv4 traffic dropped packets statistics due to SGACL enforcement. The zero-length string indicates that no such netflow monitor is configured in the device.') ctspSgaclIpv6DropNetflowMonitor = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 3), SnmpAdminString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ctspSgaclIpv6DropNetflowMonitor.setStatus('current') if mibBuilder.loadTexts: ctspSgaclIpv6DropNetflowMonitor.setDescription('This object specifies an existing flexible netflow monitor name used to collect and export the IPv6 traffic dropped packets statistics due to SGACL enforcement. The zero-length string indicates that no such netflow monitor is configured in the device.') ctspVlanConfigTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 4), ) if mibBuilder.loadTexts: ctspVlanConfigTable.setStatus('current') if mibBuilder.loadTexts: ctspVlanConfigTable.setDescription('This table lists the SGACL enforcement for Layer 2 and Layer 3 switched packet in a VLAN as well as VRF information for VLANs in the device.') ctspVlanConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 4, 1), ).setIndexNames((0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspVlanConfigIndex")) if mibBuilder.loadTexts: ctspVlanConfigEntry.setStatus('current') if mibBuilder.loadTexts: ctspVlanConfigEntry.setDescription('Each row contains the SGACL enforcement information for Layer 2 and Layer 3 switched packets in a VLAN identified by its VlanIndex value. Entry in this table is populated for VLANs which contains SGACL enforcement or VRF configuration.') ctspVlanConfigIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 4, 1, 1), VlanIndex()) if mibBuilder.loadTexts: ctspVlanConfigIndex.setStatus('current') if mibBuilder.loadTexts: ctspVlanConfigIndex.setDescription('This object indicates the VLAN-ID of this VLAN.') ctspVlanConfigSgaclEnforcement = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 4, 1, 2), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ctspVlanConfigSgaclEnforcement.setStatus('current') if mibBuilder.loadTexts: ctspVlanConfigSgaclEnforcement.setDescription("This object specifies the configured SGACL enforcement status for this VLAN i.e., 'true' = enabled and 'false' = disabled.") ctspVlanSviActive = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 4, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspVlanSviActive.setStatus('current') if mibBuilder.loadTexts: ctspVlanSviActive.setDescription("This object indicates if there is an active SVI associated with this VLAN. 'true' indicates that there is an active SVI associated with this VLAN. and SGACL is enforced for both Layer 2 and Layer 3 switched packets within that VLAN. 'false' indicates that there is no active SVI associated with this VLAN, and SGACL is only enforced for Layer 2 switched packets within that VLAN.") ctspVlanConfigVrfName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 4, 1, 4), CiscoVrfName()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ctspVlanConfigVrfName.setStatus('current') if mibBuilder.loadTexts: ctspVlanConfigVrfName.setDescription('This object specifies an existing VRF where this VLAN belongs to. The zero length value indicates this VLAN belongs to the default VRF.') ctspVlanConfigStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 4, 1, 5), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ctspVlanConfigStorageType.setStatus('current') if mibBuilder.loadTexts: ctspVlanConfigStorageType.setDescription('The objects specifies the storage type for this conceptual row.') ctspVlanConfigRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 4, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ctspVlanConfigRowStatus.setStatus('current') if mibBuilder.loadTexts: ctspVlanConfigRowStatus.setDescription("The status of this conceptual row entry. This object is used to manage creation and deletion of rows in this table. When this object value is 'active', other writable objects in the same row cannot be modified.") ctspConfigSgaclMappingTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 1), ) if mibBuilder.loadTexts: ctspConfigSgaclMappingTable.setStatus('current') if mibBuilder.loadTexts: ctspConfigSgaclMappingTable.setDescription('This table contains the SGACLs information which is applied to unicast IP traffic which carries a source SGT and travels to a destination SGT.') ctspConfigSgaclMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 1, 1), ).setIndexNames((0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspConfigSgaclMappingIpTrafficType"), (0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspConfigSgaclMappingDestSgt"), (0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspConfigSgaclMappingSourceSgt")) if mibBuilder.loadTexts: ctspConfigSgaclMappingEntry.setStatus('current') if mibBuilder.loadTexts: ctspConfigSgaclMappingEntry.setDescription('Each row contains the SGACL mapping to source and destination SGT for a certain traffic type as well as status of this instance. A row instance can be created or removed by setting the appropriate value of its RowStatus object.') ctspConfigSgaclMappingIpTrafficType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ipv4", 1), ("ipv6", 2)))) if mibBuilder.loadTexts: ctspConfigSgaclMappingIpTrafficType.setStatus('current') if mibBuilder.loadTexts: ctspConfigSgaclMappingIpTrafficType.setDescription('This object indicates the type of the unicast IP traffic carrying the source SGT and travelling to destination SGT and subjected to SGACL enforcement.') ctspConfigSgaclMappingDestSgt = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 1, 1, 2), CtsSecurityGroupTag()) if mibBuilder.loadTexts: ctspConfigSgaclMappingDestSgt.setStatus('current') if mibBuilder.loadTexts: ctspConfigSgaclMappingDestSgt.setDescription('This object indicates the destination SGT value. Value of zero indicates that the destination SGT is unknown.') ctspConfigSgaclMappingSourceSgt = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 1, 1, 3), CtsSecurityGroupTag()) if mibBuilder.loadTexts: ctspConfigSgaclMappingSourceSgt.setStatus('current') if mibBuilder.loadTexts: ctspConfigSgaclMappingSourceSgt.setDescription('This object indicates the source SGT value. Value of zero indicates that the source SGT is unknown.') ctspConfigSgaclMappingSgaclName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 1, 1, 4), CtsAclList()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ctspConfigSgaclMappingSgaclName.setStatus('current') if mibBuilder.loadTexts: ctspConfigSgaclMappingSgaclName.setDescription('This object specifies the list of existing SGACLs which is administratively configured to apply to unicast IP traffic carrying the source SGT to the destination SGT.') ctspConfigSgaclMappingStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 1, 1, 5), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ctspConfigSgaclMappingStorageType.setStatus('current') if mibBuilder.loadTexts: ctspConfigSgaclMappingStorageType.setDescription('The storage type for this conceptual row.') ctspConfigSgaclMappingRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 1, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ctspConfigSgaclMappingRowStatus.setStatus('current') if mibBuilder.loadTexts: ctspConfigSgaclMappingRowStatus.setDescription('This object is used to manage the creation and deletion of rows in this table. ctspConfigSgaclName may be modified at any time.') ctspConfigSgaclMonitor = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 1, 1, 7), CtsSgaclMonitorMode().clone('off')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ctspConfigSgaclMonitor.setStatus('current') if mibBuilder.loadTexts: ctspConfigSgaclMonitor.setDescription('This object specifies whether SGACL monitor mode is turned on for the configured SGACL enforced traffic.') ctspDefConfigIpv4Sgacls = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 2), CtsAclListOrEmpty()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ctspDefConfigIpv4Sgacls.setStatus('current') if mibBuilder.loadTexts: ctspDefConfigIpv4Sgacls.setDescription('This object specifies the SGACLs of the unicast default policy for IPv4 traffic. If there is no SGACL configured for unicast default policy for IPv4 traffic, the value of this object is the zero-length string.') ctspDefConfigIpv6Sgacls = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 3), CtsAclListOrEmpty()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ctspDefConfigIpv6Sgacls.setStatus('current') if mibBuilder.loadTexts: ctspDefConfigIpv6Sgacls.setDescription('This object specifies the SGACLs of the unicast default policy for IPv6 traffic. If there is no SGACL configured for unicast default policy for IPv6 traffic, the value of this object is the zero-length string.') ctspDownloadedSgaclMappingTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 4), ) if mibBuilder.loadTexts: ctspDownloadedSgaclMappingTable.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgaclMappingTable.setDescription('This table contains the downloaded SGACLs information applied to unicast IP traffic which carries a source SGT and travels to a destination SGT.') ctspDownloadedSgaclMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 4, 1), ).setIndexNames((0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspDownloadedSgaclDestSgt"), (0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspDownloadedSgaclSourceSgt"), (0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspDownloadedSgaclIndex")) if mibBuilder.loadTexts: ctspDownloadedSgaclMappingEntry.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgaclMappingEntry.setDescription('Each row contains the downloaded SGACLs mapping. A row instance is added for each pair of <source SGT, destination SGT> which contains SGACL that is dynamically downloaded from ACS server.') ctspDownloadedSgaclDestSgt = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 4, 1, 1), CtsSecurityGroupTag()) if mibBuilder.loadTexts: ctspDownloadedSgaclDestSgt.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgaclDestSgt.setDescription('This object indicates the destination SGT value. Value of zero indicates that the destination SGT is unknown.') ctspDownloadedSgaclSourceSgt = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 4, 1, 2), CtsSecurityGroupTag()) if mibBuilder.loadTexts: ctspDownloadedSgaclSourceSgt.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgaclSourceSgt.setDescription('This object indicates the source SGT value. Value of zero indicates that the source SGT is unknown.') ctspDownloadedSgaclIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 4, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))) if mibBuilder.loadTexts: ctspDownloadedSgaclIndex.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgaclIndex.setDescription('This object identifies the downloaded SGACL which is applied to unicast IP traffic carrying the source SGT to the destination SGT.') ctspDownloadedSgaclName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 4, 1, 4), CtsAclName()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDownloadedSgaclName.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgaclName.setDescription('This object indicates the name of downloaded SGACL which is applied to unicast IP traffic carrying the source SGT to the destination SGT.') ctspDownloadedSgaclGenId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 4, 1, 5), CtsGenerationId()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDownloadedSgaclGenId.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgaclGenId.setDescription('This object indicates the generation identification of downloaded SGACL which is applied to unicast IP traffic carrying the source SGT to the destination SGT.') ctspDownloadedIpTrafficType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 4, 1, 6), Bits().clone(namedValues=NamedValues(("ipv4", 0), ("ipv6", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDownloadedIpTrafficType.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedIpTrafficType.setDescription('This object indicates the type of the unicast IP traffic carrying the source SGT and travelling to destination SGT and subjected to SGACL enforcement by this downloaded default policy.') ctspDownloadedSgaclMonitor = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 4, 1, 7), CtsSgaclMonitorMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDownloadedSgaclMonitor.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgaclMonitor.setDescription('This object indicates whether SGACL monitor mode is turned on for the downloaded SGACL enforced traffic.') ctspDefDownloadedSgaclMappingTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 5), ) if mibBuilder.loadTexts: ctspDefDownloadedSgaclMappingTable.setStatus('current') if mibBuilder.loadTexts: ctspDefDownloadedSgaclMappingTable.setDescription('This table contains the downloaded SGACLs information of the default policy applied to unicast IP traffic.') ctspDefDownloadedSgaclMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 5, 1), ).setIndexNames((0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspDefDownloadedSgaclIndex")) if mibBuilder.loadTexts: ctspDefDownloadedSgaclMappingEntry.setStatus('current') if mibBuilder.loadTexts: ctspDefDownloadedSgaclMappingEntry.setDescription('Each row contains the downloaded SGACLs mapping. A row instance contains the SGACL information of the default policy dynamically downloaded from ACS server for unicast IP traffic.') ctspDefDownloadedSgaclIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 5, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))) if mibBuilder.loadTexts: ctspDefDownloadedSgaclIndex.setStatus('current') if mibBuilder.loadTexts: ctspDefDownloadedSgaclIndex.setDescription('This object identifies the SGACL of downloaded default policy applied to unicast IP traffic.') ctspDefDownloadedSgaclName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 5, 1, 2), CtsAclName()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDefDownloadedSgaclName.setStatus('current') if mibBuilder.loadTexts: ctspDefDownloadedSgaclName.setDescription('This object indicates the name of the SGACL of downloaded default policy applied to unicast IP traffic.') ctspDefDownloadedSgaclGenId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 5, 1, 3), CtsGenerationId()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDefDownloadedSgaclGenId.setStatus('current') if mibBuilder.loadTexts: ctspDefDownloadedSgaclGenId.setDescription('This object indicates the generation identification of the SGACL of downloaded default policy applied to unicast IP traffic.') ctspDefDownloadedIpTrafficType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 5, 1, 4), Bits().clone(namedValues=NamedValues(("ipv4", 0), ("ipv6", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDefDownloadedIpTrafficType.setStatus('current') if mibBuilder.loadTexts: ctspDefDownloadedIpTrafficType.setDescription('This object indicates the type of the IP traffic subjected to SGACL enforcement by this downloaded default policy.') ctspDefDownloadedSgaclMonitor = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 5, 1, 5), CtsSgaclMonitorMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDefDownloadedSgaclMonitor.setStatus('current') if mibBuilder.loadTexts: ctspDefDownloadedSgaclMonitor.setDescription('This object indicates whether SGACL monitor mode is turned on for the default downloaded SGACL enforced traffic.') ctspOperSgaclMappingTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6), ) if mibBuilder.loadTexts: ctspOperSgaclMappingTable.setStatus('current') if mibBuilder.loadTexts: ctspOperSgaclMappingTable.setDescription('This table contains the operational SGACLs information applied to unicast IP traffic which carries a source SGT and travels to a destination SGT.') ctspOperSgaclMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6, 1), ).setIndexNames((0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspOperIpTrafficType"), (0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspOperSgaclDestSgt"), (0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspOperSgaclSourceSgt"), (0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspOperSgaclIndex")) if mibBuilder.loadTexts: ctspOperSgaclMappingEntry.setStatus('current') if mibBuilder.loadTexts: ctspOperSgaclMappingEntry.setDescription('Each row contains the operational SGACLs mapping. A row instance is added for each pair of <source SGT, destination SGT> which contains the SGACL that either statically configured at the device or dynamically downloaded from ACS server.') ctspOperIpTrafficType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ipv4", 1), ("ipv6", 2)))) if mibBuilder.loadTexts: ctspOperIpTrafficType.setStatus('current') if mibBuilder.loadTexts: ctspOperIpTrafficType.setDescription('This object indicates the type of the unicast IP traffic carrying the source SGT and travelling to destination SGT and subjected to SGACL enforcement.') ctspOperSgaclDestSgt = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6, 1, 2), CtsSecurityGroupTag()) if mibBuilder.loadTexts: ctspOperSgaclDestSgt.setStatus('current') if mibBuilder.loadTexts: ctspOperSgaclDestSgt.setDescription('This object indicates the destination SGT value. Value of zero indicates that the destination SGT is unknown.') ctspOperSgaclSourceSgt = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6, 1, 3), CtsSecurityGroupTag()) if mibBuilder.loadTexts: ctspOperSgaclSourceSgt.setStatus('current') if mibBuilder.loadTexts: ctspOperSgaclSourceSgt.setDescription('This object indicates the source SGT value. Value of zero indicates that the source SGT is unknown.') ctspOperSgaclIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))) if mibBuilder.loadTexts: ctspOperSgaclIndex.setStatus('current') if mibBuilder.loadTexts: ctspOperSgaclIndex.setDescription('This object identifies the SGACL operationally applied to unicast IP traffic carrying the source SGT to the destination SGT.') ctspOperationalSgaclName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6, 1, 5), CtsAclName()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspOperationalSgaclName.setStatus('current') if mibBuilder.loadTexts: ctspOperationalSgaclName.setDescription('This object indicates the name of the SGACL operationally applied to unicast IP traffic carrying the source SGT to the destination SGT.') ctspOperationalSgaclGenId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6, 1, 6), CtsGenerationId()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspOperationalSgaclGenId.setStatus('current') if mibBuilder.loadTexts: ctspOperationalSgaclGenId.setDescription('This object indicates the generation identification of the SGACL operationally applied to unicast IP traffic carrying the source SGT to the destination SGT.') ctspOperSgaclMappingSource = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("configured", 1), ("downloaded", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspOperSgaclMappingSource.setStatus('current') if mibBuilder.loadTexts: ctspOperSgaclMappingSource.setDescription("This object indicates the source of SGACL mapping for the SGACL operationally applied to unicast IP traffic carrying the source SGT to the destination SGT. 'downloaded' indicates that the mapping is downloaded from ACS server. 'configured' indicates that the mapping is locally configured in the device.") ctspOperSgaclConfigSource = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("configured", 1), ("downloaded", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspOperSgaclConfigSource.setStatus('current') if mibBuilder.loadTexts: ctspOperSgaclConfigSource.setDescription("This object indicates the source of SGACL creation for this SGACL. 'configured' indicates that the SGACL is locally configured in the local device. 'downloaded' indicates that the SGACL is created at ACS server and downloaded to the local device.") ctspOperSgaclMonitor = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6, 1, 9), CtsSgaclMonitorMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspOperSgaclMonitor.setStatus('current') if mibBuilder.loadTexts: ctspOperSgaclMonitor.setDescription('This object indicates whether SGACL monitor mode is turned on for the SGACL enforced traffic.') ctspDefOperSgaclMappingTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 7), ) if mibBuilder.loadTexts: ctspDefOperSgaclMappingTable.setStatus('current') if mibBuilder.loadTexts: ctspDefOperSgaclMappingTable.setDescription('This table contains the operational SGACLs information of the default policy applied to unicast IP traffic.') ctspDefOperSgaclMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 7, 1), ).setIndexNames((0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspDefOperIpTrafficType"), (0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspDefOperSgaclIndex")) if mibBuilder.loadTexts: ctspDefOperSgaclMappingEntry.setStatus('current') if mibBuilder.loadTexts: ctspDefOperSgaclMappingEntry.setDescription('A row instance contains the SGACL information of the default policy which is either statically configured at the device or dynamically downloaded from ACS server for unicast IP traffic.') ctspDefOperIpTrafficType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 7, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ipv4", 1), ("ipv6", 2)))) if mibBuilder.loadTexts: ctspDefOperIpTrafficType.setStatus('current') if mibBuilder.loadTexts: ctspDefOperIpTrafficType.setDescription('This object indicates the type of the unicast IP traffic subjected to default policy enforcement.') ctspDefOperSgaclIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 7, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))) if mibBuilder.loadTexts: ctspDefOperSgaclIndex.setStatus('current') if mibBuilder.loadTexts: ctspDefOperSgaclIndex.setDescription('This object identifies the SGACL of default policy operationally applied to unicast IP traffic.') ctspDefOperationalSgaclName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 7, 1, 3), CtsAclName()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDefOperationalSgaclName.setStatus('current') if mibBuilder.loadTexts: ctspDefOperationalSgaclName.setDescription('This object indicates the name of the SGACL of default policy operationally applied to unicast IP traffic.') ctspDefOperationalSgaclGenId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 7, 1, 4), CtsGenerationId()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDefOperationalSgaclGenId.setStatus('current') if mibBuilder.loadTexts: ctspDefOperationalSgaclGenId.setDescription('This object indicates the generation identification of the SGACL of default policy operationally applied to unicast IP traffic.') ctspDefOperSgaclMappingSource = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 7, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("configured", 1), ("downloaded", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDefOperSgaclMappingSource.setStatus('current') if mibBuilder.loadTexts: ctspDefOperSgaclMappingSource.setDescription("This object indicates the source of SGACL mapping for the SGACL of default policy operationally applied to unicast IP traffic. 'downloaded' indicates that the mapping is downloaded from ACS server. 'configured' indicates that the mapping is locally configured in the device.") ctspDefOperSgaclConfigSource = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 7, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("configured", 1), ("downloaded", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDefOperSgaclConfigSource.setStatus('current') if mibBuilder.loadTexts: ctspDefOperSgaclConfigSource.setDescription("This object indicates the source of SGACL creation for the SGACL of default policy operationally applied to unicast IP traffic. 'downloaded' indicates that the SGACL is created at ACS server and downloaded to the local device. 'configured' indicates that the SGACL is locally configured in the local device.") ctspDefOperSgaclMonitor = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 7, 1, 7), CtsSgaclMonitorMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDefOperSgaclMonitor.setStatus('current') if mibBuilder.loadTexts: ctspDefOperSgaclMonitor.setDescription('This object indicates whether SGACL monitor mode is turned on for the SGACL of default policy enforced traffic.') ctspDefConfigIpv4SgaclsMonitor = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 8), CtsSgaclMonitorMode()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ctspDefConfigIpv4SgaclsMonitor.setStatus('current') if mibBuilder.loadTexts: ctspDefConfigIpv4SgaclsMonitor.setDescription('This object specifies whether SGACL monitor mode is turned on for the default configured SGACL enforced Ipv4 traffic.') ctspDefConfigIpv6SgaclsMonitor = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 9), CtsSgaclMonitorMode()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ctspDefConfigIpv6SgaclsMonitor.setStatus('current') if mibBuilder.loadTexts: ctspDefConfigIpv6SgaclsMonitor.setDescription('This object specifies whether SGACL monitor mode is turned on for the default configured SGACL enforced Ipv6 traffic.') ctspSgaclMonitorEnable = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 10), CtsSgaclMonitorMode()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ctspSgaclMonitorEnable.setStatus('current') if mibBuilder.loadTexts: ctspSgaclMonitorEnable.setDescription('This object specifies whether SGACL monitor mode is turned on for the entire system. It has precedence than the per SGACL ctspConfigSgaclMonitor control. It could act as safety mechanism to turn off monitor in case the monitor feature impact system performance.') ctspSgtStatsTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1), ) if mibBuilder.loadTexts: ctspSgtStatsTable.setStatus('current') if mibBuilder.loadTexts: ctspSgtStatsTable.setDescription('This table describes SGACL statistics counters per a pair of <source SGT, destination SGT> that is capable of providing this information.') ctspSgtStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1, 1), ).setIndexNames((0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspStatsIpTrafficType"), (0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspStatsDestSgt"), (0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspStatsSourceSgt")) if mibBuilder.loadTexts: ctspSgtStatsEntry.setStatus('current') if mibBuilder.loadTexts: ctspSgtStatsEntry.setDescription('Each row contains the SGACL statistics related to IPv4 or IPv6 packets carrying the source SGT travelling to the destination SGT and subjected to SGACL enforcement.') ctspStatsIpTrafficType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ipv4", 1), ("ipv6", 2)))) if mibBuilder.loadTexts: ctspStatsIpTrafficType.setStatus('current') if mibBuilder.loadTexts: ctspStatsIpTrafficType.setDescription('This object indicates the type of the unicast IP traffic carrying the source SGT and travelling to destination SGT and subjected to SGACL enforcement.') ctspStatsDestSgt = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1, 1, 2), CtsSecurityGroupTag()) if mibBuilder.loadTexts: ctspStatsDestSgt.setStatus('current') if mibBuilder.loadTexts: ctspStatsDestSgt.setDescription('This object indicates the destination SGT value. Value of zero indicates that the destination SGT is unknown.') ctspStatsSourceSgt = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1, 1, 3), CtsSecurityGroupTag()) if mibBuilder.loadTexts: ctspStatsSourceSgt.setStatus('current') if mibBuilder.loadTexts: ctspStatsSourceSgt.setDescription('This object indicates the source SGT value. Value of zero indicates that the source SGT is unknown.') ctspStatsIpSwDropPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspStatsIpSwDropPkts.setStatus('current') if mibBuilder.loadTexts: ctspStatsIpSwDropPkts.setDescription('This object indicates the number of software-forwarded IP packets which are dropped by SGACL.') ctspStatsIpHwDropPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspStatsIpHwDropPkts.setStatus('current') if mibBuilder.loadTexts: ctspStatsIpHwDropPkts.setDescription('This object indicates the number of hardware-forwarded IP packets which are dropped by SGACL.') ctspStatsIpSwPermitPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspStatsIpSwPermitPkts.setStatus('current') if mibBuilder.loadTexts: ctspStatsIpSwPermitPkts.setDescription('This object indicates the number of software-forwarded IP packets which are permitted by SGACL.') ctspStatsIpHwPermitPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspStatsIpHwPermitPkts.setStatus('current') if mibBuilder.loadTexts: ctspStatsIpHwPermitPkts.setDescription('This object indicates the number of hardware-forwarded IP packets which are permitted by SGACL.') ctspStatsIpSwMonitorPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspStatsIpSwMonitorPkts.setStatus('current') if mibBuilder.loadTexts: ctspStatsIpSwMonitorPkts.setDescription('This object indicates the number of software-forwarded IP packets which are SGACL enforced & monitored.') ctspStatsIpHwMonitorPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspStatsIpHwMonitorPkts.setStatus('current') if mibBuilder.loadTexts: ctspStatsIpHwMonitorPkts.setDescription('This object indicates the number of hardware-forwarded IP packets which are SGACL enforced & monitored.') ctspDefStatsTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 2), ) if mibBuilder.loadTexts: ctspDefStatsTable.setStatus('current') if mibBuilder.loadTexts: ctspDefStatsTable.setDescription('This table describes statistics counters for unicast IP traffic subjected to default unicast policy.') ctspDefStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 2, 1), ).setIndexNames((0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspDefIpTrafficType")) if mibBuilder.loadTexts: ctspDefStatsEntry.setStatus('current') if mibBuilder.loadTexts: ctspDefStatsEntry.setDescription('Each row contains the statistics counter for each IP traffic type.') ctspDefIpTrafficType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 2, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ipv4", 1), ("ipv6", 2)))) if mibBuilder.loadTexts: ctspDefIpTrafficType.setStatus('current') if mibBuilder.loadTexts: ctspDefIpTrafficType.setDescription('This object indicates the type of the IP traffic subjected to default unicast policy enforcement.') ctspDefIpSwDropPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 2, 1, 2), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDefIpSwDropPkts.setStatus('current') if mibBuilder.loadTexts: ctspDefIpSwDropPkts.setDescription('This object indicates the number of software-forwarded IP packets which are dropped by default unicast policy.') ctspDefIpHwDropPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 2, 1, 3), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDefIpHwDropPkts.setStatus('current') if mibBuilder.loadTexts: ctspDefIpHwDropPkts.setDescription('This object indicates the number of hardware-forwarded IP packets which are dropped by default unicast policy.') ctspDefIpSwPermitPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 2, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDefIpSwPermitPkts.setStatus('current') if mibBuilder.loadTexts: ctspDefIpSwPermitPkts.setDescription('This object indicates the number of software-forwarded IP packets which are permitted by default unicast policy.') ctspDefIpHwPermitPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 2, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDefIpHwPermitPkts.setStatus('current') if mibBuilder.loadTexts: ctspDefIpHwPermitPkts.setDescription('This object indicates the number of hardware-forwarded IP packets which are permitted by default unicast policy.') ctspDefIpSwMonitorPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 2, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDefIpSwMonitorPkts.setStatus('current') if mibBuilder.loadTexts: ctspDefIpSwMonitorPkts.setDescription('This object indicates the number of software-forwarded IP packets which are monitored by default unicast policy.') ctspDefIpHwMonitorPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 2, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDefIpHwMonitorPkts.setStatus('current') if mibBuilder.loadTexts: ctspDefIpHwMonitorPkts.setDescription('This object indicates the number of hardware-forwarded IP packets which are monitored by default unicast policy.') ctspAllPeerPolicyAction = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("none", 1), ("refresh", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ctspAllPeerPolicyAction.setStatus('current') if mibBuilder.loadTexts: ctspAllPeerPolicyAction.setDescription("This object allows user to specify the action to be taken with respect to all peer policies in the device. When read, this object always returns the value 'none'. 'none' - No operation. 'refresh' - Refresh all peer policies in the device.") ctspPeerPolicyTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2, 2), ) if mibBuilder.loadTexts: ctspPeerPolicyTable.setStatus('current') if mibBuilder.loadTexts: ctspPeerPolicyTable.setDescription('This table lists the peer policy information for each peer device.') ctspPeerPolicyEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2, 2, 1), ).setIndexNames((1, "CISCO-TRUSTSEC-POLICY-MIB", "ctspPeerName")) if mibBuilder.loadTexts: ctspPeerPolicyEntry.setStatus('current') if mibBuilder.loadTexts: ctspPeerPolicyEntry.setDescription('Each row contains the managed objects for peer policies for each peer device based on its name.') ctspPeerName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 128))) if mibBuilder.loadTexts: ctspPeerName.setStatus('current') if mibBuilder.loadTexts: ctspPeerName.setDescription('This object uniquely identifies a peer device.') ctspPeerSgt = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2, 2, 1, 2), CtsSecurityGroupTag()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspPeerSgt.setStatus('current') if mibBuilder.loadTexts: ctspPeerSgt.setDescription('This object indicates the SGT value of this peer device.') ctspPeerSgtGenId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2, 2, 1, 3), CtsGenerationId()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspPeerSgtGenId.setStatus('current') if mibBuilder.loadTexts: ctspPeerSgtGenId.setDescription('This object indicates the generation identification of the SGT value assigned to this peer device.') ctspPeerTrustState = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("trusted", 1), ("noTrust", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspPeerTrustState.setStatus('current') if mibBuilder.loadTexts: ctspPeerTrustState.setDescription("This object indicates the TrustSec trust state of this peer device. 'trusted' indicates that this is a trusted peer device. 'noTrust' indicates that this peer device is not trusted.") ctspPeerPolicyLifeTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2, 2, 1, 5), Unsigned32()).setUnits('seconds').setMaxAccess("readonly") if mibBuilder.loadTexts: ctspPeerPolicyLifeTime.setStatus('current') if mibBuilder.loadTexts: ctspPeerPolicyLifeTime.setDescription('This object indicates the policy life time which provides the time interval during which the peer policy is valid.') ctspPeerPolicyLastUpdate = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2, 2, 1, 6), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspPeerPolicyLastUpdate.setStatus('current') if mibBuilder.loadTexts: ctspPeerPolicyLastUpdate.setDescription('This object indicates the time when this peer policy is last updated.') ctspPeerPolicyAction = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("none", 1), ("refresh", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ctspPeerPolicyAction.setStatus('current') if mibBuilder.loadTexts: ctspPeerPolicyAction.setDescription("This object allows user to specify the action to be taken with this peer policy. When read, this object always returns the value 'none'. 'none' - No operation. 'refresh' - Refresh this peer policy.") ctspLayer3PolicyTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 1), ) if mibBuilder.loadTexts: ctspLayer3PolicyTable.setStatus('current') if mibBuilder.loadTexts: ctspLayer3PolicyTable.setDescription('This table describes Layer 3 transport policy for IP traffic regarding SGT propagation.') ctspLayer3PolicyEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 1, 1), ).setIndexNames((0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspLayer3PolicyIpTrafficType"), (0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspLayer3PolicyType")) if mibBuilder.loadTexts: ctspLayer3PolicyEntry.setStatus('current') if mibBuilder.loadTexts: ctspLayer3PolicyEntry.setDescription('Each row contains the Layer 3 transport policies per IP traffic type per policy type.') ctspLayer3PolicyIpTrafficType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("ipv4", 1), ("ipv6", 2)))) if mibBuilder.loadTexts: ctspLayer3PolicyIpTrafficType.setStatus('current') if mibBuilder.loadTexts: ctspLayer3PolicyIpTrafficType.setDescription("This object indicates the type of the IP traffic affected by Layer-3 transport policy. 'ipv4' indicates that the affected traffic is IPv4 traffic. 'ipv6' indicates that the affected traffic is IPv6 traffic.") ctspLayer3PolicyType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("permit", 1), ("exception", 2)))) if mibBuilder.loadTexts: ctspLayer3PolicyType.setStatus('current') if mibBuilder.loadTexts: ctspLayer3PolicyType.setDescription("This object indicates the type of the Layer-3 transport policy affecting IP traffic regarding SGT propagation. 'permit' indicates that the transport policy is used to classify Layer-3 traffic which is subject to SGT propagation. 'exception' indicates that the transport policy is used to classify Layer-3 traffic which is NOT subject to SGT propagation.") ctspLayer3PolicyLocalConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 1, 1, 3), CtsAclNameOrEmpty()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ctspLayer3PolicyLocalConfig.setStatus('current') if mibBuilder.loadTexts: ctspLayer3PolicyLocalConfig.setDescription('This object specifies the name of an ACL that is administratively configured to classify Layer3 traffic. Zero-length string indicates there is no such configured policy.') ctspLayer3PolicyDownloaded = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 1, 1, 4), CtsAclNameOrEmpty()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspLayer3PolicyDownloaded.setStatus('current') if mibBuilder.loadTexts: ctspLayer3PolicyDownloaded.setDescription('This object specifies the name of an ACL that is downloaded from policy server to classify Layer3 traffic. Zero-length string indicates there is no such downloaded policy.') ctspLayer3PolicyOperational = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 1, 1, 5), CtsAclNameOrEmpty()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspLayer3PolicyOperational.setStatus('current') if mibBuilder.loadTexts: ctspLayer3PolicyOperational.setDescription('This object specifies the name of an operational ACL currently used to classify Layer3 traffic. Zero-length string indicates there is no such policy in effect.') ctspIfL3PolicyConfigTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 2), ) if mibBuilder.loadTexts: ctspIfL3PolicyConfigTable.setStatus('current') if mibBuilder.loadTexts: ctspIfL3PolicyConfigTable.setDescription('This table lists the interfaces which support Layer3 Transport policy.') ctspIfL3PolicyConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: ctspIfL3PolicyConfigEntry.setStatus('current') if mibBuilder.loadTexts: ctspIfL3PolicyConfigEntry.setDescription('Each row contains managed objects for Layer3 Transport on interface capable of providing this information.') ctspIfL3Ipv4PolicyEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 2, 1, 1), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ctspIfL3Ipv4PolicyEnabled.setStatus('current') if mibBuilder.loadTexts: ctspIfL3Ipv4PolicyEnabled.setDescription("This object specifies whether the Layer3 Transport policies will be applied on this interface for egress IPv4 traffic. 'true' indicates that Layer3 permit and exception policy will be applied at this interface for egress IPv4 traffic. 'false' indicates that Layer3 permit and exception policy will not be applied at this interface for egress IPv4 traffic.") ctspIfL3Ipv6PolicyEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 2, 1, 2), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ctspIfL3Ipv6PolicyEnabled.setStatus('current') if mibBuilder.loadTexts: ctspIfL3Ipv6PolicyEnabled.setDescription("This object specifies whether the Layer3 Transport policies will be applied on this interface for egress IPv6 traffic. 'true' indicates that Layer3 permit and exception policy will be applied at this interface for egress IPv6 traffic. 'false' indicates that Layer3 permit and exception policy will not be applied at this interface for egress IPv6 traffic.") ctspIpSgtMappingTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4, 1), ) if mibBuilder.loadTexts: ctspIpSgtMappingTable.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtMappingTable.setDescription('This table contains the IP-to-SGT mapping information in the device.') ctspIpSgtMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4, 1, 1), ).setIndexNames((0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspIpSgtVrfName"), (0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspIpSgtAddressType"), (0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspIpSgtIpAddress"), (0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspIpSgtAddressLength")) if mibBuilder.loadTexts: ctspIpSgtMappingEntry.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtMappingEntry.setDescription('Each row contains the IP-to-SGT mapping and status of this instance. Entry in this table is either populated automatically by the device or manually configured by a user. A manually configured row instance can be created or removed by setting the appropriate value of its RowStatus object.') ctspIpSgtVrfName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4, 1, 1, 1), CiscoVrfName()) if mibBuilder.loadTexts: ctspIpSgtVrfName.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtVrfName.setDescription('This object indicates the VRF where IP-SGT mapping belongs to. The zero length value indicates the default VRF.') ctspIpSgtAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4, 1, 1, 2), InetAddressType()) if mibBuilder.loadTexts: ctspIpSgtAddressType.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtAddressType.setDescription('This object indicates the type of Internet address.') ctspIpSgtIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4, 1, 1, 3), InetAddress()) if mibBuilder.loadTexts: ctspIpSgtIpAddress.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtIpAddress.setDescription('This object indicates an Internet address. The type of this address is determined by the value of ctspIpSgtAddressType object.') ctspIpSgtAddressLength = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4, 1, 1, 4), InetAddressPrefixLength()) if mibBuilder.loadTexts: ctspIpSgtAddressLength.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtAddressLength.setDescription('This object indicates the length of an Internet address prefix.') ctspIpSgtValue = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4, 1, 1, 5), CtsSecurityGroupTag()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ctspIpSgtValue.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtValue.setDescription('This object specifies the SGT value assigned to an Internet address.') ctspIpSgtSource = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("configured", 1), ("arp", 2), ("localAuthenticated", 3), ("sxp", 4), ("internal", 5), ("l3if", 6), ("vlan", 7), ("caching", 8)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: ctspIpSgtSource.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtSource.setDescription("This object indicates the source of the mapping. 'configured' indicates that the mapping is manually configured by user. 'arp' indicates that the mapping is dynamically learnt from tagged ARP replies. 'localAuthenticated' indicates that the mapping is dynamically learnt from the device authentication of a host. 'sxp' indicates that the mapping is dynamically learnt from SXP (SGT Propagation Protocol). 'internal' indicates that the mapping is automatically created by the device between the device IP addresses and the device own SGT. 'l3if' indicates that Interface-SGT mapping is configured by user. 'vlan' indicates that Vlan-SGT mapping is configured by user. 'cached' indicates that sgt mapping is cached. Only 'configured' value is accepted when setting this object.") ctspIpSgtStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4, 1, 1, 7), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ctspIpSgtStorageType.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtStorageType.setDescription('The storage type for this conceptual row.') ctspIpSgtRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4, 1, 1, 8), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ctspIpSgtRowStatus.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtRowStatus.setDescription("This object is used to manage the creation and deletion of rows in this table. If this object value is 'active', user cannot modify any writable object in this row. If value of ctspIpSgtSource object in an entry is not 'configured', user cannot change the value of this object.") ctspAllSgtPolicyAction = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("none", 1), ("refresh", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ctspAllSgtPolicyAction.setStatus('current') if mibBuilder.loadTexts: ctspAllSgtPolicyAction.setDescription("This object allows user to specify the action to be taken with respect to all SGT policies in the device. When read, this object always returns the value 'none'. 'none' - No operation. 'refresh' - Refresh all SGT policies in the device.") ctspDownloadedSgtPolicyTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 2), ) if mibBuilder.loadTexts: ctspDownloadedSgtPolicyTable.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgtPolicyTable.setDescription('This table lists the SGT policy information downloaded by the device.') ctspDownloadedSgtPolicyEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 2, 1), ).setIndexNames((0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspDownloadedSgtPolicySgt")) if mibBuilder.loadTexts: ctspDownloadedSgtPolicyEntry.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgtPolicyEntry.setDescription('Each row contains the managed objects for SGT policies downloaded by the device.') ctspDownloadedSgtPolicySgt = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 2, 1, 1), CtsSecurityGroupTag()) if mibBuilder.loadTexts: ctspDownloadedSgtPolicySgt.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgtPolicySgt.setDescription('This object indicates the SGT value for which the downloaded policy is applied to. Value of zero indicates that the SGT is unknown.') ctspDownloadedSgtPolicySgtGenId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 2, 1, 2), CtsGenerationId()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDownloadedSgtPolicySgtGenId.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgtPolicySgtGenId.setDescription('This object indicates the generation identification of the SGT value denoted by ctspDownloadedSgtPolicySgt object.') ctspDownloadedSgtPolicyLifeTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 2, 1, 3), Unsigned32()).setUnits('seconds').setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDownloadedSgtPolicyLifeTime.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgtPolicyLifeTime.setDescription('This object indicates the policy life time which provides the time interval during which this downloaded policy is valid.') ctspDownloadedSgtPolicyLastUpdate = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 2, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDownloadedSgtPolicyLastUpdate.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgtPolicyLastUpdate.setDescription('This object indicates the time when this downloaded SGT policy is last updated.') ctspDownloadedSgtPolicyAction = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("none", 1), ("refresh", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ctspDownloadedSgtPolicyAction.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgtPolicyAction.setDescription("This object allows user to specify the action to be taken with this downloaded SGT policy. When read, this object always returns the value 'none'. 'none' - No operation. 'refresh' - Refresh this SGT policy.") ctspDownloadedDefSgtPolicyTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 3), ) if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyTable.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyTable.setDescription('This table lists the default SGT policy information downloaded by the device.') ctspDownloadedDefSgtPolicyEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 3, 1), ).setIndexNames((0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspDownloadedDefSgtPolicyType")) if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyEntry.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyEntry.setDescription('Each row contains the managed objects for default SGT policies downloaded by the device.') ctspDownloadedDefSgtPolicyType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 3, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("unicastDefault", 1)))) if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyType.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyType.setDescription("This object indicates the downloaded default SGT policy type. 'unicastDefault' indicates the SGT policy applied to traffic which carries the default unicast SGT.") ctspDownloadedDefSgtPolicySgtGenId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 3, 1, 2), CtsGenerationId()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicySgtGenId.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicySgtGenId.setDescription('This object indicates the generation identification of the downloaded default SGT policy.') ctspDownloadedDefSgtPolicyLifeTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 3, 1, 3), Unsigned32()).setUnits('seconds').setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyLifeTime.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyLifeTime.setDescription('This object indicates the policy life time which provides the time interval during which this download default policy is valid.') ctspDownloadedDefSgtPolicyLastUpdate = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 3, 1, 4), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyLastUpdate.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyLastUpdate.setDescription('This object indicates the time when this downloaded SGT policy is last updated.') ctspDownloadedDefSgtPolicyAction = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("none", 1), ("refresh", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyAction.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyAction.setDescription("This object allows user to specify the action to be taken with this default downloaded SGT policy. When read, this object always returns the value 'none'. 'none' - No operation. 'refresh' - Refresh this default SGT policy.") ctspIfSgtMappingTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 6, 1), ) if mibBuilder.loadTexts: ctspIfSgtMappingTable.setStatus('current') if mibBuilder.loadTexts: ctspIfSgtMappingTable.setDescription('This table contains the Interface-to-SGT mapping configuration information in the device.') ctspIfSgtMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 6, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: ctspIfSgtMappingEntry.setStatus('current') if mibBuilder.loadTexts: ctspIfSgtMappingEntry.setDescription('Each row contains the SGT mapping configuration of a particular interface. A row instance can be created or removed by setting ctspIfSgtRowStatus.') ctspIfSgtValue = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 6, 1, 1, 1), CtsSecurityGroupTag()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ctspIfSgtValue.setStatus('current') if mibBuilder.loadTexts: ctspIfSgtValue.setDescription('This object specifies the SGT value assigned to the interface.') ctspIfSgName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 6, 1, 1, 2), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ctspIfSgName.setStatus('current') if mibBuilder.loadTexts: ctspIfSgName.setDescription('This object specifies the Security Group Name assigned to the interface.') ctspIfSgtStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 6, 1, 1, 3), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ctspIfSgtStorageType.setStatus('current') if mibBuilder.loadTexts: ctspIfSgtStorageType.setDescription('The storage type for this conceptual row.') ctspIfSgtRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 6, 1, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ctspIfSgtRowStatus.setStatus('current') if mibBuilder.loadTexts: ctspIfSgtRowStatus.setDescription('This object is used to manage the creation and deletion of rows in this table.') ctspIfSgtMappingInfoTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 6, 2), ) if mibBuilder.loadTexts: ctspIfSgtMappingInfoTable.setStatus('current') if mibBuilder.loadTexts: ctspIfSgtMappingInfoTable.setDescription('This table contains the Interface-to-SGT mapping status information in the device.') ctspIfSgtMappingInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 6, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: ctspIfSgtMappingInfoEntry.setStatus('current') if mibBuilder.loadTexts: ctspIfSgtMappingInfoEntry.setDescription('Containing the Interface-to-SGT mapping status of the specified interface.') ctspL3IPMStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 6, 2, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disabled", 1), ("active", 2), ("inactive", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ctspL3IPMStatus.setStatus('current') if mibBuilder.loadTexts: ctspL3IPMStatus.setDescription('This object indicates the Layer 3 Identity Port Mapping(IPM) operational mode. disabled - The L3 IPM is not configured. active - The L3 IPM is configured for this interface, and SGT is available. inactive - The L3 IPM is configured for this interface, and SGT is unavailable.') ctspVlanSgtMappingTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 7, 1), ) if mibBuilder.loadTexts: ctspVlanSgtMappingTable.setStatus('current') if mibBuilder.loadTexts: ctspVlanSgtMappingTable.setDescription('This table contains the Vlan-SGT mapping information in the device.') ctspVlanSgtMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 7, 1, 1), ).setIndexNames((0, "CISCO-TRUSTSEC-POLICY-MIB", "ctspVlanSgtMappingIndex")) if mibBuilder.loadTexts: ctspVlanSgtMappingEntry.setStatus('current') if mibBuilder.loadTexts: ctspVlanSgtMappingEntry.setDescription('Each row contains the SGT mapping configuration of a particular VLAN. A row instance can be created or removed by setting ctspVlanSgtRowStatus.') ctspVlanSgtMappingIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 7, 1, 1, 1), VlanIndex()) if mibBuilder.loadTexts: ctspVlanSgtMappingIndex.setStatus('current') if mibBuilder.loadTexts: ctspVlanSgtMappingIndex.setDescription('This object specifies the VLAN-ID which is used as index.') ctspVlanSgtMapValue = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 7, 1, 1, 2), CtsSecurityGroupTag()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ctspVlanSgtMapValue.setStatus('current') if mibBuilder.loadTexts: ctspVlanSgtMapValue.setDescription('This object specifies the SGT value assigned to the vlan.') ctspVlanSgtStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 7, 1, 1, 3), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: ctspVlanSgtStorageType.setStatus('current') if mibBuilder.loadTexts: ctspVlanSgtStorageType.setDescription('The storage type for this conceptual row.') ctspVlanSgtRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 7, 1, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ctspVlanSgtRowStatus.setStatus('current') if mibBuilder.loadTexts: ctspVlanSgtRowStatus.setDescription('This object is used to manage the creation and deletion of rows in this table.') ctspSgtCachingMode = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 8, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("none", 1), ("standAlone", 2), ("withEnforcement", 3), ("vlan", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ctspSgtCachingMode.setStatus('current') if mibBuilder.loadTexts: ctspSgtCachingMode.setDescription("This object specifies which SGT-caching mode is configured for SGT caching capable interfaces at the managed system. 'none' indicates that sgt-caching for all Layer 3 interfaces (excluding SVIs) is disabled. 'standAlone' indicates that SGT-caching is enabled on every TrustSec capable Layer3 interface (excluding SVIs) in the device. 'withEnforcement' indicates that SGT-caching is enabled on interfaces that have RBAC enforcement enabled. 'vlan' indicates that SGT-caching is enabled on the VLANs specified by ctspSgtCachingVlansfFirst2K & ctspSgtCachingVlansSecond2K") ctspSgtCachingVlansFirst2K = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 8, 2), Cisco2KVlanList()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ctspSgtCachingVlansFirst2K.setStatus('current') if mibBuilder.loadTexts: ctspSgtCachingVlansFirst2K.setDescription('A string of octets containing one bit per VLAN for VLANs 0 to 2047. If the bit corresponding to a VLAN is set to 1, it indicates SGT-caching is enabled on the VLAN. If the bit corresponding to a VLAN is set to 0, it indicates SGT-caching is disabled on the VLAN.') ctspSgtCachingVlansSecond2K = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 8, 3), Cisco2KVlanList()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ctspSgtCachingVlansSecond2K.setStatus('current') if mibBuilder.loadTexts: ctspSgtCachingVlansSecond2K.setDescription('A string of octets containing one bit per VLAN for VLANs 2048 to 4095. If the bit corresponding to a VLAN is set to 1, it indicates SGT-caching is enabled on the VLAN. If the bit corresponding to a VLAN is set to 0, it indicates SGT-caching is disabled on the VLAN.') ctspPeerPolicyUpdatedNotifEnable = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 9, 1), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ctspPeerPolicyUpdatedNotifEnable.setStatus('current') if mibBuilder.loadTexts: ctspPeerPolicyUpdatedNotifEnable.setDescription("This object specifies whether the system generates ctspPeerPolicyUpdatedNotif. A value of 'false' will prevent ctspPeerPolicyUpdatedNotif notifications from being generated by this system.") ctspAuthorizationSgaclFailNotifEnable = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 9, 2), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: ctspAuthorizationSgaclFailNotifEnable.setStatus('current') if mibBuilder.loadTexts: ctspAuthorizationSgaclFailNotifEnable.setDescription("This object specifies whether this system generates the ctspAuthorizationSgaclFailNotif. A value of 'false' will prevent ctspAuthorizationSgaclFailNotif notifications from being generated by this system.") ctspOldPeerSgt = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 10, 1), CtsSecurityGroupTag()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: ctspOldPeerSgt.setStatus('current') if mibBuilder.loadTexts: ctspOldPeerSgt.setDescription('This object provides the old sgt value for ctspPeerPolicyUpdatedNotif, i.e., the sgt value before the policy is updated.') ctspAuthorizationSgaclFailReason = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 10, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("downloadACE", 1), ("downloadSrc", 2), ("downloadDst", 3), ("installPolicy", 4), ("installPolicyStandby", 5), ("installForIP", 6), ("uninstall", 7)))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: ctspAuthorizationSgaclFailReason.setStatus('current') if mibBuilder.loadTexts: ctspAuthorizationSgaclFailReason.setDescription("This object indicates the reason of failure during SGACL acquisitions, installations and uninstallations, which is associated with ctspAuthorizationSgaclFailNotif; 'downloadACE' - Failure during downloading ACE in SGACL acquisition. 'downloadSrc' - Failure during downloading source list in SGACL acquisition. 'downloadDst' - Failure during downloading destination list in SGACL acquisition. 'installPolicy' - Failure during SGACL policy installation 'installPolicyStandby' - Failure during SGACL policy installation on standby 'installForIP' - Failure during SGACL installation for specific IP type. 'uninstall' - Failure during SGACL uninstallation.") ctspAuthorizationSgaclFailInfo = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 10, 3), SnmpAdminString()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: ctspAuthorizationSgaclFailInfo.setStatus('current') if mibBuilder.loadTexts: ctspAuthorizationSgaclFailInfo.setDescription('This object provides additional information about authorization SGACL failure, which is associated with ctspAuthorizationSgaclFailNotif.') ctspPeerPolicyUpdatedNotif = NotificationType((1, 3, 6, 1, 4, 1, 9, 9, 713, 0, 1)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspOldPeerSgt"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspPeerSgt")) if mibBuilder.loadTexts: ctspPeerPolicyUpdatedNotif.setStatus('current') if mibBuilder.loadTexts: ctspPeerPolicyUpdatedNotif.setDescription('A ctspPeerPolicyUpdatedNotif is generated when the SGT value of a peer device has been updated.') ctspAuthorizationSgaclFailNotif = NotificationType((1, 3, 6, 1, 4, 1, 9, 9, 713, 0, 2)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspAuthorizationSgaclFailReason"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspAuthorizationSgaclFailInfo")) if mibBuilder.loadTexts: ctspAuthorizationSgaclFailNotif.setStatus('current') if mibBuilder.loadTexts: ctspAuthorizationSgaclFailNotif.setDescription('A ctspAuthorizationSgaclFailNotif is generated when the authorization of SGACL fails.') ciscoTrustSecPolicyMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 1)) ciscoTrustSecPolicyMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2)) ciscoTrustSecPolicyMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 1, 1)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspGlobalSgaclEnforcementGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspOperSgaclMappingGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDownloadedSgaclMappingGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspIpSwStatisticsGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefSwStatisticsGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspVlanConfigGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspConfigSgaclMappingGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspIpHwStatisticsGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefHwStatisticsGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspSgaclIpv4DropNetflowMonitorGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspSgaclIpv6DropNetflowMonitorGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspPeerPolicyGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspPeerPolicyActionGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspLayer3TransportGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspIpSgtMappingGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspIfL3PolicyConfigGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspSgtPolicyGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoTrustSecPolicyMIBCompliance = ciscoTrustSecPolicyMIBCompliance.setStatus('deprecated') if mibBuilder.loadTexts: ciscoTrustSecPolicyMIBCompliance.setDescription('The compliance statement for the CISCO-TRUSTSEC-POLICY-MIB') ciscoTrustSecPolicyMIBComplianceRev2 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 1, 2)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspGlobalSgaclEnforcementGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspOperSgaclMappingGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDownloadedSgaclMappingGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspIpSwStatisticsGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefSwStatisticsGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspVlanConfigGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspConfigSgaclMappingGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspIpHwStatisticsGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefHwStatisticsGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspSgaclIpv4DropNetflowMonitorGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspSgaclIpv6DropNetflowMonitorGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspPeerPolicyGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspPeerPolicyActionGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspLayer3TransportGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspIpSgtMappingGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspIfL3PolicyConfigGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspSgtPolicyGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspIfSgtMappingGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspVlanSgtMappingGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspSgtCachingGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspSgaclMonitorGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspSgaclMonitorStatisticGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspNotifCtrlGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspNotifGroup"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspNotifInfoGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoTrustSecPolicyMIBComplianceRev2 = ciscoTrustSecPolicyMIBComplianceRev2.setStatus('current') if mibBuilder.loadTexts: ciscoTrustSecPolicyMIBComplianceRev2.setDescription('The compliance statement for the CISCO-TRUSTSEC-POLICY-MIB') ctspGlobalSgaclEnforcementGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 1)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspSgaclEnforcementEnable")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspGlobalSgaclEnforcementGroup = ctspGlobalSgaclEnforcementGroup.setStatus('current') if mibBuilder.loadTexts: ctspGlobalSgaclEnforcementGroup.setDescription('A collection of object which provides the SGACL enforcement information for all TrustSec capable Layer 3 interfaces (excluding SVIs) at the device level.') ctspSgaclIpv4DropNetflowMonitorGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 2)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspSgaclIpv4DropNetflowMonitor")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspSgaclIpv4DropNetflowMonitorGroup = ctspSgaclIpv4DropNetflowMonitorGroup.setStatus('current') if mibBuilder.loadTexts: ctspSgaclIpv4DropNetflowMonitorGroup.setDescription('A collection of object which provides netflow monitor information for IPv4 traffic drop packet due to SGACL enforcement in the device.') ctspSgaclIpv6DropNetflowMonitorGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 3)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspSgaclIpv6DropNetflowMonitor")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspSgaclIpv6DropNetflowMonitorGroup = ctspSgaclIpv6DropNetflowMonitorGroup.setStatus('current') if mibBuilder.loadTexts: ctspSgaclIpv6DropNetflowMonitorGroup.setDescription('A collection of object which provides netflow monitor information for IPv6 traffic drop packet due to SGACL enforcement in the device.') ctspVlanConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 4)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspVlanConfigSgaclEnforcement"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspVlanSviActive"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspVlanConfigVrfName"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspVlanConfigStorageType"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspVlanConfigRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspVlanConfigGroup = ctspVlanConfigGroup.setStatus('current') if mibBuilder.loadTexts: ctspVlanConfigGroup.setDescription('A collection of object which provides the SGACL enforcement and VRF information for each VLAN.') ctspConfigSgaclMappingGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 5)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspConfigSgaclMappingSgaclName"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspConfigSgaclMappingStorageType"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspConfigSgaclMappingRowStatus"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefConfigIpv4Sgacls"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefConfigIpv6Sgacls")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspConfigSgaclMappingGroup = ctspConfigSgaclMappingGroup.setStatus('current') if mibBuilder.loadTexts: ctspConfigSgaclMappingGroup.setDescription('A collection of objects which provides the administratively configured SGACL mapping information in the device.') ctspDownloadedSgaclMappingGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 6)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspDownloadedSgaclName"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDownloadedSgaclGenId"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDownloadedIpTrafficType"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefDownloadedSgaclName"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefDownloadedSgaclGenId"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefDownloadedIpTrafficType")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspDownloadedSgaclMappingGroup = ctspDownloadedSgaclMappingGroup.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgaclMappingGroup.setDescription('A collection of objects which provides the downloaded SGACL mapping information in the device.') ctspOperSgaclMappingGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 7)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspOperationalSgaclName"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspOperationalSgaclGenId"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspOperSgaclMappingSource"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspOperSgaclConfigSource"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefOperationalSgaclName"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefOperationalSgaclGenId"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefOperSgaclMappingSource"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefOperSgaclConfigSource")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspOperSgaclMappingGroup = ctspOperSgaclMappingGroup.setStatus('current') if mibBuilder.loadTexts: ctspOperSgaclMappingGroup.setDescription('A collection of objects which provides the operational SGACL mapping information in the device.') ctspIpSwStatisticsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 8)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspStatsIpSwDropPkts"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspStatsIpSwPermitPkts")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspIpSwStatisticsGroup = ctspIpSwStatisticsGroup.setStatus('current') if mibBuilder.loadTexts: ctspIpSwStatisticsGroup.setDescription('A collection of objects which provides software statistics counters for unicast IP traffic subjected to SGACL enforcement.') ctspIpHwStatisticsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 9)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspStatsIpHwDropPkts"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspStatsIpHwPermitPkts")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspIpHwStatisticsGroup = ctspIpHwStatisticsGroup.setStatus('current') if mibBuilder.loadTexts: ctspIpHwStatisticsGroup.setDescription('A collection of objects which provides hardware statistics counters for unicast IP traffic subjected to SGACL enforcement.') ctspDefSwStatisticsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 10)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefIpSwDropPkts"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefIpSwPermitPkts")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspDefSwStatisticsGroup = ctspDefSwStatisticsGroup.setStatus('current') if mibBuilder.loadTexts: ctspDefSwStatisticsGroup.setDescription('A collection of objects which provides software statistics counters for unicast IP traffic subjected to unicast default policy enforcement.') ctspDefHwStatisticsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 11)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefIpHwDropPkts"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefIpHwPermitPkts")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspDefHwStatisticsGroup = ctspDefHwStatisticsGroup.setStatus('current') if mibBuilder.loadTexts: ctspDefHwStatisticsGroup.setDescription('A collection of objects which provides hardware statistics counters for unicast IP traffic subjected to unicast default policy enforcement.') ctspPeerPolicyActionGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 12)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspAllPeerPolicyAction")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspPeerPolicyActionGroup = ctspPeerPolicyActionGroup.setStatus('current') if mibBuilder.loadTexts: ctspPeerPolicyActionGroup.setDescription('A collection of object which provides refreshing of all peer policies in the device.') ctspPeerPolicyGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 13)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspPeerSgt"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspPeerSgtGenId"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspPeerTrustState"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspPeerPolicyLifeTime"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspPeerPolicyLastUpdate"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspPeerPolicyAction")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspPeerPolicyGroup = ctspPeerPolicyGroup.setStatus('current') if mibBuilder.loadTexts: ctspPeerPolicyGroup.setDescription('A collection of object which provides peer policy information in the device.') ctspLayer3TransportGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 14)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspLayer3PolicyLocalConfig"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspLayer3PolicyDownloaded"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspLayer3PolicyOperational")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspLayer3TransportGroup = ctspLayer3TransportGroup.setStatus('current') if mibBuilder.loadTexts: ctspLayer3TransportGroup.setDescription('A collection of objects which provides managed information regarding the SGT propagation along with Layer 3 traffic in the device.') ctspIfL3PolicyConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 15)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspIfL3Ipv4PolicyEnabled"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspIfL3Ipv6PolicyEnabled")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspIfL3PolicyConfigGroup = ctspIfL3PolicyConfigGroup.setStatus('current') if mibBuilder.loadTexts: ctspIfL3PolicyConfigGroup.setDescription('A collection of objects which provides managed information for Layer3 Tranport policy enforcement on capable interface in the device.') ctspIpSgtMappingGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 16)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspIpSgtValue"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspIpSgtSource"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspIpSgtStorageType"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspIpSgtRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspIpSgtMappingGroup = ctspIpSgtMappingGroup.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtMappingGroup.setDescription('A collection of objects which provides managed information regarding IP-to-Sgt mapping in the device.') ctspSgtPolicyGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 17)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspAllSgtPolicyAction"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDownloadedSgtPolicySgtGenId"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDownloadedSgtPolicyLifeTime"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDownloadedSgtPolicyLastUpdate"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDownloadedSgtPolicyAction"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDownloadedDefSgtPolicySgtGenId"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDownloadedDefSgtPolicyLifeTime"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDownloadedDefSgtPolicyLastUpdate"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDownloadedDefSgtPolicyAction")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspSgtPolicyGroup = ctspSgtPolicyGroup.setStatus('current') if mibBuilder.loadTexts: ctspSgtPolicyGroup.setDescription('A collection of object which provides SGT policy information in the device.') ctspIfSgtMappingGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 18)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspIfSgtValue"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspIfSgName"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspL3IPMStatus"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspIfSgtStorageType"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspIfSgtRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspIfSgtMappingGroup = ctspIfSgtMappingGroup.setStatus('current') if mibBuilder.loadTexts: ctspIfSgtMappingGroup.setDescription('A collection of objects which provides managed information regarding Interface-to-Sgt mapping in the device.') ctspVlanSgtMappingGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 19)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspVlanSgtMapValue"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspVlanSgtStorageType"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspVlanSgtRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspVlanSgtMappingGroup = ctspVlanSgtMappingGroup.setStatus('current') if mibBuilder.loadTexts: ctspVlanSgtMappingGroup.setDescription('A collection of objects which provides sgt mapping information for the IP traffic in the specified Vlan.') ctspSgtCachingGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 20)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspSgtCachingMode"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspSgtCachingVlansFirst2K"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspSgtCachingVlansSecond2K")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspSgtCachingGroup = ctspSgtCachingGroup.setStatus('current') if mibBuilder.loadTexts: ctspSgtCachingGroup.setDescription('A collection of objects which provides sgt Caching information.') ctspSgaclMonitorGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 21)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspSgaclMonitorEnable"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspConfigSgaclMonitor"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefConfigIpv4SgaclsMonitor"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefConfigIpv6SgaclsMonitor"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDownloadedSgaclMonitor"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefDownloadedSgaclMonitor"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspOperSgaclMonitor"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefOperSgaclMonitor")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspSgaclMonitorGroup = ctspSgaclMonitorGroup.setStatus('current') if mibBuilder.loadTexts: ctspSgaclMonitorGroup.setDescription('A collection of objects which provides SGACL monitor information.') ctspSgaclMonitorStatisticGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 22)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspStatsIpSwMonitorPkts"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspStatsIpHwMonitorPkts"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefIpSwMonitorPkts"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspDefIpHwMonitorPkts")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspSgaclMonitorStatisticGroup = ctspSgaclMonitorStatisticGroup.setStatus('current') if mibBuilder.loadTexts: ctspSgaclMonitorStatisticGroup.setDescription('A collection of objects which provides monitor statistics counters for unicast IP traffic subjected to SGACL enforcement.') ctspNotifCtrlGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 23)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspPeerPolicyUpdatedNotifEnable"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspAuthorizationSgaclFailNotifEnable")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspNotifCtrlGroup = ctspNotifCtrlGroup.setStatus('current') if mibBuilder.loadTexts: ctspNotifCtrlGroup.setDescription('A collection of objects providing notification control for TrustSec policy notifications.') ctspNotifGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 24)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspPeerPolicyUpdatedNotif"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspAuthorizationSgaclFailNotif")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspNotifGroup = ctspNotifGroup.setStatus('current') if mibBuilder.loadTexts: ctspNotifGroup.setDescription('A collection of notifications for TrustSec policy.') ctspNotifInfoGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 25)).setObjects(("CISCO-TRUSTSEC-POLICY-MIB", "ctspOldPeerSgt"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspAuthorizationSgaclFailReason"), ("CISCO-TRUSTSEC-POLICY-MIB", "ctspAuthorizationSgaclFailInfo")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctspNotifInfoGroup = ctspNotifInfoGroup.setStatus('current') if mibBuilder.loadTexts: ctspNotifInfoGroup.setDescription('A collection of objects providing the variable binding for TrustSec policy notifications.') mibBuilder.exportSymbols("CISCO-TRUSTSEC-POLICY-MIB", ctspDefDownloadedIpTrafficType=ctspDefDownloadedIpTrafficType, ctspLayer3PolicyType=ctspLayer3PolicyType, ctspPeerTrustState=ctspPeerTrustState, ctspIfSgtValue=ctspIfSgtValue, ctspDownloadedSgaclName=ctspDownloadedSgaclName, ctspSgtCachingVlansSecond2K=ctspSgtCachingVlansSecond2K, ctspDownloadedSgtPolicyLifeTime=ctspDownloadedSgtPolicyLifeTime, ctspSgacl=ctspSgacl, ctspDownloadedDefSgtPolicyLastUpdate=ctspDownloadedDefSgtPolicyLastUpdate, ctspLayer3PolicyLocalConfig=ctspLayer3PolicyLocalConfig, ctspSgaclMappings=ctspSgaclMappings, ctspAllPeerPolicyAction=ctspAllPeerPolicyAction, ctspDefOperationalSgaclGenId=ctspDefOperationalSgaclGenId, ctspSgaclStatistics=ctspSgaclStatistics, ctspDefStatsEntry=ctspDefStatsEntry, ctspOperSgaclMappingSource=ctspOperSgaclMappingSource, ctspDefIpSwPermitPkts=ctspDefIpSwPermitPkts, ciscoTrustSecPolicyMIBObjects=ciscoTrustSecPolicyMIBObjects, ctspIfSgtMappingGroup=ctspIfSgtMappingGroup, ctspVlanConfigStorageType=ctspVlanConfigStorageType, ctspOperSgaclSourceSgt=ctspOperSgaclSourceSgt, ctspDownloadedSgtPolicyLastUpdate=ctspDownloadedSgtPolicyLastUpdate, ctspPeerPolicyUpdatedNotifEnable=ctspPeerPolicyUpdatedNotifEnable, ctspIpSgtVrfName=ctspIpSgtVrfName, ctspConfigSgaclMappingEntry=ctspConfigSgaclMappingEntry, ctspDefIpHwDropPkts=ctspDefIpHwDropPkts, ctspDefOperSgaclMappingEntry=ctspDefOperSgaclMappingEntry, ctspOperIpTrafficType=ctspOperIpTrafficType, ctspStatsIpHwMonitorPkts=ctspStatsIpHwMonitorPkts, ctspDefDownloadedSgaclMappingTable=ctspDefDownloadedSgaclMappingTable, ctspOperSgaclDestSgt=ctspOperSgaclDestSgt, ctspIpSgtMappingGroup=ctspIpSgtMappingGroup, ctspIfSgtRowStatus=ctspIfSgtRowStatus, ctspDownloadedDefSgtPolicyType=ctspDownloadedDefSgtPolicyType, ctspLayer3PolicyDownloaded=ctspLayer3PolicyDownloaded, ctspStatsDestSgt=ctspStatsDestSgt, ctspPeerSgt=ctspPeerSgt, ctspVlanConfigIndex=ctspVlanConfigIndex, ctspDefDownloadedSgaclIndex=ctspDefDownloadedSgaclIndex, ctspConfigSgaclMappingStorageType=ctspConfigSgaclMappingStorageType, ctspPeerName=ctspPeerName, ctspDefIpTrafficType=ctspDefIpTrafficType, ctspOperSgaclMappingGroup=ctspOperSgaclMappingGroup, ctspPeerPolicyUpdatedNotif=ctspPeerPolicyUpdatedNotif, ctspSgtCaching=ctspSgtCaching, ciscoTrustSecPolicyMIBComplianceRev2=ciscoTrustSecPolicyMIBComplianceRev2, ciscoTrustSecPolicyMIBConformance=ciscoTrustSecPolicyMIBConformance, ctspDefOperSgaclIndex=ctspDefOperSgaclIndex, ctspOperSgaclMappingTable=ctspOperSgaclMappingTable, ctspDownloadedSgaclGenId=ctspDownloadedSgaclGenId, ctspIfSgtMappings=ctspIfSgtMappings, ctspSgaclIpv6DropNetflowMonitor=ctspSgaclIpv6DropNetflowMonitor, ciscoTrustSecPolicyMIBGroups=ciscoTrustSecPolicyMIBGroups, ctspNotifsOnlyInfo=ctspNotifsOnlyInfo, ctspVlanConfigEntry=ctspVlanConfigEntry, ctspPeerPolicy=ctspPeerPolicy, ctspDownloadedSgaclDestSgt=ctspDownloadedSgaclDestSgt, ctspDefIpHwMonitorPkts=ctspDefIpHwMonitorPkts, ctspLayer3TransportGroup=ctspLayer3TransportGroup, ctspGlobalSgaclEnforcementGroup=ctspGlobalSgaclEnforcementGroup, ctspDownloadedSgaclMappingEntry=ctspDownloadedSgaclMappingEntry, ctspPeerPolicyActionGroup=ctspPeerPolicyActionGroup, ctspSgaclGlobals=ctspSgaclGlobals, ctspNotifInfoGroup=ctspNotifInfoGroup, ctspSgaclMonitorEnable=ctspSgaclMonitorEnable, ctspStatsIpTrafficType=ctspStatsIpTrafficType, ctspConfigSgaclMonitor=ctspConfigSgaclMonitor, ctspDefConfigIpv4Sgacls=ctspDefConfigIpv4Sgacls, ctspVlanSgtMappingGroup=ctspVlanSgtMappingGroup, ctspSgtCachingGroup=ctspSgtCachingGroup, ctspIfL3PolicyConfigEntry=ctspIfL3PolicyConfigEntry, ctspConfigSgaclMappingRowStatus=ctspConfigSgaclMappingRowStatus, ctspIpSwStatisticsGroup=ctspIpSwStatisticsGroup, ctspDownloadedSgtPolicySgt=ctspDownloadedSgtPolicySgt, ctspDefConfigIpv6SgaclsMonitor=ctspDefConfigIpv6SgaclsMonitor, ctspOperSgaclIndex=ctspOperSgaclIndex, ctspVlanSgtMappingTable=ctspVlanSgtMappingTable, ctspIfSgtMappingEntry=ctspIfSgtMappingEntry, ctspAuthorizationSgaclFailNotif=ctspAuthorizationSgaclFailNotif, ctspConfigSgaclMappingGroup=ctspConfigSgaclMappingGroup, ctspIfSgtMappingTable=ctspIfSgtMappingTable, ctspStatsIpSwDropPkts=ctspStatsIpSwDropPkts, ctspIpSgtSource=ctspIpSgtSource, ctspConfigSgaclMappingSgaclName=ctspConfigSgaclMappingSgaclName, ctspLayer3PolicyEntry=ctspLayer3PolicyEntry, ctspDownloadedSgaclSourceSgt=ctspDownloadedSgaclSourceSgt, ctspVlanConfigSgaclEnforcement=ctspVlanConfigSgaclEnforcement, ctspDefDownloadedSgaclMappingEntry=ctspDefDownloadedSgaclMappingEntry, ctspIpSgtIpAddress=ctspIpSgtIpAddress, ctspDownloadedSgaclMappingTable=ctspDownloadedSgaclMappingTable, ctspDefOperSgaclMappingTable=ctspDefOperSgaclMappingTable, ctspL3IPMStatus=ctspL3IPMStatus, ctspIfL3Ipv6PolicyEnabled=ctspIfL3Ipv6PolicyEnabled, ctspOperSgaclMonitor=ctspOperSgaclMonitor, ctspIpSgtMappings=ctspIpSgtMappings, ctspPeerPolicyAction=ctspPeerPolicyAction, ctspDownloadedDefSgtPolicyTable=ctspDownloadedDefSgtPolicyTable, ctspPeerPolicyTable=ctspPeerPolicyTable, ctspIfSgtStorageType=ctspIfSgtStorageType, ctspConfigSgaclMappingTable=ctspConfigSgaclMappingTable, PYSNMP_MODULE_ID=ciscoTrustSecPolicyMIB, ctspVlanSgtMappings=ctspVlanSgtMappings, ctspSgtCachingVlansFirst2K=ctspSgtCachingVlansFirst2K, ctspDefOperIpTrafficType=ctspDefOperIpTrafficType, ctspVlanSgtMapValue=ctspVlanSgtMapValue, ctspAuthorizationSgaclFailInfo=ctspAuthorizationSgaclFailInfo, ctspVlanSviActive=ctspVlanSviActive, ctspDownloadedSgtPolicyTable=ctspDownloadedSgtPolicyTable, ctspLayer3PolicyTable=ctspLayer3PolicyTable, ctspDownloadedIpTrafficType=ctspDownloadedIpTrafficType, ctspDownloadedSgtPolicyEntry=ctspDownloadedSgtPolicyEntry, ctspDefOperSgaclMappingSource=ctspDefOperSgaclMappingSource, ctspPeerPolicyEntry=ctspPeerPolicyEntry, ctspSgtStatsTable=ctspSgtStatsTable, ctspIfL3Ipv4PolicyEnabled=ctspIfL3Ipv4PolicyEnabled, ctspSgaclMonitorStatisticGroup=ctspSgaclMonitorStatisticGroup, ctspOperationalSgaclName=ctspOperationalSgaclName, ctspIpSgtStorageType=ctspIpSgtStorageType, ctspStatsIpSwPermitPkts=ctspStatsIpSwPermitPkts, ctspVlanSgtMappingIndex=ctspVlanSgtMappingIndex, ctspNotifsControl=ctspNotifsControl, ctspVlanSgtRowStatus=ctspVlanSgtRowStatus, ctspStatsIpSwMonitorPkts=ctspStatsIpSwMonitorPkts, ctspDefHwStatisticsGroup=ctspDefHwStatisticsGroup, ctspDownloadedDefSgtPolicyEntry=ctspDownloadedDefSgtPolicyEntry, ctspIpSgtValue=ctspIpSgtValue, ctspLayer3PolicyOperational=ctspLayer3PolicyOperational, ctspDefIpSwMonitorPkts=ctspDefIpSwMonitorPkts, ctspSgaclIpv4DropNetflowMonitor=ctspSgaclIpv4DropNetflowMonitor, ciscoTrustSecPolicyMIBNotifs=ciscoTrustSecPolicyMIBNotifs, ctspAuthorizationSgaclFailReason=ctspAuthorizationSgaclFailReason, ciscoTrustSecPolicyMIBCompliance=ciscoTrustSecPolicyMIBCompliance, ctspIpSgtMappingEntry=ctspIpSgtMappingEntry, ctspSgtStatsEntry=ctspSgtStatsEntry, ctspIfL3PolicyConfigGroup=ctspIfL3PolicyConfigGroup, ctspSgtPolicyGroup=ctspSgtPolicyGroup, ctspSgtPolicy=ctspSgtPolicy, ctspVlanConfigTable=ctspVlanConfigTable, ctspStatsSourceSgt=ctspStatsSourceSgt, ctspLayer3PolicyIpTrafficType=ctspLayer3PolicyIpTrafficType, ctspPeerPolicyLifeTime=ctspPeerPolicyLifeTime, ctspDefDownloadedSgaclGenId=ctspDefDownloadedSgaclGenId, ctspStatsIpHwPermitPkts=ctspStatsIpHwPermitPkts, ctspIpHwStatisticsGroup=ctspIpHwStatisticsGroup, ctspIpSgtAddressLength=ctspIpSgtAddressLength, ctspDownloadedSgtPolicyAction=ctspDownloadedSgtPolicyAction, ctspAllSgtPolicyAction=ctspAllSgtPolicyAction, ctspDownloadedDefSgtPolicyLifeTime=ctspDownloadedDefSgtPolicyLifeTime, ctspVlanConfigVrfName=ctspVlanConfigVrfName, ctspDownloadedDefSgtPolicySgtGenId=ctspDownloadedDefSgtPolicySgtGenId, ctspPeerSgtGenId=ctspPeerSgtGenId, ctspIfSgName=ctspIfSgName, ctspSgaclMonitorGroup=ctspSgaclMonitorGroup, ctspVlanSgtStorageType=ctspVlanSgtStorageType, ctspSgaclEnforcementEnable=ctspSgaclEnforcementEnable, ctspDefOperSgaclMonitor=ctspDefOperSgaclMonitor, ctspDownloadedSgaclMappingGroup=ctspDownloadedSgaclMappingGroup, ctspPeerPolicyGroup=ctspPeerPolicyGroup, ctspDefDownloadedSgaclMonitor=ctspDefDownloadedSgaclMonitor, ctspIfL3PolicyConfigTable=ctspIfL3PolicyConfigTable, ctspDefDownloadedSgaclName=ctspDefDownloadedSgaclName, ctspDownloadedSgtPolicySgtGenId=ctspDownloadedSgtPolicySgtGenId, ciscoTrustSecPolicyMIB=ciscoTrustSecPolicyMIB, ctspVlanConfigRowStatus=ctspVlanConfigRowStatus, ctspIpSgtRowStatus=ctspIpSgtRowStatus, ctspAuthorizationSgaclFailNotifEnable=ctspAuthorizationSgaclFailNotifEnable, ctspConfigSgaclMappingSourceSgt=ctspConfigSgaclMappingSourceSgt, ctspVlanConfigGroup=ctspVlanConfigGroup, ctspDefConfigIpv4SgaclsMonitor=ctspDefConfigIpv4SgaclsMonitor, ctspDefIpSwDropPkts=ctspDefIpSwDropPkts, ctspDefConfigIpv6Sgacls=ctspDefConfigIpv6Sgacls, ctspConfigSgaclMappingIpTrafficType=ctspConfigSgaclMappingIpTrafficType, ciscoTrustSecPolicyMIBCompliances=ciscoTrustSecPolicyMIBCompliances, ctspStatsIpHwDropPkts=ctspStatsIpHwDropPkts, ctspVlanSgtMappingEntry=ctspVlanSgtMappingEntry, ctspDefIpHwPermitPkts=ctspDefIpHwPermitPkts, ctspOperationalSgaclGenId=ctspOperationalSgaclGenId, ctspDefOperationalSgaclName=ctspDefOperationalSgaclName, ctspOperSgaclMappingEntry=ctspOperSgaclMappingEntry, ctspIpSgtMappingTable=ctspIpSgtMappingTable, ctspIfSgtMappingInfoEntry=ctspIfSgtMappingInfoEntry, ctspLayer3Transport=ctspLayer3Transport, ctspSgaclIpv4DropNetflowMonitorGroup=ctspSgaclIpv4DropNetflowMonitorGroup, ctspSgtCachingMode=ctspSgtCachingMode, ctspOperSgaclConfigSource=ctspOperSgaclConfigSource, ctspDownloadedSgaclMonitor=ctspDownloadedSgaclMonitor, ctspDefSwStatisticsGroup=ctspDefSwStatisticsGroup, ctspIpSgtAddressType=ctspIpSgtAddressType, ctspPeerPolicyLastUpdate=ctspPeerPolicyLastUpdate, ctspDownloadedDefSgtPolicyAction=ctspDownloadedDefSgtPolicyAction, ctspOldPeerSgt=ctspOldPeerSgt, ctspNotifGroup=ctspNotifGroup, ctspDefOperSgaclConfigSource=ctspDefOperSgaclConfigSource, ctspDefStatsTable=ctspDefStatsTable, ctspSgaclIpv6DropNetflowMonitorGroup=ctspSgaclIpv6DropNetflowMonitorGroup, ctspConfigSgaclMappingDestSgt=ctspConfigSgaclMappingDestSgt, ctspIfSgtMappingInfoTable=ctspIfSgtMappingInfoTable, ctspNotifCtrlGroup=ctspNotifCtrlGroup, ctspDownloadedSgaclIndex=ctspDownloadedSgaclIndex)
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, constraints_intersection, single_value_constraint, value_size_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsUnion') (cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt') (cisco2_k_vlan_list, cisco_vrf_name) = mibBuilder.importSymbols('CISCO-TC', 'Cisco2KVlanList', 'CiscoVrfName') (cts_acl_name_or_empty, cts_acl_list, cts_generation_id, cts_acl_name, cts_acl_list_or_empty, cts_sgacl_monitor_mode, cts_security_group_tag) = mibBuilder.importSymbols('CISCO-TRUSTSEC-TC-MIB', 'CtsAclNameOrEmpty', 'CtsAclList', 'CtsGenerationId', 'CtsAclName', 'CtsAclListOrEmpty', 'CtsSgaclMonitorMode', 'CtsSecurityGroupTag') (if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex') (inet_address_type, inet_address, inet_address_prefix_length) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddressType', 'InetAddress', 'InetAddressPrefixLength') (vlan_index,) = mibBuilder.importSymbols('Q-BRIDGE-MIB', 'VlanIndex') (snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString') (notification_group, object_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ObjectGroup', 'ModuleCompliance') (counter32, unsigned32, bits, object_identity, iso, counter64, gauge32, integer32, time_ticks, mib_identifier, module_identity, notification_type, mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter32', 'Unsigned32', 'Bits', 'ObjectIdentity', 'iso', 'Counter64', 'Gauge32', 'Integer32', 'TimeTicks', 'MibIdentifier', 'ModuleIdentity', 'NotificationType', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress') (display_string, storage_type, truth_value, row_status, date_and_time, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'StorageType', 'TruthValue', 'RowStatus', 'DateAndTime', 'TextualConvention') cisco_trust_sec_policy_mib = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 713)) ciscoTrustSecPolicyMIB.setRevisions(('2012-12-19 00:00', '2009-11-06 00:00')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ciscoTrustSecPolicyMIB.setRevisionsDescriptions(('Added following OBJECT-GROUP: - ctspNotifCtrlGroup - ctspNotifGroup - ctspNotifInfoGroup - ctspIfSgtMappingGroup - ctspVlanSgtMappingGroup - ctspSgtCachingGroup - ctspSgaclMonitorGroup - ctspSgaclMonitorStatisticGroup Added new compliance - ciscoTrustSecPolicyMIBCompliances Modified ctspIpSgtSource to add l3if(6), vlan(7), caching(8).', 'Initial version of this MIB module.')) if mibBuilder.loadTexts: ciscoTrustSecPolicyMIB.setLastUpdated('201212190000Z') if mibBuilder.loadTexts: ciscoTrustSecPolicyMIB.setOrganization('Cisco Systems, Inc.') if mibBuilder.loadTexts: ciscoTrustSecPolicyMIB.setContactInfo('Cisco Systems Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553-NETS E-mail: [email protected]') if mibBuilder.loadTexts: ciscoTrustSecPolicyMIB.setDescription('This MIB module defines managed objects that facilitate the management of various policies within the Cisco Trusted Security (TrustSec) infrastructure. The information available through this MIB includes: o Device and interface level configuration for enabling SGACL (Security Group Access Control List) enforcement on Layer2/3 traffic. o Administrative and operational SGACL mapping to Security Group Tag (SGT). o Various statistics counters for traffic subject to SGACL enforcement. o TrustSec policies with respect to peer device. o Interface level configuration for enabling the propagation of SGT along with the Layer 3 traffic in portions of network which does not have the capability to support TrustSec feature. o TrustSec policies with respect to SGT propagation with Layer 3 traffic. The following terms are used throughout this MIB: VRF: Virtual Routing and Forwarding. SGACL: Security Group Access Control List. ACE: Access Control Entries. SXP: SGT Propagation Protocol. SVI: Switch Virtual Interface. IPM: Identity Port Mapping. SGT (Security Group Tag) is a unique 16 bits value assigned to every security group and used by network devices to enforce SGACL. Peer is another device connected to the local device on the other side of a TrustSec link. Default Policy: Policy applied to traffic when there is no explicit policy between the SGT associated with the originator of the traffic and the SGT associated with the destination of the traffic.') cisco_trust_sec_policy_mib_notifs = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 0)) cisco_trust_sec_policy_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1)) cisco_trust_sec_policy_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 2)) ctsp_sgacl = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1)) ctsp_peer_policy = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2)) ctsp_layer3_transport = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3)) ctsp_ip_sgt_mappings = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4)) ctsp_sgt_policy = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5)) ctsp_if_sgt_mappings = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 6)) ctsp_vlan_sgt_mappings = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 7)) ctsp_sgt_caching = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 8)) ctsp_notifs_control = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 9)) ctsp_notifs_only_info = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 10)) ctsp_sgacl_globals = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1)) ctsp_sgacl_mappings = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2)) ctsp_sgacl_statistics = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3)) ctsp_sgacl_enforcement_enable = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('none', 1), ('l3Only', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ctspSgaclEnforcementEnable.setStatus('current') if mibBuilder.loadTexts: ctspSgaclEnforcementEnable.setDescription("This object specifies whether SGACL enforcement for all Layer 3 interfaces (excluding SVIs) is enabled at the managed system. 'none' indicates that SGACL enforcement for all Layer 3 interfaces (excluding SVIs) is disabled. 'l3Only' indicates that SGACL enforcement is enabled on every TrustSec capable Layer3 interface (excluding SVIs) in the device.") ctsp_sgacl_ipv4_drop_netflow_monitor = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 2), snmp_admin_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ctspSgaclIpv4DropNetflowMonitor.setStatus('current') if mibBuilder.loadTexts: ctspSgaclIpv4DropNetflowMonitor.setDescription('This object specifies an existing flexible netflow monitor name used to collect and export the IPv4 traffic dropped packets statistics due to SGACL enforcement. The zero-length string indicates that no such netflow monitor is configured in the device.') ctsp_sgacl_ipv6_drop_netflow_monitor = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 3), snmp_admin_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ctspSgaclIpv6DropNetflowMonitor.setStatus('current') if mibBuilder.loadTexts: ctspSgaclIpv6DropNetflowMonitor.setDescription('This object specifies an existing flexible netflow monitor name used to collect and export the IPv6 traffic dropped packets statistics due to SGACL enforcement. The zero-length string indicates that no such netflow monitor is configured in the device.') ctsp_vlan_config_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 4)) if mibBuilder.loadTexts: ctspVlanConfigTable.setStatus('current') if mibBuilder.loadTexts: ctspVlanConfigTable.setDescription('This table lists the SGACL enforcement for Layer 2 and Layer 3 switched packet in a VLAN as well as VRF information for VLANs in the device.') ctsp_vlan_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 4, 1)).setIndexNames((0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspVlanConfigIndex')) if mibBuilder.loadTexts: ctspVlanConfigEntry.setStatus('current') if mibBuilder.loadTexts: ctspVlanConfigEntry.setDescription('Each row contains the SGACL enforcement information for Layer 2 and Layer 3 switched packets in a VLAN identified by its VlanIndex value. Entry in this table is populated for VLANs which contains SGACL enforcement or VRF configuration.') ctsp_vlan_config_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 4, 1, 1), vlan_index()) if mibBuilder.loadTexts: ctspVlanConfigIndex.setStatus('current') if mibBuilder.loadTexts: ctspVlanConfigIndex.setDescription('This object indicates the VLAN-ID of this VLAN.') ctsp_vlan_config_sgacl_enforcement = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 4, 1, 2), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: ctspVlanConfigSgaclEnforcement.setStatus('current') if mibBuilder.loadTexts: ctspVlanConfigSgaclEnforcement.setDescription("This object specifies the configured SGACL enforcement status for this VLAN i.e., 'true' = enabled and 'false' = disabled.") ctsp_vlan_svi_active = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 4, 1, 3), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspVlanSviActive.setStatus('current') if mibBuilder.loadTexts: ctspVlanSviActive.setDescription("This object indicates if there is an active SVI associated with this VLAN. 'true' indicates that there is an active SVI associated with this VLAN. and SGACL is enforced for both Layer 2 and Layer 3 switched packets within that VLAN. 'false' indicates that there is no active SVI associated with this VLAN, and SGACL is only enforced for Layer 2 switched packets within that VLAN.") ctsp_vlan_config_vrf_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 4, 1, 4), cisco_vrf_name()).setMaxAccess('readcreate') if mibBuilder.loadTexts: ctspVlanConfigVrfName.setStatus('current') if mibBuilder.loadTexts: ctspVlanConfigVrfName.setDescription('This object specifies an existing VRF where this VLAN belongs to. The zero length value indicates this VLAN belongs to the default VRF.') ctsp_vlan_config_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 4, 1, 5), storage_type().clone('volatile')).setMaxAccess('readcreate') if mibBuilder.loadTexts: ctspVlanConfigStorageType.setStatus('current') if mibBuilder.loadTexts: ctspVlanConfigStorageType.setDescription('The objects specifies the storage type for this conceptual row.') ctsp_vlan_config_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 1, 4, 1, 6), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: ctspVlanConfigRowStatus.setStatus('current') if mibBuilder.loadTexts: ctspVlanConfigRowStatus.setDescription("The status of this conceptual row entry. This object is used to manage creation and deletion of rows in this table. When this object value is 'active', other writable objects in the same row cannot be modified.") ctsp_config_sgacl_mapping_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 1)) if mibBuilder.loadTexts: ctspConfigSgaclMappingTable.setStatus('current') if mibBuilder.loadTexts: ctspConfigSgaclMappingTable.setDescription('This table contains the SGACLs information which is applied to unicast IP traffic which carries a source SGT and travels to a destination SGT.') ctsp_config_sgacl_mapping_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 1, 1)).setIndexNames((0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspConfigSgaclMappingIpTrafficType'), (0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspConfigSgaclMappingDestSgt'), (0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspConfigSgaclMappingSourceSgt')) if mibBuilder.loadTexts: ctspConfigSgaclMappingEntry.setStatus('current') if mibBuilder.loadTexts: ctspConfigSgaclMappingEntry.setDescription('Each row contains the SGACL mapping to source and destination SGT for a certain traffic type as well as status of this instance. A row instance can be created or removed by setting the appropriate value of its RowStatus object.') ctsp_config_sgacl_mapping_ip_traffic_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ipv4', 1), ('ipv6', 2)))) if mibBuilder.loadTexts: ctspConfigSgaclMappingIpTrafficType.setStatus('current') if mibBuilder.loadTexts: ctspConfigSgaclMappingIpTrafficType.setDescription('This object indicates the type of the unicast IP traffic carrying the source SGT and travelling to destination SGT and subjected to SGACL enforcement.') ctsp_config_sgacl_mapping_dest_sgt = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 1, 1, 2), cts_security_group_tag()) if mibBuilder.loadTexts: ctspConfigSgaclMappingDestSgt.setStatus('current') if mibBuilder.loadTexts: ctspConfigSgaclMappingDestSgt.setDescription('This object indicates the destination SGT value. Value of zero indicates that the destination SGT is unknown.') ctsp_config_sgacl_mapping_source_sgt = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 1, 1, 3), cts_security_group_tag()) if mibBuilder.loadTexts: ctspConfigSgaclMappingSourceSgt.setStatus('current') if mibBuilder.loadTexts: ctspConfigSgaclMappingSourceSgt.setDescription('This object indicates the source SGT value. Value of zero indicates that the source SGT is unknown.') ctsp_config_sgacl_mapping_sgacl_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 1, 1, 4), cts_acl_list()).setMaxAccess('readcreate') if mibBuilder.loadTexts: ctspConfigSgaclMappingSgaclName.setStatus('current') if mibBuilder.loadTexts: ctspConfigSgaclMappingSgaclName.setDescription('This object specifies the list of existing SGACLs which is administratively configured to apply to unicast IP traffic carrying the source SGT to the destination SGT.') ctsp_config_sgacl_mapping_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 1, 1, 5), storage_type().clone('volatile')).setMaxAccess('readcreate') if mibBuilder.loadTexts: ctspConfigSgaclMappingStorageType.setStatus('current') if mibBuilder.loadTexts: ctspConfigSgaclMappingStorageType.setDescription('The storage type for this conceptual row.') ctsp_config_sgacl_mapping_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 1, 1, 6), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: ctspConfigSgaclMappingRowStatus.setStatus('current') if mibBuilder.loadTexts: ctspConfigSgaclMappingRowStatus.setDescription('This object is used to manage the creation and deletion of rows in this table. ctspConfigSgaclName may be modified at any time.') ctsp_config_sgacl_monitor = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 1, 1, 7), cts_sgacl_monitor_mode().clone('off')).setMaxAccess('readcreate') if mibBuilder.loadTexts: ctspConfigSgaclMonitor.setStatus('current') if mibBuilder.loadTexts: ctspConfigSgaclMonitor.setDescription('This object specifies whether SGACL monitor mode is turned on for the configured SGACL enforced traffic.') ctsp_def_config_ipv4_sgacls = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 2), cts_acl_list_or_empty()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ctspDefConfigIpv4Sgacls.setStatus('current') if mibBuilder.loadTexts: ctspDefConfigIpv4Sgacls.setDescription('This object specifies the SGACLs of the unicast default policy for IPv4 traffic. If there is no SGACL configured for unicast default policy for IPv4 traffic, the value of this object is the zero-length string.') ctsp_def_config_ipv6_sgacls = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 3), cts_acl_list_or_empty()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ctspDefConfigIpv6Sgacls.setStatus('current') if mibBuilder.loadTexts: ctspDefConfigIpv6Sgacls.setDescription('This object specifies the SGACLs of the unicast default policy for IPv6 traffic. If there is no SGACL configured for unicast default policy for IPv6 traffic, the value of this object is the zero-length string.') ctsp_downloaded_sgacl_mapping_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 4)) if mibBuilder.loadTexts: ctspDownloadedSgaclMappingTable.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgaclMappingTable.setDescription('This table contains the downloaded SGACLs information applied to unicast IP traffic which carries a source SGT and travels to a destination SGT.') ctsp_downloaded_sgacl_mapping_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 4, 1)).setIndexNames((0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspDownloadedSgaclDestSgt'), (0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspDownloadedSgaclSourceSgt'), (0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspDownloadedSgaclIndex')) if mibBuilder.loadTexts: ctspDownloadedSgaclMappingEntry.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgaclMappingEntry.setDescription('Each row contains the downloaded SGACLs mapping. A row instance is added for each pair of <source SGT, destination SGT> which contains SGACL that is dynamically downloaded from ACS server.') ctsp_downloaded_sgacl_dest_sgt = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 4, 1, 1), cts_security_group_tag()) if mibBuilder.loadTexts: ctspDownloadedSgaclDestSgt.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgaclDestSgt.setDescription('This object indicates the destination SGT value. Value of zero indicates that the destination SGT is unknown.') ctsp_downloaded_sgacl_source_sgt = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 4, 1, 2), cts_security_group_tag()) if mibBuilder.loadTexts: ctspDownloadedSgaclSourceSgt.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgaclSourceSgt.setDescription('This object indicates the source SGT value. Value of zero indicates that the source SGT is unknown.') ctsp_downloaded_sgacl_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 4, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535))) if mibBuilder.loadTexts: ctspDownloadedSgaclIndex.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgaclIndex.setDescription('This object identifies the downloaded SGACL which is applied to unicast IP traffic carrying the source SGT to the destination SGT.') ctsp_downloaded_sgacl_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 4, 1, 4), cts_acl_name()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDownloadedSgaclName.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgaclName.setDescription('This object indicates the name of downloaded SGACL which is applied to unicast IP traffic carrying the source SGT to the destination SGT.') ctsp_downloaded_sgacl_gen_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 4, 1, 5), cts_generation_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDownloadedSgaclGenId.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgaclGenId.setDescription('This object indicates the generation identification of downloaded SGACL which is applied to unicast IP traffic carrying the source SGT to the destination SGT.') ctsp_downloaded_ip_traffic_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 4, 1, 6), bits().clone(namedValues=named_values(('ipv4', 0), ('ipv6', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDownloadedIpTrafficType.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedIpTrafficType.setDescription('This object indicates the type of the unicast IP traffic carrying the source SGT and travelling to destination SGT and subjected to SGACL enforcement by this downloaded default policy.') ctsp_downloaded_sgacl_monitor = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 4, 1, 7), cts_sgacl_monitor_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDownloadedSgaclMonitor.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgaclMonitor.setDescription('This object indicates whether SGACL monitor mode is turned on for the downloaded SGACL enforced traffic.') ctsp_def_downloaded_sgacl_mapping_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 5)) if mibBuilder.loadTexts: ctspDefDownloadedSgaclMappingTable.setStatus('current') if mibBuilder.loadTexts: ctspDefDownloadedSgaclMappingTable.setDescription('This table contains the downloaded SGACLs information of the default policy applied to unicast IP traffic.') ctsp_def_downloaded_sgacl_mapping_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 5, 1)).setIndexNames((0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefDownloadedSgaclIndex')) if mibBuilder.loadTexts: ctspDefDownloadedSgaclMappingEntry.setStatus('current') if mibBuilder.loadTexts: ctspDefDownloadedSgaclMappingEntry.setDescription('Each row contains the downloaded SGACLs mapping. A row instance contains the SGACL information of the default policy dynamically downloaded from ACS server for unicast IP traffic.') ctsp_def_downloaded_sgacl_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 5, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535))) if mibBuilder.loadTexts: ctspDefDownloadedSgaclIndex.setStatus('current') if mibBuilder.loadTexts: ctspDefDownloadedSgaclIndex.setDescription('This object identifies the SGACL of downloaded default policy applied to unicast IP traffic.') ctsp_def_downloaded_sgacl_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 5, 1, 2), cts_acl_name()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDefDownloadedSgaclName.setStatus('current') if mibBuilder.loadTexts: ctspDefDownloadedSgaclName.setDescription('This object indicates the name of the SGACL of downloaded default policy applied to unicast IP traffic.') ctsp_def_downloaded_sgacl_gen_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 5, 1, 3), cts_generation_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDefDownloadedSgaclGenId.setStatus('current') if mibBuilder.loadTexts: ctspDefDownloadedSgaclGenId.setDescription('This object indicates the generation identification of the SGACL of downloaded default policy applied to unicast IP traffic.') ctsp_def_downloaded_ip_traffic_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 5, 1, 4), bits().clone(namedValues=named_values(('ipv4', 0), ('ipv6', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDefDownloadedIpTrafficType.setStatus('current') if mibBuilder.loadTexts: ctspDefDownloadedIpTrafficType.setDescription('This object indicates the type of the IP traffic subjected to SGACL enforcement by this downloaded default policy.') ctsp_def_downloaded_sgacl_monitor = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 5, 1, 5), cts_sgacl_monitor_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDefDownloadedSgaclMonitor.setStatus('current') if mibBuilder.loadTexts: ctspDefDownloadedSgaclMonitor.setDescription('This object indicates whether SGACL monitor mode is turned on for the default downloaded SGACL enforced traffic.') ctsp_oper_sgacl_mapping_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6)) if mibBuilder.loadTexts: ctspOperSgaclMappingTable.setStatus('current') if mibBuilder.loadTexts: ctspOperSgaclMappingTable.setDescription('This table contains the operational SGACLs information applied to unicast IP traffic which carries a source SGT and travels to a destination SGT.') ctsp_oper_sgacl_mapping_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6, 1)).setIndexNames((0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspOperIpTrafficType'), (0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspOperSgaclDestSgt'), (0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspOperSgaclSourceSgt'), (0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspOperSgaclIndex')) if mibBuilder.loadTexts: ctspOperSgaclMappingEntry.setStatus('current') if mibBuilder.loadTexts: ctspOperSgaclMappingEntry.setDescription('Each row contains the operational SGACLs mapping. A row instance is added for each pair of <source SGT, destination SGT> which contains the SGACL that either statically configured at the device or dynamically downloaded from ACS server.') ctsp_oper_ip_traffic_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ipv4', 1), ('ipv6', 2)))) if mibBuilder.loadTexts: ctspOperIpTrafficType.setStatus('current') if mibBuilder.loadTexts: ctspOperIpTrafficType.setDescription('This object indicates the type of the unicast IP traffic carrying the source SGT and travelling to destination SGT and subjected to SGACL enforcement.') ctsp_oper_sgacl_dest_sgt = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6, 1, 2), cts_security_group_tag()) if mibBuilder.loadTexts: ctspOperSgaclDestSgt.setStatus('current') if mibBuilder.loadTexts: ctspOperSgaclDestSgt.setDescription('This object indicates the destination SGT value. Value of zero indicates that the destination SGT is unknown.') ctsp_oper_sgacl_source_sgt = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6, 1, 3), cts_security_group_tag()) if mibBuilder.loadTexts: ctspOperSgaclSourceSgt.setStatus('current') if mibBuilder.loadTexts: ctspOperSgaclSourceSgt.setDescription('This object indicates the source SGT value. Value of zero indicates that the source SGT is unknown.') ctsp_oper_sgacl_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535))) if mibBuilder.loadTexts: ctspOperSgaclIndex.setStatus('current') if mibBuilder.loadTexts: ctspOperSgaclIndex.setDescription('This object identifies the SGACL operationally applied to unicast IP traffic carrying the source SGT to the destination SGT.') ctsp_operational_sgacl_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6, 1, 5), cts_acl_name()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspOperationalSgaclName.setStatus('current') if mibBuilder.loadTexts: ctspOperationalSgaclName.setDescription('This object indicates the name of the SGACL operationally applied to unicast IP traffic carrying the source SGT to the destination SGT.') ctsp_operational_sgacl_gen_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6, 1, 6), cts_generation_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspOperationalSgaclGenId.setStatus('current') if mibBuilder.loadTexts: ctspOperationalSgaclGenId.setDescription('This object indicates the generation identification of the SGACL operationally applied to unicast IP traffic carrying the source SGT to the destination SGT.') ctsp_oper_sgacl_mapping_source = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('configured', 1), ('downloaded', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspOperSgaclMappingSource.setStatus('current') if mibBuilder.loadTexts: ctspOperSgaclMappingSource.setDescription("This object indicates the source of SGACL mapping for the SGACL operationally applied to unicast IP traffic carrying the source SGT to the destination SGT. 'downloaded' indicates that the mapping is downloaded from ACS server. 'configured' indicates that the mapping is locally configured in the device.") ctsp_oper_sgacl_config_source = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('configured', 1), ('downloaded', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspOperSgaclConfigSource.setStatus('current') if mibBuilder.loadTexts: ctspOperSgaclConfigSource.setDescription("This object indicates the source of SGACL creation for this SGACL. 'configured' indicates that the SGACL is locally configured in the local device. 'downloaded' indicates that the SGACL is created at ACS server and downloaded to the local device.") ctsp_oper_sgacl_monitor = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 6, 1, 9), cts_sgacl_monitor_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspOperSgaclMonitor.setStatus('current') if mibBuilder.loadTexts: ctspOperSgaclMonitor.setDescription('This object indicates whether SGACL monitor mode is turned on for the SGACL enforced traffic.') ctsp_def_oper_sgacl_mapping_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 7)) if mibBuilder.loadTexts: ctspDefOperSgaclMappingTable.setStatus('current') if mibBuilder.loadTexts: ctspDefOperSgaclMappingTable.setDescription('This table contains the operational SGACLs information of the default policy applied to unicast IP traffic.') ctsp_def_oper_sgacl_mapping_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 7, 1)).setIndexNames((0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefOperIpTrafficType'), (0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefOperSgaclIndex')) if mibBuilder.loadTexts: ctspDefOperSgaclMappingEntry.setStatus('current') if mibBuilder.loadTexts: ctspDefOperSgaclMappingEntry.setDescription('A row instance contains the SGACL information of the default policy which is either statically configured at the device or dynamically downloaded from ACS server for unicast IP traffic.') ctsp_def_oper_ip_traffic_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 7, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ipv4', 1), ('ipv6', 2)))) if mibBuilder.loadTexts: ctspDefOperIpTrafficType.setStatus('current') if mibBuilder.loadTexts: ctspDefOperIpTrafficType.setDescription('This object indicates the type of the unicast IP traffic subjected to default policy enforcement.') ctsp_def_oper_sgacl_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 7, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535))) if mibBuilder.loadTexts: ctspDefOperSgaclIndex.setStatus('current') if mibBuilder.loadTexts: ctspDefOperSgaclIndex.setDescription('This object identifies the SGACL of default policy operationally applied to unicast IP traffic.') ctsp_def_operational_sgacl_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 7, 1, 3), cts_acl_name()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDefOperationalSgaclName.setStatus('current') if mibBuilder.loadTexts: ctspDefOperationalSgaclName.setDescription('This object indicates the name of the SGACL of default policy operationally applied to unicast IP traffic.') ctsp_def_operational_sgacl_gen_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 7, 1, 4), cts_generation_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDefOperationalSgaclGenId.setStatus('current') if mibBuilder.loadTexts: ctspDefOperationalSgaclGenId.setDescription('This object indicates the generation identification of the SGACL of default policy operationally applied to unicast IP traffic.') ctsp_def_oper_sgacl_mapping_source = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 7, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('configured', 1), ('downloaded', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDefOperSgaclMappingSource.setStatus('current') if mibBuilder.loadTexts: ctspDefOperSgaclMappingSource.setDescription("This object indicates the source of SGACL mapping for the SGACL of default policy operationally applied to unicast IP traffic. 'downloaded' indicates that the mapping is downloaded from ACS server. 'configured' indicates that the mapping is locally configured in the device.") ctsp_def_oper_sgacl_config_source = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 7, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('configured', 1), ('downloaded', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDefOperSgaclConfigSource.setStatus('current') if mibBuilder.loadTexts: ctspDefOperSgaclConfigSource.setDescription("This object indicates the source of SGACL creation for the SGACL of default policy operationally applied to unicast IP traffic. 'downloaded' indicates that the SGACL is created at ACS server and downloaded to the local device. 'configured' indicates that the SGACL is locally configured in the local device.") ctsp_def_oper_sgacl_monitor = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 7, 1, 7), cts_sgacl_monitor_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDefOperSgaclMonitor.setStatus('current') if mibBuilder.loadTexts: ctspDefOperSgaclMonitor.setDescription('This object indicates whether SGACL monitor mode is turned on for the SGACL of default policy enforced traffic.') ctsp_def_config_ipv4_sgacls_monitor = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 8), cts_sgacl_monitor_mode()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ctspDefConfigIpv4SgaclsMonitor.setStatus('current') if mibBuilder.loadTexts: ctspDefConfigIpv4SgaclsMonitor.setDescription('This object specifies whether SGACL monitor mode is turned on for the default configured SGACL enforced Ipv4 traffic.') ctsp_def_config_ipv6_sgacls_monitor = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 9), cts_sgacl_monitor_mode()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ctspDefConfigIpv6SgaclsMonitor.setStatus('current') if mibBuilder.loadTexts: ctspDefConfigIpv6SgaclsMonitor.setDescription('This object specifies whether SGACL monitor mode is turned on for the default configured SGACL enforced Ipv6 traffic.') ctsp_sgacl_monitor_enable = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 2, 10), cts_sgacl_monitor_mode()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ctspSgaclMonitorEnable.setStatus('current') if mibBuilder.loadTexts: ctspSgaclMonitorEnable.setDescription('This object specifies whether SGACL monitor mode is turned on for the entire system. It has precedence than the per SGACL ctspConfigSgaclMonitor control. It could act as safety mechanism to turn off monitor in case the monitor feature impact system performance.') ctsp_sgt_stats_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1)) if mibBuilder.loadTexts: ctspSgtStatsTable.setStatus('current') if mibBuilder.loadTexts: ctspSgtStatsTable.setDescription('This table describes SGACL statistics counters per a pair of <source SGT, destination SGT> that is capable of providing this information.') ctsp_sgt_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1, 1)).setIndexNames((0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspStatsIpTrafficType'), (0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspStatsDestSgt'), (0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspStatsSourceSgt')) if mibBuilder.loadTexts: ctspSgtStatsEntry.setStatus('current') if mibBuilder.loadTexts: ctspSgtStatsEntry.setDescription('Each row contains the SGACL statistics related to IPv4 or IPv6 packets carrying the source SGT travelling to the destination SGT and subjected to SGACL enforcement.') ctsp_stats_ip_traffic_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ipv4', 1), ('ipv6', 2)))) if mibBuilder.loadTexts: ctspStatsIpTrafficType.setStatus('current') if mibBuilder.loadTexts: ctspStatsIpTrafficType.setDescription('This object indicates the type of the unicast IP traffic carrying the source SGT and travelling to destination SGT and subjected to SGACL enforcement.') ctsp_stats_dest_sgt = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1, 1, 2), cts_security_group_tag()) if mibBuilder.loadTexts: ctspStatsDestSgt.setStatus('current') if mibBuilder.loadTexts: ctspStatsDestSgt.setDescription('This object indicates the destination SGT value. Value of zero indicates that the destination SGT is unknown.') ctsp_stats_source_sgt = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1, 1, 3), cts_security_group_tag()) if mibBuilder.loadTexts: ctspStatsSourceSgt.setStatus('current') if mibBuilder.loadTexts: ctspStatsSourceSgt.setDescription('This object indicates the source SGT value. Value of zero indicates that the source SGT is unknown.') ctsp_stats_ip_sw_drop_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1, 1, 4), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspStatsIpSwDropPkts.setStatus('current') if mibBuilder.loadTexts: ctspStatsIpSwDropPkts.setDescription('This object indicates the number of software-forwarded IP packets which are dropped by SGACL.') ctsp_stats_ip_hw_drop_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1, 1, 5), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspStatsIpHwDropPkts.setStatus('current') if mibBuilder.loadTexts: ctspStatsIpHwDropPkts.setDescription('This object indicates the number of hardware-forwarded IP packets which are dropped by SGACL.') ctsp_stats_ip_sw_permit_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1, 1, 6), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspStatsIpSwPermitPkts.setStatus('current') if mibBuilder.loadTexts: ctspStatsIpSwPermitPkts.setDescription('This object indicates the number of software-forwarded IP packets which are permitted by SGACL.') ctsp_stats_ip_hw_permit_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1, 1, 7), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspStatsIpHwPermitPkts.setStatus('current') if mibBuilder.loadTexts: ctspStatsIpHwPermitPkts.setDescription('This object indicates the number of hardware-forwarded IP packets which are permitted by SGACL.') ctsp_stats_ip_sw_monitor_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1, 1, 8), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspStatsIpSwMonitorPkts.setStatus('current') if mibBuilder.loadTexts: ctspStatsIpSwMonitorPkts.setDescription('This object indicates the number of software-forwarded IP packets which are SGACL enforced & monitored.') ctsp_stats_ip_hw_monitor_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 1, 1, 9), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspStatsIpHwMonitorPkts.setStatus('current') if mibBuilder.loadTexts: ctspStatsIpHwMonitorPkts.setDescription('This object indicates the number of hardware-forwarded IP packets which are SGACL enforced & monitored.') ctsp_def_stats_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 2)) if mibBuilder.loadTexts: ctspDefStatsTable.setStatus('current') if mibBuilder.loadTexts: ctspDefStatsTable.setDescription('This table describes statistics counters for unicast IP traffic subjected to default unicast policy.') ctsp_def_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 2, 1)).setIndexNames((0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefIpTrafficType')) if mibBuilder.loadTexts: ctspDefStatsEntry.setStatus('current') if mibBuilder.loadTexts: ctspDefStatsEntry.setDescription('Each row contains the statistics counter for each IP traffic type.') ctsp_def_ip_traffic_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 2, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ipv4', 1), ('ipv6', 2)))) if mibBuilder.loadTexts: ctspDefIpTrafficType.setStatus('current') if mibBuilder.loadTexts: ctspDefIpTrafficType.setDescription('This object indicates the type of the IP traffic subjected to default unicast policy enforcement.') ctsp_def_ip_sw_drop_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 2, 1, 2), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDefIpSwDropPkts.setStatus('current') if mibBuilder.loadTexts: ctspDefIpSwDropPkts.setDescription('This object indicates the number of software-forwarded IP packets which are dropped by default unicast policy.') ctsp_def_ip_hw_drop_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 2, 1, 3), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDefIpHwDropPkts.setStatus('current') if mibBuilder.loadTexts: ctspDefIpHwDropPkts.setDescription('This object indicates the number of hardware-forwarded IP packets which are dropped by default unicast policy.') ctsp_def_ip_sw_permit_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 2, 1, 4), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDefIpSwPermitPkts.setStatus('current') if mibBuilder.loadTexts: ctspDefIpSwPermitPkts.setDescription('This object indicates the number of software-forwarded IP packets which are permitted by default unicast policy.') ctsp_def_ip_hw_permit_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 2, 1, 5), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDefIpHwPermitPkts.setStatus('current') if mibBuilder.loadTexts: ctspDefIpHwPermitPkts.setDescription('This object indicates the number of hardware-forwarded IP packets which are permitted by default unicast policy.') ctsp_def_ip_sw_monitor_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 2, 1, 6), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDefIpSwMonitorPkts.setStatus('current') if mibBuilder.loadTexts: ctspDefIpSwMonitorPkts.setDescription('This object indicates the number of software-forwarded IP packets which are monitored by default unicast policy.') ctsp_def_ip_hw_monitor_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 1, 3, 2, 1, 7), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDefIpHwMonitorPkts.setStatus('current') if mibBuilder.loadTexts: ctspDefIpHwMonitorPkts.setDescription('This object indicates the number of hardware-forwarded IP packets which are monitored by default unicast policy.') ctsp_all_peer_policy_action = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('none', 1), ('refresh', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ctspAllPeerPolicyAction.setStatus('current') if mibBuilder.loadTexts: ctspAllPeerPolicyAction.setDescription("This object allows user to specify the action to be taken with respect to all peer policies in the device. When read, this object always returns the value 'none'. 'none' - No operation. 'refresh' - Refresh all peer policies in the device.") ctsp_peer_policy_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2, 2)) if mibBuilder.loadTexts: ctspPeerPolicyTable.setStatus('current') if mibBuilder.loadTexts: ctspPeerPolicyTable.setDescription('This table lists the peer policy information for each peer device.') ctsp_peer_policy_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2, 2, 1)).setIndexNames((1, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspPeerName')) if mibBuilder.loadTexts: ctspPeerPolicyEntry.setStatus('current') if mibBuilder.loadTexts: ctspPeerPolicyEntry.setDescription('Each row contains the managed objects for peer policies for each peer device based on its name.') ctsp_peer_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2, 2, 1, 1), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 128))) if mibBuilder.loadTexts: ctspPeerName.setStatus('current') if mibBuilder.loadTexts: ctspPeerName.setDescription('This object uniquely identifies a peer device.') ctsp_peer_sgt = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2, 2, 1, 2), cts_security_group_tag()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspPeerSgt.setStatus('current') if mibBuilder.loadTexts: ctspPeerSgt.setDescription('This object indicates the SGT value of this peer device.') ctsp_peer_sgt_gen_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2, 2, 1, 3), cts_generation_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspPeerSgtGenId.setStatus('current') if mibBuilder.loadTexts: ctspPeerSgtGenId.setDescription('This object indicates the generation identification of the SGT value assigned to this peer device.') ctsp_peer_trust_state = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('trusted', 1), ('noTrust', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspPeerTrustState.setStatus('current') if mibBuilder.loadTexts: ctspPeerTrustState.setDescription("This object indicates the TrustSec trust state of this peer device. 'trusted' indicates that this is a trusted peer device. 'noTrust' indicates that this peer device is not trusted.") ctsp_peer_policy_life_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2, 2, 1, 5), unsigned32()).setUnits('seconds').setMaxAccess('readonly') if mibBuilder.loadTexts: ctspPeerPolicyLifeTime.setStatus('current') if mibBuilder.loadTexts: ctspPeerPolicyLifeTime.setDescription('This object indicates the policy life time which provides the time interval during which the peer policy is valid.') ctsp_peer_policy_last_update = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2, 2, 1, 6), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspPeerPolicyLastUpdate.setStatus('current') if mibBuilder.loadTexts: ctspPeerPolicyLastUpdate.setDescription('This object indicates the time when this peer policy is last updated.') ctsp_peer_policy_action = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 2, 2, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('none', 1), ('refresh', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ctspPeerPolicyAction.setStatus('current') if mibBuilder.loadTexts: ctspPeerPolicyAction.setDescription("This object allows user to specify the action to be taken with this peer policy. When read, this object always returns the value 'none'. 'none' - No operation. 'refresh' - Refresh this peer policy.") ctsp_layer3_policy_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 1)) if mibBuilder.loadTexts: ctspLayer3PolicyTable.setStatus('current') if mibBuilder.loadTexts: ctspLayer3PolicyTable.setDescription('This table describes Layer 3 transport policy for IP traffic regarding SGT propagation.') ctsp_layer3_policy_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 1, 1)).setIndexNames((0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspLayer3PolicyIpTrafficType'), (0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspLayer3PolicyType')) if mibBuilder.loadTexts: ctspLayer3PolicyEntry.setStatus('current') if mibBuilder.loadTexts: ctspLayer3PolicyEntry.setDescription('Each row contains the Layer 3 transport policies per IP traffic type per policy type.') ctsp_layer3_policy_ip_traffic_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('ipv4', 1), ('ipv6', 2)))) if mibBuilder.loadTexts: ctspLayer3PolicyIpTrafficType.setStatus('current') if mibBuilder.loadTexts: ctspLayer3PolicyIpTrafficType.setDescription("This object indicates the type of the IP traffic affected by Layer-3 transport policy. 'ipv4' indicates that the affected traffic is IPv4 traffic. 'ipv6' indicates that the affected traffic is IPv6 traffic.") ctsp_layer3_policy_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('permit', 1), ('exception', 2)))) if mibBuilder.loadTexts: ctspLayer3PolicyType.setStatus('current') if mibBuilder.loadTexts: ctspLayer3PolicyType.setDescription("This object indicates the type of the Layer-3 transport policy affecting IP traffic regarding SGT propagation. 'permit' indicates that the transport policy is used to classify Layer-3 traffic which is subject to SGT propagation. 'exception' indicates that the transport policy is used to classify Layer-3 traffic which is NOT subject to SGT propagation.") ctsp_layer3_policy_local_config = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 1, 1, 3), cts_acl_name_or_empty()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ctspLayer3PolicyLocalConfig.setStatus('current') if mibBuilder.loadTexts: ctspLayer3PolicyLocalConfig.setDescription('This object specifies the name of an ACL that is administratively configured to classify Layer3 traffic. Zero-length string indicates there is no such configured policy.') ctsp_layer3_policy_downloaded = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 1, 1, 4), cts_acl_name_or_empty()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspLayer3PolicyDownloaded.setStatus('current') if mibBuilder.loadTexts: ctspLayer3PolicyDownloaded.setDescription('This object specifies the name of an ACL that is downloaded from policy server to classify Layer3 traffic. Zero-length string indicates there is no such downloaded policy.') ctsp_layer3_policy_operational = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 1, 1, 5), cts_acl_name_or_empty()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspLayer3PolicyOperational.setStatus('current') if mibBuilder.loadTexts: ctspLayer3PolicyOperational.setDescription('This object specifies the name of an operational ACL currently used to classify Layer3 traffic. Zero-length string indicates there is no such policy in effect.') ctsp_if_l3_policy_config_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 2)) if mibBuilder.loadTexts: ctspIfL3PolicyConfigTable.setStatus('current') if mibBuilder.loadTexts: ctspIfL3PolicyConfigTable.setDescription('This table lists the interfaces which support Layer3 Transport policy.') ctsp_if_l3_policy_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 2, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: ctspIfL3PolicyConfigEntry.setStatus('current') if mibBuilder.loadTexts: ctspIfL3PolicyConfigEntry.setDescription('Each row contains managed objects for Layer3 Transport on interface capable of providing this information.') ctsp_if_l3_ipv4_policy_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 2, 1, 1), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ctspIfL3Ipv4PolicyEnabled.setStatus('current') if mibBuilder.loadTexts: ctspIfL3Ipv4PolicyEnabled.setDescription("This object specifies whether the Layer3 Transport policies will be applied on this interface for egress IPv4 traffic. 'true' indicates that Layer3 permit and exception policy will be applied at this interface for egress IPv4 traffic. 'false' indicates that Layer3 permit and exception policy will not be applied at this interface for egress IPv4 traffic.") ctsp_if_l3_ipv6_policy_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 3, 2, 1, 2), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ctspIfL3Ipv6PolicyEnabled.setStatus('current') if mibBuilder.loadTexts: ctspIfL3Ipv6PolicyEnabled.setDescription("This object specifies whether the Layer3 Transport policies will be applied on this interface for egress IPv6 traffic. 'true' indicates that Layer3 permit and exception policy will be applied at this interface for egress IPv6 traffic. 'false' indicates that Layer3 permit and exception policy will not be applied at this interface for egress IPv6 traffic.") ctsp_ip_sgt_mapping_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4, 1)) if mibBuilder.loadTexts: ctspIpSgtMappingTable.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtMappingTable.setDescription('This table contains the IP-to-SGT mapping information in the device.') ctsp_ip_sgt_mapping_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4, 1, 1)).setIndexNames((0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspIpSgtVrfName'), (0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspIpSgtAddressType'), (0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspIpSgtIpAddress'), (0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspIpSgtAddressLength')) if mibBuilder.loadTexts: ctspIpSgtMappingEntry.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtMappingEntry.setDescription('Each row contains the IP-to-SGT mapping and status of this instance. Entry in this table is either populated automatically by the device or manually configured by a user. A manually configured row instance can be created or removed by setting the appropriate value of its RowStatus object.') ctsp_ip_sgt_vrf_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4, 1, 1, 1), cisco_vrf_name()) if mibBuilder.loadTexts: ctspIpSgtVrfName.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtVrfName.setDescription('This object indicates the VRF where IP-SGT mapping belongs to. The zero length value indicates the default VRF.') ctsp_ip_sgt_address_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4, 1, 1, 2), inet_address_type()) if mibBuilder.loadTexts: ctspIpSgtAddressType.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtAddressType.setDescription('This object indicates the type of Internet address.') ctsp_ip_sgt_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4, 1, 1, 3), inet_address()) if mibBuilder.loadTexts: ctspIpSgtIpAddress.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtIpAddress.setDescription('This object indicates an Internet address. The type of this address is determined by the value of ctspIpSgtAddressType object.') ctsp_ip_sgt_address_length = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4, 1, 1, 4), inet_address_prefix_length()) if mibBuilder.loadTexts: ctspIpSgtAddressLength.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtAddressLength.setDescription('This object indicates the length of an Internet address prefix.') ctsp_ip_sgt_value = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4, 1, 1, 5), cts_security_group_tag()).setMaxAccess('readcreate') if mibBuilder.loadTexts: ctspIpSgtValue.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtValue.setDescription('This object specifies the SGT value assigned to an Internet address.') ctsp_ip_sgt_source = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=named_values(('configured', 1), ('arp', 2), ('localAuthenticated', 3), ('sxp', 4), ('internal', 5), ('l3if', 6), ('vlan', 7), ('caching', 8)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: ctspIpSgtSource.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtSource.setDescription("This object indicates the source of the mapping. 'configured' indicates that the mapping is manually configured by user. 'arp' indicates that the mapping is dynamically learnt from tagged ARP replies. 'localAuthenticated' indicates that the mapping is dynamically learnt from the device authentication of a host. 'sxp' indicates that the mapping is dynamically learnt from SXP (SGT Propagation Protocol). 'internal' indicates that the mapping is automatically created by the device between the device IP addresses and the device own SGT. 'l3if' indicates that Interface-SGT mapping is configured by user. 'vlan' indicates that Vlan-SGT mapping is configured by user. 'cached' indicates that sgt mapping is cached. Only 'configured' value is accepted when setting this object.") ctsp_ip_sgt_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4, 1, 1, 7), storage_type().clone('volatile')).setMaxAccess('readcreate') if mibBuilder.loadTexts: ctspIpSgtStorageType.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtStorageType.setDescription('The storage type for this conceptual row.') ctsp_ip_sgt_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 4, 1, 1, 8), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: ctspIpSgtRowStatus.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtRowStatus.setDescription("This object is used to manage the creation and deletion of rows in this table. If this object value is 'active', user cannot modify any writable object in this row. If value of ctspIpSgtSource object in an entry is not 'configured', user cannot change the value of this object.") ctsp_all_sgt_policy_action = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('none', 1), ('refresh', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ctspAllSgtPolicyAction.setStatus('current') if mibBuilder.loadTexts: ctspAllSgtPolicyAction.setDescription("This object allows user to specify the action to be taken with respect to all SGT policies in the device. When read, this object always returns the value 'none'. 'none' - No operation. 'refresh' - Refresh all SGT policies in the device.") ctsp_downloaded_sgt_policy_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 2)) if mibBuilder.loadTexts: ctspDownloadedSgtPolicyTable.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgtPolicyTable.setDescription('This table lists the SGT policy information downloaded by the device.') ctsp_downloaded_sgt_policy_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 2, 1)).setIndexNames((0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspDownloadedSgtPolicySgt')) if mibBuilder.loadTexts: ctspDownloadedSgtPolicyEntry.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgtPolicyEntry.setDescription('Each row contains the managed objects for SGT policies downloaded by the device.') ctsp_downloaded_sgt_policy_sgt = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 2, 1, 1), cts_security_group_tag()) if mibBuilder.loadTexts: ctspDownloadedSgtPolicySgt.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgtPolicySgt.setDescription('This object indicates the SGT value for which the downloaded policy is applied to. Value of zero indicates that the SGT is unknown.') ctsp_downloaded_sgt_policy_sgt_gen_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 2, 1, 2), cts_generation_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDownloadedSgtPolicySgtGenId.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgtPolicySgtGenId.setDescription('This object indicates the generation identification of the SGT value denoted by ctspDownloadedSgtPolicySgt object.') ctsp_downloaded_sgt_policy_life_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 2, 1, 3), unsigned32()).setUnits('seconds').setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDownloadedSgtPolicyLifeTime.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgtPolicyLifeTime.setDescription('This object indicates the policy life time which provides the time interval during which this downloaded policy is valid.') ctsp_downloaded_sgt_policy_last_update = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 2, 1, 4), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDownloadedSgtPolicyLastUpdate.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgtPolicyLastUpdate.setDescription('This object indicates the time when this downloaded SGT policy is last updated.') ctsp_downloaded_sgt_policy_action = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('none', 1), ('refresh', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ctspDownloadedSgtPolicyAction.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgtPolicyAction.setDescription("This object allows user to specify the action to be taken with this downloaded SGT policy. When read, this object always returns the value 'none'. 'none' - No operation. 'refresh' - Refresh this SGT policy.") ctsp_downloaded_def_sgt_policy_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 3)) if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyTable.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyTable.setDescription('This table lists the default SGT policy information downloaded by the device.') ctsp_downloaded_def_sgt_policy_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 3, 1)).setIndexNames((0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspDownloadedDefSgtPolicyType')) if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyEntry.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyEntry.setDescription('Each row contains the managed objects for default SGT policies downloaded by the device.') ctsp_downloaded_def_sgt_policy_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 3, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('unicastDefault', 1)))) if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyType.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyType.setDescription("This object indicates the downloaded default SGT policy type. 'unicastDefault' indicates the SGT policy applied to traffic which carries the default unicast SGT.") ctsp_downloaded_def_sgt_policy_sgt_gen_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 3, 1, 2), cts_generation_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicySgtGenId.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicySgtGenId.setDescription('This object indicates the generation identification of the downloaded default SGT policy.') ctsp_downloaded_def_sgt_policy_life_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 3, 1, 3), unsigned32()).setUnits('seconds').setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyLifeTime.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyLifeTime.setDescription('This object indicates the policy life time which provides the time interval during which this download default policy is valid.') ctsp_downloaded_def_sgt_policy_last_update = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 3, 1, 4), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyLastUpdate.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyLastUpdate.setDescription('This object indicates the time when this downloaded SGT policy is last updated.') ctsp_downloaded_def_sgt_policy_action = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 5, 3, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('none', 1), ('refresh', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyAction.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedDefSgtPolicyAction.setDescription("This object allows user to specify the action to be taken with this default downloaded SGT policy. When read, this object always returns the value 'none'. 'none' - No operation. 'refresh' - Refresh this default SGT policy.") ctsp_if_sgt_mapping_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 6, 1)) if mibBuilder.loadTexts: ctspIfSgtMappingTable.setStatus('current') if mibBuilder.loadTexts: ctspIfSgtMappingTable.setDescription('This table contains the Interface-to-SGT mapping configuration information in the device.') ctsp_if_sgt_mapping_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 6, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: ctspIfSgtMappingEntry.setStatus('current') if mibBuilder.loadTexts: ctspIfSgtMappingEntry.setDescription('Each row contains the SGT mapping configuration of a particular interface. A row instance can be created or removed by setting ctspIfSgtRowStatus.') ctsp_if_sgt_value = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 6, 1, 1, 1), cts_security_group_tag()).setMaxAccess('readcreate') if mibBuilder.loadTexts: ctspIfSgtValue.setStatus('current') if mibBuilder.loadTexts: ctspIfSgtValue.setDescription('This object specifies the SGT value assigned to the interface.') ctsp_if_sg_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 6, 1, 1, 2), snmp_admin_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: ctspIfSgName.setStatus('current') if mibBuilder.loadTexts: ctspIfSgName.setDescription('This object specifies the Security Group Name assigned to the interface.') ctsp_if_sgt_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 6, 1, 1, 3), storage_type().clone('volatile')).setMaxAccess('readcreate') if mibBuilder.loadTexts: ctspIfSgtStorageType.setStatus('current') if mibBuilder.loadTexts: ctspIfSgtStorageType.setDescription('The storage type for this conceptual row.') ctsp_if_sgt_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 6, 1, 1, 4), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: ctspIfSgtRowStatus.setStatus('current') if mibBuilder.loadTexts: ctspIfSgtRowStatus.setDescription('This object is used to manage the creation and deletion of rows in this table.') ctsp_if_sgt_mapping_info_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 6, 2)) if mibBuilder.loadTexts: ctspIfSgtMappingInfoTable.setStatus('current') if mibBuilder.loadTexts: ctspIfSgtMappingInfoTable.setDescription('This table contains the Interface-to-SGT mapping status information in the device.') ctsp_if_sgt_mapping_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 6, 2, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: ctspIfSgtMappingInfoEntry.setStatus('current') if mibBuilder.loadTexts: ctspIfSgtMappingInfoEntry.setDescription('Containing the Interface-to-SGT mapping status of the specified interface.') ctsp_l3_ipm_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 6, 2, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('disabled', 1), ('active', 2), ('inactive', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ctspL3IPMStatus.setStatus('current') if mibBuilder.loadTexts: ctspL3IPMStatus.setDescription('This object indicates the Layer 3 Identity Port Mapping(IPM) operational mode. disabled - The L3 IPM is not configured. active - The L3 IPM is configured for this interface, and SGT is available. inactive - The L3 IPM is configured for this interface, and SGT is unavailable.') ctsp_vlan_sgt_mapping_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 7, 1)) if mibBuilder.loadTexts: ctspVlanSgtMappingTable.setStatus('current') if mibBuilder.loadTexts: ctspVlanSgtMappingTable.setDescription('This table contains the Vlan-SGT mapping information in the device.') ctsp_vlan_sgt_mapping_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 7, 1, 1)).setIndexNames((0, 'CISCO-TRUSTSEC-POLICY-MIB', 'ctspVlanSgtMappingIndex')) if mibBuilder.loadTexts: ctspVlanSgtMappingEntry.setStatus('current') if mibBuilder.loadTexts: ctspVlanSgtMappingEntry.setDescription('Each row contains the SGT mapping configuration of a particular VLAN. A row instance can be created or removed by setting ctspVlanSgtRowStatus.') ctsp_vlan_sgt_mapping_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 7, 1, 1, 1), vlan_index()) if mibBuilder.loadTexts: ctspVlanSgtMappingIndex.setStatus('current') if mibBuilder.loadTexts: ctspVlanSgtMappingIndex.setDescription('This object specifies the VLAN-ID which is used as index.') ctsp_vlan_sgt_map_value = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 7, 1, 1, 2), cts_security_group_tag()).setMaxAccess('readcreate') if mibBuilder.loadTexts: ctspVlanSgtMapValue.setStatus('current') if mibBuilder.loadTexts: ctspVlanSgtMapValue.setDescription('This object specifies the SGT value assigned to the vlan.') ctsp_vlan_sgt_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 7, 1, 1, 3), storage_type().clone('volatile')).setMaxAccess('readcreate') if mibBuilder.loadTexts: ctspVlanSgtStorageType.setStatus('current') if mibBuilder.loadTexts: ctspVlanSgtStorageType.setDescription('The storage type for this conceptual row.') ctsp_vlan_sgt_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 7, 1, 1, 4), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: ctspVlanSgtRowStatus.setStatus('current') if mibBuilder.loadTexts: ctspVlanSgtRowStatus.setDescription('This object is used to manage the creation and deletion of rows in this table.') ctsp_sgt_caching_mode = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 8, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('none', 1), ('standAlone', 2), ('withEnforcement', 3), ('vlan', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ctspSgtCachingMode.setStatus('current') if mibBuilder.loadTexts: ctspSgtCachingMode.setDescription("This object specifies which SGT-caching mode is configured for SGT caching capable interfaces at the managed system. 'none' indicates that sgt-caching for all Layer 3 interfaces (excluding SVIs) is disabled. 'standAlone' indicates that SGT-caching is enabled on every TrustSec capable Layer3 interface (excluding SVIs) in the device. 'withEnforcement' indicates that SGT-caching is enabled on interfaces that have RBAC enforcement enabled. 'vlan' indicates that SGT-caching is enabled on the VLANs specified by ctspSgtCachingVlansfFirst2K & ctspSgtCachingVlansSecond2K") ctsp_sgt_caching_vlans_first2_k = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 8, 2), cisco2_k_vlan_list()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ctspSgtCachingVlansFirst2K.setStatus('current') if mibBuilder.loadTexts: ctspSgtCachingVlansFirst2K.setDescription('A string of octets containing one bit per VLAN for VLANs 0 to 2047. If the bit corresponding to a VLAN is set to 1, it indicates SGT-caching is enabled on the VLAN. If the bit corresponding to a VLAN is set to 0, it indicates SGT-caching is disabled on the VLAN.') ctsp_sgt_caching_vlans_second2_k = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 8, 3), cisco2_k_vlan_list()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ctspSgtCachingVlansSecond2K.setStatus('current') if mibBuilder.loadTexts: ctspSgtCachingVlansSecond2K.setDescription('A string of octets containing one bit per VLAN for VLANs 2048 to 4095. If the bit corresponding to a VLAN is set to 1, it indicates SGT-caching is enabled on the VLAN. If the bit corresponding to a VLAN is set to 0, it indicates SGT-caching is disabled on the VLAN.') ctsp_peer_policy_updated_notif_enable = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 9, 1), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ctspPeerPolicyUpdatedNotifEnable.setStatus('current') if mibBuilder.loadTexts: ctspPeerPolicyUpdatedNotifEnable.setDescription("This object specifies whether the system generates ctspPeerPolicyUpdatedNotif. A value of 'false' will prevent ctspPeerPolicyUpdatedNotif notifications from being generated by this system.") ctsp_authorization_sgacl_fail_notif_enable = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 9, 2), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: ctspAuthorizationSgaclFailNotifEnable.setStatus('current') if mibBuilder.loadTexts: ctspAuthorizationSgaclFailNotifEnable.setDescription("This object specifies whether this system generates the ctspAuthorizationSgaclFailNotif. A value of 'false' will prevent ctspAuthorizationSgaclFailNotif notifications from being generated by this system.") ctsp_old_peer_sgt = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 10, 1), cts_security_group_tag()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: ctspOldPeerSgt.setStatus('current') if mibBuilder.loadTexts: ctspOldPeerSgt.setDescription('This object provides the old sgt value for ctspPeerPolicyUpdatedNotif, i.e., the sgt value before the policy is updated.') ctsp_authorization_sgacl_fail_reason = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 10, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('downloadACE', 1), ('downloadSrc', 2), ('downloadDst', 3), ('installPolicy', 4), ('installPolicyStandby', 5), ('installForIP', 6), ('uninstall', 7)))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: ctspAuthorizationSgaclFailReason.setStatus('current') if mibBuilder.loadTexts: ctspAuthorizationSgaclFailReason.setDescription("This object indicates the reason of failure during SGACL acquisitions, installations and uninstallations, which is associated with ctspAuthorizationSgaclFailNotif; 'downloadACE' - Failure during downloading ACE in SGACL acquisition. 'downloadSrc' - Failure during downloading source list in SGACL acquisition. 'downloadDst' - Failure during downloading destination list in SGACL acquisition. 'installPolicy' - Failure during SGACL policy installation 'installPolicyStandby' - Failure during SGACL policy installation on standby 'installForIP' - Failure during SGACL installation for specific IP type. 'uninstall' - Failure during SGACL uninstallation.") ctsp_authorization_sgacl_fail_info = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 713, 1, 10, 3), snmp_admin_string()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: ctspAuthorizationSgaclFailInfo.setStatus('current') if mibBuilder.loadTexts: ctspAuthorizationSgaclFailInfo.setDescription('This object provides additional information about authorization SGACL failure, which is associated with ctspAuthorizationSgaclFailNotif.') ctsp_peer_policy_updated_notif = notification_type((1, 3, 6, 1, 4, 1, 9, 9, 713, 0, 1)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspOldPeerSgt'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspPeerSgt')) if mibBuilder.loadTexts: ctspPeerPolicyUpdatedNotif.setStatus('current') if mibBuilder.loadTexts: ctspPeerPolicyUpdatedNotif.setDescription('A ctspPeerPolicyUpdatedNotif is generated when the SGT value of a peer device has been updated.') ctsp_authorization_sgacl_fail_notif = notification_type((1, 3, 6, 1, 4, 1, 9, 9, 713, 0, 2)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspAuthorizationSgaclFailReason'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspAuthorizationSgaclFailInfo')) if mibBuilder.loadTexts: ctspAuthorizationSgaclFailNotif.setStatus('current') if mibBuilder.loadTexts: ctspAuthorizationSgaclFailNotif.setDescription('A ctspAuthorizationSgaclFailNotif is generated when the authorization of SGACL fails.') cisco_trust_sec_policy_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 1)) cisco_trust_sec_policy_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2)) cisco_trust_sec_policy_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 1, 1)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspGlobalSgaclEnforcementGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspOperSgaclMappingGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDownloadedSgaclMappingGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspIpSwStatisticsGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefSwStatisticsGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspVlanConfigGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspConfigSgaclMappingGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspIpHwStatisticsGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefHwStatisticsGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspSgaclIpv4DropNetflowMonitorGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspSgaclIpv6DropNetflowMonitorGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspPeerPolicyGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspPeerPolicyActionGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspLayer3TransportGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspIpSgtMappingGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspIfL3PolicyConfigGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspSgtPolicyGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_trust_sec_policy_mib_compliance = ciscoTrustSecPolicyMIBCompliance.setStatus('deprecated') if mibBuilder.loadTexts: ciscoTrustSecPolicyMIBCompliance.setDescription('The compliance statement for the CISCO-TRUSTSEC-POLICY-MIB') cisco_trust_sec_policy_mib_compliance_rev2 = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 1, 2)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspGlobalSgaclEnforcementGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspOperSgaclMappingGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDownloadedSgaclMappingGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspIpSwStatisticsGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefSwStatisticsGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspVlanConfigGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspConfigSgaclMappingGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspIpHwStatisticsGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefHwStatisticsGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspSgaclIpv4DropNetflowMonitorGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspSgaclIpv6DropNetflowMonitorGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspPeerPolicyGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspPeerPolicyActionGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspLayer3TransportGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspIpSgtMappingGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspIfL3PolicyConfigGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspSgtPolicyGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspIfSgtMappingGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspVlanSgtMappingGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspSgtCachingGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspSgaclMonitorGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspSgaclMonitorStatisticGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspNotifCtrlGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspNotifGroup'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspNotifInfoGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_trust_sec_policy_mib_compliance_rev2 = ciscoTrustSecPolicyMIBComplianceRev2.setStatus('current') if mibBuilder.loadTexts: ciscoTrustSecPolicyMIBComplianceRev2.setDescription('The compliance statement for the CISCO-TRUSTSEC-POLICY-MIB') ctsp_global_sgacl_enforcement_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 1)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspSgaclEnforcementEnable')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_global_sgacl_enforcement_group = ctspGlobalSgaclEnforcementGroup.setStatus('current') if mibBuilder.loadTexts: ctspGlobalSgaclEnforcementGroup.setDescription('A collection of object which provides the SGACL enforcement information for all TrustSec capable Layer 3 interfaces (excluding SVIs) at the device level.') ctsp_sgacl_ipv4_drop_netflow_monitor_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 2)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspSgaclIpv4DropNetflowMonitor')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_sgacl_ipv4_drop_netflow_monitor_group = ctspSgaclIpv4DropNetflowMonitorGroup.setStatus('current') if mibBuilder.loadTexts: ctspSgaclIpv4DropNetflowMonitorGroup.setDescription('A collection of object which provides netflow monitor information for IPv4 traffic drop packet due to SGACL enforcement in the device.') ctsp_sgacl_ipv6_drop_netflow_monitor_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 3)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspSgaclIpv6DropNetflowMonitor')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_sgacl_ipv6_drop_netflow_monitor_group = ctspSgaclIpv6DropNetflowMonitorGroup.setStatus('current') if mibBuilder.loadTexts: ctspSgaclIpv6DropNetflowMonitorGroup.setDescription('A collection of object which provides netflow monitor information for IPv6 traffic drop packet due to SGACL enforcement in the device.') ctsp_vlan_config_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 4)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspVlanConfigSgaclEnforcement'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspVlanSviActive'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspVlanConfigVrfName'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspVlanConfigStorageType'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspVlanConfigRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_vlan_config_group = ctspVlanConfigGroup.setStatus('current') if mibBuilder.loadTexts: ctspVlanConfigGroup.setDescription('A collection of object which provides the SGACL enforcement and VRF information for each VLAN.') ctsp_config_sgacl_mapping_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 5)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspConfigSgaclMappingSgaclName'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspConfigSgaclMappingStorageType'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspConfigSgaclMappingRowStatus'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefConfigIpv4Sgacls'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefConfigIpv6Sgacls')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_config_sgacl_mapping_group = ctspConfigSgaclMappingGroup.setStatus('current') if mibBuilder.loadTexts: ctspConfigSgaclMappingGroup.setDescription('A collection of objects which provides the administratively configured SGACL mapping information in the device.') ctsp_downloaded_sgacl_mapping_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 6)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDownloadedSgaclName'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDownloadedSgaclGenId'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDownloadedIpTrafficType'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefDownloadedSgaclName'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefDownloadedSgaclGenId'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefDownloadedIpTrafficType')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_downloaded_sgacl_mapping_group = ctspDownloadedSgaclMappingGroup.setStatus('current') if mibBuilder.loadTexts: ctspDownloadedSgaclMappingGroup.setDescription('A collection of objects which provides the downloaded SGACL mapping information in the device.') ctsp_oper_sgacl_mapping_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 7)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspOperationalSgaclName'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspOperationalSgaclGenId'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspOperSgaclMappingSource'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspOperSgaclConfigSource'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefOperationalSgaclName'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefOperationalSgaclGenId'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefOperSgaclMappingSource'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefOperSgaclConfigSource')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_oper_sgacl_mapping_group = ctspOperSgaclMappingGroup.setStatus('current') if mibBuilder.loadTexts: ctspOperSgaclMappingGroup.setDescription('A collection of objects which provides the operational SGACL mapping information in the device.') ctsp_ip_sw_statistics_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 8)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspStatsIpSwDropPkts'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspStatsIpSwPermitPkts')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_ip_sw_statistics_group = ctspIpSwStatisticsGroup.setStatus('current') if mibBuilder.loadTexts: ctspIpSwStatisticsGroup.setDescription('A collection of objects which provides software statistics counters for unicast IP traffic subjected to SGACL enforcement.') ctsp_ip_hw_statistics_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 9)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspStatsIpHwDropPkts'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspStatsIpHwPermitPkts')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_ip_hw_statistics_group = ctspIpHwStatisticsGroup.setStatus('current') if mibBuilder.loadTexts: ctspIpHwStatisticsGroup.setDescription('A collection of objects which provides hardware statistics counters for unicast IP traffic subjected to SGACL enforcement.') ctsp_def_sw_statistics_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 10)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefIpSwDropPkts'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefIpSwPermitPkts')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_def_sw_statistics_group = ctspDefSwStatisticsGroup.setStatus('current') if mibBuilder.loadTexts: ctspDefSwStatisticsGroup.setDescription('A collection of objects which provides software statistics counters for unicast IP traffic subjected to unicast default policy enforcement.') ctsp_def_hw_statistics_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 11)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefIpHwDropPkts'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefIpHwPermitPkts')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_def_hw_statistics_group = ctspDefHwStatisticsGroup.setStatus('current') if mibBuilder.loadTexts: ctspDefHwStatisticsGroup.setDescription('A collection of objects which provides hardware statistics counters for unicast IP traffic subjected to unicast default policy enforcement.') ctsp_peer_policy_action_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 12)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspAllPeerPolicyAction')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_peer_policy_action_group = ctspPeerPolicyActionGroup.setStatus('current') if mibBuilder.loadTexts: ctspPeerPolicyActionGroup.setDescription('A collection of object which provides refreshing of all peer policies in the device.') ctsp_peer_policy_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 13)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspPeerSgt'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspPeerSgtGenId'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspPeerTrustState'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspPeerPolicyLifeTime'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspPeerPolicyLastUpdate'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspPeerPolicyAction')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_peer_policy_group = ctspPeerPolicyGroup.setStatus('current') if mibBuilder.loadTexts: ctspPeerPolicyGroup.setDescription('A collection of object which provides peer policy information in the device.') ctsp_layer3_transport_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 14)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspLayer3PolicyLocalConfig'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspLayer3PolicyDownloaded'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspLayer3PolicyOperational')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_layer3_transport_group = ctspLayer3TransportGroup.setStatus('current') if mibBuilder.loadTexts: ctspLayer3TransportGroup.setDescription('A collection of objects which provides managed information regarding the SGT propagation along with Layer 3 traffic in the device.') ctsp_if_l3_policy_config_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 15)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspIfL3Ipv4PolicyEnabled'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspIfL3Ipv6PolicyEnabled')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_if_l3_policy_config_group = ctspIfL3PolicyConfigGroup.setStatus('current') if mibBuilder.loadTexts: ctspIfL3PolicyConfigGroup.setDescription('A collection of objects which provides managed information for Layer3 Tranport policy enforcement on capable interface in the device.') ctsp_ip_sgt_mapping_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 16)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspIpSgtValue'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspIpSgtSource'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspIpSgtStorageType'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspIpSgtRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_ip_sgt_mapping_group = ctspIpSgtMappingGroup.setStatus('current') if mibBuilder.loadTexts: ctspIpSgtMappingGroup.setDescription('A collection of objects which provides managed information regarding IP-to-Sgt mapping in the device.') ctsp_sgt_policy_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 17)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspAllSgtPolicyAction'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDownloadedSgtPolicySgtGenId'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDownloadedSgtPolicyLifeTime'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDownloadedSgtPolicyLastUpdate'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDownloadedSgtPolicyAction'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDownloadedDefSgtPolicySgtGenId'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDownloadedDefSgtPolicyLifeTime'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDownloadedDefSgtPolicyLastUpdate'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDownloadedDefSgtPolicyAction')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_sgt_policy_group = ctspSgtPolicyGroup.setStatus('current') if mibBuilder.loadTexts: ctspSgtPolicyGroup.setDescription('A collection of object which provides SGT policy information in the device.') ctsp_if_sgt_mapping_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 18)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspIfSgtValue'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspIfSgName'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspL3IPMStatus'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspIfSgtStorageType'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspIfSgtRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_if_sgt_mapping_group = ctspIfSgtMappingGroup.setStatus('current') if mibBuilder.loadTexts: ctspIfSgtMappingGroup.setDescription('A collection of objects which provides managed information regarding Interface-to-Sgt mapping in the device.') ctsp_vlan_sgt_mapping_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 19)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspVlanSgtMapValue'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspVlanSgtStorageType'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspVlanSgtRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_vlan_sgt_mapping_group = ctspVlanSgtMappingGroup.setStatus('current') if mibBuilder.loadTexts: ctspVlanSgtMappingGroup.setDescription('A collection of objects which provides sgt mapping information for the IP traffic in the specified Vlan.') ctsp_sgt_caching_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 20)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspSgtCachingMode'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspSgtCachingVlansFirst2K'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspSgtCachingVlansSecond2K')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_sgt_caching_group = ctspSgtCachingGroup.setStatus('current') if mibBuilder.loadTexts: ctspSgtCachingGroup.setDescription('A collection of objects which provides sgt Caching information.') ctsp_sgacl_monitor_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 21)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspSgaclMonitorEnable'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspConfigSgaclMonitor'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefConfigIpv4SgaclsMonitor'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefConfigIpv6SgaclsMonitor'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDownloadedSgaclMonitor'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefDownloadedSgaclMonitor'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspOperSgaclMonitor'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefOperSgaclMonitor')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_sgacl_monitor_group = ctspSgaclMonitorGroup.setStatus('current') if mibBuilder.loadTexts: ctspSgaclMonitorGroup.setDescription('A collection of objects which provides SGACL monitor information.') ctsp_sgacl_monitor_statistic_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 22)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspStatsIpSwMonitorPkts'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspStatsIpHwMonitorPkts'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefIpSwMonitorPkts'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspDefIpHwMonitorPkts')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_sgacl_monitor_statistic_group = ctspSgaclMonitorStatisticGroup.setStatus('current') if mibBuilder.loadTexts: ctspSgaclMonitorStatisticGroup.setDescription('A collection of objects which provides monitor statistics counters for unicast IP traffic subjected to SGACL enforcement.') ctsp_notif_ctrl_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 23)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspPeerPolicyUpdatedNotifEnable'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspAuthorizationSgaclFailNotifEnable')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_notif_ctrl_group = ctspNotifCtrlGroup.setStatus('current') if mibBuilder.loadTexts: ctspNotifCtrlGroup.setDescription('A collection of objects providing notification control for TrustSec policy notifications.') ctsp_notif_group = notification_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 24)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspPeerPolicyUpdatedNotif'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspAuthorizationSgaclFailNotif')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_notif_group = ctspNotifGroup.setStatus('current') if mibBuilder.loadTexts: ctspNotifGroup.setDescription('A collection of notifications for TrustSec policy.') ctsp_notif_info_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 713, 2, 2, 25)).setObjects(('CISCO-TRUSTSEC-POLICY-MIB', 'ctspOldPeerSgt'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspAuthorizationSgaclFailReason'), ('CISCO-TRUSTSEC-POLICY-MIB', 'ctspAuthorizationSgaclFailInfo')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ctsp_notif_info_group = ctspNotifInfoGroup.setStatus('current') if mibBuilder.loadTexts: ctspNotifInfoGroup.setDescription('A collection of objects providing the variable binding for TrustSec policy notifications.') mibBuilder.exportSymbols('CISCO-TRUSTSEC-POLICY-MIB', ctspDefDownloadedIpTrafficType=ctspDefDownloadedIpTrafficType, ctspLayer3PolicyType=ctspLayer3PolicyType, ctspPeerTrustState=ctspPeerTrustState, ctspIfSgtValue=ctspIfSgtValue, ctspDownloadedSgaclName=ctspDownloadedSgaclName, ctspSgtCachingVlansSecond2K=ctspSgtCachingVlansSecond2K, ctspDownloadedSgtPolicyLifeTime=ctspDownloadedSgtPolicyLifeTime, ctspSgacl=ctspSgacl, ctspDownloadedDefSgtPolicyLastUpdate=ctspDownloadedDefSgtPolicyLastUpdate, ctspLayer3PolicyLocalConfig=ctspLayer3PolicyLocalConfig, ctspSgaclMappings=ctspSgaclMappings, ctspAllPeerPolicyAction=ctspAllPeerPolicyAction, ctspDefOperationalSgaclGenId=ctspDefOperationalSgaclGenId, ctspSgaclStatistics=ctspSgaclStatistics, ctspDefStatsEntry=ctspDefStatsEntry, ctspOperSgaclMappingSource=ctspOperSgaclMappingSource, ctspDefIpSwPermitPkts=ctspDefIpSwPermitPkts, ciscoTrustSecPolicyMIBObjects=ciscoTrustSecPolicyMIBObjects, ctspIfSgtMappingGroup=ctspIfSgtMappingGroup, ctspVlanConfigStorageType=ctspVlanConfigStorageType, ctspOperSgaclSourceSgt=ctspOperSgaclSourceSgt, ctspDownloadedSgtPolicyLastUpdate=ctspDownloadedSgtPolicyLastUpdate, ctspPeerPolicyUpdatedNotifEnable=ctspPeerPolicyUpdatedNotifEnable, ctspIpSgtVrfName=ctspIpSgtVrfName, ctspConfigSgaclMappingEntry=ctspConfigSgaclMappingEntry, ctspDefIpHwDropPkts=ctspDefIpHwDropPkts, ctspDefOperSgaclMappingEntry=ctspDefOperSgaclMappingEntry, ctspOperIpTrafficType=ctspOperIpTrafficType, ctspStatsIpHwMonitorPkts=ctspStatsIpHwMonitorPkts, ctspDefDownloadedSgaclMappingTable=ctspDefDownloadedSgaclMappingTable, ctspOperSgaclDestSgt=ctspOperSgaclDestSgt, ctspIpSgtMappingGroup=ctspIpSgtMappingGroup, ctspIfSgtRowStatus=ctspIfSgtRowStatus, ctspDownloadedDefSgtPolicyType=ctspDownloadedDefSgtPolicyType, ctspLayer3PolicyDownloaded=ctspLayer3PolicyDownloaded, ctspStatsDestSgt=ctspStatsDestSgt, ctspPeerSgt=ctspPeerSgt, ctspVlanConfigIndex=ctspVlanConfigIndex, ctspDefDownloadedSgaclIndex=ctspDefDownloadedSgaclIndex, ctspConfigSgaclMappingStorageType=ctspConfigSgaclMappingStorageType, ctspPeerName=ctspPeerName, ctspDefIpTrafficType=ctspDefIpTrafficType, ctspOperSgaclMappingGroup=ctspOperSgaclMappingGroup, ctspPeerPolicyUpdatedNotif=ctspPeerPolicyUpdatedNotif, ctspSgtCaching=ctspSgtCaching, ciscoTrustSecPolicyMIBComplianceRev2=ciscoTrustSecPolicyMIBComplianceRev2, ciscoTrustSecPolicyMIBConformance=ciscoTrustSecPolicyMIBConformance, ctspDefOperSgaclIndex=ctspDefOperSgaclIndex, ctspOperSgaclMappingTable=ctspOperSgaclMappingTable, ctspDownloadedSgaclGenId=ctspDownloadedSgaclGenId, ctspIfSgtMappings=ctspIfSgtMappings, ctspSgaclIpv6DropNetflowMonitor=ctspSgaclIpv6DropNetflowMonitor, ciscoTrustSecPolicyMIBGroups=ciscoTrustSecPolicyMIBGroups, ctspNotifsOnlyInfo=ctspNotifsOnlyInfo, ctspVlanConfigEntry=ctspVlanConfigEntry, ctspPeerPolicy=ctspPeerPolicy, ctspDownloadedSgaclDestSgt=ctspDownloadedSgaclDestSgt, ctspDefIpHwMonitorPkts=ctspDefIpHwMonitorPkts, ctspLayer3TransportGroup=ctspLayer3TransportGroup, ctspGlobalSgaclEnforcementGroup=ctspGlobalSgaclEnforcementGroup, ctspDownloadedSgaclMappingEntry=ctspDownloadedSgaclMappingEntry, ctspPeerPolicyActionGroup=ctspPeerPolicyActionGroup, ctspSgaclGlobals=ctspSgaclGlobals, ctspNotifInfoGroup=ctspNotifInfoGroup, ctspSgaclMonitorEnable=ctspSgaclMonitorEnable, ctspStatsIpTrafficType=ctspStatsIpTrafficType, ctspConfigSgaclMonitor=ctspConfigSgaclMonitor, ctspDefConfigIpv4Sgacls=ctspDefConfigIpv4Sgacls, ctspVlanSgtMappingGroup=ctspVlanSgtMappingGroup, ctspSgtCachingGroup=ctspSgtCachingGroup, ctspIfL3PolicyConfigEntry=ctspIfL3PolicyConfigEntry, ctspConfigSgaclMappingRowStatus=ctspConfigSgaclMappingRowStatus, ctspIpSwStatisticsGroup=ctspIpSwStatisticsGroup, ctspDownloadedSgtPolicySgt=ctspDownloadedSgtPolicySgt, ctspDefConfigIpv6SgaclsMonitor=ctspDefConfigIpv6SgaclsMonitor, ctspOperSgaclIndex=ctspOperSgaclIndex, ctspVlanSgtMappingTable=ctspVlanSgtMappingTable, ctspIfSgtMappingEntry=ctspIfSgtMappingEntry, ctspAuthorizationSgaclFailNotif=ctspAuthorizationSgaclFailNotif, ctspConfigSgaclMappingGroup=ctspConfigSgaclMappingGroup, ctspIfSgtMappingTable=ctspIfSgtMappingTable, ctspStatsIpSwDropPkts=ctspStatsIpSwDropPkts, ctspIpSgtSource=ctspIpSgtSource, ctspConfigSgaclMappingSgaclName=ctspConfigSgaclMappingSgaclName, ctspLayer3PolicyEntry=ctspLayer3PolicyEntry, ctspDownloadedSgaclSourceSgt=ctspDownloadedSgaclSourceSgt, ctspVlanConfigSgaclEnforcement=ctspVlanConfigSgaclEnforcement, ctspDefDownloadedSgaclMappingEntry=ctspDefDownloadedSgaclMappingEntry, ctspIpSgtIpAddress=ctspIpSgtIpAddress, ctspDownloadedSgaclMappingTable=ctspDownloadedSgaclMappingTable, ctspDefOperSgaclMappingTable=ctspDefOperSgaclMappingTable, ctspL3IPMStatus=ctspL3IPMStatus, ctspIfL3Ipv6PolicyEnabled=ctspIfL3Ipv6PolicyEnabled, ctspOperSgaclMonitor=ctspOperSgaclMonitor, ctspIpSgtMappings=ctspIpSgtMappings, ctspPeerPolicyAction=ctspPeerPolicyAction, ctspDownloadedDefSgtPolicyTable=ctspDownloadedDefSgtPolicyTable, ctspPeerPolicyTable=ctspPeerPolicyTable, ctspIfSgtStorageType=ctspIfSgtStorageType, ctspConfigSgaclMappingTable=ctspConfigSgaclMappingTable, PYSNMP_MODULE_ID=ciscoTrustSecPolicyMIB, ctspVlanSgtMappings=ctspVlanSgtMappings, ctspSgtCachingVlansFirst2K=ctspSgtCachingVlansFirst2K, ctspDefOperIpTrafficType=ctspDefOperIpTrafficType, ctspVlanSgtMapValue=ctspVlanSgtMapValue, ctspAuthorizationSgaclFailInfo=ctspAuthorizationSgaclFailInfo, ctspVlanSviActive=ctspVlanSviActive, ctspDownloadedSgtPolicyTable=ctspDownloadedSgtPolicyTable, ctspLayer3PolicyTable=ctspLayer3PolicyTable, ctspDownloadedIpTrafficType=ctspDownloadedIpTrafficType, ctspDownloadedSgtPolicyEntry=ctspDownloadedSgtPolicyEntry, ctspDefOperSgaclMappingSource=ctspDefOperSgaclMappingSource, ctspPeerPolicyEntry=ctspPeerPolicyEntry, ctspSgtStatsTable=ctspSgtStatsTable, ctspIfL3Ipv4PolicyEnabled=ctspIfL3Ipv4PolicyEnabled, ctspSgaclMonitorStatisticGroup=ctspSgaclMonitorStatisticGroup, ctspOperationalSgaclName=ctspOperationalSgaclName, ctspIpSgtStorageType=ctspIpSgtStorageType, ctspStatsIpSwPermitPkts=ctspStatsIpSwPermitPkts, ctspVlanSgtMappingIndex=ctspVlanSgtMappingIndex, ctspNotifsControl=ctspNotifsControl, ctspVlanSgtRowStatus=ctspVlanSgtRowStatus, ctspStatsIpSwMonitorPkts=ctspStatsIpSwMonitorPkts, ctspDefHwStatisticsGroup=ctspDefHwStatisticsGroup, ctspDownloadedDefSgtPolicyEntry=ctspDownloadedDefSgtPolicyEntry, ctspIpSgtValue=ctspIpSgtValue, ctspLayer3PolicyOperational=ctspLayer3PolicyOperational, ctspDefIpSwMonitorPkts=ctspDefIpSwMonitorPkts, ctspSgaclIpv4DropNetflowMonitor=ctspSgaclIpv4DropNetflowMonitor, ciscoTrustSecPolicyMIBNotifs=ciscoTrustSecPolicyMIBNotifs, ctspAuthorizationSgaclFailReason=ctspAuthorizationSgaclFailReason, ciscoTrustSecPolicyMIBCompliance=ciscoTrustSecPolicyMIBCompliance, ctspIpSgtMappingEntry=ctspIpSgtMappingEntry, ctspSgtStatsEntry=ctspSgtStatsEntry, ctspIfL3PolicyConfigGroup=ctspIfL3PolicyConfigGroup, ctspSgtPolicyGroup=ctspSgtPolicyGroup, ctspSgtPolicy=ctspSgtPolicy, ctspVlanConfigTable=ctspVlanConfigTable, ctspStatsSourceSgt=ctspStatsSourceSgt, ctspLayer3PolicyIpTrafficType=ctspLayer3PolicyIpTrafficType, ctspPeerPolicyLifeTime=ctspPeerPolicyLifeTime, ctspDefDownloadedSgaclGenId=ctspDefDownloadedSgaclGenId, ctspStatsIpHwPermitPkts=ctspStatsIpHwPermitPkts, ctspIpHwStatisticsGroup=ctspIpHwStatisticsGroup, ctspIpSgtAddressLength=ctspIpSgtAddressLength, ctspDownloadedSgtPolicyAction=ctspDownloadedSgtPolicyAction, ctspAllSgtPolicyAction=ctspAllSgtPolicyAction, ctspDownloadedDefSgtPolicyLifeTime=ctspDownloadedDefSgtPolicyLifeTime, ctspVlanConfigVrfName=ctspVlanConfigVrfName, ctspDownloadedDefSgtPolicySgtGenId=ctspDownloadedDefSgtPolicySgtGenId, ctspPeerSgtGenId=ctspPeerSgtGenId, ctspIfSgName=ctspIfSgName, ctspSgaclMonitorGroup=ctspSgaclMonitorGroup, ctspVlanSgtStorageType=ctspVlanSgtStorageType, ctspSgaclEnforcementEnable=ctspSgaclEnforcementEnable, ctspDefOperSgaclMonitor=ctspDefOperSgaclMonitor, ctspDownloadedSgaclMappingGroup=ctspDownloadedSgaclMappingGroup, ctspPeerPolicyGroup=ctspPeerPolicyGroup, ctspDefDownloadedSgaclMonitor=ctspDefDownloadedSgaclMonitor, ctspIfL3PolicyConfigTable=ctspIfL3PolicyConfigTable, ctspDefDownloadedSgaclName=ctspDefDownloadedSgaclName, ctspDownloadedSgtPolicySgtGenId=ctspDownloadedSgtPolicySgtGenId, ciscoTrustSecPolicyMIB=ciscoTrustSecPolicyMIB, ctspVlanConfigRowStatus=ctspVlanConfigRowStatus, ctspIpSgtRowStatus=ctspIpSgtRowStatus, ctspAuthorizationSgaclFailNotifEnable=ctspAuthorizationSgaclFailNotifEnable, ctspConfigSgaclMappingSourceSgt=ctspConfigSgaclMappingSourceSgt, ctspVlanConfigGroup=ctspVlanConfigGroup, ctspDefConfigIpv4SgaclsMonitor=ctspDefConfigIpv4SgaclsMonitor, ctspDefIpSwDropPkts=ctspDefIpSwDropPkts, ctspDefConfigIpv6Sgacls=ctspDefConfigIpv6Sgacls, ctspConfigSgaclMappingIpTrafficType=ctspConfigSgaclMappingIpTrafficType, ciscoTrustSecPolicyMIBCompliances=ciscoTrustSecPolicyMIBCompliances, ctspStatsIpHwDropPkts=ctspStatsIpHwDropPkts, ctspVlanSgtMappingEntry=ctspVlanSgtMappingEntry, ctspDefIpHwPermitPkts=ctspDefIpHwPermitPkts, ctspOperationalSgaclGenId=ctspOperationalSgaclGenId, ctspDefOperationalSgaclName=ctspDefOperationalSgaclName, ctspOperSgaclMappingEntry=ctspOperSgaclMappingEntry, ctspIpSgtMappingTable=ctspIpSgtMappingTable, ctspIfSgtMappingInfoEntry=ctspIfSgtMappingInfoEntry, ctspLayer3Transport=ctspLayer3Transport, ctspSgaclIpv4DropNetflowMonitorGroup=ctspSgaclIpv4DropNetflowMonitorGroup, ctspSgtCachingMode=ctspSgtCachingMode, ctspOperSgaclConfigSource=ctspOperSgaclConfigSource, ctspDownloadedSgaclMonitor=ctspDownloadedSgaclMonitor, ctspDefSwStatisticsGroup=ctspDefSwStatisticsGroup, ctspIpSgtAddressType=ctspIpSgtAddressType, ctspPeerPolicyLastUpdate=ctspPeerPolicyLastUpdate, ctspDownloadedDefSgtPolicyAction=ctspDownloadedDefSgtPolicyAction, ctspOldPeerSgt=ctspOldPeerSgt, ctspNotifGroup=ctspNotifGroup, ctspDefOperSgaclConfigSource=ctspDefOperSgaclConfigSource, ctspDefStatsTable=ctspDefStatsTable, ctspSgaclIpv6DropNetflowMonitorGroup=ctspSgaclIpv6DropNetflowMonitorGroup, ctspConfigSgaclMappingDestSgt=ctspConfigSgaclMappingDestSgt, ctspIfSgtMappingInfoTable=ctspIfSgtMappingInfoTable, ctspNotifCtrlGroup=ctspNotifCtrlGroup, ctspDownloadedSgaclIndex=ctspDownloadedSgaclIndex)
class Event: def __init__(self): self.handlers = set() def subscribe(self, func): self.handlers.add(func) def unsubscribe(self, func): self.handlers.remove(func) def emit(self, *args): for func in self.handlers: func(*args)
class Event: def __init__(self): self.handlers = set() def subscribe(self, func): self.handlers.add(func) def unsubscribe(self, func): self.handlers.remove(func) def emit(self, *args): for func in self.handlers: func(*args)
dataset_type = 'FlyingChairs' data_root = 'data/FlyingChairs_release' img_norm_cfg = dict(mean=[0., 0., 0.], std=[255., 255., 255.], to_rgb=False) global_transform = dict( translates=(0.05, 0.05), zoom=(1.0, 1.5), shear=(0.86, 1.16), rotate=(-10., 10.)) relative_transform = dict( translates=(0.00375, 0.00375), zoom=(0.985, 1.015), shear=(1.0, 1.0), rotate=(-1.0, 1.0)) train_pipeline = [ dict(type='LoadImageFromFile'), dict(type='LoadAnnotations'), dict( type='ColorJitter', brightness=0.5, contrast=0.5, saturation=0.5, hue=0.5), dict(type='RandomGamma', gamma_range=(0.7, 1.5)), dict(type='Normalize', **img_norm_cfg), dict(type='GaussianNoise', sigma_range=(0, 0.04), clamp_range=(0., 1.)), dict(type='RandomFlip', prob=0.5, direction='horizontal'), dict(type='RandomFlip', prob=0.5, direction='vertical'), dict( type='RandomAffine', global_transform=global_transform, relative_transform=relative_transform), dict(type='RandomCrop', crop_size=(320, 448)), dict(type='DefaultFormatBundle'), dict( type='Collect', keys=['imgs', 'flow_gt'], meta_keys=[ 'img_fields', 'ann_fields', 'filename1', 'filename2', 'ori_filename1', 'ori_filename2', 'filename_flow', 'ori_filename_flow', 'ori_shape', 'img_shape', 'img_norm_cfg' ]), ] test_pipeline = [ dict(type='LoadImageFromFile'), dict(type='LoadAnnotations'), dict(type='InputResize', exponent=6), dict(type='Normalize', **img_norm_cfg), dict(type='TestFormatBundle'), dict( type='Collect', keys=['imgs'], meta_keys=[ 'flow_gt', 'filename1', 'filename2', 'ori_filename1', 'ori_filename2', 'ori_shape', 'img_shape', 'img_norm_cfg', 'scale_factor', 'pad_shape' ]) ] flyingchairs_train = dict( type=dataset_type, pipeline=train_pipeline, data_root=data_root, split_file='data/FlyingChairs_release/FlyingChairs_train_val.txt') data = dict( train_dataloader=dict( samples_per_gpu=1, workers_per_gpu=2, drop_last=True, persistent_workers=True), val_dataloader=dict(samples_per_gpu=1, workers_per_gpu=2, shuffle=False), test_dataloader=dict(samples_per_gpu=1, workers_per_gpu=2, shuffle=False), train=flyingchairs_train, val=dict( type=dataset_type, pipeline=test_pipeline, data_root=data_root, test_mode=True, split_file='data/FlyingChairs_release/FlyingChairs_train_val.txt'), test=dict( type=dataset_type, pipeline=test_pipeline, data_root=data_root, test_mode=True, split_file='data/FlyingChairs_release/FlyingChairs_train_val.txt'))
dataset_type = 'FlyingChairs' data_root = 'data/FlyingChairs_release' img_norm_cfg = dict(mean=[0.0, 0.0, 0.0], std=[255.0, 255.0, 255.0], to_rgb=False) global_transform = dict(translates=(0.05, 0.05), zoom=(1.0, 1.5), shear=(0.86, 1.16), rotate=(-10.0, 10.0)) relative_transform = dict(translates=(0.00375, 0.00375), zoom=(0.985, 1.015), shear=(1.0, 1.0), rotate=(-1.0, 1.0)) train_pipeline = [dict(type='LoadImageFromFile'), dict(type='LoadAnnotations'), dict(type='ColorJitter', brightness=0.5, contrast=0.5, saturation=0.5, hue=0.5), dict(type='RandomGamma', gamma_range=(0.7, 1.5)), dict(type='Normalize', **img_norm_cfg), dict(type='GaussianNoise', sigma_range=(0, 0.04), clamp_range=(0.0, 1.0)), dict(type='RandomFlip', prob=0.5, direction='horizontal'), dict(type='RandomFlip', prob=0.5, direction='vertical'), dict(type='RandomAffine', global_transform=global_transform, relative_transform=relative_transform), dict(type='RandomCrop', crop_size=(320, 448)), dict(type='DefaultFormatBundle'), dict(type='Collect', keys=['imgs', 'flow_gt'], meta_keys=['img_fields', 'ann_fields', 'filename1', 'filename2', 'ori_filename1', 'ori_filename2', 'filename_flow', 'ori_filename_flow', 'ori_shape', 'img_shape', 'img_norm_cfg'])] test_pipeline = [dict(type='LoadImageFromFile'), dict(type='LoadAnnotations'), dict(type='InputResize', exponent=6), dict(type='Normalize', **img_norm_cfg), dict(type='TestFormatBundle'), dict(type='Collect', keys=['imgs'], meta_keys=['flow_gt', 'filename1', 'filename2', 'ori_filename1', 'ori_filename2', 'ori_shape', 'img_shape', 'img_norm_cfg', 'scale_factor', 'pad_shape'])] flyingchairs_train = dict(type=dataset_type, pipeline=train_pipeline, data_root=data_root, split_file='data/FlyingChairs_release/FlyingChairs_train_val.txt') data = dict(train_dataloader=dict(samples_per_gpu=1, workers_per_gpu=2, drop_last=True, persistent_workers=True), val_dataloader=dict(samples_per_gpu=1, workers_per_gpu=2, shuffle=False), test_dataloader=dict(samples_per_gpu=1, workers_per_gpu=2, shuffle=False), train=flyingchairs_train, val=dict(type=dataset_type, pipeline=test_pipeline, data_root=data_root, test_mode=True, split_file='data/FlyingChairs_release/FlyingChairs_train_val.txt'), test=dict(type=dataset_type, pipeline=test_pipeline, data_root=data_root, test_mode=True, split_file='data/FlyingChairs_release/FlyingChairs_train_val.txt'))
tc = int(input()) while tc: tc -= 1 best = 0 n, x = map(int, input().split()) for i in range(n): s, r = map(int, input().split()) if x >= s: best = max(best, r) print(best)
tc = int(input()) while tc: tc -= 1 best = 0 (n, x) = map(int, input().split()) for i in range(n): (s, r) = map(int, input().split()) if x >= s: best = max(best, r) print(best)
## # This class encapsulates a Region Of Interest, which may be either horizontal # (pixels) or vertical (rows/lines). class ROI: def __init__(self, start, end): self.start = start self.end = end self.len = end - start + 1 def valid(self): return self.start >= 0 and self.start < self.end def crop(self, spectrum): return spectrum[self.start:self.end+1] def contains(self, value): return self.start <= value <= self.end
class Roi: def __init__(self, start, end): self.start = start self.end = end self.len = end - start + 1 def valid(self): return self.start >= 0 and self.start < self.end def crop(self, spectrum): return spectrum[self.start:self.end + 1] def contains(self, value): return self.start <= value <= self.end
__all__ = ['EnemyBucketWithStar', 'Nut', 'Beam', 'Enemy', 'Friend', 'Hero', 'Launcher', 'Rotor', 'SpikeyBuddy', 'Star', 'Wizard', 'EnemyEquipedRotor', 'CyclingEnemyObject', 'Joints', 'Bomb', 'Contacts']
__all__ = ['EnemyBucketWithStar', 'Nut', 'Beam', 'Enemy', 'Friend', 'Hero', 'Launcher', 'Rotor', 'SpikeyBuddy', 'Star', 'Wizard', 'EnemyEquipedRotor', 'CyclingEnemyObject', 'Joints', 'Bomb', 'Contacts']
days_of_week = ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday', 'Sunday'] operation = '' options = ['Info', 'Check-in/Out', 'Edit games', 'Back'] admins = ['admin1_telegram_nickname', 'admin2_telegram_nickname'] avail_days = [] TOKEN = 'bot_token' group_id = id_of_group_chat
days_of_week = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday'] operation = '' options = ['Info', 'Check-in/Out', 'Edit games', 'Back'] admins = ['admin1_telegram_nickname', 'admin2_telegram_nickname'] avail_days = [] token = 'bot_token' group_id = id_of_group_chat