content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
"""Binary Tree level order traversal 2""" class Node: def __init__(self, id): self.id = id self.left = None self.right = None def __repr__(self): return f'Node: {self.id}' def build_bin_tree(root): if not root: return queue = [] queue.append(root) binary_tree = [] while queue: node = queue.pop(0) binary_tree.append(node) if node.left is not None: queue.append(node.left) if node.right is not None: queue.append(node.right) return binary_tree root = Node(1) root.left = Node(2) root.right = Node(3) root.left.left = Node(4) root.left.right = Node(5) result = build_bin_tree(root) print(result)
"""Binary Tree level order traversal 2""" class Node: def __init__(self, id): self.id = id self.left = None self.right = None def __repr__(self): return f'Node: {self.id}' def build_bin_tree(root): if not root: return queue = [] queue.append(root) binary_tree = [] while queue: node = queue.pop(0) binary_tree.append(node) if node.left is not None: queue.append(node.left) if node.right is not None: queue.append(node.right) return binary_tree root = node(1) root.left = node(2) root.right = node(3) root.left.left = node(4) root.left.right = node(5) result = build_bin_tree(root) print(result)
#help(object) #the object will be the built-in functions #it returns the object details clearly print(help('print'))
print(help('print'))
# # PySNMP MIB module AI198CLC-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/AI198CLC-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:15:57 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") ConstraintsIntersection, ValueRangeConstraint, ConstraintsUnion, SingleValueConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueRangeConstraint", "ConstraintsUnion", "SingleValueConstraint", "ValueSizeConstraint") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") ModuleIdentity, MibIdentifier, ObjectIdentity, TimeTicks, Unsigned32, IpAddress, Counter64, NotificationType, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32, Integer32, iso, enterprises, Bits = mibBuilder.importSymbols("SNMPv2-SMI", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "TimeTicks", "Unsigned32", "IpAddress", "Counter64", "NotificationType", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32", "Integer32", "iso", "enterprises", "Bits") DateAndTime, DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "DisplayString", "TextualConvention") aii = MibIdentifier((1, 3, 6, 1, 4, 1, 539)) aiSystemOID = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 2)) aiCLC = ModuleIdentity((1, 3, 6, 1, 4, 1, 539, 9)) if mibBuilder.loadTexts: aiCLC.setLastUpdated('9505081700Z') if mibBuilder.loadTexts: aiCLC.setOrganization('Applied Innovation Incorporated') if mibBuilder.loadTexts: aiCLC.setContactInfo(' Engineering MIB Administrator Postal: Applied Innovation Inc. 5800 Innovation Drive Dublin, OH 43016 Tel: 614/798-2000 Fax: 614/798-1770 E-mail: snmp@aiinet.com') if mibBuilder.loadTexts: aiCLC.setDescription('The MIB Module for Series 1 Common Logic Controllers (CLC)') aiCLCSystem = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 9, 1)) ai198 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 2, 198)) ai198Ver1 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 2, 198, 1)) ai198Ver10 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 2, 198, 1, 0)) ai198Ver102 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 2, 198, 1, 0, 2)) ai198Ver103 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 2, 198, 1, 0, 3)) ai198Ver104 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 2, 198, 1, 0, 4)) ai198Ver12 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 2, 198, 1, 2)) ai198Ver120 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 2, 198, 1, 2, 0)) ai198Ver13 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 2, 198, 1, 3)) ai198Ver130 = MibIdentifier((1, 3, 6, 1, 4, 1, 539, 2, 198, 1, 3, 0)) aiCLCBox1DensAdmin = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 4, 8, 16, 32))).clone(namedValues=NamedValues(("disabled", 1), ("four", 4), ("eight", 8), ("sixteen", 16), ("thirtytwo", 32))).clone(16)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCBox1DensAdmin.setStatus('current') if mibBuilder.loadTexts: aiCLCBox1DensAdmin.setDescription('The administration value for the slot density for Chassis 1 of and AISwitch.') aiCLCBox2DensAdmin = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 4, 8, 16, 32))).clone(namedValues=NamedValues(("disabled", 1), ("four", 4), ("eight", 8), ("sixteen", 16), ("thirtytwo", 32))).clone(16)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCBox2DensAdmin.setStatus('current') if mibBuilder.loadTexts: aiCLCBox2DensAdmin.setDescription('The administration value for the slot density for Chassis 2 of and AISwitch.') aiCLCBox3DensAdmin = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 4, 8, 16, 32))).clone(namedValues=NamedValues(("disabled", 1), ("four", 4), ("eight", 8), ("sixteen", 16), ("thirtytwo", 32))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCBox3DensAdmin.setStatus('current') if mibBuilder.loadTexts: aiCLCBox3DensAdmin.setDescription('The administration value for the slot density for Chassis 3 of and AISwitch.') aiCLCBox4DensAdmin = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 4, 8, 16, 32))).clone(namedValues=NamedValues(("disabled", 1), ("four", 4), ("eight", 8), ("sixteen", 16), ("thirtytwo", 32))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCBox4DensAdmin.setStatus('current') if mibBuilder.loadTexts: aiCLCBox4DensAdmin.setDescription('The administration value for the slot density for Chassis 4 of and AISwitch.') aiCLCBox5DensAdmin = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 4, 8, 16, 32))).clone(namedValues=NamedValues(("disabled", 1), ("four", 4), ("eight", 8), ("sixteen", 16), ("thirtytwo", 32))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCBox5DensAdmin.setStatus('current') if mibBuilder.loadTexts: aiCLCBox5DensAdmin.setDescription('The administration value for the slot density for Chassis 5 of and AISwitch.') aiCLCBox6DensAdmin = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 4, 8, 16, 32))).clone(namedValues=NamedValues(("disabled", 1), ("four", 4), ("eight", 8), ("sixteen", 16), ("thirtytwo", 32))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCBox6DensAdmin.setStatus('current') if mibBuilder.loadTexts: aiCLCBox6DensAdmin.setDescription('The administration value for the slot density for Chassis 6 of and AISwitch.') aiCLCBox7DensAdmin = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 4, 8, 16, 32))).clone(namedValues=NamedValues(("disabled", 1), ("four", 4), ("eight", 8), ("sixteen", 16), ("thirtytwo", 32))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCBox7DensAdmin.setStatus('current') if mibBuilder.loadTexts: aiCLCBox7DensAdmin.setDescription('The administration value for the slot density for Chassis 7 of and AISwitch.') aiCLCBox8DensAdmin = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 4, 8, 16, 32))).clone(namedValues=NamedValues(("disabled", 1), ("four", 4), ("eight", 8), ("sixteen", 16), ("thirtytwo", 32))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCBox8DensAdmin.setStatus('current') if mibBuilder.loadTexts: aiCLCBox8DensAdmin.setDescription('The administration value for the slot density for Chassis 8 of and AISwitch.') aiCLCNodeName = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 9), DisplayString().subtype(subtypeSpec=ValueRangeConstraint(0, 29)).clone('NODE-XXX')).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCNodeName.setStatus('current') if mibBuilder.loadTexts: aiCLCNodeName.setDescription('This associates a name with an AI Switch. This string is part of the prompt for a user port.') aiCLCLogPortEnable = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCLogPortEnable.setStatus('current') if mibBuilder.loadTexts: aiCLCLogPortEnable.setDescription('Enable/Disable the display of Alarm and Activity Information.') aiCLCAlmLogPort = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCAlmLogPort.setStatus('current') if mibBuilder.loadTexts: aiCLCAlmLogPort.setDescription('The Alarm and Activity Log Port Number.') aiCLCActLogLvl = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 9)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCActLogLvl.setStatus('current') if mibBuilder.loadTexts: aiCLCActLogLvl.setDescription('The alarm level which when met or exceeded will cause messages to be printed on the log port.') aiCLCMinorAlmMin = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 9)).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCMinorAlmMin.setStatus('current') if mibBuilder.loadTexts: aiCLCMinorAlmMin.setDescription('The alarm level which when met or exceeded will cause a minor alarm to be reported.') aiCLCMinorAlmMax = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 9)).clone(4)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCMinorAlmMax.setStatus('current') if mibBuilder.loadTexts: aiCLCMinorAlmMax.setDescription('The alarm level which when exceeded will not cause a minor alarm to be reported.') aiCLCMajorAlmMin = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 9)).clone(5)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCMajorAlmMin.setStatus('current') if mibBuilder.loadTexts: aiCLCMajorAlmMin.setDescription('The alarm level which when met or exceeded will cause a major alarm to be reported.') aiCLCMajorAlmMax = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 9)).clone(9)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCMajorAlmMax.setStatus('current') if mibBuilder.loadTexts: aiCLCMajorAlmMax.setDescription('The alarm level which when exceeded will not cause a major alarm to be reported.') aiCLCCraftLogEcho = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCraftLogEcho.setStatus('current') if mibBuilder.loadTexts: aiCLCCraftLogEcho.setDescription('Echo Alarm and Activity information on the craft port.') aiCLCCaamlRoute = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 18), DisplayString().subtype(subtypeSpec=ValueRangeConstraint(0, 200))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCaamlRoute.setStatus('current') if mibBuilder.loadTexts: aiCLCCaamlRoute.setDescription('Name of the destination used for the CAAML Log.') aiCLCCaamlIdleTmr = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCaamlIdleTmr.setStatus('current') if mibBuilder.loadTexts: aiCLCCaamlIdleTmr.setDescription('The number of seconds that must pass without any messages being printed on CAAML, before the CAAML connection is torn down.') aiCLCCaamlRetryTmr = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCaamlRetryTmr.setStatus('current') if mibBuilder.loadTexts: aiCLCCaamlRetryTmr.setDescription('The number of seconds that must pass after an unsuccessful attempt at bringing the CAAML connection up before a retry will occur.') aiCLCConnInfo = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCConnInfo.setStatus('current') if mibBuilder.loadTexts: aiCLCConnInfo.setDescription('Print connection information on user terminals.') aiCLCLongBrkLen = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1875, 50000)).clone(1875)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCLongBrkLen.setStatus('current') if mibBuilder.loadTexts: aiCLCLongBrkLen.setDescription('Long Break length in milliseconds rounded to the nearest 1/64th second.') aiCLCDestMenu = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDestMenu.setStatus('current') if mibBuilder.loadTexts: aiCLCDestMenu.setDescription('Print Destination Menu on user terminals.') aiCLCDownSpd = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDownSpd.setStatus('current') if mibBuilder.loadTexts: aiCLCDownSpd.setDescription('Allow ports of different speeds to be connected.') aiCLCFaultSwitch = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCFaultSwitch.setStatus('current') if mibBuilder.loadTexts: aiCLCFaultSwitch.setDescription('In dual CLC systems, a fault on the active CLC will cause automatic switchover from the faulted CLC to the backup CLC.') aiCLCDestMenuFmt = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 4))).clone(namedValues=NamedValues(("oneCol", 1), ("fourCol", 4))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDestMenuFmt.setStatus('current') if mibBuilder.loadTexts: aiCLCDestMenuFmt.setDescription('The number of columns used to print the destination menu.') aiCLCAutoCLCUpdate = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCAutoCLCUpdate.setStatus('current') if mibBuilder.loadTexts: aiCLCAutoCLCUpdate.setDescription("Automatic configuration of the backup CLC when the active CLC's configuration changes.") aiCLCAlarmLvl = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 28), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 9))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCAlarmLvl.setStatus('current') if mibBuilder.loadTexts: aiCLCAlarmLvl.setDescription('Current Alarm Level. A write clears the alarms. A read returns the current alarm level.') aiCLCTimeDate = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 29), DateAndTime()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCTimeDate.setStatus('current') if mibBuilder.loadTexts: aiCLCTimeDate.setDescription('This is the Current Time and Date. The DateAndTime type is a structured OCTET STRING, defined in v2-tc.my (SNMPv2 Textual Conventions).') aiCLCRstTimeDate = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 30), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCRstTimeDate.setStatus('current') if mibBuilder.loadTexts: aiCLCRstTimeDate.setDescription('This is the Time and Date of Last Reset. The DateAndTime type is a structured OCTET STRING, defined in v2-tc.my (SNMPv2 Textual Conventions).') aiCLCHoldConn = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 31), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCHoldConn.setStatus('current') if mibBuilder.loadTexts: aiCLCHoldConn.setDescription('Number of connections placed on hold ') aiCLCNumPorts = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 32), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCNumPorts.setStatus('current') if mibBuilder.loadTexts: aiCLCNumPorts.setDescription('Number of ports detected ') aiCLCQueuedPorts = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 33), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCQueuedPorts.setStatus('current') if mibBuilder.loadTexts: aiCLCQueuedPorts.setDescription('Number of ports in wait queue ') aiCLCEEPromFaults = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 34), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCEEPromFaults.setStatus('current') if mibBuilder.loadTexts: aiCLCEEPromFaults.setDescription('Number of EEProm failures') aiCLCFreeEE = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 35), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1048576))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCFreeEE.setStatus('current') if mibBuilder.loadTexts: aiCLCFreeEE.setDescription('Number of free EEProm bytes ') aiCLCBuffers = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 36), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCBuffers.setStatus('current') if mibBuilder.loadTexts: aiCLCBuffers.setDescription('Number of buffers created ') aiCLCFreeBuffers = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 37), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCFreeBuffers.setStatus('current') if mibBuilder.loadTexts: aiCLCFreeBuffers.setDescription('Number of free buffers ') aiCLCBufAllocErr = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 38), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCBufAllocErr.setStatus('current') if mibBuilder.loadTexts: aiCLCBufAllocErr.setDescription('Number of buffer allocation errors ') aiCLCBufAlign = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 39), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCBufAlign.setStatus('current') if mibBuilder.loadTexts: aiCLCBufAlign.setDescription('Number of buffer re-alignments ') aiCLCCpuXacts = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 40), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCCpuXacts.setStatus('current') if mibBuilder.loadTexts: aiCLCCpuXacts.setDescription('Number of inter-cpu transactions') aiCLCSLCXacts = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 41), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCSLCXacts.setStatus('current') if mibBuilder.loadTexts: aiCLCSLCXacts.setDescription('Number of SLC Window transactions ') aiCLCConnectionsPlaced = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 42), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCConnectionsPlaced.setStatus('current') if mibBuilder.loadTexts: aiCLCConnectionsPlaced.setDescription('Number of connections placed') aiCLCTxTail = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 43), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCTxTail.setStatus('current') if mibBuilder.loadTexts: aiCLCTxTail.setDescription('Number of TXTail misses ') aiCLCEECRC = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 44), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCEECRC.setStatus('current') if mibBuilder.loadTexts: aiCLCEECRC.setDescription('Configuration EEPROM CRC.') aiCLCVersion = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 45), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCVersion.setStatus('current') if mibBuilder.loadTexts: aiCLCVersion.setDescription('Software version, time, and date of currently executing software') aiCLCBackupCLC = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 46), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("present", 1), ("notPresent", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCBackupCLC.setStatus('current') if mibBuilder.loadTexts: aiCLCBackupCLC.setDescription('Status of the Backup CLC.') aiCLCCpu = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 47), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("slotA", 1), ("slotB", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCCpu.setStatus('current') if mibBuilder.loadTexts: aiCLCCpu.setDescription('The location of the active CLC.') aiCLCCpyConfig = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 48), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("none", 1), ("copy", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCpyConfig.setStatus('current') if mibBuilder.loadTexts: aiCLCCpyConfig.setDescription('Copy configuration from active CLC to backup CLC. A write of copy(2) causes the transfer to begin. A read will return copy(2) if a transfer is in progress and a none(1) if idle. A write of none(1) is not permitted and is flagged as an error.') aiCLCDLWinVerbose = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 49), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDLWinVerbose.setStatus('current') if mibBuilder.loadTexts: aiCLCDLWinVerbose.setDescription('Verbose report of Window Transactions.') aiCLCDLWinIn = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 50), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDLWinIn.setStatus('current') if mibBuilder.loadTexts: aiCLCDLWinIn.setDescription('Verbose report of incoming Window Transactions.') aiCLCDLWinOut = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 51), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDLWinOut.setStatus('current') if mibBuilder.loadTexts: aiCLCDLWinOut.setDescription('Verbose report of outgoing Window Transactions.') aiCLCDLWinUni = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 52), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDLWinUni.setStatus('current') if mibBuilder.loadTexts: aiCLCDLWinUni.setDescription('Verbose report of unified Window Transactions.') aiCLCDLMsgAll = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 53), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDLMsgAll.setStatus('current') if mibBuilder.loadTexts: aiCLCDLMsgAll.setDescription('Verbose report of log messages.') aiCLCDLNoBody = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 54), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDLNoBody.setStatus('current') if mibBuilder.loadTexts: aiCLCDLNoBody.setDescription('Report log messages headers only.') aiCLCDLAlias = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 55), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDLAlias.setStatus('current') if mibBuilder.loadTexts: aiCLCDLAlias.setDescription('Verbose report of alias translations.') aiCLCDebugVal = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 56), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 143))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDebugVal.setStatus('current') if mibBuilder.loadTexts: aiCLCDebugVal.setDescription('Value of the debug variable representing all debug combinations.') aiCLCSwitchRestart = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 57), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("restart", 1), ("restartCfg", 2), ("nextCLC", 3), ("reset", 4), ("resetSLC", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCSwitchRestart.setStatus('current') if mibBuilder.loadTexts: aiCLCSwitchRestart.setDescription('A write of this object causes the switch to be restarted in the designated mode. A read of this object always returns the value restart(1), which has no particular significance.') aiCLCInitStrings = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 58), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("good", 1), ("bad", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCInitStrings.setStatus('current') if mibBuilder.loadTexts: aiCLCInitStrings.setDescription('This object is used to test the condition of the strings on the CLC. A read of this object causes the test to be performed and then reports the outcome.') aiCLCCopyFlash = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 59), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("none", 1), ("apbs", 2), ("apas", 3), ("asbs", 4), ("asap", 5), ("bpas", 6), ("bpbs", 7), ("bsbp", 8), ("bsas", 9)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCopyFlash.setStatus('current') if mibBuilder.loadTexts: aiCLCCopyFlash.setDescription('Copy Flash from one bank to another. AP - Active Primary AS - Active Secondary BP - Backup Primary BS - Backup Secondary A read returns a value corresponding to the activity in progress. A write causes the requested transfer to begin. A write of none(1) is not permitted and is flagged as an error.') aiCLCCopyFlashToSLC = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 60), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 256))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCopyFlashToSLC.setStatus('current') if mibBuilder.loadTexts: aiCLCCopyFlashToSLC.setDescription("This object is used to begin or obtain the status of the SLC Download process. Writing a SLC base port to this object will cause the SLC at that baseport to search for new firmware on the active or backup CLC. If a valid SLC image is located, then the SLC will download that code and begin to run. A read of this variable will return the value 1 if a SLC download is in process, or a 0 if there aren't downloads in progress.") aiCLCReadCommunity = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 61), DisplayString().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCReadCommunity.setStatus('current') if mibBuilder.loadTexts: aiCLCReadCommunity.setDescription('The read community string for the CLC.') aiCLCWriteCommunity = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 62), DisplayString().subtype(subtypeSpec=ValueRangeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCWriteCommunity.setStatus('current') if mibBuilder.loadTexts: aiCLCWriteCommunity.setDescription('The write community string for the CLC.') aiCLCIPAdrs = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 63), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCIPAdrs.setStatus('current') if mibBuilder.loadTexts: aiCLCIPAdrs.setDescription('The IP address for the CLC.') aiCLCRouterIPAdrs = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 64), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCRouterIPAdrs.setStatus('current') if mibBuilder.loadTexts: aiCLCRouterIPAdrs.setDescription('The router ip address for the CLC.') aiCLCSubnetIPAdrs = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 65), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCSubnetIPAdrs.setStatus('current') if mibBuilder.loadTexts: aiCLCSubnetIPAdrs.setDescription('The subnet mask for the CLC. ') aiCLCTrapTable = MibTable((1, 3, 6, 1, 4, 1, 539, 9, 1, 66), ) if mibBuilder.loadTexts: aiCLCTrapTable.setStatus('current') if mibBuilder.loadTexts: aiCLCTrapTable.setDescription('A table of Trap destination IP addresses.') aiCLCLastTrapMsgText = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 67), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 512))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCLastTrapMsgText.setStatus('current') if mibBuilder.loadTexts: aiCLCLastTrapMsgText.setDescription('This is the message text associated with the last generated trap.') aiCLCLastTrapMsgNum = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 68), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCLastTrapMsgNum.setStatus('current') if mibBuilder.loadTexts: aiCLCLastTrapMsgNum.setDescription('This is the message number of the last generated trap log message.') aiCLCCrashMsgText = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 69), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 1024))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCCrashMsgText.setStatus('current') if mibBuilder.loadTexts: aiCLCCrashMsgText.setDescription('This is a place holder. It is required to allow verification of OID of trap crash message object. A read of this object will return an empty string.') aiCLCNumEventsSinceLastTrap = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 70), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCNumEventsSinceLastTrap.setStatus('current') if mibBuilder.loadTexts: aiCLCNumEventsSinceLastTrap.setDescription('This is the number of times an event that would generate a trap has occurred since the last time that trap was transmitted. The traps are not transmitted while the aiCLCTrapTimer is running. This number will accompany the next transmitted trap. This object is really a place holder. It is required to allow verification of the OID of this information in a trap (var-bind). A read of this object will result in an error from the snmp agent.') aiCLCTrapTimer = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 71), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 65535)).clone(300)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCTrapTimer.setStatus('current') if mibBuilder.loadTexts: aiCLCTrapTimer.setDescription('After a trap is generated, a timer is started. If the event that generated the trap occurs while the timer is running, no trap will be generated for the event. The value of this object is the duration of the timer in SECONDS.') aiCLCAsyncTrap = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 72), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCAsyncTrap.setStatus('current') if mibBuilder.loadTexts: aiCLCAsyncTrap.setDescription('When this object is enabled, link up/link down traps are sent to managers listed in the trap table. The traps are normally not used and must specifically be enabled by a manager.') aiCLCTelnetServerPort = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 73), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(23)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCTelnetServerPort.setStatus('current') if mibBuilder.loadTexts: aiCLCTelnetServerPort.setDescription('The tcp port number used by the telnet server may be configured using the aiCLCTelnetServerPort object. By default this object uses the well known port number 23.') aiCLCColdStartTrapDelay = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 74), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCColdStartTrapDelay.setStatus('current') if mibBuilder.loadTexts: aiCLCColdStartTrapDelay.setDescription('The sending of the cold start trap may be delayed to allow system startup and link startup to occur. This will typically be done on systems using IP over X.25 links. This value is specified in seconds.') aiCLCFtpCtrlPort = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 75), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(21)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCFtpCtrlPort.setStatus('current') if mibBuilder.loadTexts: aiCLCFtpCtrlPort.setDescription('The FTP Server control port number. New values for this object take affect after a reset. The FTP Server data port is automatically selected to be one less than the control port.') aiCLCBackupCLCHealth = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 76), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("present", 1), ("notPresent", 2), ("presentFaulted", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCBackupCLCHealth.setStatus('current') if mibBuilder.loadTexts: aiCLCBackupCLCHealth.setDescription('Health status of the Backup CLC.') aiCLCBanner = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 77), DisplayString().subtype(subtypeSpec=ValueRangeConstraint(0, 1170))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCBanner.setStatus('current') if mibBuilder.loadTexts: aiCLCBanner.setDescription('The banner for the CLC. There is a maximum 15 lines with 76 characters allowed per line.') aiCLCTimeZone = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 78), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-720, 720))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCTimeZone.setStatus('current') if mibBuilder.loadTexts: aiCLCTimeZone.setDescription('The time zone offset for the CLC in minutes.') aiCLCDaylightSavings = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 79), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDaylightSavings.setStatus('current') if mibBuilder.loadTexts: aiCLCDaylightSavings.setDescription('Daylight Savings') aiCLCSNTP = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 80), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCSNTP.setStatus('current') if mibBuilder.loadTexts: aiCLCSNTP.setDescription('SNTP') aiCLCSNTPPrimaryServer = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 81), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCSNTPPrimaryServer.setStatus('current') if mibBuilder.loadTexts: aiCLCSNTPPrimaryServer.setDescription('The IP address for the Primary SNTP Server.') aiCLCSNTPSecondaryServer = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 82), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCSNTPSecondaryServer.setStatus('current') if mibBuilder.loadTexts: aiCLCSNTPSecondaryServer.setDescription('The IP address for the Secondary SNTP Server.') aiCLCSNTPPollInterval = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 83), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCSNTPPollInterval.setStatus('current') if mibBuilder.loadTexts: aiCLCSNTPPollInterval.setDescription('SNTP Poll Interval') aiCLCRadiusEnabled = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 84), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1), ("localFallback", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCRadiusEnabled.setStatus('current') if mibBuilder.loadTexts: aiCLCRadiusEnabled.setDescription('RADIUS enabled/disabled state.') aiCLCRadiusAddr1 = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 85), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCRadiusAddr1.setStatus('current') if mibBuilder.loadTexts: aiCLCRadiusAddr1.setDescription('The IP address for the Primary RADIUS Server.') aiCLCRadiusPort1 = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 86), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(1812)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCRadiusPort1.setStatus('current') if mibBuilder.loadTexts: aiCLCRadiusPort1.setDescription('The port number associated with the Primary RADIUS Server.') aiCLCRadiusSecret1 = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 87), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 24)).clone('applied')).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCRadiusSecret1.setStatus('current') if mibBuilder.loadTexts: aiCLCRadiusSecret1.setDescription('The Secret for the Primary RADIUS Server.') aiCLCRadiusAddr2 = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 88), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCRadiusAddr2.setStatus('current') if mibBuilder.loadTexts: aiCLCRadiusAddr2.setDescription('The IP address for the Secondary RADIUS Server.') aiCLCRadiusPort2 = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 89), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(1812)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCRadiusPort2.setStatus('current') if mibBuilder.loadTexts: aiCLCRadiusPort2.setDescription('The port number associated with the Secondary RADIUS Server.') aiCLCRadiusSecret2 = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 90), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 24)).clone('applied')).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCRadiusSecret2.setStatus('current') if mibBuilder.loadTexts: aiCLCRadiusSecret2.setDescription('The Secret for the Secondary RADIUS Server.') aiCLCTrapInterval = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 91), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCTrapInterval.setStatus('current') if mibBuilder.loadTexts: aiCLCTrapInterval.setDescription('The interval of the faulted primary CLC trap. If the primary CLC was faulted and the interval was set between 1 and 65535 minutes, the backup CLC will repeatedly send the faulted primary CLC trap. To disable this trap, set the interval to 0. If reset the interval to 0 after the primary CLC has been faulted, the backup CLC will stop sending the trap. New value for this object will take affect without rebooting the switch. This object has no effect on other traps.') aiCLCTacacsEnabled = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 92), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1), ("localFallback", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCTacacsEnabled.setStatus('current') if mibBuilder.loadTexts: aiCLCTacacsEnabled.setDescription('TACACS+ enabled/disabled state.') aiCLCTacacsAddr1 = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 93), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCTacacsAddr1.setStatus('current') if mibBuilder.loadTexts: aiCLCTacacsAddr1.setDescription('The IP address for the Primary TACACS Server.') aiCLCTacacsPort1 = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 94), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(49)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCTacacsPort1.setStatus('current') if mibBuilder.loadTexts: aiCLCTacacsPort1.setDescription('The port number associated with the Primary TACACS Server.') aiCLCTacacsSecret1 = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 95), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 24)).clone('applied')).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCTacacsSecret1.setStatus('current') if mibBuilder.loadTexts: aiCLCTacacsSecret1.setDescription('The Secret for the Primary TACACS Server.') aiCLCTacacsAddr2 = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 96), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCTacacsAddr2.setStatus('current') if mibBuilder.loadTexts: aiCLCTacacsAddr2.setDescription('The IP address for the Secondary TACACS Server.') aiCLCTacacsPort2 = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 97), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(49)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCTacacsPort2.setStatus('current') if mibBuilder.loadTexts: aiCLCTacacsPort2.setDescription('The port number associated with the Secondary TACACS Server.') aiCLCTacacsSecret2 = MibScalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 98), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 24)).clone('applied')).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCTacacsSecret2.setStatus('current') if mibBuilder.loadTexts: aiCLCTacacsSecret2.setDescription('The Secret for the Secondary TACACS Server.') aiCLCTrapTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 539, 9, 1, 66, 1), ).setIndexNames((0, "AI198CLC-MIB", "aiCLCTrapIPAdrs")) if mibBuilder.loadTexts: aiCLCTrapTableEntry.setStatus('current') if mibBuilder.loadTexts: aiCLCTrapTableEntry.setDescription('Information about a particular Trap destination.') aiCLCTrapIPAdrs = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 1, 66, 1, 1), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: aiCLCTrapIPAdrs.setStatus('current') if mibBuilder.loadTexts: aiCLCTrapIPAdrs.setDescription('The IP Address of the destination to which SNMP Traps will be sent.') aiCLCTrapRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 1, 66, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("active", 1), ("notInService", 2), ("notReady", 3), ("createAndGo", 4), ("createAndWait", 5), ("destroy", 6)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aiCLCTrapRowStatus.setStatus('current') if mibBuilder.loadTexts: aiCLCTrapRowStatus.setDescription('The aiCLC Trap Table entry row status.') aiCLCCardTable = MibTable((1, 3, 6, 1, 4, 1, 539, 9, 2), ) if mibBuilder.loadTexts: aiCLCCardTable.setStatus('current') if mibBuilder.loadTexts: aiCLCCardTable.setDescription('A table of line cards contained in an AISwitch.') aiCLCCardTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 539, 9, 2, 1), ).setIndexNames((0, "AI198CLC-MIB", "aiCLCCTIndex")) if mibBuilder.loadTexts: aiCLCCardTableEntry.setStatus('current') if mibBuilder.loadTexts: aiCLCCardTableEntry.setDescription('Information about a particular line card.') aiCLCCTIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCTIndex.setStatus('current') if mibBuilder.loadTexts: aiCLCCTIndex.setDescription('The card table index.') aiCLCCTAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCTAdminStatus.setStatus('current') if mibBuilder.loadTexts: aiCLCCTAdminStatus.setDescription('This represents the state of the card and may be used to change the state of the card. For DUMB cards if one port on the card is up, then the entire card is considered to be up. ') aiCLCCTBasePort = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCTBasePort.setStatus('current') if mibBuilder.loadTexts: aiCLCCTBasePort.setDescription('The base port number for the line card.') aiCLCCTHighPort = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCCTHighPort.setStatus('current') if mibBuilder.loadTexts: aiCLCCTHighPort.setDescription('The highest port number accessible by the line card.') aiCLCCTRdCommStr = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCTRdCommStr.setStatus('current') if mibBuilder.loadTexts: aiCLCCTRdCommStr.setDescription('The SNMP read community string by which this card is known.') aiCLCCTWrCommStr = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCTWrCommStr.setStatus('current') if mibBuilder.loadTexts: aiCLCCTWrCommStr.setDescription('The SNMP write community string by which this card is known.') aiCLCCTCardSnmpState = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("nosnmp", 1), ("snmpProxy", 2), ("snmpDirect", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCCTCardSnmpState.setStatus('current') if mibBuilder.loadTexts: aiCLCCTCardSnmpState.setDescription("This field describes the capabilities of the card. A card may not be snmp capable and will have the value nosnmp(1). A card may be snmp capable but isn't present on the IP network. This card is may proxied for and will have the type snmpProxy(2). The last type of snmp capability is where are card is present on the IP network and can be managed directly. This card will have a type of snmpDirect(3). ") aiCLCCTCardType = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24))).clone(namedValues=NamedValues(("asynch", 1), ("aslc", 2), ("ethernet", 3), ("x25", 4), ("asp", 5), ("islc", 6), ("ai2524", 7), ("ai294", 8), ("ai196im", 9), ("x25m", 10), ("islc1", 11), ("ai296", 12), ("ai285", 13), ("ai232", 14), ("ai196ILEG", 15), ("aimod", 16), ("aiflx", 17), ("empty", 18), ("ai120", 19), ("aie1", 20), ("aitc", 21), ("aifocus", 22), ("wanE1", 23), ("wanT1", 24))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCTCardType.setStatus('current') if mibBuilder.loadTexts: aiCLCCTCardType.setDescription('The line card type.') aiCLCCTSlotExp = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCTSlotExp.setStatus('current') if mibBuilder.loadTexts: aiCLCCTSlotExp.setDescription('The number of slots the line card is to logically occupy.') aiCLCCTIPAdrs = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 10), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCTIPAdrs.setStatus('current') if mibBuilder.loadTexts: aiCLCCTIPAdrs.setDescription('The IP address associated with the line card.') aiCLCCTRtrIPAdrs = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 11), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCTRtrIPAdrs.setStatus('current') if mibBuilder.loadTexts: aiCLCCTRtrIPAdrs.setDescription('The router ip address for this line card.') aiCLCCTSubnetMask = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 12), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCTSubnetMask.setStatus('current') if mibBuilder.loadTexts: aiCLCCTSubnetMask.setDescription('The subnet mask for this line card. ') aiCLCCTAutoIdIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCCTAutoIdIndex.setStatus('current') if mibBuilder.loadTexts: aiCLCCTAutoIdIndex.setDescription('The index into the Auto Id table associated with this line card.') aiCLCCTSysOID = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 14), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCCTSysOID.setStatus('current') if mibBuilder.loadTexts: aiCLCCTSysOID.setDescription('The SNMP System OID associated with this line card.') aiCLCCTRealCardType = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24))).clone(namedValues=NamedValues(("asynch", 1), ("aslc", 2), ("ethernet", 3), ("x25", 4), ("asp", 5), ("islc", 6), ("ai2524", 7), ("ai294", 8), ("ai196im", 9), ("x25m", 10), ("islc1", 11), ("ai296", 12), ("ai285", 13), ("ai232", 14), ("ai196ILEG", 15), ("aimod", 16), ("aiflx", 17), ("empty", 18), ("ai120", 19), ("aie1", 20), ("aitc", 21), ("aifocus", 22), ("wanE1", 23), ("wanT1", 24))).clone(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCCTRealCardType.setStatus('current') if mibBuilder.loadTexts: aiCLCCTRealCardType.setDescription('The real line card type.') aiCLCCTIPRange = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCTIPRange.setStatus('current') if mibBuilder.loadTexts: aiCLCCTIPRange.setDescription('The IP address range of this line card.') aiCLCCTTelnetPort = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65534))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCTTelnetPort.setStatus('current') if mibBuilder.loadTexts: aiCLCCTTelnetPort.setDescription('The telnet port of this line card.') aiCLCCTCardReset = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("on", 1), ("off", 2), ("na", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCTCardReset.setStatus('current') if mibBuilder.loadTexts: aiCLCCTCardReset.setDescription('Card is included when * is used with STPSLC, DISABL, or ENABL.') aiCLCCTLastSequenceNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCCTLastSequenceNumber.setStatus('current') if mibBuilder.loadTexts: aiCLCCTLastSequenceNumber.setDescription('This is the sequence number of the last trap sent by this card. The sequence number starts at zero following a hardware reset or power-up. When the sequence number reaches 0xffffffff, it rolls over to 0 on the next trap.') aiCLCCTRtr2IPAdrs = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 20), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCTRtr2IPAdrs.setStatus('current') if mibBuilder.loadTexts: aiCLCCTRtr2IPAdrs.setDescription('The secondary router ip address for this line card.') aiCLCPortTable = MibTable((1, 3, 6, 1, 4, 1, 539, 9, 3), ) if mibBuilder.loadTexts: aiCLCPortTable.setStatus('current') if mibBuilder.loadTexts: aiCLCPortTable.setDescription('A table of port information.') aiCLCPortTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 539, 9, 3, 1), ).setIndexNames((0, "AI198CLC-MIB", "aiCLCPortNumber")) if mibBuilder.loadTexts: aiCLCPortTableEntry.setStatus('current') if mibBuilder.loadTexts: aiCLCPortTableEntry.setDescription('Information unique to a particular port.') aiCLCPortNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCPortNumber.setStatus('current') if mibBuilder.loadTexts: aiCLCPortNumber.setDescription('The AISwitch Port Number associated with the entry.') aiCLCPortType = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("user", 1), ("destination", 2), ("actConn", 3), ("dedicated", 4))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCPortType.setStatus('current') if mibBuilder.loadTexts: aiCLCPortType.setDescription('This is used to configure how the port is being used.') aiCLCPortDedicated = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCPortDedicated.setStatus('current') if mibBuilder.loadTexts: aiCLCPortDedicated.setDescription("The port number to which this port is dedicated when the type is 'dedicated'.") aiCLCPortDestName = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCPortDestName.setStatus('current') if mibBuilder.loadTexts: aiCLCPortDestName.setDescription('The destination to which this port is assigned.') aiCLCPortEcho = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCPortEcho.setStatus('current') if mibBuilder.loadTexts: aiCLCPortEcho.setDescription('This determines whether echoing is on when the port is connected to the AISwitch.') aiCLCPortDestMenu = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCPortDestMenu.setStatus('current') if mibBuilder.loadTexts: aiCLCPortDestMenu.setDescription("This determines whether the destination menu is displayed when the port type is 'user'.") aiCLCPortQueue = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCPortQueue.setStatus('current') if mibBuilder.loadTexts: aiCLCPortQueue.setDescription('This determines whether the port is allowed to be put on hold when the destination port is busy.') aiCLCSLCProtocolCode = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCSLCProtocolCode.setStatus('current') if mibBuilder.loadTexts: aiCLCSLCProtocolCode.setDescription('This is the slc protocol processing code.') aiCLCPortState = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCPortState.setStatus('current') if mibBuilder.loadTexts: aiCLCPortState.setDescription('This is used to determine whether the port is enabled or disabled.') aiCLCPortStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20))).clone(namedValues=NamedValues(("idle", 1), ("selcos", 2), ("pswd", 3), ("uname", 4), ("dna", 5), ("tcp", 6), ("queue", 7), ("holdq", 8), ("waitq", 9), ("ai", 10), ("conn", 11), ("preconn", 12), ("predisc", 13), ("hold", 14), ("netconn", 15), ("file", 16), ("inact", 17), ("swdwn", 18), ("telnetClient", 19), ("unknown", 20)))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCPortStatus.setStatus('current') if mibBuilder.loadTexts: aiCLCPortStatus.setDescription("This value is the port status which include the following values; idle(1), selecting class of service selcos(2), entering password pswd(3), entering username(4), entering destination network address dna(5), entering a TCP address tcp(6), answering 'wish to queue' queue(7), answering 'wish to hold' holdq(8), connected to switch ai(9), connected conn(10), in the process of connecting preconn(11), in the process of disconnecting predisc(12), hold(13), network connect pending netconn(14), performing a file transfer file(15), inactive inact(16), slc is receiving software download swdwn(17), port is using a telnet client telnetClient(18), unknown(20).") aiCLCPortAlm = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 9))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCPortAlm.setStatus('current') if mibBuilder.loadTexts: aiCLCPortAlm.setDescription('The current alarm value for the port.') aiCLCPortDesc = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 29))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCPortDesc.setStatus('current') if mibBuilder.loadTexts: aiCLCPortDesc.setDescription('This is used to describe the port in textual form.') aiCLCPortReset = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCPortReset.setStatus('current') if mibBuilder.loadTexts: aiCLCPortReset.setDescription('Port is included when * is used with DISABL or ENABL.') aiCLCAliasTable = MibTable((1, 3, 6, 1, 4, 1, 539, 9, 4), ) if mibBuilder.loadTexts: aiCLCAliasTable.setStatus('current') if mibBuilder.loadTexts: aiCLCAliasTable.setDescription('A table of call alias information.') aiCLCAliasTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 539, 9, 4, 1), ).setIndexNames((1, "AI198CLC-MIB", "aiCLCAliasIndex")) if mibBuilder.loadTexts: aiCLCAliasTableEntry.setStatus('current') if mibBuilder.loadTexts: aiCLCAliasTableEntry.setDescription('Information unique to a particular alias.') aiCLCAliasIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 200))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aiCLCAliasIndex.setStatus('current') if mibBuilder.loadTexts: aiCLCAliasIndex.setDescription('The alias name in the form of a DisplayString. This is the key field for the Alias Table.') aiCLCAliasRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("active", 1), ("notInService", 2), ("notReady", 3), ("createAndGo", 4), ("createAndWait", 5), ("destroy", 6)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aiCLCAliasRowStatus.setStatus('current') if mibBuilder.loadTexts: aiCLCAliasRowStatus.setDescription('The Alias Table Entry row status.') aiCLCXlatType = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("simple", 1), ("muxconn", 2), ("muxxlat", 3), ("slcroute", 4))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCXlatType.setStatus('current') if mibBuilder.loadTexts: aiCLCXlatType.setDescription('The type of alias translation to be performed.') aiCLCAliasDestName = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 4), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCAliasDestName.setStatus('current') if mibBuilder.loadTexts: aiCLCAliasDestName.setDescription('The destination to be used for the alias.') aiCLCCalledAdrs = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCalledAdrs.setStatus('current') if mibBuilder.loadTexts: aiCLCCalledAdrs.setDescription('The called address used in the macro.') aiCLCAliasDestMenu = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCAliasDestMenu.setStatus('current') if mibBuilder.loadTexts: aiCLCAliasDestMenu.setDescription('This determines whether the alias appears on the destination menu.') aiCLCLinkNum = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 7), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCLinkNum.setStatus('current') if mibBuilder.loadTexts: aiCLCLinkNum.setDescription('The link number or alias macro used for the link number.') aiCLCCallerAdrs = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 8), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCallerAdrs.setStatus('current') if mibBuilder.loadTexts: aiCLCCallerAdrs.setDescription('The caller address used in the macro.') aiCLCCallData = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 9), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCallData.setStatus('current') if mibBuilder.loadTexts: aiCLCCallData.setDescription('The call data which may be a destination or an alias macro.') aiCLCApplicString = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 10), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCApplicString.setStatus('current') if mibBuilder.loadTexts: aiCLCApplicString.setDescription('The application string which may be a string or an alias macro.') aiCLCCalledProtoStr = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 11), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCalledProtoStr.setStatus('current') if mibBuilder.loadTexts: aiCLCCalledProtoStr.setDescription('The string that may specify the called protocol for a call using the alias macro.') aiCLCCallerProtoStr = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 12), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCCallerProtoStr.setStatus('current') if mibBuilder.loadTexts: aiCLCCallerProtoStr.setDescription('The string that may specify the calling protocol for a call using the alias macro.') aiCLCAlternRoute = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 13), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCAlternRoute.setStatus('current') if mibBuilder.loadTexts: aiCLCAlternRoute.setDescription('The string may specify a destination or an alias macro that is used as an alternate route.') aiCLCAliasPosition = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 14), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 5)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCAliasPosition.setStatus('current') if mibBuilder.loadTexts: aiCLCAliasPosition.setDescription("The position of the alias in the alias list. When 'set' a new or an existing alias, this value can be used as a flag to request a saving to the beginning (0) or to the end (99999) of the alias list. As default, the CLC always saves a new alias to the end and a modified alias to its old position.") aiCLCDestTable = MibTable((1, 3, 6, 1, 4, 1, 539, 9, 5), ) if mibBuilder.loadTexts: aiCLCDestTable.setStatus('current') if mibBuilder.loadTexts: aiCLCDestTable.setDescription('This table contains information pertaining to destinations and their attributes.') aiCLCDestTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 539, 9, 5, 1), ).setIndexNames((1, "AI198CLC-MIB", "aiCLCDestName")) if mibBuilder.loadTexts: aiCLCDestTableEntry.setStatus('current') if mibBuilder.loadTexts: aiCLCDestTableEntry.setDescription('This information pertains to one entry in the destination table.') aiCLCDestName = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aiCLCDestName.setStatus('current') if mibBuilder.loadTexts: aiCLCDestName.setDescription('The name of the destination in the form of an OCTET STRING.') aiCLCDestRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("active", 1), ("notInService", 2), ("notReady", 3), ("createAndGo", 4), ("createAndWait", 5), ("destroy", 6)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: aiCLCDestRowStatus.setStatus('current') if mibBuilder.loadTexts: aiCLCDestRowStatus.setDescription('The key field for the Destination table entry.') aiCLCDestCallInit = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDestCallInit.setStatus('current') if mibBuilder.loadTexts: aiCLCDestCallInit.setDescription('This is used to turn on or turn off call initiation on ports assigned to this destination.') aiCLCDestDisc = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDestDisc.setStatus('current') if mibBuilder.loadTexts: aiCLCDestDisc.setDescription("This is used to turn on or turn off the user's disconnect keys when connected to this destination.") aiCLCDestDispMenu = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDestDispMenu.setStatus('current') if mibBuilder.loadTexts: aiCLCDestDispMenu.setDescription('This is used to turn on or turn off the display of the destination name on the destination menu.') aiCLCDestBaud = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDestBaud.setStatus('current') if mibBuilder.loadTexts: aiCLCDestBaud.setDescription('This is used to turn on or turn off whether the baud rate is checked before connecting to the destination.') aiCLCDestIsSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2))).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDestIsSwitch.setStatus('current') if mibBuilder.loadTexts: aiCLCDestIsSwitch.setDescription('This is used to indicate that the destination is another AI switch.') aiCLCDestTmrType = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("actTmr", 1), ("sessTmr", 2))).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDestTmrType.setStatus('current') if mibBuilder.loadTexts: aiCLCDestTmrType.setDescription('This is used to set the type of timer associated with the destination.') aiCLCDestTmrVal = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4368000)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDestTmrVal.setStatus('current') if mibBuilder.loadTexts: aiCLCDestTmrVal.setDescription('This value is the timer duration in milliseconds ranging from 1mS to 4368000mS or about 72 hours.') aiCLCDestTmrDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4368000)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDestTmrDelay.setStatus('current') if mibBuilder.loadTexts: aiCLCDestTmrDelay.setDescription('This value is the delay in milliseconds before allowing further calls on the destination after a call terminates. The range is 1mS to 4368000mS or about 72 hours.') aiCLCDestPswd = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDestPswd.setStatus('current') if mibBuilder.loadTexts: aiCLCDestPswd.setDescription('This is password associated with the destination.') aiCLCDestQPswd = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 8))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDestQPswd.setStatus('current') if mibBuilder.loadTexts: aiCLCDestQPswd.setDescription('This is password used to control access to the queue management functions associated with the destination.') aiCLCDestMenuMsg = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 13), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDestMenuMsg.setStatus('current') if mibBuilder.loadTexts: aiCLCDestMenuMsg.setDescription('This string is displayed next to the destination in the destination menu.') aiCLCDestConnMsg = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 14), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDestConnMsg.setStatus('current') if mibBuilder.loadTexts: aiCLCDestConnMsg.setDescription('This string is forced out the destination port when a connection begins.') aiCLCDestDiscMsg = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 15), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDestDiscMsg.setStatus('current') if mibBuilder.loadTexts: aiCLCDestDiscMsg.setDescription('This string is forced out the destination port when a connection terminates.') aiCLCDestState = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDestState.setStatus('current') if mibBuilder.loadTexts: aiCLCDestState.setDescription('This is used to enable or disable the destination.') aiCLCDestNumPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCDestNumPorts.setStatus('current') if mibBuilder.loadTexts: aiCLCDestNumPorts.setDescription('This is used to determine the number of ports assigned to this destination.') aiCLCDestNumUsed = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCDestNumUsed.setStatus('current') if mibBuilder.loadTexts: aiCLCDestNumUsed.setDescription('This is used to determine the number of ports in use for this destination.') aiCLCDestNumFree = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCDestNumFree.setStatus('current') if mibBuilder.loadTexts: aiCLCDestNumFree.setDescription('This is used to determine the number of ports that are free for this destination.') aiCLCDestQHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65536))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCDestQHigh.setStatus('current') if mibBuilder.loadTexts: aiCLCDestQHigh.setDescription('This is used to determine the maximum number of ports that were queued to this destination.') aiCLCDestPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 21), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCDestPortList.setStatus('current') if mibBuilder.loadTexts: aiCLCDestPortList.setDescription('This string contains a list of port numbers assigned to this destination.') aiCLCDestWaitForPort = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCDestWaitForPort.setStatus('current') if mibBuilder.loadTexts: aiCLCDestWaitForPort.setDescription('This is used to allow the user to wait for a port when all ports for the destination are busy.') aiCLCAsyncTable = MibTable((1, 3, 6, 1, 4, 1, 539, 9, 6), ) if mibBuilder.loadTexts: aiCLCAsyncTable.setStatus('current') if mibBuilder.loadTexts: aiCLCAsyncTable.setDescription('The Async Table.') aiCLCAsyncTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 539, 9, 6, 1), ).setIndexNames((0, "AI198CLC-MIB", "aiCLCAsyncifIndex")) if mibBuilder.loadTexts: aiCLCAsyncTableEntry.setStatus('current') if mibBuilder.loadTexts: aiCLCAsyncTableEntry.setDescription('An Async Table entry.') aiCLCAsyncifIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCAsyncifIndex.setStatus('current') if mibBuilder.loadTexts: aiCLCAsyncifIndex.setDescription('The ifIndex from the interfaces table.') aiCLCAsyncPort = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCAsyncPort.setStatus('current') if mibBuilder.loadTexts: aiCLCAsyncPort.setDescription('The AISwitch port number.') aiCLCAsyncAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCAsyncAdminStatus.setStatus('current') if mibBuilder.loadTexts: aiCLCAsyncAdminStatus.setDescription('The key field for the Async table entry.') aiCLCAsyncDiscType = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("nobrkdisc", 1), ("brkdisc", 2), ("longbrkdisc", 3))).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCAsyncDiscType.setStatus('current') if mibBuilder.loadTexts: aiCLCAsyncDiscType.setDescription('The disconnect type for the async port.') aiCLCEIASignals = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("eiaDisabled", 1), ("dsrRtsPass", 2), ("dsrOffDisc", 3), ("dsrOnOffDisc", 4), ("dcdOffDisc", 5), ("dcdOnOffDisc", 6))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCEIASignals.setStatus('current') if mibBuilder.loadTexts: aiCLCEIASignals.setDescription('The EIA signals may be disabled (eiaDisabled(1)) or configured for pass through (dsrRtsPass(2)). Additionally the port can be configured to disconnect on loss of DSR (dsrOffDisc(3)), disconnect on change of state of DSR (dsrOnOffDisc(4)), disconnect on loss of DCD (dcdOffDisc(5)), or disconnect on change of state of DCD (dcdOnOffDisc(6)).') aiCLCEIARtsDisc = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCEIARtsDisc.setStatus('current') if mibBuilder.loadTexts: aiCLCEIARtsDisc.setDescription('Upon disconnect RTS may be configured to be on(1), or off(2).') aiCLCEIADtrDisc = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCEIADtrDisc.setStatus('current') if mibBuilder.loadTexts: aiCLCEIADtrDisc.setDescription('Upon disconnect DTR may be configured to be on(1), or off(2).') aiCLCEIARtsConn = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCEIARtsConn.setStatus('current') if mibBuilder.loadTexts: aiCLCEIARtsConn.setDescription('Upon connect RTS may be configured to be on(1), or off(2).') aiCLCEIADtrConn = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCEIADtrConn.setStatus('current') if mibBuilder.loadTexts: aiCLCEIADtrConn.setDescription('Upon connect DTR may be configured to be on(1), or off(2).') aiCLCEIARtsToggle = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCEIARtsToggle.setStatus('current') if mibBuilder.loadTexts: aiCLCEIARtsToggle.setDescription('Upon disconnect RTS may be configured to toggle (on(1)) or not (off(2)).') aiCLCEIADtrToggle = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on", 1), ("off", 2))).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: aiCLCEIADtrToggle.setStatus('current') if mibBuilder.loadTexts: aiCLCEIADtrToggle.setDescription('Upon disconnect DTR may be configured to toggle (on(1)) or not (off(2)).') aiCLCAutoIDTable = MibTable((1, 3, 6, 1, 4, 1, 539, 9, 7), ) if mibBuilder.loadTexts: aiCLCAutoIDTable.setStatus('current') if mibBuilder.loadTexts: aiCLCAutoIDTable.setDescription('A table of board identification information for an AISwitch.') aiCLCAutoIDTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 539, 9, 7, 1), ).setIndexNames((0, "AI198CLC-MIB", "aiCLCAIDIndex")) if mibBuilder.loadTexts: aiCLCAutoIDTableEntry.setStatus('current') if mibBuilder.loadTexts: aiCLCAutoIDTableEntry.setDescription('Board Identification information for a particular card.') aiCLCAIDIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 7, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCAIDIndex.setStatus('current') if mibBuilder.loadTexts: aiCLCAIDIndex.setDescription('The Auto ID Table index.') aiCLCAIDPort = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 7, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCAIDPort.setStatus('current') if mibBuilder.loadTexts: aiCLCAIDPort.setDescription('The port number where the card resides. If the port number is not valid then 256 will be reported.') aiCLCAIDProduct = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 7, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCAIDProduct.setStatus('current') if mibBuilder.loadTexts: aiCLCAIDProduct.setDescription('The product name for the card.') aiCLCAIDSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 7, 1, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCAIDSerialNumber.setStatus('current') if mibBuilder.loadTexts: aiCLCAIDSerialNumber.setDescription('The serial number for the card.') aiCLCAIDManufDate = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 7, 1, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCAIDManufDate.setStatus('current') if mibBuilder.loadTexts: aiCLCAIDManufDate.setDescription('The date of manufacture for the card.') aiCLCAIDMACAdrs = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 7, 1, 6), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCAIDMACAdrs.setStatus('current') if mibBuilder.loadTexts: aiCLCAIDMACAdrs.setDescription('The MAC address for the card.') aiCLCAI2524LinkTable = MibTable((1, 3, 6, 1, 4, 1, 539, 9, 8), ) if mibBuilder.loadTexts: aiCLCAI2524LinkTable.setStatus('current') if mibBuilder.loadTexts: aiCLCAI2524LinkTable.setDescription('A table of link status for AI2524 Router Cards.') aiCLCAI2524LinkTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 539, 9, 8, 1), ).setIndexNames((0, "AI198CLC-MIB", "aiCLCAI2524Port")) if mibBuilder.loadTexts: aiCLCAI2524LinkTableEntry.setStatus('current') if mibBuilder.loadTexts: aiCLCAI2524LinkTableEntry.setDescription('Link information particular to AI2524 Router Cards.') aiCLCAI2524Port = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 8, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCAI2524Port.setStatus('current') if mibBuilder.loadTexts: aiCLCAI2524Port.setDescription('The port number for the AI2524 Router Card. ') aiCLCAI2524LinkStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 539, 9, 8, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: aiCLCAI2524LinkStatus.setStatus('current') if mibBuilder.loadTexts: aiCLCAI2524LinkStatus.setDescription('The 10BT link status for the AI2524 Router Card.') mibBuilder.exportSymbols("AI198CLC-MIB", aiCLCActLogLvl=aiCLCActLogLvl, aiCLCRadiusPort2=aiCLCRadiusPort2, aiCLCCTCardType=aiCLCCTCardType, aiCLCCpu=aiCLCCpu, aiCLCLastTrapMsgText=aiCLCLastTrapMsgText, ai198Ver103=ai198Ver103, aiCLCCTIPAdrs=aiCLCCTIPAdrs, aiCLCAliasPosition=aiCLCAliasPosition, aiCLCDestTmrVal=aiCLCDestTmrVal, aiCLCAsyncTable=aiCLCAsyncTable, aii=aii, aiCLCRadiusAddr1=aiCLCRadiusAddr1, aiCLCEIADtrConn=aiCLCEIADtrConn, ai198Ver102=ai198Ver102, aiCLCSystem=aiCLCSystem, aiCLCNodeName=aiCLCNodeName, aiCLCCopyFlash=aiCLCCopyFlash, aiCLCBox3DensAdmin=aiCLCBox3DensAdmin, aiCLCPortEcho=aiCLCPortEcho, aiCLCLongBrkLen=aiCLCLongBrkLen, aiCLCCpuXacts=aiCLCCpuXacts, aiCLCDebugVal=aiCLCDebugVal, aiCLCCrashMsgText=aiCLCCrashMsgText, aiCLCAI2524Port=aiCLCAI2524Port, aiCLCCTBasePort=aiCLCCTBasePort, aiCLCPortType=aiCLCPortType, aiCLCDestRowStatus=aiCLCDestRowStatus, aiCLCTacacsSecret2=aiCLCTacacsSecret2, aiCLCSNTPPollInterval=aiCLCSNTPPollInterval, aiCLCAsyncAdminStatus=aiCLCAsyncAdminStatus, aiCLCEIADtrToggle=aiCLCEIADtrToggle, aiCLCXlatType=aiCLCXlatType, aiCLCTacacsAddr1=aiCLCTacacsAddr1, aiCLC=aiCLC, aiCLCTrapTableEntry=aiCLCTrapTableEntry, aiCLCDLAlias=aiCLCDLAlias, aiCLCIPAdrs=aiCLCIPAdrs, aiCLCBox7DensAdmin=aiCLCBox7DensAdmin, aiCLCSNTP=aiCLCSNTP, aiCLCTrapIPAdrs=aiCLCTrapIPAdrs, aiCLCCalledAdrs=aiCLCCalledAdrs, ai198Ver130=ai198Ver130, aiCLCCpyConfig=aiCLCCpyConfig, aiCLCFreeEE=aiCLCFreeEE, aiCLCBufAllocErr=aiCLCBufAllocErr, aiCLCCTAdminStatus=aiCLCCTAdminStatus, aiCLCAliasDestMenu=aiCLCAliasDestMenu, aiCLCDestQHigh=aiCLCDestQHigh, ai198Ver104=ai198Ver104, aiCLCSLCXacts=aiCLCSLCXacts, aiCLCCardTableEntry=aiCLCCardTableEntry, aiCLCQueuedPorts=aiCLCQueuedPorts, aiCLCMajorAlmMax=aiCLCMajorAlmMax, aiCLCDestDispMenu=aiCLCDestDispMenu, aiCLCPortReset=aiCLCPortReset, aiCLCBox1DensAdmin=aiCLCBox1DensAdmin, aiCLCAutoCLCUpdate=aiCLCAutoCLCUpdate, aiCLCAsyncPort=aiCLCAsyncPort, aiCLCPortStatus=aiCLCPortStatus, aiCLCPortDestName=aiCLCPortDestName, aiCLCAliasIndex=aiCLCAliasIndex, aiCLCTrapTimer=aiCLCTrapTimer, PYSNMP_MODULE_ID=aiCLC, aiCLCAsyncDiscType=aiCLCAsyncDiscType, aiCLCRadiusAddr2=aiCLCRadiusAddr2, aiCLCCTSysOID=aiCLCCTSysOID, aiCLCColdStartTrapDelay=aiCLCColdStartTrapDelay, aiCLCDestWaitForPort=aiCLCDestWaitForPort, aiCLCBox6DensAdmin=aiCLCBox6DensAdmin, aiCLCAIDPort=aiCLCAIDPort, aiCLCAliasTableEntry=aiCLCAliasTableEntry, aiCLCTacacsEnabled=aiCLCTacacsEnabled, ai198Ver1=ai198Ver1, aiCLCPortQueue=aiCLCPortQueue, aiCLCAIDSerialNumber=aiCLCAIDSerialNumber, aiCLCTrapRowStatus=aiCLCTrapRowStatus, aiCLCPortAlm=aiCLCPortAlm, aiCLCAliasRowStatus=aiCLCAliasRowStatus, aiCLCAutoIDTableEntry=aiCLCAutoIDTableEntry, ai198Ver120=ai198Ver120, aiCLCCTIndex=aiCLCCTIndex, aiCLCRadiusSecret1=aiCLCRadiusSecret1, aiCLCVersion=aiCLCVersion, aiCLCCTRtr2IPAdrs=aiCLCCTRtr2IPAdrs, aiCLCCardTable=aiCLCCardTable, aiCLCEIARtsDisc=aiCLCEIARtsDisc, ai198Ver13=ai198Ver13, aiCLCDownSpd=aiCLCDownSpd, aiCLCSLCProtocolCode=aiCLCSLCProtocolCode, aiCLCCallerProtoStr=aiCLCCallerProtoStr, aiCLCCTSubnetMask=aiCLCCTSubnetMask, ai198Ver12=ai198Ver12, aiCLCSubnetIPAdrs=aiCLCSubnetIPAdrs, aiCLCFaultSwitch=aiCLCFaultSwitch, aiCLCTacacsSecret1=aiCLCTacacsSecret1, aiCLCConnInfo=aiCLCConnInfo, aiCLCTacacsPort2=aiCLCTacacsPort2, aiCLCSNTPSecondaryServer=aiCLCSNTPSecondaryServer, aiCLCAliasDestName=aiCLCAliasDestName, aiCLCAutoIDTable=aiCLCAutoIDTable, aiCLCMajorAlmMin=aiCLCMajorAlmMin, aiCLCRadiusEnabled=aiCLCRadiusEnabled, aiCLCDestNumPorts=aiCLCDestNumPorts, aiCLCDestMenuFmt=aiCLCDestMenuFmt, aiCLCBuffers=aiCLCBuffers, aiCLCCallerAdrs=aiCLCCallerAdrs, aiCLCDestPortList=aiCLCDestPortList, aiCLCDestCallInit=aiCLCDestCallInit, aiCLCReadCommunity=aiCLCReadCommunity, ai198=ai198, aiCLCDestTmrDelay=aiCLCDestTmrDelay, aiCLCAIDMACAdrs=aiCLCAIDMACAdrs, aiCLCCTCardReset=aiCLCCTCardReset, aiCLCAlternRoute=aiCLCAlternRoute, aiCLCCaamlRetryTmr=aiCLCCaamlRetryTmr, aiCLCAIDIndex=aiCLCAIDIndex, aiCLCCTWrCommStr=aiCLCCTWrCommStr, aiCLCPortTable=aiCLCPortTable, aiCLCDestDiscMsg=aiCLCDestDiscMsg, aiCLCCTRealCardType=aiCLCCTRealCardType, aiCLCTacacsPort1=aiCLCTacacsPort1, aiCLCEIASignals=aiCLCEIASignals, aiCLCBanner=aiCLCBanner, aiCLCLogPortEnable=aiCLCLogPortEnable, aiCLCEIARtsConn=aiCLCEIARtsConn, aiCLCHoldConn=aiCLCHoldConn, aiCLCEECRC=aiCLCEECRC, aiCLCDestBaud=aiCLCDestBaud, aiCLCCaamlIdleTmr=aiCLCCaamlIdleTmr, aiCLCBox2DensAdmin=aiCLCBox2DensAdmin, aiCLCDLWinIn=aiCLCDLWinIn, aiCLCDLNoBody=aiCLCDLNoBody, aiCLCCTRtrIPAdrs=aiCLCCTRtrIPAdrs, aiCLCApplicString=aiCLCApplicString, aiCLCAIDManufDate=aiCLCAIDManufDate, aiCLCAI2524LinkTable=aiCLCAI2524LinkTable, aiCLCEIADtrDisc=aiCLCEIADtrDisc, aiCLCDLMsgAll=aiCLCDLMsgAll, aiCLCMinorAlmMin=aiCLCMinorAlmMin, aiCLCDLWinOut=aiCLCDLWinOut, aiCLCLastTrapMsgNum=aiCLCLastTrapMsgNum, aiCLCDestName=aiCLCDestName, aiCLCRadiusSecret2=aiCLCRadiusSecret2, aiCLCPortDestMenu=aiCLCPortDestMenu, aiCLCBox8DensAdmin=aiCLCBox8DensAdmin, aiCLCDestPswd=aiCLCDestPswd, aiCLCFreeBuffers=aiCLCFreeBuffers, aiCLCPortTableEntry=aiCLCPortTableEntry, aiCLCRouterIPAdrs=aiCLCRouterIPAdrs, aiCLCDestTableEntry=aiCLCDestTableEntry, aiCLCDestTmrType=aiCLCDestTmrType, aiCLCCaamlRoute=aiCLCCaamlRoute, aiCLCCraftLogEcho=aiCLCCraftLogEcho, aiCLCDLWinVerbose=aiCLCDLWinVerbose, aiCLCWriteCommunity=aiCLCWriteCommunity, aiCLCDaylightSavings=aiCLCDaylightSavings, aiCLCCTRdCommStr=aiCLCCTRdCommStr, aiCLCDestDisc=aiCLCDestDisc, aiCLCPortDesc=aiCLCPortDesc, aiCLCFtpCtrlPort=aiCLCFtpCtrlPort, aiCLCAlmLogPort=aiCLCAlmLogPort, aiCLCTimeDate=aiCLCTimeDate, aiCLCCTLastSequenceNumber=aiCLCCTLastSequenceNumber, aiCLCAIDProduct=aiCLCAIDProduct, aiCLCCTIPRange=aiCLCCTIPRange, aiCLCCTTelnetPort=aiCLCCTTelnetPort, aiCLCRstTimeDate=aiCLCRstTimeDate, aiCLCConnectionsPlaced=aiCLCConnectionsPlaced, aiCLCSNTPPrimaryServer=aiCLCSNTPPrimaryServer, aiCLCEIARtsToggle=aiCLCEIARtsToggle, aiCLCPortDedicated=aiCLCPortDedicated, aiCLCBox5DensAdmin=aiCLCBox5DensAdmin, aiCLCDestNumUsed=aiCLCDestNumUsed, aiCLCMinorAlmMax=aiCLCMinorAlmMax, aiCLCCallData=aiCLCCallData, aiCLCDestMenuMsg=aiCLCDestMenuMsg, aiCLCPortState=aiCLCPortState, aiCLCCopyFlashToSLC=aiCLCCopyFlashToSLC, aiCLCCalledProtoStr=aiCLCCalledProtoStr, aiCLCEEPromFaults=aiCLCEEPromFaults, aiCLCCTHighPort=aiCLCCTHighPort, aiCLCDLWinUni=aiCLCDLWinUni, aiCLCBox4DensAdmin=aiCLCBox4DensAdmin, aiCLCAI2524LinkTableEntry=aiCLCAI2524LinkTableEntry, aiCLCDestTable=aiCLCDestTable, aiCLCAsyncTableEntry=aiCLCAsyncTableEntry, aiCLCNumEventsSinceLastTrap=aiCLCNumEventsSinceLastTrap, aiCLCDestIsSwitch=aiCLCDestIsSwitch, aiCLCSwitchRestart=aiCLCSwitchRestart, aiCLCLinkNum=aiCLCLinkNum, aiCLCBackupCLCHealth=aiCLCBackupCLCHealth, aiCLCCTSlotExp=aiCLCCTSlotExp, aiCLCTacacsAddr2=aiCLCTacacsAddr2, ai198Ver10=ai198Ver10, aiCLCInitStrings=aiCLCInitStrings, aiCLCTrapInterval=aiCLCTrapInterval, aiCLCDestConnMsg=aiCLCDestConnMsg, aiCLCAliasTable=aiCLCAliasTable, aiCLCTxTail=aiCLCTxTail, aiCLCDestQPswd=aiCLCDestQPswd, aiCLCBackupCLC=aiCLCBackupCLC, aiCLCDestNumFree=aiCLCDestNumFree, aiCLCTelnetServerPort=aiCLCTelnetServerPort, aiCLCRadiusPort1=aiCLCRadiusPort1, aiCLCPortNumber=aiCLCPortNumber, aiSystemOID=aiSystemOID, aiCLCDestMenu=aiCLCDestMenu, aiCLCAsyncifIndex=aiCLCAsyncifIndex, aiCLCTrapTable=aiCLCTrapTable, aiCLCAlarmLvl=aiCLCAlarmLvl, aiCLCDestState=aiCLCDestState, aiCLCAsyncTrap=aiCLCAsyncTrap, aiCLCTimeZone=aiCLCTimeZone, aiCLCBufAlign=aiCLCBufAlign, aiCLCAI2524LinkStatus=aiCLCAI2524LinkStatus, aiCLCCTAutoIdIndex=aiCLCCTAutoIdIndex, aiCLCNumPorts=aiCLCNumPorts, aiCLCCTCardSnmpState=aiCLCCTCardSnmpState)
(integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, value_range_constraint, constraints_union, single_value_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ConstraintsUnion', 'SingleValueConstraint', 'ValueSizeConstraint') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (module_identity, mib_identifier, object_identity, time_ticks, unsigned32, ip_address, counter64, notification_type, gauge32, mib_scalar, mib_table, mib_table_row, mib_table_column, counter32, integer32, iso, enterprises, bits) = mibBuilder.importSymbols('SNMPv2-SMI', 'ModuleIdentity', 'MibIdentifier', 'ObjectIdentity', 'TimeTicks', 'Unsigned32', 'IpAddress', 'Counter64', 'NotificationType', 'Gauge32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter32', 'Integer32', 'iso', 'enterprises', 'Bits') (date_and_time, display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DateAndTime', 'DisplayString', 'TextualConvention') aii = mib_identifier((1, 3, 6, 1, 4, 1, 539)) ai_system_oid = mib_identifier((1, 3, 6, 1, 4, 1, 539, 2)) ai_clc = module_identity((1, 3, 6, 1, 4, 1, 539, 9)) if mibBuilder.loadTexts: aiCLC.setLastUpdated('9505081700Z') if mibBuilder.loadTexts: aiCLC.setOrganization('Applied Innovation Incorporated') if mibBuilder.loadTexts: aiCLC.setContactInfo(' Engineering MIB Administrator Postal: Applied Innovation Inc. 5800 Innovation Drive Dublin, OH 43016 Tel: 614/798-2000 Fax: 614/798-1770 E-mail: snmp@aiinet.com') if mibBuilder.loadTexts: aiCLC.setDescription('The MIB Module for Series 1 Common Logic Controllers (CLC)') ai_clc_system = mib_identifier((1, 3, 6, 1, 4, 1, 539, 9, 1)) ai198 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 2, 198)) ai198_ver1 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 2, 198, 1)) ai198_ver10 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 2, 198, 1, 0)) ai198_ver102 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 2, 198, 1, 0, 2)) ai198_ver103 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 2, 198, 1, 0, 3)) ai198_ver104 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 2, 198, 1, 0, 4)) ai198_ver12 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 2, 198, 1, 2)) ai198_ver120 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 2, 198, 1, 2, 0)) ai198_ver13 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 2, 198, 1, 3)) ai198_ver130 = mib_identifier((1, 3, 6, 1, 4, 1, 539, 2, 198, 1, 3, 0)) ai_clc_box1_dens_admin = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 4, 8, 16, 32))).clone(namedValues=named_values(('disabled', 1), ('four', 4), ('eight', 8), ('sixteen', 16), ('thirtytwo', 32))).clone(16)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCBox1DensAdmin.setStatus('current') if mibBuilder.loadTexts: aiCLCBox1DensAdmin.setDescription('The administration value for the slot density for Chassis 1 of and AISwitch.') ai_clc_box2_dens_admin = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 4, 8, 16, 32))).clone(namedValues=named_values(('disabled', 1), ('four', 4), ('eight', 8), ('sixteen', 16), ('thirtytwo', 32))).clone(16)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCBox2DensAdmin.setStatus('current') if mibBuilder.loadTexts: aiCLCBox2DensAdmin.setDescription('The administration value for the slot density for Chassis 2 of and AISwitch.') ai_clc_box3_dens_admin = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 4, 8, 16, 32))).clone(namedValues=named_values(('disabled', 1), ('four', 4), ('eight', 8), ('sixteen', 16), ('thirtytwo', 32))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCBox3DensAdmin.setStatus('current') if mibBuilder.loadTexts: aiCLCBox3DensAdmin.setDescription('The administration value for the slot density for Chassis 3 of and AISwitch.') ai_clc_box4_dens_admin = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 4, 8, 16, 32))).clone(namedValues=named_values(('disabled', 1), ('four', 4), ('eight', 8), ('sixteen', 16), ('thirtytwo', 32))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCBox4DensAdmin.setStatus('current') if mibBuilder.loadTexts: aiCLCBox4DensAdmin.setDescription('The administration value for the slot density for Chassis 4 of and AISwitch.') ai_clc_box5_dens_admin = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 4, 8, 16, 32))).clone(namedValues=named_values(('disabled', 1), ('four', 4), ('eight', 8), ('sixteen', 16), ('thirtytwo', 32))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCBox5DensAdmin.setStatus('current') if mibBuilder.loadTexts: aiCLCBox5DensAdmin.setDescription('The administration value for the slot density for Chassis 5 of and AISwitch.') ai_clc_box6_dens_admin = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 4, 8, 16, 32))).clone(namedValues=named_values(('disabled', 1), ('four', 4), ('eight', 8), ('sixteen', 16), ('thirtytwo', 32))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCBox6DensAdmin.setStatus('current') if mibBuilder.loadTexts: aiCLCBox6DensAdmin.setDescription('The administration value for the slot density for Chassis 6 of and AISwitch.') ai_clc_box7_dens_admin = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 4, 8, 16, 32))).clone(namedValues=named_values(('disabled', 1), ('four', 4), ('eight', 8), ('sixteen', 16), ('thirtytwo', 32))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCBox7DensAdmin.setStatus('current') if mibBuilder.loadTexts: aiCLCBox7DensAdmin.setDescription('The administration value for the slot density for Chassis 7 of and AISwitch.') ai_clc_box8_dens_admin = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 4, 8, 16, 32))).clone(namedValues=named_values(('disabled', 1), ('four', 4), ('eight', 8), ('sixteen', 16), ('thirtytwo', 32))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCBox8DensAdmin.setStatus('current') if mibBuilder.loadTexts: aiCLCBox8DensAdmin.setDescription('The administration value for the slot density for Chassis 8 of and AISwitch.') ai_clc_node_name = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 9), display_string().subtype(subtypeSpec=value_range_constraint(0, 29)).clone('NODE-XXX')).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCNodeName.setStatus('current') if mibBuilder.loadTexts: aiCLCNodeName.setDescription('This associates a name with an AI Switch. This string is part of the prompt for a user port.') ai_clc_log_port_enable = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCLogPortEnable.setStatus('current') if mibBuilder.loadTexts: aiCLCLogPortEnable.setDescription('Enable/Disable the display of Alarm and Activity Information.') ai_clc_alm_log_port = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCAlmLogPort.setStatus('current') if mibBuilder.loadTexts: aiCLCAlmLogPort.setDescription('The Alarm and Activity Log Port Number.') ai_clc_act_log_lvl = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(0, 9)).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCActLogLvl.setStatus('current') if mibBuilder.loadTexts: aiCLCActLogLvl.setDescription('The alarm level which when met or exceeded will cause messages to be printed on the log port.') ai_clc_minor_alm_min = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(0, 9)).clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCMinorAlmMin.setStatus('current') if mibBuilder.loadTexts: aiCLCMinorAlmMin.setDescription('The alarm level which when met or exceeded will cause a minor alarm to be reported.') ai_clc_minor_alm_max = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 14), integer32().subtype(subtypeSpec=value_range_constraint(0, 9)).clone(4)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCMinorAlmMax.setStatus('current') if mibBuilder.loadTexts: aiCLCMinorAlmMax.setDescription('The alarm level which when exceeded will not cause a minor alarm to be reported.') ai_clc_major_alm_min = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 15), integer32().subtype(subtypeSpec=value_range_constraint(0, 9)).clone(5)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCMajorAlmMin.setStatus('current') if mibBuilder.loadTexts: aiCLCMajorAlmMin.setDescription('The alarm level which when met or exceeded will cause a major alarm to be reported.') ai_clc_major_alm_max = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 16), integer32().subtype(subtypeSpec=value_range_constraint(0, 9)).clone(9)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCMajorAlmMax.setStatus('current') if mibBuilder.loadTexts: aiCLCMajorAlmMax.setDescription('The alarm level which when exceeded will not cause a major alarm to be reported.') ai_clc_craft_log_echo = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCraftLogEcho.setStatus('current') if mibBuilder.loadTexts: aiCLCCraftLogEcho.setDescription('Echo Alarm and Activity information on the craft port.') ai_clc_caaml_route = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 18), display_string().subtype(subtypeSpec=value_range_constraint(0, 200))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCaamlRoute.setStatus('current') if mibBuilder.loadTexts: aiCLCCaamlRoute.setDescription('Name of the destination used for the CAAML Log.') ai_clc_caaml_idle_tmr = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 19), integer32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(10)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCaamlIdleTmr.setStatus('current') if mibBuilder.loadTexts: aiCLCCaamlIdleTmr.setDescription('The number of seconds that must pass without any messages being printed on CAAML, before the CAAML connection is torn down.') ai_clc_caaml_retry_tmr = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 20), integer32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(10)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCaamlRetryTmr.setStatus('current') if mibBuilder.loadTexts: aiCLCCaamlRetryTmr.setDescription('The number of seconds that must pass after an unsuccessful attempt at bringing the CAAML connection up before a retry will occur.') ai_clc_conn_info = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCConnInfo.setStatus('current') if mibBuilder.loadTexts: aiCLCConnInfo.setDescription('Print connection information on user terminals.') ai_clc_long_brk_len = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 22), integer32().subtype(subtypeSpec=value_range_constraint(1875, 50000)).clone(1875)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCLongBrkLen.setStatus('current') if mibBuilder.loadTexts: aiCLCLongBrkLen.setDescription('Long Break length in milliseconds rounded to the nearest 1/64th second.') ai_clc_dest_menu = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDestMenu.setStatus('current') if mibBuilder.loadTexts: aiCLCDestMenu.setDescription('Print Destination Menu on user terminals.') ai_clc_down_spd = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDownSpd.setStatus('current') if mibBuilder.loadTexts: aiCLCDownSpd.setDescription('Allow ports of different speeds to be connected.') ai_clc_fault_switch = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 25), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCFaultSwitch.setStatus('current') if mibBuilder.loadTexts: aiCLCFaultSwitch.setDescription('In dual CLC systems, a fault on the active CLC will cause automatic switchover from the faulted CLC to the backup CLC.') ai_clc_dest_menu_fmt = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 26), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 4))).clone(namedValues=named_values(('oneCol', 1), ('fourCol', 4))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDestMenuFmt.setStatus('current') if mibBuilder.loadTexts: aiCLCDestMenuFmt.setDescription('The number of columns used to print the destination menu.') ai_clc_auto_clc_update = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCAutoCLCUpdate.setStatus('current') if mibBuilder.loadTexts: aiCLCAutoCLCUpdate.setDescription("Automatic configuration of the backup CLC when the active CLC's configuration changes.") ai_clc_alarm_lvl = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 28), integer32().subtype(subtypeSpec=value_range_constraint(0, 9))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCAlarmLvl.setStatus('current') if mibBuilder.loadTexts: aiCLCAlarmLvl.setDescription('Current Alarm Level. A write clears the alarms. A read returns the current alarm level.') ai_clc_time_date = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 29), date_and_time()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCTimeDate.setStatus('current') if mibBuilder.loadTexts: aiCLCTimeDate.setDescription('This is the Current Time and Date. The DateAndTime type is a structured OCTET STRING, defined in v2-tc.my (SNMPv2 Textual Conventions).') ai_clc_rst_time_date = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 30), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCRstTimeDate.setStatus('current') if mibBuilder.loadTexts: aiCLCRstTimeDate.setDescription('This is the Time and Date of Last Reset. The DateAndTime type is a structured OCTET STRING, defined in v2-tc.my (SNMPv2 Textual Conventions).') ai_clc_hold_conn = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 31), integer32().subtype(subtypeSpec=value_range_constraint(0, 65536))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCHoldConn.setStatus('current') if mibBuilder.loadTexts: aiCLCHoldConn.setDescription('Number of connections placed on hold ') ai_clc_num_ports = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 32), integer32().subtype(subtypeSpec=value_range_constraint(0, 256))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCNumPorts.setStatus('current') if mibBuilder.loadTexts: aiCLCNumPorts.setDescription('Number of ports detected ') ai_clc_queued_ports = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 33), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCQueuedPorts.setStatus('current') if mibBuilder.loadTexts: aiCLCQueuedPorts.setDescription('Number of ports in wait queue ') ai_clcee_prom_faults = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 34), integer32().subtype(subtypeSpec=value_range_constraint(0, 65536))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCEEPromFaults.setStatus('current') if mibBuilder.loadTexts: aiCLCEEPromFaults.setDescription('Number of EEProm failures') ai_clc_free_ee = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 35), integer32().subtype(subtypeSpec=value_range_constraint(0, 1048576))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCFreeEE.setStatus('current') if mibBuilder.loadTexts: aiCLCFreeEE.setDescription('Number of free EEProm bytes ') ai_clc_buffers = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 36), integer32().subtype(subtypeSpec=value_range_constraint(0, 65536))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCBuffers.setStatus('current') if mibBuilder.loadTexts: aiCLCBuffers.setDescription('Number of buffers created ') ai_clc_free_buffers = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 37), integer32().subtype(subtypeSpec=value_range_constraint(0, 65536))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCFreeBuffers.setStatus('current') if mibBuilder.loadTexts: aiCLCFreeBuffers.setDescription('Number of free buffers ') ai_clc_buf_alloc_err = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 38), integer32().subtype(subtypeSpec=value_range_constraint(0, 65536))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCBufAllocErr.setStatus('current') if mibBuilder.loadTexts: aiCLCBufAllocErr.setDescription('Number of buffer allocation errors ') ai_clc_buf_align = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 39), integer32().subtype(subtypeSpec=value_range_constraint(0, 65536))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCBufAlign.setStatus('current') if mibBuilder.loadTexts: aiCLCBufAlign.setDescription('Number of buffer re-alignments ') ai_clc_cpu_xacts = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 40), integer32().subtype(subtypeSpec=value_range_constraint(0, 65536))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCCpuXacts.setStatus('current') if mibBuilder.loadTexts: aiCLCCpuXacts.setDescription('Number of inter-cpu transactions') ai_clcslc_xacts = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 41), integer32().subtype(subtypeSpec=value_range_constraint(0, 65536))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCSLCXacts.setStatus('current') if mibBuilder.loadTexts: aiCLCSLCXacts.setDescription('Number of SLC Window transactions ') ai_clc_connections_placed = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 42), integer32().subtype(subtypeSpec=value_range_constraint(0, 65536))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCConnectionsPlaced.setStatus('current') if mibBuilder.loadTexts: aiCLCConnectionsPlaced.setDescription('Number of connections placed') ai_clc_tx_tail = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 43), integer32().subtype(subtypeSpec=value_range_constraint(0, 65536))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCTxTail.setStatus('current') if mibBuilder.loadTexts: aiCLCTxTail.setDescription('Number of TXTail misses ') ai_clceecrc = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 44), integer32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCEECRC.setStatus('current') if mibBuilder.loadTexts: aiCLCEECRC.setDescription('Configuration EEPROM CRC.') ai_clc_version = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 45), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCVersion.setStatus('current') if mibBuilder.loadTexts: aiCLCVersion.setDescription('Software version, time, and date of currently executing software') ai_clc_backup_clc = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 46), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('present', 1), ('notPresent', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCBackupCLC.setStatus('current') if mibBuilder.loadTexts: aiCLCBackupCLC.setDescription('Status of the Backup CLC.') ai_clc_cpu = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 47), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('slotA', 1), ('slotB', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCCpu.setStatus('current') if mibBuilder.loadTexts: aiCLCCpu.setDescription('The location of the active CLC.') ai_clc_cpy_config = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 48), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('none', 1), ('copy', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCpyConfig.setStatus('current') if mibBuilder.loadTexts: aiCLCCpyConfig.setDescription('Copy configuration from active CLC to backup CLC. A write of copy(2) causes the transfer to begin. A read will return copy(2) if a transfer is in progress and a none(1) if idle. A write of none(1) is not permitted and is flagged as an error.') ai_clcdl_win_verbose = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 49), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDLWinVerbose.setStatus('current') if mibBuilder.loadTexts: aiCLCDLWinVerbose.setDescription('Verbose report of Window Transactions.') ai_clcdl_win_in = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 50), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDLWinIn.setStatus('current') if mibBuilder.loadTexts: aiCLCDLWinIn.setDescription('Verbose report of incoming Window Transactions.') ai_clcdl_win_out = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 51), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDLWinOut.setStatus('current') if mibBuilder.loadTexts: aiCLCDLWinOut.setDescription('Verbose report of outgoing Window Transactions.') ai_clcdl_win_uni = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 52), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDLWinUni.setStatus('current') if mibBuilder.loadTexts: aiCLCDLWinUni.setDescription('Verbose report of unified Window Transactions.') ai_clcdl_msg_all = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 53), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDLMsgAll.setStatus('current') if mibBuilder.loadTexts: aiCLCDLMsgAll.setDescription('Verbose report of log messages.') ai_clcdl_no_body = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 54), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDLNoBody.setStatus('current') if mibBuilder.loadTexts: aiCLCDLNoBody.setDescription('Report log messages headers only.') ai_clcdl_alias = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 55), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDLAlias.setStatus('current') if mibBuilder.loadTexts: aiCLCDLAlias.setDescription('Verbose report of alias translations.') ai_clc_debug_val = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 56), integer32().subtype(subtypeSpec=value_range_constraint(0, 143))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDebugVal.setStatus('current') if mibBuilder.loadTexts: aiCLCDebugVal.setDescription('Value of the debug variable representing all debug combinations.') ai_clc_switch_restart = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 57), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('restart', 1), ('restartCfg', 2), ('nextCLC', 3), ('reset', 4), ('resetSLC', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCSwitchRestart.setStatus('current') if mibBuilder.loadTexts: aiCLCSwitchRestart.setDescription('A write of this object causes the switch to be restarted in the designated mode. A read of this object always returns the value restart(1), which has no particular significance.') ai_clc_init_strings = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 58), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('good', 1), ('bad', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCInitStrings.setStatus('current') if mibBuilder.loadTexts: aiCLCInitStrings.setDescription('This object is used to test the condition of the strings on the CLC. A read of this object causes the test to be performed and then reports the outcome.') ai_clc_copy_flash = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 59), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('none', 1), ('apbs', 2), ('apas', 3), ('asbs', 4), ('asap', 5), ('bpas', 6), ('bpbs', 7), ('bsbp', 8), ('bsas', 9)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCopyFlash.setStatus('current') if mibBuilder.loadTexts: aiCLCCopyFlash.setDescription('Copy Flash from one bank to another. AP - Active Primary AS - Active Secondary BP - Backup Primary BS - Backup Secondary A read returns a value corresponding to the activity in progress. A write causes the requested transfer to begin. A write of none(1) is not permitted and is flagged as an error.') ai_clc_copy_flash_to_slc = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 60), integer32().subtype(subtypeSpec=value_range_constraint(0, 256))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCopyFlashToSLC.setStatus('current') if mibBuilder.loadTexts: aiCLCCopyFlashToSLC.setDescription("This object is used to begin or obtain the status of the SLC Download process. Writing a SLC base port to this object will cause the SLC at that baseport to search for new firmware on the active or backup CLC. If a valid SLC image is located, then the SLC will download that code and begin to run. A read of this variable will return the value 1 if a SLC download is in process, or a 0 if there aren't downloads in progress.") ai_clc_read_community = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 61), display_string().subtype(subtypeSpec=value_range_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCReadCommunity.setStatus('current') if mibBuilder.loadTexts: aiCLCReadCommunity.setDescription('The read community string for the CLC.') ai_clc_write_community = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 62), display_string().subtype(subtypeSpec=value_range_constraint(1, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCWriteCommunity.setStatus('current') if mibBuilder.loadTexts: aiCLCWriteCommunity.setDescription('The write community string for the CLC.') ai_clcip_adrs = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 63), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCIPAdrs.setStatus('current') if mibBuilder.loadTexts: aiCLCIPAdrs.setDescription('The IP address for the CLC.') ai_clc_router_ip_adrs = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 64), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCRouterIPAdrs.setStatus('current') if mibBuilder.loadTexts: aiCLCRouterIPAdrs.setDescription('The router ip address for the CLC.') ai_clc_subnet_ip_adrs = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 65), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCSubnetIPAdrs.setStatus('current') if mibBuilder.loadTexts: aiCLCSubnetIPAdrs.setDescription('The subnet mask for the CLC. ') ai_clc_trap_table = mib_table((1, 3, 6, 1, 4, 1, 539, 9, 1, 66)) if mibBuilder.loadTexts: aiCLCTrapTable.setStatus('current') if mibBuilder.loadTexts: aiCLCTrapTable.setDescription('A table of Trap destination IP addresses.') ai_clc_last_trap_msg_text = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 67), display_string().subtype(subtypeSpec=value_size_constraint(0, 512))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCLastTrapMsgText.setStatus('current') if mibBuilder.loadTexts: aiCLCLastTrapMsgText.setDescription('This is the message text associated with the last generated trap.') ai_clc_last_trap_msg_num = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 68), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCLastTrapMsgNum.setStatus('current') if mibBuilder.loadTexts: aiCLCLastTrapMsgNum.setDescription('This is the message number of the last generated trap log message.') ai_clc_crash_msg_text = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 69), display_string().subtype(subtypeSpec=value_size_constraint(0, 1024))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCCrashMsgText.setStatus('current') if mibBuilder.loadTexts: aiCLCCrashMsgText.setDescription('This is a place holder. It is required to allow verification of OID of trap crash message object. A read of this object will return an empty string.') ai_clc_num_events_since_last_trap = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 70), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCNumEventsSinceLastTrap.setStatus('current') if mibBuilder.loadTexts: aiCLCNumEventsSinceLastTrap.setDescription('This is the number of times an event that would generate a trap has occurred since the last time that trap was transmitted. The traps are not transmitted while the aiCLCTrapTimer is running. This number will accompany the next transmitted trap. This object is really a place holder. It is required to allow verification of the OID of this information in a trap (var-bind). A read of this object will result in an error from the snmp agent.') ai_clc_trap_timer = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 71), integer32().subtype(subtypeSpec=value_range_constraint(5, 65535)).clone(300)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCTrapTimer.setStatus('current') if mibBuilder.loadTexts: aiCLCTrapTimer.setDescription('After a trap is generated, a timer is started. If the event that generated the trap occurs while the timer is running, no trap will be generated for the event. The value of this object is the duration of the timer in SECONDS.') ai_clc_async_trap = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 72), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('disabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCAsyncTrap.setStatus('current') if mibBuilder.loadTexts: aiCLCAsyncTrap.setDescription('When this object is enabled, link up/link down traps are sent to managers listed in the trap table. The traps are normally not used and must specifically be enabled by a manager.') ai_clc_telnet_server_port = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 73), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(23)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCTelnetServerPort.setStatus('current') if mibBuilder.loadTexts: aiCLCTelnetServerPort.setDescription('The tcp port number used by the telnet server may be configured using the aiCLCTelnetServerPort object. By default this object uses the well known port number 23.') ai_clc_cold_start_trap_delay = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 74), integer32().subtype(subtypeSpec=value_range_constraint(0, 600))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCColdStartTrapDelay.setStatus('current') if mibBuilder.loadTexts: aiCLCColdStartTrapDelay.setDescription('The sending of the cold start trap may be delayed to allow system startup and link startup to occur. This will typically be done on systems using IP over X.25 links. This value is specified in seconds.') ai_clc_ftp_ctrl_port = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 75), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(21)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCFtpCtrlPort.setStatus('current') if mibBuilder.loadTexts: aiCLCFtpCtrlPort.setDescription('The FTP Server control port number. New values for this object take affect after a reset. The FTP Server data port is automatically selected to be one less than the control port.') ai_clc_backup_clc_health = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 76), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('present', 1), ('notPresent', 2), ('presentFaulted', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCBackupCLCHealth.setStatus('current') if mibBuilder.loadTexts: aiCLCBackupCLCHealth.setDescription('Health status of the Backup CLC.') ai_clc_banner = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 77), display_string().subtype(subtypeSpec=value_range_constraint(0, 1170))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCBanner.setStatus('current') if mibBuilder.loadTexts: aiCLCBanner.setDescription('The banner for the CLC. There is a maximum 15 lines with 76 characters allowed per line.') ai_clc_time_zone = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 78), integer32().subtype(subtypeSpec=value_range_constraint(-720, 720))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCTimeZone.setStatus('current') if mibBuilder.loadTexts: aiCLCTimeZone.setDescription('The time zone offset for the CLC in minutes.') ai_clc_daylight_savings = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 79), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDaylightSavings.setStatus('current') if mibBuilder.loadTexts: aiCLCDaylightSavings.setDescription('Daylight Savings') ai_clcsntp = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 80), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCSNTP.setStatus('current') if mibBuilder.loadTexts: aiCLCSNTP.setDescription('SNTP') ai_clcsntp_primary_server = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 81), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCSNTPPrimaryServer.setStatus('current') if mibBuilder.loadTexts: aiCLCSNTPPrimaryServer.setDescription('The IP address for the Primary SNTP Server.') ai_clcsntp_secondary_server = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 82), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCSNTPSecondaryServer.setStatus('current') if mibBuilder.loadTexts: aiCLCSNTPSecondaryServer.setDescription('The IP address for the Secondary SNTP Server.') ai_clcsntp_poll_interval = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 83), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCSNTPPollInterval.setStatus('current') if mibBuilder.loadTexts: aiCLCSNTPPollInterval.setDescription('SNTP Poll Interval') ai_clc_radius_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 84), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1), ('localFallback', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCRadiusEnabled.setStatus('current') if mibBuilder.loadTexts: aiCLCRadiusEnabled.setDescription('RADIUS enabled/disabled state.') ai_clc_radius_addr1 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 85), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCRadiusAddr1.setStatus('current') if mibBuilder.loadTexts: aiCLCRadiusAddr1.setDescription('The IP address for the Primary RADIUS Server.') ai_clc_radius_port1 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 86), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(1812)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCRadiusPort1.setStatus('current') if mibBuilder.loadTexts: aiCLCRadiusPort1.setDescription('The port number associated with the Primary RADIUS Server.') ai_clc_radius_secret1 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 87), display_string().subtype(subtypeSpec=value_size_constraint(0, 24)).clone('applied')).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCRadiusSecret1.setStatus('current') if mibBuilder.loadTexts: aiCLCRadiusSecret1.setDescription('The Secret for the Primary RADIUS Server.') ai_clc_radius_addr2 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 88), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCRadiusAddr2.setStatus('current') if mibBuilder.loadTexts: aiCLCRadiusAddr2.setDescription('The IP address for the Secondary RADIUS Server.') ai_clc_radius_port2 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 89), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(1812)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCRadiusPort2.setStatus('current') if mibBuilder.loadTexts: aiCLCRadiusPort2.setDescription('The port number associated with the Secondary RADIUS Server.') ai_clc_radius_secret2 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 90), display_string().subtype(subtypeSpec=value_size_constraint(0, 24)).clone('applied')).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCRadiusSecret2.setStatus('current') if mibBuilder.loadTexts: aiCLCRadiusSecret2.setDescription('The Secret for the Secondary RADIUS Server.') ai_clc_trap_interval = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 91), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCTrapInterval.setStatus('current') if mibBuilder.loadTexts: aiCLCTrapInterval.setDescription('The interval of the faulted primary CLC trap. If the primary CLC was faulted and the interval was set between 1 and 65535 minutes, the backup CLC will repeatedly send the faulted primary CLC trap. To disable this trap, set the interval to 0. If reset the interval to 0 after the primary CLC has been faulted, the backup CLC will stop sending the trap. New value for this object will take affect without rebooting the switch. This object has no effect on other traps.') ai_clc_tacacs_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 92), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1), ('localFallback', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCTacacsEnabled.setStatus('current') if mibBuilder.loadTexts: aiCLCTacacsEnabled.setDescription('TACACS+ enabled/disabled state.') ai_clc_tacacs_addr1 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 93), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCTacacsAddr1.setStatus('current') if mibBuilder.loadTexts: aiCLCTacacsAddr1.setDescription('The IP address for the Primary TACACS Server.') ai_clc_tacacs_port1 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 94), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(49)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCTacacsPort1.setStatus('current') if mibBuilder.loadTexts: aiCLCTacacsPort1.setDescription('The port number associated with the Primary TACACS Server.') ai_clc_tacacs_secret1 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 95), display_string().subtype(subtypeSpec=value_size_constraint(0, 24)).clone('applied')).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCTacacsSecret1.setStatus('current') if mibBuilder.loadTexts: aiCLCTacacsSecret1.setDescription('The Secret for the Primary TACACS Server.') ai_clc_tacacs_addr2 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 96), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCTacacsAddr2.setStatus('current') if mibBuilder.loadTexts: aiCLCTacacsAddr2.setDescription('The IP address for the Secondary TACACS Server.') ai_clc_tacacs_port2 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 97), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(49)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCTacacsPort2.setStatus('current') if mibBuilder.loadTexts: aiCLCTacacsPort2.setDescription('The port number associated with the Secondary TACACS Server.') ai_clc_tacacs_secret2 = mib_scalar((1, 3, 6, 1, 4, 1, 539, 9, 1, 98), display_string().subtype(subtypeSpec=value_size_constraint(0, 24)).clone('applied')).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCTacacsSecret2.setStatus('current') if mibBuilder.loadTexts: aiCLCTacacsSecret2.setDescription('The Secret for the Secondary TACACS Server.') ai_clc_trap_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 539, 9, 1, 66, 1)).setIndexNames((0, 'AI198CLC-MIB', 'aiCLCTrapIPAdrs')) if mibBuilder.loadTexts: aiCLCTrapTableEntry.setStatus('current') if mibBuilder.loadTexts: aiCLCTrapTableEntry.setDescription('Information about a particular Trap destination.') ai_clc_trap_ip_adrs = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 1, 66, 1, 1), ip_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: aiCLCTrapIPAdrs.setStatus('current') if mibBuilder.loadTexts: aiCLCTrapIPAdrs.setDescription('The IP Address of the destination to which SNMP Traps will be sent.') ai_clc_trap_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 1, 66, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('active', 1), ('notInService', 2), ('notReady', 3), ('createAndGo', 4), ('createAndWait', 5), ('destroy', 6)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: aiCLCTrapRowStatus.setStatus('current') if mibBuilder.loadTexts: aiCLCTrapRowStatus.setDescription('The aiCLC Trap Table entry row status.') ai_clc_card_table = mib_table((1, 3, 6, 1, 4, 1, 539, 9, 2)) if mibBuilder.loadTexts: aiCLCCardTable.setStatus('current') if mibBuilder.loadTexts: aiCLCCardTable.setDescription('A table of line cards contained in an AISwitch.') ai_clc_card_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 539, 9, 2, 1)).setIndexNames((0, 'AI198CLC-MIB', 'aiCLCCTIndex')) if mibBuilder.loadTexts: aiCLCCardTableEntry.setStatus('current') if mibBuilder.loadTexts: aiCLCCardTableEntry.setDescription('Information about a particular line card.') ai_clcct_index = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 64))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCTIndex.setStatus('current') if mibBuilder.loadTexts: aiCLCCTIndex.setDescription('The card table index.') ai_clcct_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('up', 1), ('down', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCTAdminStatus.setStatus('current') if mibBuilder.loadTexts: aiCLCCTAdminStatus.setDescription('This represents the state of the card and may be used to change the state of the card. For DUMB cards if one port on the card is up, then the entire card is considered to be up. ') ai_clcct_base_port = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCTBasePort.setStatus('current') if mibBuilder.loadTexts: aiCLCCTBasePort.setDescription('The base port number for the line card.') ai_clcct_high_port = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCCTHighPort.setStatus('current') if mibBuilder.loadTexts: aiCLCCTHighPort.setDescription('The highest port number accessible by the line card.') ai_clcct_rd_comm_str = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCTRdCommStr.setStatus('current') if mibBuilder.loadTexts: aiCLCCTRdCommStr.setDescription('The SNMP read community string by which this card is known.') ai_clcct_wr_comm_str = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCTWrCommStr.setStatus('current') if mibBuilder.loadTexts: aiCLCCTWrCommStr.setDescription('The SNMP write community string by which this card is known.') ai_clcct_card_snmp_state = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('nosnmp', 1), ('snmpProxy', 2), ('snmpDirect', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCCTCardSnmpState.setStatus('current') if mibBuilder.loadTexts: aiCLCCTCardSnmpState.setDescription("This field describes the capabilities of the card. A card may not be snmp capable and will have the value nosnmp(1). A card may be snmp capable but isn't present on the IP network. This card is may proxied for and will have the type snmpProxy(2). The last type of snmp capability is where are card is present on the IP network and can be managed directly. This card will have a type of snmpDirect(3). ") ai_clcct_card_type = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 8), 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, 18, 19, 20, 21, 22, 23, 24))).clone(namedValues=named_values(('asynch', 1), ('aslc', 2), ('ethernet', 3), ('x25', 4), ('asp', 5), ('islc', 6), ('ai2524', 7), ('ai294', 8), ('ai196im', 9), ('x25m', 10), ('islc1', 11), ('ai296', 12), ('ai285', 13), ('ai232', 14), ('ai196ILEG', 15), ('aimod', 16), ('aiflx', 17), ('empty', 18), ('ai120', 19), ('aie1', 20), ('aitc', 21), ('aifocus', 22), ('wanE1', 23), ('wanT1', 24))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCTCardType.setStatus('current') if mibBuilder.loadTexts: aiCLCCTCardType.setDescription('The line card type.') ai_clcct_slot_exp = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCTSlotExp.setStatus('current') if mibBuilder.loadTexts: aiCLCCTSlotExp.setDescription('The number of slots the line card is to logically occupy.') ai_clcctip_adrs = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 10), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCTIPAdrs.setStatus('current') if mibBuilder.loadTexts: aiCLCCTIPAdrs.setDescription('The IP address associated with the line card.') ai_clcct_rtr_ip_adrs = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 11), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCTRtrIPAdrs.setStatus('current') if mibBuilder.loadTexts: aiCLCCTRtrIPAdrs.setDescription('The router ip address for this line card.') ai_clcct_subnet_mask = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 12), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCTSubnetMask.setStatus('current') if mibBuilder.loadTexts: aiCLCCTSubnetMask.setDescription('The subnet mask for this line card. ') ai_clcct_auto_id_index = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(0, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCCTAutoIdIndex.setStatus('current') if mibBuilder.loadTexts: aiCLCCTAutoIdIndex.setDescription('The index into the Auto Id table associated with this line card.') ai_clcct_sys_oid = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 14), object_identifier()).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCCTSysOID.setStatus('current') if mibBuilder.loadTexts: aiCLCCTSysOID.setDescription('The SNMP System OID associated with this line card.') ai_clcct_real_card_type = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 15), 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, 18, 19, 20, 21, 22, 23, 24))).clone(namedValues=named_values(('asynch', 1), ('aslc', 2), ('ethernet', 3), ('x25', 4), ('asp', 5), ('islc', 6), ('ai2524', 7), ('ai294', 8), ('ai196im', 9), ('x25m', 10), ('islc1', 11), ('ai296', 12), ('ai285', 13), ('ai232', 14), ('ai196ILEG', 15), ('aimod', 16), ('aiflx', 17), ('empty', 18), ('ai120', 19), ('aie1', 20), ('aitc', 21), ('aifocus', 22), ('wanE1', 23), ('wanT1', 24))).clone(1)).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCCTRealCardType.setStatus('current') if mibBuilder.loadTexts: aiCLCCTRealCardType.setDescription('The real line card type.') ai_clcctip_range = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 16), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCTIPRange.setStatus('current') if mibBuilder.loadTexts: aiCLCCTIPRange.setDescription('The IP address range of this line card.') ai_clcct_telnet_port = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 17), integer32().subtype(subtypeSpec=value_range_constraint(1, 65534))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCTTelnetPort.setStatus('current') if mibBuilder.loadTexts: aiCLCCTTelnetPort.setDescription('The telnet port of this line card.') ai_clcct_card_reset = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('on', 1), ('off', 2), ('na', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCTCardReset.setStatus('current') if mibBuilder.loadTexts: aiCLCCTCardReset.setDescription('Card is included when * is used with STPSLC, DISABL, or ENABL.') ai_clcct_last_sequence_number = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 19), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCCTLastSequenceNumber.setStatus('current') if mibBuilder.loadTexts: aiCLCCTLastSequenceNumber.setDescription('This is the sequence number of the last trap sent by this card. The sequence number starts at zero following a hardware reset or power-up. When the sequence number reaches 0xffffffff, it rolls over to 0 on the next trap.') ai_clcct_rtr2_ip_adrs = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 2, 1, 20), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCTRtr2IPAdrs.setStatus('current') if mibBuilder.loadTexts: aiCLCCTRtr2IPAdrs.setDescription('The secondary router ip address for this line card.') ai_clc_port_table = mib_table((1, 3, 6, 1, 4, 1, 539, 9, 3)) if mibBuilder.loadTexts: aiCLCPortTable.setStatus('current') if mibBuilder.loadTexts: aiCLCPortTable.setDescription('A table of port information.') ai_clc_port_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 539, 9, 3, 1)).setIndexNames((0, 'AI198CLC-MIB', 'aiCLCPortNumber')) if mibBuilder.loadTexts: aiCLCPortTableEntry.setStatus('current') if mibBuilder.loadTexts: aiCLCPortTableEntry.setDescription('Information unique to a particular port.') ai_clc_port_number = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCPortNumber.setStatus('current') if mibBuilder.loadTexts: aiCLCPortNumber.setDescription('The AISwitch Port Number associated with the entry.') ai_clc_port_type = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('user', 1), ('destination', 2), ('actConn', 3), ('dedicated', 4))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCPortType.setStatus('current') if mibBuilder.loadTexts: aiCLCPortType.setDescription('This is used to configure how the port is being used.') ai_clc_port_dedicated = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCPortDedicated.setStatus('current') if mibBuilder.loadTexts: aiCLCPortDedicated.setDescription("The port number to which this port is dedicated when the type is 'dedicated'.") ai_clc_port_dest_name = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 8))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCPortDestName.setStatus('current') if mibBuilder.loadTexts: aiCLCPortDestName.setDescription('The destination to which this port is assigned.') ai_clc_port_echo = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCPortEcho.setStatus('current') if mibBuilder.loadTexts: aiCLCPortEcho.setDescription('This determines whether echoing is on when the port is connected to the AISwitch.') ai_clc_port_dest_menu = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCPortDestMenu.setStatus('current') if mibBuilder.loadTexts: aiCLCPortDestMenu.setDescription("This determines whether the destination menu is displayed when the port type is 'user'.") ai_clc_port_queue = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCPortQueue.setStatus('current') if mibBuilder.loadTexts: aiCLCPortQueue.setDescription('This determines whether the port is allowed to be put on hold when the destination port is busy.') ai_clcslc_protocol_code = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCSLCProtocolCode.setStatus('current') if mibBuilder.loadTexts: aiCLCSLCProtocolCode.setDescription('This is the slc protocol processing code.') ai_clc_port_state = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCPortState.setStatus('current') if mibBuilder.loadTexts: aiCLCPortState.setDescription('This is used to determine whether the port is enabled or disabled.') ai_clc_port_status = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 10), 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, 18, 19, 20))).clone(namedValues=named_values(('idle', 1), ('selcos', 2), ('pswd', 3), ('uname', 4), ('dna', 5), ('tcp', 6), ('queue', 7), ('holdq', 8), ('waitq', 9), ('ai', 10), ('conn', 11), ('preconn', 12), ('predisc', 13), ('hold', 14), ('netconn', 15), ('file', 16), ('inact', 17), ('swdwn', 18), ('telnetClient', 19), ('unknown', 20)))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCPortStatus.setStatus('current') if mibBuilder.loadTexts: aiCLCPortStatus.setDescription("This value is the port status which include the following values; idle(1), selecting class of service selcos(2), entering password pswd(3), entering username(4), entering destination network address dna(5), entering a TCP address tcp(6), answering 'wish to queue' queue(7), answering 'wish to hold' holdq(8), connected to switch ai(9), connected conn(10), in the process of connecting preconn(11), in the process of disconnecting predisc(12), hold(13), network connect pending netconn(14), performing a file transfer file(15), inactive inact(16), slc is receiving software download swdwn(17), port is using a telnet client telnetClient(18), unknown(20).") ai_clc_port_alm = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 9))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCPortAlm.setStatus('current') if mibBuilder.loadTexts: aiCLCPortAlm.setDescription('The current alarm value for the port.') ai_clc_port_desc = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 12), display_string().subtype(subtypeSpec=value_size_constraint(0, 29))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCPortDesc.setStatus('current') if mibBuilder.loadTexts: aiCLCPortDesc.setDescription('This is used to describe the port in textual form.') ai_clc_port_reset = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 3, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCPortReset.setStatus('current') if mibBuilder.loadTexts: aiCLCPortReset.setDescription('Port is included when * is used with DISABL or ENABL.') ai_clc_alias_table = mib_table((1, 3, 6, 1, 4, 1, 539, 9, 4)) if mibBuilder.loadTexts: aiCLCAliasTable.setStatus('current') if mibBuilder.loadTexts: aiCLCAliasTable.setDescription('A table of call alias information.') ai_clc_alias_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 539, 9, 4, 1)).setIndexNames((1, 'AI198CLC-MIB', 'aiCLCAliasIndex')) if mibBuilder.loadTexts: aiCLCAliasTableEntry.setStatus('current') if mibBuilder.loadTexts: aiCLCAliasTableEntry.setDescription('Information unique to a particular alias.') ai_clc_alias_index = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(1, 200))).setMaxAccess('readcreate') if mibBuilder.loadTexts: aiCLCAliasIndex.setStatus('current') if mibBuilder.loadTexts: aiCLCAliasIndex.setDescription('The alias name in the form of a DisplayString. This is the key field for the Alias Table.') ai_clc_alias_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('active', 1), ('notInService', 2), ('notReady', 3), ('createAndGo', 4), ('createAndWait', 5), ('destroy', 6)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: aiCLCAliasRowStatus.setStatus('current') if mibBuilder.loadTexts: aiCLCAliasRowStatus.setDescription('The Alias Table Entry row status.') ai_clc_xlat_type = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('simple', 1), ('muxconn', 2), ('muxxlat', 3), ('slcroute', 4))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCXlatType.setStatus('current') if mibBuilder.loadTexts: aiCLCXlatType.setDescription('The type of alias translation to be performed.') ai_clc_alias_dest_name = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 4), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCAliasDestName.setStatus('current') if mibBuilder.loadTexts: aiCLCAliasDestName.setDescription('The destination to be used for the alias.') ai_clc_called_adrs = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCalledAdrs.setStatus('current') if mibBuilder.loadTexts: aiCLCCalledAdrs.setDescription('The called address used in the macro.') ai_clc_alias_dest_menu = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCAliasDestMenu.setStatus('current') if mibBuilder.loadTexts: aiCLCAliasDestMenu.setDescription('This determines whether the alias appears on the destination menu.') ai_clc_link_num = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 7), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCLinkNum.setStatus('current') if mibBuilder.loadTexts: aiCLCLinkNum.setDescription('The link number or alias macro used for the link number.') ai_clc_caller_adrs = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 8), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCallerAdrs.setStatus('current') if mibBuilder.loadTexts: aiCLCCallerAdrs.setDescription('The caller address used in the macro.') ai_clc_call_data = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 9), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCallData.setStatus('current') if mibBuilder.loadTexts: aiCLCCallData.setDescription('The call data which may be a destination or an alias macro.') ai_clc_applic_string = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 10), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCApplicString.setStatus('current') if mibBuilder.loadTexts: aiCLCApplicString.setDescription('The application string which may be a string or an alias macro.') ai_clc_called_proto_str = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 11), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCalledProtoStr.setStatus('current') if mibBuilder.loadTexts: aiCLCCalledProtoStr.setDescription('The string that may specify the called protocol for a call using the alias macro.') ai_clc_caller_proto_str = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 12), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCCallerProtoStr.setStatus('current') if mibBuilder.loadTexts: aiCLCCallerProtoStr.setDescription('The string that may specify the calling protocol for a call using the alias macro.') ai_clc_altern_route = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 13), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCAlternRoute.setStatus('current') if mibBuilder.loadTexts: aiCLCAlternRoute.setDescription('The string may specify a destination or an alias macro that is used as an alternate route.') ai_clc_alias_position = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 4, 1, 14), display_string().subtype(subtypeSpec=value_size_constraint(1, 5)).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCAliasPosition.setStatus('current') if mibBuilder.loadTexts: aiCLCAliasPosition.setDescription("The position of the alias in the alias list. When 'set' a new or an existing alias, this value can be used as a flag to request a saving to the beginning (0) or to the end (99999) of the alias list. As default, the CLC always saves a new alias to the end and a modified alias to its old position.") ai_clc_dest_table = mib_table((1, 3, 6, 1, 4, 1, 539, 9, 5)) if mibBuilder.loadTexts: aiCLCDestTable.setStatus('current') if mibBuilder.loadTexts: aiCLCDestTable.setDescription('This table contains information pertaining to destinations and their attributes.') ai_clc_dest_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 539, 9, 5, 1)).setIndexNames((1, 'AI198CLC-MIB', 'aiCLCDestName')) if mibBuilder.loadTexts: aiCLCDestTableEntry.setStatus('current') if mibBuilder.loadTexts: aiCLCDestTableEntry.setDescription('This information pertains to one entry in the destination table.') ai_clc_dest_name = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(1, 8))).setMaxAccess('readcreate') if mibBuilder.loadTexts: aiCLCDestName.setStatus('current') if mibBuilder.loadTexts: aiCLCDestName.setDescription('The name of the destination in the form of an OCTET STRING.') ai_clc_dest_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('active', 1), ('notInService', 2), ('notReady', 3), ('createAndGo', 4), ('createAndWait', 5), ('destroy', 6)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: aiCLCDestRowStatus.setStatus('current') if mibBuilder.loadTexts: aiCLCDestRowStatus.setDescription('The key field for the Destination table entry.') ai_clc_dest_call_init = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDestCallInit.setStatus('current') if mibBuilder.loadTexts: aiCLCDestCallInit.setDescription('This is used to turn on or turn off call initiation on ports assigned to this destination.') ai_clc_dest_disc = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDestDisc.setStatus('current') if mibBuilder.loadTexts: aiCLCDestDisc.setDescription("This is used to turn on or turn off the user's disconnect keys when connected to this destination.") ai_clc_dest_disp_menu = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDestDispMenu.setStatus('current') if mibBuilder.loadTexts: aiCLCDestDispMenu.setDescription('This is used to turn on or turn off the display of the destination name on the destination menu.') ai_clc_dest_baud = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDestBaud.setStatus('current') if mibBuilder.loadTexts: aiCLCDestBaud.setDescription('This is used to turn on or turn off whether the baud rate is checked before connecting to the destination.') ai_clc_dest_is_switch = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('yes', 1), ('no', 2))).clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDestIsSwitch.setStatus('current') if mibBuilder.loadTexts: aiCLCDestIsSwitch.setDescription('This is used to indicate that the destination is another AI switch.') ai_clc_dest_tmr_type = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('actTmr', 1), ('sessTmr', 2))).clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDestTmrType.setStatus('current') if mibBuilder.loadTexts: aiCLCDestTmrType.setDescription('This is used to set the type of timer associated with the destination.') ai_clc_dest_tmr_val = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 4368000)).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDestTmrVal.setStatus('current') if mibBuilder.loadTexts: aiCLCDestTmrVal.setDescription('This value is the timer duration in milliseconds ranging from 1mS to 4368000mS or about 72 hours.') ai_clc_dest_tmr_delay = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 4368000)).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDestTmrDelay.setStatus('current') if mibBuilder.loadTexts: aiCLCDestTmrDelay.setDescription('This value is the delay in milliseconds before allowing further calls on the destination after a call terminates. The range is 1mS to 4368000mS or about 72 hours.') ai_clc_dest_pswd = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 11), display_string().subtype(subtypeSpec=value_size_constraint(0, 8))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDestPswd.setStatus('current') if mibBuilder.loadTexts: aiCLCDestPswd.setDescription('This is password associated with the destination.') ai_clc_dest_q_pswd = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 12), display_string().subtype(subtypeSpec=value_size_constraint(0, 8))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDestQPswd.setStatus('current') if mibBuilder.loadTexts: aiCLCDestQPswd.setDescription('This is password used to control access to the queue management functions associated with the destination.') ai_clc_dest_menu_msg = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 13), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDestMenuMsg.setStatus('current') if mibBuilder.loadTexts: aiCLCDestMenuMsg.setDescription('This string is displayed next to the destination in the destination menu.') ai_clc_dest_conn_msg = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 14), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDestConnMsg.setStatus('current') if mibBuilder.loadTexts: aiCLCDestConnMsg.setDescription('This string is forced out the destination port when a connection begins.') ai_clc_dest_disc_msg = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 15), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDestDiscMsg.setStatus('current') if mibBuilder.loadTexts: aiCLCDestDiscMsg.setDescription('This string is forced out the destination port when a connection terminates.') ai_clc_dest_state = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDestState.setStatus('current') if mibBuilder.loadTexts: aiCLCDestState.setDescription('This is used to enable or disable the destination.') ai_clc_dest_num_ports = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 17), integer32().subtype(subtypeSpec=value_range_constraint(0, 256))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCDestNumPorts.setStatus('current') if mibBuilder.loadTexts: aiCLCDestNumPorts.setDescription('This is used to determine the number of ports assigned to this destination.') ai_clc_dest_num_used = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 18), integer32().subtype(subtypeSpec=value_range_constraint(0, 256))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCDestNumUsed.setStatus('current') if mibBuilder.loadTexts: aiCLCDestNumUsed.setDescription('This is used to determine the number of ports in use for this destination.') ai_clc_dest_num_free = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 19), integer32().subtype(subtypeSpec=value_range_constraint(0, 256))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCDestNumFree.setStatus('current') if mibBuilder.loadTexts: aiCLCDestNumFree.setDescription('This is used to determine the number of ports that are free for this destination.') ai_clc_dest_q_high = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 20), integer32().subtype(subtypeSpec=value_range_constraint(0, 65536))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCDestQHigh.setStatus('current') if mibBuilder.loadTexts: aiCLCDestQHigh.setDescription('This is used to determine the maximum number of ports that were queued to this destination.') ai_clc_dest_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 21), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCDestPortList.setStatus('current') if mibBuilder.loadTexts: aiCLCDestPortList.setDescription('This string contains a list of port numbers assigned to this destination.') ai_clc_dest_wait_for_port = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 5, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCDestWaitForPort.setStatus('current') if mibBuilder.loadTexts: aiCLCDestWaitForPort.setDescription('This is used to allow the user to wait for a port when all ports for the destination are busy.') ai_clc_async_table = mib_table((1, 3, 6, 1, 4, 1, 539, 9, 6)) if mibBuilder.loadTexts: aiCLCAsyncTable.setStatus('current') if mibBuilder.loadTexts: aiCLCAsyncTable.setDescription('The Async Table.') ai_clc_async_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 539, 9, 6, 1)).setIndexNames((0, 'AI198CLC-MIB', 'aiCLCAsyncifIndex')) if mibBuilder.loadTexts: aiCLCAsyncTableEntry.setStatus('current') if mibBuilder.loadTexts: aiCLCAsyncTableEntry.setDescription('An Async Table entry.') ai_clc_asyncif_index = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCAsyncifIndex.setStatus('current') if mibBuilder.loadTexts: aiCLCAsyncifIndex.setDescription('The ifIndex from the interfaces table.') ai_clc_async_port = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCAsyncPort.setStatus('current') if mibBuilder.loadTexts: aiCLCAsyncPort.setDescription('The AISwitch port number.') ai_clc_async_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('up', 1), ('down', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCAsyncAdminStatus.setStatus('current') if mibBuilder.loadTexts: aiCLCAsyncAdminStatus.setDescription('The key field for the Async table entry.') ai_clc_async_disc_type = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('nobrkdisc', 1), ('brkdisc', 2), ('longbrkdisc', 3))).clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCAsyncDiscType.setStatus('current') if mibBuilder.loadTexts: aiCLCAsyncDiscType.setDescription('The disconnect type for the async port.') ai_clceia_signals = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('eiaDisabled', 1), ('dsrRtsPass', 2), ('dsrOffDisc', 3), ('dsrOnOffDisc', 4), ('dcdOffDisc', 5), ('dcdOnOffDisc', 6))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCEIASignals.setStatus('current') if mibBuilder.loadTexts: aiCLCEIASignals.setDescription('The EIA signals may be disabled (eiaDisabled(1)) or configured for pass through (dsrRtsPass(2)). Additionally the port can be configured to disconnect on loss of DSR (dsrOffDisc(3)), disconnect on change of state of DSR (dsrOnOffDisc(4)), disconnect on loss of DCD (dcdOffDisc(5)), or disconnect on change of state of DCD (dcdOnOffDisc(6)).') ai_clceia_rts_disc = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCEIARtsDisc.setStatus('current') if mibBuilder.loadTexts: aiCLCEIARtsDisc.setDescription('Upon disconnect RTS may be configured to be on(1), or off(2).') ai_clceia_dtr_disc = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCEIADtrDisc.setStatus('current') if mibBuilder.loadTexts: aiCLCEIADtrDisc.setDescription('Upon disconnect DTR may be configured to be on(1), or off(2).') ai_clceia_rts_conn = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCEIARtsConn.setStatus('current') if mibBuilder.loadTexts: aiCLCEIARtsConn.setDescription('Upon connect RTS may be configured to be on(1), or off(2).') ai_clceia_dtr_conn = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCEIADtrConn.setStatus('current') if mibBuilder.loadTexts: aiCLCEIADtrConn.setDescription('Upon connect DTR may be configured to be on(1), or off(2).') ai_clceia_rts_toggle = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCEIARtsToggle.setStatus('current') if mibBuilder.loadTexts: aiCLCEIARtsToggle.setDescription('Upon disconnect RTS may be configured to toggle (on(1)) or not (off(2)).') ai_clceia_dtr_toggle = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 6, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on', 1), ('off', 2))).clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: aiCLCEIADtrToggle.setStatus('current') if mibBuilder.loadTexts: aiCLCEIADtrToggle.setDescription('Upon disconnect DTR may be configured to toggle (on(1)) or not (off(2)).') ai_clc_auto_id_table = mib_table((1, 3, 6, 1, 4, 1, 539, 9, 7)) if mibBuilder.loadTexts: aiCLCAutoIDTable.setStatus('current') if mibBuilder.loadTexts: aiCLCAutoIDTable.setDescription('A table of board identification information for an AISwitch.') ai_clc_auto_id_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 539, 9, 7, 1)).setIndexNames((0, 'AI198CLC-MIB', 'aiCLCAIDIndex')) if mibBuilder.loadTexts: aiCLCAutoIDTableEntry.setStatus('current') if mibBuilder.loadTexts: aiCLCAutoIDTableEntry.setDescription('Board Identification information for a particular card.') ai_clcaid_index = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 7, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCAIDIndex.setStatus('current') if mibBuilder.loadTexts: aiCLCAIDIndex.setDescription('The Auto ID Table index.') ai_clcaid_port = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 7, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 256))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCAIDPort.setStatus('current') if mibBuilder.loadTexts: aiCLCAIDPort.setDescription('The port number where the card resides. If the port number is not valid then 256 will be reported.') ai_clcaid_product = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 7, 1, 3), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCAIDProduct.setStatus('current') if mibBuilder.loadTexts: aiCLCAIDProduct.setDescription('The product name for the card.') ai_clcaid_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 7, 1, 4), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCAIDSerialNumber.setStatus('current') if mibBuilder.loadTexts: aiCLCAIDSerialNumber.setDescription('The serial number for the card.') ai_clcaid_manuf_date = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 7, 1, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCAIDManufDate.setStatus('current') if mibBuilder.loadTexts: aiCLCAIDManufDate.setDescription('The date of manufacture for the card.') ai_clcaidmac_adrs = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 7, 1, 6), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCAIDMACAdrs.setStatus('current') if mibBuilder.loadTexts: aiCLCAIDMACAdrs.setDescription('The MAC address for the card.') ai_clcai2524_link_table = mib_table((1, 3, 6, 1, 4, 1, 539, 9, 8)) if mibBuilder.loadTexts: aiCLCAI2524LinkTable.setStatus('current') if mibBuilder.loadTexts: aiCLCAI2524LinkTable.setDescription('A table of link status for AI2524 Router Cards.') ai_clcai2524_link_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 539, 9, 8, 1)).setIndexNames((0, 'AI198CLC-MIB', 'aiCLCAI2524Port')) if mibBuilder.loadTexts: aiCLCAI2524LinkTableEntry.setStatus('current') if mibBuilder.loadTexts: aiCLCAI2524LinkTableEntry.setDescription('Link information particular to AI2524 Router Cards.') ai_clcai2524_port = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 8, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCAI2524Port.setStatus('current') if mibBuilder.loadTexts: aiCLCAI2524Port.setDescription('The port number for the AI2524 Router Card. ') ai_clcai2524_link_status = mib_table_column((1, 3, 6, 1, 4, 1, 539, 9, 8, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('up', 1), ('down', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: aiCLCAI2524LinkStatus.setStatus('current') if mibBuilder.loadTexts: aiCLCAI2524LinkStatus.setDescription('The 10BT link status for the AI2524 Router Card.') mibBuilder.exportSymbols('AI198CLC-MIB', aiCLCActLogLvl=aiCLCActLogLvl, aiCLCRadiusPort2=aiCLCRadiusPort2, aiCLCCTCardType=aiCLCCTCardType, aiCLCCpu=aiCLCCpu, aiCLCLastTrapMsgText=aiCLCLastTrapMsgText, ai198Ver103=ai198Ver103, aiCLCCTIPAdrs=aiCLCCTIPAdrs, aiCLCAliasPosition=aiCLCAliasPosition, aiCLCDestTmrVal=aiCLCDestTmrVal, aiCLCAsyncTable=aiCLCAsyncTable, aii=aii, aiCLCRadiusAddr1=aiCLCRadiusAddr1, aiCLCEIADtrConn=aiCLCEIADtrConn, ai198Ver102=ai198Ver102, aiCLCSystem=aiCLCSystem, aiCLCNodeName=aiCLCNodeName, aiCLCCopyFlash=aiCLCCopyFlash, aiCLCBox3DensAdmin=aiCLCBox3DensAdmin, aiCLCPortEcho=aiCLCPortEcho, aiCLCLongBrkLen=aiCLCLongBrkLen, aiCLCCpuXacts=aiCLCCpuXacts, aiCLCDebugVal=aiCLCDebugVal, aiCLCCrashMsgText=aiCLCCrashMsgText, aiCLCAI2524Port=aiCLCAI2524Port, aiCLCCTBasePort=aiCLCCTBasePort, aiCLCPortType=aiCLCPortType, aiCLCDestRowStatus=aiCLCDestRowStatus, aiCLCTacacsSecret2=aiCLCTacacsSecret2, aiCLCSNTPPollInterval=aiCLCSNTPPollInterval, aiCLCAsyncAdminStatus=aiCLCAsyncAdminStatus, aiCLCEIADtrToggle=aiCLCEIADtrToggle, aiCLCXlatType=aiCLCXlatType, aiCLCTacacsAddr1=aiCLCTacacsAddr1, aiCLC=aiCLC, aiCLCTrapTableEntry=aiCLCTrapTableEntry, aiCLCDLAlias=aiCLCDLAlias, aiCLCIPAdrs=aiCLCIPAdrs, aiCLCBox7DensAdmin=aiCLCBox7DensAdmin, aiCLCSNTP=aiCLCSNTP, aiCLCTrapIPAdrs=aiCLCTrapIPAdrs, aiCLCCalledAdrs=aiCLCCalledAdrs, ai198Ver130=ai198Ver130, aiCLCCpyConfig=aiCLCCpyConfig, aiCLCFreeEE=aiCLCFreeEE, aiCLCBufAllocErr=aiCLCBufAllocErr, aiCLCCTAdminStatus=aiCLCCTAdminStatus, aiCLCAliasDestMenu=aiCLCAliasDestMenu, aiCLCDestQHigh=aiCLCDestQHigh, ai198Ver104=ai198Ver104, aiCLCSLCXacts=aiCLCSLCXacts, aiCLCCardTableEntry=aiCLCCardTableEntry, aiCLCQueuedPorts=aiCLCQueuedPorts, aiCLCMajorAlmMax=aiCLCMajorAlmMax, aiCLCDestDispMenu=aiCLCDestDispMenu, aiCLCPortReset=aiCLCPortReset, aiCLCBox1DensAdmin=aiCLCBox1DensAdmin, aiCLCAutoCLCUpdate=aiCLCAutoCLCUpdate, aiCLCAsyncPort=aiCLCAsyncPort, aiCLCPortStatus=aiCLCPortStatus, aiCLCPortDestName=aiCLCPortDestName, aiCLCAliasIndex=aiCLCAliasIndex, aiCLCTrapTimer=aiCLCTrapTimer, PYSNMP_MODULE_ID=aiCLC, aiCLCAsyncDiscType=aiCLCAsyncDiscType, aiCLCRadiusAddr2=aiCLCRadiusAddr2, aiCLCCTSysOID=aiCLCCTSysOID, aiCLCColdStartTrapDelay=aiCLCColdStartTrapDelay, aiCLCDestWaitForPort=aiCLCDestWaitForPort, aiCLCBox6DensAdmin=aiCLCBox6DensAdmin, aiCLCAIDPort=aiCLCAIDPort, aiCLCAliasTableEntry=aiCLCAliasTableEntry, aiCLCTacacsEnabled=aiCLCTacacsEnabled, ai198Ver1=ai198Ver1, aiCLCPortQueue=aiCLCPortQueue, aiCLCAIDSerialNumber=aiCLCAIDSerialNumber, aiCLCTrapRowStatus=aiCLCTrapRowStatus, aiCLCPortAlm=aiCLCPortAlm, aiCLCAliasRowStatus=aiCLCAliasRowStatus, aiCLCAutoIDTableEntry=aiCLCAutoIDTableEntry, ai198Ver120=ai198Ver120, aiCLCCTIndex=aiCLCCTIndex, aiCLCRadiusSecret1=aiCLCRadiusSecret1, aiCLCVersion=aiCLCVersion, aiCLCCTRtr2IPAdrs=aiCLCCTRtr2IPAdrs, aiCLCCardTable=aiCLCCardTable, aiCLCEIARtsDisc=aiCLCEIARtsDisc, ai198Ver13=ai198Ver13, aiCLCDownSpd=aiCLCDownSpd, aiCLCSLCProtocolCode=aiCLCSLCProtocolCode, aiCLCCallerProtoStr=aiCLCCallerProtoStr, aiCLCCTSubnetMask=aiCLCCTSubnetMask, ai198Ver12=ai198Ver12, aiCLCSubnetIPAdrs=aiCLCSubnetIPAdrs, aiCLCFaultSwitch=aiCLCFaultSwitch, aiCLCTacacsSecret1=aiCLCTacacsSecret1, aiCLCConnInfo=aiCLCConnInfo, aiCLCTacacsPort2=aiCLCTacacsPort2, aiCLCSNTPSecondaryServer=aiCLCSNTPSecondaryServer, aiCLCAliasDestName=aiCLCAliasDestName, aiCLCAutoIDTable=aiCLCAutoIDTable, aiCLCMajorAlmMin=aiCLCMajorAlmMin, aiCLCRadiusEnabled=aiCLCRadiusEnabled, aiCLCDestNumPorts=aiCLCDestNumPorts, aiCLCDestMenuFmt=aiCLCDestMenuFmt, aiCLCBuffers=aiCLCBuffers, aiCLCCallerAdrs=aiCLCCallerAdrs, aiCLCDestPortList=aiCLCDestPortList, aiCLCDestCallInit=aiCLCDestCallInit, aiCLCReadCommunity=aiCLCReadCommunity, ai198=ai198, aiCLCDestTmrDelay=aiCLCDestTmrDelay, aiCLCAIDMACAdrs=aiCLCAIDMACAdrs, aiCLCCTCardReset=aiCLCCTCardReset, aiCLCAlternRoute=aiCLCAlternRoute, aiCLCCaamlRetryTmr=aiCLCCaamlRetryTmr, aiCLCAIDIndex=aiCLCAIDIndex, aiCLCCTWrCommStr=aiCLCCTWrCommStr, aiCLCPortTable=aiCLCPortTable, aiCLCDestDiscMsg=aiCLCDestDiscMsg, aiCLCCTRealCardType=aiCLCCTRealCardType, aiCLCTacacsPort1=aiCLCTacacsPort1, aiCLCEIASignals=aiCLCEIASignals, aiCLCBanner=aiCLCBanner, aiCLCLogPortEnable=aiCLCLogPortEnable, aiCLCEIARtsConn=aiCLCEIARtsConn, aiCLCHoldConn=aiCLCHoldConn, aiCLCEECRC=aiCLCEECRC, aiCLCDestBaud=aiCLCDestBaud, aiCLCCaamlIdleTmr=aiCLCCaamlIdleTmr, aiCLCBox2DensAdmin=aiCLCBox2DensAdmin, aiCLCDLWinIn=aiCLCDLWinIn, aiCLCDLNoBody=aiCLCDLNoBody, aiCLCCTRtrIPAdrs=aiCLCCTRtrIPAdrs, aiCLCApplicString=aiCLCApplicString, aiCLCAIDManufDate=aiCLCAIDManufDate, aiCLCAI2524LinkTable=aiCLCAI2524LinkTable, aiCLCEIADtrDisc=aiCLCEIADtrDisc, aiCLCDLMsgAll=aiCLCDLMsgAll, aiCLCMinorAlmMin=aiCLCMinorAlmMin, aiCLCDLWinOut=aiCLCDLWinOut, aiCLCLastTrapMsgNum=aiCLCLastTrapMsgNum, aiCLCDestName=aiCLCDestName, aiCLCRadiusSecret2=aiCLCRadiusSecret2, aiCLCPortDestMenu=aiCLCPortDestMenu, aiCLCBox8DensAdmin=aiCLCBox8DensAdmin, aiCLCDestPswd=aiCLCDestPswd, aiCLCFreeBuffers=aiCLCFreeBuffers, aiCLCPortTableEntry=aiCLCPortTableEntry, aiCLCRouterIPAdrs=aiCLCRouterIPAdrs, aiCLCDestTableEntry=aiCLCDestTableEntry, aiCLCDestTmrType=aiCLCDestTmrType, aiCLCCaamlRoute=aiCLCCaamlRoute, aiCLCCraftLogEcho=aiCLCCraftLogEcho, aiCLCDLWinVerbose=aiCLCDLWinVerbose, aiCLCWriteCommunity=aiCLCWriteCommunity, aiCLCDaylightSavings=aiCLCDaylightSavings, aiCLCCTRdCommStr=aiCLCCTRdCommStr, aiCLCDestDisc=aiCLCDestDisc, aiCLCPortDesc=aiCLCPortDesc, aiCLCFtpCtrlPort=aiCLCFtpCtrlPort, aiCLCAlmLogPort=aiCLCAlmLogPort, aiCLCTimeDate=aiCLCTimeDate, aiCLCCTLastSequenceNumber=aiCLCCTLastSequenceNumber, aiCLCAIDProduct=aiCLCAIDProduct, aiCLCCTIPRange=aiCLCCTIPRange, aiCLCCTTelnetPort=aiCLCCTTelnetPort, aiCLCRstTimeDate=aiCLCRstTimeDate, aiCLCConnectionsPlaced=aiCLCConnectionsPlaced, aiCLCSNTPPrimaryServer=aiCLCSNTPPrimaryServer, aiCLCEIARtsToggle=aiCLCEIARtsToggle, aiCLCPortDedicated=aiCLCPortDedicated, aiCLCBox5DensAdmin=aiCLCBox5DensAdmin, aiCLCDestNumUsed=aiCLCDestNumUsed, aiCLCMinorAlmMax=aiCLCMinorAlmMax, aiCLCCallData=aiCLCCallData, aiCLCDestMenuMsg=aiCLCDestMenuMsg, aiCLCPortState=aiCLCPortState, aiCLCCopyFlashToSLC=aiCLCCopyFlashToSLC, aiCLCCalledProtoStr=aiCLCCalledProtoStr, aiCLCEEPromFaults=aiCLCEEPromFaults, aiCLCCTHighPort=aiCLCCTHighPort, aiCLCDLWinUni=aiCLCDLWinUni, aiCLCBox4DensAdmin=aiCLCBox4DensAdmin, aiCLCAI2524LinkTableEntry=aiCLCAI2524LinkTableEntry, aiCLCDestTable=aiCLCDestTable, aiCLCAsyncTableEntry=aiCLCAsyncTableEntry, aiCLCNumEventsSinceLastTrap=aiCLCNumEventsSinceLastTrap, aiCLCDestIsSwitch=aiCLCDestIsSwitch, aiCLCSwitchRestart=aiCLCSwitchRestart, aiCLCLinkNum=aiCLCLinkNum, aiCLCBackupCLCHealth=aiCLCBackupCLCHealth, aiCLCCTSlotExp=aiCLCCTSlotExp, aiCLCTacacsAddr2=aiCLCTacacsAddr2, ai198Ver10=ai198Ver10, aiCLCInitStrings=aiCLCInitStrings, aiCLCTrapInterval=aiCLCTrapInterval, aiCLCDestConnMsg=aiCLCDestConnMsg, aiCLCAliasTable=aiCLCAliasTable, aiCLCTxTail=aiCLCTxTail, aiCLCDestQPswd=aiCLCDestQPswd, aiCLCBackupCLC=aiCLCBackupCLC, aiCLCDestNumFree=aiCLCDestNumFree, aiCLCTelnetServerPort=aiCLCTelnetServerPort, aiCLCRadiusPort1=aiCLCRadiusPort1, aiCLCPortNumber=aiCLCPortNumber, aiSystemOID=aiSystemOID, aiCLCDestMenu=aiCLCDestMenu, aiCLCAsyncifIndex=aiCLCAsyncifIndex, aiCLCTrapTable=aiCLCTrapTable, aiCLCAlarmLvl=aiCLCAlarmLvl, aiCLCDestState=aiCLCDestState, aiCLCAsyncTrap=aiCLCAsyncTrap, aiCLCTimeZone=aiCLCTimeZone, aiCLCBufAlign=aiCLCBufAlign, aiCLCAI2524LinkStatus=aiCLCAI2524LinkStatus, aiCLCCTAutoIdIndex=aiCLCCTAutoIdIndex, aiCLCNumPorts=aiCLCNumPorts, aiCLCCTCardSnmpState=aiCLCCTCardSnmpState)
def lineplot(x_data, y_data, x_label="", y_label="", title=""): # Create the plot object _, ax = plt.subplots() # Plot the best fit line, set the linewidth (lw), color and # transparency (alpha) of the line ax.plot(x_data, y_data, lw = 2, color = '#539caf', alpha = 1) # Label the axes and provide a title ax.set_title(title) ax.set_xlabel(x_label) ax.set_ylabel(y_label)
def lineplot(x_data, y_data, x_label='', y_label='', title=''): (_, ax) = plt.subplots() ax.plot(x_data, y_data, lw=2, color='#539caf', alpha=1) ax.set_title(title) ax.set_xlabel(x_label) ax.set_ylabel(y_label)
# https://app.codesignal.com/arcade/intro/level-2/2mxbGwLzvkTCKAJMG def almostIncreasingSequence(sequence): out_of_place = 0 for i in range(len(sequence) - 1): if sequence[i] >= sequence[i + 1]: out_of_place += 1 if i+2 < len(sequence) and sequence[i] >= sequence[i + 2]: out_of_place += 1 return c < 3
def almost_increasing_sequence(sequence): out_of_place = 0 for i in range(len(sequence) - 1): if sequence[i] >= sequence[i + 1]: out_of_place += 1 if i + 2 < len(sequence) and sequence[i] >= sequence[i + 2]: out_of_place += 1 return c < 3
"""OAuth 2.0 WSGI server middleware providing MyProxy certificates as access tokens """ __author__ = "R B Wilkinson" __date__ = "12/12/11" __copyright__ = "(C) 2011 Science and Technology Facilities Council" __license__ = "BSD - see LICENSE file in top-level directory" __contact__ = "Philip.Kershaw@stfc.ac.uk" __revision__ = "$Id$" class AuthorizeRequest(object): """ OAuth 2.0 authorization request object """ def __init__(self, response_type, client_id, redirect_uri, scope, state): """ response_type REQUIRED. Value MUST be set to "code". client_id REQUIRED. The client identifier as described in Section 2.2. redirect_uri OPTIONAL, as described in Section 3.1.2. scope OPTIONAL. The scope of the access request as described by Section 3.3. state RECOMMENDED. An opaque value used by the client to maintain state between the request and callback. The authorization server includes this value when redirecting the user-agent back to the client. The parameter SHOULD be used for preventing cross-site request forgery as described in Section 10.12. """ self.response_type = response_type self.client_id = client_id self.redirect_uri = redirect_uri self.scope = scope self.state = state class AuthorizeResponse(object): """ OAuth 2.0 authorization response object """ def __init__(self, code, state): """ code REQUIRED. The authorization code generated by the authorization server. The authorization code MUST expire shortly after it is issued to mitigate the risk of leaks. A maximum authorization code lifetime of 10 minutes is RECOMMENDED. The client MUST NOT use the authorization code more than once. If an authorization code is used more than once, the authorization server MUST deny the request and SHOULD attempt to revoke all tokens previously issued based on that authorization code. The authorization code is bound to the client identifier and redirection URI. state REQUIRED if the "state" parameter was present in the client authorization request. The exact value received from the client. """ self.code = code self.state = state
"""OAuth 2.0 WSGI server middleware providing MyProxy certificates as access tokens """ __author__ = 'R B Wilkinson' __date__ = '12/12/11' __copyright__ = '(C) 2011 Science and Technology Facilities Council' __license__ = 'BSD - see LICENSE file in top-level directory' __contact__ = 'Philip.Kershaw@stfc.ac.uk' __revision__ = '$Id$' class Authorizerequest(object): """ OAuth 2.0 authorization request object """ def __init__(self, response_type, client_id, redirect_uri, scope, state): """ response_type REQUIRED. Value MUST be set to "code". client_id REQUIRED. The client identifier as described in Section 2.2. redirect_uri OPTIONAL, as described in Section 3.1.2. scope OPTIONAL. The scope of the access request as described by Section 3.3. state RECOMMENDED. An opaque value used by the client to maintain state between the request and callback. The authorization server includes this value when redirecting the user-agent back to the client. The parameter SHOULD be used for preventing cross-site request forgery as described in Section 10.12. """ self.response_type = response_type self.client_id = client_id self.redirect_uri = redirect_uri self.scope = scope self.state = state class Authorizeresponse(object): """ OAuth 2.0 authorization response object """ def __init__(self, code, state): """ code REQUIRED. The authorization code generated by the authorization server. The authorization code MUST expire shortly after it is issued to mitigate the risk of leaks. A maximum authorization code lifetime of 10 minutes is RECOMMENDED. The client MUST NOT use the authorization code more than once. If an authorization code is used more than once, the authorization server MUST deny the request and SHOULD attempt to revoke all tokens previously issued based on that authorization code. The authorization code is bound to the client identifier and redirection URI. state REQUIRED if the "state" parameter was present in the client authorization request. The exact value received from the client. """ self.code = code self.state = state
class ContentIsEmpty(Exception): def __str__(self) -> str: return "No string was passed for content. You must add a text content to a DiscordResponse" def __repr__(self) -> str: return "No string was passed for content. You must add a text content to a DiscordResponse" class InvalidDiscordResponse(Exception): pass class NoResolvedInteractions(Exception): pass
class Contentisempty(Exception): def __str__(self) -> str: return 'No string was passed for content. You must add a text content to a DiscordResponse' def __repr__(self) -> str: return 'No string was passed for content. You must add a text content to a DiscordResponse' class Invaliddiscordresponse(Exception): pass class Noresolvedinteractions(Exception): pass
'''bytes and bytearray both do not supports slicing and repitition''' # Convert a List to bytes lst = [1,2,3,234] # bytes cannot be more than '255' print(lst) print(type(lst)) b = bytes(lst) # Converting a List to create bytes print(b) # OutPut: b'\x01\x02\x03\xea' print(type(b)) # OutPut: <class 'bytes'> # Length of bytes print(len(b)) # Adding or modifying elements to a byte shows an error # b[3] = 22 # TypeError: 'bytes' object does not support item assignment # Convert a List to bytearray b1 = bytearray(lst) print(b1) # OutPut: bytearray(b'\x01\x02\x03\xea') print(type(b1)) # OutPut: <class 'bytearray'> # Adding or modifying elements is allowed in a bytearray b1[3]=22 print(b1) # Length of bytearray print(len(b1)) # b1[5] = 35 # Error: IndexError: bytearray index out of range # Similarly, # b1[8]=45 # This shows an error because we cannot add element at 8th index as bytearray is only of size 4
"""bytes and bytearray both do not supports slicing and repitition""" lst = [1, 2, 3, 234] print(lst) print(type(lst)) b = bytes(lst) print(b) print(type(b)) print(len(b)) b1 = bytearray(lst) print(b1) print(type(b1)) b1[3] = 22 print(b1) print(len(b1))
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None # Recursive approach using merge sort. Time O(nlogn). Space O(n) since it's recursive approach. To make it iterative, implement the merge sort iteratively class Solution(object): def sortList(self, head): """ :type head: ListNode :rtype: ListNode """ if not head or not head.next: return head fastNode, slowNode = head.next, head # divide the list into two parts by fast-slow pointer technique while fastNode and fastNode.next: fastNode = fastNode.next.next slowNode = slowNode.next secondHalf = slowNode.next slowNode.next = None # cut down the first part leftHalf = self.sortList(head) rightHalf = self.sortList(secondHalf) return self.mergeTwoLists(leftHalf, rightHalf) def mergeTwoLists(self, l1, l2): """ :type l1: ListNode :type l2: ListNode :rtype: ListNode """ if not l1 or not l2: return l1 if l1 else l2 p1, p2, p1Prev = l1, l2, None while p1 and p2: if p1.val < p2.val: p1Prev = p1 p1 = p1.next else: if p1Prev: p1Prev.next = p2 p1Prev = p2 p2 = p2.next p1Prev.next = p1 if not p1: p1Prev.next = p2 return l1 if l1.val < l2.val else l2
class Solution(object): def sort_list(self, head): """ :type head: ListNode :rtype: ListNode """ if not head or not head.next: return head (fast_node, slow_node) = (head.next, head) while fastNode and fastNode.next: fast_node = fastNode.next.next slow_node = slowNode.next second_half = slowNode.next slowNode.next = None left_half = self.sortList(head) right_half = self.sortList(secondHalf) return self.mergeTwoLists(leftHalf, rightHalf) def merge_two_lists(self, l1, l2): """ :type l1: ListNode :type l2: ListNode :rtype: ListNode """ if not l1 or not l2: return l1 if l1 else l2 (p1, p2, p1_prev) = (l1, l2, None) while p1 and p2: if p1.val < p2.val: p1_prev = p1 p1 = p1.next else: if p1Prev: p1Prev.next = p2 p1_prev = p2 p2 = p2.next p1Prev.next = p1 if not p1: p1Prev.next = p2 return l1 if l1.val < l2.val else l2
sampleDict = { "name": "Kelly", "age":25, "salary": 8000, "city": "New york" } sampleDict['location'] = sampleDict.pop('city') print(sampleDict)
sample_dict = {'name': 'Kelly', 'age': 25, 'salary': 8000, 'city': 'New york'} sampleDict['location'] = sampleDict.pop('city') print(sampleDict)
class Solution: def isIsomorphic(self, s: str, t: str) -> bool: x, y = [], [] for i in s: x.append(s.index(i)) for i in t: y.append(t.index(i)) if x == y: return True return False
class Solution: def is_isomorphic(self, s: str, t: str) -> bool: (x, y) = ([], []) for i in s: x.append(s.index(i)) for i in t: y.append(t.index(i)) if x == y: return True return False
def is_paired(input_string): stack = [] for char in input_string: if char in "{([": stack += [char] elif(char == "}"): if (stack[-1:] == ["{"]): stack.pop() else: return False elif(char == ")"): if (stack[-1:] == ["("]): stack.pop() else: return False elif(char == "]"): if (stack[-1:] == ["["]): stack.pop() else: return False if len(stack) < 1: return True return False
def is_paired(input_string): stack = [] for char in input_string: if char in '{([': stack += [char] elif char == '}': if stack[-1:] == ['{']: stack.pop() else: return False elif char == ')': if stack[-1:] == ['(']: stack.pop() else: return False elif char == ']': if stack[-1:] == ['[']: stack.pop() else: return False if len(stack) < 1: return True return False
def test_top_tv_should_contain_100_entries(ia): chart = ia.get_top250_tv() assert len(chart) == 250 def test_top_tv_entries_should_have_rank(ia): movies = ia.get_top250_tv() for rank, movie in enumerate(movies): assert movie['top tv 250 rank'] == rank + 1 def test_top_tv_entries_should_have_movie_id(ia): movies = ia.get_top250_tv() for movie in movies: assert movie.movieID.isdigit() def test_top_tv_entries_should_have_title(ia): movies = ia.get_top250_tv() for movie in movies: assert 'title' in movie def test_top_tv_entries_should_be_movies(ia): movies = ia.get_top250_tv() for movie in movies: assert movie['kind'] == 'movie' def test_top_tv_entries_should_have_year(ia): movies = ia.get_top250_tv() for movie in movies: assert isinstance(movie['year'], int) def test_top_tv_entries_should_have_high_ratings(ia): movies = ia.get_top250_tv() for movie in movies: assert movie['rating'] > 8.0 def test_top_tv_entries_should_have_minimal_number_of_votes(ia): movies = ia.get_top250_tv() for movie in movies: assert movie['votes'] >= 1500 # limit stated by IMDb
def test_top_tv_should_contain_100_entries(ia): chart = ia.get_top250_tv() assert len(chart) == 250 def test_top_tv_entries_should_have_rank(ia): movies = ia.get_top250_tv() for (rank, movie) in enumerate(movies): assert movie['top tv 250 rank'] == rank + 1 def test_top_tv_entries_should_have_movie_id(ia): movies = ia.get_top250_tv() for movie in movies: assert movie.movieID.isdigit() def test_top_tv_entries_should_have_title(ia): movies = ia.get_top250_tv() for movie in movies: assert 'title' in movie def test_top_tv_entries_should_be_movies(ia): movies = ia.get_top250_tv() for movie in movies: assert movie['kind'] == 'movie' def test_top_tv_entries_should_have_year(ia): movies = ia.get_top250_tv() for movie in movies: assert isinstance(movie['year'], int) def test_top_tv_entries_should_have_high_ratings(ia): movies = ia.get_top250_tv() for movie in movies: assert movie['rating'] > 8.0 def test_top_tv_entries_should_have_minimal_number_of_votes(ia): movies = ia.get_top250_tv() for movie in movies: assert movie['votes'] >= 1500
# https://www.hearthpwn.com/news/8230-mysteries-of-the-phoenix-druid-and-hunter-puzzles # Baloon_Merchant 0 # Armor_Vender 1 # Barrens_Blacksmith 2 # Darkshire_Alchemist 3 # Shady_dealer 4 # Master_Swordsmith 5 # Drakkari_Enchanter 6 # dalaran_mage 7 # bloodsail_corsair 8 # violet_apprentice 9 # silver_hand_knight 10 # darnassus_aspirant 11 # windspeaker 12 # defender_of_argus 13 goods_action_list = [(0, 5), (0, 1), (6, 3), (2, 0), (12, 10), (0, 5), (0, 1), (6, 3), (2, 9), (0, 5)] action_list = [5, 1, 3, 0, 10, 5, 1, 3, 9, 5, 3, 2, 8, 11, 1, 6, 13, 1, 3, 12, 6, 8, 1, 6, 1, 4, 11, 4, 3, 2, 1, 13, 3, 11, 3, 5, 5, 1, 10, 2, 5, 7, 2, 5, 8, 1, 3, 13, 1, 3, 6, 10, 0, 1, 12, 5, 0, 4, 7, 0, 1, 3, 11, 5, 3, 2, 9, 0, 1, 3, 5, 12, 5, 3, 2, 0, 13, 6, 3, 8, 0, 1, 4, 7, 5, 6, 11, 5, 0, 4, 9, 4, 7, 1, 6, 1, 10, 3, 5, 8, 0, 1, 3, 12, 3, 10, 5, 3, 2, 0, 9, 5, 12, 2, 7, 2, 4, 9, 0, 13]
goods_action_list = [(0, 5), (0, 1), (6, 3), (2, 0), (12, 10), (0, 5), (0, 1), (6, 3), (2, 9), (0, 5)] action_list = [5, 1, 3, 0, 10, 5, 1, 3, 9, 5, 3, 2, 8, 11, 1, 6, 13, 1, 3, 12, 6, 8, 1, 6, 1, 4, 11, 4, 3, 2, 1, 13, 3, 11, 3, 5, 5, 1, 10, 2, 5, 7, 2, 5, 8, 1, 3, 13, 1, 3, 6, 10, 0, 1, 12, 5, 0, 4, 7, 0, 1, 3, 11, 5, 3, 2, 9, 0, 1, 3, 5, 12, 5, 3, 2, 0, 13, 6, 3, 8, 0, 1, 4, 7, 5, 6, 11, 5, 0, 4, 9, 4, 7, 1, 6, 1, 10, 3, 5, 8, 0, 1, 3, 12, 3, 10, 5, 3, 2, 0, 9, 5, 12, 2, 7, 2, 4, 9, 0, 13]
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. DETECT_SYSTEM3_RESULT = [('system', 'product', 'serial', 'Empty'), ('system', 'product', 'name', 'S2915'), ('system', 'product', 'vendor', 'Tyan Computer Corporation'), ('system', 'product', 'version', 'REFERENCE'), ('system', 'product', 'uuid', '83462C81-52BA-11CB-870F'), ('system', 'motherboard', 'name', 'S2915'), ('system', 'motherboard', 'vendor', 'Tyan Computer Corporation'), ('system', 'motherboard', 'version', 'REFERENCE'), ('system', 'motherboard', 'serial', 'Empty'), ('firmware', 'bios', 'version', 'v3.00.2915 (10/10/2008)'), ('firmware', 'bios', 'vendor', 'Phoenix Technologies Ltd.'), ('memory', 'total', 'size', '4294967296'), ('memory', 'bank:0:0', 'description', 'DIMM Synchronous [empty]'), ('memory', 'bank:0:0', 'slot', 'C0_DIMM0'), ('memory', 'bank:0:1', 'description', 'DIMM Synchronous [empty]'), ('memory', 'bank:0:1', 'slot', 'C0_DIMM1'), ('memory', 'bank:0:2', 'size', '1073741824'), ('memory', 'bank:0:2', 'description', 'DIMM Synchronous'), ('memory', 'bank:0:2', 'slot', 'C0_DIMM2'), ('memory', 'bank:0:3', 'size', '1073741824'), ('memory', 'bank:0:3', 'description', 'DIMM Synchronous'), ('memory', 'bank:0:3', 'slot', 'C0_DIMM3'), ('memory', 'bank:0:4', 'description', 'DIMM Synchronous [empty]'), ('memory', 'bank:0:4', 'slot', 'C0_DIMM0'), ('memory', 'bank:0:5', 'description', 'DIMM Synchronous [empty]'), ('memory', 'bank:0:5', 'slot', 'C1_DIMM1'), ('memory', 'bank:0:6', 'size', '1073741824'), ('memory', 'bank:0:6', 'description', 'DIMM Synchronous'), ('memory', 'bank:0:6', 'slot', 'C1_DIMM2'), ('memory', 'bank:0:7', 'size', '1073741824'), ('memory', 'bank:0:7', 'description', 'DIMM Synchronous'), ('memory', 'bank:0:7', 'slot', 'C1_DIMM3'), ('memory', 'banks', 'count', '8'), ('system', 'os', 'vendor', 'Ubuntu'), ('system', 'os', 'version', 'Ubuntu 14.04 LTS'), ('system', 'kernel', 'version', '3.13.0-24-generic'), ('system', 'kernel', 'arch', 'x86_64'), ('system', 'kernel', 'cmdline', 'BOOT_IMAGE=/boot/vmlinuz')] DETECT_SYSTEM2_RESULT = [('system', 'product', 'serial', 'PB4F20N'), ('system', 'product', 'name', '2347GF8 (LENOVO_MT_2347)'), ('system', 'product', 'vendor', 'LENOVO'), ('system', 'product', 'version', 'ThinkPad T430'), ('system', 'product', 'uuid', '83462C81-52BA-11CB-870F'), ('system', 'motherboard', 'name', '2347GF8'), ('system', 'motherboard', 'vendor', 'LENOVO'), ('system', 'motherboard', 'version', 'Not Defined'), ('system', 'motherboard', 'serial', '1ZLMB31B1G6'), ('firmware', 'bios', 'version', 'G1ET73WW (2.09 )'), ('firmware', 'bios', 'date', '10/19/2012'), ('firmware', 'bios', 'vendor', 'LENOVO'), ('memory', 'total', 'size', '8589934592'), ('memory', 'bank:0', 'size', '4294967296'), ('memory', 'bank:0', 'clock', '1600000000'), ('memory', 'bank:0', 'description', 'SODIMM DDR3 Synchrone 1600 MHz (0,6 ns)'), ('memory', 'bank:0', 'vendor', 'Samsung'), ('memory', 'bank:0', 'product', 'M471B5273CH0-CK0'), ('memory', 'bank:0', 'serial', '1222BCCE'), ('memory', 'bank:0', 'slot', 'ChannelA-DIMM0'), ('memory', 'bank:1', 'size', '4294967296'), ('memory', 'bank:1', 'clock', '1600000000'), ('memory', 'bank:1', 'description', 'SODIMM DDR3 Synchrone 1600 MHz (0,6 ns)'), ('memory', 'bank:1', 'vendor', 'Samsung'), ('memory', 'bank:1', 'product', 'M471B5273CH0-CK0'), ('memory', 'bank:1', 'serial', '1222BCA2'), ('memory', 'bank:1', 'slot', 'ChannelB-DIMM0'), ('memory', 'banks', 'count', '2'), ('network', 'eth0', 'businfo', 'pci@0000:00:19.0'), ('network', 'eth0', 'vendor', 'Intel Corporation'), ('network', 'eth0', 'product', '82579LM Gigabit Network Connection'), ('network', 'eth0', 'firmware', '0.13-3'), ('network', 'eth0', 'link', 'no'), ('network', 'eth0', 'driver', 'e1000e'), ('network', 'eth0', 'latency', '0'), ('network', 'eth0', 'autonegotiation', 'on'), ('network', 'eth0', 'serial', '00:21:cc:d9:bf:26'), ('network', 'wlan0', 'businfo', 'pci@0000:03:00.0'), ('network', 'wlan0', 'vendor', 'Intel Corporation'), ('network', 'wlan0', 'product', 'Centrino Advanced-N 6205 [Taylor Peak]'), ('network', 'wlan0', 'firmware', '18.168.6.1'), ('network', 'wlan0', 'ipv4', '192.168.1.185'), ('network', 'wlan0', 'ipv4-netmask', '255.255.255.0'), ('network', 'wlan0', 'ipv4-cidr', '24'), ('network', 'wlan0', 'ipv4-network', '192.168.1.0'), ('network', 'wlan0', 'link', 'yes'), ('network', 'wlan0', 'driver', 'iwlwifi'), ('network', 'wlan0', 'latency', '0'), ('network', 'wlan0', 'serial', '84:3a:4b:33:62:82'), ('network', 'wwan0', 'firmware', 'Mobile Broadband Network Device'), ('network', 'wwan0', 'link', 'no'), ('network', 'wwan0', 'driver', 'cdc_ncm'), ('network', 'wwan0', 'serial', '02:15:e0:ec:01:00'), ('system', 'os', 'vendor', 'Ubuntu'), ('system', 'os', 'version', 'Ubuntu 14.04 LTS'), ('system', 'kernel', 'version', '3.13.0-24-generic'), ('system', 'kernel', 'arch', 'x86_64'), ('system', 'kernel', 'cmdline', 'BOOT_IMAGE=/boot/vmlinuz')] DETECT_SYSTEM_RESULT = [('system', 'product', 'serial', 'C02JR02WF57J'), ('system', 'product', 'name', 'MacBookAir5,2 (System SKU#)'), ('system', 'product', 'vendor', 'Apple Inc.'), ('system', 'product', 'version', '1.0'), ('system', 'product', 'uuid', '83462C81-52BA-11CB-870F'), ('system', 'motherboard', 'name', 'Mac-2E6FAB96566FE58C'), ('system', 'motherboard', 'vendor', 'Apple Inc.'), ('system', 'motherboard', 'version', 'MacBookAir5,2'), ('system', 'motherboard', 'serial', 'C02245301ZFF25WAT'), ('firmware', 'bios', 'version', 'MBA51.88Z.00EF.B01.1207271122'), ('firmware', 'bios', 'date', '07/27/2012'), ('firmware', 'bios', 'vendor', 'Apple Inc.'), ('memory', 'total', 'size', '8589934592'), ('memory', 'bank:0', 'size', '4294967296'), ('memory', 'bank:0', 'clock', '1600000000'), ('memory', 'bank:0', 'description', 'SODIMM DDR3 Synchronous 1600 MHz (0,6 ns)'), ('memory', 'bank:0', 'vendor', 'Hynix Semiconductor (Hyundai Electronics)'), ('memory', 'bank:0', 'product', 'HMT451S6MFR8A-PB'), ('memory', 'bank:0', 'serial', '0x00000000'), ('memory', 'bank:0', 'slot', 'DIMM0'), ('memory', 'bank:1', 'size', '4294967296'), ('memory', 'bank:1', 'clock', '1600000000'), ('memory', 'bank:1', 'description', 'SODIMM DDR3 Synchronous 1600 MHz (0,6 ns)'), ('memory', 'bank:1', 'vendor', 'Hynix Semiconductor (Hyundai Electronics)'), ('memory', 'bank:1', 'product', 'HMT451S6MFR8A-PB'), ('memory', 'bank:1', 'serial', '0x00000000'), ('memory', 'bank:1', 'slot', 'DIMM0'), ('memory', 'banks', 'count', '2'), ('network', 'vnet0', 'size', '10000000'), ('network', 'vnet0', 'link', 'yes'), ('network', 'vnet0', 'driver', 'tun'), ('network', 'vnet0', 'duplex', 'full'), ('network', 'vnet0', 'speed', '10Mbit/s'), ('network', 'vnet0', 'autonegotiation', 'off'), ('network', 'vnet0', 'serial', 'fe:54:00:c1:1a:f7'), ('network', 'tap0', 'size', '10000000'), ('network', 'tap0', 'ipv4', '10.152.18.103'), ('network', 'tap0', 'ipv4-netmask', '255.255.255.0'), ('network', 'tap0', 'ipv4-cidr', '24'), ('network', 'tap0', 'ipv4-network', '10.152.18.0'), ('network', 'tap0', 'link', 'yes'), ('network', 'tap0', 'driver', 'tun'), ('network', 'tap0', 'duplex', 'full'), ('network', 'tap0', 'speed', '10Mbit/s'), ('network', 'tap0', 'autonegotiation', 'off'), ('network', 'tap0', 'serial', 'e2:66:69:22:be:fb'), ('network', 'wlan0', 'firmware', 'N/A'), ('network', 'wlan0', 'ipv4', '192.168.12.13'), ('network', 'wlan0', 'ipv4-netmask', '255.255.255.0'), ('network', 'wlan0', 'ipv4-cidr', '24'), ('network', 'wlan0', 'ipv4-network', '192.168.12.0'), ('network', 'wlan0', 'link', 'yes'), ('network', 'wlan0', 'driver', 'brcmsmac'), ('network', 'wlan0', 'serial', '00:88:65:35:2b:50'), ('system', 'os', 'vendor', 'Ubuntu'), ('system', 'os', 'version', 'Ubuntu 14.04 LTS'), ('system', 'kernel', 'version', '3.13.0-24-generic'), ('system', 'kernel', 'arch', 'x86_64'), ('system', 'kernel', 'cmdline', 'BOOT_IMAGE=/boot/vmlinuz')]
detect_system3_result = [('system', 'product', 'serial', 'Empty'), ('system', 'product', 'name', 'S2915'), ('system', 'product', 'vendor', 'Tyan Computer Corporation'), ('system', 'product', 'version', 'REFERENCE'), ('system', 'product', 'uuid', '83462C81-52BA-11CB-870F'), ('system', 'motherboard', 'name', 'S2915'), ('system', 'motherboard', 'vendor', 'Tyan Computer Corporation'), ('system', 'motherboard', 'version', 'REFERENCE'), ('system', 'motherboard', 'serial', 'Empty'), ('firmware', 'bios', 'version', 'v3.00.2915 (10/10/2008)'), ('firmware', 'bios', 'vendor', 'Phoenix Technologies Ltd.'), ('memory', 'total', 'size', '4294967296'), ('memory', 'bank:0:0', 'description', 'DIMM Synchronous [empty]'), ('memory', 'bank:0:0', 'slot', 'C0_DIMM0'), ('memory', 'bank:0:1', 'description', 'DIMM Synchronous [empty]'), ('memory', 'bank:0:1', 'slot', 'C0_DIMM1'), ('memory', 'bank:0:2', 'size', '1073741824'), ('memory', 'bank:0:2', 'description', 'DIMM Synchronous'), ('memory', 'bank:0:2', 'slot', 'C0_DIMM2'), ('memory', 'bank:0:3', 'size', '1073741824'), ('memory', 'bank:0:3', 'description', 'DIMM Synchronous'), ('memory', 'bank:0:3', 'slot', 'C0_DIMM3'), ('memory', 'bank:0:4', 'description', 'DIMM Synchronous [empty]'), ('memory', 'bank:0:4', 'slot', 'C0_DIMM0'), ('memory', 'bank:0:5', 'description', 'DIMM Synchronous [empty]'), ('memory', 'bank:0:5', 'slot', 'C1_DIMM1'), ('memory', 'bank:0:6', 'size', '1073741824'), ('memory', 'bank:0:6', 'description', 'DIMM Synchronous'), ('memory', 'bank:0:6', 'slot', 'C1_DIMM2'), ('memory', 'bank:0:7', 'size', '1073741824'), ('memory', 'bank:0:7', 'description', 'DIMM Synchronous'), ('memory', 'bank:0:7', 'slot', 'C1_DIMM3'), ('memory', 'banks', 'count', '8'), ('system', 'os', 'vendor', 'Ubuntu'), ('system', 'os', 'version', 'Ubuntu 14.04 LTS'), ('system', 'kernel', 'version', '3.13.0-24-generic'), ('system', 'kernel', 'arch', 'x86_64'), ('system', 'kernel', 'cmdline', 'BOOT_IMAGE=/boot/vmlinuz')] detect_system2_result = [('system', 'product', 'serial', 'PB4F20N'), ('system', 'product', 'name', '2347GF8 (LENOVO_MT_2347)'), ('system', 'product', 'vendor', 'LENOVO'), ('system', 'product', 'version', 'ThinkPad T430'), ('system', 'product', 'uuid', '83462C81-52BA-11CB-870F'), ('system', 'motherboard', 'name', '2347GF8'), ('system', 'motherboard', 'vendor', 'LENOVO'), ('system', 'motherboard', 'version', 'Not Defined'), ('system', 'motherboard', 'serial', '1ZLMB31B1G6'), ('firmware', 'bios', 'version', 'G1ET73WW (2.09 )'), ('firmware', 'bios', 'date', '10/19/2012'), ('firmware', 'bios', 'vendor', 'LENOVO'), ('memory', 'total', 'size', '8589934592'), ('memory', 'bank:0', 'size', '4294967296'), ('memory', 'bank:0', 'clock', '1600000000'), ('memory', 'bank:0', 'description', 'SODIMM DDR3 Synchrone 1600 MHz (0,6 ns)'), ('memory', 'bank:0', 'vendor', 'Samsung'), ('memory', 'bank:0', 'product', 'M471B5273CH0-CK0'), ('memory', 'bank:0', 'serial', '1222BCCE'), ('memory', 'bank:0', 'slot', 'ChannelA-DIMM0'), ('memory', 'bank:1', 'size', '4294967296'), ('memory', 'bank:1', 'clock', '1600000000'), ('memory', 'bank:1', 'description', 'SODIMM DDR3 Synchrone 1600 MHz (0,6 ns)'), ('memory', 'bank:1', 'vendor', 'Samsung'), ('memory', 'bank:1', 'product', 'M471B5273CH0-CK0'), ('memory', 'bank:1', 'serial', '1222BCA2'), ('memory', 'bank:1', 'slot', 'ChannelB-DIMM0'), ('memory', 'banks', 'count', '2'), ('network', 'eth0', 'businfo', 'pci@0000:00:19.0'), ('network', 'eth0', 'vendor', 'Intel Corporation'), ('network', 'eth0', 'product', '82579LM Gigabit Network Connection'), ('network', 'eth0', 'firmware', '0.13-3'), ('network', 'eth0', 'link', 'no'), ('network', 'eth0', 'driver', 'e1000e'), ('network', 'eth0', 'latency', '0'), ('network', 'eth0', 'autonegotiation', 'on'), ('network', 'eth0', 'serial', '00:21:cc:d9:bf:26'), ('network', 'wlan0', 'businfo', 'pci@0000:03:00.0'), ('network', 'wlan0', 'vendor', 'Intel Corporation'), ('network', 'wlan0', 'product', 'Centrino Advanced-N 6205 [Taylor Peak]'), ('network', 'wlan0', 'firmware', '18.168.6.1'), ('network', 'wlan0', 'ipv4', '192.168.1.185'), ('network', 'wlan0', 'ipv4-netmask', '255.255.255.0'), ('network', 'wlan0', 'ipv4-cidr', '24'), ('network', 'wlan0', 'ipv4-network', '192.168.1.0'), ('network', 'wlan0', 'link', 'yes'), ('network', 'wlan0', 'driver', 'iwlwifi'), ('network', 'wlan0', 'latency', '0'), ('network', 'wlan0', 'serial', '84:3a:4b:33:62:82'), ('network', 'wwan0', 'firmware', 'Mobile Broadband Network Device'), ('network', 'wwan0', 'link', 'no'), ('network', 'wwan0', 'driver', 'cdc_ncm'), ('network', 'wwan0', 'serial', '02:15:e0:ec:01:00'), ('system', 'os', 'vendor', 'Ubuntu'), ('system', 'os', 'version', 'Ubuntu 14.04 LTS'), ('system', 'kernel', 'version', '3.13.0-24-generic'), ('system', 'kernel', 'arch', 'x86_64'), ('system', 'kernel', 'cmdline', 'BOOT_IMAGE=/boot/vmlinuz')] detect_system_result = [('system', 'product', 'serial', 'C02JR02WF57J'), ('system', 'product', 'name', 'MacBookAir5,2 (System SKU#)'), ('system', 'product', 'vendor', 'Apple Inc.'), ('system', 'product', 'version', '1.0'), ('system', 'product', 'uuid', '83462C81-52BA-11CB-870F'), ('system', 'motherboard', 'name', 'Mac-2E6FAB96566FE58C'), ('system', 'motherboard', 'vendor', 'Apple Inc.'), ('system', 'motherboard', 'version', 'MacBookAir5,2'), ('system', 'motherboard', 'serial', 'C02245301ZFF25WAT'), ('firmware', 'bios', 'version', 'MBA51.88Z.00EF.B01.1207271122'), ('firmware', 'bios', 'date', '07/27/2012'), ('firmware', 'bios', 'vendor', 'Apple Inc.'), ('memory', 'total', 'size', '8589934592'), ('memory', 'bank:0', 'size', '4294967296'), ('memory', 'bank:0', 'clock', '1600000000'), ('memory', 'bank:0', 'description', 'SODIMM DDR3 Synchronous 1600 MHz (0,6 ns)'), ('memory', 'bank:0', 'vendor', 'Hynix Semiconductor (Hyundai Electronics)'), ('memory', 'bank:0', 'product', 'HMT451S6MFR8A-PB'), ('memory', 'bank:0', 'serial', '0x00000000'), ('memory', 'bank:0', 'slot', 'DIMM0'), ('memory', 'bank:1', 'size', '4294967296'), ('memory', 'bank:1', 'clock', '1600000000'), ('memory', 'bank:1', 'description', 'SODIMM DDR3 Synchronous 1600 MHz (0,6 ns)'), ('memory', 'bank:1', 'vendor', 'Hynix Semiconductor (Hyundai Electronics)'), ('memory', 'bank:1', 'product', 'HMT451S6MFR8A-PB'), ('memory', 'bank:1', 'serial', '0x00000000'), ('memory', 'bank:1', 'slot', 'DIMM0'), ('memory', 'banks', 'count', '2'), ('network', 'vnet0', 'size', '10000000'), ('network', 'vnet0', 'link', 'yes'), ('network', 'vnet0', 'driver', 'tun'), ('network', 'vnet0', 'duplex', 'full'), ('network', 'vnet0', 'speed', '10Mbit/s'), ('network', 'vnet0', 'autonegotiation', 'off'), ('network', 'vnet0', 'serial', 'fe:54:00:c1:1a:f7'), ('network', 'tap0', 'size', '10000000'), ('network', 'tap0', 'ipv4', '10.152.18.103'), ('network', 'tap0', 'ipv4-netmask', '255.255.255.0'), ('network', 'tap0', 'ipv4-cidr', '24'), ('network', 'tap0', 'ipv4-network', '10.152.18.0'), ('network', 'tap0', 'link', 'yes'), ('network', 'tap0', 'driver', 'tun'), ('network', 'tap0', 'duplex', 'full'), ('network', 'tap0', 'speed', '10Mbit/s'), ('network', 'tap0', 'autonegotiation', 'off'), ('network', 'tap0', 'serial', 'e2:66:69:22:be:fb'), ('network', 'wlan0', 'firmware', 'N/A'), ('network', 'wlan0', 'ipv4', '192.168.12.13'), ('network', 'wlan0', 'ipv4-netmask', '255.255.255.0'), ('network', 'wlan0', 'ipv4-cidr', '24'), ('network', 'wlan0', 'ipv4-network', '192.168.12.0'), ('network', 'wlan0', 'link', 'yes'), ('network', 'wlan0', 'driver', 'brcmsmac'), ('network', 'wlan0', 'serial', '00:88:65:35:2b:50'), ('system', 'os', 'vendor', 'Ubuntu'), ('system', 'os', 'version', 'Ubuntu 14.04 LTS'), ('system', 'kernel', 'version', '3.13.0-24-generic'), ('system', 'kernel', 'arch', 'x86_64'), ('system', 'kernel', 'cmdline', 'BOOT_IMAGE=/boot/vmlinuz')]
case_1 = """somevar = 4 anotherVar = 5 def function(a, b): some function some very small function which will be considered good; function(4, 5)""" case_2 = """somevar = 4 anotherVar = 5 def function(a, b): return good; function(4, 5)""" case_3 = """myVar = 4 def iterate(size, n): sum = 0 for i in range(n): sum += size[i] return sum n = 5 size = [1, 2] for i in range(n): sum += size[i] iterate([1,2], myVar) myVar = 4""" case_4 = \ """ # My comment def arth(): ''' This is a helpful comment helping everything ''' print("This is a good function) # One more helpful statement arth() """
case_1 = 'somevar = 4\n anotherVar = 5\n def function(a, b):\n some function\n some very small function\n which will\n be considered good;\n function(4, 5)' case_2 = 'somevar = 4\n anotherVar = 5\n def function(a, b):\n return good;\n function(4, 5)' case_3 = 'myVar = 4\n def iterate(size, n):\n sum = 0\n for i in range(n):\n sum += size[i]\n return sum\n n = 5\n size = [1, 2]\n for i in range(n):\n sum += size[i]\n iterate([1,2], myVar)\n myVar = 4' case_4 = '\n# My comment\ndef arth():\n \'\'\'\n This is a helpful comment\n helping everything\n \'\'\'\n print("This is a good function)\n # One more helpful statement\n arth()\n'
class Solution: def largestPerimeter(self, A: List[int]) -> int: perimeter = 0 A.sort(reverse=True) for k in range(len(A)-2): if self.fun(A[k], A[k+1], A[k+2]): perimeter = max(perimeter, A[k] + A[k+1] + A[k+2]) return perimeter return perimeter def fun(self, a, b, c): # if a+b>c and a+c>b and b+c>a: if b+c>a: return True else: return False
class Solution: def largest_perimeter(self, A: List[int]) -> int: perimeter = 0 A.sort(reverse=True) for k in range(len(A) - 2): if self.fun(A[k], A[k + 1], A[k + 2]): perimeter = max(perimeter, A[k] + A[k + 1] + A[k + 2]) return perimeter return perimeter def fun(self, a, b, c): if b + c > a: return True else: return False
''' It is important to have some understanding of what commonly-used functions are doing under the hood. Though you may already know how to compute variances, this is a beginner course that does not assume so. In this exercise, we will explicitly compute the variance of the petal length of Iris veriscolor using the equations discussed in the videos. We will then use np.var() to compute it. ''' # Array of differences to mean: differences differences = versicolor_petal_length - np.mean(versicolor_petal_length) # Square the differences: diff_sq diff_sq = differences ** 2 # Compute the mean square difference: variance_explicit variance_explicit = np.mean(diff_sq) # Compute the variance using NumPy: variance_np variance_np = np.var(versicolor_petal_length) # Print the results print(variance_explicit, variance_np)
""" It is important to have some understanding of what commonly-used functions are doing under the hood. Though you may already know how to compute variances, this is a beginner course that does not assume so. In this exercise, we will explicitly compute the variance of the petal length of Iris veriscolor using the equations discussed in the videos. We will then use np.var() to compute it. """ differences = versicolor_petal_length - np.mean(versicolor_petal_length) diff_sq = differences ** 2 variance_explicit = np.mean(diff_sq) variance_np = np.var(versicolor_petal_length) print(variance_explicit, variance_np)
class Singleton: ans = None @staticmethod def instance(): if '_instance' not in Singleton.__dict__: Singleton._instance = Singleton() return Singleton._instance s1 = Singleton.instance() s2 = Singleton.instance() s1.ans = 10 assert s1 is s2 assert s1.ans == s2.ans print("Test Passed")
class Singleton: ans = None @staticmethod def instance(): if '_instance' not in Singleton.__dict__: Singleton._instance = singleton() return Singleton._instance s1 = Singleton.instance() s2 = Singleton.instance() s1.ans = 10 assert s1 is s2 assert s1.ans == s2.ans print('Test Passed')
""" Created on Fri Nov 12 12:28:01 2021 @author: DW """ class ORR_Tafel: """Class for calculating Tafel plots of the ORR scans""" def __init__(): pass def export( ORR_dest_dir, rTFxy, i, TFll, dest_file, TFfit, ): # noqa : F821 TafelDir = ORR_dest_dir.joinpath("TAFEL") TafelDir.mkdir(parents=True, exist_ok=True) rTFxy.plot( x=EvRHE, y=["log10_Jkin_min", TFll], title="Tafel_%.3f" % TFfit[0] * -1000 ) plt.savefig(TafelDir.joinpath("%s_" % i + dest_file + ".png")) # plt.show() plt.close() TF_out_base = TafelDir.joinpath(dest_file + ".xlsx") # TF_out = ileOperations.CompareHashDFexport(TFxy, TF_out_base) rTFxy.to_excel(TF_out_base) # index_info_ORR_TAFEL = { # "PAR_file": PAR_file, # "DestFile": TF_out, # "Type_output": "ORR_Jkin_calc_Tafel", # "Type_exp": "ORR", # } def calculations(O2_join): sweep_col = [ i for i in O2_join.columns if "SWEEP" in i.upper() and not "RING" in i.upper() ] EvRHE = [ i for i in O2_join.columns if "E_APPV_RHE" in i.upper() and not "RING" in i.upper() ][0] ### === TAFEL EQUATION AND PLOTTING ### # TFxy = O2_join.loc[(E_half[EvRHE].mean()-0.20 < O2_join[EvRHE]) & (O2_join[EvRHE] < E_half[EvRHE].mean()+0.30) & (O2_join['Sweep_Type'] == 'cathodic')] TFxy = O2_join.loc[ (0.55 < O2_join[EvRHE]) & (O2_join[EvRHE] < 0.81) & (O2_join["Jkin_min"] > 0) ] # [EvRHE, 'Jkin_min', 'Jkin_max', 'Jcorr'] # TFxy.plot(x=EvRHE,y='Jkin_min',xlim=(0.55,0.8),logy=True) # 'log10_Jkin_max' : np.log10(TFxy['Jkin_max']) Tafel_ovv, TFlst = pd.DataFrame([]), [] TafelDir = [] try: TFxy = TFxy[[EvRHE, "Jkin_min", "Jkin_max", "Jcorr"]].assign( **{ "log10_Jkin_min": np.log10(TFxy["Jkin_min"]), "E_overp": 1.23 - TFxy[EvRHE], } ) TFxy["log10_Jkin_min"].dropna(inplace=True) TFxy["log_Jkinm_2ndDiff"] = TFxy["Jkin_min"].diff().diff().values # F,D,nu,C,A,Rc,Trt = 96485, 1.5E-05, 0.010, 1.1E-06,SA_disk,8.314,298 # Tafel_fit_min = linregress(TFxy['E_overp'].values,TFxy['log10_Jkin_min'].values) w = 60 rTFxy = TFxy.rolling(15).mean() for i in range(0, len(rTFxy) - w, w): rTFxy.dropna(inplace=True) tflogJx, tfEy = ( rTFxy.iloc[i : i + w]["log10_Jkin_min"].values, rTFxy.iloc[i : i + w][EvRHE].values, ) TFfit = linregress(tflogJx, tfEy) # print(i,rTFxy.iloc[i][EvRHE],rTFxy.iloc[i+w][EvRHE],TFfit[2]) if np.abs(TFfit[2]) > 0.95: TFll = "log10_TAFEL_%.3fVrhe_%.0f" % ( rTFxy.iloc[i][EvRHE], TFfit[0] * -1000, ) rTFxy = rTFxy.assign(**{TFll: (rTFxy[EvRHE] - TFfit[1]) / TFfit[0]}) TFxy = TFxy.assign( **{"log10_TAFEL_%s" % i: (TFxy[EvRHE] - TFfit[1]) / TFfit[0]} ) # print(' TAFEL: ',rTFxy.iloc[i][EvRHE],rTFxy.iloc[i+w][EvRHE],TFfit[2]) TFlst.append( { "index": i, "E_low": tfEy.min(), "E_high": tfEy.max(), "TS": TFfit[0] * -1000, "TSb": TFfit[1], "TSerr": TFfit[2], } ) else: TFlst.append( { "index": i, "E_low": 0, "E_high": 0, "TS": 0, "TSb": 0, "TSerr": 0, } ) Tafel_ovv = pd.DataFrame(TFlst) # TFxy.to_excel(TF_out) # print('TAFEL SLOPE: %.2f mV/dec,\n OUTPUT: %s'%(Tafel_ovv.iloc[Tafel_ovv['TF_E_high'].idxmax()]['TS'],TF_out)) except Exception as e: print("Jkin calculation ERROR in TAFEL of ORR: {0}".format(e)) index_info_ORR_TAFEL = {} TFxy = pd.DataFrame() Tafel_ovv = pd.concat( [ Tafel_ovv, pd.DataFrame( { "index": 0, "E_low": 0, "E_high": 0, "TS": 0, "TSb": 0, "TSerr": 0, }, index=[0], ), ] ) ## print(Tafel_fit[0]) # O2_join = O2_join.assign(**{'E_onset' : E_onset[EvRHE].min(),'Diff_lim' : Diff_lim['Jcorr'].min(), # 'E_half' : E_half[EvRHE].mean()}) if Tafel_ovv.empty: Tafel_ovv = pd.concat( [ Tafel_ovv, pd.DataFrame( { "index": 0, "E_low": 0, "E_high": 0, "TS": 0, "TSb": 0, "TSerr": 0, }, index=[0], ), ] ) TSmin, TSmax = Tafel_ovv.iloc[Tafel_ovv["TS"].idxmin()].round( 3 ), Tafel_ovv.iloc[Tafel_ovv["TS"].idxmax()].round(3) Tafel_pars_out = { "TSa_min": TSmin["TS"], "TSb_min": TSmin["TSb"], "TSa_max": TSmax["TS"], "TSb_max": TSmax["TSb"], } return Tafel_ovv, TFxy, Tafel_pars_out def ORR_get_Tafel(swgrp, ORR_dest_dir_file, dest_file, **_pars): ### === TAFEL EQUATION AND PLOTTING ### # TFxy = O2_join.loc[(E_half[EvRHE].mean()-0.20 < O2_join[EvRHE]) & (O2_join[EvRHE] < E_half[EvRHE].mean()+0.30) & (O2_join['Sweep_Type'] == 'cathodic')] _swgpr_meta = ( swgrp[[i for i in swgrp.columns if swgrp[i].nunique() == 1]].iloc[0].to_dict() ) TFxy = swgrp.loc[ (0.50 < swgrp[EvRHE]) & (swgrp[EvRHE] < 0.85) & (swgrp["Jkin_min"] > 0), [EvRHE, "Jkin_min", "Jkin_max", "Jcorr", "Sweep_Type"], ] # TFxy.plot(x=EvRHE,y='Jkin_min',xlim=(0.55,0.8),logy=True) # 'log10_Jkin_max' : np.log10(TFxy['Jkin_max']) Tafel_ovv = pd.DataFrame([]) TFlst, TafelDir = [], ORR_dest_dir_file.joinpath("TAFEL") TafelDir.mkdir(parents=True, exist_ok=True) try: TFxy = TFxy.assign( **{ "log10_Jkin_min": np.log10(TFxy["Jkin_min"]), "E_overp": 1.23 - TFxy[EvRHE], } ) TFxy["log10_Jkin_min"].dropna(inplace=True) TFxy["log_Jkinm_2ndDiff"] = TFxy["Jkin_min"].diff().diff().values # F,D,nu,C,A,Rc,Trt = 96485, 1.5E-05, 0.010, 1.1E-06,SA_disk,8.314,298 # Tafel_fit_min = linregress(TFxy['E_overp'].values,TFxy['log10_Jkin_min'].values) w = 60 rTFxy = TFxy.rolling(10).mean() swp = _swgpr_meta.get("Sweep_Type", "swp_unkown") for i in range(0, len(rTFxy) - w, w): _TFipars = _swgpr_meta rTFxy.dropna(inplace=True) tflogJx, tfEy = ( rTFxy.iloc[i : i + w]["log10_Jkin_min"].values, rTFxy.iloc[i : i + w][EvRHE].values, ) tfxy_Eoverp = rTFxy.iloc[i : i + w]["E_overp"].values TFfit = linregress(tflogJx, tfEy) # print(i,rTFxy.iloc[i][EvRHE],rTFxy.iloc[i+w][EvRHE],TFfit[2]) _TF_collabel = f"log10_TAFEL_{i}" if np.abs(TFfit[2]) > 0.95: TFll = "log10_TAFEL_%.3fVrhe_%.0f" % ( rTFxy.iloc[i][EvRHE], TFfit[0] * -1000, ) TFxy = TFxy.assign( **{_TF_collabel: (TFxy[EvRHE] - TFfit[1]) / TFfit[0]} ) rTFxy = rTFxy.assign(**{TFll: (rTFxy[EvRHE] - TFfit[1]) / TFfit[0]}) TF_E_mean = rTFxy.loc[ ((rTFxy.log10_Jkin_min - rTFxy[TFll]).abs() < 5e-03), EvRHE ].mean() rTFxy.plot( x=EvRHE, y=["log10_Jkin_min", TFll], title=f"TS: {TFfit[0]*-1000:.0f} mV/dec\n {dest_file}_{swp}_{i} ", ) plt.ylabel("log10_Jkin_min") plt.savefig( TafelDir.joinpath(f"{dest_file}_{swp}_{i}.png"), bbox_inches="tight" ) # plt.show() plt.close() # print(' TAFEL: ',rTFxy.iloc[i][EvRHE],rTFxy.iloc[i+w][EvRHE],TFfit[2]) _TFipars.update( { "TF_index": i, "TF_E_low": tfEy.min(), "TF_E_high": tfEy.max(), "TF_TS": TFfit[0] * -1000, "TF_TSb": TFfit[1], "TF_TSerr": TFfit[2], "TF_E_mean": TF_E_mean, "TF_label": _TF_collabel, "TF_Eoverp_min": tfxy_Eoverp.min(), "TF_Eoverp_max": tfxy_Eoverp.max(), } ) else: _TFipars.update( { "TF_index": i, "TF_E_low": 0, "TF_E_high": 0, "TF_TS": 0, "TF_TSb": 0, "TF_TSerr": 0, "TF_label": _TF_collabel, } ) TFlst.append(_TFipars) TF_out_base = TafelDir.joinpath(f"{dest_file}_{swp}.xlsx") TF_out = FileOperations.CompareHashDFexport(TFxy, TF_out_base) TFlst = [{**i, **{"TF_data_file": TF_out}} for i in TFlst] Tafel_ovv = pd.DataFrame(TFlst) # 'TF_data_file' # TFxy.to_excel(TF_out_base) # index_info_ORR_TAFEL = {'PAR_file': PAR_file, 'DestFile': TF_out, # 'Type_output': 'ORR_Jkin_calc_Tafel', 'Type_exp': 'ORR'} # TFxy.to_excel(TF_out) # print('TAFEL SLOPE: %.2f mV/dec,\n OUTPUT: %s'%(Tafel_ovv.iloc[Tafel_ovv['TF_E_high'].idxmax()]['TS'],TF_out)) except Exception as e: _logger.error("Jkin calculation ERROR in TAFEL of ORR: {0}".format(e)) # index_info_ORR_TAFEL = {} Tafel_ovv = pd.DataFrame( { **_swgpr_meta, **{ "TF_index": 0, "TF_E_low": 0, "TF_E_high": 0, "TF_TS": 0, "TF_TSb": 0, "TF_TSerr": 0, }, }, index=[0], ) return Tafel_ovv # if Tafel_ovv.empty: # Tafel_ovv = pd.DataFrame({**_swgpr_meta,**{'TF_index': 0, 'TF_E_low': 0, 'TF_E_high': 0, # pd.DataFrame(data=KLoutRow, columns=['Sweep_Type', EvRHE, 'I_Disk_%s' % rpm_list[rpm], # 'I_Ring_%s' % rpm_list[rpm]]) # pd.merge(left,right,on='SampleID',how='outer').query('SweepType == "cathodic"') # KLout2 = pd.concat([KLout2,KLrpm],axis=1) # KLout = pd.merge(KLout, KLrpm, on=[f'KL_{EvRHE}', 'Sweep_Type'], how='outer') # KLout = KLout.assign( # **{'Electrolyte': ORR_gr_ovv.iloc[0]['Electrolyte'], 'pH': ORR_gr_ovv.iloc[0]['pH']}) # fig,ax = plt.subplots() # for rcath,rcathgrp in KLout.groupby('Sweep_Type'): # rcathgrp.dropna(axis=0,subset=['I_Disk_1500_y'],inplace=True) # rcathgrp.plot(x=EvRHE,y='I_Disk_1500_y',ax=ax) # print('ERROR KL prep',e ) # %% # out_row.update(next_row)
""" Created on Fri Nov 12 12:28:01 2021 @author: DW """ class Orr_Tafel: """Class for calculating Tafel plots of the ORR scans""" def __init__(): pass def export(ORR_dest_dir, rTFxy, i, TFll, dest_file, TFfit): tafel_dir = ORR_dest_dir.joinpath('TAFEL') TafelDir.mkdir(parents=True, exist_ok=True) rTFxy.plot(x=EvRHE, y=['log10_Jkin_min', TFll], title='Tafel_%.3f' % TFfit[0] * -1000) plt.savefig(TafelDir.joinpath('%s_' % i + dest_file + '.png')) plt.close() tf_out_base = TafelDir.joinpath(dest_file + '.xlsx') rTFxy.to_excel(TF_out_base) def calculations(O2_join): sweep_col = [i for i in O2_join.columns if 'SWEEP' in i.upper() and (not 'RING' in i.upper())] ev_rhe = [i for i in O2_join.columns if 'E_APPV_RHE' in i.upper() and (not 'RING' in i.upper())][0] t_fxy = O2_join.loc[(0.55 < O2_join[EvRHE]) & (O2_join[EvRHE] < 0.81) & (O2_join['Jkin_min'] > 0)] (tafel_ovv, t_flst) = (pd.DataFrame([]), []) tafel_dir = [] try: t_fxy = TFxy[[EvRHE, 'Jkin_min', 'Jkin_max', 'Jcorr']].assign(**{'log10_Jkin_min': np.log10(TFxy['Jkin_min']), 'E_overp': 1.23 - TFxy[EvRHE]}) TFxy['log10_Jkin_min'].dropna(inplace=True) TFxy['log_Jkinm_2ndDiff'] = TFxy['Jkin_min'].diff().diff().values w = 60 r_t_fxy = TFxy.rolling(15).mean() for i in range(0, len(rTFxy) - w, w): rTFxy.dropna(inplace=True) (tflog_jx, tf_ey) = (rTFxy.iloc[i:i + w]['log10_Jkin_min'].values, rTFxy.iloc[i:i + w][EvRHE].values) t_ffit = linregress(tflogJx, tfEy) if np.abs(TFfit[2]) > 0.95: t_fll = 'log10_TAFEL_%.3fVrhe_%.0f' % (rTFxy.iloc[i][EvRHE], TFfit[0] * -1000) r_t_fxy = rTFxy.assign(**{TFll: (rTFxy[EvRHE] - TFfit[1]) / TFfit[0]}) t_fxy = TFxy.assign(**{'log10_TAFEL_%s' % i: (TFxy[EvRHE] - TFfit[1]) / TFfit[0]}) TFlst.append({'index': i, 'E_low': tfEy.min(), 'E_high': tfEy.max(), 'TS': TFfit[0] * -1000, 'TSb': TFfit[1], 'TSerr': TFfit[2]}) else: TFlst.append({'index': i, 'E_low': 0, 'E_high': 0, 'TS': 0, 'TSb': 0, 'TSerr': 0}) tafel_ovv = pd.DataFrame(TFlst) except Exception as e: print('Jkin calculation ERROR in TAFEL of ORR: {0}'.format(e)) index_info_orr_tafel = {} t_fxy = pd.DataFrame() tafel_ovv = pd.concat([Tafel_ovv, pd.DataFrame({'index': 0, 'E_low': 0, 'E_high': 0, 'TS': 0, 'TSb': 0, 'TSerr': 0}, index=[0])]) if Tafel_ovv.empty: tafel_ovv = pd.concat([Tafel_ovv, pd.DataFrame({'index': 0, 'E_low': 0, 'E_high': 0, 'TS': 0, 'TSb': 0, 'TSerr': 0}, index=[0])]) (t_smin, t_smax) = (Tafel_ovv.iloc[Tafel_ovv['TS'].idxmin()].round(3), Tafel_ovv.iloc[Tafel_ovv['TS'].idxmax()].round(3)) tafel_pars_out = {'TSa_min': TSmin['TS'], 'TSb_min': TSmin['TSb'], 'TSa_max': TSmax['TS'], 'TSb_max': TSmax['TSb']} return (Tafel_ovv, TFxy, Tafel_pars_out) def orr_get__tafel(swgrp, ORR_dest_dir_file, dest_file, **_pars): _swgpr_meta = swgrp[[i for i in swgrp.columns if swgrp[i].nunique() == 1]].iloc[0].to_dict() t_fxy = swgrp.loc[(0.5 < swgrp[EvRHE]) & (swgrp[EvRHE] < 0.85) & (swgrp['Jkin_min'] > 0), [EvRHE, 'Jkin_min', 'Jkin_max', 'Jcorr', 'Sweep_Type']] tafel_ovv = pd.DataFrame([]) (t_flst, tafel_dir) = ([], ORR_dest_dir_file.joinpath('TAFEL')) TafelDir.mkdir(parents=True, exist_ok=True) try: t_fxy = TFxy.assign(**{'log10_Jkin_min': np.log10(TFxy['Jkin_min']), 'E_overp': 1.23 - TFxy[EvRHE]}) TFxy['log10_Jkin_min'].dropna(inplace=True) TFxy['log_Jkinm_2ndDiff'] = TFxy['Jkin_min'].diff().diff().values w = 60 r_t_fxy = TFxy.rolling(10).mean() swp = _swgpr_meta.get('Sweep_Type', 'swp_unkown') for i in range(0, len(rTFxy) - w, w): _t_fipars = _swgpr_meta rTFxy.dropna(inplace=True) (tflog_jx, tf_ey) = (rTFxy.iloc[i:i + w]['log10_Jkin_min'].values, rTFxy.iloc[i:i + w][EvRHE].values) tfxy__eoverp = rTFxy.iloc[i:i + w]['E_overp'].values t_ffit = linregress(tflogJx, tfEy) _tf_collabel = f'log10_TAFEL_{i}' if np.abs(TFfit[2]) > 0.95: t_fll = 'log10_TAFEL_%.3fVrhe_%.0f' % (rTFxy.iloc[i][EvRHE], TFfit[0] * -1000) t_fxy = TFxy.assign(**{_TF_collabel: (TFxy[EvRHE] - TFfit[1]) / TFfit[0]}) r_t_fxy = rTFxy.assign(**{TFll: (rTFxy[EvRHE] - TFfit[1]) / TFfit[0]}) tf_e_mean = rTFxy.loc[(rTFxy.log10_Jkin_min - rTFxy[TFll]).abs() < 0.005, EvRHE].mean() rTFxy.plot(x=EvRHE, y=['log10_Jkin_min', TFll], title=f'TS: {TFfit[0] * -1000:.0f} mV/dec\n {dest_file}_{swp}_{i} ') plt.ylabel('log10_Jkin_min') plt.savefig(TafelDir.joinpath(f'{dest_file}_{swp}_{i}.png'), bbox_inches='tight') plt.close() _TFipars.update({'TF_index': i, 'TF_E_low': tfEy.min(), 'TF_E_high': tfEy.max(), 'TF_TS': TFfit[0] * -1000, 'TF_TSb': TFfit[1], 'TF_TSerr': TFfit[2], 'TF_E_mean': TF_E_mean, 'TF_label': _TF_collabel, 'TF_Eoverp_min': tfxy_Eoverp.min(), 'TF_Eoverp_max': tfxy_Eoverp.max()}) else: _TFipars.update({'TF_index': i, 'TF_E_low': 0, 'TF_E_high': 0, 'TF_TS': 0, 'TF_TSb': 0, 'TF_TSerr': 0, 'TF_label': _TF_collabel}) TFlst.append(_TFipars) tf_out_base = TafelDir.joinpath(f'{dest_file}_{swp}.xlsx') tf_out = FileOperations.CompareHashDFexport(TFxy, TF_out_base) t_flst = [{**i, **{'TF_data_file': TF_out}} for i in TFlst] tafel_ovv = pd.DataFrame(TFlst) except Exception as e: _logger.error('Jkin calculation ERROR in TAFEL of ORR: {0}'.format(e)) tafel_ovv = pd.DataFrame({**_swgpr_meta, **{'TF_index': 0, 'TF_E_low': 0, 'TF_E_high': 0, 'TF_TS': 0, 'TF_TSb': 0, 'TF_TSerr': 0}}, index=[0]) return Tafel_ovv
class Game: def __init__(self, id): # initially player 1's move is false self.p1Went = False # initially player 2's move is false self.p2Went = False self.ready = False # current game's id self.id = id # two players move, initially none[player1's move, player2's move] self.moves = [None, None] # initially palyer1 and player2 both 0 self.wins = [0,0] # if ties self.ties = 0 # get the player's move, either player 1's move or player 2's move def get_player_move(self, p): return self.moves[p] # updates the moves list with that certain player's move def play(self, player, move): self.moves[player] = move # for player 1, if player1 makes a move then p1 went is true that means p1 already made a move if player == 0: self.p1Went = True else: self.p2Went = True # check if the two player's connected to the game or not def connected(self): return self.ready # check if both of the player made a move or not def bothWent(self): return self.p1Went and self.p2Went # deciding the winner def winner(self): # taking only the first letter of the move(R from Rock) p1 = self.moves[0].upper()[0] p2 = self.moves[1].upper()[0] winner = -1 if p1 == "R" and p2 == "S": winner = 0 elif p1 == "S" and p2 == "R": winner = 1 elif p1 == "P" and p2 == "R": winner = 0 elif p1 == "R" and p2 == "P": winner = 1 elif p1 == "S" and p2 == "P": winner = 0 elif p1 == "P" and p2 == "S": winner = 1 return winner # after the game we reset the state of the players def resetWent(self): self.p1Went = False self.p2Went = False
class Game: def __init__(self, id): self.p1Went = False self.p2Went = False self.ready = False self.id = id self.moves = [None, None] self.wins = [0, 0] self.ties = 0 def get_player_move(self, p): return self.moves[p] def play(self, player, move): self.moves[player] = move if player == 0: self.p1Went = True else: self.p2Went = True def connected(self): return self.ready def both_went(self): return self.p1Went and self.p2Went def winner(self): p1 = self.moves[0].upper()[0] p2 = self.moves[1].upper()[0] winner = -1 if p1 == 'R' and p2 == 'S': winner = 0 elif p1 == 'S' and p2 == 'R': winner = 1 elif p1 == 'P' and p2 == 'R': winner = 0 elif p1 == 'R' and p2 == 'P': winner = 1 elif p1 == 'S' and p2 == 'P': winner = 0 elif p1 == 'P' and p2 == 'S': winner = 1 return winner def reset_went(self): self.p1Went = False self.p2Went = False
########################## THE TOON LAND PROJECT ########################## # Filename: _BarkingBoulevard.py # Created by: Cody/Fd Green Cat Fd (February 19th, 2013) #### # Description: # # The Barking Boulevard added Python implementation. #### filepath = __filebase__ + '/toonland/playground/funnyfarm/maps/%s' sidewalkTexture = loader.loadTexture(filepath % 'sidewalkyellow.jpg') for tunnelNode in render.findAllMatches('**/linktunnel*'): tunnelNode.find('**/tunnel_floor*').setTexture(sidewalkTexture, 1) toonHq = render.find('**/tb42:toon_landmark_hqFF_DNARoot') for doorFrameHole in toonHq.findAllMatches('**/doorFrameHole*'): doorFrameHole.hide()
filepath = __filebase__ + '/toonland/playground/funnyfarm/maps/%s' sidewalk_texture = loader.loadTexture(filepath % 'sidewalkyellow.jpg') for tunnel_node in render.findAllMatches('**/linktunnel*'): tunnelNode.find('**/tunnel_floor*').setTexture(sidewalkTexture, 1) toon_hq = render.find('**/tb42:toon_landmark_hqFF_DNARoot') for door_frame_hole in toonHq.findAllMatches('**/doorFrameHole*'): doorFrameHole.hide()
class Node: def __init__(self, data): self.left = None self.right = None self.data = None if isinstance(data, list) and len(data) > 0: self.data = data.pop(0) for item in data: self.AddNode(item) else: self.data = data def __str__(self): return str(self.PostorderTraversal(self)) def __radd__(self, other): return other + self.__str__() def AddNode(self, data): if self.data: if data < self.data: if self.left is None: self.left = Node(data) else: self.left.AddNode(data) else: if self.right is None: self.right = Node(data) else: self.right.AddNode(data) else: self.data = data # postorder traversal # left -> right -> root def PostorderTraversal(self, root): result = [] if root: result = self.PostorderTraversal(root.left) result += self.PostorderTraversal(root.right) result.append(root.data) return result # test printing tree nodes postorder arr = [12,1,3,77,23,23,55,23,19,12] root = Node([i for i in arr]) print("Nodes: ", arr) print("Postorder Traversal: ", root)
class Node: def __init__(self, data): self.left = None self.right = None self.data = None if isinstance(data, list) and len(data) > 0: self.data = data.pop(0) for item in data: self.AddNode(item) else: self.data = data def __str__(self): return str(self.PostorderTraversal(self)) def __radd__(self, other): return other + self.__str__() def add_node(self, data): if self.data: if data < self.data: if self.left is None: self.left = node(data) else: self.left.AddNode(data) elif self.right is None: self.right = node(data) else: self.right.AddNode(data) else: self.data = data def postorder_traversal(self, root): result = [] if root: result = self.PostorderTraversal(root.left) result += self.PostorderTraversal(root.right) result.append(root.data) return result arr = [12, 1, 3, 77, 23, 23, 55, 23, 19, 12] root = node([i for i in arr]) print('Nodes: ', arr) print('Postorder Traversal: ', root)
""" Copyright 2020 The Secure, Reliable, and Intelligent Systems Lab, ETH Zurich Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ # Dataset raw_data_folder = "dataset/raw_data/" raw_data_hdf = raw_data_folder+"data.h5" datasets_folder = "dataset/" # Experiments training_folder = "training/training_logs/" attack_log_folder = "attack/attack_logs/" eval_folder = "eval/eval_logs/" INPUT_LENGTH = 241
""" Copyright 2020 The Secure, Reliable, and Intelligent Systems Lab, ETH Zurich Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ raw_data_folder = 'dataset/raw_data/' raw_data_hdf = raw_data_folder + 'data.h5' datasets_folder = 'dataset/' training_folder = 'training/training_logs/' attack_log_folder = 'attack/attack_logs/' eval_folder = 'eval/eval_logs/' input_length = 241
total_amount = float(input('Enter Groupon payment amount: ')) tickets = round((total_amount * 0.5875), 2) # 58.75% for ticket sales concessions = round((total_amount * 0.4125), 2) # 41.25% for concession sales print() print(f'GL 4005: {tickets}') print(f'GL 4200: {concessions}') input('Press enter to exit: ') # keeps window open
total_amount = float(input('Enter Groupon payment amount: ')) tickets = round(total_amount * 0.5875, 2) concessions = round(total_amount * 0.4125, 2) print() print(f'GL 4005: {tickets}') print(f'GL 4200: {concessions}') input('Press enter to exit: ')
# ECE 486 Project # Ali Saad, Disha Shetty, Pooja # Mips Simulation # Professor Zeshan Chishti # Open memory image file and read it(take it's inputs) # Need to change the numbers in the file from Hex to binary # Then parse it to get Rs, Rt, Rd intaking the correct numbers # To run the correct operation f = open("sample_memory_image.txt", "r") # Open and Read contents inside of file for x in f: # Name The contents in the file x, loop through file line by line scale = 16 # equals to hexaddecimal num_of_bits = 32 # Number of bits is 32 per line y = bin(int(x, scale))[2:].zfill(num_of_bits) #Conver Hex to Binary print(y) # Print to make sure numbers are being converted correcctly ''' this is how you comment out a section # An idea of switch Statement for opcode after parsing opcode = { # Arithmetic Instructions '000000' : ADDRdRsRt, '000001' : ADDRtRsIm, '000010' : SUBRdRsRt, '000011' : SUBRtRsIm, '000100' : MULRdRst, '000101' : MULRtRsIm, # Logical Instructions '000110' : ORRdRsRt, '000111' : ORIRtRsIM, '001000' : ANDRdRsRt, '001001' : ANDIRtRsIM, '001010' : XORRdRsRt, '001011' : XORIRtRsIM, # Memory Access Instructions '001100' : LDWRtRsIm, '001101' : STWRtRsIm, # Control Flow Instructions '001110' : BZRsx, '001111' : BEQRsRtx, '010000' : JRRs, '010001' : HALT } ''' # opcode 000000 is ADD instruction, rest of opcode instructions in Project specs pdf # After we read in instruction goes case statment to decide the formart or if statement # Need to do Arithmetic Instructions # Need to do Logiccal Instructions # Need to do Memory Access Instructions # Need to do Control Flow Instructions # Need to figure out Instruction Format # If statement is R-Type format, first 11 bits unused, 5 for RD, 5 of Rt, 5 for Rs, last 6 opcode # Else I-type format, first 16 bits unused, 5 for Rt, 5 for Rs, last 6 opcode # Need to do memory image # Need to figure out how do stalling and how much to stall for no forwarding/forwarding # Variable Output # All Variables need to be changed to express equation of how to get their content Total_Number_of_Instructions = 638 Arithmetic_Instructions = 333 Logical_Instructions = 50 Memory_Access_Instructions = 103 Control_Transfer_Instructions = 152 Program_Counter = 100 R1 = 1200 # Need to be changed to the equatiion on how to get the contents of R1 R2 = 1400 # Need to be changed to the equatiion on how to get the contents of R2 R3 = 100 # Need to be changed to the equatiion on how to get the contents of R3 R4 = 50 # Need to be changed to the equatiion on how to get the contents of R4 R5 = 50 # Need to be changed to the equatiion on how to get the contents of R5 R6 = 0 # Need to be changed to the equatiion on how to get the contents of R6 R7 = 25 # Need to be changed to the equatiion on how to get the contents of R7 R8 = 2550 # Need to be changed to the equatiion on how to get the contents of R8 R9 = 1275 # Need to be changed to the equatiion on how to get the contents of R9 R10 = 50 # Need to be changed to the equatiion on how to get the contents of R10 R11 = 50 # Need to be changed to the equatiion on how to get the contents of R11 R12 = 32 # Need to be changed to the equatiion on how to get the contents of R12 Address = 1400 Address1 = 1404 Address2 = 1408 Contents = 25 Contents1 = 2550 Contents2 = 1275 # Simulation Output # What needs to be shown after code compliles all instructions print("Instruction Counts: \n") print("Total Number of Instructions:", Total_Number_of_Instructions) print("Arithmetic Instructions:", Arithmetic_Instructions) print("Logical Instructions:", Logical_Instructions) print("Memory Access Instructions:", Memory_Access_Instructions) print("Control Transfer Instructions:", Control_Transfer_Instructions, "\n\n") print("Final Register State: \n") print("(Contents shown in decimal number system; not in base 16. In addition, only those registers are shown whose contents change during the program) \n") print("Program Counter:", Program_Counter) print("R1:", R1) print("R2:", R2) print("R3:", R3) print("R4:", R4) print("R5:", R5) print("R6:", R6) print("R7:", R7) print("R8:", R8) print("R9:", R9) print("R10:", R10) print("R11:", R11) print("R12:", R12, "\n") print("Final Memory State: \n") print("(Contents shown in decimal number system; not in base 16. In addition, only those registers are shown whose contents change during the program) \n") print("Address:", Address, "Contents:", Contents) print("Address:", Address1, "Contents:", Contents1) print("Address:", Address2, "Contents:", Contents2) print("Timing Simulator Output can be provided upon request")
f = open('sample_memory_image.txt', 'r') for x in f: scale = 16 num_of_bits = 32 y = bin(int(x, scale))[2:].zfill(num_of_bits) print(y) " this is how you comment out a section\n# An idea of switch Statement for opcode after parsing \nopcode = {\n # Arithmetic Instructions\n '000000' : ADDRdRsRt,\n '000001' : ADDRtRsIm, \n '000010' : SUBRdRsRt,\n '000011' : SUBRtRsIm,\n '000100' : MULRdRst,\n '000101' : MULRtRsIm,\n # Logical Instructions\n '000110' : ORRdRsRt,\n '000111' : ORIRtRsIM,\n '001000' : ANDRdRsRt,\n '001001' : ANDIRtRsIM,\n '001010' : XORRdRsRt,\n '001011' : XORIRtRsIM,\n # Memory Access Instructions\n '001100' : LDWRtRsIm,\n '001101' : STWRtRsIm,\n # Control Flow Instructions\n '001110' : BZRsx,\n '001111' : BEQRsRtx,\n '010000' : JRRs,\n '010001' : HALT\n }\n" total__number_of__instructions = 638 arithmetic__instructions = 333 logical__instructions = 50 memory__access__instructions = 103 control__transfer__instructions = 152 program__counter = 100 r1 = 1200 r2 = 1400 r3 = 100 r4 = 50 r5 = 50 r6 = 0 r7 = 25 r8 = 2550 r9 = 1275 r10 = 50 r11 = 50 r12 = 32 address = 1400 address1 = 1404 address2 = 1408 contents = 25 contents1 = 2550 contents2 = 1275 print('Instruction Counts: \n') print('Total Number of Instructions:', Total_Number_of_Instructions) print('Arithmetic Instructions:', Arithmetic_Instructions) print('Logical Instructions:', Logical_Instructions) print('Memory Access Instructions:', Memory_Access_Instructions) print('Control Transfer Instructions:', Control_Transfer_Instructions, '\n\n') print('Final Register State: \n') print('(Contents shown in decimal number system; not in base 16. In addition, only those registers are shown whose contents change during the program) \n') print('Program Counter:', Program_Counter) print('R1:', R1) print('R2:', R2) print('R3:', R3) print('R4:', R4) print('R5:', R5) print('R6:', R6) print('R7:', R7) print('R8:', R8) print('R9:', R9) print('R10:', R10) print('R11:', R11) print('R12:', R12, '\n') print('Final Memory State: \n') print('(Contents shown in decimal number system; not in base 16. In addition, only those registers are shown whose contents change during the program) \n') print('Address:', Address, 'Contents:', Contents) print('Address:', Address1, 'Contents:', Contents1) print('Address:', Address2, 'Contents:', Contents2) print('Timing Simulator Output can be provided upon request')
""" utilapi. A Cloud Util api. """ __version__ = "0.1.0" __author__ = 'Kishore' __credits__ = 'Tealpod'
""" utilapi. A Cloud Util api. """ __version__ = '0.1.0' __author__ = 'Kishore' __credits__ = 'Tealpod'
#!/bin/python3 # -*- coding: utf-8 -*- """ Write a function that takes an (unsigned) integer as input, and returns the number of bits that are equal to one in the binary representation of that number. Example: The binary representation of 1234 is 10011010010, so the function should return 5 in this case """ def countBits(n): return "{0:b}".format(n).count('1') if __name__ == '__main__': arr = [] mes = ("Simple input\n\n" "1234\n\n" "Enter an (unsigned) integer\n") print(mes) print(countBits(int(input())))
""" Write a function that takes an (unsigned) integer as input, and returns the number of bits that are equal to one in the binary representation of that number. Example: The binary representation of 1234 is 10011010010, so the function should return 5 in this case """ def count_bits(n): return '{0:b}'.format(n).count('1') if __name__ == '__main__': arr = [] mes = 'Simple input\n\n1234\n\nEnter an (unsigned) integer\n' print(mes) print(count_bits(int(input())))
start = int(input('Choose the start of the Aritimetic Progression: ')) rate = int(input('Choose the rate of the Aritimetic Progression: ')) cont = 10 while cont != 0: print(start) start = start + rate cont = cont - 1
start = int(input('Choose the start of the Aritimetic Progression: ')) rate = int(input('Choose the rate of the Aritimetic Progression: ')) cont = 10 while cont != 0: print(start) start = start + rate cont = cont - 1
# This program is about Quick Sort # an advanced version of Bubble Sort # Time complexity is O(nlog(n)) # Version 1 class SQList: def __init__(self, lis=None): self.r = lis # define a method to exchange elements def swap(self, i, j): temp = self.r[i] self.r[i] = self.r[j] self.r[j] = temp def quick_sort(self): self.qsort(0, len(self.r)-1) def qsort(self, low, high): if low < high: pivot = self.partition(low, high) self.qsort(low, pivot-1) self.qsort(pivot+1, high) def partition(self, low, high): # param low: left index # param high: right index # return: index of pivot lis = self.r pivot_key = lis[low] while low < high: while low < high and lis[high] >= pivot_key: high -= 1 self.swap(low, high) while low < high and lis[low] <= pivot_key: low += 1 self.swap(low, high) return low def __str__(self): ret = "" for i in self.r: ret += " %s" % i return ret if __name__ == '__main__': sqlist = SQList([4, 1, 7, 3, 8, 5, 9, 2, 6, 0, 123, 22]) sqlist.quick_sort() print(sqlist) """ 0 1 2 3 4 5 6 7 8 9 22 123 """
class Sqlist: def __init__(self, lis=None): self.r = lis def swap(self, i, j): temp = self.r[i] self.r[i] = self.r[j] self.r[j] = temp def quick_sort(self): self.qsort(0, len(self.r) - 1) def qsort(self, low, high): if low < high: pivot = self.partition(low, high) self.qsort(low, pivot - 1) self.qsort(pivot + 1, high) def partition(self, low, high): lis = self.r pivot_key = lis[low] while low < high: while low < high and lis[high] >= pivot_key: high -= 1 self.swap(low, high) while low < high and lis[low] <= pivot_key: low += 1 self.swap(low, high) return low def __str__(self): ret = '' for i in self.r: ret += ' %s' % i return ret if __name__ == '__main__': sqlist = sq_list([4, 1, 7, 3, 8, 5, 9, 2, 6, 0, 123, 22]) sqlist.quick_sort() print(sqlist) '\n 0 1 2 3 4 5 6 7 8 9 22 123\n'
""" Description: Functions that handle country codes and country names. """ __author__ = ["Karolina Pantazatou"] __credits__ = "ICOS Carbon Portal" __license__ = "GPL-3.0" __version__ = "0.1.0" __maintainer__ = "ICOS Carbon Portal, elaborated products team" __email__ = ['info@icos-cp.eu', 'karolina.pantazatou@nateko.lu.se'] __date__ = "2019-10-14"
""" Description: Functions that handle country codes and country names. """ __author__ = ['Karolina Pantazatou'] __credits__ = 'ICOS Carbon Portal' __license__ = 'GPL-3.0' __version__ = '0.1.0' __maintainer__ = 'ICOS Carbon Portal, elaborated products team' __email__ = ['info@icos-cp.eu', 'karolina.pantazatou@nateko.lu.se'] __date__ = '2019-10-14'
# coding=utf-8 # *** WARNING: this file was generated by crd2pulumi. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** SNAKE_TO_CAMEL_CASE_TABLE = { "api_key": "apiKey", "api_version": "apiVersion", "binding_from": "bindingFrom", "config_map_key_ref": "configMapKeyRef", "kafka_admin_url": "kafkaAdminUrl", "num_partitions": "numPartitions", "replication_factor": "replicationFactor", "secret_key_ref": "secretKeyRef", "topic_name": "topicName", "value_from": "valueFrom", } CAMEL_TO_SNAKE_CASE_TABLE = { "apiKey": "api_key", "apiVersion": "api_version", "bindingFrom": "binding_from", "configMapKeyRef": "config_map_key_ref", "kafkaAdminUrl": "kafka_admin_url", "numPartitions": "num_partitions", "replicationFactor": "replication_factor", "secretKeyRef": "secret_key_ref", "topicName": "topic_name", "valueFrom": "value_from", }
snake_to_camel_case_table = {'api_key': 'apiKey', 'api_version': 'apiVersion', 'binding_from': 'bindingFrom', 'config_map_key_ref': 'configMapKeyRef', 'kafka_admin_url': 'kafkaAdminUrl', 'num_partitions': 'numPartitions', 'replication_factor': 'replicationFactor', 'secret_key_ref': 'secretKeyRef', 'topic_name': 'topicName', 'value_from': 'valueFrom'} camel_to_snake_case_table = {'apiKey': 'api_key', 'apiVersion': 'api_version', 'bindingFrom': 'binding_from', 'configMapKeyRef': 'config_map_key_ref', 'kafkaAdminUrl': 'kafka_admin_url', 'numPartitions': 'num_partitions', 'replicationFactor': 'replication_factor', 'secretKeyRef': 'secret_key_ref', 'topicName': 'topic_name', 'valueFrom': 'value_from'}
''' File: 1038.py File Created: 2021-01-12 13:43:24 -08:00 Author: Taowyoo (caoyxsh@outlook.com) Brief: https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree/ ----- Last Modified: 2021-01-12 13:43:57 -08:00 Modified By: Taowyoo (caoyxsh@outlook.com>) ----- Copyright 2020 - 2021 ''' # Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: """Postorder Solution """ last = 0 def postOrder(self, root: TreeNode): if root is None: return self.postOrder(root.right) root.val += self.last self.last = root.val self.postOrder(root.left) def bstToGst(self, root: TreeNode) -> TreeNode: self.postOrder(root) return root
""" File: 1038.py File Created: 2021-01-12 13:43:24 -08:00 Author: Taowyoo (caoyxsh@outlook.com) Brief: https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree/ ----- Last Modified: 2021-01-12 13:43:57 -08:00 Modified By: Taowyoo (caoyxsh@outlook.com>) ----- Copyright 2020 - 2021 """ class Solution: """Postorder Solution """ last = 0 def post_order(self, root: TreeNode): if root is None: return self.postOrder(root.right) root.val += self.last self.last = root.val self.postOrder(root.left) def bst_to_gst(self, root: TreeNode) -> TreeNode: self.postOrder(root) return root
def fibonacci_iterative(n): a = 0 b = 1 if n == 0: return 0 if n == 1: return 1 for i in range(0, n - 1): c = a + b a = b b = c return b for i in range(0, 20): print(fibonacci_iterative(i))
def fibonacci_iterative(n): a = 0 b = 1 if n == 0: return 0 if n == 1: return 1 for i in range(0, n - 1): c = a + b a = b b = c return b for i in range(0, 20): print(fibonacci_iterative(i))
# # PySNMP MIB module PW-STD-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/PW-STD-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:30: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) # Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, ConstraintsUnion, ValueRangeConstraint, ValueSizeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ConstraintsUnion", "ValueRangeConstraint", "ValueSizeConstraint", "SingleValueConstraint") HCPerfCurrentCount, HCPerfTimeElapsed, HCPerfValidIntervals, HCPerfIntervalCount = mibBuilder.importSymbols("HC-PerfHist-TC-MIB", "HCPerfCurrentCount", "HCPerfTimeElapsed", "HCPerfValidIntervals", "HCPerfIntervalCount") IANAPwTypeTC, IANAPwPsnTypeTC, IANAPwCapabilities = mibBuilder.importSymbols("IANA-PWE3-MIB", "IANAPwTypeTC", "IANAPwPsnTypeTC", "IANAPwCapabilities") InterfaceIndexOrZero, = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero") InetAddress, InetAddressType = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") PwIDType, PwFragStatus, PwIndexType, PwGroupID, PwGenIdType, PwAttachmentIdentifierType, PwCwStatusTC, PwStatus, PwIndexOrZeroType, PwOperStatusTC, PwFragSize = mibBuilder.importSymbols("PW-TC-STD-MIB", "PwIDType", "PwFragStatus", "PwIndexType", "PwGroupID", "PwGenIdType", "PwAttachmentIdentifierType", "PwCwStatusTC", "PwStatus", "PwIndexOrZeroType", "PwOperStatusTC", "PwFragSize") PerfIntervalCount, PerfCurrentCount = mibBuilder.importSymbols("PerfHist-TC-MIB", "PerfIntervalCount", "PerfCurrentCount") SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") NotificationGroup, ObjectGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup", "ModuleCompliance") MibScalar, MibTable, MibTableRow, MibTableColumn, Counter64, Unsigned32, Gauge32, IpAddress, iso, ModuleIdentity, Counter32, TimeTicks, NotificationType, transmission, Bits, ObjectIdentity, MibIdentifier, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter64", "Unsigned32", "Gauge32", "IpAddress", "iso", "ModuleIdentity", "Counter32", "TimeTicks", "NotificationType", "transmission", "Bits", "ObjectIdentity", "MibIdentifier", "Integer32") TruthValue, TextualConvention, TimeStamp, RowStatus, StorageType, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TruthValue", "TextualConvention", "TimeStamp", "RowStatus", "StorageType", "DisplayString") pwStdMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 246)) pwStdMIB.setRevisions(('2009-06-11 00:00',)) if mibBuilder.loadTexts: pwStdMIB.setLastUpdated('200906110000Z') if mibBuilder.loadTexts: pwStdMIB.setOrganization('Pseudowire Edge-to-Edge Emulation (PWE3) Working Group') pwNotifications = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 246, 0)) pwObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 246, 1)) pwConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 246, 2)) pwIndexNext = MibScalar((1, 3, 6, 1, 2, 1, 10, 246, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwIndexNext.setStatus('current') pwTable = MibTable((1, 3, 6, 1, 2, 1, 10, 246, 1, 2), ) if mibBuilder.loadTexts: pwTable.setStatus('current') pwEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1), ).setIndexNames((0, "PW-STD-MIB", "pwIndex")) if mibBuilder.loadTexts: pwEntry.setStatus('current') pwIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 1), PwIndexType()) if mibBuilder.loadTexts: pwIndex.setStatus('current') pwType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 2), IANAPwTypeTC()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwType.setStatus('current') pwOwner = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("manual", 1), ("pwIdFecSignaling", 2), ("genFecSignaling", 3), ("l2tpControlProtocol", 4), ("other", 5)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwOwner.setStatus('current') pwPsnType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 4), IANAPwPsnTypeTC()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwPsnType.setStatus('current') pwSetUpPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwSetUpPriority.setStatus('current') pwHoldingPriority = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwHoldingPriority.setStatus('current') pwPeerAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 8), InetAddressType().clone('ipv4')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwPeerAddrType.setStatus('current') pwPeerAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 9), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwPeerAddr.setStatus('current') pwAttachedPwIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 10), PwIndexOrZeroType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwAttachedPwIndex.setStatus('current') pwIfIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 11), InterfaceIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwIfIndex.setStatus('current') pwID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 12), PwIDType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwID.setStatus('current') pwLocalGroupID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 13), PwGroupID()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwLocalGroupID.setStatus('current') pwGroupAttachmentID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 14), PwAttachmentIdentifierType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwGroupAttachmentID.setStatus('current') pwLocalAttachmentID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 15), PwAttachmentIdentifierType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwLocalAttachmentID.setStatus('current') pwRemoteAttachmentID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 16), PwAttachmentIdentifierType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwRemoteAttachmentID.setStatus('current') pwCwPreference = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 17), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwCwPreference.setStatus('current') pwLocalIfMtu = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 18), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwLocalIfMtu.setStatus('current') pwLocalIfString = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 19), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwLocalIfString.setStatus('current') pwLocalCapabAdvert = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 20), IANAPwCapabilities()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwLocalCapabAdvert.setStatus('current') pwRemoteGroupID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 21), PwGroupID()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwRemoteGroupID.setStatus('current') pwCwStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 22), PwCwStatusTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwCwStatus.setStatus('current') pwRemoteIfMtu = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 23), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwRemoteIfMtu.setStatus('current') pwRemoteIfString = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 24), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: pwRemoteIfString.setStatus('current') pwRemoteCapabilities = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 25), IANAPwCapabilities()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwRemoteCapabilities.setStatus('current') pwFragmentCfgSize = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 26), PwFragSize()).setUnits('bytes').setMaxAccess("readcreate") if mibBuilder.loadTexts: pwFragmentCfgSize.setStatus('current') pwRmtFragCapability = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 27), PwFragStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwRmtFragCapability.setStatus('current') pwFcsRetentionCfg = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("fcsRetentionDisable", 1), ("fcsRetentionEnable", 2))).clone('fcsRetentionDisable')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwFcsRetentionCfg.setStatus('current') pwFcsRetentionStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 29), Bits().clone(namedValues=NamedValues(("remoteIndicationUnknown", 0), ("remoteRequestFcsRetention", 1), ("fcsRetentionEnabled", 2), ("fcsRetentionDisabled", 3), ("localFcsRetentionCfgErr", 4), ("fcsRetentionFcsSizeMismatch", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: pwFcsRetentionStatus.setStatus('current') pwOutboundLabel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 30), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwOutboundLabel.setStatus('current') pwInboundLabel = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 31), Unsigned32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwInboundLabel.setStatus('current') pwName = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 32), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwName.setStatus('current') pwDescr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 33), SnmpAdminString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwDescr.setStatus('current') pwCreateTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 34), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwCreateTime.setStatus('current') pwUpTime = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 35), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwUpTime.setStatus('current') pwLastChange = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 36), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwLastChange.setStatus('current') pwAdminStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 37), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwAdminStatus.setStatus('current') pwOperStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 38), PwOperStatusTC()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwOperStatus.setStatus('current') pwLocalStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 39), PwStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwLocalStatus.setStatus('current') pwRemoteStatusCapable = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 40), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("notApplicable", 1), ("notYetKnown", 2), ("remoteCapable", 3), ("remoteNotCapable", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: pwRemoteStatusCapable.setStatus('current') pwRemoteStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 41), PwStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwRemoteStatus.setStatus('current') pwTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 42), HCPerfTimeElapsed()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwTimeElapsed.setStatus('current') pwValidIntervals = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 43), HCPerfValidIntervals()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwValidIntervals.setStatus('current') pwRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 44), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwRowStatus.setStatus('current') pwStorageType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 45), StorageType().clone('nonVolatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwStorageType.setStatus('current') pwOamEnable = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 46), TruthValue().clone('true')).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwOamEnable.setStatus('current') pwGenAGIType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 47), PwGenIdType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwGenAGIType.setStatus('current') pwGenLocalAIIType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 48), PwGenIdType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwGenLocalAIIType.setStatus('current') pwGenRemoteAIIType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 49), PwGenIdType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: pwGenRemoteAIIType.setStatus('current') pwPerfCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 246, 1, 3), ) if mibBuilder.loadTexts: pwPerfCurrentTable.setStatus('current') pwPerfCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 246, 1, 3, 1), ).setIndexNames((0, "PW-STD-MIB", "pwIndex")) if mibBuilder.loadTexts: pwPerfCurrentEntry.setStatus('current') pwPerfCurrentInHCPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 3, 1, 1), HCPerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerfCurrentInHCPackets.setStatus('current') pwPerfCurrentInHCBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 3, 1, 2), HCPerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerfCurrentInHCBytes.setStatus('current') pwPerfCurrentOutHCPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 3, 1, 3), HCPerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerfCurrentOutHCPackets.setStatus('current') pwPerfCurrentOutHCBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 3, 1, 4), HCPerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerfCurrentOutHCBytes.setStatus('current') pwPerfCurrentInPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 3, 1, 5), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerfCurrentInPackets.setStatus('current') pwPerfCurrentInBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 3, 1, 6), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerfCurrentInBytes.setStatus('current') pwPerfCurrentOutPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 3, 1, 7), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerfCurrentOutPackets.setStatus('current') pwPerfCurrentOutBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 3, 1, 8), PerfCurrentCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerfCurrentOutBytes.setStatus('current') pwPerfIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 246, 1, 4), ) if mibBuilder.loadTexts: pwPerfIntervalTable.setStatus('current') pwPerfIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1), ).setIndexNames((0, "PW-STD-MIB", "pwIndex"), (0, "PW-STD-MIB", "pwPerfIntervalNumber")) if mibBuilder.loadTexts: pwPerfIntervalEntry.setStatus('current') pwPerfIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 96))) if mibBuilder.loadTexts: pwPerfIntervalNumber.setStatus('current') pwPerfIntervalValidData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerfIntervalValidData.setStatus('current') pwPerfIntervalTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 3), HCPerfTimeElapsed()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerfIntervalTimeElapsed.setStatus('current') pwPerfIntervalInHCPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 4), HCPerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerfIntervalInHCPackets.setStatus('current') pwPerfIntervalInHCBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 5), HCPerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerfIntervalInHCBytes.setStatus('current') pwPerfIntervalOutHCPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 6), HCPerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerfIntervalOutHCPackets.setStatus('current') pwPerfIntervalOutHCBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 7), HCPerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerfIntervalOutHCBytes.setStatus('current') pwPerfIntervalInPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 8), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerfIntervalInPackets.setStatus('current') pwPerfIntervalInBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 9), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerfIntervalInBytes.setStatus('current') pwPerfIntervalOutPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 10), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerfIntervalOutPackets.setStatus('current') pwPerfIntervalOutBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 11), PerfIntervalCount()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerfIntervalOutBytes.setStatus('current') pwPerf1DayIntervalTable = MibTable((1, 3, 6, 1, 2, 1, 10, 246, 1, 5), ) if mibBuilder.loadTexts: pwPerf1DayIntervalTable.setStatus('current') pwPerf1DayIntervalEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 246, 1, 5, 1), ).setIndexNames((0, "PW-STD-MIB", "pwIndex"), (0, "PW-STD-MIB", "pwPerf1DayIntervalNumber")) if mibBuilder.loadTexts: pwPerf1DayIntervalEntry.setStatus('current') pwPerf1DayIntervalNumber = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 5, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 31))) if mibBuilder.loadTexts: pwPerf1DayIntervalNumber.setStatus('current') pwPerf1DayIntervalValidData = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 5, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerf1DayIntervalValidData.setStatus('current') pwPerf1DayIntervalTimeElapsed = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 5, 1, 3), HCPerfTimeElapsed()).setUnits('seconds').setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerf1DayIntervalTimeElapsed.setStatus('current') pwPerf1DayIntervalInHCPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 5, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerf1DayIntervalInHCPackets.setStatus('current') pwPerf1DayIntervalInHCBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 5, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerf1DayIntervalInHCBytes.setStatus('current') pwPerf1DayIntervalOutHCPackets = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 5, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerf1DayIntervalOutHCPackets.setStatus('current') pwPerf1DayIntervalOutHCBytes = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 5, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerf1DayIntervalOutHCBytes.setStatus('current') pwPerfTotalErrorPackets = MibScalar((1, 3, 6, 1, 2, 1, 10, 246, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPerfTotalErrorPackets.setStatus('current') pwIndexMappingTable = MibTable((1, 3, 6, 1, 2, 1, 10, 246, 1, 7), ) if mibBuilder.loadTexts: pwIndexMappingTable.setStatus('current') pwIndexMappingEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 246, 1, 7, 1), ).setIndexNames((0, "PW-STD-MIB", "pwIndexMappingPwType"), (0, "PW-STD-MIB", "pwIndexMappingPwID"), (0, "PW-STD-MIB", "pwIndexMappingPeerAddrType"), (0, "PW-STD-MIB", "pwIndexMappingPeerAddr")) if mibBuilder.loadTexts: pwIndexMappingEntry.setStatus('current') pwIndexMappingPwType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 7, 1, 1), IANAPwTypeTC()) if mibBuilder.loadTexts: pwIndexMappingPwType.setStatus('current') pwIndexMappingPwID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 7, 1, 2), PwIDType()) if mibBuilder.loadTexts: pwIndexMappingPwID.setStatus('current') pwIndexMappingPeerAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 7, 1, 3), InetAddressType()) if mibBuilder.loadTexts: pwIndexMappingPeerAddrType.setStatus('current') pwIndexMappingPeerAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 7, 1, 4), InetAddress()) if mibBuilder.loadTexts: pwIndexMappingPeerAddr.setStatus('current') pwIndexMappingPwIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 7, 1, 5), PwIndexType()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwIndexMappingPwIndex.setStatus('current') pwPeerMappingTable = MibTable((1, 3, 6, 1, 2, 1, 10, 246, 1, 8), ) if mibBuilder.loadTexts: pwPeerMappingTable.setStatus('current') pwPeerMappingEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 246, 1, 8, 1), ).setIndexNames((0, "PW-STD-MIB", "pwPeerMappingPeerAddrType"), (0, "PW-STD-MIB", "pwPeerMappingPeerAddr"), (0, "PW-STD-MIB", "pwPeerMappingPwType"), (0, "PW-STD-MIB", "pwPeerMappingPwID")) if mibBuilder.loadTexts: pwPeerMappingEntry.setStatus('current') pwPeerMappingPeerAddrType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 8, 1, 1), InetAddressType()) if mibBuilder.loadTexts: pwPeerMappingPeerAddrType.setStatus('current') pwPeerMappingPeerAddr = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 8, 1, 2), InetAddress()) if mibBuilder.loadTexts: pwPeerMappingPeerAddr.setStatus('current') pwPeerMappingPwType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 8, 1, 3), IANAPwTypeTC()) if mibBuilder.loadTexts: pwPeerMappingPwType.setStatus('current') pwPeerMappingPwID = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 8, 1, 4), PwIDType()) if mibBuilder.loadTexts: pwPeerMappingPwID.setStatus('current') pwPeerMappingPwIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 8, 1, 5), PwIndexType()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwPeerMappingPwIndex.setStatus('current') pwUpDownNotifEnable = MibScalar((1, 3, 6, 1, 2, 1, 10, 246, 1, 9), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: pwUpDownNotifEnable.setStatus('current') pwDeletedNotifEnable = MibScalar((1, 3, 6, 1, 2, 1, 10, 246, 1, 10), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: pwDeletedNotifEnable.setStatus('current') pwNotifRate = MibScalar((1, 3, 6, 1, 2, 1, 10, 246, 1, 11), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: pwNotifRate.setStatus('current') pwGenFecIndexMappingTable = MibTable((1, 3, 6, 1, 2, 1, 10, 246, 1, 12), ) if mibBuilder.loadTexts: pwGenFecIndexMappingTable.setStatus('current') pwGenFecIndexMappingEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 246, 1, 12, 1), ).setIndexNames((0, "PW-STD-MIB", "pwGenFecIndexMappingAGIType"), (0, "PW-STD-MIB", "pwGenFecIndexMappingAGI"), (0, "PW-STD-MIB", "pwGenFecIndexMappingLocalAIIType"), (0, "PW-STD-MIB", "pwGenFecIndexMappingLocalAII"), (0, "PW-STD-MIB", "pwGenFecIndexMappingRemoteAIIType"), (0, "PW-STD-MIB", "pwGenFecIndexMappingRemoteAII")) if mibBuilder.loadTexts: pwGenFecIndexMappingEntry.setStatus('current') pwGenFecIndexMappingAGIType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 12, 1, 1), PwGenIdType()) if mibBuilder.loadTexts: pwGenFecIndexMappingAGIType.setStatus('current') pwGenFecIndexMappingAGI = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 12, 1, 2), PwAttachmentIdentifierType()) if mibBuilder.loadTexts: pwGenFecIndexMappingAGI.setStatus('current') pwGenFecIndexMappingLocalAIIType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 12, 1, 3), PwGenIdType()) if mibBuilder.loadTexts: pwGenFecIndexMappingLocalAIIType.setStatus('current') pwGenFecIndexMappingLocalAII = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 12, 1, 4), PwAttachmentIdentifierType()) if mibBuilder.loadTexts: pwGenFecIndexMappingLocalAII.setStatus('current') pwGenFecIndexMappingRemoteAIIType = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 12, 1, 5), PwGenIdType()) if mibBuilder.loadTexts: pwGenFecIndexMappingRemoteAIIType.setStatus('current') pwGenFecIndexMappingRemoteAII = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 12, 1, 6), PwAttachmentIdentifierType()) if mibBuilder.loadTexts: pwGenFecIndexMappingRemoteAII.setStatus('current') pwGenFecIndexMappingPwIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 246, 1, 12, 1, 7), PwIndexType()).setMaxAccess("readonly") if mibBuilder.loadTexts: pwGenFecIndexMappingPwIndex.setStatus('current') pwDown = NotificationType((1, 3, 6, 1, 2, 1, 10, 246, 0, 1)).setObjects(("PW-STD-MIB", "pwOperStatus"), ("PW-STD-MIB", "pwOperStatus")) if mibBuilder.loadTexts: pwDown.setStatus('current') pwUp = NotificationType((1, 3, 6, 1, 2, 1, 10, 246, 0, 2)).setObjects(("PW-STD-MIB", "pwOperStatus"), ("PW-STD-MIB", "pwOperStatus")) if mibBuilder.loadTexts: pwUp.setStatus('current') pwDeleted = NotificationType((1, 3, 6, 1, 2, 1, 10, 246, 0, 3)).setObjects(("PW-STD-MIB", "pwType"), ("PW-STD-MIB", "pwID"), ("PW-STD-MIB", "pwPeerAddrType"), ("PW-STD-MIB", "pwPeerAddr")) if mibBuilder.loadTexts: pwDeleted.setStatus('current') pwGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 246, 2, 1)) pwCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 246, 2, 2)) pwModuleFullCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 246, 2, 2, 1)).setObjects(("PW-STD-MIB", "pwBasicGroup"), ("PW-STD-MIB", "pwPerformanceGeneralGroup"), ("PW-STD-MIB", "pwNotificationGroup"), ("PW-STD-MIB", "pwPwIdGroup"), ("PW-STD-MIB", "pwGeneralizedFecGroup"), ("PW-STD-MIB", "pwFcsGroup"), ("PW-STD-MIB", "pwFragGroup"), ("PW-STD-MIB", "pwPwStatusGroup"), ("PW-STD-MIB", "pwGetNextGroup"), ("PW-STD-MIB", "pwPriorityGroup"), ("PW-STD-MIB", "pwAttachmentGroup"), ("PW-STD-MIB", "pwPeformance1DayIntervalGroup"), ("PW-STD-MIB", "pwPerformanceIntervalGeneralGroup"), ("PW-STD-MIB", "pwPeformanceIntervalGroup"), ("PW-STD-MIB", "pwHCPeformanceIntervalGroup"), ("PW-STD-MIB", "pwMappingTablesGroup"), ("PW-STD-MIB", "pwSignalingGroup"), ("PW-STD-MIB", "pwNotificationControlGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pwModuleFullCompliance = pwModuleFullCompliance.setStatus('current') pwModuleReadOnlyCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 246, 2, 2, 2)).setObjects(("PW-STD-MIB", "pwBasicGroup"), ("PW-STD-MIB", "pwNotificationGroup"), ("PW-STD-MIB", "pwPwIdGroup"), ("PW-STD-MIB", "pwGeneralizedFecGroup"), ("PW-STD-MIB", "pwFcsGroup"), ("PW-STD-MIB", "pwFragGroup"), ("PW-STD-MIB", "pwPwStatusGroup"), ("PW-STD-MIB", "pwGetNextGroup"), ("PW-STD-MIB", "pwPriorityGroup"), ("PW-STD-MIB", "pwAttachmentGroup"), ("PW-STD-MIB", "pwPeformance1DayIntervalGroup"), ("PW-STD-MIB", "pwPerformanceIntervalGeneralGroup"), ("PW-STD-MIB", "pwPeformanceIntervalGroup"), ("PW-STD-MIB", "pwHCPeformanceIntervalGroup"), ("PW-STD-MIB", "pwMappingTablesGroup"), ("PW-STD-MIB", "pwSignalingGroup"), ("PW-STD-MIB", "pwNotificationControlGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pwModuleReadOnlyCompliance = pwModuleReadOnlyCompliance.setStatus('current') pwBasicGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 1)).setObjects(("PW-STD-MIB", "pwType"), ("PW-STD-MIB", "pwOwner"), ("PW-STD-MIB", "pwPsnType"), ("PW-STD-MIB", "pwIfIndex"), ("PW-STD-MIB", "pwCwPreference"), ("PW-STD-MIB", "pwLocalIfMtu"), ("PW-STD-MIB", "pwOutboundLabel"), ("PW-STD-MIB", "pwInboundLabel"), ("PW-STD-MIB", "pwName"), ("PW-STD-MIB", "pwDescr"), ("PW-STD-MIB", "pwCreateTime"), ("PW-STD-MIB", "pwUpTime"), ("PW-STD-MIB", "pwLastChange"), ("PW-STD-MIB", "pwAdminStatus"), ("PW-STD-MIB", "pwOperStatus"), ("PW-STD-MIB", "pwLocalStatus"), ("PW-STD-MIB", "pwRowStatus"), ("PW-STD-MIB", "pwStorageType"), ("PW-STD-MIB", "pwOamEnable")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pwBasicGroup = pwBasicGroup.setStatus('current') pwPwIdGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 2)).setObjects(("PW-STD-MIB", "pwID")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pwPwIdGroup = pwPwIdGroup.setStatus('current') pwGeneralizedFecGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 3)).setObjects(("PW-STD-MIB", "pwGroupAttachmentID"), ("PW-STD-MIB", "pwLocalAttachmentID"), ("PW-STD-MIB", "pwRemoteAttachmentID"), ("PW-STD-MIB", "pwGenAGIType"), ("PW-STD-MIB", "pwGenLocalAIIType"), ("PW-STD-MIB", "pwGenRemoteAIIType")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pwGeneralizedFecGroup = pwGeneralizedFecGroup.setStatus('current') pwFcsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 4)).setObjects(("PW-STD-MIB", "pwFcsRetentionCfg"), ("PW-STD-MIB", "pwFcsRetentionStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pwFcsGroup = pwFcsGroup.setStatus('current') pwFragGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 5)).setObjects(("PW-STD-MIB", "pwFragmentCfgSize"), ("PW-STD-MIB", "pwRmtFragCapability")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pwFragGroup = pwFragGroup.setStatus('current') pwPwStatusGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 6)).setObjects(("PW-STD-MIB", "pwRemoteCapabilities"), ("PW-STD-MIB", "pwRemoteStatusCapable"), ("PW-STD-MIB", "pwRemoteStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pwPwStatusGroup = pwPwStatusGroup.setStatus('current') pwGetNextGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 7)).setObjects(("PW-STD-MIB", "pwIndexNext")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pwGetNextGroup = pwGetNextGroup.setStatus('current') pwPriorityGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 8)).setObjects(("PW-STD-MIB", "pwSetUpPriority"), ("PW-STD-MIB", "pwHoldingPriority")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pwPriorityGroup = pwPriorityGroup.setStatus('current') pwAttachmentGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 9)).setObjects(("PW-STD-MIB", "pwAttachedPwIndex")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pwAttachmentGroup = pwAttachmentGroup.setStatus('current') pwPerformanceGeneralGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 10)).setObjects(("PW-STD-MIB", "pwPerfTotalErrorPackets")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pwPerformanceGeneralGroup = pwPerformanceGeneralGroup.setStatus('current') pwPeformance1DayIntervalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 11)).setObjects(("PW-STD-MIB", "pwPerf1DayIntervalValidData"), ("PW-STD-MIB", "pwPerf1DayIntervalTimeElapsed"), ("PW-STD-MIB", "pwPerf1DayIntervalInHCPackets"), ("PW-STD-MIB", "pwPerf1DayIntervalInHCBytes"), ("PW-STD-MIB", "pwPerf1DayIntervalOutHCPackets"), ("PW-STD-MIB", "pwPerf1DayIntervalOutHCBytes")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pwPeformance1DayIntervalGroup = pwPeformance1DayIntervalGroup.setStatus('current') pwPerformanceIntervalGeneralGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 12)).setObjects(("PW-STD-MIB", "pwTimeElapsed"), ("PW-STD-MIB", "pwValidIntervals"), ("PW-STD-MIB", "pwPerfIntervalValidData"), ("PW-STD-MIB", "pwPerfIntervalTimeElapsed")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pwPerformanceIntervalGeneralGroup = pwPerformanceIntervalGeneralGroup.setStatus('current') pwPeformanceIntervalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 13)).setObjects(("PW-STD-MIB", "pwPerfCurrentInPackets"), ("PW-STD-MIB", "pwPerfCurrentInBytes"), ("PW-STD-MIB", "pwPerfCurrentOutPackets"), ("PW-STD-MIB", "pwPerfCurrentOutBytes"), ("PW-STD-MIB", "pwPerfIntervalInPackets"), ("PW-STD-MIB", "pwPerfIntervalInBytes"), ("PW-STD-MIB", "pwPerfIntervalOutPackets"), ("PW-STD-MIB", "pwPerfIntervalOutBytes")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pwPeformanceIntervalGroup = pwPeformanceIntervalGroup.setStatus('current') pwHCPeformanceIntervalGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 14)).setObjects(("PW-STD-MIB", "pwPerfCurrentInHCPackets"), ("PW-STD-MIB", "pwPerfCurrentInHCBytes"), ("PW-STD-MIB", "pwPerfCurrentOutHCPackets"), ("PW-STD-MIB", "pwPerfCurrentOutHCBytes"), ("PW-STD-MIB", "pwPerfIntervalInHCPackets"), ("PW-STD-MIB", "pwPerfIntervalInHCBytes"), ("PW-STD-MIB", "pwPerfIntervalOutHCPackets"), ("PW-STD-MIB", "pwPerfIntervalOutHCBytes")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pwHCPeformanceIntervalGroup = pwHCPeformanceIntervalGroup.setStatus('current') pwMappingTablesGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 15)).setObjects(("PW-STD-MIB", "pwIndexMappingPwIndex"), ("PW-STD-MIB", "pwPeerMappingPwIndex"), ("PW-STD-MIB", "pwGenFecIndexMappingPwIndex")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pwMappingTablesGroup = pwMappingTablesGroup.setStatus('current') pwNotificationControlGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 16)).setObjects(("PW-STD-MIB", "pwUpDownNotifEnable"), ("PW-STD-MIB", "pwDeletedNotifEnable"), ("PW-STD-MIB", "pwNotifRate")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pwNotificationControlGroup = pwNotificationControlGroup.setStatus('current') pwNotificationGroup = NotificationGroup((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 17)).setObjects(("PW-STD-MIB", "pwUp"), ("PW-STD-MIB", "pwDown"), ("PW-STD-MIB", "pwDeleted")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pwNotificationGroup = pwNotificationGroup.setStatus('current') pwSignalingGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 18)).setObjects(("PW-STD-MIB", "pwPeerAddrType"), ("PW-STD-MIB", "pwPeerAddr"), ("PW-STD-MIB", "pwLocalGroupID"), ("PW-STD-MIB", "pwLocalIfString"), ("PW-STD-MIB", "pwLocalCapabAdvert"), ("PW-STD-MIB", "pwRemoteGroupID"), ("PW-STD-MIB", "pwCwStatus"), ("PW-STD-MIB", "pwRemoteIfMtu"), ("PW-STD-MIB", "pwRemoteIfString")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pwSignalingGroup = pwSignalingGroup.setStatus('current') mibBuilder.exportSymbols("PW-STD-MIB", pwGenFecIndexMappingPwIndex=pwGenFecIndexMappingPwIndex, pwGenFecIndexMappingRemoteAII=pwGenFecIndexMappingRemoteAII, pwIndexNext=pwIndexNext, pwFcsRetentionCfg=pwFcsRetentionCfg, pwPeerAddr=pwPeerAddr, pwConformance=pwConformance, pwIndexMappingTable=pwIndexMappingTable, pwGenFecIndexMappingEntry=pwGenFecIndexMappingEntry, pwPerf1DayIntervalInHCBytes=pwPerf1DayIntervalInHCBytes, PYSNMP_MODULE_ID=pwStdMIB, pwPerf1DayIntervalTimeElapsed=pwPerf1DayIntervalTimeElapsed, pwPerfIntervalInHCPackets=pwPerfIntervalInHCPackets, pwMappingTablesGroup=pwMappingTablesGroup, pwInboundLabel=pwInboundLabel, pwGenLocalAIIType=pwGenLocalAIIType, pwAdminStatus=pwAdminStatus, pwPeerMappingPwType=pwPeerMappingPwType, pwValidIntervals=pwValidIntervals, pwPerfCurrentOutHCBytes=pwPerfCurrentOutHCBytes, pwHoldingPriority=pwHoldingPriority, pwCwPreference=pwCwPreference, pwIndex=pwIndex, pwObjects=pwObjects, pwNotifications=pwNotifications, pwPerf1DayIntervalEntry=pwPerf1DayIntervalEntry, pwRemoteIfString=pwRemoteIfString, pwPerf1DayIntervalNumber=pwPerf1DayIntervalNumber, pwNotifRate=pwNotifRate, pwFragmentCfgSize=pwFragmentCfgSize, pwPerfIntervalOutBytes=pwPerfIntervalOutBytes, pwPerfCurrentInHCPackets=pwPerfCurrentInHCPackets, pwLocalAttachmentID=pwLocalAttachmentID, pwPerfCurrentOutHCPackets=pwPerfCurrentOutHCPackets, pwAttachedPwIndex=pwAttachedPwIndex, pwCwStatus=pwCwStatus, pwPerfIntervalValidData=pwPerfIntervalValidData, pwHCPeformanceIntervalGroup=pwHCPeformanceIntervalGroup, pwNotificationGroup=pwNotificationGroup, pwPerf1DayIntervalOutHCPackets=pwPerf1DayIntervalOutHCPackets, pwPeerMappingPwIndex=pwPeerMappingPwIndex, pwPerf1DayIntervalOutHCBytes=pwPerf1DayIntervalOutHCBytes, pwStorageType=pwStorageType, pwGroups=pwGroups, pwPerf1DayIntervalInHCPackets=pwPerf1DayIntervalInHCPackets, pwRmtFragCapability=pwRmtFragCapability, pwIndexMappingPwID=pwIndexMappingPwID, pwOamEnable=pwOamEnable, pwPerfTotalErrorPackets=pwPerfTotalErrorPackets, pwIndexMappingPwIndex=pwIndexMappingPwIndex, pwPeformanceIntervalGroup=pwPeformanceIntervalGroup, pwAttachmentGroup=pwAttachmentGroup, pwPerfCurrentOutPackets=pwPerfCurrentOutPackets, pwEntry=pwEntry, pwUpDownNotifEnable=pwUpDownNotifEnable, pwPeerMappingTable=pwPeerMappingTable, pwPerfCurrentInHCBytes=pwPerfCurrentInHCBytes, pwPerfIntervalTable=pwPerfIntervalTable, pwModuleReadOnlyCompliance=pwModuleReadOnlyCompliance, pwRowStatus=pwRowStatus, pwRemoteAttachmentID=pwRemoteAttachmentID, pwPerfIntervalEntry=pwPerfIntervalEntry, pwPerfIntervalOutPackets=pwPerfIntervalOutPackets, pwPeformance1DayIntervalGroup=pwPeformance1DayIntervalGroup, pwIndexMappingEntry=pwIndexMappingEntry, pwPeerMappingPeerAddr=pwPeerMappingPeerAddr, pwLocalIfString=pwLocalIfString, pwPerfIntervalInHCBytes=pwPerfIntervalInHCBytes, pwPeerMappingPeerAddrType=pwPeerMappingPeerAddrType, pwGenFecIndexMappingAGI=pwGenFecIndexMappingAGI, pwLocalStatus=pwLocalStatus, pwDeleted=pwDeleted, pwBasicGroup=pwBasicGroup, pwPerfCurrentTable=pwPerfCurrentTable, pwDescr=pwDescr, pwPerfCurrentInBytes=pwPerfCurrentInBytes, pwType=pwType, pwModuleFullCompliance=pwModuleFullCompliance, pwCreateTime=pwCreateTime, pwFcsGroup=pwFcsGroup, pwPeerAddrType=pwPeerAddrType, pwRemoteGroupID=pwRemoteGroupID, pwRemoteStatusCapable=pwRemoteStatusCapable, pwPerf1DayIntervalTable=pwPerf1DayIntervalTable, pwGenFecIndexMappingLocalAIIType=pwGenFecIndexMappingLocalAIIType, pwPerformanceGeneralGroup=pwPerformanceGeneralGroup, pwStdMIB=pwStdMIB, pwOwner=pwOwner, pwLocalGroupID=pwLocalGroupID, pwGroupAttachmentID=pwGroupAttachmentID, pwGenFecIndexMappingLocalAII=pwGenFecIndexMappingLocalAII, pwRemoteIfMtu=pwRemoteIfMtu, pwID=pwID, pwGeneralizedFecGroup=pwGeneralizedFecGroup, pwNotificationControlGroup=pwNotificationControlGroup, pwSignalingGroup=pwSignalingGroup, pwOperStatus=pwOperStatus, pwPerfIntervalInBytes=pwPerfIntervalInBytes, pwUp=pwUp, pwOutboundLabel=pwOutboundLabel, pwDeletedNotifEnable=pwDeletedNotifEnable, pwPerfIntervalOutHCBytes=pwPerfIntervalOutHCBytes, pwLocalIfMtu=pwLocalIfMtu, pwGenAGIType=pwGenAGIType, pwCompliances=pwCompliances, pwIndexMappingPeerAddrType=pwIndexMappingPeerAddrType, pwRemoteCapabilities=pwRemoteCapabilities, pwIndexMappingPwType=pwIndexMappingPwType, pwTable=pwTable, pwFragGroup=pwFragGroup, pwIfIndex=pwIfIndex, pwPerfIntervalNumber=pwPerfIntervalNumber, pwPerformanceIntervalGeneralGroup=pwPerformanceIntervalGeneralGroup, pwIndexMappingPeerAddr=pwIndexMappingPeerAddr, pwDown=pwDown, pwGenRemoteAIIType=pwGenRemoteAIIType, pwPeerMappingEntry=pwPeerMappingEntry, pwPsnType=pwPsnType, pwPriorityGroup=pwPriorityGroup, pwPerfCurrentOutBytes=pwPerfCurrentOutBytes, pwLastChange=pwLastChange, pwPerfIntervalInPackets=pwPerfIntervalInPackets, pwPeerMappingPwID=pwPeerMappingPwID, pwSetUpPriority=pwSetUpPriority, pwName=pwName, pwGenFecIndexMappingAGIType=pwGenFecIndexMappingAGIType, pwPwIdGroup=pwPwIdGroup, pwGenFecIndexMappingRemoteAIIType=pwGenFecIndexMappingRemoteAIIType, pwPerf1DayIntervalValidData=pwPerf1DayIntervalValidData, pwPerfCurrentInPackets=pwPerfCurrentInPackets, pwUpTime=pwUpTime, pwTimeElapsed=pwTimeElapsed, pwRemoteStatus=pwRemoteStatus, pwPwStatusGroup=pwPwStatusGroup, pwPerfIntervalTimeElapsed=pwPerfIntervalTimeElapsed, pwFcsRetentionStatus=pwFcsRetentionStatus, pwGenFecIndexMappingTable=pwGenFecIndexMappingTable, pwGetNextGroup=pwGetNextGroup, pwPerfIntervalOutHCPackets=pwPerfIntervalOutHCPackets, pwPerfCurrentEntry=pwPerfCurrentEntry, pwLocalCapabAdvert=pwLocalCapabAdvert)
(integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, constraints_union, value_range_constraint, value_size_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ConstraintsUnion', 'ValueRangeConstraint', 'ValueSizeConstraint', 'SingleValueConstraint') (hc_perf_current_count, hc_perf_time_elapsed, hc_perf_valid_intervals, hc_perf_interval_count) = mibBuilder.importSymbols('HC-PerfHist-TC-MIB', 'HCPerfCurrentCount', 'HCPerfTimeElapsed', 'HCPerfValidIntervals', 'HCPerfIntervalCount') (iana_pw_type_tc, iana_pw_psn_type_tc, iana_pw_capabilities) = mibBuilder.importSymbols('IANA-PWE3-MIB', 'IANAPwTypeTC', 'IANAPwPsnTypeTC', 'IANAPwCapabilities') (interface_index_or_zero,) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndexOrZero') (inet_address, inet_address_type) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddress', 'InetAddressType') (pw_id_type, pw_frag_status, pw_index_type, pw_group_id, pw_gen_id_type, pw_attachment_identifier_type, pw_cw_status_tc, pw_status, pw_index_or_zero_type, pw_oper_status_tc, pw_frag_size) = mibBuilder.importSymbols('PW-TC-STD-MIB', 'PwIDType', 'PwFragStatus', 'PwIndexType', 'PwGroupID', 'PwGenIdType', 'PwAttachmentIdentifierType', 'PwCwStatusTC', 'PwStatus', 'PwIndexOrZeroType', 'PwOperStatusTC', 'PwFragSize') (perf_interval_count, perf_current_count) = mibBuilder.importSymbols('PerfHist-TC-MIB', 'PerfIntervalCount', 'PerfCurrentCount') (snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString') (notification_group, object_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ObjectGroup', 'ModuleCompliance') (mib_scalar, mib_table, mib_table_row, mib_table_column, counter64, unsigned32, gauge32, ip_address, iso, module_identity, counter32, time_ticks, notification_type, transmission, bits, object_identity, mib_identifier, integer32) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter64', 'Unsigned32', 'Gauge32', 'IpAddress', 'iso', 'ModuleIdentity', 'Counter32', 'TimeTicks', 'NotificationType', 'transmission', 'Bits', 'ObjectIdentity', 'MibIdentifier', 'Integer32') (truth_value, textual_convention, time_stamp, row_status, storage_type, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TruthValue', 'TextualConvention', 'TimeStamp', 'RowStatus', 'StorageType', 'DisplayString') pw_std_mib = module_identity((1, 3, 6, 1, 2, 1, 10, 246)) pwStdMIB.setRevisions(('2009-06-11 00:00',)) if mibBuilder.loadTexts: pwStdMIB.setLastUpdated('200906110000Z') if mibBuilder.loadTexts: pwStdMIB.setOrganization('Pseudowire Edge-to-Edge Emulation (PWE3) Working Group') pw_notifications = mib_identifier((1, 3, 6, 1, 2, 1, 10, 246, 0)) pw_objects = mib_identifier((1, 3, 6, 1, 2, 1, 10, 246, 1)) pw_conformance = mib_identifier((1, 3, 6, 1, 2, 1, 10, 246, 2)) pw_index_next = mib_scalar((1, 3, 6, 1, 2, 1, 10, 246, 1, 1), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwIndexNext.setStatus('current') pw_table = mib_table((1, 3, 6, 1, 2, 1, 10, 246, 1, 2)) if mibBuilder.loadTexts: pwTable.setStatus('current') pw_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1)).setIndexNames((0, 'PW-STD-MIB', 'pwIndex')) if mibBuilder.loadTexts: pwEntry.setStatus('current') pw_index = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 1), pw_index_type()) if mibBuilder.loadTexts: pwIndex.setStatus('current') pw_type = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 2), iana_pw_type_tc()).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwType.setStatus('current') pw_owner = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('manual', 1), ('pwIdFecSignaling', 2), ('genFecSignaling', 3), ('l2tpControlProtocol', 4), ('other', 5)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwOwner.setStatus('current') pw_psn_type = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 4), iana_pw_psn_type_tc()).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwPsnType.setStatus('current') pw_set_up_priority = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwSetUpPriority.setStatus('current') pw_holding_priority = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwHoldingPriority.setStatus('current') pw_peer_addr_type = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 8), inet_address_type().clone('ipv4')).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwPeerAddrType.setStatus('current') pw_peer_addr = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 9), inet_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwPeerAddr.setStatus('current') pw_attached_pw_index = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 10), pw_index_or_zero_type()).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwAttachedPwIndex.setStatus('current') pw_if_index = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 11), interface_index_or_zero()).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwIfIndex.setStatus('current') pw_id = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 12), pw_id_type()).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwID.setStatus('current') pw_local_group_id = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 13), pw_group_id()).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwLocalGroupID.setStatus('current') pw_group_attachment_id = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 14), pw_attachment_identifier_type()).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwGroupAttachmentID.setStatus('current') pw_local_attachment_id = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 15), pw_attachment_identifier_type()).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwLocalAttachmentID.setStatus('current') pw_remote_attachment_id = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 16), pw_attachment_identifier_type()).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwRemoteAttachmentID.setStatus('current') pw_cw_preference = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 17), truth_value().clone('false')).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwCwPreference.setStatus('current') pw_local_if_mtu = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 18), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwLocalIfMtu.setStatus('current') pw_local_if_string = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 19), truth_value().clone('false')).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwLocalIfString.setStatus('current') pw_local_capab_advert = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 20), iana_pw_capabilities()).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwLocalCapabAdvert.setStatus('current') pw_remote_group_id = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 21), pw_group_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwRemoteGroupID.setStatus('current') pw_cw_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 22), pw_cw_status_tc()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwCwStatus.setStatus('current') pw_remote_if_mtu = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 23), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwRemoteIfMtu.setStatus('current') pw_remote_if_string = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 24), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: pwRemoteIfString.setStatus('current') pw_remote_capabilities = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 25), iana_pw_capabilities()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwRemoteCapabilities.setStatus('current') pw_fragment_cfg_size = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 26), pw_frag_size()).setUnits('bytes').setMaxAccess('readcreate') if mibBuilder.loadTexts: pwFragmentCfgSize.setStatus('current') pw_rmt_frag_capability = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 27), pw_frag_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwRmtFragCapability.setStatus('current') pw_fcs_retention_cfg = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('fcsRetentionDisable', 1), ('fcsRetentionEnable', 2))).clone('fcsRetentionDisable')).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwFcsRetentionCfg.setStatus('current') pw_fcs_retention_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 29), bits().clone(namedValues=named_values(('remoteIndicationUnknown', 0), ('remoteRequestFcsRetention', 1), ('fcsRetentionEnabled', 2), ('fcsRetentionDisabled', 3), ('localFcsRetentionCfgErr', 4), ('fcsRetentionFcsSizeMismatch', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: pwFcsRetentionStatus.setStatus('current') pw_outbound_label = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 30), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwOutboundLabel.setStatus('current') pw_inbound_label = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 31), unsigned32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwInboundLabel.setStatus('current') pw_name = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 32), snmp_admin_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwName.setStatus('current') pw_descr = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 33), snmp_admin_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwDescr.setStatus('current') pw_create_time = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 34), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwCreateTime.setStatus('current') pw_up_time = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 35), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwUpTime.setStatus('current') pw_last_change = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 36), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwLastChange.setStatus('current') pw_admin_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 37), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('testing', 3)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwAdminStatus.setStatus('current') pw_oper_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 38), pw_oper_status_tc()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwOperStatus.setStatus('current') pw_local_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 39), pw_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwLocalStatus.setStatus('current') pw_remote_status_capable = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 40), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('notApplicable', 1), ('notYetKnown', 2), ('remoteCapable', 3), ('remoteNotCapable', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: pwRemoteStatusCapable.setStatus('current') pw_remote_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 41), pw_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwRemoteStatus.setStatus('current') pw_time_elapsed = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 42), hc_perf_time_elapsed()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwTimeElapsed.setStatus('current') pw_valid_intervals = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 43), hc_perf_valid_intervals()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwValidIntervals.setStatus('current') pw_row_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 44), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwRowStatus.setStatus('current') pw_storage_type = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 45), storage_type().clone('nonVolatile')).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwStorageType.setStatus('current') pw_oam_enable = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 46), truth_value().clone('true')).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwOamEnable.setStatus('current') pw_gen_agi_type = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 47), pw_gen_id_type()).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwGenAGIType.setStatus('current') pw_gen_local_aii_type = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 48), pw_gen_id_type()).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwGenLocalAIIType.setStatus('current') pw_gen_remote_aii_type = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 2, 1, 49), pw_gen_id_type()).setMaxAccess('readcreate') if mibBuilder.loadTexts: pwGenRemoteAIIType.setStatus('current') pw_perf_current_table = mib_table((1, 3, 6, 1, 2, 1, 10, 246, 1, 3)) if mibBuilder.loadTexts: pwPerfCurrentTable.setStatus('current') pw_perf_current_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 246, 1, 3, 1)).setIndexNames((0, 'PW-STD-MIB', 'pwIndex')) if mibBuilder.loadTexts: pwPerfCurrentEntry.setStatus('current') pw_perf_current_in_hc_packets = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 3, 1, 1), hc_perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerfCurrentInHCPackets.setStatus('current') pw_perf_current_in_hc_bytes = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 3, 1, 2), hc_perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerfCurrentInHCBytes.setStatus('current') pw_perf_current_out_hc_packets = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 3, 1, 3), hc_perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerfCurrentOutHCPackets.setStatus('current') pw_perf_current_out_hc_bytes = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 3, 1, 4), hc_perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerfCurrentOutHCBytes.setStatus('current') pw_perf_current_in_packets = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 3, 1, 5), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerfCurrentInPackets.setStatus('current') pw_perf_current_in_bytes = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 3, 1, 6), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerfCurrentInBytes.setStatus('current') pw_perf_current_out_packets = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 3, 1, 7), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerfCurrentOutPackets.setStatus('current') pw_perf_current_out_bytes = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 3, 1, 8), perf_current_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerfCurrentOutBytes.setStatus('current') pw_perf_interval_table = mib_table((1, 3, 6, 1, 2, 1, 10, 246, 1, 4)) if mibBuilder.loadTexts: pwPerfIntervalTable.setStatus('current') pw_perf_interval_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1)).setIndexNames((0, 'PW-STD-MIB', 'pwIndex'), (0, 'PW-STD-MIB', 'pwPerfIntervalNumber')) if mibBuilder.loadTexts: pwPerfIntervalEntry.setStatus('current') pw_perf_interval_number = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 96))) if mibBuilder.loadTexts: pwPerfIntervalNumber.setStatus('current') pw_perf_interval_valid_data = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 2), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerfIntervalValidData.setStatus('current') pw_perf_interval_time_elapsed = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 3), hc_perf_time_elapsed()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerfIntervalTimeElapsed.setStatus('current') pw_perf_interval_in_hc_packets = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 4), hc_perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerfIntervalInHCPackets.setStatus('current') pw_perf_interval_in_hc_bytes = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 5), hc_perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerfIntervalInHCBytes.setStatus('current') pw_perf_interval_out_hc_packets = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 6), hc_perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerfIntervalOutHCPackets.setStatus('current') pw_perf_interval_out_hc_bytes = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 7), hc_perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerfIntervalOutHCBytes.setStatus('current') pw_perf_interval_in_packets = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 8), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerfIntervalInPackets.setStatus('current') pw_perf_interval_in_bytes = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 9), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerfIntervalInBytes.setStatus('current') pw_perf_interval_out_packets = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 10), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerfIntervalOutPackets.setStatus('current') pw_perf_interval_out_bytes = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 4, 1, 11), perf_interval_count()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerfIntervalOutBytes.setStatus('current') pw_perf1_day_interval_table = mib_table((1, 3, 6, 1, 2, 1, 10, 246, 1, 5)) if mibBuilder.loadTexts: pwPerf1DayIntervalTable.setStatus('current') pw_perf1_day_interval_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 246, 1, 5, 1)).setIndexNames((0, 'PW-STD-MIB', 'pwIndex'), (0, 'PW-STD-MIB', 'pwPerf1DayIntervalNumber')) if mibBuilder.loadTexts: pwPerf1DayIntervalEntry.setStatus('current') pw_perf1_day_interval_number = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 5, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 31))) if mibBuilder.loadTexts: pwPerf1DayIntervalNumber.setStatus('current') pw_perf1_day_interval_valid_data = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 5, 1, 2), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerf1DayIntervalValidData.setStatus('current') pw_perf1_day_interval_time_elapsed = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 5, 1, 3), hc_perf_time_elapsed()).setUnits('seconds').setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerf1DayIntervalTimeElapsed.setStatus('current') pw_perf1_day_interval_in_hc_packets = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 5, 1, 4), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerf1DayIntervalInHCPackets.setStatus('current') pw_perf1_day_interval_in_hc_bytes = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 5, 1, 5), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerf1DayIntervalInHCBytes.setStatus('current') pw_perf1_day_interval_out_hc_packets = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 5, 1, 6), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerf1DayIntervalOutHCPackets.setStatus('current') pw_perf1_day_interval_out_hc_bytes = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 5, 1, 7), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerf1DayIntervalOutHCBytes.setStatus('current') pw_perf_total_error_packets = mib_scalar((1, 3, 6, 1, 2, 1, 10, 246, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPerfTotalErrorPackets.setStatus('current') pw_index_mapping_table = mib_table((1, 3, 6, 1, 2, 1, 10, 246, 1, 7)) if mibBuilder.loadTexts: pwIndexMappingTable.setStatus('current') pw_index_mapping_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 246, 1, 7, 1)).setIndexNames((0, 'PW-STD-MIB', 'pwIndexMappingPwType'), (0, 'PW-STD-MIB', 'pwIndexMappingPwID'), (0, 'PW-STD-MIB', 'pwIndexMappingPeerAddrType'), (0, 'PW-STD-MIB', 'pwIndexMappingPeerAddr')) if mibBuilder.loadTexts: pwIndexMappingEntry.setStatus('current') pw_index_mapping_pw_type = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 7, 1, 1), iana_pw_type_tc()) if mibBuilder.loadTexts: pwIndexMappingPwType.setStatus('current') pw_index_mapping_pw_id = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 7, 1, 2), pw_id_type()) if mibBuilder.loadTexts: pwIndexMappingPwID.setStatus('current') pw_index_mapping_peer_addr_type = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 7, 1, 3), inet_address_type()) if mibBuilder.loadTexts: pwIndexMappingPeerAddrType.setStatus('current') pw_index_mapping_peer_addr = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 7, 1, 4), inet_address()) if mibBuilder.loadTexts: pwIndexMappingPeerAddr.setStatus('current') pw_index_mapping_pw_index = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 7, 1, 5), pw_index_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwIndexMappingPwIndex.setStatus('current') pw_peer_mapping_table = mib_table((1, 3, 6, 1, 2, 1, 10, 246, 1, 8)) if mibBuilder.loadTexts: pwPeerMappingTable.setStatus('current') pw_peer_mapping_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 246, 1, 8, 1)).setIndexNames((0, 'PW-STD-MIB', 'pwPeerMappingPeerAddrType'), (0, 'PW-STD-MIB', 'pwPeerMappingPeerAddr'), (0, 'PW-STD-MIB', 'pwPeerMappingPwType'), (0, 'PW-STD-MIB', 'pwPeerMappingPwID')) if mibBuilder.loadTexts: pwPeerMappingEntry.setStatus('current') pw_peer_mapping_peer_addr_type = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 8, 1, 1), inet_address_type()) if mibBuilder.loadTexts: pwPeerMappingPeerAddrType.setStatus('current') pw_peer_mapping_peer_addr = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 8, 1, 2), inet_address()) if mibBuilder.loadTexts: pwPeerMappingPeerAddr.setStatus('current') pw_peer_mapping_pw_type = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 8, 1, 3), iana_pw_type_tc()) if mibBuilder.loadTexts: pwPeerMappingPwType.setStatus('current') pw_peer_mapping_pw_id = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 8, 1, 4), pw_id_type()) if mibBuilder.loadTexts: pwPeerMappingPwID.setStatus('current') pw_peer_mapping_pw_index = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 8, 1, 5), pw_index_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwPeerMappingPwIndex.setStatus('current') pw_up_down_notif_enable = mib_scalar((1, 3, 6, 1, 2, 1, 10, 246, 1, 9), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: pwUpDownNotifEnable.setStatus('current') pw_deleted_notif_enable = mib_scalar((1, 3, 6, 1, 2, 1, 10, 246, 1, 10), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: pwDeletedNotifEnable.setStatus('current') pw_notif_rate = mib_scalar((1, 3, 6, 1, 2, 1, 10, 246, 1, 11), unsigned32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: pwNotifRate.setStatus('current') pw_gen_fec_index_mapping_table = mib_table((1, 3, 6, 1, 2, 1, 10, 246, 1, 12)) if mibBuilder.loadTexts: pwGenFecIndexMappingTable.setStatus('current') pw_gen_fec_index_mapping_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 246, 1, 12, 1)).setIndexNames((0, 'PW-STD-MIB', 'pwGenFecIndexMappingAGIType'), (0, 'PW-STD-MIB', 'pwGenFecIndexMappingAGI'), (0, 'PW-STD-MIB', 'pwGenFecIndexMappingLocalAIIType'), (0, 'PW-STD-MIB', 'pwGenFecIndexMappingLocalAII'), (0, 'PW-STD-MIB', 'pwGenFecIndexMappingRemoteAIIType'), (0, 'PW-STD-MIB', 'pwGenFecIndexMappingRemoteAII')) if mibBuilder.loadTexts: pwGenFecIndexMappingEntry.setStatus('current') pw_gen_fec_index_mapping_agi_type = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 12, 1, 1), pw_gen_id_type()) if mibBuilder.loadTexts: pwGenFecIndexMappingAGIType.setStatus('current') pw_gen_fec_index_mapping_agi = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 12, 1, 2), pw_attachment_identifier_type()) if mibBuilder.loadTexts: pwGenFecIndexMappingAGI.setStatus('current') pw_gen_fec_index_mapping_local_aii_type = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 12, 1, 3), pw_gen_id_type()) if mibBuilder.loadTexts: pwGenFecIndexMappingLocalAIIType.setStatus('current') pw_gen_fec_index_mapping_local_aii = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 12, 1, 4), pw_attachment_identifier_type()) if mibBuilder.loadTexts: pwGenFecIndexMappingLocalAII.setStatus('current') pw_gen_fec_index_mapping_remote_aii_type = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 12, 1, 5), pw_gen_id_type()) if mibBuilder.loadTexts: pwGenFecIndexMappingRemoteAIIType.setStatus('current') pw_gen_fec_index_mapping_remote_aii = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 12, 1, 6), pw_attachment_identifier_type()) if mibBuilder.loadTexts: pwGenFecIndexMappingRemoteAII.setStatus('current') pw_gen_fec_index_mapping_pw_index = mib_table_column((1, 3, 6, 1, 2, 1, 10, 246, 1, 12, 1, 7), pw_index_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: pwGenFecIndexMappingPwIndex.setStatus('current') pw_down = notification_type((1, 3, 6, 1, 2, 1, 10, 246, 0, 1)).setObjects(('PW-STD-MIB', 'pwOperStatus'), ('PW-STD-MIB', 'pwOperStatus')) if mibBuilder.loadTexts: pwDown.setStatus('current') pw_up = notification_type((1, 3, 6, 1, 2, 1, 10, 246, 0, 2)).setObjects(('PW-STD-MIB', 'pwOperStatus'), ('PW-STD-MIB', 'pwOperStatus')) if mibBuilder.loadTexts: pwUp.setStatus('current') pw_deleted = notification_type((1, 3, 6, 1, 2, 1, 10, 246, 0, 3)).setObjects(('PW-STD-MIB', 'pwType'), ('PW-STD-MIB', 'pwID'), ('PW-STD-MIB', 'pwPeerAddrType'), ('PW-STD-MIB', 'pwPeerAddr')) if mibBuilder.loadTexts: pwDeleted.setStatus('current') pw_groups = mib_identifier((1, 3, 6, 1, 2, 1, 10, 246, 2, 1)) pw_compliances = mib_identifier((1, 3, 6, 1, 2, 1, 10, 246, 2, 2)) pw_module_full_compliance = module_compliance((1, 3, 6, 1, 2, 1, 10, 246, 2, 2, 1)).setObjects(('PW-STD-MIB', 'pwBasicGroup'), ('PW-STD-MIB', 'pwPerformanceGeneralGroup'), ('PW-STD-MIB', 'pwNotificationGroup'), ('PW-STD-MIB', 'pwPwIdGroup'), ('PW-STD-MIB', 'pwGeneralizedFecGroup'), ('PW-STD-MIB', 'pwFcsGroup'), ('PW-STD-MIB', 'pwFragGroup'), ('PW-STD-MIB', 'pwPwStatusGroup'), ('PW-STD-MIB', 'pwGetNextGroup'), ('PW-STD-MIB', 'pwPriorityGroup'), ('PW-STD-MIB', 'pwAttachmentGroup'), ('PW-STD-MIB', 'pwPeformance1DayIntervalGroup'), ('PW-STD-MIB', 'pwPerformanceIntervalGeneralGroup'), ('PW-STD-MIB', 'pwPeformanceIntervalGroup'), ('PW-STD-MIB', 'pwHCPeformanceIntervalGroup'), ('PW-STD-MIB', 'pwMappingTablesGroup'), ('PW-STD-MIB', 'pwSignalingGroup'), ('PW-STD-MIB', 'pwNotificationControlGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pw_module_full_compliance = pwModuleFullCompliance.setStatus('current') pw_module_read_only_compliance = module_compliance((1, 3, 6, 1, 2, 1, 10, 246, 2, 2, 2)).setObjects(('PW-STD-MIB', 'pwBasicGroup'), ('PW-STD-MIB', 'pwNotificationGroup'), ('PW-STD-MIB', 'pwPwIdGroup'), ('PW-STD-MIB', 'pwGeneralizedFecGroup'), ('PW-STD-MIB', 'pwFcsGroup'), ('PW-STD-MIB', 'pwFragGroup'), ('PW-STD-MIB', 'pwPwStatusGroup'), ('PW-STD-MIB', 'pwGetNextGroup'), ('PW-STD-MIB', 'pwPriorityGroup'), ('PW-STD-MIB', 'pwAttachmentGroup'), ('PW-STD-MIB', 'pwPeformance1DayIntervalGroup'), ('PW-STD-MIB', 'pwPerformanceIntervalGeneralGroup'), ('PW-STD-MIB', 'pwPeformanceIntervalGroup'), ('PW-STD-MIB', 'pwHCPeformanceIntervalGroup'), ('PW-STD-MIB', 'pwMappingTablesGroup'), ('PW-STD-MIB', 'pwSignalingGroup'), ('PW-STD-MIB', 'pwNotificationControlGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pw_module_read_only_compliance = pwModuleReadOnlyCompliance.setStatus('current') pw_basic_group = object_group((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 1)).setObjects(('PW-STD-MIB', 'pwType'), ('PW-STD-MIB', 'pwOwner'), ('PW-STD-MIB', 'pwPsnType'), ('PW-STD-MIB', 'pwIfIndex'), ('PW-STD-MIB', 'pwCwPreference'), ('PW-STD-MIB', 'pwLocalIfMtu'), ('PW-STD-MIB', 'pwOutboundLabel'), ('PW-STD-MIB', 'pwInboundLabel'), ('PW-STD-MIB', 'pwName'), ('PW-STD-MIB', 'pwDescr'), ('PW-STD-MIB', 'pwCreateTime'), ('PW-STD-MIB', 'pwUpTime'), ('PW-STD-MIB', 'pwLastChange'), ('PW-STD-MIB', 'pwAdminStatus'), ('PW-STD-MIB', 'pwOperStatus'), ('PW-STD-MIB', 'pwLocalStatus'), ('PW-STD-MIB', 'pwRowStatus'), ('PW-STD-MIB', 'pwStorageType'), ('PW-STD-MIB', 'pwOamEnable')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pw_basic_group = pwBasicGroup.setStatus('current') pw_pw_id_group = object_group((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 2)).setObjects(('PW-STD-MIB', 'pwID')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pw_pw_id_group = pwPwIdGroup.setStatus('current') pw_generalized_fec_group = object_group((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 3)).setObjects(('PW-STD-MIB', 'pwGroupAttachmentID'), ('PW-STD-MIB', 'pwLocalAttachmentID'), ('PW-STD-MIB', 'pwRemoteAttachmentID'), ('PW-STD-MIB', 'pwGenAGIType'), ('PW-STD-MIB', 'pwGenLocalAIIType'), ('PW-STD-MIB', 'pwGenRemoteAIIType')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pw_generalized_fec_group = pwGeneralizedFecGroup.setStatus('current') pw_fcs_group = object_group((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 4)).setObjects(('PW-STD-MIB', 'pwFcsRetentionCfg'), ('PW-STD-MIB', 'pwFcsRetentionStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pw_fcs_group = pwFcsGroup.setStatus('current') pw_frag_group = object_group((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 5)).setObjects(('PW-STD-MIB', 'pwFragmentCfgSize'), ('PW-STD-MIB', 'pwRmtFragCapability')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pw_frag_group = pwFragGroup.setStatus('current') pw_pw_status_group = object_group((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 6)).setObjects(('PW-STD-MIB', 'pwRemoteCapabilities'), ('PW-STD-MIB', 'pwRemoteStatusCapable'), ('PW-STD-MIB', 'pwRemoteStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pw_pw_status_group = pwPwStatusGroup.setStatus('current') pw_get_next_group = object_group((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 7)).setObjects(('PW-STD-MIB', 'pwIndexNext')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pw_get_next_group = pwGetNextGroup.setStatus('current') pw_priority_group = object_group((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 8)).setObjects(('PW-STD-MIB', 'pwSetUpPriority'), ('PW-STD-MIB', 'pwHoldingPriority')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pw_priority_group = pwPriorityGroup.setStatus('current') pw_attachment_group = object_group((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 9)).setObjects(('PW-STD-MIB', 'pwAttachedPwIndex')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pw_attachment_group = pwAttachmentGroup.setStatus('current') pw_performance_general_group = object_group((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 10)).setObjects(('PW-STD-MIB', 'pwPerfTotalErrorPackets')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pw_performance_general_group = pwPerformanceGeneralGroup.setStatus('current') pw_peformance1_day_interval_group = object_group((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 11)).setObjects(('PW-STD-MIB', 'pwPerf1DayIntervalValidData'), ('PW-STD-MIB', 'pwPerf1DayIntervalTimeElapsed'), ('PW-STD-MIB', 'pwPerf1DayIntervalInHCPackets'), ('PW-STD-MIB', 'pwPerf1DayIntervalInHCBytes'), ('PW-STD-MIB', 'pwPerf1DayIntervalOutHCPackets'), ('PW-STD-MIB', 'pwPerf1DayIntervalOutHCBytes')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pw_peformance1_day_interval_group = pwPeformance1DayIntervalGroup.setStatus('current') pw_performance_interval_general_group = object_group((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 12)).setObjects(('PW-STD-MIB', 'pwTimeElapsed'), ('PW-STD-MIB', 'pwValidIntervals'), ('PW-STD-MIB', 'pwPerfIntervalValidData'), ('PW-STD-MIB', 'pwPerfIntervalTimeElapsed')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pw_performance_interval_general_group = pwPerformanceIntervalGeneralGroup.setStatus('current') pw_peformance_interval_group = object_group((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 13)).setObjects(('PW-STD-MIB', 'pwPerfCurrentInPackets'), ('PW-STD-MIB', 'pwPerfCurrentInBytes'), ('PW-STD-MIB', 'pwPerfCurrentOutPackets'), ('PW-STD-MIB', 'pwPerfCurrentOutBytes'), ('PW-STD-MIB', 'pwPerfIntervalInPackets'), ('PW-STD-MIB', 'pwPerfIntervalInBytes'), ('PW-STD-MIB', 'pwPerfIntervalOutPackets'), ('PW-STD-MIB', 'pwPerfIntervalOutBytes')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pw_peformance_interval_group = pwPeformanceIntervalGroup.setStatus('current') pw_hc_peformance_interval_group = object_group((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 14)).setObjects(('PW-STD-MIB', 'pwPerfCurrentInHCPackets'), ('PW-STD-MIB', 'pwPerfCurrentInHCBytes'), ('PW-STD-MIB', 'pwPerfCurrentOutHCPackets'), ('PW-STD-MIB', 'pwPerfCurrentOutHCBytes'), ('PW-STD-MIB', 'pwPerfIntervalInHCPackets'), ('PW-STD-MIB', 'pwPerfIntervalInHCBytes'), ('PW-STD-MIB', 'pwPerfIntervalOutHCPackets'), ('PW-STD-MIB', 'pwPerfIntervalOutHCBytes')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pw_hc_peformance_interval_group = pwHCPeformanceIntervalGroup.setStatus('current') pw_mapping_tables_group = object_group((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 15)).setObjects(('PW-STD-MIB', 'pwIndexMappingPwIndex'), ('PW-STD-MIB', 'pwPeerMappingPwIndex'), ('PW-STD-MIB', 'pwGenFecIndexMappingPwIndex')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pw_mapping_tables_group = pwMappingTablesGroup.setStatus('current') pw_notification_control_group = object_group((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 16)).setObjects(('PW-STD-MIB', 'pwUpDownNotifEnable'), ('PW-STD-MIB', 'pwDeletedNotifEnable'), ('PW-STD-MIB', 'pwNotifRate')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pw_notification_control_group = pwNotificationControlGroup.setStatus('current') pw_notification_group = notification_group((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 17)).setObjects(('PW-STD-MIB', 'pwUp'), ('PW-STD-MIB', 'pwDown'), ('PW-STD-MIB', 'pwDeleted')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pw_notification_group = pwNotificationGroup.setStatus('current') pw_signaling_group = object_group((1, 3, 6, 1, 2, 1, 10, 246, 2, 1, 18)).setObjects(('PW-STD-MIB', 'pwPeerAddrType'), ('PW-STD-MIB', 'pwPeerAddr'), ('PW-STD-MIB', 'pwLocalGroupID'), ('PW-STD-MIB', 'pwLocalIfString'), ('PW-STD-MIB', 'pwLocalCapabAdvert'), ('PW-STD-MIB', 'pwRemoteGroupID'), ('PW-STD-MIB', 'pwCwStatus'), ('PW-STD-MIB', 'pwRemoteIfMtu'), ('PW-STD-MIB', 'pwRemoteIfString')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): pw_signaling_group = pwSignalingGroup.setStatus('current') mibBuilder.exportSymbols('PW-STD-MIB', pwGenFecIndexMappingPwIndex=pwGenFecIndexMappingPwIndex, pwGenFecIndexMappingRemoteAII=pwGenFecIndexMappingRemoteAII, pwIndexNext=pwIndexNext, pwFcsRetentionCfg=pwFcsRetentionCfg, pwPeerAddr=pwPeerAddr, pwConformance=pwConformance, pwIndexMappingTable=pwIndexMappingTable, pwGenFecIndexMappingEntry=pwGenFecIndexMappingEntry, pwPerf1DayIntervalInHCBytes=pwPerf1DayIntervalInHCBytes, PYSNMP_MODULE_ID=pwStdMIB, pwPerf1DayIntervalTimeElapsed=pwPerf1DayIntervalTimeElapsed, pwPerfIntervalInHCPackets=pwPerfIntervalInHCPackets, pwMappingTablesGroup=pwMappingTablesGroup, pwInboundLabel=pwInboundLabel, pwGenLocalAIIType=pwGenLocalAIIType, pwAdminStatus=pwAdminStatus, pwPeerMappingPwType=pwPeerMappingPwType, pwValidIntervals=pwValidIntervals, pwPerfCurrentOutHCBytes=pwPerfCurrentOutHCBytes, pwHoldingPriority=pwHoldingPriority, pwCwPreference=pwCwPreference, pwIndex=pwIndex, pwObjects=pwObjects, pwNotifications=pwNotifications, pwPerf1DayIntervalEntry=pwPerf1DayIntervalEntry, pwRemoteIfString=pwRemoteIfString, pwPerf1DayIntervalNumber=pwPerf1DayIntervalNumber, pwNotifRate=pwNotifRate, pwFragmentCfgSize=pwFragmentCfgSize, pwPerfIntervalOutBytes=pwPerfIntervalOutBytes, pwPerfCurrentInHCPackets=pwPerfCurrentInHCPackets, pwLocalAttachmentID=pwLocalAttachmentID, pwPerfCurrentOutHCPackets=pwPerfCurrentOutHCPackets, pwAttachedPwIndex=pwAttachedPwIndex, pwCwStatus=pwCwStatus, pwPerfIntervalValidData=pwPerfIntervalValidData, pwHCPeformanceIntervalGroup=pwHCPeformanceIntervalGroup, pwNotificationGroup=pwNotificationGroup, pwPerf1DayIntervalOutHCPackets=pwPerf1DayIntervalOutHCPackets, pwPeerMappingPwIndex=pwPeerMappingPwIndex, pwPerf1DayIntervalOutHCBytes=pwPerf1DayIntervalOutHCBytes, pwStorageType=pwStorageType, pwGroups=pwGroups, pwPerf1DayIntervalInHCPackets=pwPerf1DayIntervalInHCPackets, pwRmtFragCapability=pwRmtFragCapability, pwIndexMappingPwID=pwIndexMappingPwID, pwOamEnable=pwOamEnable, pwPerfTotalErrorPackets=pwPerfTotalErrorPackets, pwIndexMappingPwIndex=pwIndexMappingPwIndex, pwPeformanceIntervalGroup=pwPeformanceIntervalGroup, pwAttachmentGroup=pwAttachmentGroup, pwPerfCurrentOutPackets=pwPerfCurrentOutPackets, pwEntry=pwEntry, pwUpDownNotifEnable=pwUpDownNotifEnable, pwPeerMappingTable=pwPeerMappingTable, pwPerfCurrentInHCBytes=pwPerfCurrentInHCBytes, pwPerfIntervalTable=pwPerfIntervalTable, pwModuleReadOnlyCompliance=pwModuleReadOnlyCompliance, pwRowStatus=pwRowStatus, pwRemoteAttachmentID=pwRemoteAttachmentID, pwPerfIntervalEntry=pwPerfIntervalEntry, pwPerfIntervalOutPackets=pwPerfIntervalOutPackets, pwPeformance1DayIntervalGroup=pwPeformance1DayIntervalGroup, pwIndexMappingEntry=pwIndexMappingEntry, pwPeerMappingPeerAddr=pwPeerMappingPeerAddr, pwLocalIfString=pwLocalIfString, pwPerfIntervalInHCBytes=pwPerfIntervalInHCBytes, pwPeerMappingPeerAddrType=pwPeerMappingPeerAddrType, pwGenFecIndexMappingAGI=pwGenFecIndexMappingAGI, pwLocalStatus=pwLocalStatus, pwDeleted=pwDeleted, pwBasicGroup=pwBasicGroup, pwPerfCurrentTable=pwPerfCurrentTable, pwDescr=pwDescr, pwPerfCurrentInBytes=pwPerfCurrentInBytes, pwType=pwType, pwModuleFullCompliance=pwModuleFullCompliance, pwCreateTime=pwCreateTime, pwFcsGroup=pwFcsGroup, pwPeerAddrType=pwPeerAddrType, pwRemoteGroupID=pwRemoteGroupID, pwRemoteStatusCapable=pwRemoteStatusCapable, pwPerf1DayIntervalTable=pwPerf1DayIntervalTable, pwGenFecIndexMappingLocalAIIType=pwGenFecIndexMappingLocalAIIType, pwPerformanceGeneralGroup=pwPerformanceGeneralGroup, pwStdMIB=pwStdMIB, pwOwner=pwOwner, pwLocalGroupID=pwLocalGroupID, pwGroupAttachmentID=pwGroupAttachmentID, pwGenFecIndexMappingLocalAII=pwGenFecIndexMappingLocalAII, pwRemoteIfMtu=pwRemoteIfMtu, pwID=pwID, pwGeneralizedFecGroup=pwGeneralizedFecGroup, pwNotificationControlGroup=pwNotificationControlGroup, pwSignalingGroup=pwSignalingGroup, pwOperStatus=pwOperStatus, pwPerfIntervalInBytes=pwPerfIntervalInBytes, pwUp=pwUp, pwOutboundLabel=pwOutboundLabel, pwDeletedNotifEnable=pwDeletedNotifEnable, pwPerfIntervalOutHCBytes=pwPerfIntervalOutHCBytes, pwLocalIfMtu=pwLocalIfMtu, pwGenAGIType=pwGenAGIType, pwCompliances=pwCompliances, pwIndexMappingPeerAddrType=pwIndexMappingPeerAddrType, pwRemoteCapabilities=pwRemoteCapabilities, pwIndexMappingPwType=pwIndexMappingPwType, pwTable=pwTable, pwFragGroup=pwFragGroup, pwIfIndex=pwIfIndex, pwPerfIntervalNumber=pwPerfIntervalNumber, pwPerformanceIntervalGeneralGroup=pwPerformanceIntervalGeneralGroup, pwIndexMappingPeerAddr=pwIndexMappingPeerAddr, pwDown=pwDown, pwGenRemoteAIIType=pwGenRemoteAIIType, pwPeerMappingEntry=pwPeerMappingEntry, pwPsnType=pwPsnType, pwPriorityGroup=pwPriorityGroup, pwPerfCurrentOutBytes=pwPerfCurrentOutBytes, pwLastChange=pwLastChange, pwPerfIntervalInPackets=pwPerfIntervalInPackets, pwPeerMappingPwID=pwPeerMappingPwID, pwSetUpPriority=pwSetUpPriority, pwName=pwName, pwGenFecIndexMappingAGIType=pwGenFecIndexMappingAGIType, pwPwIdGroup=pwPwIdGroup, pwGenFecIndexMappingRemoteAIIType=pwGenFecIndexMappingRemoteAIIType, pwPerf1DayIntervalValidData=pwPerf1DayIntervalValidData, pwPerfCurrentInPackets=pwPerfCurrentInPackets, pwUpTime=pwUpTime, pwTimeElapsed=pwTimeElapsed, pwRemoteStatus=pwRemoteStatus, pwPwStatusGroup=pwPwStatusGroup, pwPerfIntervalTimeElapsed=pwPerfIntervalTimeElapsed, pwFcsRetentionStatus=pwFcsRetentionStatus, pwGenFecIndexMappingTable=pwGenFecIndexMappingTable, pwGetNextGroup=pwGetNextGroup, pwPerfIntervalOutHCPackets=pwPerfIntervalOutHCPackets, pwPerfCurrentEntry=pwPerfCurrentEntry, pwLocalCapabAdvert=pwLocalCapabAdvert)
numbers=[0, 1, 153, 370, 371, 407] def is_sum_of_cubes(s): res=[] temp="" for i in s: if i.isdigit(): temp+=i else: res.extend([temp[i:i+3] for i in range(0, len(temp), 3) if int(temp[i:i+3]) in numbers]) temp="" res.extend([temp[i:i+3] for i in range(0, len(temp), 3) if int(temp[i:i+3]) in numbers]) return " ".join(res)+f" {sum(int(i) for i in res)} Lucky" if res else "Unlucky"
numbers = [0, 1, 153, 370, 371, 407] def is_sum_of_cubes(s): res = [] temp = '' for i in s: if i.isdigit(): temp += i else: res.extend([temp[i:i + 3] for i in range(0, len(temp), 3) if int(temp[i:i + 3]) in numbers]) temp = '' res.extend([temp[i:i + 3] for i in range(0, len(temp), 3) if int(temp[i:i + 3]) in numbers]) return ' '.join(res) + f' {sum((int(i) for i in res))} Lucky' if res else 'Unlucky'
############################################### # Main UI component sizes ############################################### COLS = 6 ROWS = 6 CELL_WIDTH = 50 CELL_HEIGHT = CELL_WIDTH TOTAL_DICE = 7 WINDOW_WIDTH = CELL_WIDTH * TOTAL_DICE ROLL_DICE_LABEL_WIDTH = WINDOW_WIDTH ROLL_DICE_LABEL_HEIGHT = CELL_HEIGHT DICE_STRIP_TOP = ROLL_DICE_LABEL_HEIGHT DICE_STRIP_WIDTH = WINDOW_WIDTH DICE_STRIP_HEIGHT = CELL_HEIGHT COL_LABEL_STRIP_TOP = DICE_STRIP_TOP + CELL_HEIGHT SOLVE_LABEL_TOP = COL_LABEL_STRIP_TOP + CELL_HEIGHT + (ROWS * CELL_HEIGHT) SOLVE_LABEL_WIDTH = WINDOW_WIDTH SOLVE_LABEL_HEIGHT = CELL_HEIGHT GRID_TOP = ROLL_DICE_LABEL_HEIGHT + DICE_STRIP_HEIGHT + CELL_HEIGHT GRID_LEFT = CELL_WIDTH WINDOW_HEIGHT = ROLL_DICE_LABEL_HEIGHT + DICE_STRIP_HEIGHT + CELL_HEIGHT + (CELL_HEIGHT * ROWS ) + SOLVE_LABEL_HEIGHT FONT_SIZE = 20 BORDER_SIZE = 2 ############################################### # RGB Colors ############################################### BLACK = (0, 0, 0) WHITE = (255, 255, 255) RED = (255, 0, 0) GREEN = (0, 255, 0) BLUE = (0, 0, 255) YELLOW = (255, 255, 0) BROWN = (210, 105, 30) ORANGE = (255, 165, 0) DARK_GRAY = (140, 140, 140) PURPLE = (128, 0, 128) CYAN = (0, 255, 255) TAN = (220, 202, 152) ############################################### # Dice properties ############################################### DICE_COLUMN_IDS = "123456" DICE_ROW_IDS = "ABCDEF" DICE_CELL_BORDER_COLOR = BLACK DICE_CELL_COLOR = WHITE DICE_CELL_BORDER_SIZE = BORDER_SIZE DICE_CELL_FONT_COLOR = BLACK DICE_CELL_FONT_SIZE = FONT_SIZE # Dice values DICE_VALUES = [[(0, 0), (0, 2), (0, 3), (1, 3), (1, 4), (2, 5)], [(4, 0), (1, 5), (4, 0), (1, 5), (5, 1), (0, 4)], [(3, 0), (4, 1), (4, 2), (5, 2), (5, 3), (5, 5)], [(4, 5), (4, 4), (3, 5), (4, 3), (3, 4), (5, 4)], [(2, 2), (3, 2), (2, 3), (3, 1), (3, 3), (2, 4)], [(1, 1), (1, 0), (2, 0), (0, 1), (2, 1), (1, 2)], [(0, 5), (5, 0), (5, 0), (5, 0), (0, 5), (0, 5)]] ############################################### # Label properties ############################################### LABEL_BORDER_COLOR = WHITE LABEL_COLOR = BLACK LABEL_BORDER_SIZE = BORDER_SIZE LABEL_FONT_COLOR = WHITE LABEL_FONT_SIZE = FONT_SIZE ############################################### # Cell types ############################################### CELL_COLORS = [BLACK, # Empty cell BLUE, # Single-cell blue piece BROWN, # Double-cell brown piece ORANGE, # Straight triple-cell orange piece PURPLE, # Corner triple-cell purple piece DARK_GRAY, # Staight four-cell gray piece RED, # Zig-zag four-cell red piece YELLOW, # T-shape four-cell yellow piece CYAN, # L-shape four-cell cyan piece GREEN] # Green four-cell square CELL_BLOCKED = -1 CELL_EMPTY = 0 # Single-cell blue piece CELL_TYPE_1 = [[[1]]] # Double-cell brown piece CELL_TYPE_2 = [[[2], [2]], [[2, 2]]] # Straight triple-cell orange piece CELL_TYPE_3 = [[[3], [3], [3]], [[3, 3, 3]]] # Corner triple-cell purple piece CELL_TYPE_4 = [[[4, 4], [4, 0]], [[4, 4], [0, 4]], [[4, 0], [4, 4]], [[0, 4], [4, 4]]] # Staight four-cell gray piece CELL_TYPE_5 = [[[5], [5], [5], [5]], [[5, 5, 5, 5]]] # Zig-zag four-cell red piece CELL_TYPE_6 = [[[0, 6, 6], [6, 6, 0]], [[6, 6, 0], [0, 6, 6]], [[6, 0], [6, 6], [0, 6]], [[0, 6], [6, 6], [6, 0]]] # T-shape four-cell yellow piece CELL_TYPE_7 = [[[7, 0], [7, 7], [7, 0]], [[0, 7], [7, 7], [0, 7]], [[7, 7, 7], [0, 7, 0]], [[0, 7, 0], [7, 7, 7]]] # L-shape four-cell cyan piece CELL_TYPE_8 = [[[8, 0], [8, 0], [8, 8]], [[0, 8], [0, 8], [8, 8]], [[8, 8], [8, 0], [8, 0]], [[8, 8], [0, 8], [0, 8]], [[8, 8, 8], [8, 0, 0]], [[8, 8, 8], [0, 0, 8]], [[8, 0, 0], [8, 8, 8]], [[0, 0, 8], [8, 8, 8]]] # Green four-cell square CELL_TYPE_9 = [[[9, 9], [9, 9]]] # All the pieces in ascending order of size PIECE_SHAPES = [CELL_TYPE_1, CELL_TYPE_2, CELL_TYPE_3, CELL_TYPE_4, CELL_TYPE_5, CELL_TYPE_6, CELL_TYPE_7, CELL_TYPE_8, CELL_TYPE_9] ############################################### # PyGame ############################################### CLOCK_TICK = 30 SLEEP_DELAY = 0.01
cols = 6 rows = 6 cell_width = 50 cell_height = CELL_WIDTH total_dice = 7 window_width = CELL_WIDTH * TOTAL_DICE roll_dice_label_width = WINDOW_WIDTH roll_dice_label_height = CELL_HEIGHT dice_strip_top = ROLL_DICE_LABEL_HEIGHT dice_strip_width = WINDOW_WIDTH dice_strip_height = CELL_HEIGHT col_label_strip_top = DICE_STRIP_TOP + CELL_HEIGHT solve_label_top = COL_LABEL_STRIP_TOP + CELL_HEIGHT + ROWS * CELL_HEIGHT solve_label_width = WINDOW_WIDTH solve_label_height = CELL_HEIGHT grid_top = ROLL_DICE_LABEL_HEIGHT + DICE_STRIP_HEIGHT + CELL_HEIGHT grid_left = CELL_WIDTH window_height = ROLL_DICE_LABEL_HEIGHT + DICE_STRIP_HEIGHT + CELL_HEIGHT + CELL_HEIGHT * ROWS + SOLVE_LABEL_HEIGHT font_size = 20 border_size = 2 black = (0, 0, 0) white = (255, 255, 255) red = (255, 0, 0) green = (0, 255, 0) blue = (0, 0, 255) yellow = (255, 255, 0) brown = (210, 105, 30) orange = (255, 165, 0) dark_gray = (140, 140, 140) purple = (128, 0, 128) cyan = (0, 255, 255) tan = (220, 202, 152) dice_column_ids = '123456' dice_row_ids = 'ABCDEF' dice_cell_border_color = BLACK dice_cell_color = WHITE dice_cell_border_size = BORDER_SIZE dice_cell_font_color = BLACK dice_cell_font_size = FONT_SIZE dice_values = [[(0, 0), (0, 2), (0, 3), (1, 3), (1, 4), (2, 5)], [(4, 0), (1, 5), (4, 0), (1, 5), (5, 1), (0, 4)], [(3, 0), (4, 1), (4, 2), (5, 2), (5, 3), (5, 5)], [(4, 5), (4, 4), (3, 5), (4, 3), (3, 4), (5, 4)], [(2, 2), (3, 2), (2, 3), (3, 1), (3, 3), (2, 4)], [(1, 1), (1, 0), (2, 0), (0, 1), (2, 1), (1, 2)], [(0, 5), (5, 0), (5, 0), (5, 0), (0, 5), (0, 5)]] label_border_color = WHITE label_color = BLACK label_border_size = BORDER_SIZE label_font_color = WHITE label_font_size = FONT_SIZE cell_colors = [BLACK, BLUE, BROWN, ORANGE, PURPLE, DARK_GRAY, RED, YELLOW, CYAN, GREEN] cell_blocked = -1 cell_empty = 0 cell_type_1 = [[[1]]] cell_type_2 = [[[2], [2]], [[2, 2]]] cell_type_3 = [[[3], [3], [3]], [[3, 3, 3]]] cell_type_4 = [[[4, 4], [4, 0]], [[4, 4], [0, 4]], [[4, 0], [4, 4]], [[0, 4], [4, 4]]] cell_type_5 = [[[5], [5], [5], [5]], [[5, 5, 5, 5]]] cell_type_6 = [[[0, 6, 6], [6, 6, 0]], [[6, 6, 0], [0, 6, 6]], [[6, 0], [6, 6], [0, 6]], [[0, 6], [6, 6], [6, 0]]] cell_type_7 = [[[7, 0], [7, 7], [7, 0]], [[0, 7], [7, 7], [0, 7]], [[7, 7, 7], [0, 7, 0]], [[0, 7, 0], [7, 7, 7]]] cell_type_8 = [[[8, 0], [8, 0], [8, 8]], [[0, 8], [0, 8], [8, 8]], [[8, 8], [8, 0], [8, 0]], [[8, 8], [0, 8], [0, 8]], [[8, 8, 8], [8, 0, 0]], [[8, 8, 8], [0, 0, 8]], [[8, 0, 0], [8, 8, 8]], [[0, 0, 8], [8, 8, 8]]] cell_type_9 = [[[9, 9], [9, 9]]] piece_shapes = [CELL_TYPE_1, CELL_TYPE_2, CELL_TYPE_3, CELL_TYPE_4, CELL_TYPE_5, CELL_TYPE_6, CELL_TYPE_7, CELL_TYPE_8, CELL_TYPE_9] clock_tick = 30 sleep_delay = 0.01
class FrontMiddleBackQueue: def __init__(self): self.f = deque() self.b = deque() def pushFront(self, val: int) -> None: self.f.appendleft(val) self._balance() def pushMiddle(self, val: int) -> None: if len(self.f) > len(self.b): self.b.appendleft(self.f.pop()) self.f.append(val) def pushBack(self, val: int) -> None: self.b.append(val) self._balance() def popFront(self) -> int: v = self.f.popleft() if self.f else -1 self._balance() return v def popMiddle(self) -> int: v = self.f.pop() if self.f else -1 self._balance() return v def popBack(self) -> int: v = (self.b or self.f or [-1]).pop() self._balance() return v def _balance(self): if len(self.f) > len(self.b) + 1: self.b.appendleft(self.f.pop()) if len(self.f) < len(self.b): self.f.append(self.b.popleft())
class Frontmiddlebackqueue: def __init__(self): self.f = deque() self.b = deque() def push_front(self, val: int) -> None: self.f.appendleft(val) self._balance() def push_middle(self, val: int) -> None: if len(self.f) > len(self.b): self.b.appendleft(self.f.pop()) self.f.append(val) def push_back(self, val: int) -> None: self.b.append(val) self._balance() def pop_front(self) -> int: v = self.f.popleft() if self.f else -1 self._balance() return v def pop_middle(self) -> int: v = self.f.pop() if self.f else -1 self._balance() return v def pop_back(self) -> int: v = (self.b or self.f or [-1]).pop() self._balance() return v def _balance(self): if len(self.f) > len(self.b) + 1: self.b.appendleft(self.f.pop()) if len(self.f) < len(self.b): self.f.append(self.b.popleft())
class Contact: def __init__(self, firstname, middlename, address, mobile, lastname, nickname, title, company, home_phone_number, work_phone_number, fax_number, email_1, email_2, email_3, bday, bmonth, byear, aday, amonth, ayear, address_2, phone_2, notes): self.firstname = firstname self.middlename = middlename self.address = address self.mobile = mobile self.lastname = lastname self.nickname = nickname self.title = title self.company = company self.home = home_phone_number self.work = work_phone_number self.fax = fax_number self.email_1 = email_1 self.email_2 = email_2 self.email_3 = email_3 self.bday = bday self.bmonth = bmonth self.byear = byear self.aday = aday self.amonth = amonth self.ayear = ayear self.address2 = address_2 self.phone2 = phone_2 self.notes = notes
class Contact: def __init__(self, firstname, middlename, address, mobile, lastname, nickname, title, company, home_phone_number, work_phone_number, fax_number, email_1, email_2, email_3, bday, bmonth, byear, aday, amonth, ayear, address_2, phone_2, notes): self.firstname = firstname self.middlename = middlename self.address = address self.mobile = mobile self.lastname = lastname self.nickname = nickname self.title = title self.company = company self.home = home_phone_number self.work = work_phone_number self.fax = fax_number self.email_1 = email_1 self.email_2 = email_2 self.email_3 = email_3 self.bday = bday self.bmonth = bmonth self.byear = byear self.aday = aday self.amonth = amonth self.ayear = ayear self.address2 = address_2 self.phone2 = phone_2 self.notes = notes
n = int(input()) res = 1 f = 1 for i in range(1, n + 1): f *= i res += 1 / f print(res)
n = int(input()) res = 1 f = 1 for i in range(1, n + 1): f *= i res += 1 / f print(res)
class Node: def __init__(self, data): self.left = None self.right = None self.data = data def print_tree(self): if self.left: self.left.print_tree() print(self.data), if self.right: self.right.print_tree() def min_num(node): current = node if current: while current.left is not None: print("current.left:", current.left.data) current = current.left print("current", current.data) return current.data root = Node(12) root.left = Node(11) root.left.left = Node(10) root.left.left.left = Node(8) root.left.right = Node(14) root.right = Node(18) root.right.right = Node(20) root.right.left = Node(15) root.print_tree() print("minimum number in tree is %d" % (min_num(root)))
class Node: def __init__(self, data): self.left = None self.right = None self.data = data def print_tree(self): if self.left: self.left.print_tree() (print(self.data),) if self.right: self.right.print_tree() def min_num(node): current = node if current: while current.left is not None: print('current.left:', current.left.data) current = current.left print('current', current.data) return current.data root = node(12) root.left = node(11) root.left.left = node(10) root.left.left.left = node(8) root.left.right = node(14) root.right = node(18) root.right.right = node(20) root.right.left = node(15) root.print_tree() print('minimum number in tree is %d' % min_num(root))
class EdgeData(object): """Class used to store edge settings. Attributes ---------- type: str Shape of edge: 'Triangular', 'Rectangular', 'Custom, 'User Q' distance_m: float Distance to shore, in m. cust_coef: float Custom coefficient provided by user. number_ensembles: int Number of ensembles to average for depth and velocities. user_discharge_cms: float User supplied discharge for edge, in cms. """ def __init__(self): self.type = None # Shape of edge: 'Triangular', 'Rectangular', 'Custom, 'User Q' self.distance_m = None # Distance to shore self.cust_coef = None # Custom coefficient provided by user self.number_ensembles = None # Number of ensembles to average for depth and velocities self.user_discharge_cms = None # User supplied edge discharge. def populate_data(self, edge_type, distance=None, number_ensembles=10, coefficient=None, user_discharge=None): """Construct left or right edge object from provided inputs Parameters ---------- edge_type: str Type of edge (Triangular, Rectangular, Custom, UserQ) distance: float Distance to shore, in m. number_ensembles: int Number of edge ensembles for all types but UserQ coefficient: float User supplied custom edge coefficient. user_discharge: float User supplied edge discharge, in cms. """ # Set properties for custom coefficient self.type = edge_type self.distance_m = distance self.number_ensembles = number_ensembles self.user_discharge_cms = user_discharge self.cust_coef = coefficient def change_property(self, prop, setting): """Change edge data property Parameters ---------- prop: str Property to change. setting: New setting for property. """ setattr(self, prop, setting)
class Edgedata(object): """Class used to store edge settings. Attributes ---------- type: str Shape of edge: 'Triangular', 'Rectangular', 'Custom, 'User Q' distance_m: float Distance to shore, in m. cust_coef: float Custom coefficient provided by user. number_ensembles: int Number of ensembles to average for depth and velocities. user_discharge_cms: float User supplied discharge for edge, in cms. """ def __init__(self): self.type = None self.distance_m = None self.cust_coef = None self.number_ensembles = None self.user_discharge_cms = None def populate_data(self, edge_type, distance=None, number_ensembles=10, coefficient=None, user_discharge=None): """Construct left or right edge object from provided inputs Parameters ---------- edge_type: str Type of edge (Triangular, Rectangular, Custom, UserQ) distance: float Distance to shore, in m. number_ensembles: int Number of edge ensembles for all types but UserQ coefficient: float User supplied custom edge coefficient. user_discharge: float User supplied edge discharge, in cms. """ self.type = edge_type self.distance_m = distance self.number_ensembles = number_ensembles self.user_discharge_cms = user_discharge self.cust_coef = coefficient def change_property(self, prop, setting): """Change edge data property Parameters ---------- prop: str Property to change. setting: New setting for property. """ setattr(self, prop, setting)
# -*- coding: utf-8 -*- """ author :: @adityac8 """ ## SET PATHS ACCORDING TO WHERE DATA SHOULD BE STORED # This is where all audio files reside and features will be extracted audio_ftr_path='D:/workspace/aditya_akshita/temp/dcase_data' # We now tell the paths for audio, features and texts. wav_dev_fd = audio_ftr_path+'/audio/dev' wav_eva_fd = audio_ftr_path+'/audio/eva' dev_fd = audio_ftr_path+'/features/dev' eva_fd = audio_ftr_path+'/features/eva' label_csv = '../../dependencies/keras_aud/utils/dcase16_task1/dev/meta.txt' txt_eva_path = '../../dependencies/keras_aud/utils/dcase16_task1/eva/test.txt' eva_file = '../../dependencies/keras_aud/utils/dcase16_task1/eva/evaluate.txt' labels = [ 'bus', 'cafe/restaurant', 'car', 'city_center', 'forest_path', 'grocery_store', 'home', 'beach', 'library', 'metro_station', 'office', 'residential_area', 'train', 'tram', 'park' ] lb_to_id = {lb:id for id, lb in enumerate(labels)} id_to_lb = {id:lb for id, lb in enumerate(labels)}
""" author :: @adityac8 """ audio_ftr_path = 'D:/workspace/aditya_akshita/temp/dcase_data' wav_dev_fd = audio_ftr_path + '/audio/dev' wav_eva_fd = audio_ftr_path + '/audio/eva' dev_fd = audio_ftr_path + '/features/dev' eva_fd = audio_ftr_path + '/features/eva' label_csv = '../../dependencies/keras_aud/utils/dcase16_task1/dev/meta.txt' txt_eva_path = '../../dependencies/keras_aud/utils/dcase16_task1/eva/test.txt' eva_file = '../../dependencies/keras_aud/utils/dcase16_task1/eva/evaluate.txt' labels = ['bus', 'cafe/restaurant', 'car', 'city_center', 'forest_path', 'grocery_store', 'home', 'beach', 'library', 'metro_station', 'office', 'residential_area', 'train', 'tram', 'park'] lb_to_id = {lb: id for (id, lb) in enumerate(labels)} id_to_lb = {id: lb for (id, lb) in enumerate(labels)}
# pylint: skip-file # flake8: noqa def main(): ''' ansible oc module for project ''' module = AnsibleModule( argument_spec=dict( kubeconfig=dict(default='/etc/origin/master/admin.kubeconfig', type='str'), state=dict(default='present', type='str', choices=['present', 'absent', 'list']), debug=dict(default=False, type='bool'), name=dict(default=None, require=True, type='str'), display_name=dict(default=None, type='str'), node_selector=dict(default=None, type='list'), description=dict(default=None, type='str'), admin=dict(default=None, type='str'), admin_role=dict(default='admin', type='str'), ), supports_check_mode=True, ) rval = OCProject.run_ansible(module.params, module.check_mode) if 'failed' in rval: return module.fail_json(**rval) return module.exit_json(**rval) if __name__ == '__main__': main()
def main(): """ ansible oc module for project """ module = ansible_module(argument_spec=dict(kubeconfig=dict(default='/etc/origin/master/admin.kubeconfig', type='str'), state=dict(default='present', type='str', choices=['present', 'absent', 'list']), debug=dict(default=False, type='bool'), name=dict(default=None, require=True, type='str'), display_name=dict(default=None, type='str'), node_selector=dict(default=None, type='list'), description=dict(default=None, type='str'), admin=dict(default=None, type='str'), admin_role=dict(default='admin', type='str')), supports_check_mode=True) rval = OCProject.run_ansible(module.params, module.check_mode) if 'failed' in rval: return module.fail_json(**rval) return module.exit_json(**rval) if __name__ == '__main__': main()
class Solution: def hasPathSum(self, root: TreeNode, sum: int) -> bool: if not root: return False if root.left is None and root.right is None: return root.val == sum new_sum = sum - root.val return self.hasPathSum(root.left, new_sum) or self.hasPathSum(root.right, new_sum)
class Solution: def has_path_sum(self, root: TreeNode, sum: int) -> bool: if not root: return False if root.left is None and root.right is None: return root.val == sum new_sum = sum - root.val return self.hasPathSum(root.left, new_sum) or self.hasPathSum(root.right, new_sum)
def diagonal_sum(n): """ Finds the diagonal sum of a spiral of n by n An example: >>> diagonal_sum(5) 101 :param n: Number of rows and columns of the grid :type n int :return: Total of the numbers along the diagonal :rtype: int """ count = 1 last = 1 total = last while count < 2 * n - 1: i = int(count * 0.5 + 1.5) for _ in range(4): last += i total += last count += 1 return total if __name__ == "__main__": number = 1001 diag = diagonal_sum(number) print(f"Diagonal sum of {number} by {number} spiral is {diag}")
def diagonal_sum(n): """ Finds the diagonal sum of a spiral of n by n An example: >>> diagonal_sum(5) 101 :param n: Number of rows and columns of the grid :type n int :return: Total of the numbers along the diagonal :rtype: int """ count = 1 last = 1 total = last while count < 2 * n - 1: i = int(count * 0.5 + 1.5) for _ in range(4): last += i total += last count += 1 return total if __name__ == '__main__': number = 1001 diag = diagonal_sum(number) print(f'Diagonal sum of {number} by {number} spiral is {diag}')
# O(P + S) class Solution(object): def findAnagrams(self, s, p): p_count, cur_count, result = [0]*26, [0]*26, [] for c in p: p_count[self._char2ind(c)] += 1 p_len = len(p) a_start = 0 for i, c in enumerate(s): c_ind = self._char2ind(c) # wrong char, restart from next i + 1 if p_count[c_ind] == 0: cur_count = [0]*26 a_start = i + 1 # good char, count it elif cur_count[c_ind] < p_count[c_ind]: cur_count[c_ind] += 1 # if reached p len save result, move start by 1 pos if i - a_start + 1 == p_len: result.append(a_start) cur_count[self._char2ind(s[a_start])] -= 1 a_start += 1 # good char, but reached its limit already # move start until removed its last encounter else: for j in range(a_start, i): cur_count[self._char2ind(s[j])] -=1 a_start += 1 if s[j] == c: break cur_count[c_ind] +=1 return result def _char2ind(self, c): return ord(c.lower()) - ord('a') if __name__ == '__main__': s = input('s: ') p = input('p: ') print('Anagrams: ', Solution().findAnagrams(s, p))
class Solution(object): def find_anagrams(self, s, p): (p_count, cur_count, result) = ([0] * 26, [0] * 26, []) for c in p: p_count[self._char2ind(c)] += 1 p_len = len(p) a_start = 0 for (i, c) in enumerate(s): c_ind = self._char2ind(c) if p_count[c_ind] == 0: cur_count = [0] * 26 a_start = i + 1 elif cur_count[c_ind] < p_count[c_ind]: cur_count[c_ind] += 1 if i - a_start + 1 == p_len: result.append(a_start) cur_count[self._char2ind(s[a_start])] -= 1 a_start += 1 else: for j in range(a_start, i): cur_count[self._char2ind(s[j])] -= 1 a_start += 1 if s[j] == c: break cur_count[c_ind] += 1 return result def _char2ind(self, c): return ord(c.lower()) - ord('a') if __name__ == '__main__': s = input('s: ') p = input('p: ') print('Anagrams: ', solution().findAnagrams(s, p))
model_raw_data = [ { "Field": "Description", "model_id": "", "host_strain": "", "host_strain_full": "", "engraftment_site": "", "engraftment_type": "", "sample_type": "", "sample_state": "", "passage_number": "", "publications": "" }, { "Field": "Example", "model_id": "", "host_strain": "", "host_strain_full": "", "engraftment_site": "", "engraftment_type": "", "sample_type": "", "sample_state": "", "passage_number": "", "publications": "" }, { "Field": "Description", "model_id": "", "host_strain": "", "host_strain_full": "", "engraftment_site": "", "engraftment_type": "", "sample_type": "", "sample_state": "", "passage_number": "", "publications": "" }, { "Field": "Essential?", "model_id": "", "host_strain": "", "host_strain_full": "", "engraftment_site": "", "engraftment_type": "", "sample_type": "", "sample_state": "", "passage_number": "", "publications": "" }, { "Field": None, "model_id": "BRC0013PR", "host_strain": "NOD SCID GAMMA", "host_strain_full": "NOD.Cg-Prkdcscid Il2rgtm1Sug/JicTac", "engraftment_site": "interscapular fat pad", "engraftment_type": "heterotopic", "sample_type": "tissue fragment", "sample_state": "fresh", "passage_number": "0", "publications": "" }, { "Field": None, "model_id": "BRC0015PR", "host_strain": "NOD SCID GAMMA", "host_strain_full": "NOD.Cg-Prkdcscid Il2rgtm1Sug/JicTac", "engraftment_site": "interscapular fat pad", "engraftment_type": "heterotopic", "sample_type": "tissue fragment", "sample_state": "fresh", "passage_number": "0,1,2,3", "publications": "PMID: 27626319" } ] molecular_data_raw_data = [ { "model_id": "CRL-449", "sample_id": "MAXF_449-8651", "sample_origin": "xenograft", "passage": "20", "host_strain_nomenclature": "NMRI", "chromosome": "", "seq_start_position": "", "seq_end_position": "", "symbol": "5_8S_rRNA", "ucsc_gene_id": "", "ncbi_gene_id": "", "ensembl_gene_id": "ENSG00000275877.1", "log10r_cna": "", "log2r_cna": "", "copy_number_status": "", "gistic_value": "", "picnic_value": "", "genome_assembly": "GRCh38", "platform": "Affymetrix SNP6.0" }, { "model_id": "CRL-449", "sample_id": "MAXF_449-8651", "sample_origin": "xenograft", "passage": "20", "host_strain_nomenclature": "NMRI", "chromosome": "", "seq_start_position": "", "seq_end_position": "", "symbol": "5_8S_rRNA", "ucsc_gene_id": "", "ncbi_gene_id": "", "ensembl_gene_id": "ENSG00000276871.1", "log10r_cna": "", "log2r_cna": "", "copy_number_status": "", "gistic_value": "", "picnic_value": "", "genome_assembly": "GRCh38", "platform": "Affymetrix SNP6.0" } ]
model_raw_data = [{'Field': 'Description', 'model_id': '', 'host_strain': '', 'host_strain_full': '', 'engraftment_site': '', 'engraftment_type': '', 'sample_type': '', 'sample_state': '', 'passage_number': '', 'publications': ''}, {'Field': 'Example', 'model_id': '', 'host_strain': '', 'host_strain_full': '', 'engraftment_site': '', 'engraftment_type': '', 'sample_type': '', 'sample_state': '', 'passage_number': '', 'publications': ''}, {'Field': 'Description', 'model_id': '', 'host_strain': '', 'host_strain_full': '', 'engraftment_site': '', 'engraftment_type': '', 'sample_type': '', 'sample_state': '', 'passage_number': '', 'publications': ''}, {'Field': 'Essential?', 'model_id': '', 'host_strain': '', 'host_strain_full': '', 'engraftment_site': '', 'engraftment_type': '', 'sample_type': '', 'sample_state': '', 'passage_number': '', 'publications': ''}, {'Field': None, 'model_id': 'BRC0013PR', 'host_strain': 'NOD SCID GAMMA', 'host_strain_full': 'NOD.Cg-Prkdcscid Il2rgtm1Sug/JicTac', 'engraftment_site': 'interscapular fat pad', 'engraftment_type': 'heterotopic', 'sample_type': 'tissue fragment', 'sample_state': 'fresh', 'passage_number': '0', 'publications': ''}, {'Field': None, 'model_id': 'BRC0015PR', 'host_strain': 'NOD SCID GAMMA', 'host_strain_full': 'NOD.Cg-Prkdcscid Il2rgtm1Sug/JicTac', 'engraftment_site': 'interscapular fat pad', 'engraftment_type': 'heterotopic', 'sample_type': 'tissue fragment', 'sample_state': 'fresh', 'passage_number': '0,1,2,3', 'publications': 'PMID: 27626319'}] molecular_data_raw_data = [{'model_id': 'CRL-449', 'sample_id': 'MAXF_449-8651', 'sample_origin': 'xenograft', 'passage': '20', 'host_strain_nomenclature': 'NMRI', 'chromosome': '', 'seq_start_position': '', 'seq_end_position': '', 'symbol': '5_8S_rRNA', 'ucsc_gene_id': '', 'ncbi_gene_id': '', 'ensembl_gene_id': 'ENSG00000275877.1', 'log10r_cna': '', 'log2r_cna': '', 'copy_number_status': '', 'gistic_value': '', 'picnic_value': '', 'genome_assembly': 'GRCh38', 'platform': 'Affymetrix SNP6.0'}, {'model_id': 'CRL-449', 'sample_id': 'MAXF_449-8651', 'sample_origin': 'xenograft', 'passage': '20', 'host_strain_nomenclature': 'NMRI', 'chromosome': '', 'seq_start_position': '', 'seq_end_position': '', 'symbol': '5_8S_rRNA', 'ucsc_gene_id': '', 'ncbi_gene_id': '', 'ensembl_gene_id': 'ENSG00000276871.1', 'log10r_cna': '', 'log2r_cna': '', 'copy_number_status': '', 'gistic_value': '', 'picnic_value': '', 'genome_assembly': 'GRCh38', 'platform': 'Affymetrix SNP6.0'}]
def convert_into_24hr(time_12hr): if time_12hr[-2:] == "AM": remove_am = time_12hr.replace('AM', '') if time_12hr[:2] == "12": x = remove_am.replace('12', '00') return x return remove_am elif time_12hr[-2:] == "PM": remove_pm = time_12hr.replace('PM', '') if time_12hr[:2] == "12": return remove_pm hour = int(time_12hr[:2]) hour_24format = str(hour + 12) hour_24format = remove_pm.replace(remove_pm[:2], hour_24format) return hour_24format print(convert_into_24hr("12:01:00PM")) print(convert_into_24hr("12:01:00AM")) print(convert_into_24hr("07:05:45PM"))
def convert_into_24hr(time_12hr): if time_12hr[-2:] == 'AM': remove_am = time_12hr.replace('AM', '') if time_12hr[:2] == '12': x = remove_am.replace('12', '00') return x return remove_am elif time_12hr[-2:] == 'PM': remove_pm = time_12hr.replace('PM', '') if time_12hr[:2] == '12': return remove_pm hour = int(time_12hr[:2]) hour_24format = str(hour + 12) hour_24format = remove_pm.replace(remove_pm[:2], hour_24format) return hour_24format print(convert_into_24hr('12:01:00PM')) print(convert_into_24hr('12:01:00AM')) print(convert_into_24hr('07:05:45PM'))
#https://www.lintcode.com/problem/wildcard-matching/description?_from=ladder&&fromId=1 class Solution: """ @param s: A string @param p: A string includes "?" and "*" @return: is Match? """ def isMatch(self, s, p): # write your code here memo = {} return self.dfs(s, 0, p, 0, memo) def dfs(self, s, sIndex, p, pIndex, memo): if pIndex == len(p): return sIndex == len(s) if sIndex == len(s): return self.isAllStar(p,pIndex) if (sIndex,pIndex) in memo: return memo[sIndex,pIndex] match = False if p[pIndex] == '*': match = self.dfs(s, sIndex+1, p, pIndex, memo) or self.dfs(s, sIndex, p, pIndex + 1,memo) else: match = (s[sIndex] == p[pIndex] or p[pIndex] == '?') and self.dfs(s, sIndex + 1, p, pIndex + 1, memo) memo[sIndex,pIndex] = match return match def isAllStar(self, p, index): newStr = p[index:] for c in newStr: if c != '*': return False return True
class Solution: """ @param s: A string @param p: A string includes "?" and "*" @return: is Match? """ def is_match(self, s, p): memo = {} return self.dfs(s, 0, p, 0, memo) def dfs(self, s, sIndex, p, pIndex, memo): if pIndex == len(p): return sIndex == len(s) if sIndex == len(s): return self.isAllStar(p, pIndex) if (sIndex, pIndex) in memo: return memo[sIndex, pIndex] match = False if p[pIndex] == '*': match = self.dfs(s, sIndex + 1, p, pIndex, memo) or self.dfs(s, sIndex, p, pIndex + 1, memo) else: match = (s[sIndex] == p[pIndex] or p[pIndex] == '?') and self.dfs(s, sIndex + 1, p, pIndex + 1, memo) memo[sIndex, pIndex] = match return match def is_all_star(self, p, index): new_str = p[index:] for c in newStr: if c != '*': return False return True
# -*- coding: utf-8 -*- """ Created on Fri Jun 2 00:59:53 2017 @author: azkei """ #
""" Created on Fri Jun 2 00:59:53 2017 @author: azkei """
#Ex.14 num = int(input()) if num >= 0: res = pow(num, 1/2) else: res = pow(num, 2) print(res)
num = int(input()) if num >= 0: res = pow(num, 1 / 2) else: res = pow(num, 2) print(res)
# https://github.com/EricCharnesky/CIS2001-Winter2022/blob/main/Week5-StacksAndQueues/main.py class Stack: # O(1) def __init__(self): self._data = [] # O(1) def push(self, item): self._data.append(item) # O(1) def pop(self): return self._data.pop() # O(1) def peek(self): return self._data[len(self._data)-1] # O(1) def is_empty(self): return len(self._data) == 0 # O(1) def __len__(self): return len(self._data) class Queue: _MINIMUM_SIZE = 10 def __init__(self): self._data = [None] * self._MINIMUM_SIZE self._front_index = 0 self._back_index = 0 # O(1) def enqueue(self, item): self._data[self._back_index] = item self._back_index += 1 if self._back_index == len(self._data): self._back_index = 0 if self._back_index == self._front_index: self._resize() # O(1) def dequeue(self): if self.is_empty(): raise IndexError item = self._data[self._front_index] self._data[self._front_index] = None self._front_index += 1 if self._front_index == len(self._data): self._front_index = 0 # 10 becomes the minimum size if self._MINIMUM_SIZE < len(self) * 4 < len(self._data): self._resize_smaller() return item # O(1) def front(self): if self.is_empty(): raise IndexError return self._data[self._front_index] # O(1) def is_empty(self): return len(self) == 0 # O(1) def __len__(self): if self._back_index < self._front_index: return len(self._data) - self._front_index + self._back_index return self._back_index - self._front_index # O(n) def _resize(self): new_data = [None] * len(self._data) * 2 new_index = 0 for index in range(self._front_index, len(self._data)): new_data[new_index] = self._data[index] new_index += 1 for index in range(0, self._front_index): new_data[new_index] = self._data[index] new_index += 1 self._data = new_data self._front_index = 0 self._back_index = new_index # O(n) def _resize_smaller(self): new_data = [None] * ( len(self._data) // 2 ) for index in range(len(self)): new_data[index] = self._data[( self._front_index + index ) % len(self._data)] number_of_items = len(self) self._data = new_data self._front_index = 0 self._back_index = number_of_items
class Stack: def __init__(self): self._data = [] def push(self, item): self._data.append(item) def pop(self): return self._data.pop() def peek(self): return self._data[len(self._data) - 1] def is_empty(self): return len(self._data) == 0 def __len__(self): return len(self._data) class Queue: _minimum_size = 10 def __init__(self): self._data = [None] * self._MINIMUM_SIZE self._front_index = 0 self._back_index = 0 def enqueue(self, item): self._data[self._back_index] = item self._back_index += 1 if self._back_index == len(self._data): self._back_index = 0 if self._back_index == self._front_index: self._resize() def dequeue(self): if self.is_empty(): raise IndexError item = self._data[self._front_index] self._data[self._front_index] = None self._front_index += 1 if self._front_index == len(self._data): self._front_index = 0 if self._MINIMUM_SIZE < len(self) * 4 < len(self._data): self._resize_smaller() return item def front(self): if self.is_empty(): raise IndexError return self._data[self._front_index] def is_empty(self): return len(self) == 0 def __len__(self): if self._back_index < self._front_index: return len(self._data) - self._front_index + self._back_index return self._back_index - self._front_index def _resize(self): new_data = [None] * len(self._data) * 2 new_index = 0 for index in range(self._front_index, len(self._data)): new_data[new_index] = self._data[index] new_index += 1 for index in range(0, self._front_index): new_data[new_index] = self._data[index] new_index += 1 self._data = new_data self._front_index = 0 self._back_index = new_index def _resize_smaller(self): new_data = [None] * (len(self._data) // 2) for index in range(len(self)): new_data[index] = self._data[(self._front_index + index) % len(self._data)] number_of_items = len(self) self._data = new_data self._front_index = 0 self._back_index = number_of_items
class Hello: def __init__(self): self._message = 'Hello world!' def get_message(self): return self._message def main(self): message = self.get_message() print(message) Hello().main()
class Hello: def __init__(self): self._message = 'Hello world!' def get_message(self): return self._message def main(self): message = self.get_message() print(message) hello().main()
"""Heuristic demonstrating conversion of the PhoenixZIPReport from Siemens. It only cares about converting a series with have PhoenixZIPReport in their series_description and outputs **only to sourcedata**. """ def create_key(template, outtype=('nii.gz',), annotation_classes=None): if template is None or not template: raise ValueError('Template must be a valid format string') return template, outtype, annotation_classes def infotodict(seqinfo): """Heuristic evaluator for determining which runs belong where allowed template fields - follow python string module: item: index within category subject: participant id seqitem: run number during scanning subindex: sub index within group """ sbref = create_key('sub-{subject}/func/sub-{subject}_task-QA_sbref', outtype=('nii.gz', 'dicom',)) scout = create_key('sub-{subject}/anat/sub-{subject}_T1w', outtype=('nii.gz', 'dicom',)) phoenix_doc = create_key('sub-{subject}/misc/sub-{subject}_phoenix', outtype=('dicom',)) info = {sbref: [], scout: [], phoenix_doc: []} for s in seqinfo: if ( 'PhoenixZIPReport' in s.series_description and s.image_type[3] == 'CSA REPORT' ): info[phoenix_doc].append({'item': s.series_id}) if 'scout' in s.series_description.lower(): info[scout].append({'item': s.series_id}) return info
"""Heuristic demonstrating conversion of the PhoenixZIPReport from Siemens. It only cares about converting a series with have PhoenixZIPReport in their series_description and outputs **only to sourcedata**. """ def create_key(template, outtype=('nii.gz',), annotation_classes=None): if template is None or not template: raise value_error('Template must be a valid format string') return (template, outtype, annotation_classes) def infotodict(seqinfo): """Heuristic evaluator for determining which runs belong where allowed template fields - follow python string module: item: index within category subject: participant id seqitem: run number during scanning subindex: sub index within group """ sbref = create_key('sub-{subject}/func/sub-{subject}_task-QA_sbref', outtype=('nii.gz', 'dicom')) scout = create_key('sub-{subject}/anat/sub-{subject}_T1w', outtype=('nii.gz', 'dicom')) phoenix_doc = create_key('sub-{subject}/misc/sub-{subject}_phoenix', outtype=('dicom',)) info = {sbref: [], scout: [], phoenix_doc: []} for s in seqinfo: if 'PhoenixZIPReport' in s.series_description and s.image_type[3] == 'CSA REPORT': info[phoenix_doc].append({'item': s.series_id}) if 'scout' in s.series_description.lower(): info[scout].append({'item': s.series_id}) return info
""" Author: Tong Time: --2021 """ dataset_map = {"seq-clinc150": "c", "seq-maven": "m", "seq-webred": "w"} def generate_cmd(): cmd_list = [] info_list = [] for dataset in ["seq-clinc150"]: for ptm in ["bert"]: info = "{description}_{var}_{var1}_{var2}".format(description="e10", var=dataset_map[dataset], var1=ptm, var2="joint") cmd = 'python3 -m analyze.backbone_flops --info {info} --dataset {dataset} ' \ '--ptm {ptm} '.format(dataset=dataset, ptm=ptm, info=info) info_list.append(info) cmd_list.append(cmd) return cmd_list, info_list
""" Author: Tong Time: --2021 """ dataset_map = {'seq-clinc150': 'c', 'seq-maven': 'm', 'seq-webred': 'w'} def generate_cmd(): cmd_list = [] info_list = [] for dataset in ['seq-clinc150']: for ptm in ['bert']: info = '{description}_{var}_{var1}_{var2}'.format(description='e10', var=dataset_map[dataset], var1=ptm, var2='joint') cmd = 'python3 -m analyze.backbone_flops --info {info} --dataset {dataset} --ptm {ptm} '.format(dataset=dataset, ptm=ptm, info=info) info_list.append(info) cmd_list.append(cmd) return (cmd_list, info_list)
"""pyavreceiver errors.""" class AVReceiverError(Exception): """Base class for library errors.""" class AVReceiverInvalidArgumentError(AVReceiverError): """Invalid argument error.""" class AVReceiverIncompatibleDeviceError(AVReceiverError): """Invalid argument error.""" class QosTooHigh(AVReceiverError): """QoS too high error.""" def __init__(self): self.message = "Highest QoS value is reserved for resent commands." super().__init__(self.message)
"""pyavreceiver errors.""" class Avreceivererror(Exception): """Base class for library errors.""" class Avreceiverinvalidargumenterror(AVReceiverError): """Invalid argument error.""" class Avreceiverincompatibledeviceerror(AVReceiverError): """Invalid argument error.""" class Qostoohigh(AVReceiverError): """QoS too high error.""" def __init__(self): self.message = 'Highest QoS value is reserved for resent commands.' super().__init__(self.message)
class Solution: def findReplaceString(self, S: str, indexes: List[int], sources: List[str], targets: List[str]) -> str: n = len(indexes) changes = [] for i in range(n): idx = indexes[i] source = sources[i] target = targets[i] m = len(source) if S[idx: idx + m] != source: continue changes.append([idx, idx + m, target]) left = 0 result = "" changes.sort() for start, end, target in changes: result = result + S[left : start] + target left = end result += S[left:] return result
class Solution: def find_replace_string(self, S: str, indexes: List[int], sources: List[str], targets: List[str]) -> str: n = len(indexes) changes = [] for i in range(n): idx = indexes[i] source = sources[i] target = targets[i] m = len(source) if S[idx:idx + m] != source: continue changes.append([idx, idx + m, target]) left = 0 result = '' changes.sort() for (start, end, target) in changes: result = result + S[left:start] + target left = end result += S[left:] return result
#proof of concept def set_logger(custom_log): set_logger.__custom_logger = custom_log def log(text): set_logger.__custom_logger.log(text)
def set_logger(custom_log): set_logger.__custom_logger = custom_log def log(text): set_logger.__custom_logger.log(text)
# Semigroup + identity property = Monoid # The number 0 works well as an identity element for addition print(2 + 0 == 2) # Monoids don't have to be numbers
print(2 + 0 == 2)
cx_db = 'plocal://localhost:2424/na_server' cx_version = 'wild_type' initial_drop = False model_version = "Givon17"
cx_db = 'plocal://localhost:2424/na_server' cx_version = 'wild_type' initial_drop = False model_version = 'Givon17'
deps = [ "pip", # install dependencies "pyglet", # rendering engine "pyjsparser", # javascript parser ]
deps = ['pip', 'pyglet', 'pyjsparser']
for tt in range(int(input())): n,m,k = map(int,input().split()) k1 = m-1 + m*(n-1) if k1 == k: print('YES') else: print('NO')
for tt in range(int(input())): (n, m, k) = map(int, input().split()) k1 = m - 1 + m * (n - 1) if k1 == k: print('YES') else: print('NO')
#!/usr/bin/python # -*- coding: utf-8 -*- # Author: illuz <iilluzen[at]gmail.com> # File: AC_stack_n.py # Create Date: 2015-07-26 10:53:38 # Usage: AC_stack_n.py # Descripton: # Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: # @param {TreeNode} root # @return {TreeNode} def invertTree(self, root): stack = [root] while stack: node = stack.pop() if node: node.left, node.right = node.right, node.left stack.append(node.left) stack.append(node.right) return root
class Treenode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def invert_tree(self, root): stack = [root] while stack: node = stack.pop() if node: (node.left, node.right) = (node.right, node.left) stack.append(node.left) stack.append(node.right) return root
def to_digits(n): list = [] while n: list.append(n%10) n //= 10 list.reverse() return list def main(): print(to_digits(123)) # Expected output : [1, 2, 3] print(to_digits(99999)) # Expected output : [9, 9, 9, 9, 9] print(to_digits(123023)) # Expected output : [1, 2, 3, 0, 2, 3] if __name__ == '__main__': main()
def to_digits(n): list = [] while n: list.append(n % 10) n //= 10 list.reverse() return list def main(): print(to_digits(123)) print(to_digits(99999)) print(to_digits(123023)) if __name__ == '__main__': main()
# # PySNMP MIB module LM-SENSORS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/LM-SENSORS-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:58:12 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) # OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ValueSizeConstraint, ValueRangeConstraint, ConstraintsUnion, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsUnion", "ConstraintsIntersection") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") NotificationType, TimeTicks, IpAddress, Gauge32, Counter32, MibScalar, MibTable, MibTableRow, MibTableColumn, Unsigned32, Counter64, MibIdentifier, Bits, Integer32, iso, ModuleIdentity, ObjectIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "TimeTicks", "IpAddress", "Gauge32", "Counter32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Unsigned32", "Counter64", "MibIdentifier", "Bits", "Integer32", "iso", "ModuleIdentity", "ObjectIdentity") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") ucdExperimental, = mibBuilder.importSymbols("UCD-SNMP-MIB", "ucdExperimental") lmSensorsMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 2021, 13, 16, 1)) lmSensorsMIB.setRevisions(('2000-11-05 00:00',)) if mibBuilder.loadTexts: lmSensorsMIB.setLastUpdated('200011050000Z') if mibBuilder.loadTexts: lmSensorsMIB.setOrganization('AdamsNames Ltd') lmSensors = MibIdentifier((1, 3, 6, 1, 4, 1, 2021, 13, 16)) lmTempSensorsTable = MibTable((1, 3, 6, 1, 4, 1, 2021, 13, 16, 2), ) if mibBuilder.loadTexts: lmTempSensorsTable.setStatus('current') lmTempSensorsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2021, 13, 16, 2, 1), ).setIndexNames((0, "LM-SENSORS-MIB", "lmTempSensorsIndex")) if mibBuilder.loadTexts: lmTempSensorsEntry.setStatus('current') lmTempSensorsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 13, 16, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: lmTempSensorsIndex.setStatus('current') lmTempSensorsDevice = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 13, 16, 2, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmTempSensorsDevice.setStatus('current') lmTempSensorsValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 13, 16, 2, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmTempSensorsValue.setStatus('current') lmFanSensorsTable = MibTable((1, 3, 6, 1, 4, 1, 2021, 13, 16, 3), ) if mibBuilder.loadTexts: lmFanSensorsTable.setStatus('current') lmFanSensorsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2021, 13, 16, 3, 1), ).setIndexNames((0, "LM-SENSORS-MIB", "lmFanSensorsIndex")) if mibBuilder.loadTexts: lmFanSensorsEntry.setStatus('current') lmFanSensorsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 13, 16, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: lmFanSensorsIndex.setStatus('current') lmFanSensorsDevice = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 13, 16, 3, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmFanSensorsDevice.setStatus('current') lmFanSensorsValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 13, 16, 3, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmFanSensorsValue.setStatus('current') lmVoltSensorsTable = MibTable((1, 3, 6, 1, 4, 1, 2021, 13, 16, 4), ) if mibBuilder.loadTexts: lmVoltSensorsTable.setStatus('current') lmVoltSensorsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2021, 13, 16, 4, 1), ).setIndexNames((0, "LM-SENSORS-MIB", "lmVoltSensorsIndex")) if mibBuilder.loadTexts: lmVoltSensorsEntry.setStatus('current') lmVoltSensorsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 13, 16, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: lmVoltSensorsIndex.setStatus('current') lmVoltSensorsDevice = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 13, 16, 4, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmVoltSensorsDevice.setStatus('current') lmVoltSensorsValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 13, 16, 4, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmVoltSensorsValue.setStatus('current') lmMiscSensorsTable = MibTable((1, 3, 6, 1, 4, 1, 2021, 13, 16, 5), ) if mibBuilder.loadTexts: lmMiscSensorsTable.setStatus('current') lmMiscSensorsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2021, 13, 16, 5, 1), ).setIndexNames((0, "LM-SENSORS-MIB", "lmMiscSensorsIndex")) if mibBuilder.loadTexts: lmMiscSensorsEntry.setStatus('current') lmMiscSensorsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 13, 16, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: lmMiscSensorsIndex.setStatus('current') lmMiscSensorsDevice = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 13, 16, 5, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmMiscSensorsDevice.setStatus('current') lmMiscSensorsValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2021, 13, 16, 5, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmMiscSensorsValue.setStatus('current') mibBuilder.exportSymbols("LM-SENSORS-MIB", lmVoltSensorsDevice=lmVoltSensorsDevice, lmSensorsMIB=lmSensorsMIB, lmTempSensorsIndex=lmTempSensorsIndex, lmMiscSensorsTable=lmMiscSensorsTable, lmVoltSensorsEntry=lmVoltSensorsEntry, lmFanSensorsValue=lmFanSensorsValue, lmTempSensorsTable=lmTempSensorsTable, lmFanSensorsDevice=lmFanSensorsDevice, lmTempSensorsDevice=lmTempSensorsDevice, lmMiscSensorsEntry=lmMiscSensorsEntry, PYSNMP_MODULE_ID=lmSensorsMIB, lmMiscSensorsIndex=lmMiscSensorsIndex, lmVoltSensorsValue=lmVoltSensorsValue, lmMiscSensorsValue=lmMiscSensorsValue, lmMiscSensorsDevice=lmMiscSensorsDevice, lmTempSensorsValue=lmTempSensorsValue, lmVoltSensorsIndex=lmVoltSensorsIndex, lmVoltSensorsTable=lmVoltSensorsTable, lmTempSensorsEntry=lmTempSensorsEntry, lmFanSensorsTable=lmFanSensorsTable, lmFanSensorsEntry=lmFanSensorsEntry, lmFanSensorsIndex=lmFanSensorsIndex, lmSensors=lmSensors)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, value_size_constraint, value_range_constraint, constraints_union, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (notification_type, time_ticks, ip_address, gauge32, counter32, mib_scalar, mib_table, mib_table_row, mib_table_column, unsigned32, counter64, mib_identifier, bits, integer32, iso, module_identity, object_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'NotificationType', 'TimeTicks', 'IpAddress', 'Gauge32', 'Counter32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Unsigned32', 'Counter64', 'MibIdentifier', 'Bits', 'Integer32', 'iso', 'ModuleIdentity', 'ObjectIdentity') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') (ucd_experimental,) = mibBuilder.importSymbols('UCD-SNMP-MIB', 'ucdExperimental') lm_sensors_mib = module_identity((1, 3, 6, 1, 4, 1, 2021, 13, 16, 1)) lmSensorsMIB.setRevisions(('2000-11-05 00:00',)) if mibBuilder.loadTexts: lmSensorsMIB.setLastUpdated('200011050000Z') if mibBuilder.loadTexts: lmSensorsMIB.setOrganization('AdamsNames Ltd') lm_sensors = mib_identifier((1, 3, 6, 1, 4, 1, 2021, 13, 16)) lm_temp_sensors_table = mib_table((1, 3, 6, 1, 4, 1, 2021, 13, 16, 2)) if mibBuilder.loadTexts: lmTempSensorsTable.setStatus('current') lm_temp_sensors_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2021, 13, 16, 2, 1)).setIndexNames((0, 'LM-SENSORS-MIB', 'lmTempSensorsIndex')) if mibBuilder.loadTexts: lmTempSensorsEntry.setStatus('current') lm_temp_sensors_index = mib_table_column((1, 3, 6, 1, 4, 1, 2021, 13, 16, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: lmTempSensorsIndex.setStatus('current') lm_temp_sensors_device = mib_table_column((1, 3, 6, 1, 4, 1, 2021, 13, 16, 2, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: lmTempSensorsDevice.setStatus('current') lm_temp_sensors_value = mib_table_column((1, 3, 6, 1, 4, 1, 2021, 13, 16, 2, 1, 3), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lmTempSensorsValue.setStatus('current') lm_fan_sensors_table = mib_table((1, 3, 6, 1, 4, 1, 2021, 13, 16, 3)) if mibBuilder.loadTexts: lmFanSensorsTable.setStatus('current') lm_fan_sensors_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2021, 13, 16, 3, 1)).setIndexNames((0, 'LM-SENSORS-MIB', 'lmFanSensorsIndex')) if mibBuilder.loadTexts: lmFanSensorsEntry.setStatus('current') lm_fan_sensors_index = mib_table_column((1, 3, 6, 1, 4, 1, 2021, 13, 16, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: lmFanSensorsIndex.setStatus('current') lm_fan_sensors_device = mib_table_column((1, 3, 6, 1, 4, 1, 2021, 13, 16, 3, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: lmFanSensorsDevice.setStatus('current') lm_fan_sensors_value = mib_table_column((1, 3, 6, 1, 4, 1, 2021, 13, 16, 3, 1, 3), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lmFanSensorsValue.setStatus('current') lm_volt_sensors_table = mib_table((1, 3, 6, 1, 4, 1, 2021, 13, 16, 4)) if mibBuilder.loadTexts: lmVoltSensorsTable.setStatus('current') lm_volt_sensors_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2021, 13, 16, 4, 1)).setIndexNames((0, 'LM-SENSORS-MIB', 'lmVoltSensorsIndex')) if mibBuilder.loadTexts: lmVoltSensorsEntry.setStatus('current') lm_volt_sensors_index = mib_table_column((1, 3, 6, 1, 4, 1, 2021, 13, 16, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: lmVoltSensorsIndex.setStatus('current') lm_volt_sensors_device = mib_table_column((1, 3, 6, 1, 4, 1, 2021, 13, 16, 4, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: lmVoltSensorsDevice.setStatus('current') lm_volt_sensors_value = mib_table_column((1, 3, 6, 1, 4, 1, 2021, 13, 16, 4, 1, 3), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lmVoltSensorsValue.setStatus('current') lm_misc_sensors_table = mib_table((1, 3, 6, 1, 4, 1, 2021, 13, 16, 5)) if mibBuilder.loadTexts: lmMiscSensorsTable.setStatus('current') lm_misc_sensors_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2021, 13, 16, 5, 1)).setIndexNames((0, 'LM-SENSORS-MIB', 'lmMiscSensorsIndex')) if mibBuilder.loadTexts: lmMiscSensorsEntry.setStatus('current') lm_misc_sensors_index = mib_table_column((1, 3, 6, 1, 4, 1, 2021, 13, 16, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: lmMiscSensorsIndex.setStatus('current') lm_misc_sensors_device = mib_table_column((1, 3, 6, 1, 4, 1, 2021, 13, 16, 5, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: lmMiscSensorsDevice.setStatus('current') lm_misc_sensors_value = mib_table_column((1, 3, 6, 1, 4, 1, 2021, 13, 16, 5, 1, 3), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lmMiscSensorsValue.setStatus('current') mibBuilder.exportSymbols('LM-SENSORS-MIB', lmVoltSensorsDevice=lmVoltSensorsDevice, lmSensorsMIB=lmSensorsMIB, lmTempSensorsIndex=lmTempSensorsIndex, lmMiscSensorsTable=lmMiscSensorsTable, lmVoltSensorsEntry=lmVoltSensorsEntry, lmFanSensorsValue=lmFanSensorsValue, lmTempSensorsTable=lmTempSensorsTable, lmFanSensorsDevice=lmFanSensorsDevice, lmTempSensorsDevice=lmTempSensorsDevice, lmMiscSensorsEntry=lmMiscSensorsEntry, PYSNMP_MODULE_ID=lmSensorsMIB, lmMiscSensorsIndex=lmMiscSensorsIndex, lmVoltSensorsValue=lmVoltSensorsValue, lmMiscSensorsValue=lmMiscSensorsValue, lmMiscSensorsDevice=lmMiscSensorsDevice, lmTempSensorsValue=lmTempSensorsValue, lmVoltSensorsIndex=lmVoltSensorsIndex, lmVoltSensorsTable=lmVoltSensorsTable, lmTempSensorsEntry=lmTempSensorsEntry, lmFanSensorsTable=lmFanSensorsTable, lmFanSensorsEntry=lmFanSensorsEntry, lmFanSensorsIndex=lmFanSensorsIndex, lmSensors=lmSensors)
# https://cses.fi/problemset/task/1618 def zeros(n): return 0 if n < 5 else zeros(n // 5) + n // 5 print(zeros(int(input())))
def zeros(n): return 0 if n < 5 else zeros(n // 5) + n // 5 print(zeros(int(input())))
class Solution: """ @param ages: @return: nothing """ def numFriendRequests(self, ages): counts = [0] * 121 presum = [0] * 121 for age in ages: counts[age] += 1 for i in range(1, 121): presum[i] = presum[i - 1] + counts[i] total = 0 for A in range(15, 121): countB = presum[A] - presum[A // 2 + 7] total += (countB - 1) * counts[A] return total
class Solution: """ @param ages: @return: nothing """ def num_friend_requests(self, ages): counts = [0] * 121 presum = [0] * 121 for age in ages: counts[age] += 1 for i in range(1, 121): presum[i] = presum[i - 1] + counts[i] total = 0 for a in range(15, 121): count_b = presum[A] - presum[A // 2 + 7] total += (countB - 1) * counts[A] return total
""" test_tui_tools -------------- Test module for testint TUI_tools """ #check_quest_info #automatic_questioner #get_default #get_default3 #automatic_questioner3 # # #selection_list_options #selection_options #confirmation_question #simple_input # #general_questioner def test(): pass
""" test_tui_tools -------------- Test module for testint TUI_tools """ def test(): pass
"""Constants for YT-MX0404V2 component.""" DOMAIN = "yt_mx0404v2" DEFAULT_NAME = "YT-MX0404V2" DEFAULT_PORT = 23 DEFAULT_RECONNECT_INTERVAL = 10 DEFAULT_POLLING_INTERVAL = 3 CONNECTION_TIMEOUT = 10 CONF_INPUTS1 = "input1" CONF_INPUTS2 = "input2" CONF_INPUTS3 = "input3" CONF_INPUTS4 = "input4" DEFAULT_INPUTS1 = "Input 1" DEFAULT_INPUTS2 = "Input 2" DEFAULT_INPUTS3 = "Input 3" DEFAULT_INPUTS4 = "Input 4"
"""Constants for YT-MX0404V2 component.""" domain = 'yt_mx0404v2' default_name = 'YT-MX0404V2' default_port = 23 default_reconnect_interval = 10 default_polling_interval = 3 connection_timeout = 10 conf_inputs1 = 'input1' conf_inputs2 = 'input2' conf_inputs3 = 'input3' conf_inputs4 = 'input4' default_inputs1 = 'Input 1' default_inputs2 = 'Input 2' default_inputs3 = 'Input 3' default_inputs4 = 'Input 4'
#Title:-DiameterOfBinaryTree #Explanation:-https://www.youtube.com/watch?v=v8U4Wi6ZwKE&list=PLmpbOouoNZaP5M275obyC44n3I3nCFk8Q&index=12 #Author : Tanay Chauli class newNode: def __init__(self, data): self.data = data self.left = self.right = None # Function to find height of a tree def height(root, ans): if (root == None): return 0 left_height = height(root.left, ans) right_height = height(root.right, ans) # update the answer, because diameter # of a tree is nothing but maximum # value of (left_height + right_height + 1) # for each node ans[0] = max(ans[0],left_height + right_height) return 1 + max(left_height, right_height) # Computes the diameter of binary # tree with given root. def diameter(root): if (root == None): return 0 ans = [-999999999999] # This will store # the final answer height_of_tree = height(root, ans) return ans[0] # Driver code if __name__ == '__main__': root = newNode(1) root.left = newNode(2) root.right = newNode(3) root.left.left = newNode(4) root.left.right = newNode(5) print("Diameter is", diameter(root))
class Newnode: def __init__(self, data): self.data = data self.left = self.right = None def height(root, ans): if root == None: return 0 left_height = height(root.left, ans) right_height = height(root.right, ans) ans[0] = max(ans[0], left_height + right_height) return 1 + max(left_height, right_height) def diameter(root): if root == None: return 0 ans = [-999999999999] height_of_tree = height(root, ans) return ans[0] if __name__ == '__main__': root = new_node(1) root.left = new_node(2) root.right = new_node(3) root.left.left = new_node(4) root.left.right = new_node(5) print('Diameter is', diameter(root))
class BallastControl: def __init__(self, mass: float, center_of_mass: tuple, center_of_buoyancy: tuple): # initialize syringe controls self.constant_mass = mass self.constant_COM = center_of_mass self.constant_COB = center_of_buoyancy
class Ballastcontrol: def __init__(self, mass: float, center_of_mass: tuple, center_of_buoyancy: tuple): self.constant_mass = mass self.constant_COM = center_of_mass self.constant_COB = center_of_buoyancy
# # PySNMP MIB module DRAFT-MSDP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DRAFT-MSDP-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:54:19 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") SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ConstraintsUnion, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ConstraintsIntersection") NotificationGroup, ModuleCompliance, ObjectGroup = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance", "ObjectGroup") MibIdentifier, TimeTicks, Counter32, Bits, ModuleIdentity, Counter64, NotificationType, Gauge32, iso, experimental, MibScalar, MibTable, MibTableRow, MibTableColumn, Integer32, ObjectIdentity, IpAddress, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "MibIdentifier", "TimeTicks", "Counter32", "Bits", "ModuleIdentity", "Counter64", "NotificationType", "Gauge32", "iso", "experimental", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Integer32", "ObjectIdentity", "IpAddress", "Unsigned32") TextualConvention, RowStatus, TruthValue, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "RowStatus", "TruthValue", "DisplayString") msdpMIB = ModuleIdentity((1, 3, 6, 1, 3, 92)) if mibBuilder.loadTexts: msdpMIB.setLastUpdated('9912160000Z') if mibBuilder.loadTexts: msdpMIB.setOrganization('IETF MSDP Working Group') if mibBuilder.loadTexts: msdpMIB.setContactInfo(' Bill Fenner 75 Willow Road Menlo Park, CA 94025 Phone: +1 650 867 6073 E-mail: fenner@research.att.com Dave Thaler One Microsoft Way Redmond, WA 98052 Phone: +1 425 703 8835 Email: dthaler@microsoft.com') if mibBuilder.loadTexts: msdpMIB.setDescription('An experimental MIB module for MSDP Management.') msdpMIBobjects = MibIdentifier((1, 3, 6, 1, 3, 92, 1)) msdp = MibIdentifier((1, 3, 6, 1, 3, 92, 1, 1)) msdpEnabled = MibScalar((1, 3, 6, 1, 3, 92, 1, 1, 1), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: msdpEnabled.setStatus('current') if mibBuilder.loadTexts: msdpEnabled.setDescription('The state of MSDP on this MSDP speaker - globally enabled or disabled.') msdpCacheLifetime = MibScalar((1, 3, 6, 1, 3, 92, 1, 1, 2), TimeTicks()).setMaxAccess("readwrite") if mibBuilder.loadTexts: msdpCacheLifetime.setStatus('current') if mibBuilder.loadTexts: msdpCacheLifetime.setDescription('The lifetime given to SA cache entries when created or refreshed. A value of 0 means no SA caching is done by this MSDP speaker.') msdpNumSACacheEntries = MibScalar((1, 3, 6, 1, 3, 92, 1, 1, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpNumSACacheEntries.setStatus('current') if mibBuilder.loadTexts: msdpNumSACacheEntries.setDescription('The total number of entries in the SA Cache table.') msdpSAHoldDownPeriod = MibScalar((1, 3, 6, 1, 3, 92, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(90)).setUnits('seconds').setMaxAccess("readonly") if mibBuilder.loadTexts: msdpSAHoldDownPeriod.setStatus('current') if mibBuilder.loadTexts: msdpSAHoldDownPeriod.setDescription('The number of seconds in the MSDP SA Hold-down period') msdpRequestsTable = MibTable((1, 3, 6, 1, 3, 92, 1, 1, 4), ) if mibBuilder.loadTexts: msdpRequestsTable.setStatus('current') if mibBuilder.loadTexts: msdpRequestsTable.setDescription('The (conceptual) table listing group ranges and MSDP peers used when deciding where to send an SA Request message when required. If SA Caching is enabled, this table may be empty.') msdpRequestsEntry = MibTableRow((1, 3, 6, 1, 3, 92, 1, 1, 4, 1), ).setIndexNames((0, "DRAFT-MSDP-MIB", "msdpRequestsGroupAddress"), (0, "DRAFT-MSDP-MIB", "msdpRequestsGroupMask")) if mibBuilder.loadTexts: msdpRequestsEntry.setStatus('current') if mibBuilder.loadTexts: msdpRequestsEntry.setDescription('An entry (conceptual row) representing a group range used when deciding where to send an SA Request message.') msdpRequestsGroupAddress = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 4, 1, 1), IpAddress()) if mibBuilder.loadTexts: msdpRequestsGroupAddress.setStatus('current') if mibBuilder.loadTexts: msdpRequestsGroupAddress.setDescription('The group address that, when combined with the mask in this entry, represents the group range for which this peer will service MSDP SA Requests.') msdpRequestsGroupMask = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 4, 1, 2), IpAddress()) if mibBuilder.loadTexts: msdpRequestsGroupMask.setStatus('current') if mibBuilder.loadTexts: msdpRequestsGroupMask.setDescription('The mask that, when combined with the group address in this entry, represents the group range for which this peer will service MSDP SA Requests.') msdpRequestsPeer = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 4, 1, 3), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: msdpRequestsPeer.setStatus('current') if mibBuilder.loadTexts: msdpRequestsPeer.setDescription("The peer to which MSDP SA Requests for groups matching this entry's group range will be sent. Must match the INDEX of a row in the msdpPeerTable.") msdpRequestsStatus = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 4, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: msdpRequestsStatus.setStatus('current') if mibBuilder.loadTexts: msdpRequestsStatus.setDescription('The status of this row, by which new rows may be added to the table.') msdpPeerTable = MibTable((1, 3, 6, 1, 3, 92, 1, 1, 5), ) if mibBuilder.loadTexts: msdpPeerTable.setStatus('current') if mibBuilder.loadTexts: msdpPeerTable.setDescription("The (conceptual) table listing the MSDP speaker's peers.") msdpPeerEntry = MibTableRow((1, 3, 6, 1, 3, 92, 1, 1, 5, 1), ).setIndexNames((0, "DRAFT-MSDP-MIB", "msdpPeerRemoteAddress")) if mibBuilder.loadTexts: msdpPeerEntry.setStatus('current') if mibBuilder.loadTexts: msdpPeerEntry.setDescription('An entry (conceptual row) representing an MSDP peer.') msdpPeerRemoteAddress = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 1), IpAddress()) if mibBuilder.loadTexts: msdpPeerRemoteAddress.setStatus('current') if mibBuilder.loadTexts: msdpPeerRemoteAddress.setDescription('The address of the remote MSDP peer.') msdpPeerState = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("inactive", 1), ("listen", 2), ("connecting", 3), ("established", 4), ("disabled", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerState.setStatus('current') if mibBuilder.loadTexts: msdpPeerState.setDescription('The state of the MSDP TCP connection with this peer.') msdpPeerRPFFailures = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerRPFFailures.setStatus('current') if mibBuilder.loadTexts: msdpPeerRPFFailures.setDescription('The number of RPF failures on SA messages received from this peer.') msdpPeerInSAs = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerInSAs.setStatus('current') if mibBuilder.loadTexts: msdpPeerInSAs.setDescription('The number of MSDP SA messages received on this connection. This object should be initialized to zero when the connection is established.') msdpPeerOutSAs = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerOutSAs.setStatus('current') if mibBuilder.loadTexts: msdpPeerOutSAs.setDescription('The number of MSDP SA messages transmitted on this connection. This object should be initialized to zero when the connection is established.') msdpPeerInSARequests = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerInSARequests.setStatus('current') if mibBuilder.loadTexts: msdpPeerInSARequests.setDescription('The number of MSDP SA-Request messages received on this connection. This object should be initialized to zero when the connection is established.') msdpPeerOutSARequests = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerOutSARequests.setStatus('current') if mibBuilder.loadTexts: msdpPeerOutSARequests.setDescription('The number of MSDP SA-Request messages transmitted on this connection. This object should be initialized to zero when the connection is established.') msdpPeerInSAResponses = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerInSAResponses.setStatus('current') if mibBuilder.loadTexts: msdpPeerInSAResponses.setDescription('The number of MSDP SA-Response messages received on this connection. This object should be initialized to zero when the connection is established.') msdpPeerOutSAResponses = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerOutSAResponses.setStatus('current') if mibBuilder.loadTexts: msdpPeerOutSAResponses.setDescription('The number of MSDP SA Response messages transmitted on this TCP connection. This object should be initialized to zero when the connection is established.') msdpPeerInControlMessages = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerInControlMessages.setStatus('current') if mibBuilder.loadTexts: msdpPeerInControlMessages.setDescription('The total number of MSDP messages received on this TCP connection. This object should be initialized to zero when the connection is established.') msdpPeerOutControlMessages = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerOutControlMessages.setStatus('current') if mibBuilder.loadTexts: msdpPeerOutControlMessages.setDescription('The total number of MSDP messages transmitted on this TCP connection. This object should be initialized to zero when the connection is established.') msdpPeerInDataPackets = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerInDataPackets.setStatus('current') if mibBuilder.loadTexts: msdpPeerInDataPackets.setDescription('The total number of encapsulated data packets received from this peer. This object should be initialized to zero when the connection is established.') msdpPeerOutDataPackets = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerOutDataPackets.setStatus('current') if mibBuilder.loadTexts: msdpPeerOutDataPackets.setDescription('The total number of encapsulated data packets sent to this peer. This object should be initialized to zero when the connection is established.') msdpPeerFsmEstablishedTransitions = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerFsmEstablishedTransitions.setStatus('current') if mibBuilder.loadTexts: msdpPeerFsmEstablishedTransitions.setDescription('The total number of times the MSDP FSM transitioned into the established state.') msdpPeerFsmEstablishedTime = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 16), Gauge32()).setUnits('seconds').setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerFsmEstablishedTime.setStatus('current') if mibBuilder.loadTexts: msdpPeerFsmEstablishedTime.setDescription('This timer indicates how long (in seconds) this peer has been in the Established state or how long since this peer was last in the Established state. It is set to zero when a new peer is configured or the MSDP speaker is booted.') msdpPeerInMessageElapsedTime = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 17), Gauge32()).setUnits('seconds').setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerInMessageElapsedTime.setStatus('current') if mibBuilder.loadTexts: msdpPeerInMessageElapsedTime.setDescription('Elapsed time in seconds since the last MSDP message was received from the peer. Each time msdpPeerInControlMessages is incremented, the value of this object is set to zero (0).') msdpPeerLocalAddress = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 18), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: msdpPeerLocalAddress.setStatus('current') if mibBuilder.loadTexts: msdpPeerLocalAddress.setDescription("The local IP address of this entry's MSDP connection.") msdpPeerSAAdvPeriod = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(60)).setUnits('seconds').setMaxAccess("readcreate") if mibBuilder.loadTexts: msdpPeerSAAdvPeriod.setStatus('current') if mibBuilder.loadTexts: msdpPeerSAAdvPeriod.setDescription('Time interval in seconds for the MinSAAdvertisementInterval MSDP timer.') msdpPeerConnectRetryInterval = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(120)).setUnits('seconds').setMaxAccess("readcreate") if mibBuilder.loadTexts: msdpPeerConnectRetryInterval.setStatus('current') if mibBuilder.loadTexts: msdpPeerConnectRetryInterval.setDescription('Time interval in seconds for the ConnectRetry timer.') msdpPeerHoldTimeConfigured = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(3, 65535), )).clone(90)).setUnits('seconds').setMaxAccess("readcreate") if mibBuilder.loadTexts: msdpPeerHoldTimeConfigured.setStatus('current') if mibBuilder.loadTexts: msdpPeerHoldTimeConfigured.setDescription('Time interval in seconds for the Hold Timer configured for this MSDP speaker with this peer.') msdpPeerKeepAliveConfigured = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 21845), )).clone(30)).setUnits('seconds').setMaxAccess("readcreate") if mibBuilder.loadTexts: msdpPeerKeepAliveConfigured.setStatus('current') if mibBuilder.loadTexts: msdpPeerKeepAliveConfigured.setDescription('Time interval in seconds for the KeepAlive timer configured for this MSDP speaker with this peer. A reasonable maximum value for this timer would be configured to be one third of that of msdpPeerHoldTimeConfigured. If the value of this object is zero (0), no periodic KEEPALIVE messages are sent to the peer after the MSDP connection has been established.') msdpPeerDataTtl = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readcreate") if mibBuilder.loadTexts: msdpPeerDataTtl.setStatus('current') if mibBuilder.loadTexts: msdpPeerDataTtl.setDescription('The minimum TTL a packet is required to have before it may be forwarded using SA encapsulation to this peer.') msdpPeerProcessRequestsFrom = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 24), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: msdpPeerProcessRequestsFrom.setStatus('current') if mibBuilder.loadTexts: msdpPeerProcessRequestsFrom.setDescription('This object indicates whether or not to process MSDP SA Request messages from this peer. If True(1), MSDP SA Request messages from this peer are processed and replied to (if appropriate) with SA Response messages. If False(2), MSDP SA Request messages from this peer are silently ignored. It defaults to False when msdpCacheLifetime is 0 and True when msdpCacheLifetime is non-0.') msdpPeerStatus = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 25), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: msdpPeerStatus.setStatus('current') if mibBuilder.loadTexts: msdpPeerStatus.setDescription("The RowStatus object by which peers can be added and deleted. A transition to 'active' will cause the MSDP Start Event to be generated. A transition out of the 'active' state will cause the MSDP Stop Event to be generated. Care should be used in providing write access to this object without adequate authentication.") msdpPeerRemotePort = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 26), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerRemotePort.setStatus('current') if mibBuilder.loadTexts: msdpPeerRemotePort.setDescription('The remote port for the TCP connection between the MSDP peers.') msdpPeerLocalPort = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 27), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerLocalPort.setStatus('current') if mibBuilder.loadTexts: msdpPeerLocalPort.setDescription('The local port for the TCP connection between the MSDP peers.') msdpPeerEncapsulationState = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("default", 1), ("received", 2), ("advertising", 3), ("sent", 4), ("agreed", 5), ("failed", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerEncapsulationState.setStatus('current') if mibBuilder.loadTexts: msdpPeerEncapsulationState.setDescription('The status of the encapsulation negotiation state machine.') msdpPeerEncapsulationType = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("tcp", 1), ("udp", 2), ("gre", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerEncapsulationType.setStatus('current') if mibBuilder.loadTexts: msdpPeerEncapsulationType.setDescription('The encapsulation in use when encapsulating data in SA messages to this peer.') msdpPeerConnectionAttempts = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerConnectionAttempts.setStatus('current') if mibBuilder.loadTexts: msdpPeerConnectionAttempts.setDescription('The number of times the state machine has transitioned from inactive to connecting.') msdpPeerInNotifications = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 31), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerInNotifications.setStatus('current') if mibBuilder.loadTexts: msdpPeerInNotifications.setDescription('The number of MSDP Notification messages received on this connection. This object should be initialized to zero when the connection is established.') msdpPeerOutNotifications = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 32), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerOutNotifications.setStatus('current') if mibBuilder.loadTexts: msdpPeerOutNotifications.setDescription('The number of MSDP Notification messages transmitted on this connection. This object should be initialized to zero when the connection is established.') msdpPeerLastError = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 33), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2).clone(hexValue="0000")).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpPeerLastError.setStatus('current') if mibBuilder.loadTexts: msdpPeerLastError.setDescription('The last error code and subcode seen by this peer on this connection. If no error has occurred, this field is zero. Otherwise, the first byte of this two byte OCTET STRING contains the error code, and the second byte contains the subcode.') msdpSACacheTable = MibTable((1, 3, 6, 1, 3, 92, 1, 1, 6), ) if mibBuilder.loadTexts: msdpSACacheTable.setStatus('current') if mibBuilder.loadTexts: msdpSACacheTable.setDescription("The (conceptual) table listing the MSDP SA advertisements currently in the MSDP speaker's cache.") msdpSACacheEntry = MibTableRow((1, 3, 6, 1, 3, 92, 1, 1, 6, 1), ).setIndexNames((0, "DRAFT-MSDP-MIB", "msdpSACacheGroupAddr"), (0, "DRAFT-MSDP-MIB", "msdpSACacheSourceAddr"), (0, "DRAFT-MSDP-MIB", "msdpSACacheOriginRP")) if mibBuilder.loadTexts: msdpSACacheEntry.setStatus('current') if mibBuilder.loadTexts: msdpSACacheEntry.setDescription('An entry (conceptual row) representing an MSDP SA advert.') msdpSACacheGroupAddr = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 1), IpAddress()) if mibBuilder.loadTexts: msdpSACacheGroupAddr.setStatus('current') if mibBuilder.loadTexts: msdpSACacheGroupAddr.setDescription('The group address of the SA Cache entry.') msdpSACacheSourceAddr = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 2), IpAddress()) if mibBuilder.loadTexts: msdpSACacheSourceAddr.setStatus('current') if mibBuilder.loadTexts: msdpSACacheSourceAddr.setDescription('The source address of the SA Cache entry.') msdpSACacheOriginRP = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 3), IpAddress()) if mibBuilder.loadTexts: msdpSACacheOriginRP.setStatus('current') if mibBuilder.loadTexts: msdpSACacheOriginRP.setDescription('The address of the RP which originated the last SA message accepted for this entry.') msdpSACachePeerLearnedFrom = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 4), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpSACachePeerLearnedFrom.setStatus('current') if mibBuilder.loadTexts: msdpSACachePeerLearnedFrom.setDescription('The peer from which this SA Cache entry was last accepted. This address must correspond to the msdpPeerRemoteAddress value for a row in the MSDP Peer Table.') msdpSACacheRPFPeer = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 5), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpSACacheRPFPeer.setStatus('current') if mibBuilder.loadTexts: msdpSACacheRPFPeer.setDescription('The peer from which an SA message corresponding to this cache entry would be accepted (i.e. the RPF peer for msdpSACacheOriginRP). This may be different than msdpSACachePeerLearnedFrom if this entry was created by an MSDP SA-Response. This address must correspond to the msdpPeerRemoteAddress value for a row in the MSDP Peer Table.') msdpSACacheInSAs = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpSACacheInSAs.setStatus('current') if mibBuilder.loadTexts: msdpSACacheInSAs.setDescription('The number of MSDP SA messages received relevant to this cache entry. This object must be initialized to zero when creating a cache entry.') msdpSACacheInDataPackets = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpSACacheInDataPackets.setStatus('current') if mibBuilder.loadTexts: msdpSACacheInDataPackets.setDescription('The number of MSDP encapsulated data packets received relevant to this cache entry. This object must be initialized to zero when creating a cache entry.') msdpSACacheUpTime = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 8), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpSACacheUpTime.setStatus('current') if mibBuilder.loadTexts: msdpSACacheUpTime.setDescription('The time since this entry was placed in the SA cache.') msdpSACacheExpiryTime = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 9), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: msdpSACacheExpiryTime.setStatus('current') if mibBuilder.loadTexts: msdpSACacheExpiryTime.setDescription('The time remaining before this entry will expire from the SA cache.') msdpSACacheStatus = MibTableColumn((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 10), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: msdpSACacheStatus.setStatus('current') if mibBuilder.loadTexts: msdpSACacheStatus.setDescription("The status of this row in the table. The only allowable actions are to retreive the status, which will be `active', or to set the status to `destroy' in order to remove this entry from the cache.") msdpTraps = MibIdentifier((1, 3, 6, 1, 3, 92, 1, 1, 7)) msdpEstablished = NotificationType((1, 3, 6, 1, 3, 92, 1, 1, 7, 1)).setObjects(("DRAFT-MSDP-MIB", "msdpPeerFsmEstablishedTransitions")) if mibBuilder.loadTexts: msdpEstablished.setStatus('current') if mibBuilder.loadTexts: msdpEstablished.setDescription('The MSDP Established event is generated when the MSDP FSM enters the ESTABLISHED state.') msdpBackwardTransition = NotificationType((1, 3, 6, 1, 3, 92, 1, 1, 7, 2)).setObjects(("DRAFT-MSDP-MIB", "msdpPeerState")) if mibBuilder.loadTexts: msdpBackwardTransition.setStatus('current') if mibBuilder.loadTexts: msdpBackwardTransition.setDescription('The MSDPBackwardTransition Event is generated when the MSDP FSM moves from a higher numbered state to a lower numbered state.') msdpMIBConformance = MibIdentifier((1, 3, 6, 1, 3, 92, 1, 1, 8)) msdpMIBCompliances = MibIdentifier((1, 3, 6, 1, 3, 92, 1, 1, 8, 1)) msdpMIBGroups = MibIdentifier((1, 3, 6, 1, 3, 92, 1, 1, 8, 2)) msdpMIBCompliance = ModuleCompliance((1, 3, 6, 1, 3, 92, 1, 1, 8, 1, 1)).setObjects(("DRAFT-MSDP-MIB", "msdpMIBGlobalsGroup"), ("DRAFT-MSDP-MIB", "msdpSACacheGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): msdpMIBCompliance = msdpMIBCompliance.setStatus('current') if mibBuilder.loadTexts: msdpMIBCompliance.setDescription('The compliance statement for entities which implement the MSDP MIB.') msdpMIBGlobalsGroup = ObjectGroup((1, 3, 6, 1, 3, 92, 1, 1, 8, 2, 1)).setObjects(("DRAFT-MSDP-MIB", "msdpEnabled")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): msdpMIBGlobalsGroup = msdpMIBGlobalsGroup.setStatus('current') if mibBuilder.loadTexts: msdpMIBGlobalsGroup.setDescription('A collection of objects providing information on global MSDP state.') msdpMIBPeerGroup = ObjectGroup((1, 3, 6, 1, 3, 92, 1, 1, 8, 2, 2)).setObjects(("DRAFT-MSDP-MIB", "msdpPeerRPFFailures"), ("DRAFT-MSDP-MIB", "msdpPeerState"), ("DRAFT-MSDP-MIB", "msdpPeerInSAs"), ("DRAFT-MSDP-MIB", "msdpPeerOutSAs"), ("DRAFT-MSDP-MIB", "msdpPeerInSARequests"), ("DRAFT-MSDP-MIB", "msdpPeerOutSARequests"), ("DRAFT-MSDP-MIB", "msdpPeerInSAResponses"), ("DRAFT-MSDP-MIB", "msdpPeerOutSAResponses"), ("DRAFT-MSDP-MIB", "msdpPeerInNotifications"), ("DRAFT-MSDP-MIB", "msdpPeerOutNotifications"), ("DRAFT-MSDP-MIB", "msdpPeerInControlMessages"), ("DRAFT-MSDP-MIB", "msdpPeerOutControlMessages"), ("DRAFT-MSDP-MIB", "msdpPeerInDataPackets"), ("DRAFT-MSDP-MIB", "msdpPeerOutDataPackets"), ("DRAFT-MSDP-MIB", "msdpPeerFsmEstablishedTransitions"), ("DRAFT-MSDP-MIB", "msdpPeerFsmEstablishedTime"), ("DRAFT-MSDP-MIB", "msdpPeerLocalAddress"), ("DRAFT-MSDP-MIB", "msdpPeerRemotePort"), ("DRAFT-MSDP-MIB", "msdpPeerLocalPort"), ("DRAFT-MSDP-MIB", "msdpPeerSAAdvPeriod"), ("DRAFT-MSDP-MIB", "msdpPeerConnectRetryInterval"), ("DRAFT-MSDP-MIB", "msdpPeerHoldTimeConfigured"), ("DRAFT-MSDP-MIB", "msdpPeerKeepAliveConfigured"), ("DRAFT-MSDP-MIB", "msdpPeerInMessageElapsedTime"), ("DRAFT-MSDP-MIB", "msdpPeerDataTtl"), ("DRAFT-MSDP-MIB", "msdpPeerProcessRequestsFrom"), ("DRAFT-MSDP-MIB", "msdpPeerEncapsulationState"), ("DRAFT-MSDP-MIB", "msdpPeerEncapsulationType"), ("DRAFT-MSDP-MIB", "msdpPeerConnectionAttempts"), ("DRAFT-MSDP-MIB", "msdpPeerLastError"), ("DRAFT-MSDP-MIB", "msdpPeerStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): msdpMIBPeerGroup = msdpMIBPeerGroup.setStatus('current') if mibBuilder.loadTexts: msdpMIBPeerGroup.setDescription('A collection of objects for managing MSDP peers.') msdpSACacheGroup = ObjectGroup((1, 3, 6, 1, 3, 92, 1, 1, 8, 2, 3)).setObjects(("DRAFT-MSDP-MIB", "msdpCacheLifetime"), ("DRAFT-MSDP-MIB", "msdpNumSACacheEntries"), ("DRAFT-MSDP-MIB", "msdpSAHoldDownPeriod"), ("DRAFT-MSDP-MIB", "msdpSACachePeerLearnedFrom"), ("DRAFT-MSDP-MIB", "msdpSACacheRPFPeer"), ("DRAFT-MSDP-MIB", "msdpSACacheInSAs"), ("DRAFT-MSDP-MIB", "msdpSACacheInDataPackets"), ("DRAFT-MSDP-MIB", "msdpSACacheUpTime"), ("DRAFT-MSDP-MIB", "msdpSACacheExpiryTime"), ("DRAFT-MSDP-MIB", "msdpSACacheStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): msdpSACacheGroup = msdpSACacheGroup.setStatus('current') if mibBuilder.loadTexts: msdpSACacheGroup.setDescription('A collection of objects for managing MSDP SA cache entries.') mibBuilder.exportSymbols("DRAFT-MSDP-MIB", msdpPeerRPFFailures=msdpPeerRPFFailures, msdpRequestsGroupAddress=msdpRequestsGroupAddress, msdpPeerInSAs=msdpPeerInSAs, msdpMIB=msdpMIB, msdpPeerOutDataPackets=msdpPeerOutDataPackets, msdpSACacheRPFPeer=msdpSACacheRPFPeer, msdpSACacheInDataPackets=msdpSACacheInDataPackets, msdpMIBCompliances=msdpMIBCompliances, msdpNumSACacheEntries=msdpNumSACacheEntries, msdpPeerDataTtl=msdpPeerDataTtl, msdpPeerEntry=msdpPeerEntry, msdpMIBPeerGroup=msdpMIBPeerGroup, msdpSAHoldDownPeriod=msdpSAHoldDownPeriod, msdpRequestsTable=msdpRequestsTable, msdpPeerStatus=msdpPeerStatus, msdpPeerInMessageElapsedTime=msdpPeerInMessageElapsedTime, msdpPeerTable=msdpPeerTable, msdpPeerFsmEstablishedTime=msdpPeerFsmEstablishedTime, msdpPeerKeepAliveConfigured=msdpPeerKeepAliveConfigured, msdpSACacheInSAs=msdpSACacheInSAs, msdpMIBGlobalsGroup=msdpMIBGlobalsGroup, msdpPeerOutControlMessages=msdpPeerOutControlMessages, msdpSACacheUpTime=msdpSACacheUpTime, msdpSACacheGroup=msdpSACacheGroup, msdpPeerInSARequests=msdpPeerInSARequests, msdpPeerSAAdvPeriod=msdpPeerSAAdvPeriod, msdpPeerLocalPort=msdpPeerLocalPort, msdpBackwardTransition=msdpBackwardTransition, msdpPeerOutNotifications=msdpPeerOutNotifications, msdpPeerEncapsulationState=msdpPeerEncapsulationState, msdpMIBCompliance=msdpMIBCompliance, msdpPeerProcessRequestsFrom=msdpPeerProcessRequestsFrom, msdpSACacheStatus=msdpSACacheStatus, msdpPeerRemoteAddress=msdpPeerRemoteAddress, msdpSACacheGroupAddr=msdpSACacheGroupAddr, msdpMIBConformance=msdpMIBConformance, msdp=msdp, msdpSACacheEntry=msdpSACacheEntry, msdpPeerEncapsulationType=msdpPeerEncapsulationType, msdpPeerOutSAs=msdpPeerOutSAs, msdpPeerConnectRetryInterval=msdpPeerConnectRetryInterval, msdpSACacheSourceAddr=msdpSACacheSourceAddr, msdpSACacheOriginRP=msdpSACacheOriginRP, msdpSACacheExpiryTime=msdpSACacheExpiryTime, msdpRequestsGroupMask=msdpRequestsGroupMask, msdpPeerOutSAResponses=msdpPeerOutSAResponses, msdpPeerRemotePort=msdpPeerRemotePort, msdpRequestsPeer=msdpRequestsPeer, msdpSACachePeerLearnedFrom=msdpSACachePeerLearnedFrom, msdpPeerState=msdpPeerState, msdpPeerOutSARequests=msdpPeerOutSARequests, msdpPeerInNotifications=msdpPeerInNotifications, PYSNMP_MODULE_ID=msdpMIB, msdpPeerInSAResponses=msdpPeerInSAResponses, msdpTraps=msdpTraps, msdpMIBobjects=msdpMIBobjects, msdpPeerHoldTimeConfigured=msdpPeerHoldTimeConfigured, msdpRequestsStatus=msdpRequestsStatus, msdpRequestsEntry=msdpRequestsEntry, msdpPeerConnectionAttempts=msdpPeerConnectionAttempts, msdpPeerInControlMessages=msdpPeerInControlMessages, msdpMIBGroups=msdpMIBGroups, msdpPeerLastError=msdpPeerLastError, msdpCacheLifetime=msdpCacheLifetime, msdpPeerLocalAddress=msdpPeerLocalAddress, msdpEnabled=msdpEnabled, msdpPeerInDataPackets=msdpPeerInDataPackets, msdpEstablished=msdpEstablished, msdpPeerFsmEstablishedTransitions=msdpPeerFsmEstablishedTransitions, msdpSACacheTable=msdpSACacheTable)
(integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, value_range_constraint, value_size_constraint, constraints_union, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueRangeConstraint', 'ValueSizeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection') (notification_group, module_compliance, object_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance', 'ObjectGroup') (mib_identifier, time_ticks, counter32, bits, module_identity, counter64, notification_type, gauge32, iso, experimental, mib_scalar, mib_table, mib_table_row, mib_table_column, integer32, object_identity, ip_address, unsigned32) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibIdentifier', 'TimeTicks', 'Counter32', 'Bits', 'ModuleIdentity', 'Counter64', 'NotificationType', 'Gauge32', 'iso', 'experimental', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Integer32', 'ObjectIdentity', 'IpAddress', 'Unsigned32') (textual_convention, row_status, truth_value, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'RowStatus', 'TruthValue', 'DisplayString') msdp_mib = module_identity((1, 3, 6, 1, 3, 92)) if mibBuilder.loadTexts: msdpMIB.setLastUpdated('9912160000Z') if mibBuilder.loadTexts: msdpMIB.setOrganization('IETF MSDP Working Group') if mibBuilder.loadTexts: msdpMIB.setContactInfo(' Bill Fenner 75 Willow Road Menlo Park, CA 94025 Phone: +1 650 867 6073 E-mail: fenner@research.att.com Dave Thaler One Microsoft Way Redmond, WA 98052 Phone: +1 425 703 8835 Email: dthaler@microsoft.com') if mibBuilder.loadTexts: msdpMIB.setDescription('An experimental MIB module for MSDP Management.') msdp_mi_bobjects = mib_identifier((1, 3, 6, 1, 3, 92, 1)) msdp = mib_identifier((1, 3, 6, 1, 3, 92, 1, 1)) msdp_enabled = mib_scalar((1, 3, 6, 1, 3, 92, 1, 1, 1), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: msdpEnabled.setStatus('current') if mibBuilder.loadTexts: msdpEnabled.setDescription('The state of MSDP on this MSDP speaker - globally enabled or disabled.') msdp_cache_lifetime = mib_scalar((1, 3, 6, 1, 3, 92, 1, 1, 2), time_ticks()).setMaxAccess('readwrite') if mibBuilder.loadTexts: msdpCacheLifetime.setStatus('current') if mibBuilder.loadTexts: msdpCacheLifetime.setDescription('The lifetime given to SA cache entries when created or refreshed. A value of 0 means no SA caching is done by this MSDP speaker.') msdp_num_sa_cache_entries = mib_scalar((1, 3, 6, 1, 3, 92, 1, 1, 3), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpNumSACacheEntries.setStatus('current') if mibBuilder.loadTexts: msdpNumSACacheEntries.setDescription('The total number of entries in the SA Cache table.') msdp_sa_hold_down_period = mib_scalar((1, 3, 6, 1, 3, 92, 1, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)).clone(90)).setUnits('seconds').setMaxAccess('readonly') if mibBuilder.loadTexts: msdpSAHoldDownPeriod.setStatus('current') if mibBuilder.loadTexts: msdpSAHoldDownPeriod.setDescription('The number of seconds in the MSDP SA Hold-down period') msdp_requests_table = mib_table((1, 3, 6, 1, 3, 92, 1, 1, 4)) if mibBuilder.loadTexts: msdpRequestsTable.setStatus('current') if mibBuilder.loadTexts: msdpRequestsTable.setDescription('The (conceptual) table listing group ranges and MSDP peers used when deciding where to send an SA Request message when required. If SA Caching is enabled, this table may be empty.') msdp_requests_entry = mib_table_row((1, 3, 6, 1, 3, 92, 1, 1, 4, 1)).setIndexNames((0, 'DRAFT-MSDP-MIB', 'msdpRequestsGroupAddress'), (0, 'DRAFT-MSDP-MIB', 'msdpRequestsGroupMask')) if mibBuilder.loadTexts: msdpRequestsEntry.setStatus('current') if mibBuilder.loadTexts: msdpRequestsEntry.setDescription('An entry (conceptual row) representing a group range used when deciding where to send an SA Request message.') msdp_requests_group_address = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 4, 1, 1), ip_address()) if mibBuilder.loadTexts: msdpRequestsGroupAddress.setStatus('current') if mibBuilder.loadTexts: msdpRequestsGroupAddress.setDescription('The group address that, when combined with the mask in this entry, represents the group range for which this peer will service MSDP SA Requests.') msdp_requests_group_mask = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 4, 1, 2), ip_address()) if mibBuilder.loadTexts: msdpRequestsGroupMask.setStatus('current') if mibBuilder.loadTexts: msdpRequestsGroupMask.setDescription('The mask that, when combined with the group address in this entry, represents the group range for which this peer will service MSDP SA Requests.') msdp_requests_peer = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 4, 1, 3), ip_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: msdpRequestsPeer.setStatus('current') if mibBuilder.loadTexts: msdpRequestsPeer.setDescription("The peer to which MSDP SA Requests for groups matching this entry's group range will be sent. Must match the INDEX of a row in the msdpPeerTable.") msdp_requests_status = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 4, 1, 4), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: msdpRequestsStatus.setStatus('current') if mibBuilder.loadTexts: msdpRequestsStatus.setDescription('The status of this row, by which new rows may be added to the table.') msdp_peer_table = mib_table((1, 3, 6, 1, 3, 92, 1, 1, 5)) if mibBuilder.loadTexts: msdpPeerTable.setStatus('current') if mibBuilder.loadTexts: msdpPeerTable.setDescription("The (conceptual) table listing the MSDP speaker's peers.") msdp_peer_entry = mib_table_row((1, 3, 6, 1, 3, 92, 1, 1, 5, 1)).setIndexNames((0, 'DRAFT-MSDP-MIB', 'msdpPeerRemoteAddress')) if mibBuilder.loadTexts: msdpPeerEntry.setStatus('current') if mibBuilder.loadTexts: msdpPeerEntry.setDescription('An entry (conceptual row) representing an MSDP peer.') msdp_peer_remote_address = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 1), ip_address()) if mibBuilder.loadTexts: msdpPeerRemoteAddress.setStatus('current') if mibBuilder.loadTexts: msdpPeerRemoteAddress.setDescription('The address of the remote MSDP peer.') msdp_peer_state = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('inactive', 1), ('listen', 2), ('connecting', 3), ('established', 4), ('disabled', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerState.setStatus('current') if mibBuilder.loadTexts: msdpPeerState.setDescription('The state of the MSDP TCP connection with this peer.') msdp_peer_rpf_failures = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerRPFFailures.setStatus('current') if mibBuilder.loadTexts: msdpPeerRPFFailures.setDescription('The number of RPF failures on SA messages received from this peer.') msdp_peer_in_s_as = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerInSAs.setStatus('current') if mibBuilder.loadTexts: msdpPeerInSAs.setDescription('The number of MSDP SA messages received on this connection. This object should be initialized to zero when the connection is established.') msdp_peer_out_s_as = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerOutSAs.setStatus('current') if mibBuilder.loadTexts: msdpPeerOutSAs.setDescription('The number of MSDP SA messages transmitted on this connection. This object should be initialized to zero when the connection is established.') msdp_peer_in_sa_requests = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerInSARequests.setStatus('current') if mibBuilder.loadTexts: msdpPeerInSARequests.setDescription('The number of MSDP SA-Request messages received on this connection. This object should be initialized to zero when the connection is established.') msdp_peer_out_sa_requests = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerOutSARequests.setStatus('current') if mibBuilder.loadTexts: msdpPeerOutSARequests.setDescription('The number of MSDP SA-Request messages transmitted on this connection. This object should be initialized to zero when the connection is established.') msdp_peer_in_sa_responses = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerInSAResponses.setStatus('current') if mibBuilder.loadTexts: msdpPeerInSAResponses.setDescription('The number of MSDP SA-Response messages received on this connection. This object should be initialized to zero when the connection is established.') msdp_peer_out_sa_responses = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerOutSAResponses.setStatus('current') if mibBuilder.loadTexts: msdpPeerOutSAResponses.setDescription('The number of MSDP SA Response messages transmitted on this TCP connection. This object should be initialized to zero when the connection is established.') msdp_peer_in_control_messages = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 11), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerInControlMessages.setStatus('current') if mibBuilder.loadTexts: msdpPeerInControlMessages.setDescription('The total number of MSDP messages received on this TCP connection. This object should be initialized to zero when the connection is established.') msdp_peer_out_control_messages = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerOutControlMessages.setStatus('current') if mibBuilder.loadTexts: msdpPeerOutControlMessages.setDescription('The total number of MSDP messages transmitted on this TCP connection. This object should be initialized to zero when the connection is established.') msdp_peer_in_data_packets = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerInDataPackets.setStatus('current') if mibBuilder.loadTexts: msdpPeerInDataPackets.setDescription('The total number of encapsulated data packets received from this peer. This object should be initialized to zero when the connection is established.') msdp_peer_out_data_packets = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerOutDataPackets.setStatus('current') if mibBuilder.loadTexts: msdpPeerOutDataPackets.setDescription('The total number of encapsulated data packets sent to this peer. This object should be initialized to zero when the connection is established.') msdp_peer_fsm_established_transitions = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 15), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerFsmEstablishedTransitions.setStatus('current') if mibBuilder.loadTexts: msdpPeerFsmEstablishedTransitions.setDescription('The total number of times the MSDP FSM transitioned into the established state.') msdp_peer_fsm_established_time = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 16), gauge32()).setUnits('seconds').setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerFsmEstablishedTime.setStatus('current') if mibBuilder.loadTexts: msdpPeerFsmEstablishedTime.setDescription('This timer indicates how long (in seconds) this peer has been in the Established state or how long since this peer was last in the Established state. It is set to zero when a new peer is configured or the MSDP speaker is booted.') msdp_peer_in_message_elapsed_time = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 17), gauge32()).setUnits('seconds').setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerInMessageElapsedTime.setStatus('current') if mibBuilder.loadTexts: msdpPeerInMessageElapsedTime.setDescription('Elapsed time in seconds since the last MSDP message was received from the peer. Each time msdpPeerInControlMessages is incremented, the value of this object is set to zero (0).') msdp_peer_local_address = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 18), ip_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: msdpPeerLocalAddress.setStatus('current') if mibBuilder.loadTexts: msdpPeerLocalAddress.setDescription("The local IP address of this entry's MSDP connection.") msdp_peer_sa_adv_period = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 19), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)).clone(60)).setUnits('seconds').setMaxAccess('readcreate') if mibBuilder.loadTexts: msdpPeerSAAdvPeriod.setStatus('current') if mibBuilder.loadTexts: msdpPeerSAAdvPeriod.setDescription('Time interval in seconds for the MinSAAdvertisementInterval MSDP timer.') msdp_peer_connect_retry_interval = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 20), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(120)).setUnits('seconds').setMaxAccess('readcreate') if mibBuilder.loadTexts: msdpPeerConnectRetryInterval.setStatus('current') if mibBuilder.loadTexts: msdpPeerConnectRetryInterval.setDescription('Time interval in seconds for the ConnectRetry timer.') msdp_peer_hold_time_configured = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 21), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(3, 65535))).clone(90)).setUnits('seconds').setMaxAccess('readcreate') if mibBuilder.loadTexts: msdpPeerHoldTimeConfigured.setStatus('current') if mibBuilder.loadTexts: msdpPeerHoldTimeConfigured.setDescription('Time interval in seconds for the Hold Timer configured for this MSDP speaker with this peer.') msdp_peer_keep_alive_configured = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 22), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 21845))).clone(30)).setUnits('seconds').setMaxAccess('readcreate') if mibBuilder.loadTexts: msdpPeerKeepAliveConfigured.setStatus('current') if mibBuilder.loadTexts: msdpPeerKeepAliveConfigured.setDescription('Time interval in seconds for the KeepAlive timer configured for this MSDP speaker with this peer. A reasonable maximum value for this timer would be configured to be one third of that of msdpPeerHoldTimeConfigured. If the value of this object is zero (0), no periodic KEEPALIVE messages are sent to the peer after the MSDP connection has been established.') msdp_peer_data_ttl = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 23), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readcreate') if mibBuilder.loadTexts: msdpPeerDataTtl.setStatus('current') if mibBuilder.loadTexts: msdpPeerDataTtl.setDescription('The minimum TTL a packet is required to have before it may be forwarded using SA encapsulation to this peer.') msdp_peer_process_requests_from = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 24), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: msdpPeerProcessRequestsFrom.setStatus('current') if mibBuilder.loadTexts: msdpPeerProcessRequestsFrom.setDescription('This object indicates whether or not to process MSDP SA Request messages from this peer. If True(1), MSDP SA Request messages from this peer are processed and replied to (if appropriate) with SA Response messages. If False(2), MSDP SA Request messages from this peer are silently ignored. It defaults to False when msdpCacheLifetime is 0 and True when msdpCacheLifetime is non-0.') msdp_peer_status = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 25), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: msdpPeerStatus.setStatus('current') if mibBuilder.loadTexts: msdpPeerStatus.setDescription("The RowStatus object by which peers can be added and deleted. A transition to 'active' will cause the MSDP Start Event to be generated. A transition out of the 'active' state will cause the MSDP Stop Event to be generated. Care should be used in providing write access to this object without adequate authentication.") msdp_peer_remote_port = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 26), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerRemotePort.setStatus('current') if mibBuilder.loadTexts: msdpPeerRemotePort.setDescription('The remote port for the TCP connection between the MSDP peers.') msdp_peer_local_port = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 27), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerLocalPort.setStatus('current') if mibBuilder.loadTexts: msdpPeerLocalPort.setDescription('The local port for the TCP connection between the MSDP peers.') msdp_peer_encapsulation_state = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('default', 1), ('received', 2), ('advertising', 3), ('sent', 4), ('agreed', 5), ('failed', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerEncapsulationState.setStatus('current') if mibBuilder.loadTexts: msdpPeerEncapsulationState.setDescription('The status of the encapsulation negotiation state machine.') msdp_peer_encapsulation_type = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 29), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('tcp', 1), ('udp', 2), ('gre', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerEncapsulationType.setStatus('current') if mibBuilder.loadTexts: msdpPeerEncapsulationType.setDescription('The encapsulation in use when encapsulating data in SA messages to this peer.') msdp_peer_connection_attempts = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 30), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerConnectionAttempts.setStatus('current') if mibBuilder.loadTexts: msdpPeerConnectionAttempts.setDescription('The number of times the state machine has transitioned from inactive to connecting.') msdp_peer_in_notifications = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 31), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerInNotifications.setStatus('current') if mibBuilder.loadTexts: msdpPeerInNotifications.setDescription('The number of MSDP Notification messages received on this connection. This object should be initialized to zero when the connection is established.') msdp_peer_out_notifications = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 32), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerOutNotifications.setStatus('current') if mibBuilder.loadTexts: msdpPeerOutNotifications.setDescription('The number of MSDP Notification messages transmitted on this connection. This object should be initialized to zero when the connection is established.') msdp_peer_last_error = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 5, 1, 33), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2).clone(hexValue='0000')).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpPeerLastError.setStatus('current') if mibBuilder.loadTexts: msdpPeerLastError.setDescription('The last error code and subcode seen by this peer on this connection. If no error has occurred, this field is zero. Otherwise, the first byte of this two byte OCTET STRING contains the error code, and the second byte contains the subcode.') msdp_sa_cache_table = mib_table((1, 3, 6, 1, 3, 92, 1, 1, 6)) if mibBuilder.loadTexts: msdpSACacheTable.setStatus('current') if mibBuilder.loadTexts: msdpSACacheTable.setDescription("The (conceptual) table listing the MSDP SA advertisements currently in the MSDP speaker's cache.") msdp_sa_cache_entry = mib_table_row((1, 3, 6, 1, 3, 92, 1, 1, 6, 1)).setIndexNames((0, 'DRAFT-MSDP-MIB', 'msdpSACacheGroupAddr'), (0, 'DRAFT-MSDP-MIB', 'msdpSACacheSourceAddr'), (0, 'DRAFT-MSDP-MIB', 'msdpSACacheOriginRP')) if mibBuilder.loadTexts: msdpSACacheEntry.setStatus('current') if mibBuilder.loadTexts: msdpSACacheEntry.setDescription('An entry (conceptual row) representing an MSDP SA advert.') msdp_sa_cache_group_addr = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 1), ip_address()) if mibBuilder.loadTexts: msdpSACacheGroupAddr.setStatus('current') if mibBuilder.loadTexts: msdpSACacheGroupAddr.setDescription('The group address of the SA Cache entry.') msdp_sa_cache_source_addr = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 2), ip_address()) if mibBuilder.loadTexts: msdpSACacheSourceAddr.setStatus('current') if mibBuilder.loadTexts: msdpSACacheSourceAddr.setDescription('The source address of the SA Cache entry.') msdp_sa_cache_origin_rp = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 3), ip_address()) if mibBuilder.loadTexts: msdpSACacheOriginRP.setStatus('current') if mibBuilder.loadTexts: msdpSACacheOriginRP.setDescription('The address of the RP which originated the last SA message accepted for this entry.') msdp_sa_cache_peer_learned_from = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 4), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpSACachePeerLearnedFrom.setStatus('current') if mibBuilder.loadTexts: msdpSACachePeerLearnedFrom.setDescription('The peer from which this SA Cache entry was last accepted. This address must correspond to the msdpPeerRemoteAddress value for a row in the MSDP Peer Table.') msdp_sa_cache_rpf_peer = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 5), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpSACacheRPFPeer.setStatus('current') if mibBuilder.loadTexts: msdpSACacheRPFPeer.setDescription('The peer from which an SA message corresponding to this cache entry would be accepted (i.e. the RPF peer for msdpSACacheOriginRP). This may be different than msdpSACachePeerLearnedFrom if this entry was created by an MSDP SA-Response. This address must correspond to the msdpPeerRemoteAddress value for a row in the MSDP Peer Table.') msdp_sa_cache_in_s_as = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpSACacheInSAs.setStatus('current') if mibBuilder.loadTexts: msdpSACacheInSAs.setDescription('The number of MSDP SA messages received relevant to this cache entry. This object must be initialized to zero when creating a cache entry.') msdp_sa_cache_in_data_packets = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpSACacheInDataPackets.setStatus('current') if mibBuilder.loadTexts: msdpSACacheInDataPackets.setDescription('The number of MSDP encapsulated data packets received relevant to this cache entry. This object must be initialized to zero when creating a cache entry.') msdp_sa_cache_up_time = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 8), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpSACacheUpTime.setStatus('current') if mibBuilder.loadTexts: msdpSACacheUpTime.setDescription('The time since this entry was placed in the SA cache.') msdp_sa_cache_expiry_time = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 9), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: msdpSACacheExpiryTime.setStatus('current') if mibBuilder.loadTexts: msdpSACacheExpiryTime.setDescription('The time remaining before this entry will expire from the SA cache.') msdp_sa_cache_status = mib_table_column((1, 3, 6, 1, 3, 92, 1, 1, 6, 1, 10), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: msdpSACacheStatus.setStatus('current') if mibBuilder.loadTexts: msdpSACacheStatus.setDescription("The status of this row in the table. The only allowable actions are to retreive the status, which will be `active', or to set the status to `destroy' in order to remove this entry from the cache.") msdp_traps = mib_identifier((1, 3, 6, 1, 3, 92, 1, 1, 7)) msdp_established = notification_type((1, 3, 6, 1, 3, 92, 1, 1, 7, 1)).setObjects(('DRAFT-MSDP-MIB', 'msdpPeerFsmEstablishedTransitions')) if mibBuilder.loadTexts: msdpEstablished.setStatus('current') if mibBuilder.loadTexts: msdpEstablished.setDescription('The MSDP Established event is generated when the MSDP FSM enters the ESTABLISHED state.') msdp_backward_transition = notification_type((1, 3, 6, 1, 3, 92, 1, 1, 7, 2)).setObjects(('DRAFT-MSDP-MIB', 'msdpPeerState')) if mibBuilder.loadTexts: msdpBackwardTransition.setStatus('current') if mibBuilder.loadTexts: msdpBackwardTransition.setDescription('The MSDPBackwardTransition Event is generated when the MSDP FSM moves from a higher numbered state to a lower numbered state.') msdp_mib_conformance = mib_identifier((1, 3, 6, 1, 3, 92, 1, 1, 8)) msdp_mib_compliances = mib_identifier((1, 3, 6, 1, 3, 92, 1, 1, 8, 1)) msdp_mib_groups = mib_identifier((1, 3, 6, 1, 3, 92, 1, 1, 8, 2)) msdp_mib_compliance = module_compliance((1, 3, 6, 1, 3, 92, 1, 1, 8, 1, 1)).setObjects(('DRAFT-MSDP-MIB', 'msdpMIBGlobalsGroup'), ('DRAFT-MSDP-MIB', 'msdpSACacheGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): msdp_mib_compliance = msdpMIBCompliance.setStatus('current') if mibBuilder.loadTexts: msdpMIBCompliance.setDescription('The compliance statement for entities which implement the MSDP MIB.') msdp_mib_globals_group = object_group((1, 3, 6, 1, 3, 92, 1, 1, 8, 2, 1)).setObjects(('DRAFT-MSDP-MIB', 'msdpEnabled')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): msdp_mib_globals_group = msdpMIBGlobalsGroup.setStatus('current') if mibBuilder.loadTexts: msdpMIBGlobalsGroup.setDescription('A collection of objects providing information on global MSDP state.') msdp_mib_peer_group = object_group((1, 3, 6, 1, 3, 92, 1, 1, 8, 2, 2)).setObjects(('DRAFT-MSDP-MIB', 'msdpPeerRPFFailures'), ('DRAFT-MSDP-MIB', 'msdpPeerState'), ('DRAFT-MSDP-MIB', 'msdpPeerInSAs'), ('DRAFT-MSDP-MIB', 'msdpPeerOutSAs'), ('DRAFT-MSDP-MIB', 'msdpPeerInSARequests'), ('DRAFT-MSDP-MIB', 'msdpPeerOutSARequests'), ('DRAFT-MSDP-MIB', 'msdpPeerInSAResponses'), ('DRAFT-MSDP-MIB', 'msdpPeerOutSAResponses'), ('DRAFT-MSDP-MIB', 'msdpPeerInNotifications'), ('DRAFT-MSDP-MIB', 'msdpPeerOutNotifications'), ('DRAFT-MSDP-MIB', 'msdpPeerInControlMessages'), ('DRAFT-MSDP-MIB', 'msdpPeerOutControlMessages'), ('DRAFT-MSDP-MIB', 'msdpPeerInDataPackets'), ('DRAFT-MSDP-MIB', 'msdpPeerOutDataPackets'), ('DRAFT-MSDP-MIB', 'msdpPeerFsmEstablishedTransitions'), ('DRAFT-MSDP-MIB', 'msdpPeerFsmEstablishedTime'), ('DRAFT-MSDP-MIB', 'msdpPeerLocalAddress'), ('DRAFT-MSDP-MIB', 'msdpPeerRemotePort'), ('DRAFT-MSDP-MIB', 'msdpPeerLocalPort'), ('DRAFT-MSDP-MIB', 'msdpPeerSAAdvPeriod'), ('DRAFT-MSDP-MIB', 'msdpPeerConnectRetryInterval'), ('DRAFT-MSDP-MIB', 'msdpPeerHoldTimeConfigured'), ('DRAFT-MSDP-MIB', 'msdpPeerKeepAliveConfigured'), ('DRAFT-MSDP-MIB', 'msdpPeerInMessageElapsedTime'), ('DRAFT-MSDP-MIB', 'msdpPeerDataTtl'), ('DRAFT-MSDP-MIB', 'msdpPeerProcessRequestsFrom'), ('DRAFT-MSDP-MIB', 'msdpPeerEncapsulationState'), ('DRAFT-MSDP-MIB', 'msdpPeerEncapsulationType'), ('DRAFT-MSDP-MIB', 'msdpPeerConnectionAttempts'), ('DRAFT-MSDP-MIB', 'msdpPeerLastError'), ('DRAFT-MSDP-MIB', 'msdpPeerStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): msdp_mib_peer_group = msdpMIBPeerGroup.setStatus('current') if mibBuilder.loadTexts: msdpMIBPeerGroup.setDescription('A collection of objects for managing MSDP peers.') msdp_sa_cache_group = object_group((1, 3, 6, 1, 3, 92, 1, 1, 8, 2, 3)).setObjects(('DRAFT-MSDP-MIB', 'msdpCacheLifetime'), ('DRAFT-MSDP-MIB', 'msdpNumSACacheEntries'), ('DRAFT-MSDP-MIB', 'msdpSAHoldDownPeriod'), ('DRAFT-MSDP-MIB', 'msdpSACachePeerLearnedFrom'), ('DRAFT-MSDP-MIB', 'msdpSACacheRPFPeer'), ('DRAFT-MSDP-MIB', 'msdpSACacheInSAs'), ('DRAFT-MSDP-MIB', 'msdpSACacheInDataPackets'), ('DRAFT-MSDP-MIB', 'msdpSACacheUpTime'), ('DRAFT-MSDP-MIB', 'msdpSACacheExpiryTime'), ('DRAFT-MSDP-MIB', 'msdpSACacheStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): msdp_sa_cache_group = msdpSACacheGroup.setStatus('current') if mibBuilder.loadTexts: msdpSACacheGroup.setDescription('A collection of objects for managing MSDP SA cache entries.') mibBuilder.exportSymbols('DRAFT-MSDP-MIB', msdpPeerRPFFailures=msdpPeerRPFFailures, msdpRequestsGroupAddress=msdpRequestsGroupAddress, msdpPeerInSAs=msdpPeerInSAs, msdpMIB=msdpMIB, msdpPeerOutDataPackets=msdpPeerOutDataPackets, msdpSACacheRPFPeer=msdpSACacheRPFPeer, msdpSACacheInDataPackets=msdpSACacheInDataPackets, msdpMIBCompliances=msdpMIBCompliances, msdpNumSACacheEntries=msdpNumSACacheEntries, msdpPeerDataTtl=msdpPeerDataTtl, msdpPeerEntry=msdpPeerEntry, msdpMIBPeerGroup=msdpMIBPeerGroup, msdpSAHoldDownPeriod=msdpSAHoldDownPeriod, msdpRequestsTable=msdpRequestsTable, msdpPeerStatus=msdpPeerStatus, msdpPeerInMessageElapsedTime=msdpPeerInMessageElapsedTime, msdpPeerTable=msdpPeerTable, msdpPeerFsmEstablishedTime=msdpPeerFsmEstablishedTime, msdpPeerKeepAliveConfigured=msdpPeerKeepAliveConfigured, msdpSACacheInSAs=msdpSACacheInSAs, msdpMIBGlobalsGroup=msdpMIBGlobalsGroup, msdpPeerOutControlMessages=msdpPeerOutControlMessages, msdpSACacheUpTime=msdpSACacheUpTime, msdpSACacheGroup=msdpSACacheGroup, msdpPeerInSARequests=msdpPeerInSARequests, msdpPeerSAAdvPeriod=msdpPeerSAAdvPeriod, msdpPeerLocalPort=msdpPeerLocalPort, msdpBackwardTransition=msdpBackwardTransition, msdpPeerOutNotifications=msdpPeerOutNotifications, msdpPeerEncapsulationState=msdpPeerEncapsulationState, msdpMIBCompliance=msdpMIBCompliance, msdpPeerProcessRequestsFrom=msdpPeerProcessRequestsFrom, msdpSACacheStatus=msdpSACacheStatus, msdpPeerRemoteAddress=msdpPeerRemoteAddress, msdpSACacheGroupAddr=msdpSACacheGroupAddr, msdpMIBConformance=msdpMIBConformance, msdp=msdp, msdpSACacheEntry=msdpSACacheEntry, msdpPeerEncapsulationType=msdpPeerEncapsulationType, msdpPeerOutSAs=msdpPeerOutSAs, msdpPeerConnectRetryInterval=msdpPeerConnectRetryInterval, msdpSACacheSourceAddr=msdpSACacheSourceAddr, msdpSACacheOriginRP=msdpSACacheOriginRP, msdpSACacheExpiryTime=msdpSACacheExpiryTime, msdpRequestsGroupMask=msdpRequestsGroupMask, msdpPeerOutSAResponses=msdpPeerOutSAResponses, msdpPeerRemotePort=msdpPeerRemotePort, msdpRequestsPeer=msdpRequestsPeer, msdpSACachePeerLearnedFrom=msdpSACachePeerLearnedFrom, msdpPeerState=msdpPeerState, msdpPeerOutSARequests=msdpPeerOutSARequests, msdpPeerInNotifications=msdpPeerInNotifications, PYSNMP_MODULE_ID=msdpMIB, msdpPeerInSAResponses=msdpPeerInSAResponses, msdpTraps=msdpTraps, msdpMIBobjects=msdpMIBobjects, msdpPeerHoldTimeConfigured=msdpPeerHoldTimeConfigured, msdpRequestsStatus=msdpRequestsStatus, msdpRequestsEntry=msdpRequestsEntry, msdpPeerConnectionAttempts=msdpPeerConnectionAttempts, msdpPeerInControlMessages=msdpPeerInControlMessages, msdpMIBGroups=msdpMIBGroups, msdpPeerLastError=msdpPeerLastError, msdpCacheLifetime=msdpCacheLifetime, msdpPeerLocalAddress=msdpPeerLocalAddress, msdpEnabled=msdpEnabled, msdpPeerInDataPackets=msdpPeerInDataPackets, msdpEstablished=msdpEstablished, msdpPeerFsmEstablishedTransitions=msdpPeerFsmEstablishedTransitions, msdpSACacheTable=msdpSACacheTable)
# Simon McLain 208-03-11 Phython Tutorial 4.7.2 def parrot(voltage, state='a stiff', action='voom', type='Norwegian Blue'): print("-- This parrot wouldn't", action, end=' ') print("if you put", voltage, "volts through it.") print("-- Lovely plumage, the", type) print("-- It's", state, "!")
def parrot(voltage, state='a stiff', action='voom', type='Norwegian Blue'): print("-- This parrot wouldn't", action, end=' ') print('if you put', voltage, 'volts through it.') print('-- Lovely plumage, the', type) print("-- It's", state, '!')
n = int(input()) combinations = 0 for x1 in range(0, n + 1): for x2 in range(0, n + 1): for x3 in range(0, n + 1): for x4 in range(0, n + 1): for x5 in range(0, n + 1): if x1 + x2 + x3 + x4 + x5 == n: combinations += 1 print(combinations)
n = int(input()) combinations = 0 for x1 in range(0, n + 1): for x2 in range(0, n + 1): for x3 in range(0, n + 1): for x4 in range(0, n + 1): for x5 in range(0, n + 1): if x1 + x2 + x3 + x4 + x5 == n: combinations += 1 print(combinations)
PP_names = {1: 'H.pbe-rrkjus_psl.0.1.UPF', 2: 'He_ONCV_PBE-1.0.upf', 3: 'li_pbe_v1.4.uspp.F.UPF', 4: 'Be_ONCV_PBE-1.0.upf', 5: 'B.pbe-n-kjpaw_psl.0.1.UPF', 6: 'C_pbe_v1.2.uspp.F.UPF', 7: 'N.pbe.theos.UPF', 8: 'O.pbe-n-kjpaw_psl.0.1.UPF', 9: 'f_pbe_v1.4.uspp.F.UPF', 10: 'Ne.pbe-n-kjpaw_psl.1.0.0.UPF', 11: 'Na_pbe_v1.uspp.F.UPF', 12: 'mg_pbe_v1.4.uspp.F.UPF', 13: 'Al.pbe-n-kjpaw_psl.1.0.0.UPF', 14: 'Si.pbe-n-rrkjus_psl.1.0.0.UPF', 15: 'P.pbe-n-rrkjus_psl.1.0.0.UPF', 16: 'S_pbe_v1.2.uspp.F.UPF', 17: 'Cl.pbe-n-rrkjus_psl.1.0.0.UPF', 18: 'Ar.pbe-n-rrkjus_psl.1.0.0.UPF', 19: 'K.pbe-spn-rrkjus_psl.1.0.0.UPF', 20: 'Ca_pbe_v1.uspp.F.UPF', 21: 'Sc_pbe_v1.uspp.F.UPF', 22: 'ti_pbe_v1.4.uspp.F.UPF', 23: 'V_pbe_v1.uspp.F.UPF', 24: 'cr_pbe_v1.5.uspp.F.UPF', 25: 'Mn.pbe-spn-kjpaw_psl.0.3.1.UPF', 26: 'Fe.pbe-spn-kjpaw_psl.0.2.1.UPF', 27: 'Co_pbe_v1.2.uspp.F.UPF', 28: 'ni_pbe_v1.4.uspp.F.UPF', 29: 'Cu_pbe_v1.2.uspp.F.UPF', 30: 'Zn_pbe_v1.uspp.F.UPF', 31: 'Ga.pbe-dn-kjpaw_psl.1.0.0.UPF', 32: 'Ge.pbe-dn-kjpaw_psl.1.0.0.UPF', 33: 'As.pbe-n-rrkjus_psl.0.2.UPF', 34: 'Se_pbe_v1.uspp.F.UPF', 35: 'br_pbe_v1.4.uspp.F.UPF', 36: 'Kr.pbe-n-rrkjus_psl.0.2.3.UPF', 37: 'Rb_ONCV_PBE-1.0.upf', 38: 'Sr.pbe-spn-rrkjus_psl.1.0.0.UPF', 39: 'Y_pbe_v1.uspp.F.UPF', 40: 'Zr_pbe_v1.uspp.F.UPF', 41: 'Nb.pbe-spn-kjpaw_psl.0.3.0.UPF', 42: 'Mo_ONCV_PBE-1.0.upf', 43: 'Tc_ONCV_PBE-1.0.upf', 44: 'Ru_ONCV_PBE-1.0.upf', 45: 'Rh.pbe-spn-kjpaw_psl.1.0.0.UPF', 46: 'Pd.pbe-spn-kjpaw_psl.1.0.0.UPF', 47: 'ag_pbe_v1.4.uspp.F.UPF', 48: 'Cd.pbe-dn-rrkjus_psl.0.3.1.UPF', 49: 'In.pbe-dn-rrkjus_psl.0.2.2.UPF', 50: 'Sn_pbe_v1.uspp.F.UPF', 51: 'sb_pbe_v1.4.uspp.F.UPF', 52: 'Te_pbe_v1.uspp.F.UPF', 53: 'I_pbe_v1.uspp.F.UPF', 54: 'Xe.pbe-dn-rrkjus_psl.1.0.0.UPF', 55: 'Cs_pbe_v1.uspp.F.UPF', 56: 'Ba_ONCV_PBE-1.0.upf', 57: 'La.GGA-PBE-paw-v1.0.UPF', 58: 'Ce.GGA-PBE-paw-v1.0.UPF', 59: 'Pr.GGA-PBE-paw-v1.0.UPF', 60: 'Nd.GGA-PBE-paw-v1.0.UPF', 62: 'Sm.GGA-PBE-paw-v1.0.UPF', 63: 'Eu.GGA-PBE-paw-v1.0.UPF', 64: 'Gd.GGA-PBE-paw-v1.0.UPF', 65: 'Tb.GGA-PBE-paw-v1.0.UPF', 66: 'Dy.GGA-PBE-paw-v1.0.UPF', 67: 'Ho.GGA-PBE-paw-v1.0.UPF', 68: 'Er.GGA-PBE-paw-v1.0.UPF', 69: 'Tm.GGA-PBE-paw-v1.0.UPF', 70: 'Yb.GGA-PBE-paw-v1.0.UPF', 71: 'Lu.GGA-PBE-paw-v1.0.UPF', 72: 'Hf.pbe-spdfn-kjpaw_psl.1.0.0.UPF', 73: 'Ta.pbe-spfn-rrkjus_psl.1.0.0.UPF', 74: 'W_pbe_v1.2.uspp.F.UPF', 75: 'Re_pbe_v1.2.uspp.F.UPF', 76: 'Os.pbe-spfn-rrkjus_psl.1.0.0.UPF', 77: 'Ir_pbe_v1.2.uspp.F.UPF', 78: 'Pt.pbe-spfn-rrkjus_psl.1.0.0.UPF', 79: 'Au_ONCV_PBE-1.0.upf', 80: 'Hg_pbe_v1.uspp.F.UPF', 81: 'Tl.pbe-dn-rrkjus_psl.1.0.0.UPF', 82: 'Pb.pbe-dn-kjpaw_psl.0.2.2.UPF', 83: 'Bi.pbe-dn-kjpaw_psl.0.2.2.UPF'} wfccutoffs = {1: 55.0, 2: 55.0, 3: 50, 4: 55.0, 5: 50, 6: 50.0, 7: 55.0, 8: 70.0, 9: 50.0, 10: 200.0, 11: 50, 12: 50, 13: 50, 14: 70, 15: 50, 16: 50, 17: 60.0, 18: 120.0, 19: 50.0, 20: 50, 21: 50, 22: 50, 23: 50, 24: 50, 25: 70.0, 26: 90.0, 27: 55.0, 28: 50, 29: 50, 30: 50, 31: 70.0, 32: 50, 33: 50, 34: 50, 35: 50, 36: 100.0, 37: 50.0, 38: 50, 39: 50, 40: 50, 41: 50, 42: 50, 43: 50, 44: 50, 45: 50, 46: 55.0, 47: 50, 48: 50, 49: 50, 50: 50, 51: 50, 52: 50, 53: 50, 54: 120.0, 55: 50, 56: 50, 57: 55.0, 58: 50, 59: 50.0, 60: 50, 62: 50, 63: 55.0, 64: 50, 65: 50, 66: 50, 67: 50, 68: 50, 69: 50, 70: 50, 71: 50, 72: 120.0, 73: 50, 74: 50, 75: 50, 76: 60.0, 77: 50, 78: 55.0, 79: 50, 80: 50, 81: 50, 82: 50, 83: 50} rhocutoffs = {1: 440.0, 2: 220.0, 3: 400.0, 4: 220.0, 5: 400.0, 6: 400.0, 7: 440.0, 8: 560.0, 9: 400.0, 10: 1600.0, 11: 400.0, 12: 400.0, 13: 400.0, 14: 560.0, 15: 400.0, 16: 400.0, 17: 480.0, 18: 960.0, 19: 400.0, 20: 400.0, 21: 400.0, 22: 400.0, 23: 400.0, 24: 400.0, 25: 840.0, 26: 1080.0, 27: 440.0, 28: 400.0, 29: 400.0, 30: 400.0, 31: 560.0, 32: 400.0, 33: 400.0, 34: 400.0, 35: 400.0, 36: 800.0, 37: 200.0, 38: 400.0, 39: 400.0, 40: 400.0, 41: 400.0, 42: 200.0, 43: 200.0, 44: 200.0, 45: 400.0, 46: 440.0, 47: 400.0, 48: 400.0, 49: 400.0, 50: 400.0, 51: 400.0, 52: 400.0, 53: 400.0, 54: 960.0, 55: 400.0, 56: 200.0, 57: 440.0, 58: 400.0, 59: 400.0, 60: 400.0, 62: 400.0, 63: 440.0, 64: 400.0, 65: 400.0, 66: 400.0, 67: 400.0, 68: 400.0, 69: 400.0, 70: 400.0, 71: 400.0, 72: 960.0, 73: 400.0, 74: 400.0, 75: 400.0, 76: 480.0, 77: 400.0, 78: 440.0, 79: 200.0, 80: 400.0, 81: 400.0, 82: 400.0, 83: 400.0}
pp_names = {1: 'H.pbe-rrkjus_psl.0.1.UPF', 2: 'He_ONCV_PBE-1.0.upf', 3: 'li_pbe_v1.4.uspp.F.UPF', 4: 'Be_ONCV_PBE-1.0.upf', 5: 'B.pbe-n-kjpaw_psl.0.1.UPF', 6: 'C_pbe_v1.2.uspp.F.UPF', 7: 'N.pbe.theos.UPF', 8: 'O.pbe-n-kjpaw_psl.0.1.UPF', 9: 'f_pbe_v1.4.uspp.F.UPF', 10: 'Ne.pbe-n-kjpaw_psl.1.0.0.UPF', 11: 'Na_pbe_v1.uspp.F.UPF', 12: 'mg_pbe_v1.4.uspp.F.UPF', 13: 'Al.pbe-n-kjpaw_psl.1.0.0.UPF', 14: 'Si.pbe-n-rrkjus_psl.1.0.0.UPF', 15: 'P.pbe-n-rrkjus_psl.1.0.0.UPF', 16: 'S_pbe_v1.2.uspp.F.UPF', 17: 'Cl.pbe-n-rrkjus_psl.1.0.0.UPF', 18: 'Ar.pbe-n-rrkjus_psl.1.0.0.UPF', 19: 'K.pbe-spn-rrkjus_psl.1.0.0.UPF', 20: 'Ca_pbe_v1.uspp.F.UPF', 21: 'Sc_pbe_v1.uspp.F.UPF', 22: 'ti_pbe_v1.4.uspp.F.UPF', 23: 'V_pbe_v1.uspp.F.UPF', 24: 'cr_pbe_v1.5.uspp.F.UPF', 25: 'Mn.pbe-spn-kjpaw_psl.0.3.1.UPF', 26: 'Fe.pbe-spn-kjpaw_psl.0.2.1.UPF', 27: 'Co_pbe_v1.2.uspp.F.UPF', 28: 'ni_pbe_v1.4.uspp.F.UPF', 29: 'Cu_pbe_v1.2.uspp.F.UPF', 30: 'Zn_pbe_v1.uspp.F.UPF', 31: 'Ga.pbe-dn-kjpaw_psl.1.0.0.UPF', 32: 'Ge.pbe-dn-kjpaw_psl.1.0.0.UPF', 33: 'As.pbe-n-rrkjus_psl.0.2.UPF', 34: 'Se_pbe_v1.uspp.F.UPF', 35: 'br_pbe_v1.4.uspp.F.UPF', 36: 'Kr.pbe-n-rrkjus_psl.0.2.3.UPF', 37: 'Rb_ONCV_PBE-1.0.upf', 38: 'Sr.pbe-spn-rrkjus_psl.1.0.0.UPF', 39: 'Y_pbe_v1.uspp.F.UPF', 40: 'Zr_pbe_v1.uspp.F.UPF', 41: 'Nb.pbe-spn-kjpaw_psl.0.3.0.UPF', 42: 'Mo_ONCV_PBE-1.0.upf', 43: 'Tc_ONCV_PBE-1.0.upf', 44: 'Ru_ONCV_PBE-1.0.upf', 45: 'Rh.pbe-spn-kjpaw_psl.1.0.0.UPF', 46: 'Pd.pbe-spn-kjpaw_psl.1.0.0.UPF', 47: 'ag_pbe_v1.4.uspp.F.UPF', 48: 'Cd.pbe-dn-rrkjus_psl.0.3.1.UPF', 49: 'In.pbe-dn-rrkjus_psl.0.2.2.UPF', 50: 'Sn_pbe_v1.uspp.F.UPF', 51: 'sb_pbe_v1.4.uspp.F.UPF', 52: 'Te_pbe_v1.uspp.F.UPF', 53: 'I_pbe_v1.uspp.F.UPF', 54: 'Xe.pbe-dn-rrkjus_psl.1.0.0.UPF', 55: 'Cs_pbe_v1.uspp.F.UPF', 56: 'Ba_ONCV_PBE-1.0.upf', 57: 'La.GGA-PBE-paw-v1.0.UPF', 58: 'Ce.GGA-PBE-paw-v1.0.UPF', 59: 'Pr.GGA-PBE-paw-v1.0.UPF', 60: 'Nd.GGA-PBE-paw-v1.0.UPF', 62: 'Sm.GGA-PBE-paw-v1.0.UPF', 63: 'Eu.GGA-PBE-paw-v1.0.UPF', 64: 'Gd.GGA-PBE-paw-v1.0.UPF', 65: 'Tb.GGA-PBE-paw-v1.0.UPF', 66: 'Dy.GGA-PBE-paw-v1.0.UPF', 67: 'Ho.GGA-PBE-paw-v1.0.UPF', 68: 'Er.GGA-PBE-paw-v1.0.UPF', 69: 'Tm.GGA-PBE-paw-v1.0.UPF', 70: 'Yb.GGA-PBE-paw-v1.0.UPF', 71: 'Lu.GGA-PBE-paw-v1.0.UPF', 72: 'Hf.pbe-spdfn-kjpaw_psl.1.0.0.UPF', 73: 'Ta.pbe-spfn-rrkjus_psl.1.0.0.UPF', 74: 'W_pbe_v1.2.uspp.F.UPF', 75: 'Re_pbe_v1.2.uspp.F.UPF', 76: 'Os.pbe-spfn-rrkjus_psl.1.0.0.UPF', 77: 'Ir_pbe_v1.2.uspp.F.UPF', 78: 'Pt.pbe-spfn-rrkjus_psl.1.0.0.UPF', 79: 'Au_ONCV_PBE-1.0.upf', 80: 'Hg_pbe_v1.uspp.F.UPF', 81: 'Tl.pbe-dn-rrkjus_psl.1.0.0.UPF', 82: 'Pb.pbe-dn-kjpaw_psl.0.2.2.UPF', 83: 'Bi.pbe-dn-kjpaw_psl.0.2.2.UPF'} wfccutoffs = {1: 55.0, 2: 55.0, 3: 50, 4: 55.0, 5: 50, 6: 50.0, 7: 55.0, 8: 70.0, 9: 50.0, 10: 200.0, 11: 50, 12: 50, 13: 50, 14: 70, 15: 50, 16: 50, 17: 60.0, 18: 120.0, 19: 50.0, 20: 50, 21: 50, 22: 50, 23: 50, 24: 50, 25: 70.0, 26: 90.0, 27: 55.0, 28: 50, 29: 50, 30: 50, 31: 70.0, 32: 50, 33: 50, 34: 50, 35: 50, 36: 100.0, 37: 50.0, 38: 50, 39: 50, 40: 50, 41: 50, 42: 50, 43: 50, 44: 50, 45: 50, 46: 55.0, 47: 50, 48: 50, 49: 50, 50: 50, 51: 50, 52: 50, 53: 50, 54: 120.0, 55: 50, 56: 50, 57: 55.0, 58: 50, 59: 50.0, 60: 50, 62: 50, 63: 55.0, 64: 50, 65: 50, 66: 50, 67: 50, 68: 50, 69: 50, 70: 50, 71: 50, 72: 120.0, 73: 50, 74: 50, 75: 50, 76: 60.0, 77: 50, 78: 55.0, 79: 50, 80: 50, 81: 50, 82: 50, 83: 50} rhocutoffs = {1: 440.0, 2: 220.0, 3: 400.0, 4: 220.0, 5: 400.0, 6: 400.0, 7: 440.0, 8: 560.0, 9: 400.0, 10: 1600.0, 11: 400.0, 12: 400.0, 13: 400.0, 14: 560.0, 15: 400.0, 16: 400.0, 17: 480.0, 18: 960.0, 19: 400.0, 20: 400.0, 21: 400.0, 22: 400.0, 23: 400.0, 24: 400.0, 25: 840.0, 26: 1080.0, 27: 440.0, 28: 400.0, 29: 400.0, 30: 400.0, 31: 560.0, 32: 400.0, 33: 400.0, 34: 400.0, 35: 400.0, 36: 800.0, 37: 200.0, 38: 400.0, 39: 400.0, 40: 400.0, 41: 400.0, 42: 200.0, 43: 200.0, 44: 200.0, 45: 400.0, 46: 440.0, 47: 400.0, 48: 400.0, 49: 400.0, 50: 400.0, 51: 400.0, 52: 400.0, 53: 400.0, 54: 960.0, 55: 400.0, 56: 200.0, 57: 440.0, 58: 400.0, 59: 400.0, 60: 400.0, 62: 400.0, 63: 440.0, 64: 400.0, 65: 400.0, 66: 400.0, 67: 400.0, 68: 400.0, 69: 400.0, 70: 400.0, 71: 400.0, 72: 960.0, 73: 400.0, 74: 400.0, 75: 400.0, 76: 480.0, 77: 400.0, 78: 440.0, 79: 200.0, 80: 400.0, 81: 400.0, 82: 400.0, 83: 400.0}
''' 1. Write a Python function that takes two lists and returns True if they have at least one common member. 2. Write a Python program to print a specified list after removing the 0th, 4th and 5th elements. Sample List : ['Red', 'Green', 'White', 'Black', 'Pink', 'Yellow'] Expected Output : ['Green', 'White', 'Black'] 3. Write a Python program to generate a 3*4*6 3D array whose each element is *. 4. Write a Python program to print the numbers of a specified list after removing even numbers from it. 5. Write a Python program to shuffle and print a specified list. 6. Write a Python program to generate and print a list of first and last 5 elements where the values are square of numbers between 1 and 30 (both included). 7. Write a Python program to generate and print a list except for the first 5 elements, where the values are square of numbers between 1 and 30 (both included). 8. Write a Python program to generate all permutations of a list in Python. 9. Write a Python program to get the difference between the two lists. 10. Write a Python program access the index of a list. '''
""" 1. Write a Python function that takes two lists and returns True if they have at least one common member. 2. Write a Python program to print a specified list after removing the 0th, 4th and 5th elements. Sample List : ['Red', 'Green', 'White', 'Black', 'Pink', 'Yellow'] Expected Output : ['Green', 'White', 'Black'] 3. Write a Python program to generate a 3*4*6 3D array whose each element is *. 4. Write a Python program to print the numbers of a specified list after removing even numbers from it. 5. Write a Python program to shuffle and print a specified list. 6. Write a Python program to generate and print a list of first and last 5 elements where the values are square of numbers between 1 and 30 (both included). 7. Write a Python program to generate and print a list except for the first 5 elements, where the values are square of numbers between 1 and 30 (both included). 8. Write a Python program to generate all permutations of a list in Python. 9. Write a Python program to get the difference between the two lists. 10. Write a Python program access the index of a list. """
class System(): #A full System def __init__(self): # Empty Clock Domain self.clk_domain = None # Empty memory containers self.memories = [] self.mem_mode = None self.mem_ranges = [] self.mem_ctrl = None self.system_port = None # Empty CPU containers self.cpu = None self.membus = None # Cache containers self.l2bus = None self.l2cache = None
class System: def __init__(self): self.clk_domain = None self.memories = [] self.mem_mode = None self.mem_ranges = [] self.mem_ctrl = None self.system_port = None self.cpu = None self.membus = None self.l2bus = None self.l2cache = None
test = { 'name': 'q1', 'points': 0, 'suites': [ { 'cases': [ {'code': '>>> pairwise_multiply([2, 3, 4], [10, 20, 30]) == [20, 60, 120]\nTrue', 'hidden': False, 'locked': False}, {'code': '>>> pairwise_multiply(list(range(1, 10)), list(range(9, 0, -1))) == [9, 16, 21, 24, 25, 24, 21, 16, 9]\nTrue', 'hidden': False, 'locked': False}], 'scored': True, 'setup': '', 'teardown': '', 'type': 'doctest'}]}
test = {'name': 'q1', 'points': 0, 'suites': [{'cases': [{'code': '>>> pairwise_multiply([2, 3, 4], [10, 20, 30]) == [20, 60, 120]\nTrue', 'hidden': False, 'locked': False}, {'code': '>>> pairwise_multiply(list(range(1, 10)), list(range(9, 0, -1))) == [9, 16, 21, 24, 25, 24, 21, 16, 9]\nTrue', 'hidden': False, 'locked': False}], 'scored': True, 'setup': '', 'teardown': '', 'type': 'doctest'}]}
# Problem code def hammingWeight(n): count = 0 while n: count += n & 1 n >>= 1 return count # Setup a = 23 print("Number of set bits in 23:") b = hammingWeight(a) print(b)
def hamming_weight(n): count = 0 while n: count += n & 1 n >>= 1 return count a = 23 print('Number of set bits in 23:') b = hamming_weight(a) print(b)
def goodbye(): return 'Good Bye' def main(): print(goodbye()) if __name__ == '__main__': main()
def goodbye(): return 'Good Bye' def main(): print(goodbye()) if __name__ == '__main__': main()
class Solution: def numSub(self, s: str) -> int: s = s.split('0') res = 0 for x in s: y = len(x) res += (y + 1) * y // 2 return res if __name__ == '__main__': s = "1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100101011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100001001" res = Solution().numSub(s) print(res)
class Solution: def num_sub(self, s: str) -> int: s = s.split('0') res = 0 for x in s: y = len(x) res += (y + 1) * y // 2 return res if __name__ == '__main__': s = '1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100101011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100001001' res = solution().numSub(s) print(res)
"""Modules for fetching traces from a trace file.""" __all__=['CSVFileRequestHandler', 'FileRequestHandlerFactory', 'TEXTFileRequestHandler', 'ContextMonkeyFileCache', 'FileSchemaFactory', 'XMLFileRequestHandler', 'FileRequestHandler', 'JSONFileRequestHandler', 'YAMLFileRequestHandler']
"""Modules for fetching traces from a trace file.""" __all__ = ['CSVFileRequestHandler', 'FileRequestHandlerFactory', 'TEXTFileRequestHandler', 'ContextMonkeyFileCache', 'FileSchemaFactory', 'XMLFileRequestHandler', 'FileRequestHandler', 'JSONFileRequestHandler', 'YAMLFileRequestHandler']
""" Handlers ======== Placeholder for interface that takes requests from the rx queue and provides results in the tx queue. .. Copyright: Copyright 2019 Wirepas Ltd under Apache License, Version 2.0. See file LICENSE for full license details. """
""" Handlers ======== Placeholder for interface that takes requests from the rx queue and provides results in the tx queue. .. Copyright: Copyright 2019 Wirepas Ltd under Apache License, Version 2.0. See file LICENSE for full license details. """
# Problem Number: 187 # Time complexity: O((N-l)l) # Space Complexity: O((N-l)l) class Solution: def findRepeatedDnaSequences(self, s: str) -> List[str]: n=len(s) l=10 all_str=set() output= set() for i in range(n-l+1): temp= s[i:i+l] if temp in all_str: output.add(temp) all_str.add(temp) return output
class Solution: def find_repeated_dna_sequences(self, s: str) -> List[str]: n = len(s) l = 10 all_str = set() output = set() for i in range(n - l + 1): temp = s[i:i + l] if temp in all_str: output.add(temp) all_str.add(temp) return output
#!/usr/bin/env python # Copyright (C) 2010 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above # copyright notice, this list of conditions and the following disclaimer # in the documentation and/or other materials provided with the # distribution. # * Neither the name of Google Inc. nor the names of its # contributors may be used to endorse or promote products derived from # this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. """Wrapper objects for WebKit-specific utility routines.""" class MockConfig(object): def __init__(self, default_configuration='Release'): self._default_configuration = default_configuration def build_directory(self, configuration): return "/build" def build_dumprendertree(self, configuration): return True def default_configuration(self): return self._default_configuration def path_from_webkit_base(self, *comps): return "/" + "/".join(list(comps)) def webkit_base_dir(self): return "/"
"""Wrapper objects for WebKit-specific utility routines.""" class Mockconfig(object): def __init__(self, default_configuration='Release'): self._default_configuration = default_configuration def build_directory(self, configuration): return '/build' def build_dumprendertree(self, configuration): return True def default_configuration(self): return self._default_configuration def path_from_webkit_base(self, *comps): return '/' + '/'.join(list(comps)) def webkit_base_dir(self): return '/'
def link_codable() -> str: return """ public class Link: Codable { public var _add: String public init(link: String) { self._add = link } } public class UnLink: Codable { public var _del: String public init(unLink: String) { self._del = unLink } } public enum CreateOrLink<T: Codable>: Codable{ case createInput(T) case link(Link) } public enum UpdateOrLink<T: Codable>: Codable{ case updateInput(T) case link(Link) case unLink(UnLink) } """.strip() + '\n'
def link_codable() -> str: return '\npublic class Link: Codable {\n public var _add: String\n public init(link: String) {\n self._add = link\n }\n}\n\npublic class UnLink: Codable {\n public var _del: String\n public init(unLink: String) {\n self._del = unLink\n }\n}\n\npublic enum CreateOrLink<T: Codable>: Codable{\n case createInput(T)\n case link(Link)\n}\n\npublic enum UpdateOrLink<T: Codable>: Codable{\n case updateInput(T)\n case link(Link)\n case unLink(UnLink)\n}\n '.strip() + '\n'
# -*- coding: utf-8 -*- def journal_context(record={}, params={}): for k, v in params.items(): record["JOURNAL_" + k] = v return record
def journal_context(record={}, params={}): for (k, v) in params.items(): record['JOURNAL_' + k] = v return record
__author__ = 'Aaron Yang' __email__ = 'byang971@usc.edu' __date__ = '9/5/2020 3:52 AM' num = 5 num //= 2 print(num)
__author__ = 'Aaron Yang' __email__ = 'byang971@usc.edu' __date__ = '9/5/2020 3:52 AM' num = 5 num //= 2 print(num)
# pedindo um cateto oposto e um cateto adjacente co = float(input('Cateto Oposto: ')) ca = float(input('Cateto Adjacente: ')) # calculando os cateto para encontrar um hipotenusa hi = (co ** 2 + ca ** 2) / 0.5 # mostrando a hipotenusa dos catetos print(f'Cateto oposto: {co}, cateto Adjacente {ca}') print(f'Hipotenusa: {hi}')
co = float(input('Cateto Oposto: ')) ca = float(input('Cateto Adjacente: ')) hi = (co ** 2 + ca ** 2) / 0.5 print(f'Cateto oposto: {co}, cateto Adjacente {ca}') print(f'Hipotenusa: {hi}')
def solution(s: str) -> str: if all(i.islower() for i in s): return s return ''.join(' ' + i if i.isupper() else i for i in s)
def solution(s: str) -> str: if all((i.islower() for i in s)): return s return ''.join((' ' + i if i.isupper() else i for i in s))
a = [1, 2, 3, 4, 5] n = len(a) d = 4 print(a[d:] + a[:d])
a = [1, 2, 3, 4, 5] n = len(a) d = 4 print(a[d:] + a[:d])
human_years = 10 catYears_1st_year = 15 catYears_2nd_year = 9 catYears_older = 4 dogYears_1st_year = 15 dogYears_2st_year = 9 dogYears_older = 5 if human_years == 1: print(human_years, catYears_1st_year, dogYears_1st_year) if human_years == 2: print(human_years, catYears_1st_year + catYears_2nd_year, dogYears_1st_year + dogYears_2st_year) if human_years > 2: print(human_years, catYears_1st_year + catYears_2nd_year + (catYears_older * (human_years - 2)), dogYears_1st_year + dogYears_2st_year + (dogYears_older * (human_years - 2))) #def human_years_cat_years_dog_years(x): #return [x, 24+(x-2)*4 if (x != 1) else 15, 24+(x-2)*5 if (x != 1) else 15]
human_years = 10 cat_years_1st_year = 15 cat_years_2nd_year = 9 cat_years_older = 4 dog_years_1st_year = 15 dog_years_2st_year = 9 dog_years_older = 5 if human_years == 1: print(human_years, catYears_1st_year, dogYears_1st_year) if human_years == 2: print(human_years, catYears_1st_year + catYears_2nd_year, dogYears_1st_year + dogYears_2st_year) if human_years > 2: print(human_years, catYears_1st_year + catYears_2nd_year + catYears_older * (human_years - 2), dogYears_1st_year + dogYears_2st_year + dogYears_older * (human_years - 2))
class Validator(): @classmethod def validate(cls, value): raise NotImplementedError() class Transformer(): @classmethod def transform(cls, value): raise NotImplementedError() class BooleanStringValidator(Validator): """Validate a string is in boolean type.""" @classmethod def validate(cls, value): return value.lower() in ['true', 'false', '1', '0'] class BooleanStringTransformer(Transformer): """Transform a boolean string to boolean type.""" @classmethod def transform(cls, value): return value.lower() in ['true', '1']
class Validator: @classmethod def validate(cls, value): raise not_implemented_error() class Transformer: @classmethod def transform(cls, value): raise not_implemented_error() class Booleanstringvalidator(Validator): """Validate a string is in boolean type.""" @classmethod def validate(cls, value): return value.lower() in ['true', 'false', '1', '0'] class Booleanstringtransformer(Transformer): """Transform a boolean string to boolean type.""" @classmethod def transform(cls, value): return value.lower() in ['true', '1']
# Definition for singly-linked list. class ListNode: def __init__(self, val=0, next=None): self.val = val self.next = next class Solution: def reverseList(self, head: ListNode) -> ListNode: node= None while(head != null ): next= head.next head.next= node node= head head= next return node s= Solution() ll_1= ListNode(1) ll_2= ListNode(2) ll_3= ListNode(3) ll_4= ListNode(4) ll_5= ListNode(5) ll_1.next= ll_2 ll_2.next= ll_3 ll_3.next= ll_4 ll_4.next= ll_5 reversed_head= s.reverseList(ll_1) # print the reversed list reversed_list= "" while(reversed_head.next): reversed_list+=str(reversed_head.val)+"=>" reversed_head=reversed_head.next reversed_list+=str(reversed_head.val) print(reversed_list)
class Listnode: def __init__(self, val=0, next=None): self.val = val self.next = next class Solution: def reverse_list(self, head: ListNode) -> ListNode: node = None while head != null: next = head.next head.next = node node = head head = next return node s = solution() ll_1 = list_node(1) ll_2 = list_node(2) ll_3 = list_node(3) ll_4 = list_node(4) ll_5 = list_node(5) ll_1.next = ll_2 ll_2.next = ll_3 ll_3.next = ll_4 ll_4.next = ll_5 reversed_head = s.reverseList(ll_1) reversed_list = '' while reversed_head.next: reversed_list += str(reversed_head.val) + '=>' reversed_head = reversed_head.next reversed_list += str(reversed_head.val) print(reversed_list)
EDGES_BODY_25 = [ [0, 1], [1, 2], [2, 3], [3, 4], [1, 5], [5, 6], [6, 7], [1, 8], [8, 9], [9, 10], [10, 11], [11, 22], [22, 23], [11, 24], [8, 12], [12, 13], [13, 14], [14, 19], [19, 20], [14, 21], [0, 15], [15, 17], [0, 16], [16, 18], ] EDGES_FACE = [ [0, 1], [1, 2], [2, 3], [3, 4], [4, 5], [5, 6], [6, 7], [7, 8], [8, 9], [9, 10], [10, 11], [11, 12], [12, 13], [13, 14], [14, 15], [15, 16], [17, 18], [18, 19], [19, 20], [20, 21], [22, 23], [23, 24], [24, 25], [25, 26], [27, 28], [28, 29], [29, 30], [31, 32], [32, 33], [33, 34], [34, 35], [36, 37], [37, 38], [38, 39], [39, 40], [40, 41], [36, 41], [42, 43], [43, 44], [44, 45], [45, 46], [46, 47], [42, 47], [48, 49], [49, 50], [50, 51], [51, 52], [52, 53], [53, 54], [54, 55], [55, 56], [56, 57], [57, 58], [58, 59], [48, 59], [60, 61], [61, 62], [62, 63], [63, 64], [64, 65], [65, 66], [66, 67], [60, 67], ] EDGES_HAND = [ [0, 1], [1, 2], [2, 3], [3, 4], [0, 5], [5, 6], [6, 7], [7, 8], [0, 9], [9, 10], [10, 11], [11, 12], [0, 13], [13, 14], [14, 15], [15, 16], [0, 17], [17, 18], [18, 19], [19, 20], ]
edges_body_25 = [[0, 1], [1, 2], [2, 3], [3, 4], [1, 5], [5, 6], [6, 7], [1, 8], [8, 9], [9, 10], [10, 11], [11, 22], [22, 23], [11, 24], [8, 12], [12, 13], [13, 14], [14, 19], [19, 20], [14, 21], [0, 15], [15, 17], [0, 16], [16, 18]] edges_face = [[0, 1], [1, 2], [2, 3], [3, 4], [4, 5], [5, 6], [6, 7], [7, 8], [8, 9], [9, 10], [10, 11], [11, 12], [12, 13], [13, 14], [14, 15], [15, 16], [17, 18], [18, 19], [19, 20], [20, 21], [22, 23], [23, 24], [24, 25], [25, 26], [27, 28], [28, 29], [29, 30], [31, 32], [32, 33], [33, 34], [34, 35], [36, 37], [37, 38], [38, 39], [39, 40], [40, 41], [36, 41], [42, 43], [43, 44], [44, 45], [45, 46], [46, 47], [42, 47], [48, 49], [49, 50], [50, 51], [51, 52], [52, 53], [53, 54], [54, 55], [55, 56], [56, 57], [57, 58], [58, 59], [48, 59], [60, 61], [61, 62], [62, 63], [63, 64], [64, 65], [65, 66], [66, 67], [60, 67]] edges_hand = [[0, 1], [1, 2], [2, 3], [3, 4], [0, 5], [5, 6], [6, 7], [7, 8], [0, 9], [9, 10], [10, 11], [11, 12], [0, 13], [13, 14], [14, 15], [15, 16], [0, 17], [17, 18], [18, 19], [19, 20]]
# # PySNMP MIB module CTRON-APPN-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CTRON-APPN-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:26:48 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, SingleValueConstraint, ConstraintsIntersection, ValueSizeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "ConstraintsUnion") nwRtrProtoSuites, = mibBuilder.importSymbols("ROUTER-OIDS", "nwRtrProtoSuites") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Unsigned32, iso, IpAddress, MibScalar, MibTable, MibTableRow, MibTableColumn, NotificationType, Bits, TimeTicks, MibIdentifier, ObjectIdentity, ModuleIdentity, Integer32, Gauge32, Counter32, Counter64 = mibBuilder.importSymbols("SNMPv2-SMI", "Unsigned32", "iso", "IpAddress", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "NotificationType", "Bits", "TimeTicks", "MibIdentifier", "ObjectIdentity", "ModuleIdentity", "Integer32", "Gauge32", "Counter32", "Counter64") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") nwAppnRouter = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5)) nwAppnMibs = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 1)) nwAppnComponents = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2)) nwAppnSystem = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1)) nwAppnForwarding = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2)) nwAppnTopology = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4)) nwAppnFib = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 5)) nwAppnEndSystems = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 6)) nwAppnAccessControl = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 7)) nwAppnFilters = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 8)) nwAppnRedirector = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 9)) nwAppnEvent = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10)) nwAppnWorkGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 11)) nwAppnSysConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1)) nwAppnSysAdministration = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 2)) nwAppnSysCfgLocalNode = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2)) nwAppnSysCfgTables = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 3)) nwAppnFwdSystem = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1)) nwAppnFwdInterfaces = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2)) nwAppnFwdLinks = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3)) nwAppnFwdCounters = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1)) nwAppnFwdIfConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1)) nwAppnIfCn = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3)) nwAppnFwdIfCounters = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2)) nwAppnFwdLsConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1)) nwAppnFwdLsCounters = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2)) nwAppnDistanceVector = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 1)) nwAppnLinkState = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2)) nwAppnIsr = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1)) nwAppnIsrSystem = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 1)) nwAppnIsrInterfaces = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 2)) nwAppnIsrDatabase = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 3)) nwAppnIsrFilters = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 4)) nwAppnIsrConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 1, 1)) nwAppnIsrCounters = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 1, 2)) nwAppnIsrIfConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 2, 1)) nwAppnIsrIfCounters = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 2, 2)) nwAppnHostsSystem = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 6, 1)) nwAppnHostsInterfaces = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 6, 2)) nwAppnEventLogConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 1)) nwAppnEventLogFilterTable = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 2)) nwAppnEventLogTable = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 3)) nwAppnMibRevText = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 1, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnMibRevText.setStatus('mandatory') nwAppnSysRouterId = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(3, 17))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysRouterId.setStatus('mandatory') nwAppnSysNodeType = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("networknode", 1))).clone('networknode')).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnSysNodeType.setStatus('mandatory') nwAppnSysCpAlias = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysCpAlias.setStatus('mandatory') nwAppnSysModeCosMap = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2))).clone('yes')).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysModeCosMap.setStatus('mandatory') nwAppnSysMdsSupport = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2))).clone('yes')).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysMdsSupport.setStatus('mandatory') nwAppnSysMaxLocates = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysMaxLocates.setStatus('mandatory') nwAppnSysDirCacheSize = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(255)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysDirCacheSize.setStatus('mandatory') nwAppnSysMaxDirEntries = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysMaxDirEntries.setStatus('mandatory') nwAppnSysLocateTimeout = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysLocateTimeout.setStatus('mandatory') nwAppnSysRegCds = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2))).clone('yes')).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysRegCds.setStatus('mandatory') nwAppnSysMdsSendQSize = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(100)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysMdsSendQSize.setStatus('mandatory') nwAppnSysCosSize = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(16)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysCosSize.setStatus('mandatory') nwAppnSysTreeSize = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(40)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysTreeSize.setStatus('mandatory') nwAppnSysTreeUseLimit = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(40)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysTreeUseLimit.setStatus('mandatory') nwAppnSysMaxTdmNodes = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysMaxTdmNodes.setStatus('mandatory') nwAppnSysMaxTdmTGs = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysMaxTdmTGs.setStatus('mandatory') nwAppnSysMaxIsrSessions = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(1000)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysMaxIsrSessions.setStatus('mandatory') nwAppnSysIsrUpperThresh = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(900)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysIsrUpperThresh.setStatus('mandatory') nwAppnSysIsrLowerThresh = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 20), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(800)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysIsrLowerThresh.setStatus('mandatory') nwAppnSysIsrMaxRuSize = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(1024)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysIsrMaxRuSize.setStatus('mandatory') nwAppnSysIsrRcvPaceWind = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 63)).clone(8)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysIsrRcvPaceWind.setStatus('mandatory') nwAppnSysRtAddResist = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysRtAddResist.setStatus('mandatory') nwAppnSysStopType = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("abort", 1), ("immediate", 2), ("quiesce", 3), ("quiesceIsr", 4))).clone('quiesceIsr')).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysStopType.setStatus('mandatory') nwAppnSysBlockNum = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 25), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(3, 3)).setFixedLength(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysBlockNum.setStatus('mandatory') nwAppnSysIdNum = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 26), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(5, 5)).setFixedLength(5)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysIdNum.setStatus('mandatory') nwAppnSysLuTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 3, 1), ) if mibBuilder.loadTexts: nwAppnSysLuTable.setStatus('mandatory') nwAppnSysLuEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 3, 1, 1), ).setIndexNames((0, "CTRON-APPN-MIB", "nwAppnSysCpName"), (0, "CTRON-APPN-MIB", "nwAppnSysLuName")) if mibBuilder.loadTexts: nwAppnSysLuEntry.setStatus('mandatory') nwAppnSysCpName = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 3, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(3, 17))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysCpName.setStatus('mandatory') nwAppnSysLuName = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 3, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysLuName.setStatus('mandatory') nwAppnSysLuControl = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3))).clone(namedValues=NamedValues(("other", 1), ("delete", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysLuControl.setStatus('mandatory') nwAppnSysAdminStatus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disable", 2), ("enabled", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysAdminStatus.setStatus('mandatory') nwAppnSysOperStatus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 2, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3), ("pendingDisable", 4), ("pendingEnable", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnSysOperStatus.setStatus('mandatory') nwAppnSysAdminReset = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 2, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("other", 1), ("reset", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnSysAdminReset.setStatus('mandatory') nwAppnSysOperationalTime = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 2, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnSysOperationalTime.setStatus('mandatory') nwAppnSysVersion = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 2, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnSysVersion.setStatus('mandatory') nwAppnFwdCtrAdminStatus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdCtrAdminStatus.setStatus('mandatory') nwAppnFwdCtrReset = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("other", 1), ("reset", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdCtrReset.setStatus('mandatory') nwAppnFwdCtrOperationalTime = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdCtrOperationalTime.setStatus('mandatory') nwAppnFwdCtrInMus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdCtrInMus.setStatus('mandatory') nwAppnFwdCtrOutMus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdCtrOutMus.setStatus('mandatory') nwAppnFwdCtrFwdMus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdCtrFwdMus.setStatus('mandatory') nwAppnFwdCtrFilteredMus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdCtrFilteredMus.setStatus('mandatory') nwAppnFwdCtrDiscardMus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdCtrDiscardMus.setStatus('mandatory') nwAppnFwdCtrAddrErrMus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdCtrAddrErrMus.setStatus('mandatory') nwAppnFwdCtrLenErrMus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdCtrLenErrMus.setStatus('mandatory') nwAppnFwdCtrHdrErrMus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdCtrHdrErrMus.setStatus('mandatory') nwAppnFwdCtrInBytes = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdCtrInBytes.setStatus('mandatory') nwAppnFwdCtrOutBytes = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdCtrOutBytes.setStatus('mandatory') nwAppnFwdCtrFwdBytes = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdCtrFwdBytes.setStatus('mandatory') nwAppnFwdCtrFilteredBytes = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdCtrFilteredBytes.setStatus('mandatory') nwAppnFwdCtrDiscardBytes = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdCtrDiscardBytes.setStatus('mandatory') nwAppnFwdCtrHostInMus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdCtrHostInMus.setStatus('mandatory') nwAppnFwdCtrHostOutMus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdCtrHostOutMus.setStatus('mandatory') nwAppnFwdCtrHostDiscardMus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdCtrHostDiscardMus.setStatus('mandatory') nwAppnFwdCtrHostInBytes = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdCtrHostInBytes.setStatus('mandatory') nwAppnFwdCtrHostOutBytes = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdCtrHostOutBytes.setStatus('mandatory') nwAppnFwdCtrHostDiscardBytes = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdCtrHostDiscardBytes.setStatus('mandatory') nwAppnFwdIfTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1), ) if mibBuilder.loadTexts: nwAppnFwdIfTable.setStatus('mandatory') nwAppnFwdIfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1), ).setIndexNames((0, "CTRON-APPN-MIB", "nwAppnFwdIfIndex")) if mibBuilder.loadTexts: nwAppnFwdIfEntry.setStatus('mandatory') nwAppnFwdIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfIndex.setStatus('mandatory') nwAppnFwdIfAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disable", 2), ("enabled", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdIfAdminStatus.setStatus('mandatory') nwAppnFwdIfOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3), ("pendingDisable", 4), ("pendingEnable", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfOperStatus.setStatus('mandatory') nwAppnFwdIfOperationalTime = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfOperationalTime.setStatus('mandatory') nwAppnFwdIfControl = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("other", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdIfControl.setStatus('mandatory') nwAppnFwdIfMtu = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdIfMtu.setStatus('mandatory') nwAppnFwdIfForwarding = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdIfForwarding.setStatus('mandatory') nwAppnFwdIfFrameType = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 4, 8))).clone(namedValues=NamedValues(("other", 1), ("ethernet", 2), ("i8022", 4), ("sync", 8)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdIfFrameType.setStatus('mandatory') nwAppnFwdIfAclIdentifier = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 9), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdIfAclIdentifier.setStatus('mandatory') nwAppnFwdIfAclStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdIfAclStatus.setStatus('mandatory') nwAppnFwdIfCacheControl = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disable", 2), ("enable", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdIfCacheControl.setStatus('mandatory') nwAppnFwdIfCacheEntries = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCacheEntries.setStatus('mandatory') nwAppnFwdIfCacheHits = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCacheHits.setStatus('mandatory') nwAppnFwdIfCacheMisses = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCacheMisses.setStatus('mandatory') nwAppnExtensionTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2), ) if mibBuilder.loadTexts: nwAppnExtensionTable.setStatus('mandatory') nwAppnExtEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1), ).setIndexNames((0, "CTRON-APPN-MIB", "nwAppnExtIfIndex")) if mibBuilder.loadTexts: nwAppnExtEntry.setStatus('mandatory') nwAppnExtIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnExtIfIndex.setStatus('mandatory') nwAppnExtIfPortName = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnExtIfPortName.setStatus('mandatory') nwAppnExtIfPortType = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("nonswitched", 1), ("switched", 2), ("satf", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfPortType.setStatus('mandatory') nwAppnExtIfDlcType = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("llc2", 1), ("sdlc", 2), ("x25", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnExtIfDlcType.setStatus('mandatory') nwAppnExtIfMaxRBtuSize = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(99, 65535)).clone(2048)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfMaxRBtuSize.setStatus('mandatory') nwAppnExtIfTotLsActLim = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 256)).clone(16)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfTotLsActLim.setStatus('mandatory') nwAppnExtIfInbLsActLim = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 256)).clone(8)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfInbLsActLim.setStatus('mandatory') nwAppnExtIfOutbLsActLim = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 256)).clone(8)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfOutbLsActLim.setStatus('mandatory') nwAppnExtIfLocalLsRole = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("negotiable", 1), ("primary", 2), ("secondary", 3))).clone('negotiable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfLocalLsRole.setStatus('mandatory') nwAppnExtIfActXidXchgLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(9)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfActXidXchgLimit.setStatus('mandatory') nwAppnExtIfNonActXidXchgLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535)).clone(5)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfNonActXidXchgLimit.setStatus('mandatory') nwAppnExtIfLsXmitRcvCap = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("twowaysimultaneous", 1), ("twowayalternating", 2))).clone('twowaysimultaneous')).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfLsXmitRcvCap.setStatus('mandatory') nwAppnExtIfMaxIfrmRcvd = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 127)).clone(4)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfMaxIfrmRcvd.setStatus('mandatory') nwAppnExtIfDfltTargetPacing = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32767)).clone(7)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfDfltTargetPacing.setStatus('mandatory') nwAppnExtIfDfltMaxSBtuSize = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(99, 65535)).clone(2048)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfDfltMaxSBtuSize.setStatus('mandatory') nwAppnExtIfDfltEffectCap = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 603979776))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfDfltEffectCap.setStatus('mandatory') nwAppnExtIfDfltConnectCost = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfDfltConnectCost.setStatus('mandatory') nwAppnExtIfDfltByteCost = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfDfltByteCost.setStatus('mandatory') nwAppnExtIfDfltSecurity = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 32, 64, 96, 128, 160, 192))).clone(namedValues=NamedValues(("nonsecure", 1), ("publicSwitchNw", 32), ("undergroundCable", 64), ("secureConduit", 96), ("guardedConduit", 128), ("encrypted", 160), ("guardedRadiation", 192)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfDfltSecurity.setStatus('mandatory') nwAppnExtIfDfltPropDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 384, 9216, 147456, 294912, 2013265920))).clone(namedValues=NamedValues(("minimum", 0), ("negligible", 384), ("terrestrial", 9216), ("packetswitched", 147456), ("long", 294912), ("maximum", 2013265920)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfDfltPropDelay.setStatus('mandatory') nwAppnExtIfDfltUsrDef1 = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfDfltUsrDef1.setStatus('mandatory') nwAppnExtIfDfltUsrDef2 = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfDfltUsrDef2.setStatus('mandatory') nwAppnExtIfDfltUsrDef3 = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfDfltUsrDef3.setStatus('mandatory') nwAppnExtIfStopType = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("immediate", 1), ("orderly", 2))).clone('orderly')).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfStopType.setStatus('mandatory') nwAppnExtIfCpCpSupp = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2))).clone('yes')).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfCpCpSupp.setStatus('mandatory') nwAppnExtIfLimitedRsrc = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2))).clone('no')).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfLimitedRsrc.setStatus('mandatory') nwAppnExtIfAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 28), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnExtIfAddress.setStatus('mandatory') nwAppnExtIfSsap = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 29), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1).clone(hexValue="04")).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnExtIfSsap.setStatus('mandatory') nwAppnIfCnPortTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 1), ) if mibBuilder.loadTexts: nwAppnIfCnPortTable.setStatus('mandatory') nwAppnIfCnPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 1, 1), ).setIndexNames((0, "CTRON-APPN-MIB", "nwAppnIfCnPtFqName"), (0, "CTRON-APPN-MIB", "nwAppnIfCnPtName")) if mibBuilder.loadTexts: nwAppnIfCnPortEntry.setStatus('mandatory') nwAppnIfCnPtFqName = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(3, 17))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnIfCnPtFqName.setStatus('mandatory') nwAppnIfCnPtName = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnIfCnPtName.setStatus('mandatory') nwAppnIfCnPtControl = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3))).clone(namedValues=NamedValues(("other", 1), ("delete", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnIfCnPtControl.setStatus('mandatory') nwAppnIfCnTgCharTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2), ) if mibBuilder.loadTexts: nwAppnIfCnTgCharTable.setStatus('mandatory') nwAppnIfCnTgCharEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2, 1), ).setIndexNames((0, "CTRON-APPN-MIB", "nwAppnIfCnTgFqName")) if mibBuilder.loadTexts: nwAppnIfCnTgCharEntry.setStatus('mandatory') nwAppnIfCnTgFqName = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(3, 17))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnIfCnTgFqName.setStatus('mandatory') nwAppnIfCnTgEffectCap = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 603979776))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnIfCnTgEffectCap.setStatus('mandatory') nwAppnIfCnTgConnectCost = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnIfCnTgConnectCost.setStatus('mandatory') nwAppnIfCnTgByteCost = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnIfCnTgByteCost.setStatus('mandatory') nwAppnIfCnTgSecurity = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 32, 64, 96, 128, 160, 192))).clone(namedValues=NamedValues(("nonsecure", 1), ("publicSwitchNw", 32), ("undergroundCable", 64), ("secureConduit", 96), ("guardedConduit", 128), ("encrypted", 160), ("guardedRadiation", 192)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnIfCnTgSecurity.setStatus('mandatory') nwAppnIfCnTgPropDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 384, 9216, 147456, 294912, 2013265920))).clone(namedValues=NamedValues(("minimum", 0), ("negligible", 384), ("terrestrial", 9216), ("packetswitched", 147456), ("long", 294912), ("maximum", 2013265920)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnIfCnTgPropDelay.setStatus('mandatory') nwAppnIfCnTgUsrDef1 = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnIfCnTgUsrDef1.setStatus('mandatory') nwAppnIfCnTgUsrDef2 = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnIfCnTgUsrDef2.setStatus('mandatory') nwAppnIfCnTgUsrDef3 = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnIfCnTgUsrDef3.setStatus('mandatory') nwAppnFwdIfCtrTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1), ) if mibBuilder.loadTexts: nwAppnFwdIfCtrTable.setStatus('mandatory') nwAppnFwdIfCtrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1), ).setIndexNames((0, "CTRON-APPN-MIB", "nwAppnFwdIfCtrIfIndex")) if mibBuilder.loadTexts: nwAppnFwdIfCtrEntry.setStatus('mandatory') nwAppnFwdIfCtrIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCtrIfIndex.setStatus('mandatory') nwAppnFwdIfCtrAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdIfCtrAdminStatus.setStatus('mandatory') nwAppnFwdIfCtrReset = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("other", 1), ("reset", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdIfCtrReset.setStatus('mandatory') nwAppnFwdIfCtrOperationalTime = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCtrOperationalTime.setStatus('mandatory') nwAppnFwdIfCtrInMus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCtrInMus.setStatus('mandatory') nwAppnFwdIfCtrOutMus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCtrOutMus.setStatus('mandatory') nwAppnFwdIfCtrFwdMus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCtrFwdMus.setStatus('mandatory') nwAppnFwdIfCtrFilteredMus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCtrFilteredMus.setStatus('mandatory') nwAppnFwdIfCtrDiscardMus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCtrDiscardMus.setStatus('mandatory') nwAppnFwdIfCtrAddrErrMus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCtrAddrErrMus.setStatus('mandatory') nwAppnFwdIfCtrLenErrMus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCtrLenErrMus.setStatus('mandatory') nwAppnFwdIfCtrHdrErrMus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCtrHdrErrMus.setStatus('mandatory') nwAppnFwdIfCtrInBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCtrInBytes.setStatus('mandatory') nwAppnFwdIfCtrOutBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCtrOutBytes.setStatus('mandatory') nwAppnFwdIfCtrFwdBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCtrFwdBytes.setStatus('mandatory') nwAppnFwdIfCtrFilteredBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCtrFilteredBytes.setStatus('mandatory') nwAppnFwdIfCtrDiscardBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCtrDiscardBytes.setStatus('mandatory') nwAppnFwdIfCtrHostInMus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCtrHostInMus.setStatus('mandatory') nwAppnFwdIfCtrHostOutMus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCtrHostOutMus.setStatus('mandatory') nwAppnFwdIfCtrHostDiscardMus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCtrHostDiscardMus.setStatus('mandatory') nwAppnFwdIfCtrHostInBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCtrHostInBytes.setStatus('mandatory') nwAppnFwdIfCtrHostOutBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCtrHostOutBytes.setStatus('mandatory') nwAppnFwdIfCtrHostDiscardBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdIfCtrHostDiscardBytes.setStatus('mandatory') nwAppnFwdLsTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1), ) if mibBuilder.loadTexts: nwAppnFwdLsTable.setStatus('mandatory') nwAppnFwdLsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1), ).setIndexNames((0, "CTRON-APPN-MIB", "nwAppnFwdLsName")) if mibBuilder.loadTexts: nwAppnFwdLsEntry.setStatus('mandatory') nwAppnFwdLsName = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsName.setStatus('mandatory') nwAppnFwdLsAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disable", 2), ("enable", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsAdminStatus.setStatus('mandatory') nwAppnFwdLsOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3), ("pendingDisable", 4), ("pendingEnable", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsOperStatus.setStatus('mandatory') nwAppnFwdLsOperationalTime = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsOperationalTime.setStatus('mandatory') nwAppnFwdLsControl = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3))).clone(namedValues=NamedValues(("other", 1), ("delete", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsControl.setStatus('mandatory') nwAppnFwdLsPortName = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsPortName.setStatus('mandatory') nwAppnFwdLsAdjCpName = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(3, 17))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsAdjCpName.setStatus('mandatory') nwAppnFwdLsAdjCpType = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("endnode", 1), ("networknode", 2))).clone('endnode')).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsAdjCpType.setStatus('mandatory') nwAppnFwdLsAutoActSupport = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2))).clone('no')).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsAutoActSupport.setStatus('mandatory') nwAppnFwdLsLimitedRsrc = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2))).clone('no')).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsLimitedRsrc.setStatus('mandatory') nwAppnFwdLsSscpSession = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2))).clone('no')).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsSscpSession.setStatus('mandatory') nwAppnFwdLsPuName = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsPuName.setStatus('mandatory') nwAppnFwdLsBackLvlLenEN = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("no", 1), ("xid3", 2), ("xid0", 3), ("noxid", 4))).clone('no')).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsBackLvlLenEN.setStatus('mandatory') nwAppnFwdLsCpCpSessSupp = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2))).clone('yes')).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsCpCpSessSupp.setStatus('mandatory') nwAppnFwdLsEffectCap = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 603979776))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsEffectCap.setStatus('mandatory') nwAppnFwdLsConnectCost = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsConnectCost.setStatus('mandatory') nwAppnFwdLsByteCost = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsByteCost.setStatus('mandatory') nwAppnFwdLsSecurity = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 32, 64, 96, 128, 160, 192))).clone(namedValues=NamedValues(("nonsecure", 1), ("publicSwitchNw", 32), ("undergroundCable", 64), ("secureConduit", 96), ("guardedConduit", 128), ("encrypted", 160), ("guardedRadiation", 192)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsSecurity.setStatus('mandatory') nwAppnFwdLsPropDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 384, 9216, 147456, 294912, 2013265920))).clone(namedValues=NamedValues(("minimum", 0), ("negligible", 384), ("terrestrial", 9216), ("packetswitched", 147456), ("long", 294912), ("maximum", 2013265920)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsPropDelay.setStatus('mandatory') nwAppnFwdLsUsrDef1 = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsUsrDef1.setStatus('mandatory') nwAppnFwdLsUsrDef2 = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsUsrDef2.setStatus('mandatory') nwAppnFwdLsUsrDef3 = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsUsrDef3.setStatus('mandatory') nwAppnFwdLsTrgtPacingCount = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 25), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32767)).clone(7)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsTrgtPacingCount.setStatus('mandatory') nwAppnFwdLsMaxSendBtu = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 26), Integer32().subtype(subtypeSpec=ValueRangeConstraint(99, 65535)).clone(2048)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsMaxSendBtu.setStatus('mandatory') nwAppnFwdLsNumActiveSession = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 27), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsNumActiveSession.setStatus('mandatory') nwAppnFwdLsdynamicLs = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsdynamicLs.setStatus('mandatory') nwAppnFwdLsStopType = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("immediate", 1), ("orderly", 2))).clone('orderly')).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsStopType.setStatus('mandatory') nwAppnFwdLsPortNbr = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 30), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsPortNbr.setStatus('mandatory') nwAppnFwdLsDestAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 31), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsDestAddr.setStatus('mandatory') nwAppnFwdLsDsap = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 32), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1).clone(hexValue="04")).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsDsap.setStatus('mandatory') nwAppnFwdLsBlockNum = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 33), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(3, 3)).setFixedLength(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsBlockNum.setStatus('mandatory') nwAppnFwdLsIdNum = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 34), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(5, 5)).setFixedLength(5)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsIdNum.setStatus('mandatory') nwAppnFwdLsCtrTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1), ) if mibBuilder.loadTexts: nwAppnFwdLsCtrTable.setStatus('mandatory') nwAppnFwdLsCtrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1), ).setIndexNames((0, "CTRON-APPN-MIB", "nwAppnFwdLsCtrLsName")) if mibBuilder.loadTexts: nwAppnFwdLsCtrEntry.setStatus('mandatory') nwAppnFwdLsCtrLsName = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsCtrLsName.setStatus('mandatory') nwAppnFwdLsCtrAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsCtrAdminStatus.setStatus('mandatory') nwAppnFwdLsCtrReset = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("other", 1), ("reset", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnFwdLsCtrReset.setStatus('mandatory') nwAppnFwdLsCtrOperationalTime = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsCtrOperationalTime.setStatus('mandatory') nwAppnFwdLsCtrInBlus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsCtrInBlus.setStatus('mandatory') nwAppnFwdLsCtrOutBlus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsCtrOutBlus.setStatus('mandatory') nwAppnFwdLsCtrFwdBlus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsCtrFwdBlus.setStatus('mandatory') nwAppnFwdLsCtrFilteredBlus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsCtrFilteredBlus.setStatus('mandatory') nwAppnFwdLsCtrDiscardBlus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsCtrDiscardBlus.setStatus('mandatory') nwAppnFwdLsCtrAddrErrBlus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsCtrAddrErrBlus.setStatus('mandatory') nwAppnFwdLsCtrLenErrBlus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsCtrLenErrBlus.setStatus('mandatory') nwAppnFwdLsCtrHdrErrBlus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsCtrHdrErrBlus.setStatus('mandatory') nwAppnFwdLsCtrInBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsCtrInBytes.setStatus('mandatory') nwAppnFwdLsCtrOutBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsCtrOutBytes.setStatus('mandatory') nwAppnFwdLsCtrFwdBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsCtrFwdBytes.setStatus('mandatory') nwAppnFwdLsCtrFilteredBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsCtrFilteredBytes.setStatus('mandatory') nwAppnFwdLsCtrDiscardBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsCtrDiscardBytes.setStatus('mandatory') nwAppnFwdLsCtrHostInBlus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsCtrHostInBlus.setStatus('mandatory') nwAppnFwdLsCtrHostOutBlus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsCtrHostOutBlus.setStatus('mandatory') nwAppnFwdLsCtrHostDiscardBlus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsCtrHostDiscardBlus.setStatus('mandatory') nwAppnFwdLsCtrHostInBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsCtrHostInBytes.setStatus('mandatory') nwAppnFwdLsCtrHostOutBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsCtrHostOutBytes.setStatus('mandatory') nwAppnFwdLsCtrHostDiscardBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnFwdLsCtrHostDiscardBytes.setStatus('mandatory') nwAppnIsrAdminStatus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disable", 2), ("enable", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnIsrAdminStatus.setStatus('mandatory') nwAppnIsrOperStatus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3), ("pendingDisable", 4), ("pendingEnable", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnIsrOperStatus.setStatus('mandatory') nwAppnIsrAdminReset = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("other", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnIsrAdminReset.setStatus('mandatory') nwAppnIsrOperationalTime = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 1, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnIsrOperationalTime.setStatus('mandatory') nwAppnIsrVersion = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 1, 1, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnIsrVersion.setStatus('mandatory') nwAppnEventAdminStatus = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnEventAdminStatus.setStatus('mandatory') nwAppnEventMaxEntries = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 1, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnEventMaxEntries.setStatus('mandatory') nwAppnEventTraceAll = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("disabled", 2), ("enabled", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnEventTraceAll.setStatus('mandatory') nwAppnEventFilterTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 2, 1), ) if mibBuilder.loadTexts: nwAppnEventFilterTable.setStatus('mandatory') nwAppnEventFilterEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 2, 1, 1), ).setIndexNames((0, "CTRON-APPN-MIB", "nwAppnEventFltrProtocol"), (0, "CTRON-APPN-MIB", "nwAppnEventFltrIfNum")) if mibBuilder.loadTexts: nwAppnEventFilterEntry.setStatus('mandatory') nwAppnEventFltrProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 2, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnEventFltrProtocol.setStatus('mandatory') nwAppnEventFltrIfNum = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 2, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnEventFltrIfNum.setStatus('mandatory') nwAppnEventFltrControl = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("delete", 2), ("add", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnEventFltrControl.setStatus('mandatory') nwAppnEventFltrType = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 4, 8, 16, 32))).clone(namedValues=NamedValues(("misc", 1), ("timer", 2), ("rcv", 4), ("xmit", 8), ("event", 16), ("error", 32)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnEventFltrType.setStatus('mandatory') nwAppnEventFltrSeverity = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("highest", 1), ("highmed", 2), ("highlow", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnEventFltrSeverity.setStatus('mandatory') nwAppnEventFltrAction = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("log", 1), ("trap", 2), ("logTrap", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwAppnEventFltrAction.setStatus('mandatory') nwAppnEventTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 3, 1), ) if mibBuilder.loadTexts: nwAppnEventTable.setStatus('mandatory') nwAppnEventEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 3, 1, 1), ).setIndexNames((0, "CTRON-APPN-MIB", "nwAppnEventNumber")) if mibBuilder.loadTexts: nwAppnEventEntry.setStatus('mandatory') nwAppnEventNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 3, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnEventNumber.setStatus('mandatory') nwAppnEventTime = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 3, 1, 1, 2), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnEventTime.setStatus('mandatory') nwAppnEventType = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 4, 8, 16, 32, 64))).clone(namedValues=NamedValues(("misc", 1), ("timer", 2), ("rcv", 4), ("xmit", 8), ("event", 16), ("diags", 32), ("error", 64)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnEventType.setStatus('mandatory') nwAppnEventSeverity = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("highest", 1), ("highmed", 2), ("highlow", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnEventSeverity.setStatus('mandatory') nwAppnEventProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 3, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnEventProtocol.setStatus('mandatory') nwAppnEventIfNum = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 3, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnEventIfNum.setStatus('mandatory') nwAppnEventTextString = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 3, 1, 1, 7), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAppnEventTextString.setStatus('mandatory') mibBuilder.exportSymbols("CTRON-APPN-MIB", nwAppnFwdIfCtrHostInMus=nwAppnFwdIfCtrHostInMus, nwAppnComponents=nwAppnComponents, nwAppnIfCnPortTable=nwAppnIfCnPortTable, nwAppnIfCnTgEffectCap=nwAppnIfCnTgEffectCap, nwAppnSysTreeUseLimit=nwAppnSysTreeUseLimit, nwAppnIfCnPtFqName=nwAppnIfCnPtFqName, nwAppnFwdLsUsrDef2=nwAppnFwdLsUsrDef2, nwAppnEventFltrType=nwAppnEventFltrType, nwAppnSysRtAddResist=nwAppnSysRtAddResist, nwAppnIsrCounters=nwAppnIsrCounters, nwAppnFwdIfCtrFwdMus=nwAppnFwdIfCtrFwdMus, nwAppnSysConfig=nwAppnSysConfig, nwAppnFwdCtrOutBytes=nwAppnFwdCtrOutBytes, nwAppnTopology=nwAppnTopology, nwAppnEventLogTable=nwAppnEventLogTable, nwAppnEventFilterTable=nwAppnEventFilterTable, nwAppnIsrAdminReset=nwAppnIsrAdminReset, nwAppnFwdCtrOutMus=nwAppnFwdCtrOutMus, nwAppnFwdLsEffectCap=nwAppnFwdLsEffectCap, nwAppnEventTable=nwAppnEventTable, nwAppnIsrIfConfig=nwAppnIsrIfConfig, nwAppnExtIfSsap=nwAppnExtIfSsap, nwAppnFwdCtrInMus=nwAppnFwdCtrInMus, nwAppnFwdIfCacheHits=nwAppnFwdIfCacheHits, nwAppnFwdLsOperationalTime=nwAppnFwdLsOperationalTime, nwAppnMibs=nwAppnMibs, nwAppnEventTraceAll=nwAppnEventTraceAll, nwAppnExtIfDfltUsrDef3=nwAppnExtIfDfltUsrDef3, nwAppnSysVersion=nwAppnSysVersion, nwAppnFwdIfTable=nwAppnFwdIfTable, nwAppnSysMaxTdmTGs=nwAppnSysMaxTdmTGs, nwAppnIfCn=nwAppnIfCn, nwAppnSysCpAlias=nwAppnSysCpAlias, nwAppnFwdIfCtrFilteredBytes=nwAppnFwdIfCtrFilteredBytes, nwAppnFwdLsSscpSession=nwAppnFwdLsSscpSession, nwAppnSysIsrMaxRuSize=nwAppnSysIsrMaxRuSize, nwAppnFwdIfAdminStatus=nwAppnFwdIfAdminStatus, nwAppnFwdCtrAddrErrMus=nwAppnFwdCtrAddrErrMus, nwAppnFwdLsEntry=nwAppnFwdLsEntry, nwAppnFwdLsCtrFwdBytes=nwAppnFwdLsCtrFwdBytes, nwAppnFwdIfCtrDiscardMus=nwAppnFwdIfCtrDiscardMus, nwAppnFwdLsPuName=nwAppnFwdLsPuName, nwAppnFwdLsCtrHostOutBytes=nwAppnFwdLsCtrHostOutBytes, nwAppnFwdLsUsrDef1=nwAppnFwdLsUsrDef1, nwAppnFwdCtrHostInBytes=nwAppnFwdCtrHostInBytes, nwAppnSysRouterId=nwAppnSysRouterId, nwAppnSysAdminStatus=nwAppnSysAdminStatus, nwAppnFwdCounters=nwAppnFwdCounters, nwAppnFwdIfCtrIfIndex=nwAppnFwdIfCtrIfIndex, nwAppnFwdLsTrgtPacingCount=nwAppnFwdLsTrgtPacingCount, nwAppnSysStopType=nwAppnSysStopType, nwAppnExtEntry=nwAppnExtEntry, nwAppnFwdLsStopType=nwAppnFwdLsStopType, nwAppnSysAdminReset=nwAppnSysAdminReset, nwAppnFwdIfCacheEntries=nwAppnFwdIfCacheEntries, nwAppnExtIfDfltUsrDef2=nwAppnExtIfDfltUsrDef2, nwAppnFwdLsIdNum=nwAppnFwdLsIdNum, nwAppnEventAdminStatus=nwAppnEventAdminStatus, nwAppnFwdIfConfig=nwAppnFwdIfConfig, nwAppnFwdLsDsap=nwAppnFwdLsDsap, nwAppnFwdLsCtrFilteredBytes=nwAppnFwdLsCtrFilteredBytes, nwAppnIfCnTgByteCost=nwAppnIfCnTgByteCost, nwAppnFwdIfOperStatus=nwAppnFwdIfOperStatus, nwAppnMibRevText=nwAppnMibRevText, nwAppnIfCnTgConnectCost=nwAppnIfCnTgConnectCost, nwAppnSysMaxTdmNodes=nwAppnSysMaxTdmNodes, nwAppnFwdCtrFilteredMus=nwAppnFwdCtrFilteredMus, nwAppnFwdLsCtrOutBlus=nwAppnFwdLsCtrOutBlus, nwAppnFwdIfCtrHostOutMus=nwAppnFwdIfCtrHostOutMus, nwAppnExtIfDfltTargetPacing=nwAppnExtIfDfltTargetPacing, nwAppnFwdLsCtrAddrErrBlus=nwAppnFwdLsCtrAddrErrBlus, nwAppnFwdIfCtrEntry=nwAppnFwdIfCtrEntry, nwAppnEventMaxEntries=nwAppnEventMaxEntries, nwAppnIfCnPortEntry=nwAppnIfCnPortEntry, nwAppnExtIfMaxRBtuSize=nwAppnExtIfMaxRBtuSize, nwAppnEventIfNum=nwAppnEventIfNum, nwAppnIsrFilters=nwAppnIsrFilters, nwAppnFwdIfControl=nwAppnFwdIfControl, nwAppnFwdLsCtrAdminStatus=nwAppnFwdLsCtrAdminStatus, nwAppnFwdSystem=nwAppnFwdSystem, nwAppnFwdCtrHostOutBytes=nwAppnFwdCtrHostOutBytes, nwAppnFwdCtrDiscardMus=nwAppnFwdCtrDiscardMus, nwAppnIfCnTgUsrDef2=nwAppnIfCnTgUsrDef2, nwAppnFwdIfCacheMisses=nwAppnFwdIfCacheMisses, nwAppnFwdIfCtrOutMus=nwAppnFwdIfCtrOutMus, nwAppnFwdLsOperStatus=nwAppnFwdLsOperStatus, nwAppnFwdIfCtrTable=nwAppnFwdIfCtrTable, nwAppnIsrSystem=nwAppnIsrSystem, nwAppnFwdLsCpCpSessSupp=nwAppnFwdLsCpCpSessSupp, nwAppnExtIfDfltConnectCost=nwAppnExtIfDfltConnectCost, nwAppnSysRegCds=nwAppnSysRegCds, nwAppnIfCnTgSecurity=nwAppnIfCnTgSecurity, nwAppnEventNumber=nwAppnEventNumber, nwAppnExtIfDfltUsrDef1=nwAppnExtIfDfltUsrDef1, nwAppnExtIfNonActXidXchgLimit=nwAppnExtIfNonActXidXchgLimit, nwAppnEventFltrIfNum=nwAppnEventFltrIfNum, nwAppnSysIsrLowerThresh=nwAppnSysIsrLowerThresh, nwAppnSysDirCacheSize=nwAppnSysDirCacheSize, nwAppnHostsSystem=nwAppnHostsSystem, nwAppnFwdLsCtrFwdBlus=nwAppnFwdLsCtrFwdBlus, nwAppnFwdCtrAdminStatus=nwAppnFwdCtrAdminStatus, nwAppnExtIfDfltSecurity=nwAppnExtIfDfltSecurity, nwAppnFwdLsAdjCpType=nwAppnFwdLsAdjCpType, nwAppnFwdLsCtrHostInBytes=nwAppnFwdLsCtrHostInBytes, nwAppnEventLogFilterTable=nwAppnEventLogFilterTable, nwAppnSysIsrRcvPaceWind=nwAppnSysIsrRcvPaceWind, nwAppnFwdCtrHostDiscardMus=nwAppnFwdCtrHostDiscardMus, nwAppnExtIfActXidXchgLimit=nwAppnExtIfActXidXchgLimit, nwAppnEventType=nwAppnEventType, nwAppnFwdIfCtrHdrErrMus=nwAppnFwdIfCtrHdrErrMus, nwAppnIsrIfCounters=nwAppnIsrIfCounters, nwAppnHostsInterfaces=nwAppnHostsInterfaces, nwAppnFwdIfCtrHostDiscardMus=nwAppnFwdIfCtrHostDiscardMus, nwAppnEventFilterEntry=nwAppnEventFilterEntry, nwAppnIsrConfig=nwAppnIsrConfig, nwAppnFwdLsBlockNum=nwAppnFwdLsBlockNum, nwAppnSysMaxDirEntries=nwAppnSysMaxDirEntries, nwAppnFwdCtrFwdMus=nwAppnFwdCtrFwdMus, nwAppnFwdIfCtrHostOutBytes=nwAppnFwdIfCtrHostOutBytes, nwAppnFwdInterfaces=nwAppnFwdInterfaces, nwAppnFwdIfCounters=nwAppnFwdIfCounters, nwAppnFwdLsByteCost=nwAppnFwdLsByteCost, nwAppnFwdLsBackLvlLenEN=nwAppnFwdLsBackLvlLenEN, nwAppnIfCnTgUsrDef1=nwAppnIfCnTgUsrDef1, nwAppnSysLocateTimeout=nwAppnSysLocateTimeout, nwAppnFwdCtrReset=nwAppnFwdCtrReset, nwAppnIfCnTgUsrDef3=nwAppnIfCnTgUsrDef3, nwAppnEventFltrAction=nwAppnEventFltrAction, nwAppnExtIfDfltPropDelay=nwAppnExtIfDfltPropDelay, nwAppnFwdLsAdminStatus=nwAppnFwdLsAdminStatus, nwAppnRedirector=nwAppnRedirector, nwAppnFwdLsCtrInBlus=nwAppnFwdLsCtrInBlus, nwAppnIfCnTgCharTable=nwAppnIfCnTgCharTable, nwAppnIsrDatabase=nwAppnIsrDatabase, nwAppnFwdCtrFilteredBytes=nwAppnFwdCtrFilteredBytes, nwAppnExtIfOutbLsActLim=nwAppnExtIfOutbLsActLim, nwAppnFwdIfCtrOperationalTime=nwAppnFwdIfCtrOperationalTime, nwAppnSysTreeSize=nwAppnSysTreeSize, nwAppnFwdLsCounters=nwAppnFwdLsCounters, nwAppnEventFltrControl=nwAppnEventFltrControl, nwAppnFwdCtrHostInMus=nwAppnFwdCtrHostInMus, nwAppnFwdLsNumActiveSession=nwAppnFwdLsNumActiveSession, nwAppnFwdIfCacheControl=nwAppnFwdIfCacheControl, nwAppnExtIfInbLsActLim=nwAppnExtIfInbLsActLim, nwAppnFwdIfCtrFwdBytes=nwAppnFwdIfCtrFwdBytes, nwAppnFwdIfCtrHostInBytes=nwAppnFwdIfCtrHostInBytes, nwAppnSysLuName=nwAppnSysLuName, nwAppnDistanceVector=nwAppnDistanceVector, nwAppnIsrInterfaces=nwAppnIsrInterfaces, nwAppnFwdLsCtrHostOutBlus=nwAppnFwdLsCtrHostOutBlus, nwAppnFwdLsPortName=nwAppnFwdLsPortName, nwAppnRouter=nwAppnRouter, nwAppnEvent=nwAppnEvent, nwAppnSysOperationalTime=nwAppnSysOperationalTime, nwAppnFwdLsCtrEntry=nwAppnFwdLsCtrEntry, nwAppnExtIfDfltEffectCap=nwAppnExtIfDfltEffectCap, nwAppnFwdCtrHostOutMus=nwAppnFwdCtrHostOutMus, nwAppnFwdIfCtrInBytes=nwAppnFwdIfCtrInBytes, nwAppnFwdIfOperationalTime=nwAppnFwdIfOperationalTime, nwAppnIfCnPtName=nwAppnIfCnPtName, nwAppnFwdIfAclIdentifier=nwAppnFwdIfAclIdentifier, nwAppnFwdLsDestAddr=nwAppnFwdLsDestAddr, nwAppnFwdLsTable=nwAppnFwdLsTable, nwAppnFwdLsCtrOutBytes=nwAppnFwdLsCtrOutBytes, nwAppnFwdLsPortNbr=nwAppnFwdLsPortNbr, nwAppnFwdIfCtrReset=nwAppnFwdIfCtrReset, nwAppnIsrOperStatus=nwAppnIsrOperStatus, nwAppnWorkGroup=nwAppnWorkGroup, nwAppnFwdCtrInBytes=nwAppnFwdCtrInBytes, nwAppnExtIfPortType=nwAppnExtIfPortType, nwAppnFwdLsMaxSendBtu=nwAppnFwdLsMaxSendBtu, nwAppnFwdLinks=nwAppnFwdLinks, nwAppnIsr=nwAppnIsr, nwAppnFwdLsCtrFilteredBlus=nwAppnFwdLsCtrFilteredBlus, nwAppnFwdLsCtrHostDiscardBytes=nwAppnFwdLsCtrHostDiscardBytes, nwAppnFwdLsCtrHdrErrBlus=nwAppnFwdLsCtrHdrErrBlus, nwAppnSysLuControl=nwAppnSysLuControl, nwAppnFwdLsCtrLsName=nwAppnFwdLsCtrLsName, nwAppnExtensionTable=nwAppnExtensionTable, nwAppnIfCnTgPropDelay=nwAppnIfCnTgPropDelay, nwAppnExtIfLimitedRsrc=nwAppnExtIfLimitedRsrc, nwAppnFwdIfCtrHostDiscardBytes=nwAppnFwdIfCtrHostDiscardBytes, nwAppnEventTextString=nwAppnEventTextString, nwAppnIsrVersion=nwAppnIsrVersion, nwAppnEventLogConfig=nwAppnEventLogConfig, nwAppnFwdIfForwarding=nwAppnFwdIfForwarding, nwAppnFwdIfCtrFilteredMus=nwAppnFwdIfCtrFilteredMus, nwAppnSysCfgLocalNode=nwAppnSysCfgLocalNode, nwAppnFwdLsUsrDef3=nwAppnFwdLsUsrDef3, nwAppnLinkState=nwAppnLinkState, nwAppnExtIfAddress=nwAppnExtIfAddress, nwAppnIfCnTgCharEntry=nwAppnIfCnTgCharEntry, nwAppnSystem=nwAppnSystem, nwAppnExtIfDfltByteCost=nwAppnExtIfDfltByteCost, nwAppnFwdLsAdjCpName=nwAppnFwdLsAdjCpName, nwAppnFwdLsCtrDiscardBlus=nwAppnFwdLsCtrDiscardBlus, nwAppnSysMaxLocates=nwAppnSysMaxLocates, nwAppnExtIfDfltMaxSBtuSize=nwAppnExtIfDfltMaxSBtuSize, nwAppnFwdIfCtrOutBytes=nwAppnFwdIfCtrOutBytes, nwAppnFwdLsCtrInBytes=nwAppnFwdLsCtrInBytes, nwAppnFwdLsCtrReset=nwAppnFwdLsCtrReset, nwAppnFwdLsConfig=nwAppnFwdLsConfig, nwAppnFwdIfAclStatus=nwAppnFwdIfAclStatus, nwAppnFwdLsCtrLenErrBlus=nwAppnFwdLsCtrLenErrBlus, nwAppnForwarding=nwAppnForwarding, nwAppnExtIfMaxIfrmRcvd=nwAppnExtIfMaxIfrmRcvd, nwAppnSysLuEntry=nwAppnSysLuEntry, nwAppnExtIfCpCpSupp=nwAppnExtIfCpCpSupp, nwAppnFwdCtrLenErrMus=nwAppnFwdCtrLenErrMus, nwAppnFwdLsCtrTable=nwAppnFwdLsCtrTable, nwAppnFwdIfMtu=nwAppnFwdIfMtu, nwAppnFwdLsConnectCost=nwAppnFwdLsConnectCost, nwAppnIsrOperationalTime=nwAppnIsrOperationalTime, nwAppnFwdCtrFwdBytes=nwAppnFwdCtrFwdBytes, nwAppnFwdLsCtrHostDiscardBlus=nwAppnFwdLsCtrHostDiscardBlus, nwAppnEventTime=nwAppnEventTime, nwAppnEventProtocol=nwAppnEventProtocol, nwAppnEventFltrProtocol=nwAppnEventFltrProtocol, nwAppnSysNodeType=nwAppnSysNodeType, nwAppnSysBlockNum=nwAppnSysBlockNum, nwAppnFwdIfCtrInMus=nwAppnFwdIfCtrInMus, nwAppnIsrAdminStatus=nwAppnIsrAdminStatus, nwAppnFwdLsControl=nwAppnFwdLsControl, nwAppnFwdLsCtrHostInBlus=nwAppnFwdLsCtrHostInBlus, nwAppnSysIsrUpperThresh=nwAppnSysIsrUpperThresh, nwAppnIfCnPtControl=nwAppnIfCnPtControl, nwAppnFwdCtrHdrErrMus=nwAppnFwdCtrHdrErrMus, nwAppnFwdIfCtrDiscardBytes=nwAppnFwdIfCtrDiscardBytes, nwAppnSysLuTable=nwAppnSysLuTable, nwAppnExtIfLsXmitRcvCap=nwAppnExtIfLsXmitRcvCap, nwAppnSysCpName=nwAppnSysCpName, nwAppnSysMdsSendQSize=nwAppnSysMdsSendQSize, nwAppnFib=nwAppnFib, nwAppnFwdCtrDiscardBytes=nwAppnFwdCtrDiscardBytes, nwAppnFwdLsSecurity=nwAppnFwdLsSecurity, nwAppnFwdLsCtrOperationalTime=nwAppnFwdLsCtrOperationalTime, nwAppnExtIfDlcType=nwAppnExtIfDlcType, nwAppnIfCnTgFqName=nwAppnIfCnTgFqName, nwAppnFwdLsAutoActSupport=nwAppnFwdLsAutoActSupport, nwAppnFwdIfCtrAddrErrMus=nwAppnFwdIfCtrAddrErrMus, nwAppnFwdIfIndex=nwAppnFwdIfIndex, nwAppnEventEntry=nwAppnEventEntry, nwAppnSysOperStatus=nwAppnSysOperStatus, nwAppnFwdCtrOperationalTime=nwAppnFwdCtrOperationalTime, nwAppnFwdLsLimitedRsrc=nwAppnFwdLsLimitedRsrc, nwAppnFwdLsPropDelay=nwAppnFwdLsPropDelay, nwAppnFwdIfCtrLenErrMus=nwAppnFwdIfCtrLenErrMus, nwAppnFwdLsName=nwAppnFwdLsName, nwAppnSysIdNum=nwAppnSysIdNum, nwAppnSysCfgTables=nwAppnSysCfgTables, nwAppnSysModeCosMap=nwAppnSysModeCosMap, nwAppnFwdLsCtrDiscardBytes=nwAppnFwdLsCtrDiscardBytes, nwAppnFwdCtrHostDiscardBytes=nwAppnFwdCtrHostDiscardBytes, nwAppnEventFltrSeverity=nwAppnEventFltrSeverity) mibBuilder.exportSymbols("CTRON-APPN-MIB", nwAppnSysMaxIsrSessions=nwAppnSysMaxIsrSessions, nwAppnExtIfLocalLsRole=nwAppnExtIfLocalLsRole, nwAppnAccessControl=nwAppnAccessControl, nwAppnSysCosSize=nwAppnSysCosSize, nwAppnFwdIfEntry=nwAppnFwdIfEntry, nwAppnFwdIfCtrAdminStatus=nwAppnFwdIfCtrAdminStatus, nwAppnEventSeverity=nwAppnEventSeverity, nwAppnExtIfStopType=nwAppnExtIfStopType, nwAppnSysMdsSupport=nwAppnSysMdsSupport, nwAppnFwdIfFrameType=nwAppnFwdIfFrameType, nwAppnExtIfIndex=nwAppnExtIfIndex, nwAppnExtIfPortName=nwAppnExtIfPortName, nwAppnFwdLsdynamicLs=nwAppnFwdLsdynamicLs, nwAppnExtIfTotLsActLim=nwAppnExtIfTotLsActLim, nwAppnEndSystems=nwAppnEndSystems, nwAppnSysAdministration=nwAppnSysAdministration, nwAppnFilters=nwAppnFilters)
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, single_value_constraint, constraints_intersection, value_size_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ConstraintsUnion') (nw_rtr_proto_suites,) = mibBuilder.importSymbols('ROUTER-OIDS', 'nwRtrProtoSuites') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (unsigned32, iso, ip_address, mib_scalar, mib_table, mib_table_row, mib_table_column, notification_type, bits, time_ticks, mib_identifier, object_identity, module_identity, integer32, gauge32, counter32, counter64) = mibBuilder.importSymbols('SNMPv2-SMI', 'Unsigned32', 'iso', 'IpAddress', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'NotificationType', 'Bits', 'TimeTicks', 'MibIdentifier', 'ObjectIdentity', 'ModuleIdentity', 'Integer32', 'Gauge32', 'Counter32', 'Counter64') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') nw_appn_router = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5)) nw_appn_mibs = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 1)) nw_appn_components = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2)) nw_appn_system = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1)) nw_appn_forwarding = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2)) nw_appn_topology = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4)) nw_appn_fib = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 5)) nw_appn_end_systems = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 6)) nw_appn_access_control = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 7)) nw_appn_filters = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 8)) nw_appn_redirector = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 9)) nw_appn_event = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10)) nw_appn_work_group = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 11)) nw_appn_sys_config = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1)) nw_appn_sys_administration = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 2)) nw_appn_sys_cfg_local_node = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2)) nw_appn_sys_cfg_tables = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 3)) nw_appn_fwd_system = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1)) nw_appn_fwd_interfaces = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2)) nw_appn_fwd_links = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3)) nw_appn_fwd_counters = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1)) nw_appn_fwd_if_config = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1)) nw_appn_if_cn = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3)) nw_appn_fwd_if_counters = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2)) nw_appn_fwd_ls_config = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1)) nw_appn_fwd_ls_counters = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2)) nw_appn_distance_vector = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 1)) nw_appn_link_state = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2)) nw_appn_isr = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1)) nw_appn_isr_system = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 1)) nw_appn_isr_interfaces = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 2)) nw_appn_isr_database = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 3)) nw_appn_isr_filters = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 4)) nw_appn_isr_config = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 1, 1)) nw_appn_isr_counters = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 1, 2)) nw_appn_isr_if_config = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 2, 1)) nw_appn_isr_if_counters = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 2, 2)) nw_appn_hosts_system = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 6, 1)) nw_appn_hosts_interfaces = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 6, 2)) nw_appn_event_log_config = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 1)) nw_appn_event_log_filter_table = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 2)) nw_appn_event_log_table = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 3)) nw_appn_mib_rev_text = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 1, 1), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnMibRevText.setStatus('mandatory') nw_appn_sys_router_id = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(3, 17))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysRouterId.setStatus('mandatory') nw_appn_sys_node_type = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('networknode', 1))).clone('networknode')).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnSysNodeType.setStatus('mandatory') nw_appn_sys_cp_alias = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 2), display_string().subtype(subtypeSpec=value_size_constraint(1, 8))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysCpAlias.setStatus('mandatory') nw_appn_sys_mode_cos_map = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('yes', 1), ('no', 2))).clone('yes')).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysModeCosMap.setStatus('mandatory') nw_appn_sys_mds_support = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('yes', 1), ('no', 2))).clone('yes')).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysMdsSupport.setStatus('mandatory') nw_appn_sys_max_locates = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(10)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysMaxLocates.setStatus('mandatory') nw_appn_sys_dir_cache_size = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(255)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysDirCacheSize.setStatus('mandatory') nw_appn_sys_max_dir_entries = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysMaxDirEntries.setStatus('mandatory') nw_appn_sys_locate_timeout = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysLocateTimeout.setStatus('mandatory') nw_appn_sys_reg_cds = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('yes', 1), ('no', 2))).clone('yes')).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysRegCds.setStatus('mandatory') nw_appn_sys_mds_send_q_size = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 11), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(100)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysMdsSendQSize.setStatus('mandatory') nw_appn_sys_cos_size = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 12), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(16)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysCosSize.setStatus('mandatory') nw_appn_sys_tree_size = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 13), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(40)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysTreeSize.setStatus('mandatory') nw_appn_sys_tree_use_limit = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 14), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(40)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysTreeUseLimit.setStatus('mandatory') nw_appn_sys_max_tdm_nodes = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 15), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysMaxTdmNodes.setStatus('mandatory') nw_appn_sys_max_tdm_t_gs = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 16), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysMaxTdmTGs.setStatus('mandatory') nw_appn_sys_max_isr_sessions = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 18), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(1000)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysMaxIsrSessions.setStatus('mandatory') nw_appn_sys_isr_upper_thresh = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 19), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(900)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysIsrUpperThresh.setStatus('mandatory') nw_appn_sys_isr_lower_thresh = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 20), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(800)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysIsrLowerThresh.setStatus('mandatory') nw_appn_sys_isr_max_ru_size = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 21), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(1024)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysIsrMaxRuSize.setStatus('mandatory') nw_appn_sys_isr_rcv_pace_wind = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 22), integer32().subtype(subtypeSpec=value_range_constraint(1, 63)).clone(8)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysIsrRcvPaceWind.setStatus('mandatory') nw_appn_sys_rt_add_resist = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 23), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysRtAddResist.setStatus('mandatory') nw_appn_sys_stop_type = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('abort', 1), ('immediate', 2), ('quiesce', 3), ('quiesceIsr', 4))).clone('quiesceIsr')).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysStopType.setStatus('mandatory') nw_appn_sys_block_num = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 25), display_string().subtype(subtypeSpec=value_size_constraint(3, 3)).setFixedLength(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysBlockNum.setStatus('mandatory') nw_appn_sys_id_num = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 2, 26), display_string().subtype(subtypeSpec=value_size_constraint(5, 5)).setFixedLength(5)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysIdNum.setStatus('mandatory') nw_appn_sys_lu_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 3, 1)) if mibBuilder.loadTexts: nwAppnSysLuTable.setStatus('mandatory') nw_appn_sys_lu_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 3, 1, 1)).setIndexNames((0, 'CTRON-APPN-MIB', 'nwAppnSysCpName'), (0, 'CTRON-APPN-MIB', 'nwAppnSysLuName')) if mibBuilder.loadTexts: nwAppnSysLuEntry.setStatus('mandatory') nw_appn_sys_cp_name = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 3, 1, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(3, 17))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysCpName.setStatus('mandatory') nw_appn_sys_lu_name = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 3, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(1, 8))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysLuName.setStatus('mandatory') nw_appn_sys_lu_control = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 1, 3, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3))).clone(namedValues=named_values(('other', 1), ('delete', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysLuControl.setStatus('mandatory') nw_appn_sys_admin_status = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disable', 2), ('enabled', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysAdminStatus.setStatus('mandatory') nw_appn_sys_oper_status = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 2, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3), ('pendingDisable', 4), ('pendingEnable', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnSysOperStatus.setStatus('mandatory') nw_appn_sys_admin_reset = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 2, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('other', 1), ('reset', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnSysAdminReset.setStatus('mandatory') nw_appn_sys_operational_time = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 2, 4), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnSysOperationalTime.setStatus('mandatory') nw_appn_sys_version = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 1, 2, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnSysVersion.setStatus('mandatory') nw_appn_fwd_ctr_admin_status = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdCtrAdminStatus.setStatus('mandatory') nw_appn_fwd_ctr_reset = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('other', 1), ('reset', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdCtrReset.setStatus('mandatory') nw_appn_fwd_ctr_operational_time = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 3), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdCtrOperationalTime.setStatus('mandatory') nw_appn_fwd_ctr_in_mus = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdCtrInMus.setStatus('mandatory') nw_appn_fwd_ctr_out_mus = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdCtrOutMus.setStatus('mandatory') nw_appn_fwd_ctr_fwd_mus = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdCtrFwdMus.setStatus('mandatory') nw_appn_fwd_ctr_filtered_mus = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdCtrFilteredMus.setStatus('mandatory') nw_appn_fwd_ctr_discard_mus = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdCtrDiscardMus.setStatus('mandatory') nw_appn_fwd_ctr_addr_err_mus = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdCtrAddrErrMus.setStatus('mandatory') nw_appn_fwd_ctr_len_err_mus = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdCtrLenErrMus.setStatus('mandatory') nw_appn_fwd_ctr_hdr_err_mus = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 11), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdCtrHdrErrMus.setStatus('mandatory') nw_appn_fwd_ctr_in_bytes = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdCtrInBytes.setStatus('mandatory') nw_appn_fwd_ctr_out_bytes = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdCtrOutBytes.setStatus('mandatory') nw_appn_fwd_ctr_fwd_bytes = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdCtrFwdBytes.setStatus('mandatory') nw_appn_fwd_ctr_filtered_bytes = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 15), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdCtrFilteredBytes.setStatus('mandatory') nw_appn_fwd_ctr_discard_bytes = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 16), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdCtrDiscardBytes.setStatus('mandatory') nw_appn_fwd_ctr_host_in_mus = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 17), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdCtrHostInMus.setStatus('mandatory') nw_appn_fwd_ctr_host_out_mus = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 18), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdCtrHostOutMus.setStatus('mandatory') nw_appn_fwd_ctr_host_discard_mus = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 19), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdCtrHostDiscardMus.setStatus('mandatory') nw_appn_fwd_ctr_host_in_bytes = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 20), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdCtrHostInBytes.setStatus('mandatory') nw_appn_fwd_ctr_host_out_bytes = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 21), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdCtrHostOutBytes.setStatus('mandatory') nw_appn_fwd_ctr_host_discard_bytes = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 1, 1, 22), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdCtrHostDiscardBytes.setStatus('mandatory') nw_appn_fwd_if_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1)) if mibBuilder.loadTexts: nwAppnFwdIfTable.setStatus('mandatory') nw_appn_fwd_if_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1)).setIndexNames((0, 'CTRON-APPN-MIB', 'nwAppnFwdIfIndex')) if mibBuilder.loadTexts: nwAppnFwdIfEntry.setStatus('mandatory') nw_appn_fwd_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfIndex.setStatus('mandatory') nw_appn_fwd_if_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disable', 2), ('enabled', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdIfAdminStatus.setStatus('mandatory') nw_appn_fwd_if_oper_status = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3), ('pendingDisable', 4), ('pendingEnable', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfOperStatus.setStatus('mandatory') nw_appn_fwd_if_operational_time = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 4), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfOperationalTime.setStatus('mandatory') nw_appn_fwd_if_control = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('other', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdIfControl.setStatus('mandatory') nw_appn_fwd_if_mtu = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 6), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdIfMtu.setStatus('mandatory') nw_appn_fwd_if_forwarding = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdIfForwarding.setStatus('mandatory') nw_appn_fwd_if_frame_type = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 4, 8))).clone(namedValues=named_values(('other', 1), ('ethernet', 2), ('i8022', 4), ('sync', 8)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdIfFrameType.setStatus('mandatory') nw_appn_fwd_if_acl_identifier = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 9), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdIfAclIdentifier.setStatus('mandatory') nw_appn_fwd_if_acl_status = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdIfAclStatus.setStatus('mandatory') nw_appn_fwd_if_cache_control = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disable', 2), ('enable', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdIfCacheControl.setStatus('mandatory') nw_appn_fwd_if_cache_entries = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCacheEntries.setStatus('mandatory') nw_appn_fwd_if_cache_hits = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCacheHits.setStatus('mandatory') nw_appn_fwd_if_cache_misses = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 1, 1, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCacheMisses.setStatus('mandatory') nw_appn_extension_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2)) if mibBuilder.loadTexts: nwAppnExtensionTable.setStatus('mandatory') nw_appn_ext_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1)).setIndexNames((0, 'CTRON-APPN-MIB', 'nwAppnExtIfIndex')) if mibBuilder.loadTexts: nwAppnExtEntry.setStatus('mandatory') nw_appn_ext_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnExtIfIndex.setStatus('mandatory') nw_appn_ext_if_port_name = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(1, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnExtIfPortName.setStatus('mandatory') nw_appn_ext_if_port_type = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('nonswitched', 1), ('switched', 2), ('satf', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfPortType.setStatus('mandatory') nw_appn_ext_if_dlc_type = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('llc2', 1), ('sdlc', 2), ('x25', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnExtIfDlcType.setStatus('mandatory') nw_appn_ext_if_max_r_btu_size = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(99, 65535)).clone(2048)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfMaxRBtuSize.setStatus('mandatory') nw_appn_ext_if_tot_ls_act_lim = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 256)).clone(16)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfTotLsActLim.setStatus('mandatory') nw_appn_ext_if_inb_ls_act_lim = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 256)).clone(8)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfInbLsActLim.setStatus('mandatory') nw_appn_ext_if_outb_ls_act_lim = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 256)).clone(8)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfOutbLsActLim.setStatus('mandatory') nw_appn_ext_if_local_ls_role = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('negotiable', 1), ('primary', 2), ('secondary', 3))).clone('negotiable')).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfLocalLsRole.setStatus('mandatory') nw_appn_ext_if_act_xid_xchg_limit = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(9)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfActXidXchgLimit.setStatus('mandatory') nw_appn_ext_if_non_act_xid_xchg_limit = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535)).clone(5)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfNonActXidXchgLimit.setStatus('mandatory') nw_appn_ext_if_ls_xmit_rcv_cap = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('twowaysimultaneous', 1), ('twowayalternating', 2))).clone('twowaysimultaneous')).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfLsXmitRcvCap.setStatus('mandatory') nw_appn_ext_if_max_ifrm_rcvd = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 14), integer32().subtype(subtypeSpec=value_range_constraint(1, 127)).clone(4)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfMaxIfrmRcvd.setStatus('mandatory') nw_appn_ext_if_dflt_target_pacing = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 15), integer32().subtype(subtypeSpec=value_range_constraint(1, 32767)).clone(7)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfDfltTargetPacing.setStatus('mandatory') nw_appn_ext_if_dflt_max_s_btu_size = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 16), integer32().subtype(subtypeSpec=value_range_constraint(99, 65535)).clone(2048)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfDfltMaxSBtuSize.setStatus('mandatory') nw_appn_ext_if_dflt_effect_cap = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 17), integer32().subtype(subtypeSpec=value_range_constraint(0, 603979776))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfDfltEffectCap.setStatus('mandatory') nw_appn_ext_if_dflt_connect_cost = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 18), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfDfltConnectCost.setStatus('mandatory') nw_appn_ext_if_dflt_byte_cost = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 19), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfDfltByteCost.setStatus('mandatory') nw_appn_ext_if_dflt_security = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 32, 64, 96, 128, 160, 192))).clone(namedValues=named_values(('nonsecure', 1), ('publicSwitchNw', 32), ('undergroundCable', 64), ('secureConduit', 96), ('guardedConduit', 128), ('encrypted', 160), ('guardedRadiation', 192)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfDfltSecurity.setStatus('mandatory') nw_appn_ext_if_dflt_prop_delay = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 384, 9216, 147456, 294912, 2013265920))).clone(namedValues=named_values(('minimum', 0), ('negligible', 384), ('terrestrial', 9216), ('packetswitched', 147456), ('long', 294912), ('maximum', 2013265920)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfDfltPropDelay.setStatus('mandatory') nw_appn_ext_if_dflt_usr_def1 = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 22), integer32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(128)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfDfltUsrDef1.setStatus('mandatory') nw_appn_ext_if_dflt_usr_def2 = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 23), integer32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(128)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfDfltUsrDef2.setStatus('mandatory') nw_appn_ext_if_dflt_usr_def3 = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 24), integer32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(128)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfDfltUsrDef3.setStatus('mandatory') nw_appn_ext_if_stop_type = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 25), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('immediate', 1), ('orderly', 2))).clone('orderly')).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfStopType.setStatus('mandatory') nw_appn_ext_if_cp_cp_supp = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 26), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('yes', 1), ('no', 2))).clone('yes')).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfCpCpSupp.setStatus('mandatory') nw_appn_ext_if_limited_rsrc = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('yes', 1), ('no', 2))).clone('no')).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfLimitedRsrc.setStatus('mandatory') nw_appn_ext_if_address = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 28), octet_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnExtIfAddress.setStatus('mandatory') nw_appn_ext_if_ssap = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 2, 1, 29), octet_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1).clone(hexValue='04')).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnExtIfSsap.setStatus('mandatory') nw_appn_if_cn_port_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 1)) if mibBuilder.loadTexts: nwAppnIfCnPortTable.setStatus('mandatory') nw_appn_if_cn_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 1, 1)).setIndexNames((0, 'CTRON-APPN-MIB', 'nwAppnIfCnPtFqName'), (0, 'CTRON-APPN-MIB', 'nwAppnIfCnPtName')) if mibBuilder.loadTexts: nwAppnIfCnPortEntry.setStatus('mandatory') nw_appn_if_cn_pt_fq_name = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 1, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(3, 17))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnIfCnPtFqName.setStatus('mandatory') nw_appn_if_cn_pt_name = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(1, 8))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnIfCnPtName.setStatus('mandatory') nw_appn_if_cn_pt_control = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3))).clone(namedValues=named_values(('other', 1), ('delete', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnIfCnPtControl.setStatus('mandatory') nw_appn_if_cn_tg_char_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2)) if mibBuilder.loadTexts: nwAppnIfCnTgCharTable.setStatus('mandatory') nw_appn_if_cn_tg_char_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2, 1)).setIndexNames((0, 'CTRON-APPN-MIB', 'nwAppnIfCnTgFqName')) if mibBuilder.loadTexts: nwAppnIfCnTgCharEntry.setStatus('mandatory') nw_appn_if_cn_tg_fq_name = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(3, 17))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnIfCnTgFqName.setStatus('mandatory') nw_appn_if_cn_tg_effect_cap = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 603979776))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnIfCnTgEffectCap.setStatus('mandatory') nw_appn_if_cn_tg_connect_cost = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnIfCnTgConnectCost.setStatus('mandatory') nw_appn_if_cn_tg_byte_cost = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnIfCnTgByteCost.setStatus('mandatory') nw_appn_if_cn_tg_security = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 32, 64, 96, 128, 160, 192))).clone(namedValues=named_values(('nonsecure', 1), ('publicSwitchNw', 32), ('undergroundCable', 64), ('secureConduit', 96), ('guardedConduit', 128), ('encrypted', 160), ('guardedRadiation', 192)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnIfCnTgSecurity.setStatus('mandatory') nw_appn_if_cn_tg_prop_delay = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 384, 9216, 147456, 294912, 2013265920))).clone(namedValues=named_values(('minimum', 0), ('negligible', 384), ('terrestrial', 9216), ('packetswitched', 147456), ('long', 294912), ('maximum', 2013265920)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnIfCnTgPropDelay.setStatus('mandatory') nw_appn_if_cn_tg_usr_def1 = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(128)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnIfCnTgUsrDef1.setStatus('mandatory') nw_appn_if_cn_tg_usr_def2 = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(128)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnIfCnTgUsrDef2.setStatus('mandatory') nw_appn_if_cn_tg_usr_def3 = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 1, 3, 2, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(128)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnIfCnTgUsrDef3.setStatus('mandatory') nw_appn_fwd_if_ctr_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1)) if mibBuilder.loadTexts: nwAppnFwdIfCtrTable.setStatus('mandatory') nw_appn_fwd_if_ctr_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1)).setIndexNames((0, 'CTRON-APPN-MIB', 'nwAppnFwdIfCtrIfIndex')) if mibBuilder.loadTexts: nwAppnFwdIfCtrEntry.setStatus('mandatory') nw_appn_fwd_if_ctr_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCtrIfIndex.setStatus('mandatory') nw_appn_fwd_if_ctr_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdIfCtrAdminStatus.setStatus('mandatory') nw_appn_fwd_if_ctr_reset = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('other', 1), ('reset', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdIfCtrReset.setStatus('mandatory') nw_appn_fwd_if_ctr_operational_time = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 4), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCtrOperationalTime.setStatus('mandatory') nw_appn_fwd_if_ctr_in_mus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCtrInMus.setStatus('mandatory') nw_appn_fwd_if_ctr_out_mus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCtrOutMus.setStatus('mandatory') nw_appn_fwd_if_ctr_fwd_mus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCtrFwdMus.setStatus('mandatory') nw_appn_fwd_if_ctr_filtered_mus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCtrFilteredMus.setStatus('mandatory') nw_appn_fwd_if_ctr_discard_mus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCtrDiscardMus.setStatus('mandatory') nw_appn_fwd_if_ctr_addr_err_mus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCtrAddrErrMus.setStatus('mandatory') nw_appn_fwd_if_ctr_len_err_mus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 11), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCtrLenErrMus.setStatus('mandatory') nw_appn_fwd_if_ctr_hdr_err_mus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCtrHdrErrMus.setStatus('mandatory') nw_appn_fwd_if_ctr_in_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCtrInBytes.setStatus('mandatory') nw_appn_fwd_if_ctr_out_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCtrOutBytes.setStatus('mandatory') nw_appn_fwd_if_ctr_fwd_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 15), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCtrFwdBytes.setStatus('mandatory') nw_appn_fwd_if_ctr_filtered_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 16), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCtrFilteredBytes.setStatus('mandatory') nw_appn_fwd_if_ctr_discard_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 17), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCtrDiscardBytes.setStatus('mandatory') nw_appn_fwd_if_ctr_host_in_mus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 18), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCtrHostInMus.setStatus('mandatory') nw_appn_fwd_if_ctr_host_out_mus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 19), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCtrHostOutMus.setStatus('mandatory') nw_appn_fwd_if_ctr_host_discard_mus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 20), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCtrHostDiscardMus.setStatus('mandatory') nw_appn_fwd_if_ctr_host_in_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 21), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCtrHostInBytes.setStatus('mandatory') nw_appn_fwd_if_ctr_host_out_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 22), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCtrHostOutBytes.setStatus('mandatory') nw_appn_fwd_if_ctr_host_discard_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 2, 2, 1, 1, 23), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdIfCtrHostDiscardBytes.setStatus('mandatory') nw_appn_fwd_ls_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1)) if mibBuilder.loadTexts: nwAppnFwdLsTable.setStatus('mandatory') nw_appn_fwd_ls_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1)).setIndexNames((0, 'CTRON-APPN-MIB', 'nwAppnFwdLsName')) if mibBuilder.loadTexts: nwAppnFwdLsEntry.setStatus('mandatory') nw_appn_fwd_ls_name = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(1, 8))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsName.setStatus('mandatory') nw_appn_fwd_ls_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disable', 2), ('enable', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsAdminStatus.setStatus('mandatory') nw_appn_fwd_ls_oper_status = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3), ('pendingDisable', 4), ('pendingEnable', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsOperStatus.setStatus('mandatory') nw_appn_fwd_ls_operational_time = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 4), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsOperationalTime.setStatus('mandatory') nw_appn_fwd_ls_control = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3))).clone(namedValues=named_values(('other', 1), ('delete', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsControl.setStatus('mandatory') nw_appn_fwd_ls_port_name = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(1, 8))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsPortName.setStatus('mandatory') nw_appn_fwd_ls_adj_cp_name = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 7), display_string().subtype(subtypeSpec=value_size_constraint(3, 17))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsAdjCpName.setStatus('mandatory') nw_appn_fwd_ls_adj_cp_type = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('endnode', 1), ('networknode', 2))).clone('endnode')).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsAdjCpType.setStatus('mandatory') nw_appn_fwd_ls_auto_act_support = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('yes', 1), ('no', 2))).clone('no')).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsAutoActSupport.setStatus('mandatory') nw_appn_fwd_ls_limited_rsrc = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('yes', 1), ('no', 2))).clone('no')).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsLimitedRsrc.setStatus('mandatory') nw_appn_fwd_ls_sscp_session = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('yes', 1), ('no', 2))).clone('no')).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsSscpSession.setStatus('mandatory') nw_appn_fwd_ls_pu_name = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 13), display_string().subtype(subtypeSpec=value_size_constraint(1, 8))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsPuName.setStatus('mandatory') nw_appn_fwd_ls_back_lvl_len_en = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('no', 1), ('xid3', 2), ('xid0', 3), ('noxid', 4))).clone('no')).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsBackLvlLenEN.setStatus('mandatory') nw_appn_fwd_ls_cp_cp_sess_supp = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('yes', 1), ('no', 2))).clone('yes')).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsCpCpSessSupp.setStatus('mandatory') nw_appn_fwd_ls_effect_cap = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 17), integer32().subtype(subtypeSpec=value_range_constraint(0, 603979776))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsEffectCap.setStatus('mandatory') nw_appn_fwd_ls_connect_cost = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 18), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsConnectCost.setStatus('mandatory') nw_appn_fwd_ls_byte_cost = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 19), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsByteCost.setStatus('mandatory') nw_appn_fwd_ls_security = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 32, 64, 96, 128, 160, 192))).clone(namedValues=named_values(('nonsecure', 1), ('publicSwitchNw', 32), ('undergroundCable', 64), ('secureConduit', 96), ('guardedConduit', 128), ('encrypted', 160), ('guardedRadiation', 192)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsSecurity.setStatus('mandatory') nw_appn_fwd_ls_prop_delay = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 384, 9216, 147456, 294912, 2013265920))).clone(namedValues=named_values(('minimum', 0), ('negligible', 384), ('terrestrial', 9216), ('packetswitched', 147456), ('long', 294912), ('maximum', 2013265920)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsPropDelay.setStatus('mandatory') nw_appn_fwd_ls_usr_def1 = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 22), integer32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(128)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsUsrDef1.setStatus('mandatory') nw_appn_fwd_ls_usr_def2 = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 23), integer32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(128)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsUsrDef2.setStatus('mandatory') nw_appn_fwd_ls_usr_def3 = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 24), integer32().subtype(subtypeSpec=value_range_constraint(0, 255)).clone(128)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsUsrDef3.setStatus('mandatory') nw_appn_fwd_ls_trgt_pacing_count = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 25), integer32().subtype(subtypeSpec=value_range_constraint(0, 32767)).clone(7)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsTrgtPacingCount.setStatus('mandatory') nw_appn_fwd_ls_max_send_btu = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 26), integer32().subtype(subtypeSpec=value_range_constraint(99, 65535)).clone(2048)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsMaxSendBtu.setStatus('mandatory') nw_appn_fwd_ls_num_active_session = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 27), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsNumActiveSession.setStatus('mandatory') nw_appn_fwd_lsdynamic_ls = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('yes', 1), ('no', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsdynamicLs.setStatus('mandatory') nw_appn_fwd_ls_stop_type = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 29), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('immediate', 1), ('orderly', 2))).clone('orderly')).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsStopType.setStatus('mandatory') nw_appn_fwd_ls_port_nbr = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 30), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsPortNbr.setStatus('mandatory') nw_appn_fwd_ls_dest_addr = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 31), octet_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsDestAddr.setStatus('mandatory') nw_appn_fwd_ls_dsap = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 32), octet_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1).clone(hexValue='04')).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsDsap.setStatus('mandatory') nw_appn_fwd_ls_block_num = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 33), display_string().subtype(subtypeSpec=value_size_constraint(3, 3)).setFixedLength(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsBlockNum.setStatus('mandatory') nw_appn_fwd_ls_id_num = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 1, 1, 1, 34), display_string().subtype(subtypeSpec=value_size_constraint(5, 5)).setFixedLength(5)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsIdNum.setStatus('mandatory') nw_appn_fwd_ls_ctr_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1)) if mibBuilder.loadTexts: nwAppnFwdLsCtrTable.setStatus('mandatory') nw_appn_fwd_ls_ctr_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1)).setIndexNames((0, 'CTRON-APPN-MIB', 'nwAppnFwdLsCtrLsName')) if mibBuilder.loadTexts: nwAppnFwdLsCtrEntry.setStatus('mandatory') nw_appn_fwd_ls_ctr_ls_name = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(1, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsCtrLsName.setStatus('mandatory') nw_appn_fwd_ls_ctr_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsCtrAdminStatus.setStatus('mandatory') nw_appn_fwd_ls_ctr_reset = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('other', 1), ('reset', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnFwdLsCtrReset.setStatus('mandatory') nw_appn_fwd_ls_ctr_operational_time = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 4), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsCtrOperationalTime.setStatus('mandatory') nw_appn_fwd_ls_ctr_in_blus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsCtrInBlus.setStatus('mandatory') nw_appn_fwd_ls_ctr_out_blus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsCtrOutBlus.setStatus('mandatory') nw_appn_fwd_ls_ctr_fwd_blus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsCtrFwdBlus.setStatus('mandatory') nw_appn_fwd_ls_ctr_filtered_blus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsCtrFilteredBlus.setStatus('mandatory') nw_appn_fwd_ls_ctr_discard_blus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsCtrDiscardBlus.setStatus('mandatory') nw_appn_fwd_ls_ctr_addr_err_blus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsCtrAddrErrBlus.setStatus('mandatory') nw_appn_fwd_ls_ctr_len_err_blus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 11), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsCtrLenErrBlus.setStatus('mandatory') nw_appn_fwd_ls_ctr_hdr_err_blus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsCtrHdrErrBlus.setStatus('mandatory') nw_appn_fwd_ls_ctr_in_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsCtrInBytes.setStatus('mandatory') nw_appn_fwd_ls_ctr_out_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsCtrOutBytes.setStatus('mandatory') nw_appn_fwd_ls_ctr_fwd_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 15), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsCtrFwdBytes.setStatus('mandatory') nw_appn_fwd_ls_ctr_filtered_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 16), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsCtrFilteredBytes.setStatus('mandatory') nw_appn_fwd_ls_ctr_discard_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 17), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsCtrDiscardBytes.setStatus('mandatory') nw_appn_fwd_ls_ctr_host_in_blus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 18), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsCtrHostInBlus.setStatus('mandatory') nw_appn_fwd_ls_ctr_host_out_blus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 19), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsCtrHostOutBlus.setStatus('mandatory') nw_appn_fwd_ls_ctr_host_discard_blus = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 20), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsCtrHostDiscardBlus.setStatus('mandatory') nw_appn_fwd_ls_ctr_host_in_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 21), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsCtrHostInBytes.setStatus('mandatory') nw_appn_fwd_ls_ctr_host_out_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 22), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsCtrHostOutBytes.setStatus('mandatory') nw_appn_fwd_ls_ctr_host_discard_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 2, 3, 2, 1, 1, 23), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnFwdLsCtrHostDiscardBytes.setStatus('mandatory') nw_appn_isr_admin_status = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disable', 2), ('enable', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnIsrAdminStatus.setStatus('mandatory') nw_appn_isr_oper_status = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3), ('pendingDisable', 4), ('pendingEnable', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnIsrOperStatus.setStatus('mandatory') nw_appn_isr_admin_reset = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('other', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnIsrAdminReset.setStatus('mandatory') nw_appn_isr_operational_time = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 1, 1, 4), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnIsrOperationalTime.setStatus('mandatory') nw_appn_isr_version = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 4, 2, 1, 1, 1, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnIsrVersion.setStatus('mandatory') nw_appn_event_admin_status = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnEventAdminStatus.setStatus('mandatory') nw_appn_event_max_entries = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 1, 2), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnEventMaxEntries.setStatus('mandatory') nw_appn_event_trace_all = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('disabled', 2), ('enabled', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnEventTraceAll.setStatus('mandatory') nw_appn_event_filter_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 2, 1)) if mibBuilder.loadTexts: nwAppnEventFilterTable.setStatus('mandatory') nw_appn_event_filter_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 2, 1, 1)).setIndexNames((0, 'CTRON-APPN-MIB', 'nwAppnEventFltrProtocol'), (0, 'CTRON-APPN-MIB', 'nwAppnEventFltrIfNum')) if mibBuilder.loadTexts: nwAppnEventFilterEntry.setStatus('mandatory') nw_appn_event_fltr_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 2, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnEventFltrProtocol.setStatus('mandatory') nw_appn_event_fltr_if_num = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 2, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnEventFltrIfNum.setStatus('mandatory') nw_appn_event_fltr_control = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('delete', 2), ('add', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnEventFltrControl.setStatus('mandatory') nw_appn_event_fltr_type = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 2, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 4, 8, 16, 32))).clone(namedValues=named_values(('misc', 1), ('timer', 2), ('rcv', 4), ('xmit', 8), ('event', 16), ('error', 32)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnEventFltrType.setStatus('mandatory') nw_appn_event_fltr_severity = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 2, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('highest', 1), ('highmed', 2), ('highlow', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnEventFltrSeverity.setStatus('mandatory') nw_appn_event_fltr_action = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 2, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('log', 1), ('trap', 2), ('logTrap', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwAppnEventFltrAction.setStatus('mandatory') nw_appn_event_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 3, 1)) if mibBuilder.loadTexts: nwAppnEventTable.setStatus('mandatory') nw_appn_event_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 3, 1, 1)).setIndexNames((0, 'CTRON-APPN-MIB', 'nwAppnEventNumber')) if mibBuilder.loadTexts: nwAppnEventEntry.setStatus('mandatory') nw_appn_event_number = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 3, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnEventNumber.setStatus('mandatory') nw_appn_event_time = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 3, 1, 1, 2), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnEventTime.setStatus('mandatory') nw_appn_event_type = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 3, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 4, 8, 16, 32, 64))).clone(namedValues=named_values(('misc', 1), ('timer', 2), ('rcv', 4), ('xmit', 8), ('event', 16), ('diags', 32), ('error', 64)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnEventType.setStatus('mandatory') nw_appn_event_severity = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 3, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('highest', 1), ('highmed', 2), ('highlow', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnEventSeverity.setStatus('mandatory') nw_appn_event_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 3, 1, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnEventProtocol.setStatus('mandatory') nw_appn_event_if_num = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 3, 1, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnEventIfNum.setStatus('mandatory') nw_appn_event_text_string = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 2, 2, 2, 3, 5, 2, 10, 3, 1, 1, 7), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAppnEventTextString.setStatus('mandatory') mibBuilder.exportSymbols('CTRON-APPN-MIB', nwAppnFwdIfCtrHostInMus=nwAppnFwdIfCtrHostInMus, nwAppnComponents=nwAppnComponents, nwAppnIfCnPortTable=nwAppnIfCnPortTable, nwAppnIfCnTgEffectCap=nwAppnIfCnTgEffectCap, nwAppnSysTreeUseLimit=nwAppnSysTreeUseLimit, nwAppnIfCnPtFqName=nwAppnIfCnPtFqName, nwAppnFwdLsUsrDef2=nwAppnFwdLsUsrDef2, nwAppnEventFltrType=nwAppnEventFltrType, nwAppnSysRtAddResist=nwAppnSysRtAddResist, nwAppnIsrCounters=nwAppnIsrCounters, nwAppnFwdIfCtrFwdMus=nwAppnFwdIfCtrFwdMus, nwAppnSysConfig=nwAppnSysConfig, nwAppnFwdCtrOutBytes=nwAppnFwdCtrOutBytes, nwAppnTopology=nwAppnTopology, nwAppnEventLogTable=nwAppnEventLogTable, nwAppnEventFilterTable=nwAppnEventFilterTable, nwAppnIsrAdminReset=nwAppnIsrAdminReset, nwAppnFwdCtrOutMus=nwAppnFwdCtrOutMus, nwAppnFwdLsEffectCap=nwAppnFwdLsEffectCap, nwAppnEventTable=nwAppnEventTable, nwAppnIsrIfConfig=nwAppnIsrIfConfig, nwAppnExtIfSsap=nwAppnExtIfSsap, nwAppnFwdCtrInMus=nwAppnFwdCtrInMus, nwAppnFwdIfCacheHits=nwAppnFwdIfCacheHits, nwAppnFwdLsOperationalTime=nwAppnFwdLsOperationalTime, nwAppnMibs=nwAppnMibs, nwAppnEventTraceAll=nwAppnEventTraceAll, nwAppnExtIfDfltUsrDef3=nwAppnExtIfDfltUsrDef3, nwAppnSysVersion=nwAppnSysVersion, nwAppnFwdIfTable=nwAppnFwdIfTable, nwAppnSysMaxTdmTGs=nwAppnSysMaxTdmTGs, nwAppnIfCn=nwAppnIfCn, nwAppnSysCpAlias=nwAppnSysCpAlias, nwAppnFwdIfCtrFilteredBytes=nwAppnFwdIfCtrFilteredBytes, nwAppnFwdLsSscpSession=nwAppnFwdLsSscpSession, nwAppnSysIsrMaxRuSize=nwAppnSysIsrMaxRuSize, nwAppnFwdIfAdminStatus=nwAppnFwdIfAdminStatus, nwAppnFwdCtrAddrErrMus=nwAppnFwdCtrAddrErrMus, nwAppnFwdLsEntry=nwAppnFwdLsEntry, nwAppnFwdLsCtrFwdBytes=nwAppnFwdLsCtrFwdBytes, nwAppnFwdIfCtrDiscardMus=nwAppnFwdIfCtrDiscardMus, nwAppnFwdLsPuName=nwAppnFwdLsPuName, nwAppnFwdLsCtrHostOutBytes=nwAppnFwdLsCtrHostOutBytes, nwAppnFwdLsUsrDef1=nwAppnFwdLsUsrDef1, nwAppnFwdCtrHostInBytes=nwAppnFwdCtrHostInBytes, nwAppnSysRouterId=nwAppnSysRouterId, nwAppnSysAdminStatus=nwAppnSysAdminStatus, nwAppnFwdCounters=nwAppnFwdCounters, nwAppnFwdIfCtrIfIndex=nwAppnFwdIfCtrIfIndex, nwAppnFwdLsTrgtPacingCount=nwAppnFwdLsTrgtPacingCount, nwAppnSysStopType=nwAppnSysStopType, nwAppnExtEntry=nwAppnExtEntry, nwAppnFwdLsStopType=nwAppnFwdLsStopType, nwAppnSysAdminReset=nwAppnSysAdminReset, nwAppnFwdIfCacheEntries=nwAppnFwdIfCacheEntries, nwAppnExtIfDfltUsrDef2=nwAppnExtIfDfltUsrDef2, nwAppnFwdLsIdNum=nwAppnFwdLsIdNum, nwAppnEventAdminStatus=nwAppnEventAdminStatus, nwAppnFwdIfConfig=nwAppnFwdIfConfig, nwAppnFwdLsDsap=nwAppnFwdLsDsap, nwAppnFwdLsCtrFilteredBytes=nwAppnFwdLsCtrFilteredBytes, nwAppnIfCnTgByteCost=nwAppnIfCnTgByteCost, nwAppnFwdIfOperStatus=nwAppnFwdIfOperStatus, nwAppnMibRevText=nwAppnMibRevText, nwAppnIfCnTgConnectCost=nwAppnIfCnTgConnectCost, nwAppnSysMaxTdmNodes=nwAppnSysMaxTdmNodes, nwAppnFwdCtrFilteredMus=nwAppnFwdCtrFilteredMus, nwAppnFwdLsCtrOutBlus=nwAppnFwdLsCtrOutBlus, nwAppnFwdIfCtrHostOutMus=nwAppnFwdIfCtrHostOutMus, nwAppnExtIfDfltTargetPacing=nwAppnExtIfDfltTargetPacing, nwAppnFwdLsCtrAddrErrBlus=nwAppnFwdLsCtrAddrErrBlus, nwAppnFwdIfCtrEntry=nwAppnFwdIfCtrEntry, nwAppnEventMaxEntries=nwAppnEventMaxEntries, nwAppnIfCnPortEntry=nwAppnIfCnPortEntry, nwAppnExtIfMaxRBtuSize=nwAppnExtIfMaxRBtuSize, nwAppnEventIfNum=nwAppnEventIfNum, nwAppnIsrFilters=nwAppnIsrFilters, nwAppnFwdIfControl=nwAppnFwdIfControl, nwAppnFwdLsCtrAdminStatus=nwAppnFwdLsCtrAdminStatus, nwAppnFwdSystem=nwAppnFwdSystem, nwAppnFwdCtrHostOutBytes=nwAppnFwdCtrHostOutBytes, nwAppnFwdCtrDiscardMus=nwAppnFwdCtrDiscardMus, nwAppnIfCnTgUsrDef2=nwAppnIfCnTgUsrDef2, nwAppnFwdIfCacheMisses=nwAppnFwdIfCacheMisses, nwAppnFwdIfCtrOutMus=nwAppnFwdIfCtrOutMus, nwAppnFwdLsOperStatus=nwAppnFwdLsOperStatus, nwAppnFwdIfCtrTable=nwAppnFwdIfCtrTable, nwAppnIsrSystem=nwAppnIsrSystem, nwAppnFwdLsCpCpSessSupp=nwAppnFwdLsCpCpSessSupp, nwAppnExtIfDfltConnectCost=nwAppnExtIfDfltConnectCost, nwAppnSysRegCds=nwAppnSysRegCds, nwAppnIfCnTgSecurity=nwAppnIfCnTgSecurity, nwAppnEventNumber=nwAppnEventNumber, nwAppnExtIfDfltUsrDef1=nwAppnExtIfDfltUsrDef1, nwAppnExtIfNonActXidXchgLimit=nwAppnExtIfNonActXidXchgLimit, nwAppnEventFltrIfNum=nwAppnEventFltrIfNum, nwAppnSysIsrLowerThresh=nwAppnSysIsrLowerThresh, nwAppnSysDirCacheSize=nwAppnSysDirCacheSize, nwAppnHostsSystem=nwAppnHostsSystem, nwAppnFwdLsCtrFwdBlus=nwAppnFwdLsCtrFwdBlus, nwAppnFwdCtrAdminStatus=nwAppnFwdCtrAdminStatus, nwAppnExtIfDfltSecurity=nwAppnExtIfDfltSecurity, nwAppnFwdLsAdjCpType=nwAppnFwdLsAdjCpType, nwAppnFwdLsCtrHostInBytes=nwAppnFwdLsCtrHostInBytes, nwAppnEventLogFilterTable=nwAppnEventLogFilterTable, nwAppnSysIsrRcvPaceWind=nwAppnSysIsrRcvPaceWind, nwAppnFwdCtrHostDiscardMus=nwAppnFwdCtrHostDiscardMus, nwAppnExtIfActXidXchgLimit=nwAppnExtIfActXidXchgLimit, nwAppnEventType=nwAppnEventType, nwAppnFwdIfCtrHdrErrMus=nwAppnFwdIfCtrHdrErrMus, nwAppnIsrIfCounters=nwAppnIsrIfCounters, nwAppnHostsInterfaces=nwAppnHostsInterfaces, nwAppnFwdIfCtrHostDiscardMus=nwAppnFwdIfCtrHostDiscardMus, nwAppnEventFilterEntry=nwAppnEventFilterEntry, nwAppnIsrConfig=nwAppnIsrConfig, nwAppnFwdLsBlockNum=nwAppnFwdLsBlockNum, nwAppnSysMaxDirEntries=nwAppnSysMaxDirEntries, nwAppnFwdCtrFwdMus=nwAppnFwdCtrFwdMus, nwAppnFwdIfCtrHostOutBytes=nwAppnFwdIfCtrHostOutBytes, nwAppnFwdInterfaces=nwAppnFwdInterfaces, nwAppnFwdIfCounters=nwAppnFwdIfCounters, nwAppnFwdLsByteCost=nwAppnFwdLsByteCost, nwAppnFwdLsBackLvlLenEN=nwAppnFwdLsBackLvlLenEN, nwAppnIfCnTgUsrDef1=nwAppnIfCnTgUsrDef1, nwAppnSysLocateTimeout=nwAppnSysLocateTimeout, nwAppnFwdCtrReset=nwAppnFwdCtrReset, nwAppnIfCnTgUsrDef3=nwAppnIfCnTgUsrDef3, nwAppnEventFltrAction=nwAppnEventFltrAction, nwAppnExtIfDfltPropDelay=nwAppnExtIfDfltPropDelay, nwAppnFwdLsAdminStatus=nwAppnFwdLsAdminStatus, nwAppnRedirector=nwAppnRedirector, nwAppnFwdLsCtrInBlus=nwAppnFwdLsCtrInBlus, nwAppnIfCnTgCharTable=nwAppnIfCnTgCharTable, nwAppnIsrDatabase=nwAppnIsrDatabase, nwAppnFwdCtrFilteredBytes=nwAppnFwdCtrFilteredBytes, nwAppnExtIfOutbLsActLim=nwAppnExtIfOutbLsActLim, nwAppnFwdIfCtrOperationalTime=nwAppnFwdIfCtrOperationalTime, nwAppnSysTreeSize=nwAppnSysTreeSize, nwAppnFwdLsCounters=nwAppnFwdLsCounters, nwAppnEventFltrControl=nwAppnEventFltrControl, nwAppnFwdCtrHostInMus=nwAppnFwdCtrHostInMus, nwAppnFwdLsNumActiveSession=nwAppnFwdLsNumActiveSession, nwAppnFwdIfCacheControl=nwAppnFwdIfCacheControl, nwAppnExtIfInbLsActLim=nwAppnExtIfInbLsActLim, nwAppnFwdIfCtrFwdBytes=nwAppnFwdIfCtrFwdBytes, nwAppnFwdIfCtrHostInBytes=nwAppnFwdIfCtrHostInBytes, nwAppnSysLuName=nwAppnSysLuName, nwAppnDistanceVector=nwAppnDistanceVector, nwAppnIsrInterfaces=nwAppnIsrInterfaces, nwAppnFwdLsCtrHostOutBlus=nwAppnFwdLsCtrHostOutBlus, nwAppnFwdLsPortName=nwAppnFwdLsPortName, nwAppnRouter=nwAppnRouter, nwAppnEvent=nwAppnEvent, nwAppnSysOperationalTime=nwAppnSysOperationalTime, nwAppnFwdLsCtrEntry=nwAppnFwdLsCtrEntry, nwAppnExtIfDfltEffectCap=nwAppnExtIfDfltEffectCap, nwAppnFwdCtrHostOutMus=nwAppnFwdCtrHostOutMus, nwAppnFwdIfCtrInBytes=nwAppnFwdIfCtrInBytes, nwAppnFwdIfOperationalTime=nwAppnFwdIfOperationalTime, nwAppnIfCnPtName=nwAppnIfCnPtName, nwAppnFwdIfAclIdentifier=nwAppnFwdIfAclIdentifier, nwAppnFwdLsDestAddr=nwAppnFwdLsDestAddr, nwAppnFwdLsTable=nwAppnFwdLsTable, nwAppnFwdLsCtrOutBytes=nwAppnFwdLsCtrOutBytes, nwAppnFwdLsPortNbr=nwAppnFwdLsPortNbr, nwAppnFwdIfCtrReset=nwAppnFwdIfCtrReset, nwAppnIsrOperStatus=nwAppnIsrOperStatus, nwAppnWorkGroup=nwAppnWorkGroup, nwAppnFwdCtrInBytes=nwAppnFwdCtrInBytes, nwAppnExtIfPortType=nwAppnExtIfPortType, nwAppnFwdLsMaxSendBtu=nwAppnFwdLsMaxSendBtu, nwAppnFwdLinks=nwAppnFwdLinks, nwAppnIsr=nwAppnIsr, nwAppnFwdLsCtrFilteredBlus=nwAppnFwdLsCtrFilteredBlus, nwAppnFwdLsCtrHostDiscardBytes=nwAppnFwdLsCtrHostDiscardBytes, nwAppnFwdLsCtrHdrErrBlus=nwAppnFwdLsCtrHdrErrBlus, nwAppnSysLuControl=nwAppnSysLuControl, nwAppnFwdLsCtrLsName=nwAppnFwdLsCtrLsName, nwAppnExtensionTable=nwAppnExtensionTable, nwAppnIfCnTgPropDelay=nwAppnIfCnTgPropDelay, nwAppnExtIfLimitedRsrc=nwAppnExtIfLimitedRsrc, nwAppnFwdIfCtrHostDiscardBytes=nwAppnFwdIfCtrHostDiscardBytes, nwAppnEventTextString=nwAppnEventTextString, nwAppnIsrVersion=nwAppnIsrVersion, nwAppnEventLogConfig=nwAppnEventLogConfig, nwAppnFwdIfForwarding=nwAppnFwdIfForwarding, nwAppnFwdIfCtrFilteredMus=nwAppnFwdIfCtrFilteredMus, nwAppnSysCfgLocalNode=nwAppnSysCfgLocalNode, nwAppnFwdLsUsrDef3=nwAppnFwdLsUsrDef3, nwAppnLinkState=nwAppnLinkState, nwAppnExtIfAddress=nwAppnExtIfAddress, nwAppnIfCnTgCharEntry=nwAppnIfCnTgCharEntry, nwAppnSystem=nwAppnSystem, nwAppnExtIfDfltByteCost=nwAppnExtIfDfltByteCost, nwAppnFwdLsAdjCpName=nwAppnFwdLsAdjCpName, nwAppnFwdLsCtrDiscardBlus=nwAppnFwdLsCtrDiscardBlus, nwAppnSysMaxLocates=nwAppnSysMaxLocates, nwAppnExtIfDfltMaxSBtuSize=nwAppnExtIfDfltMaxSBtuSize, nwAppnFwdIfCtrOutBytes=nwAppnFwdIfCtrOutBytes, nwAppnFwdLsCtrInBytes=nwAppnFwdLsCtrInBytes, nwAppnFwdLsCtrReset=nwAppnFwdLsCtrReset, nwAppnFwdLsConfig=nwAppnFwdLsConfig, nwAppnFwdIfAclStatus=nwAppnFwdIfAclStatus, nwAppnFwdLsCtrLenErrBlus=nwAppnFwdLsCtrLenErrBlus, nwAppnForwarding=nwAppnForwarding, nwAppnExtIfMaxIfrmRcvd=nwAppnExtIfMaxIfrmRcvd, nwAppnSysLuEntry=nwAppnSysLuEntry, nwAppnExtIfCpCpSupp=nwAppnExtIfCpCpSupp, nwAppnFwdCtrLenErrMus=nwAppnFwdCtrLenErrMus, nwAppnFwdLsCtrTable=nwAppnFwdLsCtrTable, nwAppnFwdIfMtu=nwAppnFwdIfMtu, nwAppnFwdLsConnectCost=nwAppnFwdLsConnectCost, nwAppnIsrOperationalTime=nwAppnIsrOperationalTime, nwAppnFwdCtrFwdBytes=nwAppnFwdCtrFwdBytes, nwAppnFwdLsCtrHostDiscardBlus=nwAppnFwdLsCtrHostDiscardBlus, nwAppnEventTime=nwAppnEventTime, nwAppnEventProtocol=nwAppnEventProtocol, nwAppnEventFltrProtocol=nwAppnEventFltrProtocol, nwAppnSysNodeType=nwAppnSysNodeType, nwAppnSysBlockNum=nwAppnSysBlockNum, nwAppnFwdIfCtrInMus=nwAppnFwdIfCtrInMus, nwAppnIsrAdminStatus=nwAppnIsrAdminStatus, nwAppnFwdLsControl=nwAppnFwdLsControl, nwAppnFwdLsCtrHostInBlus=nwAppnFwdLsCtrHostInBlus, nwAppnSysIsrUpperThresh=nwAppnSysIsrUpperThresh, nwAppnIfCnPtControl=nwAppnIfCnPtControl, nwAppnFwdCtrHdrErrMus=nwAppnFwdCtrHdrErrMus, nwAppnFwdIfCtrDiscardBytes=nwAppnFwdIfCtrDiscardBytes, nwAppnSysLuTable=nwAppnSysLuTable, nwAppnExtIfLsXmitRcvCap=nwAppnExtIfLsXmitRcvCap, nwAppnSysCpName=nwAppnSysCpName, nwAppnSysMdsSendQSize=nwAppnSysMdsSendQSize, nwAppnFib=nwAppnFib, nwAppnFwdCtrDiscardBytes=nwAppnFwdCtrDiscardBytes, nwAppnFwdLsSecurity=nwAppnFwdLsSecurity, nwAppnFwdLsCtrOperationalTime=nwAppnFwdLsCtrOperationalTime, nwAppnExtIfDlcType=nwAppnExtIfDlcType, nwAppnIfCnTgFqName=nwAppnIfCnTgFqName, nwAppnFwdLsAutoActSupport=nwAppnFwdLsAutoActSupport, nwAppnFwdIfCtrAddrErrMus=nwAppnFwdIfCtrAddrErrMus, nwAppnFwdIfIndex=nwAppnFwdIfIndex, nwAppnEventEntry=nwAppnEventEntry, nwAppnSysOperStatus=nwAppnSysOperStatus, nwAppnFwdCtrOperationalTime=nwAppnFwdCtrOperationalTime, nwAppnFwdLsLimitedRsrc=nwAppnFwdLsLimitedRsrc, nwAppnFwdLsPropDelay=nwAppnFwdLsPropDelay, nwAppnFwdIfCtrLenErrMus=nwAppnFwdIfCtrLenErrMus, nwAppnFwdLsName=nwAppnFwdLsName, nwAppnSysIdNum=nwAppnSysIdNum, nwAppnSysCfgTables=nwAppnSysCfgTables, nwAppnSysModeCosMap=nwAppnSysModeCosMap, nwAppnFwdLsCtrDiscardBytes=nwAppnFwdLsCtrDiscardBytes, nwAppnFwdCtrHostDiscardBytes=nwAppnFwdCtrHostDiscardBytes, nwAppnEventFltrSeverity=nwAppnEventFltrSeverity) mibBuilder.exportSymbols('CTRON-APPN-MIB', nwAppnSysMaxIsrSessions=nwAppnSysMaxIsrSessions, nwAppnExtIfLocalLsRole=nwAppnExtIfLocalLsRole, nwAppnAccessControl=nwAppnAccessControl, nwAppnSysCosSize=nwAppnSysCosSize, nwAppnFwdIfEntry=nwAppnFwdIfEntry, nwAppnFwdIfCtrAdminStatus=nwAppnFwdIfCtrAdminStatus, nwAppnEventSeverity=nwAppnEventSeverity, nwAppnExtIfStopType=nwAppnExtIfStopType, nwAppnSysMdsSupport=nwAppnSysMdsSupport, nwAppnFwdIfFrameType=nwAppnFwdIfFrameType, nwAppnExtIfIndex=nwAppnExtIfIndex, nwAppnExtIfPortName=nwAppnExtIfPortName, nwAppnFwdLsdynamicLs=nwAppnFwdLsdynamicLs, nwAppnExtIfTotLsActLim=nwAppnExtIfTotLsActLim, nwAppnEndSystems=nwAppnEndSystems, nwAppnSysAdministration=nwAppnSysAdministration, nwAppnFilters=nwAppnFilters)
l = [4, 7, 44, 47, 74, 77, 444, 447, 474, 477, 744, 747, 774, 777] n = int(input()) for i in l: if n%i==0: print("YES") break else: print("NO")
l = [4, 7, 44, 47, 74, 77, 444, 447, 474, 477, 744, 747, 774, 777] n = int(input()) for i in l: if n % i == 0: print('YES') break else: print('NO')
class InvalidSign(Exception): pass class InvalidCoordinate(Exception): pass class PreoccupiedCell(Exception): pass class GameStatus(Exception): def __init__(self, sign): self.sign = sign class Victory(GameStatus): pass class Draw(GameStatus): pass
class Invalidsign(Exception): pass class Invalidcoordinate(Exception): pass class Preoccupiedcell(Exception): pass class Gamestatus(Exception): def __init__(self, sign): self.sign = sign class Victory(GameStatus): pass class Draw(GameStatus): pass
class Solution: def duplicateZeros(self, arr: List[int]) -> None: """ Do not return anything, modify arr in-place instead. """ index = 0 length = len(arr) while index < length: if arr[index]== 0: arr.pop(-1) arr.insert(index , 0 ) index +=1 index +=1
class Solution: def duplicate_zeros(self, arr: List[int]) -> None: """ Do not return anything, modify arr in-place instead. """ index = 0 length = len(arr) while index < length: if arr[index] == 0: arr.pop(-1) arr.insert(index, 0) index += 1 index += 1