content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
numbers = [int(el) for el in input().split()] average = sum(numbers) / (len(numbers)) top_5_list = [] current_max = 0 for num in range(5): current_max = max(numbers) if current_max > average: top_5_list.append(current_max) numbers.remove(current_max) list(top_5_list) if top_5_list: print(*top_5_list) else: print("No")
numbers = [int(el) for el in input().split()] average = sum(numbers) / len(numbers) top_5_list = [] current_max = 0 for num in range(5): current_max = max(numbers) if current_max > average: top_5_list.append(current_max) numbers.remove(current_max) list(top_5_list) if top_5_list: print(*top_5_list) else: print('No')
class Solution: def uniquePathsIII(self, grid) -> int: start=list() paths=set() row=len(grid) col=len(grid[0]) for r in range(row): for c in range(col): if grid[r][c]==1: start.append(r) start.append(c) if grid[r][c]==0: paths.add(self.generateNext(r,c)) res=set() self.dfs("",[start],start,res,grid,paths) return len(res) def dfs(self,path,visited, cur,res,grid, paths): row = len(grid) col = len(grid[0]) if grid[cur[0]][cur[1]]==2: if len(paths)==0: res.add(path) return if grid[cur[0]][cur[1]]==-1: return steps=[[-1,0],[0,-1],[0,1],[1,0]] for step in steps: nextr=cur[0]+step[0] nextc=cur[1]+step[1] if nextr>-1 and nextr<row and nextc>-1 and nextc<col and [nextr,nextc] not in visited: curs=self.generateNext(nextr,nextc) paths.discard(curs) self.dfs(path+curs,visited+[[nextr,nextc]],[nextr,nextc],res,grid,paths) if grid[nextr][nextc]==0: paths.add(curs) def generateNext(self,r,c): return "("+str(r)+","+str(c)+")" if __name__ == '__main__': sol=Solution() # grid=[[1,0,0,0],[0,0,0,0],[0,0,2,-1]] grid=[[1,0,0,0],[0,0,0,0],[0,0,0,2]] print(sol.uniquePathsIII(grid))
class Solution: def unique_paths_iii(self, grid) -> int: start = list() paths = set() row = len(grid) col = len(grid[0]) for r in range(row): for c in range(col): if grid[r][c] == 1: start.append(r) start.append(c) if grid[r][c] == 0: paths.add(self.generateNext(r, c)) res = set() self.dfs('', [start], start, res, grid, paths) return len(res) def dfs(self, path, visited, cur, res, grid, paths): row = len(grid) col = len(grid[0]) if grid[cur[0]][cur[1]] == 2: if len(paths) == 0: res.add(path) return if grid[cur[0]][cur[1]] == -1: return steps = [[-1, 0], [0, -1], [0, 1], [1, 0]] for step in steps: nextr = cur[0] + step[0] nextc = cur[1] + step[1] if nextr > -1 and nextr < row and (nextc > -1) and (nextc < col) and ([nextr, nextc] not in visited): curs = self.generateNext(nextr, nextc) paths.discard(curs) self.dfs(path + curs, visited + [[nextr, nextc]], [nextr, nextc], res, grid, paths) if grid[nextr][nextc] == 0: paths.add(curs) def generate_next(self, r, c): return '(' + str(r) + ',' + str(c) + ')' if __name__ == '__main__': sol = solution() grid = [[1, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 2]] print(sol.uniquePathsIII(grid))
def print_multiples(n, high): for i in range(1, high+1): print(n * i, end=" ") print() def print_mult_table(high): for i in range(1, high+1): print_multiples(i, i) print_mult_table(7)
def print_multiples(n, high): for i in range(1, high + 1): print(n * i, end=' ') print() def print_mult_table(high): for i in range(1, high + 1): print_multiples(i, i) print_mult_table(7)
# -*- coding: utf-8 -*- thislist = ["banana", "Orange", "Kiwi", "cherry"] thislist.sort(key = str.lower) print(thislist)
thislist = ['banana', 'Orange', 'Kiwi', 'cherry'] thislist.sort(key=str.lower) print(thislist)
""" None """ class Solution: def wordsAbbreviation(self, dict: List[str]) -> List[str]: def shorten(word, idx): return word if idx > len(word) - 3 else \ word[:idx] + str(len(word)-1-idx) + word[-1] res = [shorten(word, 1) for word in dict] pre = {word : 1 for word in dict} n = len(dict) for i in range(n): while True: duplicate = [j for j in range(i, n) if res[i] == res[j]] if len(duplicate) == 1: break for k in duplicate: pre[dict[k]] += 1 res[k] = shorten(dict[k], pre[dict[k]]) return res
""" None """ class Solution: def words_abbreviation(self, dict: List[str]) -> List[str]: def shorten(word, idx): return word if idx > len(word) - 3 else word[:idx] + str(len(word) - 1 - idx) + word[-1] res = [shorten(word, 1) for word in dict] pre = {word: 1 for word in dict} n = len(dict) for i in range(n): while True: duplicate = [j for j in range(i, n) if res[i] == res[j]] if len(duplicate) == 1: break for k in duplicate: pre[dict[k]] += 1 res[k] = shorten(dict[k], pre[dict[k]]) return res
#!/usr/bin/python3.6 # This should be introduced in the interactive python shell. Where the arguments to print should just be passed to the shell. # We should keep it to the 4 basic arithmetic functions at first since most kids don't get introduced to other functions until later. print(2 + 2) print(3 - 2) print(2 * 3) # Introduce the concept integer numbers and floating point numbers. print(8 / 5) # Introducing variables... x = 10 print(x) y = 5 # We can apply arithmetic operations to our variables. print(x * y) print(x - y) # At this point we will introduce an error by calling a variable that has not been defined yet IE 'k'. # Explain the output caused by the error and how it can be useful to debug a program
print(2 + 2) print(3 - 2) print(2 * 3) print(8 / 5) x = 10 print(x) y = 5 print(x * y) print(x - y)
""" Data acquisition boards ======================= .. todo:: Data acquisition board drivers. Provides: .. autosummary:: :toctree: daqmx """
""" Data acquisition boards ======================= .. todo:: Data acquisition board drivers. Provides: .. autosummary:: :toctree: daqmx """
# # PySNMP MIB module Wellfleet-SWSMDS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Wellfleet-SWSMDS-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:41:47 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, SingleValueConstraint, ConstraintsUnion, ValueSizeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsUnion", "ValueSizeConstraint", "ConstraintsIntersection") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") IpAddress, enterprises, Opaque, Counter32, mgmt, NotificationType, ObjectIdentity, ModuleIdentity, Bits, Gauge32, Unsigned32, Integer32, mib_2, NotificationType, Counter64, TimeTicks, MibScalar, MibTable, MibTableRow, MibTableColumn, iso, MibIdentifier = mibBuilder.importSymbols("SNMPv2-SMI", "IpAddress", "enterprises", "Opaque", "Counter32", "mgmt", "NotificationType", "ObjectIdentity", "ModuleIdentity", "Bits", "Gauge32", "Unsigned32", "Integer32", "mib-2", "NotificationType", "Counter64", "TimeTicks", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso", "MibIdentifier") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") wfSmdsSwGroup, = mibBuilder.importSymbols("Wellfleet-COMMON-MIB", "wfSmdsSwGroup") wfSmdsSwSubTable = MibTable((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1), ) if mibBuilder.loadTexts: wfSmdsSwSubTable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubTable.setDescription('The Wellfleet SMDS Switch Circuit (SNI, subscriber) Record. This record holds information on a per circuit (SSI, SNI, subscriber) basis.') wfSmdsSwSubEntry = MibTableRow((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1), ).setIndexNames((0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwSubCct")) if mibBuilder.loadTexts: wfSmdsSwSubEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubEntry.setDescription('Per Wellfleet circuit SMDS Switch configuration parameters and counters. This table contains Subscriber-Network Interface (SNI) parameters and state variables, one entry per SIP port.') wfSmdsSwSubDelete = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("created", 1), ("deleted", 2))).clone('created')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwSubDelete.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDelete.setDescription('create/delete parameter, dflt = created') wfSmdsSwSubDisable = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwSubDisable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDisable.setDescription('enable/disable parameter, dflt = enabled') wfSmdsSwSubState = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("init", 3), ("notpresent", 4))).clone('notpresent')).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubState.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubState.setDescription('SMDS Switch state variable, Up, Down Init, Not Present') wfSmdsSwSubCct = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1023))).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubCct.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubCct.setDescription('cct number for this instance') wfSmdsSwSubDisableHrtbtPoll = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwSubDisableHrtbtPoll.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDisableHrtbtPoll.setDescription('determine use of DXI heartbeat poll') wfSmdsSwSubHrtbtPollAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("cpe", 1), ("net", 2))).clone('net')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwSubHrtbtPollAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubHrtbtPollAddr.setDescription('determine if heartbeat poll messages are sent as as CPE or network (CSU/DSU) messages.') wfSmdsSwSubHrtbtPollInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(6, 2147483647)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwSubHrtbtPollInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubHrtbtPollInterval.setDescription("heartbeat polling messages get sent every this many seconds - we don't want the polling interval to be less than or equal to the no-acknowledgment timer.") wfSmdsSwSubHrtbtPollDownCount = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwSubHrtbtPollDownCount.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubHrtbtPollDownCount.setDescription('if this many consecutive heartbeat polling messages go unacknowledged, log an event declaring the line down') wfSmdsSwSubDisableNetMgmt = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwSubDisableNetMgmt.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDisableNetMgmt.setDescription('determine use of LMI network management') wfSmdsSwSubInterfaceType = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("sni", 1), ("ssi", 2))).clone('sni')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwSubInterfaceType.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInterfaceType.setDescription('defines whether this interface is a SNI or SSI.') wfSmdsSwSubInterfaceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 11), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwSubInterfaceIndex.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInterfaceIndex.setDescription('The index number for the SSI/SNI. Each SNI in the network has a unique id. The value of this object identifies the SIP port interface for which this entry contains management information.') wfSmdsSwSubDisableL3PduChecks = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwSubDisableL3PduChecks.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDisableL3PduChecks.setDescription('Enable/Disable L3_PDU verification. Default is disabled.') wfSmdsSwSubDisableUsageGeneration = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwSubDisableUsageGeneration.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDisableUsageGeneration.setDescription('enable/disable usage data generation. Default is disabled.') wfSmdsSwSubDisableMIR = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwSubDisableMIR.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDisableMIR.setDescription('enable/disable MIR enforcement, default is disabled.') wfSmdsSwSubUnassignedSAs = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubUnassignedSAs.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubUnassignedSAs.setDescription('The total number of SIP Level 3 PDUs discarded by the SMDS Switch because the Source Address was not assigned to the SNI.') wfSmdsSwSubSAScreenViolations = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubSAScreenViolations.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSAScreenViolations.setDescription('The number of SIP L3_PDUs that violated the address screen based on source address screening for an SNI.') wfSmdsSwSubDAScreenViolations = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubDAScreenViolations.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDAScreenViolations.setDescription('The total number of SIP Level 3 PDUs that violated the Destination Address Screening using either an Individual Address Screen or a Group Address Screen for the SNI.') wfSmdsSwSubNumPDUExceededMIR = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubNumPDUExceededMIR.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubNumPDUExceededMIR.setDescription('The total number of SIP L3_PDUs that exceeded the MIR on this interface.') wfSmdsSwSubSipL3ReceivedIAs = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubSipL3ReceivedIAs.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSipL3ReceivedIAs.setDescription('The total number of individually addressed SIP Level 3 PDUs received by the SMDS Switch from the CPE. The total includes only unerrored L3PDUs.') wfSmdsSwSubSipL3ReceivedGAs = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubSipL3ReceivedGAs.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSipL3ReceivedGAs.setDescription('The total number of group addressed SIP Level 3 PDUs received by the SMDS Switch from the CPE. The total includes only unerrored L3PDUs.') wfSmdsSwSubSipL3UnrecIAs = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubSipL3UnrecIAs.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSipL3UnrecIAs.setDescription('The number of SIP Level 3 PDUs received by the SMDS Switch from the CPE that have an unknown, valid, individual SMDS Destination Address.') wfSmdsSwSubSipL3UnrecGAs = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubSipL3UnrecGAs.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSipL3UnrecGAs.setDescription('The number of SIP Level 3 PDUs received by the SMDS Switch from the CPE that have an unknown, valid, group SMDS Destination Address.') wfSmdsSwSubSipL3SentIAs = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubSipL3SentIAs.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSipL3SentIAs.setDescription('The number of individually addressed SIP Level 3 PDUs that have been sent by this SMDS Switch to the CPE.') wfSmdsSwSubSipL3SentGAs = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubSipL3SentGAs.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSipL3SentGAs.setDescription('The number of group addressed SIP L3PDUs that have been sent by this SMDS Switch to the CPE.') wfSmdsSwSubSipL3Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubSipL3Errors.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSipL3Errors.setDescription('The total number of SIP Level 3 PDUs received by the SMDS Switch from the CPE that were discovered to have protocol errors.') wfSmdsSwSubSipL3InvAddrTypes = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubSipL3InvAddrTypes.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSipL3InvAddrTypes.setDescription('The total number of SIP Level 3 PDUs received by the SMDS Switch from the CPE that had a value in the Source or Destination Address type subfield other than group or individual. Or if the Source Address type subfield value indicates a group address.') wfSmdsSwSubSipL3VersionSupport = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("version", 1))).clone('version')).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubSipL3VersionSupport.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSipL3VersionSupport.setDescription('A value which indicates the version(s) of SIP that this SNI supports. The value is a sum. This sum initially takes the value zero. For each version, V, that this interface supports, 2 raised to (V - 1) is added to the sum. For example, a port supporting versions 1 and 2 would have a value of (2^(1-1)+2^(2-1))=3. The SipL3VersionSupport is effectively a bit mask with Version 1 equal to the least significant bit (LSB).') wfSmdsSwSubSAScrnViolationOccur = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 28), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubSAScrnViolationOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSAScrnViolationOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded as a result of a Source Address violation.') wfSmdsSwSubDAScrnViolationOccur = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 29), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubDAScrnViolationOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDAScrnViolationOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded as a result of a Destination Address violation.') wfSmdsSwSubUnassignedSAOccur = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 30), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubUnassignedSAOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubUnassignedSAOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded as a result of a unassigned Source Address.') wfSmdsSwSubSAErrorOccur = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 31), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubSAErrorOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSAErrorOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because of a Source Address Field Format error.') wfSmdsSwSubDAErrorOccur = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 32), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubDAErrorOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDAErrorOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because of a Destination Address Field Format error.') wfSmdsSwSubInvalidBASizeOccur = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 33), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubInvalidBASizeOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInvalidBASizeOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because of an invalid BASize field value.') wfSmdsSwSubInvalidHELenOccur = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 34), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubInvalidHELenOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInvalidHELenOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because of an invalid Header Extension Length Field value.') wfSmdsSwSubInvalidHEVerOccur = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 35), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubInvalidHEVerOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInvalidHEVerOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because of an invalid Header Extension Version element.') wfSmdsSwSubInvalidHECarOccur = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 36), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubInvalidHECarOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInvalidHECarOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because of an invalid Header Extension Carrier element.') wfSmdsSwSubInvalidHEPadOccur = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 37), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubInvalidHEPadOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInvalidHEPadOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because of an invalid Header Extension Pad element.') wfSmdsSwSubBEtagOccur = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 38), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubBEtagOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubBEtagOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because of a Beginning-End Tag mismatch.') wfSmdsSwSubBAsizeNELenOccur = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 39), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubBAsizeNELenOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubBAsizeNELenOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because the BAsize and Length fields are not equal.') wfSmdsSwSubIncorrectLenOccur = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 40), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubIncorrectLenOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubIncorrectLenOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because of an incorrect length.') wfSmdsSwSubExceededMIROccur = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 41), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubExceededMIROccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubExceededMIROccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because it exceeded the MIR.') wfSmdsSwSubInBandMgmtDisable = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 42), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtDisable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtDisable.setDescription('In-Band Management enable/disable parameter. This attribute indicates whether the local WSNI (only) is enabled to run IP in Host mode, for in-band management purposes, in additional to being a switch interface. The default is disabled') wfSmdsSwSubInBandMgmtLocalAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 43), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtLocalAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtLocalAddr.setDescription('Special SMDS E.164 Individual address that identifies this local circuit. This attribute is only used when the wfSmdsSwSubInBandMgmtDisable attribute is set to ENABLED') wfSmdsSwSubInBandMgmtReceivedPDUs = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 44), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtReceivedPDUs.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtReceivedPDUs.setDescription('The total number of individually addressed In-Band Management PDUs received by the SMDS Switch from the CPE. The total includes only unerrored PDUs.') wfSmdsSwSubInBandMgmtSentPDUs = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 45), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtSentPDUs.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtSentPDUs.setDescription('The number of individually addressed In-Band Management PDUs that have been sent by this SMDS Switch to the CPE.') wfSmdsSwSubInBandMgmtMaxLenErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 46), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtMaxLenErrors.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtMaxLenErrors.setDescription('The number of In-Band Management PDUs that have exceeded the MTU size configured for the line') wfSmdsSwSubInBandMgmtEncapsErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 47), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtEncapsErrors.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtEncapsErrors.setDescription('The number of In-Band Management PDUs that have invalid encapsulation schemes') wfSmdsSwSubGAPartialResolve = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 48), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubGAPartialResolve.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubGAPartialResolve.setDescription("The number of times group addressed L3_PDU's could not be resolved due to congestion.") wfSmdsSwSubDANotOnSni = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 49), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSubDANotOnSni.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDANotOnSni.setDescription('The number of times a L3_PDU was discarded at the egress because the destination address was not assigned to the SNI.') wfSmdsSwEndpTable = MibTable((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 2), ) if mibBuilder.loadTexts: wfSmdsSwEndpTable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwEndpTable.setDescription('The Parameters for the Endpoint table. An Endpoint is defined as an IP address, SMDS E.164 address pair. Endpoint ranges should never overlap.') wfSmdsSwEndpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 2, 1), ).setIndexNames((0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwEndpE164AddrHigh"), (0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwEndpE164AddrDelta"), (0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwEndpInterfaceIndex")) if mibBuilder.loadTexts: wfSmdsSwEndpEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwEndpEntry.setDescription('The parameters for a particular Endpoint.') wfSmdsSwEndpDelete = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 2, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("created", 1), ("deleted", 2))).clone('created')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwEndpDelete.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwEndpDelete.setDescription('Indication to delete this endpoint entry.') wfSmdsSwEndpE164AddrHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 2, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwEndpE164AddrHigh.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwEndpE164AddrHigh.setDescription('The High end of the E.164 address range for this endpoint information.') wfSmdsSwEndpE164AddrDelta = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 2, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwEndpE164AddrDelta.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwEndpE164AddrDelta.setDescription('The difference between wfSmdsSwEndpE164AddrHigh to the beginning of the endpoint information.') wfSmdsSwEndpInterfaceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 2, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwEndpInterfaceIndex.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwEndpInterfaceIndex.setDescription('This number indicates which SNI the endpoint information refers to.') wfSmdsSwInterfaceTable = MibTable((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 3), ) if mibBuilder.loadTexts: wfSmdsSwInterfaceTable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwInterfaceTable.setDescription('This is the Interface Table. This table also holds the Maximum Information Rate (MIR) information.') wfSmdsSwInterfaceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 3, 1), ).setIndexNames((0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwInterfaceType"), (0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwInterfaceIndex")) if mibBuilder.loadTexts: wfSmdsSwInterfaceEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwInterfaceEntry.setDescription('This table defines the IP addresses and what interfaces they are associated with.') wfSmdsSwInterfaceDelete = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 3, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("created", 1), ("deleted", 2))).clone('created')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwInterfaceDelete.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwInterfaceDelete.setDescription('Indication to delete this interface entry.') wfSmdsSwInterfaceType = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("sni", 1), ("ssi", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwInterfaceType.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwInterfaceType.setDescription('This number determines whether the interface information refers to an SNI, SSI, or ICI.') wfSmdsSwInterfaceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 3, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwInterfaceIndex.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwInterfaceIndex.setDescription('This number indicates which SNI, SSI, or ICI the interface information refers to.') wfSmdsSwInterfaceIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 3, 1, 4), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwInterfaceIpAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwInterfaceIpAddr.setDescription('IP Address associated with the interface.') wfSmdsSwInterfaceMIR = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 3, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwInterfaceMIR.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwInterfaceMIR.setDescription('This number represents the MIR in octets per second.') wfSmdsSwInterfaceCurrentRate = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 3, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwInterfaceCurrentRate.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwInterfaceCurrentRate.setDescription('This number indicates the current rate of traffic flow to the interface. The software updates this counter. When this attribute exceeds wfSmdsSwInterfaceMIR traffic to the interface is dropped. Periodically the sofware resets this counter to zero.') wfSmdsSwAssocScrnTable = MibTable((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 4), ) if mibBuilder.loadTexts: wfSmdsSwAssocScrnTable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwAssocScrnTable.setDescription('This list identifies the associated SNI addresses per individualand group address screen. Different addresses on an SNI may be associated with different individual and group address screens (one individual address screen per associated address on an SNI, and one group address screen per associated address on an SNI ).') wfSmdsSwAssocScrnEntry = MibTableRow((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 4, 1), ).setIndexNames((0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwAssocScrnSniIndex"), (0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwAssocScrnAddrInd"), (0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwAssocScrnIndivIndex"), (0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwAssocScrnGrpIndex")) if mibBuilder.loadTexts: wfSmdsSwAssocScrnEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwAssocScrnEntry.setDescription('An SNI index, group and individual screening list index, and the associated addresses for the SNI for the address screens.') wfSmdsSwAssocScrnDelete = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 4, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("created", 1), ("deleted", 2))).clone('created')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwAssocScrnDelete.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwAssocScrnDelete.setDescription('Indication to delete this associated screen entry.') wfSmdsSwAssocScrnSniIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 4, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwAssocScrnSniIndex.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwAssocScrnSniIndex.setDescription('The value of this object identifies the SIP Port interface for which this entry contains management information. The value of this object for a particular interface has the same value as the ifIndex, defined in RFC1213, for the same interface.') wfSmdsSwAssocScrnAddrInd = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 4, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwAssocScrnAddrInd.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwAssocScrnAddrInd.setDescription('The value of this object identifies one of the SMDS addresses for the SNI, identified by the wfSmdsSwAssocScrnSniIndex that belongs to this individual (or group) address screen (wfSmdsSwAssocScrnAddrInd). This list will contain both individual and group addresses, because this list is used for both Destination Address Screening and Source Address Screening; the destination address in the L3_PDU that is undergoing Source Address Screening may be either a group or individual address that is assigned to that SNI. One screen will have a maximum of 64 associated addresses; up to a maximum of 16 individual addresses identifying an SNI and up to a maximum of 48 group addresses identifying an SNI.') wfSmdsSwAssocScrnIndivIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 4, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwAssocScrnIndivIndex.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwAssocScrnIndivIndex.setDescription('The value of this object identifies the individual address screening list. There is at least one individual address screen and at most s individual address screens per SNI. The initial value of s is defined to be 4. In the future more screening lists per SNI may be allowed. The values of this object correspond to the values of wfSmdsSwIAScrnIndex in the wfSmdsSwIAScrnTable.') wfSmdsSwAssocScrnGrpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 4, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwAssocScrnGrpIndex.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwAssocScrnGrpIndex.setDescription('The value of this object identifies the group address screening list. There is at least one group address screen and at most s group address screens per SNI. The initial value of s is defined to be 4. In the future more screening lists per SNI may be allowed. The values of this object correspond to the values of wfSmdsSwGAScrnIndex in the wfSmdsSwGAScrnTable. This field applies only to individual addresses on the SNI because it applies only to destination address screening of group addresses.') wfSmdsSwIAScrnTable = MibTable((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 5), ) if mibBuilder.loadTexts: wfSmdsSwIAScrnTable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwIAScrnTable.setDescription('This list identifies the individual addresses that will be screened per individual address screen table. The are up to s (s is equal to 4) individual address screens per SNI and at least one individual address screen per SNI. The Individual Address Screens and the Group Address Screens together consist of up to n addresses. The initial value of n is defined as 128. In the future a value of n up to 2048 may be supported. The Individual Address Screen is used to perform Destination Address Screening for individually addressed data units and Source Address Screening for all data units. The Group Address Screen is used to perform Destination Address Screening for group addressed data units.') wfSmdsSwIAScrnEntry = MibTableRow((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 5, 1), ).setIndexNames((0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwIAScrnSniIndex"), (0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwIAScrnIndex"), (0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwIAScrnAddr")) if mibBuilder.loadTexts: wfSmdsSwIAScrnEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwIAScrnEntry.setDescription('An SNI index, a screening list index, the individual addresses to be screened for the individual address screen, and whether the screened address is valid or invalid.') wfSmdsSwIAScrnDelete = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 5, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("created", 1), ("deleted", 2))).clone('created')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwIAScrnDelete.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwIAScrnDelete.setDescription('Indication to delete this IA screen entry.') wfSmdsSwIAScrnSniIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 5, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwIAScrnSniIndex.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwIAScrnSniIndex.setDescription('The value of this object identifies the SIP Port interface for which this entry contains management information. The value of this object for a particular interface has the same value as the ifIndex, defined in RFC1213, for the same interface.') wfSmdsSwIAScrnIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 5, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwIAScrnIndex.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwIAScrnIndex.setDescription('The value of this object identifies the individual address screening list. There are at least one individual address screen and at most s individual address screens per SNI. The initial value of s is defined to be 4. In the future more screening lists per SNI may be allowed. The values of this object correspond to the values of wfSmdsSwScrnIndex in the wfSmdsSwScrnTable.') wfSmdsSwIAScrnAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 5, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwIAScrnAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwIAScrnAddr.setDescription('The value of this object identifies one of the individual addresses to be screened for source and destination address screening for the SNI identified by the wfSmdsSwIAScrnSniIndex and for the particular individual address screen (wfSmdsSwIAScrnIndex).') wfSmdsSwGAScrnTable = MibTable((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 6), ) if mibBuilder.loadTexts: wfSmdsSwGAScrnTable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGAScrnTable.setDescription('This list identifies the group addresses that will be screened per group address screen table. The are up to s (s is equal to 4) group address screens per SNI and at least one group address screen per SNI. The Individual Address Screen and the Group Address Screen together consist of up to n addresses. The initial value of n is defined as 128. In the future a value of n up to 2048 may be supported. The Individual Address Screen is used to perform Destination Address Screening for individually addressed data units and Source Address Screening for all data units. The Group Address Screen is used to perform Destination Address Screening for group addressed data units.') wfSmdsSwGAScrnEntry = MibTableRow((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 6, 1), ).setIndexNames((0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwGAScrnSniIndex"), (0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwGAScrnIndex"), (0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwGAScrnAddr")) if mibBuilder.loadTexts: wfSmdsSwGAScrnEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGAScrnEntry.setDescription('An SNI index, a screening list index, the group addresses to be screened for the group address screen, and whether the screened address is valid or invalid.') wfSmdsSwGAScrnDelete = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 6, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("created", 1), ("deleted", 2))).clone('created')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwGAScrnDelete.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGAScrnDelete.setDescription('Indication to delete this GA screen entry.') wfSmdsSwGAScrnSniIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 6, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwGAScrnSniIndex.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGAScrnSniIndex.setDescription('The value of this object identifies the SIP Port interface for which this entry contains management information. The value of this object for a particular interface has the same value as the ifIndex, defined in RFC1213, for the same interface.') wfSmdsSwGAScrnIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 6, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwGAScrnIndex.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGAScrnIndex.setDescription('The value of this object identifies the group address screening list. There is at least one group address screen and at most s group address screens per SNI. The initial value of s is defined to be 4. In the future more screening lists per SNI may be allowed. The values of this object correspond to the values of wfSmdsSwScrnIndex in the wfSmdsSwSmdsScrnTable.') wfSmdsSwGAScrnAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 6, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwGAScrnAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGAScrnAddr.setDescription('The value of this object identifies one of the group addresses to be screened for destination address screening for the SNI identified by the wfSmdsSwGAScrnSniIndex and for the particular group address screen (wfSmdsSwGAScrnIndex).') wfSmdsSwGATable = MibTable((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 7), ) if mibBuilder.loadTexts: wfSmdsSwGATable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGATable.setDescription('A table of all group addresses in the network and the associated individual addresses identified by each group address. A group address identifies up to m individual addresses. An SMDS SS supports up to n group addresses. A group address can be identified by up to p individual addresses. A particular SNI is identified by up to 48 group addresses. The initial values of m, n, and p are defined as 128, 1024, and 32, respectively. In the future values of m and n of 2048 and 8192, respectively, may be supported.') wfSmdsSwGAEntry = MibTableRow((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 7, 1), ).setIndexNames((0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwGASSI"), (0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwGAGroupAddress"), (0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwGAGroupMember")) if mibBuilder.loadTexts: wfSmdsSwGAEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGAEntry.setDescription('A Group Address and an address in that group and whether that association is valid or invalid.') wfSmdsSwGADelete = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 7, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("created", 1), ("deleted", 2))).clone('created')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwGADelete.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGADelete.setDescription('Indication to delete this group address entry.') wfSmdsSwGASSI = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 7, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwGASSI.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGASSI.setDescription('The SSI associated with this Group Address. An SSI of 0 is used to indicate that all interfaces can use the group address. An SSI other than 0 indicates that only the SSI, or an SNI associated with the SSI should use the group.') wfSmdsSwGAGroupAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 7, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwGAGroupAddress.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGAGroupAddress.setDescription('A Group Address.') wfSmdsSwGAGroupMember = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 7, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwGAGroupMember.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGAGroupMember.setDescription('An individual SMDS address that belongs to this Group Address.') wfSmdsSwCurUsageTable = MibTable((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 8), ) if mibBuilder.loadTexts: wfSmdsSwCurUsageTable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwCurUsageTable.setDescription('This table contains the Current Usage Data. This is the interface between Billing and Switching. The Switch gates create these records. The Billing gates collect them to create billing data.') wfSmdsSwCurUsageEntry = MibTableRow((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 8, 1), ).setIndexNames((0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwCurUsageSni"), (0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwCurUsageDestAddr"), (0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwCurUsageSrcAddr")) if mibBuilder.loadTexts: wfSmdsSwCurUsageEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwCurUsageEntry.setDescription('The usage data for the current usage period indexed by destination,source address.') wfSmdsSwCurUsageDelete = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 8, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("created", 1), ("deleted", 2))).clone('created')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwCurUsageDelete.setStatus('obsolete') if mibBuilder.loadTexts: wfSmdsSwCurUsageDelete.setDescription('Indication to delete this current usage entry.') wfSmdsSwCurUsageSni = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 8, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwCurUsageSni.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwCurUsageSni.setDescription('The SNI number of the interface generating the usage information') wfSmdsSwCurUsageDestAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 8, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwCurUsageDestAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwCurUsageDestAddr.setDescription('The destination address of a SMDS group or individual E.164 address.') wfSmdsSwCurUsageSrcAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 8, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwCurUsageSrcAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwCurUsageSrcAddr.setDescription('The source address of a SMDS individual E.164 address.') wfSmdsSwCurUsageGrpIndAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 8, 1, 5), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwCurUsageGrpIndAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwCurUsageGrpIndAddr.setDescription('When the destination address of an L3_PDU is a group address, this attribute is set to one of the E.164 individual addresses that is in the group address and on the destination SNI.') wfSmdsSwCurUsageNumL3Pdu = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 8, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwCurUsageNumL3Pdu.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwCurUsageNumL3Pdu.setDescription('This number represents the number of billable L3_PDUs counted by the circuit during the most recent collection interval.') wfSmdsSwCurUsageNumOctet = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 8, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwCurUsageNumOctet.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwCurUsageNumOctet.setDescription('This number represents the number of billable octets counted by the circuit during the most recent collection interval.') wfSmdsSwCurUsageToBeDeleted = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 8, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("created", 1), ("deleted", 2))).clone('created')).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwCurUsageToBeDeleted.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwCurUsageToBeDeleted.setDescription('Indication to billing to delete this current usage entry.') wfSmdsSwUsage = MibIdentifier((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9)) wfSmdsSwUsageEnable = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwUsageEnable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageEnable.setDescription('Enable/Disable SMDS_SW billing.') wfSmdsSwUsageVolume = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 14))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwUsageVolume.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageVolume.setDescription("Indicates the file system volume number to which the billing usage data files will be written. The volume number corresponds to the slot number on which the volume resides. Note: Value 0 has the special meaning that no 'Store' and 'Flush' operations will take place. This translates to no Billing data will be written to the local file system. 'Update' operations will still be performed on each local slot. Full Billing statistics will still be available in the wfSmdsSwUsageTable MIB.") wfSmdsSwUsageVolumeBackup = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 14))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwUsageVolumeBackup.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageVolumeBackup.setDescription('Indicates the backup volume if wfSmdsSwUsageVolume becomes inoperative. Note: This feature is not implemented in this release.') wfSmdsSwUsageDirectory = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 4), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwUsageDirectory.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageDirectory.setDescription('The name of the directory where the billing usage data files are stored. ') wfSmdsSwUsageFilePrefix = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwUsageFilePrefix.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageFilePrefix.setDescription('The base name of billing usage data files.') wfSmdsSwUsageTimerInterval = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 60)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwUsageTimerInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageTimerInterval.setDescription('This number determines the timer interval (number of seconds) unit for the Billing process to perform its various timer driven tasks. i.e. updating billing usage data, writing billing usage data to file system and file system management activities.') wfSmdsSwUsageUpdateInterval = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwUsageUpdateInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageUpdateInterval.setDescription('This number specifies the interval (number of minutes) for the Billing process to collect and update billing usage data in the wfSmdsSwUsage MIB. Note: When converted to seconds, this must be a multiple of wfSmdsSwUsageTimerInterval. ') wfSmdsSwUsageStoreInterval = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwUsageStoreInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageStoreInterval.setDescription('This number specifies the interval (number of minutes) for the Billing process to write billing usage data on to the file system from the wfSmdsSwUsage MIB. Note: When converted to seconds, this must be a multiple of wfSmdsSwUsageTimerInterval. ') wfSmdsSwUsageFlushInterval = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(60)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwUsageFlushInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageFlushInterval.setDescription('This number specifies the interval (number of minutes) for the Billing process to write billing usage data on to the file system from the wfSmdsSwUsage MIB followed by zeroing the wfSmdsSwUsage MIB. Note: When converted to seconds, this must be a multiple of wfSmdsSwUsageTimerInterval. ') wfSmdsSwUsageCleanupInterval = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(60)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwUsageCleanupInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCleanupInterval.setDescription('This is the interval (number of minutes) for the Billing process to check and delete old billing usage data files. Note: When converted to seconds, this must be a multilple of wfSmdsSwUsageTimerInterval. ') wfSmdsSwUsageLocalTimeZone = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageLocalTimeZone.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageLocalTimeZone.setDescription('Indicates local time zone of the switch') wfSmdsSwUsageUpdateTimeStamp = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 12), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageUpdateTimeStamp.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageUpdateTimeStamp.setDescription('Time stamp of last wfSmdsSwUsageUpdateInterval timer expiration or the starting time of the current wfSmdsSwUsageUpdateInterval. This value is number of seconds since midnight Jan 1, 1976 (GMT). ') wfSmdsSwUsageStoreTimeStamp = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 13), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageStoreTimeStamp.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageStoreTimeStamp.setDescription('Time stamp of last wfSmdsSwUsageStoreInterval timer expiration or the starting time of the current wfSmdsSwUsageStoreInterval. This value is number of seconds since midnight Jan. 1, 1976 (GMT). ') wfSmdsSwUsageFlushTimeStamp = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 14), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageFlushTimeStamp.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageFlushTimeStamp.setDescription('Time stamp of last wfSmdsSwUsageFlushInterval timer expiration or the starting time of the current wfSmdsSwUsageFlushInterval. This value is number of seconds since midnight Jan. 1, 1976 (GMT). ') wfSmdsSwUsageCleanupTimeStamp = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 15), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageCleanupTimeStamp.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCleanupTimeStamp.setDescription('Time stamp of last wfSmdsSwUsageCleanupInterval timer expiration or the starting time of the current wfSmdsSwUsageCleanupInterval. This value is number of seconds since midnight Jan. 1, 1976 (GMT). ') wfSmdsSwUsageUpdateData = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 16), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwUsageUpdateData.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageUpdateData.setDescription('Setting this attribute to a non-zero value will cause an immediate updating of the billing usage data. Once activated, this attribute should be reset to zero to allow subsequent activations. ') wfSmdsSwUsageStoreData = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 17), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwUsageStoreData.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageStoreData.setDescription('Setting this attribute to a non-zero value will cause an immediate updating and writing of the billing usage data. Once activated, this attribute should be reset to zero to allow subsequent activations. ') wfSmdsSwUsageFlushData = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 18), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwUsageFlushData.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageFlushData.setDescription('Setting this attribute to a non-zero value will cause an immediate updating and writing of the billing usage data and followed by zeroing the wfSmdsSwBillingUsage MIB. Once activated, this attribute should be reset to zero to allow subsequent activations. ') wfSmdsSwUsageFileCleanup = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 19), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwUsageFileCleanup.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageFileCleanup.setDescription('Setting this attribute to a non-zero value will cause an immediate checking and deleting old billing usage data files. Once activated, this attribute should be reset to zero to allow subsequent activations. ') wfSmdsSwUsageState = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("init", 3), ("notpresent", 4))).clone('notpresent')).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageState.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageState.setDescription('current state of SMDS_SW billing.') wfSmdsSwUsageCurVolume = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 14))).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageCurVolume.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCurVolume.setDescription('current file system volume number used. This number is the same as wfSmdsSwUsageVolume except when the user sets wfSmdsSwUsageVolume to an invalid number.') wfSmdsSwUsageCurVolumeBackup = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 14))).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageCurVolumeBackup.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCurVolumeBackup.setDescription('curent backup file system volume number used. This number is the same as wfSmdsSwUsageVolumeBackUp except when the user sets wfSmdsSwUsageVolume to an invalid number. Note: This feature is not implemented in this release.') wfSmdsSwUsageCurDirectory = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 23), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageCurDirectory.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCurDirectory.setDescription('current directory name used. This number is the same as wfSmdsSwUsageDirectory except when the user sets wfSmdsSwUsageDirectory to an invalid name.') wfSmdsSwUsageCurFilePrefix = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 24), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageCurFilePrefix.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCurFilePrefix.setDescription('current base file name used. This number is the same as wfSmdsSwUsageFilePrefix except when the user sets wfSmdsSwUsageFilePrefix to an invalid name.') wfSmdsSwUsageCurTimerInterval = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 25), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 60)).clone(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageCurTimerInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCurTimerInterval.setDescription('current timer interval number used. This number is the same as wfSmdsSwUsageTimerInterval except when the user sets wfSmdsSwUsageTimerInterval to an invalid value.') wfSmdsSwUsageCurUpdateInterval = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 26), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(10)).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageCurUpdateInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCurUpdateInterval.setDescription('current update interval number used. This number is the same as wfSmdsSwUsageUpdateInterval except when the user sets wfSmdsSwUsageUpdateInterval to an invalid value.') wfSmdsSwUsageCurStoreInterval = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 27), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(10)).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageCurStoreInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCurStoreInterval.setDescription('current store timer interval number used. This number is the same as wfSmdsSwUsageStoreInterval except when the user sets wfSmdsSwUsageStoreInterval to an invalid value.') wfSmdsSwUsageCurFlushInterval = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 28), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(60)).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageCurFlushInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCurFlushInterval.setDescription('current flush timer interval number used. This number is the same as wfSmdsSwUsageFlushInterval except when the user sets wfSmdsSwUsageFlushInterval to an invalid value.') wfSmdsSwUsageCurCleanupInterval = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 29), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647)).clone(60)).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageCurCleanupInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCurCleanupInterval.setDescription('current file cleanup timer interval number used. This number is the same as wfSmdsSwUsageCleanupInterval except when the user sets wfSmdsSwUsageCleanupInterval to an invalid value.') wfSmdsSwUsageDebug = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwUsageDebug.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageDebug.setDescription('Enable/Disable printing of debug edl (trap) messages. NOTE: Do not enable this attribute in operational enviornment as it will likely flood the logging facility. This attribute is reserved for specialized debugging in a controlled lab enviornment.') wfSmdsSwUsageCurDebug = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageCurDebug.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCurDebug.setDescription('current debug value used. This value is the same as wfSmdsSwUsageDebug except when the user sets wfSmdsSwUsageDeubg to an invalid value.') wfSmdsSwUsageSwitchId = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 32), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageSwitchId.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageSwitchId.setDescription('switch id used in the billing usage data file.') wfSmdsSwUsageNumEntries = MibScalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 33), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageNumEntries.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageNumEntries.setDescription('number of entries in wfSmdsSwUsageTable') wfSmdsSwUsageTable = MibTable((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10), ) if mibBuilder.loadTexts: wfSmdsSwUsageTable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageTable.setDescription('The Billing Usage Table.') wfSmdsSwUsageEntry = MibTableRow((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1), ).setIndexNames((0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwUsageSni"), (0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwUsageDestAddr"), (0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwUsageSrcAddr")) if mibBuilder.loadTexts: wfSmdsSwUsageEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageEntry.setDescription('The parameters for Billing Usage.') wfSmdsSwUsageDelete = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("created", 1), ("deleted", 2))).clone('created')).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageDelete.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageDelete.setDescription('Indicates status of this entry. SMDS_SW_USAGE_CREATED is the normal case. SMDS_SW_USAGE_DELETED means this billing instance will be deleted at the end of the next wfSmdsSwUsageFlush period after this billing record is written out to the file system.') wfSmdsSwUsageSni = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageSni.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageSni.setDescription('The circuit number of the interface generating the usage information') wfSmdsSwUsageDestAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageDestAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageDestAddr.setDescription('Instance identifier; the destination address of an L3_PDU. The SMDS Switch collects usage data based on the destination/source address pair.') wfSmdsSwUsageSrcAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageSrcAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageSrcAddr.setDescription('Instance identifier; the source address of an L3_PDU. The SMDS Switch collects usage data based on the destination/source address pair.') wfSmdsSwUsageStartTimeStampHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageStartTimeStampHigh.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageStartTimeStampHigh.setDescription('Time stamp of the starting time (the high 32 bits) of last billing usage interval. This value is the number of 1/100th seconds since midnight Jan 1, 1976 (GMT).') wfSmdsSwUsageStartTimeStampLow = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageStartTimeStampLow.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageStartTimeStampLow.setDescription('Time stamp of the starting time (the low 32 bits) of last billing usage interval. This value is the number of 1/100th seconds since midnight Jan 1, 1976 (GMT).') wfSmdsSwUsageEndTimeStampHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageEndTimeStampHigh.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageEndTimeStampHigh.setDescription('Time stamp of the ending time (the high 32 bits) of last billing usage interval. This value is the number of 1/100th seconds since midnight Jan 1, 1976 (GMT).') wfSmdsSwUsageEndTimeStampLow = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageEndTimeStampLow.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageEndTimeStampLow.setDescription('Time stamp of the ending time (the low 32 bits) of last billing usage interval. This value is the number of 1/100th seconds since midnight Jan 1, 1976 (GMT).') wfSmdsSwUsageSentL3PduHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageSentL3PduHigh.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageSentL3PduHigh.setDescription('Number (the high 32 bits) of L3_PDUs sent to the CPE between wfSmdsSwUsageStartTimeStamp and wfSmdsSwUsageEndTimeStamp.') wfSmdsSwUsageSentL3PduLow = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageSentL3PduLow.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageSentL3PduLow.setDescription('Number (the low 32 bits) of L3_PDUs sent to the CPE between wfSmdsSwUsageStartTimeStamp and wfSmdsSwUsageEndTimeStamp.') wfSmdsSwUsageSentOctetHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageSentOctetHigh.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageSentOctetHigh.setDescription('Number (the high 32 bits) of octets sent to the CPE between wfSmdsSwUsageStartTimeStamp and wfSmdsSwUsageEndTimeStamp.') wfSmdsSwUsageSentOctetLow = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 12), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageSentOctetLow.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageSentOctetLow.setDescription('Number (the low 32 bits) of octets sent to the CPE between wfSmdsSwUsageStartTimeStamp and wfSmdsSwUsageEndTimeStamp.') wfSmdsSwUsageLastL3PduHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 13), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageLastL3PduHigh.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageLastL3PduHigh.setDescription('The (high 32 bits) value of wfSmdsSwCurUsageNumL3Pdu value at wfSmdsSwUsageEndTimeStamp. Note: Since wfSmdsSwCurUsageNumL3Pdu is a 32-bit COUNTER, this is really a counter keeping track of number of times wfSmdsSwCurUsageNumL3Pdu has wrapped around.') wfSmdsSwUsageLastL3PduLow = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 14), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageLastL3PduLow.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageLastL3PduLow.setDescription('The (low 32 bits) value of wfSmdsSwCurUsageNumL3Pdu value at wfSmdsSwUsageEndTimeStamp.') wfSmdsSwUsageLastOctetHigh = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 15), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageLastOctetHigh.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageLastOctetHigh.setDescription('The (high 32 bits) value of wfSmdsSwCurUsageNumOctets value at wfSmdsSwUsageEndTimeStamp. Note: Since wfSmdsSwCurUsageNumOctets is a 32-bit COUNTER, this is really a counter keeping track of number of times wfSmdsSwCurUsageNumOctets has wrapped around.') wfSmdsSwUsageLastOctetLow = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 16), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageLastOctetLow.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageLastOctetLow.setDescription('The (low 32 bits) value of wfSmdsSwCurUsageNumOctets value at wfSmdsSwUsageEndTimeStamp.') wfSmdsSwUsageGrpIndAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 17), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwUsageGrpIndAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageGrpIndAddr.setDescription('When the destination address of an L3_PDU is a group address, this attribute is set to one of the E.164 individual addresses that is in the group address and on the destination SNI.') wfSmdsSwSsiSniTable = MibTable((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 11), ) if mibBuilder.loadTexts: wfSmdsSwSsiSniTable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSsiSniTable.setDescription("The Parameters for the SSI/SNI Object. This object associates SNI's with SSI's for Bellcore TR-TSV-001239 compliance.") wfSmdsSwSsiSniEntry = MibTableRow((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 11, 1), ).setIndexNames((0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwSsiSniSSI"), (0, "Wellfleet-SWSMDS-MIB", "wfSmdsSwSsiSniSNI")) if mibBuilder.loadTexts: wfSmdsSwSsiSniEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSsiSniEntry.setDescription('The parameters for a particular SSI/SNI.') wfSmdsSwSsiSniDelete = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 11, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("created", 1), ("deleted", 2))).clone('created')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfSmdsSwSsiSniDelete.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSsiSniDelete.setDescription('Indication to delete this SSI/SNI entry.') wfSmdsSwSsiSniSSI = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 11, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSsiSniSSI.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSsiSniSSI.setDescription('An SSI.') wfSmdsSwSsiSniSNI = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 11, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfSmdsSwSsiSniSNI.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSsiSniSNI.setDescription('An SNI.') mibBuilder.exportSymbols("Wellfleet-SWSMDS-MIB", wfSmdsSwCurUsageToBeDeleted=wfSmdsSwCurUsageToBeDeleted, wfSmdsSwUsageUpdateTimeStamp=wfSmdsSwUsageUpdateTimeStamp, wfSmdsSwUsageEndTimeStampLow=wfSmdsSwUsageEndTimeStampLow, wfSmdsSwSubSipL3InvAddrTypes=wfSmdsSwSubSipL3InvAddrTypes, wfSmdsSwUsageSwitchId=wfSmdsSwUsageSwitchId, wfSmdsSwSubUnassignedSAOccur=wfSmdsSwSubUnassignedSAOccur, wfSmdsSwCurUsageDelete=wfSmdsSwCurUsageDelete, wfSmdsSwSubUnassignedSAs=wfSmdsSwSubUnassignedSAs, wfSmdsSwAssocScrnSniIndex=wfSmdsSwAssocScrnSniIndex, wfSmdsSwAssocScrnDelete=wfSmdsSwAssocScrnDelete, wfSmdsSwGASSI=wfSmdsSwGASSI, wfSmdsSwInterfaceType=wfSmdsSwInterfaceType, wfSmdsSwUsageSni=wfSmdsSwUsageSni, wfSmdsSwAssocScrnTable=wfSmdsSwAssocScrnTable, wfSmdsSwSubSipL3VersionSupport=wfSmdsSwSubSipL3VersionSupport, wfSmdsSwIAScrnTable=wfSmdsSwIAScrnTable, wfSmdsSwSubBAsizeNELenOccur=wfSmdsSwSubBAsizeNELenOccur, wfSmdsSwSubCct=wfSmdsSwSubCct, wfSmdsSwSubGAPartialResolve=wfSmdsSwSubGAPartialResolve, wfSmdsSwUsageStoreInterval=wfSmdsSwUsageStoreInterval, wfSmdsSwUsageVolumeBackup=wfSmdsSwUsageVolumeBackup, wfSmdsSwUsageStartTimeStampHigh=wfSmdsSwUsageStartTimeStampHigh, wfSmdsSwIAScrnAddr=wfSmdsSwIAScrnAddr, wfSmdsSwSubSipL3UnrecIAs=wfSmdsSwSubSipL3UnrecIAs, wfSmdsSwUsageStartTimeStampLow=wfSmdsSwUsageStartTimeStampLow, wfSmdsSwUsageLastL3PduLow=wfSmdsSwUsageLastL3PduLow, wfSmdsSwUsageStoreTimeStamp=wfSmdsSwUsageStoreTimeStamp, wfSmdsSwGAScrnDelete=wfSmdsSwGAScrnDelete, wfSmdsSwSubDisableUsageGeneration=wfSmdsSwSubDisableUsageGeneration, wfSmdsSwSubInBandMgmtLocalAddr=wfSmdsSwSubInBandMgmtLocalAddr, wfSmdsSwAssocScrnIndivIndex=wfSmdsSwAssocScrnIndivIndex, wfSmdsSwUsageSentOctetHigh=wfSmdsSwUsageSentOctetHigh, wfSmdsSwSubHrtbtPollAddr=wfSmdsSwSubHrtbtPollAddr, wfSmdsSwSubSipL3Errors=wfSmdsSwSubSipL3Errors, wfSmdsSwSubInBandMgmtEncapsErrors=wfSmdsSwSubInBandMgmtEncapsErrors, wfSmdsSwSubInvalidHELenOccur=wfSmdsSwSubInvalidHELenOccur, wfSmdsSwSubState=wfSmdsSwSubState, wfSmdsSwSubSipL3SentIAs=wfSmdsSwSubSipL3SentIAs, wfSmdsSwUsageUpdateInterval=wfSmdsSwUsageUpdateInterval, wfSmdsSwUsageSrcAddr=wfSmdsSwUsageSrcAddr, wfSmdsSwSubInterfaceIndex=wfSmdsSwSubInterfaceIndex, wfSmdsSwIAScrnIndex=wfSmdsSwIAScrnIndex, wfSmdsSwSubDAScrnViolationOccur=wfSmdsSwSubDAScrnViolationOccur, wfSmdsSwSubInterfaceType=wfSmdsSwSubInterfaceType, wfSmdsSwSsiSniSSI=wfSmdsSwSsiSniSSI, wfSmdsSwUsageCurUpdateInterval=wfSmdsSwUsageCurUpdateInterval, wfSmdsSwUsageFlushTimeStamp=wfSmdsSwUsageFlushTimeStamp, wfSmdsSwSubExceededMIROccur=wfSmdsSwSubExceededMIROccur, wfSmdsSwUsageLastOctetHigh=wfSmdsSwUsageLastOctetHigh, wfSmdsSwSubDANotOnSni=wfSmdsSwSubDANotOnSni, wfSmdsSwGAScrnEntry=wfSmdsSwGAScrnEntry, wfSmdsSwCurUsageEntry=wfSmdsSwCurUsageEntry, wfSmdsSwUsageLocalTimeZone=wfSmdsSwUsageLocalTimeZone, wfSmdsSwInterfaceMIR=wfSmdsSwInterfaceMIR, wfSmdsSwUsageLastOctetLow=wfSmdsSwUsageLastOctetLow, wfSmdsSwInterfaceIndex=wfSmdsSwInterfaceIndex, wfSmdsSwUsageTimerInterval=wfSmdsSwUsageTimerInterval, wfSmdsSwGAScrnAddr=wfSmdsSwGAScrnAddr, wfSmdsSwEndpInterfaceIndex=wfSmdsSwEndpInterfaceIndex, wfSmdsSwGAEntry=wfSmdsSwGAEntry, wfSmdsSwSubIncorrectLenOccur=wfSmdsSwSubIncorrectLenOccur, wfSmdsSwUsageCleanupInterval=wfSmdsSwUsageCleanupInterval, wfSmdsSwCurUsageGrpIndAddr=wfSmdsSwCurUsageGrpIndAddr, wfSmdsSwSubSipL3SentGAs=wfSmdsSwSubSipL3SentGAs, wfSmdsSwSubDelete=wfSmdsSwSubDelete, wfSmdsSwUsageCurStoreInterval=wfSmdsSwUsageCurStoreInterval, wfSmdsSwSsiSniSNI=wfSmdsSwSsiSniSNI, wfSmdsSwCurUsageNumL3Pdu=wfSmdsSwCurUsageNumL3Pdu, wfSmdsSwEndpE164AddrDelta=wfSmdsSwEndpE164AddrDelta, wfSmdsSwGATable=wfSmdsSwGATable, wfSmdsSwUsageCurVolumeBackup=wfSmdsSwUsageCurVolumeBackup, wfSmdsSwUsageCurFlushInterval=wfSmdsSwUsageCurFlushInterval, wfSmdsSwSubEntry=wfSmdsSwSubEntry, wfSmdsSwSubInvalidHEVerOccur=wfSmdsSwSubInvalidHEVerOccur, wfSmdsSwGAScrnSniIndex=wfSmdsSwGAScrnSniIndex, wfSmdsSwSubHrtbtPollDownCount=wfSmdsSwSubHrtbtPollDownCount, wfSmdsSwUsageUpdateData=wfSmdsSwUsageUpdateData, wfSmdsSwUsageDebug=wfSmdsSwUsageDebug, wfSmdsSwIAScrnEntry=wfSmdsSwIAScrnEntry, wfSmdsSwInterfaceTable=wfSmdsSwInterfaceTable, wfSmdsSwSsiSniEntry=wfSmdsSwSsiSniEntry, wfSmdsSwGADelete=wfSmdsSwGADelete, wfSmdsSwUsageState=wfSmdsSwUsageState, wfSmdsSwUsageDirectory=wfSmdsSwUsageDirectory, wfSmdsSwAssocScrnGrpIndex=wfSmdsSwAssocScrnGrpIndex, wfSmdsSwUsageEndTimeStampHigh=wfSmdsSwUsageEndTimeStampHigh, wfSmdsSwSubInBandMgmtSentPDUs=wfSmdsSwSubInBandMgmtSentPDUs, wfSmdsSwEndpDelete=wfSmdsSwEndpDelete, wfSmdsSwUsageSentL3PduHigh=wfSmdsSwUsageSentL3PduHigh, wfSmdsSwUsageSentOctetLow=wfSmdsSwUsageSentOctetLow, wfSmdsSwUsageEntry=wfSmdsSwUsageEntry, wfSmdsSwSubSAErrorOccur=wfSmdsSwSubSAErrorOccur, wfSmdsSwInterfaceIpAddr=wfSmdsSwInterfaceIpAddr, wfSmdsSwIAScrnSniIndex=wfSmdsSwIAScrnSniIndex, wfSmdsSwUsageFilePrefix=wfSmdsSwUsageFilePrefix, wfSmdsSwUsageFlushData=wfSmdsSwUsageFlushData, wfSmdsSwUsageCurFilePrefix=wfSmdsSwUsageCurFilePrefix, wfSmdsSwUsageCurDirectory=wfSmdsSwUsageCurDirectory, wfSmdsSwGAGroupAddress=wfSmdsSwGAGroupAddress, wfSmdsSwAssocScrnEntry=wfSmdsSwAssocScrnEntry, wfSmdsSwSubDAErrorOccur=wfSmdsSwSubDAErrorOccur, wfSmdsSwSubInvalidHECarOccur=wfSmdsSwSubInvalidHECarOccur, wfSmdsSwSubHrtbtPollInterval=wfSmdsSwSubHrtbtPollInterval, wfSmdsSwSsiSniTable=wfSmdsSwSsiSniTable, wfSmdsSwSubSipL3ReceivedGAs=wfSmdsSwSubSipL3ReceivedGAs, wfSmdsSwUsageSentL3PduLow=wfSmdsSwUsageSentL3PduLow, wfSmdsSwAssocScrnAddrInd=wfSmdsSwAssocScrnAddrInd, wfSmdsSwUsageLastL3PduHigh=wfSmdsSwUsageLastL3PduHigh, wfSmdsSwUsageEnable=wfSmdsSwUsageEnable, wfSmdsSwUsageNumEntries=wfSmdsSwUsageNumEntries, wfSmdsSwSubInBandMgmtDisable=wfSmdsSwSubInBandMgmtDisable, wfSmdsSwSubSipL3UnrecGAs=wfSmdsSwSubSipL3UnrecGAs, wfSmdsSwUsageGrpIndAddr=wfSmdsSwUsageGrpIndAddr, wfSmdsSwGAScrnTable=wfSmdsSwGAScrnTable, wfSmdsSwUsageFlushInterval=wfSmdsSwUsageFlushInterval, wfSmdsSwEndpEntry=wfSmdsSwEndpEntry, wfSmdsSwCurUsageNumOctet=wfSmdsSwCurUsageNumOctet, wfSmdsSwUsageCurVolume=wfSmdsSwUsageCurVolume, wfSmdsSwSubSAScrnViolationOccur=wfSmdsSwSubSAScrnViolationOccur, wfSmdsSwUsageTable=wfSmdsSwUsageTable, wfSmdsSwUsageCurTimerInterval=wfSmdsSwUsageCurTimerInterval, wfSmdsSwSubSAScreenViolations=wfSmdsSwSubSAScreenViolations, wfSmdsSwInterfaceDelete=wfSmdsSwInterfaceDelete, wfSmdsSwSubTable=wfSmdsSwSubTable, wfSmdsSwSubDisableNetMgmt=wfSmdsSwSubDisableNetMgmt, wfSmdsSwEndpTable=wfSmdsSwEndpTable, wfSmdsSwSubDisable=wfSmdsSwSubDisable, wfSmdsSwCurUsageSrcAddr=wfSmdsSwCurUsageSrcAddr, wfSmdsSwSubNumPDUExceededMIR=wfSmdsSwSubNumPDUExceededMIR, wfSmdsSwCurUsageTable=wfSmdsSwCurUsageTable, wfSmdsSwEndpE164AddrHigh=wfSmdsSwEndpE164AddrHigh, wfSmdsSwUsageDelete=wfSmdsSwUsageDelete, wfSmdsSwSubDisableMIR=wfSmdsSwSubDisableMIR, wfSmdsSwSubDisableHrtbtPoll=wfSmdsSwSubDisableHrtbtPoll, wfSmdsSwInterfaceCurrentRate=wfSmdsSwInterfaceCurrentRate, wfSmdsSwUsageVolume=wfSmdsSwUsageVolume, wfSmdsSwSubInBandMgmtReceivedPDUs=wfSmdsSwSubInBandMgmtReceivedPDUs, wfSmdsSwSsiSniDelete=wfSmdsSwSsiSniDelete, wfSmdsSwGAGroupMember=wfSmdsSwGAGroupMember, wfSmdsSwSubSipL3ReceivedIAs=wfSmdsSwSubSipL3ReceivedIAs, wfSmdsSwSubInvalidHEPadOccur=wfSmdsSwSubInvalidHEPadOccur, wfSmdsSwUsageFileCleanup=wfSmdsSwUsageFileCleanup, wfSmdsSwSubDisableL3PduChecks=wfSmdsSwSubDisableL3PduChecks, wfSmdsSwGAScrnIndex=wfSmdsSwGAScrnIndex, wfSmdsSwUsageCleanupTimeStamp=wfSmdsSwUsageCleanupTimeStamp, wfSmdsSwUsageCurCleanupInterval=wfSmdsSwUsageCurCleanupInterval, wfSmdsSwInterfaceEntry=wfSmdsSwInterfaceEntry, wfSmdsSwUsage=wfSmdsSwUsage, wfSmdsSwIAScrnDelete=wfSmdsSwIAScrnDelete, wfSmdsSwUsageCurDebug=wfSmdsSwUsageCurDebug, wfSmdsSwUsageStoreData=wfSmdsSwUsageStoreData, wfSmdsSwSubDAScreenViolations=wfSmdsSwSubDAScreenViolations, wfSmdsSwSubInBandMgmtMaxLenErrors=wfSmdsSwSubInBandMgmtMaxLenErrors, wfSmdsSwCurUsageSni=wfSmdsSwCurUsageSni, wfSmdsSwUsageDestAddr=wfSmdsSwUsageDestAddr, wfSmdsSwSubBEtagOccur=wfSmdsSwSubBEtagOccur, wfSmdsSwCurUsageDestAddr=wfSmdsSwCurUsageDestAddr, wfSmdsSwSubInvalidBASizeOccur=wfSmdsSwSubInvalidBASizeOccur)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, single_value_constraint, constraints_union, value_size_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'SingleValueConstraint', 'ConstraintsUnion', 'ValueSizeConstraint', 'ConstraintsIntersection') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (ip_address, enterprises, opaque, counter32, mgmt, notification_type, object_identity, module_identity, bits, gauge32, unsigned32, integer32, mib_2, notification_type, counter64, time_ticks, mib_scalar, mib_table, mib_table_row, mib_table_column, iso, mib_identifier) = mibBuilder.importSymbols('SNMPv2-SMI', 'IpAddress', 'enterprises', 'Opaque', 'Counter32', 'mgmt', 'NotificationType', 'ObjectIdentity', 'ModuleIdentity', 'Bits', 'Gauge32', 'Unsigned32', 'Integer32', 'mib-2', 'NotificationType', 'Counter64', 'TimeTicks', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'iso', 'MibIdentifier') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') (wf_smds_sw_group,) = mibBuilder.importSymbols('Wellfleet-COMMON-MIB', 'wfSmdsSwGroup') wf_smds_sw_sub_table = mib_table((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1)) if mibBuilder.loadTexts: wfSmdsSwSubTable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubTable.setDescription('The Wellfleet SMDS Switch Circuit (SNI, subscriber) Record. This record holds information on a per circuit (SSI, SNI, subscriber) basis.') wf_smds_sw_sub_entry = mib_table_row((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1)).setIndexNames((0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwSubCct')) if mibBuilder.loadTexts: wfSmdsSwSubEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubEntry.setDescription('Per Wellfleet circuit SMDS Switch configuration parameters and counters. This table contains Subscriber-Network Interface (SNI) parameters and state variables, one entry per SIP port.') wf_smds_sw_sub_delete = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('created', 1), ('deleted', 2))).clone('created')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwSubDelete.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDelete.setDescription('create/delete parameter, dflt = created') wf_smds_sw_sub_disable = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwSubDisable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDisable.setDescription('enable/disable parameter, dflt = enabled') wf_smds_sw_sub_state = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('up', 1), ('down', 2), ('init', 3), ('notpresent', 4))).clone('notpresent')).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubState.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubState.setDescription('SMDS Switch state variable, Up, Down Init, Not Present') wf_smds_sw_sub_cct = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 1023))).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubCct.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubCct.setDescription('cct number for this instance') wf_smds_sw_sub_disable_hrtbt_poll = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 5), 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: wfSmdsSwSubDisableHrtbtPoll.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDisableHrtbtPoll.setDescription('determine use of DXI heartbeat poll') wf_smds_sw_sub_hrtbt_poll_addr = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('cpe', 1), ('net', 2))).clone('net')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwSubHrtbtPollAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubHrtbtPollAddr.setDescription('determine if heartbeat poll messages are sent as as CPE or network (CSU/DSU) messages.') wf_smds_sw_sub_hrtbt_poll_interval = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(6, 2147483647)).clone(10)).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwSubHrtbtPollInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubHrtbtPollInterval.setDescription("heartbeat polling messages get sent every this many seconds - we don't want the polling interval to be less than or equal to the no-acknowledgment timer.") wf_smds_sw_sub_hrtbt_poll_down_count = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(1, 10)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwSubHrtbtPollDownCount.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubHrtbtPollDownCount.setDescription('if this many consecutive heartbeat polling messages go unacknowledged, log an event declaring the line down') wf_smds_sw_sub_disable_net_mgmt = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 9), 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: wfSmdsSwSubDisableNetMgmt.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDisableNetMgmt.setDescription('determine use of LMI network management') wf_smds_sw_sub_interface_type = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('sni', 1), ('ssi', 2))).clone('sni')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwSubInterfaceType.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInterfaceType.setDescription('defines whether this interface is a SNI or SSI.') wf_smds_sw_sub_interface_index = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 11), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwSubInterfaceIndex.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInterfaceIndex.setDescription('The index number for the SSI/SNI. Each SNI in the network has a unique id. The value of this object identifies the SIP port interface for which this entry contains management information.') wf_smds_sw_sub_disable_l3_pdu_checks = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwSubDisableL3PduChecks.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDisableL3PduChecks.setDescription('Enable/Disable L3_PDU verification. Default is disabled.') wf_smds_sw_sub_disable_usage_generation = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 13), 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: wfSmdsSwSubDisableUsageGeneration.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDisableUsageGeneration.setDescription('enable/disable usage data generation. Default is disabled.') wf_smds_sw_sub_disable_mir = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 14), 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: wfSmdsSwSubDisableMIR.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDisableMIR.setDescription('enable/disable MIR enforcement, default is disabled.') wf_smds_sw_sub_unassigned_s_as = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 15), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubUnassignedSAs.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubUnassignedSAs.setDescription('The total number of SIP Level 3 PDUs discarded by the SMDS Switch because the Source Address was not assigned to the SNI.') wf_smds_sw_sub_sa_screen_violations = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 16), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubSAScreenViolations.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSAScreenViolations.setDescription('The number of SIP L3_PDUs that violated the address screen based on source address screening for an SNI.') wf_smds_sw_sub_da_screen_violations = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 17), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubDAScreenViolations.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDAScreenViolations.setDescription('The total number of SIP Level 3 PDUs that violated the Destination Address Screening using either an Individual Address Screen or a Group Address Screen for the SNI.') wf_smds_sw_sub_num_pdu_exceeded_mir = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 18), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubNumPDUExceededMIR.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubNumPDUExceededMIR.setDescription('The total number of SIP L3_PDUs that exceeded the MIR on this interface.') wf_smds_sw_sub_sip_l3_received_i_as = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 19), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubSipL3ReceivedIAs.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSipL3ReceivedIAs.setDescription('The total number of individually addressed SIP Level 3 PDUs received by the SMDS Switch from the CPE. The total includes only unerrored L3PDUs.') wf_smds_sw_sub_sip_l3_received_g_as = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 20), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubSipL3ReceivedGAs.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSipL3ReceivedGAs.setDescription('The total number of group addressed SIP Level 3 PDUs received by the SMDS Switch from the CPE. The total includes only unerrored L3PDUs.') wf_smds_sw_sub_sip_l3_unrec_i_as = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 21), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubSipL3UnrecIAs.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSipL3UnrecIAs.setDescription('The number of SIP Level 3 PDUs received by the SMDS Switch from the CPE that have an unknown, valid, individual SMDS Destination Address.') wf_smds_sw_sub_sip_l3_unrec_g_as = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 22), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubSipL3UnrecGAs.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSipL3UnrecGAs.setDescription('The number of SIP Level 3 PDUs received by the SMDS Switch from the CPE that have an unknown, valid, group SMDS Destination Address.') wf_smds_sw_sub_sip_l3_sent_i_as = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 23), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubSipL3SentIAs.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSipL3SentIAs.setDescription('The number of individually addressed SIP Level 3 PDUs that have been sent by this SMDS Switch to the CPE.') wf_smds_sw_sub_sip_l3_sent_g_as = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 24), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubSipL3SentGAs.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSipL3SentGAs.setDescription('The number of group addressed SIP L3PDUs that have been sent by this SMDS Switch to the CPE.') wf_smds_sw_sub_sip_l3_errors = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 25), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubSipL3Errors.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSipL3Errors.setDescription('The total number of SIP Level 3 PDUs received by the SMDS Switch from the CPE that were discovered to have protocol errors.') wf_smds_sw_sub_sip_l3_inv_addr_types = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 26), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubSipL3InvAddrTypes.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSipL3InvAddrTypes.setDescription('The total number of SIP Level 3 PDUs received by the SMDS Switch from the CPE that had a value in the Source or Destination Address type subfield other than group or individual. Or if the Source Address type subfield value indicates a group address.') wf_smds_sw_sub_sip_l3_version_support = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('version', 1))).clone('version')).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubSipL3VersionSupport.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSipL3VersionSupport.setDescription('A value which indicates the version(s) of SIP that this SNI supports. The value is a sum. This sum initially takes the value zero. For each version, V, that this interface supports, 2 raised to (V - 1) is added to the sum. For example, a port supporting versions 1 and 2 would have a value of (2^(1-1)+2^(2-1))=3. The SipL3VersionSupport is effectively a bit mask with Version 1 equal to the least significant bit (LSB).') wf_smds_sw_sub_sa_scrn_violation_occur = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 28), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubSAScrnViolationOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSAScrnViolationOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded as a result of a Source Address violation.') wf_smds_sw_sub_da_scrn_violation_occur = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 29), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubDAScrnViolationOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDAScrnViolationOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded as a result of a Destination Address violation.') wf_smds_sw_sub_unassigned_sa_occur = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 30), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubUnassignedSAOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubUnassignedSAOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded as a result of a unassigned Source Address.') wf_smds_sw_sub_sa_error_occur = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 31), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubSAErrorOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubSAErrorOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because of a Source Address Field Format error.') wf_smds_sw_sub_da_error_occur = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 32), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubDAErrorOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDAErrorOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because of a Destination Address Field Format error.') wf_smds_sw_sub_invalid_ba_size_occur = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 33), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubInvalidBASizeOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInvalidBASizeOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because of an invalid BASize field value.') wf_smds_sw_sub_invalid_he_len_occur = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 34), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubInvalidHELenOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInvalidHELenOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because of an invalid Header Extension Length Field value.') wf_smds_sw_sub_invalid_he_ver_occur = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 35), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubInvalidHEVerOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInvalidHEVerOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because of an invalid Header Extension Version element.') wf_smds_sw_sub_invalid_he_car_occur = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 36), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubInvalidHECarOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInvalidHECarOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because of an invalid Header Extension Carrier element.') wf_smds_sw_sub_invalid_he_pad_occur = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 37), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubInvalidHEPadOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInvalidHEPadOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because of an invalid Header Extension Pad element.') wf_smds_sw_sub_b_etag_occur = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 38), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubBEtagOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubBEtagOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because of a Beginning-End Tag mismatch.') wf_smds_sw_sub_b_asize_ne_len_occur = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 39), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubBAsizeNELenOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubBAsizeNELenOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because the BAsize and Length fields are not equal.') wf_smds_sw_sub_incorrect_len_occur = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 40), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubIncorrectLenOccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubIncorrectLenOccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because of an incorrect length.') wf_smds_sw_sub_exceeded_mir_occur = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 41), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubExceededMIROccur.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubExceededMIROccur.setDescription('A string containing the SMDS Source Address, Destination Address, and Event time of the most recent occurance of an L3_PDU discarded because it exceeded the MIR.') wf_smds_sw_sub_in_band_mgmt_disable = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 42), 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: wfSmdsSwSubInBandMgmtDisable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtDisable.setDescription('In-Band Management enable/disable parameter. This attribute indicates whether the local WSNI (only) is enabled to run IP in Host mode, for in-band management purposes, in additional to being a switch interface. The default is disabled') wf_smds_sw_sub_in_band_mgmt_local_addr = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 43), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtLocalAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtLocalAddr.setDescription('Special SMDS E.164 Individual address that identifies this local circuit. This attribute is only used when the wfSmdsSwSubInBandMgmtDisable attribute is set to ENABLED') wf_smds_sw_sub_in_band_mgmt_received_pd_us = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 44), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtReceivedPDUs.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtReceivedPDUs.setDescription('The total number of individually addressed In-Band Management PDUs received by the SMDS Switch from the CPE. The total includes only unerrored PDUs.') wf_smds_sw_sub_in_band_mgmt_sent_pd_us = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 45), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtSentPDUs.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtSentPDUs.setDescription('The number of individually addressed In-Band Management PDUs that have been sent by this SMDS Switch to the CPE.') wf_smds_sw_sub_in_band_mgmt_max_len_errors = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 46), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtMaxLenErrors.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtMaxLenErrors.setDescription('The number of In-Band Management PDUs that have exceeded the MTU size configured for the line') wf_smds_sw_sub_in_band_mgmt_encaps_errors = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 47), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtEncapsErrors.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubInBandMgmtEncapsErrors.setDescription('The number of In-Band Management PDUs that have invalid encapsulation schemes') wf_smds_sw_sub_ga_partial_resolve = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 48), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubGAPartialResolve.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubGAPartialResolve.setDescription("The number of times group addressed L3_PDU's could not be resolved due to congestion.") wf_smds_sw_sub_da_not_on_sni = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 1, 1, 49), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSubDANotOnSni.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSubDANotOnSni.setDescription('The number of times a L3_PDU was discarded at the egress because the destination address was not assigned to the SNI.') wf_smds_sw_endp_table = mib_table((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 2)) if mibBuilder.loadTexts: wfSmdsSwEndpTable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwEndpTable.setDescription('The Parameters for the Endpoint table. An Endpoint is defined as an IP address, SMDS E.164 address pair. Endpoint ranges should never overlap.') wf_smds_sw_endp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 2, 1)).setIndexNames((0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwEndpE164AddrHigh'), (0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwEndpE164AddrDelta'), (0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwEndpInterfaceIndex')) if mibBuilder.loadTexts: wfSmdsSwEndpEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwEndpEntry.setDescription('The parameters for a particular Endpoint.') wf_smds_sw_endp_delete = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 2, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('created', 1), ('deleted', 2))).clone('created')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwEndpDelete.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwEndpDelete.setDescription('Indication to delete this endpoint entry.') wf_smds_sw_endp_e164_addr_high = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 2, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwEndpE164AddrHigh.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwEndpE164AddrHigh.setDescription('The High end of the E.164 address range for this endpoint information.') wf_smds_sw_endp_e164_addr_delta = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 2, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwEndpE164AddrDelta.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwEndpE164AddrDelta.setDescription('The difference between wfSmdsSwEndpE164AddrHigh to the beginning of the endpoint information.') wf_smds_sw_endp_interface_index = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 2, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwEndpInterfaceIndex.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwEndpInterfaceIndex.setDescription('This number indicates which SNI the endpoint information refers to.') wf_smds_sw_interface_table = mib_table((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 3)) if mibBuilder.loadTexts: wfSmdsSwInterfaceTable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwInterfaceTable.setDescription('This is the Interface Table. This table also holds the Maximum Information Rate (MIR) information.') wf_smds_sw_interface_entry = mib_table_row((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 3, 1)).setIndexNames((0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwInterfaceType'), (0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwInterfaceIndex')) if mibBuilder.loadTexts: wfSmdsSwInterfaceEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwInterfaceEntry.setDescription('This table defines the IP addresses and what interfaces they are associated with.') wf_smds_sw_interface_delete = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 3, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('created', 1), ('deleted', 2))).clone('created')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwInterfaceDelete.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwInterfaceDelete.setDescription('Indication to delete this interface entry.') wf_smds_sw_interface_type = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('sni', 1), ('ssi', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwInterfaceType.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwInterfaceType.setDescription('This number determines whether the interface information refers to an SNI, SSI, or ICI.') wf_smds_sw_interface_index = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 3, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwInterfaceIndex.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwInterfaceIndex.setDescription('This number indicates which SNI, SSI, or ICI the interface information refers to.') wf_smds_sw_interface_ip_addr = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 3, 1, 4), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwInterfaceIpAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwInterfaceIpAddr.setDescription('IP Address associated with the interface.') wf_smds_sw_interface_mir = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 3, 1, 5), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwInterfaceMIR.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwInterfaceMIR.setDescription('This number represents the MIR in octets per second.') wf_smds_sw_interface_current_rate = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 3, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwInterfaceCurrentRate.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwInterfaceCurrentRate.setDescription('This number indicates the current rate of traffic flow to the interface. The software updates this counter. When this attribute exceeds wfSmdsSwInterfaceMIR traffic to the interface is dropped. Periodically the sofware resets this counter to zero.') wf_smds_sw_assoc_scrn_table = mib_table((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 4)) if mibBuilder.loadTexts: wfSmdsSwAssocScrnTable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwAssocScrnTable.setDescription('This list identifies the associated SNI addresses per individualand group address screen. Different addresses on an SNI may be associated with different individual and group address screens (one individual address screen per associated address on an SNI, and one group address screen per associated address on an SNI ).') wf_smds_sw_assoc_scrn_entry = mib_table_row((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 4, 1)).setIndexNames((0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwAssocScrnSniIndex'), (0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwAssocScrnAddrInd'), (0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwAssocScrnIndivIndex'), (0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwAssocScrnGrpIndex')) if mibBuilder.loadTexts: wfSmdsSwAssocScrnEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwAssocScrnEntry.setDescription('An SNI index, group and individual screening list index, and the associated addresses for the SNI for the address screens.') wf_smds_sw_assoc_scrn_delete = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 4, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('created', 1), ('deleted', 2))).clone('created')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwAssocScrnDelete.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwAssocScrnDelete.setDescription('Indication to delete this associated screen entry.') wf_smds_sw_assoc_scrn_sni_index = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 4, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwAssocScrnSniIndex.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwAssocScrnSniIndex.setDescription('The value of this object identifies the SIP Port interface for which this entry contains management information. The value of this object for a particular interface has the same value as the ifIndex, defined in RFC1213, for the same interface.') wf_smds_sw_assoc_scrn_addr_ind = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 4, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwAssocScrnAddrInd.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwAssocScrnAddrInd.setDescription('The value of this object identifies one of the SMDS addresses for the SNI, identified by the wfSmdsSwAssocScrnSniIndex that belongs to this individual (or group) address screen (wfSmdsSwAssocScrnAddrInd). This list will contain both individual and group addresses, because this list is used for both Destination Address Screening and Source Address Screening; the destination address in the L3_PDU that is undergoing Source Address Screening may be either a group or individual address that is assigned to that SNI. One screen will have a maximum of 64 associated addresses; up to a maximum of 16 individual addresses identifying an SNI and up to a maximum of 48 group addresses identifying an SNI.') wf_smds_sw_assoc_scrn_indiv_index = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 4, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwAssocScrnIndivIndex.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwAssocScrnIndivIndex.setDescription('The value of this object identifies the individual address screening list. There is at least one individual address screen and at most s individual address screens per SNI. The initial value of s is defined to be 4. In the future more screening lists per SNI may be allowed. The values of this object correspond to the values of wfSmdsSwIAScrnIndex in the wfSmdsSwIAScrnTable.') wf_smds_sw_assoc_scrn_grp_index = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 4, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwAssocScrnGrpIndex.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwAssocScrnGrpIndex.setDescription('The value of this object identifies the group address screening list. There is at least one group address screen and at most s group address screens per SNI. The initial value of s is defined to be 4. In the future more screening lists per SNI may be allowed. The values of this object correspond to the values of wfSmdsSwGAScrnIndex in the wfSmdsSwGAScrnTable. This field applies only to individual addresses on the SNI because it applies only to destination address screening of group addresses.') wf_smds_sw_ia_scrn_table = mib_table((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 5)) if mibBuilder.loadTexts: wfSmdsSwIAScrnTable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwIAScrnTable.setDescription('This list identifies the individual addresses that will be screened per individual address screen table. The are up to s (s is equal to 4) individual address screens per SNI and at least one individual address screen per SNI. The Individual Address Screens and the Group Address Screens together consist of up to n addresses. The initial value of n is defined as 128. In the future a value of n up to 2048 may be supported. The Individual Address Screen is used to perform Destination Address Screening for individually addressed data units and Source Address Screening for all data units. The Group Address Screen is used to perform Destination Address Screening for group addressed data units.') wf_smds_sw_ia_scrn_entry = mib_table_row((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 5, 1)).setIndexNames((0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwIAScrnSniIndex'), (0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwIAScrnIndex'), (0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwIAScrnAddr')) if mibBuilder.loadTexts: wfSmdsSwIAScrnEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwIAScrnEntry.setDescription('An SNI index, a screening list index, the individual addresses to be screened for the individual address screen, and whether the screened address is valid or invalid.') wf_smds_sw_ia_scrn_delete = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 5, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('created', 1), ('deleted', 2))).clone('created')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwIAScrnDelete.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwIAScrnDelete.setDescription('Indication to delete this IA screen entry.') wf_smds_sw_ia_scrn_sni_index = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 5, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwIAScrnSniIndex.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwIAScrnSniIndex.setDescription('The value of this object identifies the SIP Port interface for which this entry contains management information. The value of this object for a particular interface has the same value as the ifIndex, defined in RFC1213, for the same interface.') wf_smds_sw_ia_scrn_index = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 5, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwIAScrnIndex.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwIAScrnIndex.setDescription('The value of this object identifies the individual address screening list. There are at least one individual address screen and at most s individual address screens per SNI. The initial value of s is defined to be 4. In the future more screening lists per SNI may be allowed. The values of this object correspond to the values of wfSmdsSwScrnIndex in the wfSmdsSwScrnTable.') wf_smds_sw_ia_scrn_addr = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 5, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwIAScrnAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwIAScrnAddr.setDescription('The value of this object identifies one of the individual addresses to be screened for source and destination address screening for the SNI identified by the wfSmdsSwIAScrnSniIndex and for the particular individual address screen (wfSmdsSwIAScrnIndex).') wf_smds_sw_ga_scrn_table = mib_table((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 6)) if mibBuilder.loadTexts: wfSmdsSwGAScrnTable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGAScrnTable.setDescription('This list identifies the group addresses that will be screened per group address screen table. The are up to s (s is equal to 4) group address screens per SNI and at least one group address screen per SNI. The Individual Address Screen and the Group Address Screen together consist of up to n addresses. The initial value of n is defined as 128. In the future a value of n up to 2048 may be supported. The Individual Address Screen is used to perform Destination Address Screening for individually addressed data units and Source Address Screening for all data units. The Group Address Screen is used to perform Destination Address Screening for group addressed data units.') wf_smds_sw_ga_scrn_entry = mib_table_row((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 6, 1)).setIndexNames((0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwGAScrnSniIndex'), (0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwGAScrnIndex'), (0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwGAScrnAddr')) if mibBuilder.loadTexts: wfSmdsSwGAScrnEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGAScrnEntry.setDescription('An SNI index, a screening list index, the group addresses to be screened for the group address screen, and whether the screened address is valid or invalid.') wf_smds_sw_ga_scrn_delete = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 6, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('created', 1), ('deleted', 2))).clone('created')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwGAScrnDelete.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGAScrnDelete.setDescription('Indication to delete this GA screen entry.') wf_smds_sw_ga_scrn_sni_index = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 6, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwGAScrnSniIndex.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGAScrnSniIndex.setDescription('The value of this object identifies the SIP Port interface for which this entry contains management information. The value of this object for a particular interface has the same value as the ifIndex, defined in RFC1213, for the same interface.') wf_smds_sw_ga_scrn_index = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 6, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwGAScrnIndex.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGAScrnIndex.setDescription('The value of this object identifies the group address screening list. There is at least one group address screen and at most s group address screens per SNI. The initial value of s is defined to be 4. In the future more screening lists per SNI may be allowed. The values of this object correspond to the values of wfSmdsSwScrnIndex in the wfSmdsSwSmdsScrnTable.') wf_smds_sw_ga_scrn_addr = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 6, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwGAScrnAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGAScrnAddr.setDescription('The value of this object identifies one of the group addresses to be screened for destination address screening for the SNI identified by the wfSmdsSwGAScrnSniIndex and for the particular group address screen (wfSmdsSwGAScrnIndex).') wf_smds_sw_ga_table = mib_table((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 7)) if mibBuilder.loadTexts: wfSmdsSwGATable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGATable.setDescription('A table of all group addresses in the network and the associated individual addresses identified by each group address. A group address identifies up to m individual addresses. An SMDS SS supports up to n group addresses. A group address can be identified by up to p individual addresses. A particular SNI is identified by up to 48 group addresses. The initial values of m, n, and p are defined as 128, 1024, and 32, respectively. In the future values of m and n of 2048 and 8192, respectively, may be supported.') wf_smds_sw_ga_entry = mib_table_row((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 7, 1)).setIndexNames((0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwGASSI'), (0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwGAGroupAddress'), (0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwGAGroupMember')) if mibBuilder.loadTexts: wfSmdsSwGAEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGAEntry.setDescription('A Group Address and an address in that group and whether that association is valid or invalid.') wf_smds_sw_ga_delete = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 7, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('created', 1), ('deleted', 2))).clone('created')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwGADelete.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGADelete.setDescription('Indication to delete this group address entry.') wf_smds_sw_gassi = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 7, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwGASSI.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGASSI.setDescription('The SSI associated with this Group Address. An SSI of 0 is used to indicate that all interfaces can use the group address. An SSI other than 0 indicates that only the SSI, or an SNI associated with the SSI should use the group.') wf_smds_sw_ga_group_address = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 7, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwGAGroupAddress.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGAGroupAddress.setDescription('A Group Address.') wf_smds_sw_ga_group_member = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 7, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwGAGroupMember.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwGAGroupMember.setDescription('An individual SMDS address that belongs to this Group Address.') wf_smds_sw_cur_usage_table = mib_table((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 8)) if mibBuilder.loadTexts: wfSmdsSwCurUsageTable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwCurUsageTable.setDescription('This table contains the Current Usage Data. This is the interface between Billing and Switching. The Switch gates create these records. The Billing gates collect them to create billing data.') wf_smds_sw_cur_usage_entry = mib_table_row((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 8, 1)).setIndexNames((0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwCurUsageSni'), (0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwCurUsageDestAddr'), (0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwCurUsageSrcAddr')) if mibBuilder.loadTexts: wfSmdsSwCurUsageEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwCurUsageEntry.setDescription('The usage data for the current usage period indexed by destination,source address.') wf_smds_sw_cur_usage_delete = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 8, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('created', 1), ('deleted', 2))).clone('created')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwCurUsageDelete.setStatus('obsolete') if mibBuilder.loadTexts: wfSmdsSwCurUsageDelete.setDescription('Indication to delete this current usage entry.') wf_smds_sw_cur_usage_sni = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 8, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwCurUsageSni.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwCurUsageSni.setDescription('The SNI number of the interface generating the usage information') wf_smds_sw_cur_usage_dest_addr = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 8, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwCurUsageDestAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwCurUsageDestAddr.setDescription('The destination address of a SMDS group or individual E.164 address.') wf_smds_sw_cur_usage_src_addr = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 8, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwCurUsageSrcAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwCurUsageSrcAddr.setDescription('The source address of a SMDS individual E.164 address.') wf_smds_sw_cur_usage_grp_ind_addr = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 8, 1, 5), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwCurUsageGrpIndAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwCurUsageGrpIndAddr.setDescription('When the destination address of an L3_PDU is a group address, this attribute is set to one of the E.164 individual addresses that is in the group address and on the destination SNI.') wf_smds_sw_cur_usage_num_l3_pdu = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 8, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwCurUsageNumL3Pdu.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwCurUsageNumL3Pdu.setDescription('This number represents the number of billable L3_PDUs counted by the circuit during the most recent collection interval.') wf_smds_sw_cur_usage_num_octet = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 8, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwCurUsageNumOctet.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwCurUsageNumOctet.setDescription('This number represents the number of billable octets counted by the circuit during the most recent collection interval.') wf_smds_sw_cur_usage_to_be_deleted = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 8, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('created', 1), ('deleted', 2))).clone('created')).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwCurUsageToBeDeleted.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwCurUsageToBeDeleted.setDescription('Indication to billing to delete this current usage entry.') wf_smds_sw_usage = mib_identifier((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9)) wf_smds_sw_usage_enable = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwUsageEnable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageEnable.setDescription('Enable/Disable SMDS_SW billing.') wf_smds_sw_usage_volume = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 14))).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwUsageVolume.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageVolume.setDescription("Indicates the file system volume number to which the billing usage data files will be written. The volume number corresponds to the slot number on which the volume resides. Note: Value 0 has the special meaning that no 'Store' and 'Flush' operations will take place. This translates to no Billing data will be written to the local file system. 'Update' operations will still be performed on each local slot. Full Billing statistics will still be available in the wfSmdsSwUsageTable MIB.") wf_smds_sw_usage_volume_backup = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 14))).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwUsageVolumeBackup.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageVolumeBackup.setDescription('Indicates the backup volume if wfSmdsSwUsageVolume becomes inoperative. Note: This feature is not implemented in this release.') wf_smds_sw_usage_directory = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 4), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwUsageDirectory.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageDirectory.setDescription('The name of the directory where the billing usage data files are stored. ') wf_smds_sw_usage_file_prefix = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwUsageFilePrefix.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageFilePrefix.setDescription('The base name of billing usage data files.') wf_smds_sw_usage_timer_interval = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 60)).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwUsageTimerInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageTimerInterval.setDescription('This number determines the timer interval (number of seconds) unit for the Billing process to perform its various timer driven tasks. i.e. updating billing usage data, writing billing usage data to file system and file system management activities.') wf_smds_sw_usage_update_interval = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)).clone(10)).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwUsageUpdateInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageUpdateInterval.setDescription('This number specifies the interval (number of minutes) for the Billing process to collect and update billing usage data in the wfSmdsSwUsage MIB. Note: When converted to seconds, this must be a multiple of wfSmdsSwUsageTimerInterval. ') wf_smds_sw_usage_store_interval = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 8), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)).clone(10)).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwUsageStoreInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageStoreInterval.setDescription('This number specifies the interval (number of minutes) for the Billing process to write billing usage data on to the file system from the wfSmdsSwUsage MIB. Note: When converted to seconds, this must be a multiple of wfSmdsSwUsageTimerInterval. ') wf_smds_sw_usage_flush_interval = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 9), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)).clone(60)).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwUsageFlushInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageFlushInterval.setDescription('This number specifies the interval (number of minutes) for the Billing process to write billing usage data on to the file system from the wfSmdsSwUsage MIB followed by zeroing the wfSmdsSwUsage MIB. Note: When converted to seconds, this must be a multiple of wfSmdsSwUsageTimerInterval. ') wf_smds_sw_usage_cleanup_interval = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 10), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)).clone(60)).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwUsageCleanupInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCleanupInterval.setDescription('This is the interval (number of minutes) for the Billing process to check and delete old billing usage data files. Note: When converted to seconds, this must be a multilple of wfSmdsSwUsageTimerInterval. ') wf_smds_sw_usage_local_time_zone = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 11), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageLocalTimeZone.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageLocalTimeZone.setDescription('Indicates local time zone of the switch') wf_smds_sw_usage_update_time_stamp = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 12), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageUpdateTimeStamp.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageUpdateTimeStamp.setDescription('Time stamp of last wfSmdsSwUsageUpdateInterval timer expiration or the starting time of the current wfSmdsSwUsageUpdateInterval. This value is number of seconds since midnight Jan 1, 1976 (GMT). ') wf_smds_sw_usage_store_time_stamp = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 13), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageStoreTimeStamp.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageStoreTimeStamp.setDescription('Time stamp of last wfSmdsSwUsageStoreInterval timer expiration or the starting time of the current wfSmdsSwUsageStoreInterval. This value is number of seconds since midnight Jan. 1, 1976 (GMT). ') wf_smds_sw_usage_flush_time_stamp = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 14), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageFlushTimeStamp.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageFlushTimeStamp.setDescription('Time stamp of last wfSmdsSwUsageFlushInterval timer expiration or the starting time of the current wfSmdsSwUsageFlushInterval. This value is number of seconds since midnight Jan. 1, 1976 (GMT). ') wf_smds_sw_usage_cleanup_time_stamp = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 15), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageCleanupTimeStamp.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCleanupTimeStamp.setDescription('Time stamp of last wfSmdsSwUsageCleanupInterval timer expiration or the starting time of the current wfSmdsSwUsageCleanupInterval. This value is number of seconds since midnight Jan. 1, 1976 (GMT). ') wf_smds_sw_usage_update_data = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 16), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwUsageUpdateData.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageUpdateData.setDescription('Setting this attribute to a non-zero value will cause an immediate updating of the billing usage data. Once activated, this attribute should be reset to zero to allow subsequent activations. ') wf_smds_sw_usage_store_data = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 17), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwUsageStoreData.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageStoreData.setDescription('Setting this attribute to a non-zero value will cause an immediate updating and writing of the billing usage data. Once activated, this attribute should be reset to zero to allow subsequent activations. ') wf_smds_sw_usage_flush_data = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 18), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwUsageFlushData.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageFlushData.setDescription('Setting this attribute to a non-zero value will cause an immediate updating and writing of the billing usage data and followed by zeroing the wfSmdsSwBillingUsage MIB. Once activated, this attribute should be reset to zero to allow subsequent activations. ') wf_smds_sw_usage_file_cleanup = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 19), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwUsageFileCleanup.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageFileCleanup.setDescription('Setting this attribute to a non-zero value will cause an immediate checking and deleting old billing usage data files. Once activated, this attribute should be reset to zero to allow subsequent activations. ') wf_smds_sw_usage_state = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('up', 1), ('down', 2), ('init', 3), ('notpresent', 4))).clone('notpresent')).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageState.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageState.setDescription('current state of SMDS_SW billing.') wf_smds_sw_usage_cur_volume = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 21), integer32().subtype(subtypeSpec=value_range_constraint(0, 14))).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageCurVolume.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCurVolume.setDescription('current file system volume number used. This number is the same as wfSmdsSwUsageVolume except when the user sets wfSmdsSwUsageVolume to an invalid number.') wf_smds_sw_usage_cur_volume_backup = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 22), integer32().subtype(subtypeSpec=value_range_constraint(0, 14))).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageCurVolumeBackup.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCurVolumeBackup.setDescription('curent backup file system volume number used. This number is the same as wfSmdsSwUsageVolumeBackUp except when the user sets wfSmdsSwUsageVolume to an invalid number. Note: This feature is not implemented in this release.') wf_smds_sw_usage_cur_directory = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 23), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageCurDirectory.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCurDirectory.setDescription('current directory name used. This number is the same as wfSmdsSwUsageDirectory except when the user sets wfSmdsSwUsageDirectory to an invalid name.') wf_smds_sw_usage_cur_file_prefix = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 24), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageCurFilePrefix.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCurFilePrefix.setDescription('current base file name used. This number is the same as wfSmdsSwUsageFilePrefix except when the user sets wfSmdsSwUsageFilePrefix to an invalid name.') wf_smds_sw_usage_cur_timer_interval = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 25), integer32().subtype(subtypeSpec=value_range_constraint(1, 60)).clone(1)).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageCurTimerInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCurTimerInterval.setDescription('current timer interval number used. This number is the same as wfSmdsSwUsageTimerInterval except when the user sets wfSmdsSwUsageTimerInterval to an invalid value.') wf_smds_sw_usage_cur_update_interval = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 26), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)).clone(10)).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageCurUpdateInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCurUpdateInterval.setDescription('current update interval number used. This number is the same as wfSmdsSwUsageUpdateInterval except when the user sets wfSmdsSwUsageUpdateInterval to an invalid value.') wf_smds_sw_usage_cur_store_interval = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 27), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)).clone(10)).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageCurStoreInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCurStoreInterval.setDescription('current store timer interval number used. This number is the same as wfSmdsSwUsageStoreInterval except when the user sets wfSmdsSwUsageStoreInterval to an invalid value.') wf_smds_sw_usage_cur_flush_interval = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 28), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)).clone(60)).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageCurFlushInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCurFlushInterval.setDescription('current flush timer interval number used. This number is the same as wfSmdsSwUsageFlushInterval except when the user sets wfSmdsSwUsageFlushInterval to an invalid value.') wf_smds_sw_usage_cur_cleanup_interval = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 29), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647)).clone(60)).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageCurCleanupInterval.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCurCleanupInterval.setDescription('current file cleanup timer interval number used. This number is the same as wfSmdsSwUsageCleanupInterval except when the user sets wfSmdsSwUsageCleanupInterval to an invalid value.') wf_smds_sw_usage_debug = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 30), 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: wfSmdsSwUsageDebug.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageDebug.setDescription('Enable/Disable printing of debug edl (trap) messages. NOTE: Do not enable this attribute in operational enviornment as it will likely flood the logging facility. This attribute is reserved for specialized debugging in a controlled lab enviornment.') wf_smds_sw_usage_cur_debug = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 31), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('disabled')).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageCurDebug.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageCurDebug.setDescription('current debug value used. This value is the same as wfSmdsSwUsageDebug except when the user sets wfSmdsSwUsageDeubg to an invalid value.') wf_smds_sw_usage_switch_id = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 32), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageSwitchId.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageSwitchId.setDescription('switch id used in the billing usage data file.') wf_smds_sw_usage_num_entries = mib_scalar((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 9, 33), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageNumEntries.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageNumEntries.setDescription('number of entries in wfSmdsSwUsageTable') wf_smds_sw_usage_table = mib_table((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10)) if mibBuilder.loadTexts: wfSmdsSwUsageTable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageTable.setDescription('The Billing Usage Table.') wf_smds_sw_usage_entry = mib_table_row((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1)).setIndexNames((0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwUsageSni'), (0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwUsageDestAddr'), (0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwUsageSrcAddr')) if mibBuilder.loadTexts: wfSmdsSwUsageEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageEntry.setDescription('The parameters for Billing Usage.') wf_smds_sw_usage_delete = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('created', 1), ('deleted', 2))).clone('created')).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageDelete.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageDelete.setDescription('Indicates status of this entry. SMDS_SW_USAGE_CREATED is the normal case. SMDS_SW_USAGE_DELETED means this billing instance will be deleted at the end of the next wfSmdsSwUsageFlush period after this billing record is written out to the file system.') wf_smds_sw_usage_sni = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageSni.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageSni.setDescription('The circuit number of the interface generating the usage information') wf_smds_sw_usage_dest_addr = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageDestAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageDestAddr.setDescription('Instance identifier; the destination address of an L3_PDU. The SMDS Switch collects usage data based on the destination/source address pair.') wf_smds_sw_usage_src_addr = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageSrcAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageSrcAddr.setDescription('Instance identifier; the source address of an L3_PDU. The SMDS Switch collects usage data based on the destination/source address pair.') wf_smds_sw_usage_start_time_stamp_high = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageStartTimeStampHigh.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageStartTimeStampHigh.setDescription('Time stamp of the starting time (the high 32 bits) of last billing usage interval. This value is the number of 1/100th seconds since midnight Jan 1, 1976 (GMT).') wf_smds_sw_usage_start_time_stamp_low = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageStartTimeStampLow.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageStartTimeStampLow.setDescription('Time stamp of the starting time (the low 32 bits) of last billing usage interval. This value is the number of 1/100th seconds since midnight Jan 1, 1976 (GMT).') wf_smds_sw_usage_end_time_stamp_high = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageEndTimeStampHigh.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageEndTimeStampHigh.setDescription('Time stamp of the ending time (the high 32 bits) of last billing usage interval. This value is the number of 1/100th seconds since midnight Jan 1, 1976 (GMT).') wf_smds_sw_usage_end_time_stamp_low = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageEndTimeStampLow.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageEndTimeStampLow.setDescription('Time stamp of the ending time (the low 32 bits) of last billing usage interval. This value is the number of 1/100th seconds since midnight Jan 1, 1976 (GMT).') wf_smds_sw_usage_sent_l3_pdu_high = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageSentL3PduHigh.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageSentL3PduHigh.setDescription('Number (the high 32 bits) of L3_PDUs sent to the CPE between wfSmdsSwUsageStartTimeStamp and wfSmdsSwUsageEndTimeStamp.') wf_smds_sw_usage_sent_l3_pdu_low = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 10), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageSentL3PduLow.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageSentL3PduLow.setDescription('Number (the low 32 bits) of L3_PDUs sent to the CPE between wfSmdsSwUsageStartTimeStamp and wfSmdsSwUsageEndTimeStamp.') wf_smds_sw_usage_sent_octet_high = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 11), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageSentOctetHigh.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageSentOctetHigh.setDescription('Number (the high 32 bits) of octets sent to the CPE between wfSmdsSwUsageStartTimeStamp and wfSmdsSwUsageEndTimeStamp.') wf_smds_sw_usage_sent_octet_low = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 12), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageSentOctetLow.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageSentOctetLow.setDescription('Number (the low 32 bits) of octets sent to the CPE between wfSmdsSwUsageStartTimeStamp and wfSmdsSwUsageEndTimeStamp.') wf_smds_sw_usage_last_l3_pdu_high = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 13), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageLastL3PduHigh.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageLastL3PduHigh.setDescription('The (high 32 bits) value of wfSmdsSwCurUsageNumL3Pdu value at wfSmdsSwUsageEndTimeStamp. Note: Since wfSmdsSwCurUsageNumL3Pdu is a 32-bit COUNTER, this is really a counter keeping track of number of times wfSmdsSwCurUsageNumL3Pdu has wrapped around.') wf_smds_sw_usage_last_l3_pdu_low = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 14), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageLastL3PduLow.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageLastL3PduLow.setDescription('The (low 32 bits) value of wfSmdsSwCurUsageNumL3Pdu value at wfSmdsSwUsageEndTimeStamp.') wf_smds_sw_usage_last_octet_high = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 15), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageLastOctetHigh.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageLastOctetHigh.setDescription('The (high 32 bits) value of wfSmdsSwCurUsageNumOctets value at wfSmdsSwUsageEndTimeStamp. Note: Since wfSmdsSwCurUsageNumOctets is a 32-bit COUNTER, this is really a counter keeping track of number of times wfSmdsSwCurUsageNumOctets has wrapped around.') wf_smds_sw_usage_last_octet_low = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 16), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageLastOctetLow.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageLastOctetLow.setDescription('The (low 32 bits) value of wfSmdsSwCurUsageNumOctets value at wfSmdsSwUsageEndTimeStamp.') wf_smds_sw_usage_grp_ind_addr = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 10, 1, 17), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwUsageGrpIndAddr.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwUsageGrpIndAddr.setDescription('When the destination address of an L3_PDU is a group address, this attribute is set to one of the E.164 individual addresses that is in the group address and on the destination SNI.') wf_smds_sw_ssi_sni_table = mib_table((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 11)) if mibBuilder.loadTexts: wfSmdsSwSsiSniTable.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSsiSniTable.setDescription("The Parameters for the SSI/SNI Object. This object associates SNI's with SSI's for Bellcore TR-TSV-001239 compliance.") wf_smds_sw_ssi_sni_entry = mib_table_row((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 11, 1)).setIndexNames((0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwSsiSniSSI'), (0, 'Wellfleet-SWSMDS-MIB', 'wfSmdsSwSsiSniSNI')) if mibBuilder.loadTexts: wfSmdsSwSsiSniEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSsiSniEntry.setDescription('The parameters for a particular SSI/SNI.') wf_smds_sw_ssi_sni_delete = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 11, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('created', 1), ('deleted', 2))).clone('created')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfSmdsSwSsiSniDelete.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSsiSniDelete.setDescription('Indication to delete this SSI/SNI entry.') wf_smds_sw_ssi_sni_ssi = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 11, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSsiSniSSI.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSsiSniSSI.setDescription('An SSI.') wf_smds_sw_ssi_sni_sni = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 5, 9, 7, 11, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfSmdsSwSsiSniSNI.setStatus('mandatory') if mibBuilder.loadTexts: wfSmdsSwSsiSniSNI.setDescription('An SNI.') mibBuilder.exportSymbols('Wellfleet-SWSMDS-MIB', wfSmdsSwCurUsageToBeDeleted=wfSmdsSwCurUsageToBeDeleted, wfSmdsSwUsageUpdateTimeStamp=wfSmdsSwUsageUpdateTimeStamp, wfSmdsSwUsageEndTimeStampLow=wfSmdsSwUsageEndTimeStampLow, wfSmdsSwSubSipL3InvAddrTypes=wfSmdsSwSubSipL3InvAddrTypes, wfSmdsSwUsageSwitchId=wfSmdsSwUsageSwitchId, wfSmdsSwSubUnassignedSAOccur=wfSmdsSwSubUnassignedSAOccur, wfSmdsSwCurUsageDelete=wfSmdsSwCurUsageDelete, wfSmdsSwSubUnassignedSAs=wfSmdsSwSubUnassignedSAs, wfSmdsSwAssocScrnSniIndex=wfSmdsSwAssocScrnSniIndex, wfSmdsSwAssocScrnDelete=wfSmdsSwAssocScrnDelete, wfSmdsSwGASSI=wfSmdsSwGASSI, wfSmdsSwInterfaceType=wfSmdsSwInterfaceType, wfSmdsSwUsageSni=wfSmdsSwUsageSni, wfSmdsSwAssocScrnTable=wfSmdsSwAssocScrnTable, wfSmdsSwSubSipL3VersionSupport=wfSmdsSwSubSipL3VersionSupport, wfSmdsSwIAScrnTable=wfSmdsSwIAScrnTable, wfSmdsSwSubBAsizeNELenOccur=wfSmdsSwSubBAsizeNELenOccur, wfSmdsSwSubCct=wfSmdsSwSubCct, wfSmdsSwSubGAPartialResolve=wfSmdsSwSubGAPartialResolve, wfSmdsSwUsageStoreInterval=wfSmdsSwUsageStoreInterval, wfSmdsSwUsageVolumeBackup=wfSmdsSwUsageVolumeBackup, wfSmdsSwUsageStartTimeStampHigh=wfSmdsSwUsageStartTimeStampHigh, wfSmdsSwIAScrnAddr=wfSmdsSwIAScrnAddr, wfSmdsSwSubSipL3UnrecIAs=wfSmdsSwSubSipL3UnrecIAs, wfSmdsSwUsageStartTimeStampLow=wfSmdsSwUsageStartTimeStampLow, wfSmdsSwUsageLastL3PduLow=wfSmdsSwUsageLastL3PduLow, wfSmdsSwUsageStoreTimeStamp=wfSmdsSwUsageStoreTimeStamp, wfSmdsSwGAScrnDelete=wfSmdsSwGAScrnDelete, wfSmdsSwSubDisableUsageGeneration=wfSmdsSwSubDisableUsageGeneration, wfSmdsSwSubInBandMgmtLocalAddr=wfSmdsSwSubInBandMgmtLocalAddr, wfSmdsSwAssocScrnIndivIndex=wfSmdsSwAssocScrnIndivIndex, wfSmdsSwUsageSentOctetHigh=wfSmdsSwUsageSentOctetHigh, wfSmdsSwSubHrtbtPollAddr=wfSmdsSwSubHrtbtPollAddr, wfSmdsSwSubSipL3Errors=wfSmdsSwSubSipL3Errors, wfSmdsSwSubInBandMgmtEncapsErrors=wfSmdsSwSubInBandMgmtEncapsErrors, wfSmdsSwSubInvalidHELenOccur=wfSmdsSwSubInvalidHELenOccur, wfSmdsSwSubState=wfSmdsSwSubState, wfSmdsSwSubSipL3SentIAs=wfSmdsSwSubSipL3SentIAs, wfSmdsSwUsageUpdateInterval=wfSmdsSwUsageUpdateInterval, wfSmdsSwUsageSrcAddr=wfSmdsSwUsageSrcAddr, wfSmdsSwSubInterfaceIndex=wfSmdsSwSubInterfaceIndex, wfSmdsSwIAScrnIndex=wfSmdsSwIAScrnIndex, wfSmdsSwSubDAScrnViolationOccur=wfSmdsSwSubDAScrnViolationOccur, wfSmdsSwSubInterfaceType=wfSmdsSwSubInterfaceType, wfSmdsSwSsiSniSSI=wfSmdsSwSsiSniSSI, wfSmdsSwUsageCurUpdateInterval=wfSmdsSwUsageCurUpdateInterval, wfSmdsSwUsageFlushTimeStamp=wfSmdsSwUsageFlushTimeStamp, wfSmdsSwSubExceededMIROccur=wfSmdsSwSubExceededMIROccur, wfSmdsSwUsageLastOctetHigh=wfSmdsSwUsageLastOctetHigh, wfSmdsSwSubDANotOnSni=wfSmdsSwSubDANotOnSni, wfSmdsSwGAScrnEntry=wfSmdsSwGAScrnEntry, wfSmdsSwCurUsageEntry=wfSmdsSwCurUsageEntry, wfSmdsSwUsageLocalTimeZone=wfSmdsSwUsageLocalTimeZone, wfSmdsSwInterfaceMIR=wfSmdsSwInterfaceMIR, wfSmdsSwUsageLastOctetLow=wfSmdsSwUsageLastOctetLow, wfSmdsSwInterfaceIndex=wfSmdsSwInterfaceIndex, wfSmdsSwUsageTimerInterval=wfSmdsSwUsageTimerInterval, wfSmdsSwGAScrnAddr=wfSmdsSwGAScrnAddr, wfSmdsSwEndpInterfaceIndex=wfSmdsSwEndpInterfaceIndex, wfSmdsSwGAEntry=wfSmdsSwGAEntry, wfSmdsSwSubIncorrectLenOccur=wfSmdsSwSubIncorrectLenOccur, wfSmdsSwUsageCleanupInterval=wfSmdsSwUsageCleanupInterval, wfSmdsSwCurUsageGrpIndAddr=wfSmdsSwCurUsageGrpIndAddr, wfSmdsSwSubSipL3SentGAs=wfSmdsSwSubSipL3SentGAs, wfSmdsSwSubDelete=wfSmdsSwSubDelete, wfSmdsSwUsageCurStoreInterval=wfSmdsSwUsageCurStoreInterval, wfSmdsSwSsiSniSNI=wfSmdsSwSsiSniSNI, wfSmdsSwCurUsageNumL3Pdu=wfSmdsSwCurUsageNumL3Pdu, wfSmdsSwEndpE164AddrDelta=wfSmdsSwEndpE164AddrDelta, wfSmdsSwGATable=wfSmdsSwGATable, wfSmdsSwUsageCurVolumeBackup=wfSmdsSwUsageCurVolumeBackup, wfSmdsSwUsageCurFlushInterval=wfSmdsSwUsageCurFlushInterval, wfSmdsSwSubEntry=wfSmdsSwSubEntry, wfSmdsSwSubInvalidHEVerOccur=wfSmdsSwSubInvalidHEVerOccur, wfSmdsSwGAScrnSniIndex=wfSmdsSwGAScrnSniIndex, wfSmdsSwSubHrtbtPollDownCount=wfSmdsSwSubHrtbtPollDownCount, wfSmdsSwUsageUpdateData=wfSmdsSwUsageUpdateData, wfSmdsSwUsageDebug=wfSmdsSwUsageDebug, wfSmdsSwIAScrnEntry=wfSmdsSwIAScrnEntry, wfSmdsSwInterfaceTable=wfSmdsSwInterfaceTable, wfSmdsSwSsiSniEntry=wfSmdsSwSsiSniEntry, wfSmdsSwGADelete=wfSmdsSwGADelete, wfSmdsSwUsageState=wfSmdsSwUsageState, wfSmdsSwUsageDirectory=wfSmdsSwUsageDirectory, wfSmdsSwAssocScrnGrpIndex=wfSmdsSwAssocScrnGrpIndex, wfSmdsSwUsageEndTimeStampHigh=wfSmdsSwUsageEndTimeStampHigh, wfSmdsSwSubInBandMgmtSentPDUs=wfSmdsSwSubInBandMgmtSentPDUs, wfSmdsSwEndpDelete=wfSmdsSwEndpDelete, wfSmdsSwUsageSentL3PduHigh=wfSmdsSwUsageSentL3PduHigh, wfSmdsSwUsageSentOctetLow=wfSmdsSwUsageSentOctetLow, wfSmdsSwUsageEntry=wfSmdsSwUsageEntry, wfSmdsSwSubSAErrorOccur=wfSmdsSwSubSAErrorOccur, wfSmdsSwInterfaceIpAddr=wfSmdsSwInterfaceIpAddr, wfSmdsSwIAScrnSniIndex=wfSmdsSwIAScrnSniIndex, wfSmdsSwUsageFilePrefix=wfSmdsSwUsageFilePrefix, wfSmdsSwUsageFlushData=wfSmdsSwUsageFlushData, wfSmdsSwUsageCurFilePrefix=wfSmdsSwUsageCurFilePrefix, wfSmdsSwUsageCurDirectory=wfSmdsSwUsageCurDirectory, wfSmdsSwGAGroupAddress=wfSmdsSwGAGroupAddress, wfSmdsSwAssocScrnEntry=wfSmdsSwAssocScrnEntry, wfSmdsSwSubDAErrorOccur=wfSmdsSwSubDAErrorOccur, wfSmdsSwSubInvalidHECarOccur=wfSmdsSwSubInvalidHECarOccur, wfSmdsSwSubHrtbtPollInterval=wfSmdsSwSubHrtbtPollInterval, wfSmdsSwSsiSniTable=wfSmdsSwSsiSniTable, wfSmdsSwSubSipL3ReceivedGAs=wfSmdsSwSubSipL3ReceivedGAs, wfSmdsSwUsageSentL3PduLow=wfSmdsSwUsageSentL3PduLow, wfSmdsSwAssocScrnAddrInd=wfSmdsSwAssocScrnAddrInd, wfSmdsSwUsageLastL3PduHigh=wfSmdsSwUsageLastL3PduHigh, wfSmdsSwUsageEnable=wfSmdsSwUsageEnable, wfSmdsSwUsageNumEntries=wfSmdsSwUsageNumEntries, wfSmdsSwSubInBandMgmtDisable=wfSmdsSwSubInBandMgmtDisable, wfSmdsSwSubSipL3UnrecGAs=wfSmdsSwSubSipL3UnrecGAs, wfSmdsSwUsageGrpIndAddr=wfSmdsSwUsageGrpIndAddr, wfSmdsSwGAScrnTable=wfSmdsSwGAScrnTable, wfSmdsSwUsageFlushInterval=wfSmdsSwUsageFlushInterval, wfSmdsSwEndpEntry=wfSmdsSwEndpEntry, wfSmdsSwCurUsageNumOctet=wfSmdsSwCurUsageNumOctet, wfSmdsSwUsageCurVolume=wfSmdsSwUsageCurVolume, wfSmdsSwSubSAScrnViolationOccur=wfSmdsSwSubSAScrnViolationOccur, wfSmdsSwUsageTable=wfSmdsSwUsageTable, wfSmdsSwUsageCurTimerInterval=wfSmdsSwUsageCurTimerInterval, wfSmdsSwSubSAScreenViolations=wfSmdsSwSubSAScreenViolations, wfSmdsSwInterfaceDelete=wfSmdsSwInterfaceDelete, wfSmdsSwSubTable=wfSmdsSwSubTable, wfSmdsSwSubDisableNetMgmt=wfSmdsSwSubDisableNetMgmt, wfSmdsSwEndpTable=wfSmdsSwEndpTable, wfSmdsSwSubDisable=wfSmdsSwSubDisable, wfSmdsSwCurUsageSrcAddr=wfSmdsSwCurUsageSrcAddr, wfSmdsSwSubNumPDUExceededMIR=wfSmdsSwSubNumPDUExceededMIR, wfSmdsSwCurUsageTable=wfSmdsSwCurUsageTable, wfSmdsSwEndpE164AddrHigh=wfSmdsSwEndpE164AddrHigh, wfSmdsSwUsageDelete=wfSmdsSwUsageDelete, wfSmdsSwSubDisableMIR=wfSmdsSwSubDisableMIR, wfSmdsSwSubDisableHrtbtPoll=wfSmdsSwSubDisableHrtbtPoll, wfSmdsSwInterfaceCurrentRate=wfSmdsSwInterfaceCurrentRate, wfSmdsSwUsageVolume=wfSmdsSwUsageVolume, wfSmdsSwSubInBandMgmtReceivedPDUs=wfSmdsSwSubInBandMgmtReceivedPDUs, wfSmdsSwSsiSniDelete=wfSmdsSwSsiSniDelete, wfSmdsSwGAGroupMember=wfSmdsSwGAGroupMember, wfSmdsSwSubSipL3ReceivedIAs=wfSmdsSwSubSipL3ReceivedIAs, wfSmdsSwSubInvalidHEPadOccur=wfSmdsSwSubInvalidHEPadOccur, wfSmdsSwUsageFileCleanup=wfSmdsSwUsageFileCleanup, wfSmdsSwSubDisableL3PduChecks=wfSmdsSwSubDisableL3PduChecks, wfSmdsSwGAScrnIndex=wfSmdsSwGAScrnIndex, wfSmdsSwUsageCleanupTimeStamp=wfSmdsSwUsageCleanupTimeStamp, wfSmdsSwUsageCurCleanupInterval=wfSmdsSwUsageCurCleanupInterval, wfSmdsSwInterfaceEntry=wfSmdsSwInterfaceEntry, wfSmdsSwUsage=wfSmdsSwUsage, wfSmdsSwIAScrnDelete=wfSmdsSwIAScrnDelete, wfSmdsSwUsageCurDebug=wfSmdsSwUsageCurDebug, wfSmdsSwUsageStoreData=wfSmdsSwUsageStoreData, wfSmdsSwSubDAScreenViolations=wfSmdsSwSubDAScreenViolations, wfSmdsSwSubInBandMgmtMaxLenErrors=wfSmdsSwSubInBandMgmtMaxLenErrors, wfSmdsSwCurUsageSni=wfSmdsSwCurUsageSni, wfSmdsSwUsageDestAddr=wfSmdsSwUsageDestAddr, wfSmdsSwSubBEtagOccur=wfSmdsSwSubBEtagOccur, wfSmdsSwCurUsageDestAddr=wfSmdsSwCurUsageDestAddr, wfSmdsSwSubInvalidBASizeOccur=wfSmdsSwSubInvalidBASizeOccur)
#!/usr/bin/env python class Edge: """Edge class, to contain a directed edge of a tree or directed graph. attributes parent and child: index of parent and child node in the graph. """ def __init__ (self, parent, child, length=None): """create a new Edge object, linking nodes with indices parent and child.""" self.parent = parent self.child = child self.length = length def __str__(self): res = "edge from " + str(self.parent) + " to " + str(self.child) return res class Tree: """ Tree, described by its list of edges.""" def __init__(self, edgelist): """create a new Tree object from a list of existing Edges""" self.edge = edgelist if edgelist: self.update_node2edge() def __str__(self): res = "parent -> child:" for e in self.edge: res += "\n" + str(e.parent) + " " + str(e.child) return res def add_edge(self, ed): """add an edge to the tree""" self.edge.append(ed) self.update_node2edge() def new_edge(self, parent, child): """add to the tree a new edge from parent to child (node indices)""" self.add_edge( Edge(parent,child) ) def update_node2edge(self): """dictionary child node index -> edge for fast access to edges. also add/update root attribute.""" self.node2edge = {e.child : e for e in self.edge} childrenset = set(self.node2edge.keys()) rootset = set(e.parent for e in self.edge).difference(childrenset) if len(rootset) > 1: raise Warning("there should be a single root: " + str(rootset)) if len(rootset) == 0: raise Exception("there should be at least one root!") self.root = rootset.pop() def get_path2root(self, i): """takes the index i of a node and returns the list of nodes from i to the root, in this order. This function is written with a loop. An alternative option would have been a recursive function: that would call itself on the parent of i (unless i is the root)""" res = [] nextnode = i while True: res.append(nextnode) # add node to the list if nextnode == self.root: break nextnode = self.node2edge[nextnode].parent # grab the parent to get closer to root return res def get_dist2root(self, i): """take the index i of a node and return the number of edges between node i and the root""" path = self.get_path2root(i) return len(path)-1 def get_nodedist(self, i, j): """takes 2 nodes and returns the distance between them: number of edges from node i to node j""" if i==j: return 0 pathi = self.get_path2root(i) # last node in this list: root pathj = self.get_path2root(j) while pathi and pathj: anci = pathi[-1] # anc=ancestor, last one ancj = pathj[-1] if anci == ancj: pathi.pop() pathj.pop() else: break return len(pathi)+len(pathj)
class Edge: """Edge class, to contain a directed edge of a tree or directed graph. attributes parent and child: index of parent and child node in the graph. """ def __init__(self, parent, child, length=None): """create a new Edge object, linking nodes with indices parent and child.""" self.parent = parent self.child = child self.length = length def __str__(self): res = 'edge from ' + str(self.parent) + ' to ' + str(self.child) return res class Tree: """ Tree, described by its list of edges.""" def __init__(self, edgelist): """create a new Tree object from a list of existing Edges""" self.edge = edgelist if edgelist: self.update_node2edge() def __str__(self): res = 'parent -> child:' for e in self.edge: res += '\n' + str(e.parent) + ' ' + str(e.child) return res def add_edge(self, ed): """add an edge to the tree""" self.edge.append(ed) self.update_node2edge() def new_edge(self, parent, child): """add to the tree a new edge from parent to child (node indices)""" self.add_edge(edge(parent, child)) def update_node2edge(self): """dictionary child node index -> edge for fast access to edges. also add/update root attribute.""" self.node2edge = {e.child: e for e in self.edge} childrenset = set(self.node2edge.keys()) rootset = set((e.parent for e in self.edge)).difference(childrenset) if len(rootset) > 1: raise warning('there should be a single root: ' + str(rootset)) if len(rootset) == 0: raise exception('there should be at least one root!') self.root = rootset.pop() def get_path2root(self, i): """takes the index i of a node and returns the list of nodes from i to the root, in this order. This function is written with a loop. An alternative option would have been a recursive function: that would call itself on the parent of i (unless i is the root)""" res = [] nextnode = i while True: res.append(nextnode) if nextnode == self.root: break nextnode = self.node2edge[nextnode].parent return res def get_dist2root(self, i): """take the index i of a node and return the number of edges between node i and the root""" path = self.get_path2root(i) return len(path) - 1 def get_nodedist(self, i, j): """takes 2 nodes and returns the distance between them: number of edges from node i to node j""" if i == j: return 0 pathi = self.get_path2root(i) pathj = self.get_path2root(j) while pathi and pathj: anci = pathi[-1] ancj = pathj[-1] if anci == ancj: pathi.pop() pathj.pop() else: break return len(pathi) + len(pathj)
class Session(list): """Abstract Session class""" def to_strings(self, user_id, session_id): """represent session as list of strings (one per event)""" user_id, session_id = str(user_id), str(session_id) session_type = self.get_type() strings = [] for event, product in self: columns = [user_id, session_type, session_id, event, str(product)] strings.append(','.join(columns)) return strings def get_type(self): raise NotImplemented class OrganicSessions(Session): def __init__(self): super(OrganicSessions, self).__init__() def next(self, context, action): self.append( { 't': context.time(), # time step we're in 'plant_id': context.plant(), # get the id of the plant 'maturity': context.maturity(), #get the maturity of that plant 'water_level': context.water_level(), 'forecast':context.forecast(), 'day':context.day(), 'fertilizer':context.fertilizer() } ) def get_type(self): return 'organic' ## don't really get this def get_views(self): return [p for _, _, e, p in self if e == 'pageview']
class Session(list): """Abstract Session class""" def to_strings(self, user_id, session_id): """represent session as list of strings (one per event)""" (user_id, session_id) = (str(user_id), str(session_id)) session_type = self.get_type() strings = [] for (event, product) in self: columns = [user_id, session_type, session_id, event, str(product)] strings.append(','.join(columns)) return strings def get_type(self): raise NotImplemented class Organicsessions(Session): def __init__(self): super(OrganicSessions, self).__init__() def next(self, context, action): self.append({'t': context.time(), 'plant_id': context.plant(), 'maturity': context.maturity(), 'water_level': context.water_level(), 'forecast': context.forecast(), 'day': context.day(), 'fertilizer': context.fertilizer()}) def get_type(self): return 'organic' def get_views(self): return [p for (_, _, e, p) in self if e == 'pageview']
DEVICE_NOT_KNOWN = "Device name not known" NEED_TO_SPECIFY_DEVICE_NAME = "You need to specify device name : ?device_name=..." INVALID_HOUR = "Provided time is invalid" DEVICE_SCHEDULE_OK = "Device schedule was setup" NEED_TO_SPECIFY_JOB_ID = "You need to specidy Job id you want to get removed" DELETE_SCHEDULE_OK = "Schedule was deleted"
device_not_known = 'Device name not known' need_to_specify_device_name = 'You need to specify device name : ?device_name=...' invalid_hour = 'Provided time is invalid' device_schedule_ok = 'Device schedule was setup' need_to_specify_job_id = 'You need to specidy Job id you want to get removed' delete_schedule_ok = 'Schedule was deleted'
''' name = input() if name != 'Anton': print(f'I am not Anton, i am {name}') else: print(f'I am {name}') ''' n = 10 while n > 0: n = n - 1 print(n)
""" name = input() if name != 'Anton': print(f'I am not Anton, i am {name}') else: print(f'I am {name}') """ n = 10 while n > 0: n = n - 1 print(n)
# Pattern Matching (Python) # string is already given to you. Please don't edit this string. stringData = "qwe sdf dsld dssdfsqwe sdlcsd fdslkcsdsdk sdvnsdnvs dsvd d d dddqwelkmvl sdlksf qwelkmdsldm dsfkmsdf ds lknvnv dsdfdfnoiewqwek sdjnsdf djndsjnnqwnewefsjdc kqwj fsdfjsldnlsqwelkwnekennlksnq dlkneknqwn wqenln qlwn qlwknr wkernwen dkfndks ewqsdkslf efwekwkewqwen mdfsdfsdfskdnlknqwenknfsd lsklksna kasndasndqweq we qkewkwj e kjnqwne sd kqjwnekjqnwda kjqwnej dajqkjwe k wd qwekqwle kjnwqkejqw qwe jqnwjnqw djwnejwd" pattern = input() n = len(pattern) count = 0 for i in range(len(stringData)-n+1) : if pattern == stringData[i:i+n] : count += 1 print(count)
string_data = 'qwe sdf dsld dssdfsqwe sdlcsd fdslkcsdsdk sdvnsdnvs dsvd d d dddqwelkmvl sdlksf qwelkmdsldm dsfkmsdf ds lknvnv dsdfdfnoiewqwek sdjnsdf djndsjnnqwnewefsjdc kqwj fsdfjsldnlsqwelkwnekennlksnq dlkneknqwn wqenln qlwn qlwknr wkernwen dkfndks ewqsdkslf efwekwkewqwen mdfsdfsdfskdnlknqwenknfsd lsklksna kasndasndqweq we qkewkwj e kjnqwne sd kqjwnekjqnwda kjqwnej dajqkjwe k wd qwekqwle kjnwqkejqw qwe jqnwjnqw djwnejwd' pattern = input() n = len(pattern) count = 0 for i in range(len(stringData) - n + 1): if pattern == stringData[i:i + n]: count += 1 print(count)
""" Parameters of the FLAT data sets, as documented for Kinect2 camera in the FLAT code""" resolution = [424, 512] fov_real = [58.5, 46.6] fov_synth = [42.13, 42.13] # frequencies of the first and last 3 measurements, the middle measurements are not sinusoidal frequencies = [40, 1e2 / 3.3, 1e2 / 1.7] frequencies_2 = [80.1675385, 16.05444453, 120.44403642] phase_offsets = [240, 120, 0] phase_offsets_2 = [[150.93792, 30.93792, 270.93792], [-83.11536, -203.11536, 36.88464], [68.19318, -51.80682, 188.19318]] phase_offsets_neg = [[-150.93792, -30.93792, -270.93792], [83.11536, 203.11536, -36.88464], [-68.19318, 51.80682, -188.19318]] faulty_test = [7, 17, 31, 33, 34, 35, 64, 96, 98, 106]
""" Parameters of the FLAT data sets, as documented for Kinect2 camera in the FLAT code""" resolution = [424, 512] fov_real = [58.5, 46.6] fov_synth = [42.13, 42.13] frequencies = [40, 100.0 / 3.3, 100.0 / 1.7] frequencies_2 = [80.1675385, 16.05444453, 120.44403642] phase_offsets = [240, 120, 0] phase_offsets_2 = [[150.93792, 30.93792, 270.93792], [-83.11536, -203.11536, 36.88464], [68.19318, -51.80682, 188.19318]] phase_offsets_neg = [[-150.93792, -30.93792, -270.93792], [83.11536, 203.11536, -36.88464], [-68.19318, 51.80682, -188.19318]] faulty_test = [7, 17, 31, 33, 34, 35, 64, 96, 98, 106]
FUNC_ORDER = [ "do_fetch", "do_unpack", "do_patch", "do_configure", "do_compile", "do_install", "do_populate_sysroot", "do_build", "do_package" ] KNOWN_FUNCS = [ "do_addto_recipe_sysroot", "do_allpackagedata", "do_ar_configured", "do_ar_original", "do_ar_patched", "do_ar_recipe", "do_assemble_fitimage", "do_assemble_fitimage_initramfs", "do_bootimg", "do_build", "do_build_native_sysroot", "do_build_sysroot", "do_build_target_sysroot", "do_build_without_rm_work", "do_bundle_files", "do_bundle_initramfs", "do_ccmake", "do_ccmake_diffconfig", "do_check", "do_checkuri", "do_clean", "do_cleanall", "do_cleanccache", "do_cleansstate", "do_collect_packagedata", "do_compile", "do_compile_kernelmodules", "do_compile_ptest_base", "do_configure", "do_configure_ptest_base", "do_convert_crlf_to_lf", "do_create_extlinux_config", "do_create_manifest", "do_create_rdepends_inc", "do_cve_check", "do_deploy", "do_deploy_archives", "do_deploy_archives_setscene", "do_deploy_setscene", "do_deploy_source_date_epoch", "do_deploy_source_date_epoch_setscene", "do_devpyshell", "do_devshell", "do_diffconfig", "do_dumpdata", "do_extra_symlinks", "do_fetch", "do_gcc_stash_builddir", "do_gcc_stash_builddir_setscene", "do_generate_content", "do_generate_toolchain_file", "do_get_public_keys", "do_image", "do_image_complete", "do_image_complete_setscene", "do_image_qa", "do_image_qa_setscene", "do_install", "do_install_ptest_base", "do_install_ptest_perl", "do_kernel_checkout", "do_kernel_configcheck", "do_kernel_configme", "do_kernel_link_images", "do_kernel_metadata", "do_kernel_version_sanity_check", "do_lint", "do_listtasks", "do_locked_sigs", "do_menuconfig", "do_mkimage", "do_multilib_install", "do_package", "do_package_index", "do_package_qa", "do_package_qa_setscene", "do_package_setscene", "do_package_write_deb", "do_package_write_deb_setscene", "do_package_write_ipk", "do_package_write_ipk_setscene", "do_package_write_rpm", "do_package_write_rpm_setscene", "do_package_write_tar", "do_packagedata", "do_packagedata_setscene", "do_patch", "do_populate_cve_db", "do_populate_ide_support", "do_populate_lic", "do_populate_lic_deploy", "do_populate_lic_setscene", "do_populate_sdk", "do_populate_sdk_ext", "do_populate_sysroot", "do_populate_sysroot_setscene", "do_preconfigure", "do_prepare_copyleft_sources", "do_prepare_recipe_sysroot", "do_recipe_sanity", "do_recipe_sanity_all", "do_rm_work", "do_rm_work_all", "do_rootfs", "do_rootfs_wicenv", "do_savedefconfig", "do_sdk_depends", "do_shared_workdir", "do_shared_workdir_setscene", "do_sizecheck", "do_spdx", "do_stash_locale", "do_stash_locale_setscene", "do_strip", "do_symlink_kernsrc", "do_testexport", "do_testimage", "do_testsdk", "do_testsdkext", "do_unpack", "do_unpack_and_patch", "do_validate_branches", "do_warn_musl", "do_write_config", "do_write_qemuboot_conf", "pkg_preinst", "pkg_postinst", "pkg_postrm", "pkg_prerm" ]
func_order = ['do_fetch', 'do_unpack', 'do_patch', 'do_configure', 'do_compile', 'do_install', 'do_populate_sysroot', 'do_build', 'do_package'] known_funcs = ['do_addto_recipe_sysroot', 'do_allpackagedata', 'do_ar_configured', 'do_ar_original', 'do_ar_patched', 'do_ar_recipe', 'do_assemble_fitimage', 'do_assemble_fitimage_initramfs', 'do_bootimg', 'do_build', 'do_build_native_sysroot', 'do_build_sysroot', 'do_build_target_sysroot', 'do_build_without_rm_work', 'do_bundle_files', 'do_bundle_initramfs', 'do_ccmake', 'do_ccmake_diffconfig', 'do_check', 'do_checkuri', 'do_clean', 'do_cleanall', 'do_cleanccache', 'do_cleansstate', 'do_collect_packagedata', 'do_compile', 'do_compile_kernelmodules', 'do_compile_ptest_base', 'do_configure', 'do_configure_ptest_base', 'do_convert_crlf_to_lf', 'do_create_extlinux_config', 'do_create_manifest', 'do_create_rdepends_inc', 'do_cve_check', 'do_deploy', 'do_deploy_archives', 'do_deploy_archives_setscene', 'do_deploy_setscene', 'do_deploy_source_date_epoch', 'do_deploy_source_date_epoch_setscene', 'do_devpyshell', 'do_devshell', 'do_diffconfig', 'do_dumpdata', 'do_extra_symlinks', 'do_fetch', 'do_gcc_stash_builddir', 'do_gcc_stash_builddir_setscene', 'do_generate_content', 'do_generate_toolchain_file', 'do_get_public_keys', 'do_image', 'do_image_complete', 'do_image_complete_setscene', 'do_image_qa', 'do_image_qa_setscene', 'do_install', 'do_install_ptest_base', 'do_install_ptest_perl', 'do_kernel_checkout', 'do_kernel_configcheck', 'do_kernel_configme', 'do_kernel_link_images', 'do_kernel_metadata', 'do_kernel_version_sanity_check', 'do_lint', 'do_listtasks', 'do_locked_sigs', 'do_menuconfig', 'do_mkimage', 'do_multilib_install', 'do_package', 'do_package_index', 'do_package_qa', 'do_package_qa_setscene', 'do_package_setscene', 'do_package_write_deb', 'do_package_write_deb_setscene', 'do_package_write_ipk', 'do_package_write_ipk_setscene', 'do_package_write_rpm', 'do_package_write_rpm_setscene', 'do_package_write_tar', 'do_packagedata', 'do_packagedata_setscene', 'do_patch', 'do_populate_cve_db', 'do_populate_ide_support', 'do_populate_lic', 'do_populate_lic_deploy', 'do_populate_lic_setscene', 'do_populate_sdk', 'do_populate_sdk_ext', 'do_populate_sysroot', 'do_populate_sysroot_setscene', 'do_preconfigure', 'do_prepare_copyleft_sources', 'do_prepare_recipe_sysroot', 'do_recipe_sanity', 'do_recipe_sanity_all', 'do_rm_work', 'do_rm_work_all', 'do_rootfs', 'do_rootfs_wicenv', 'do_savedefconfig', 'do_sdk_depends', 'do_shared_workdir', 'do_shared_workdir_setscene', 'do_sizecheck', 'do_spdx', 'do_stash_locale', 'do_stash_locale_setscene', 'do_strip', 'do_symlink_kernsrc', 'do_testexport', 'do_testimage', 'do_testsdk', 'do_testsdkext', 'do_unpack', 'do_unpack_and_patch', 'do_validate_branches', 'do_warn_musl', 'do_write_config', 'do_write_qemuboot_conf', 'pkg_preinst', 'pkg_postinst', 'pkg_postrm', 'pkg_prerm']
class ListNode(object): def __init__(self, x): self.val = x self.next = None class MyLinkedList(object): def __init__(self): """ Initialize your data structure here. """ self.head = None def get(self, index): cur = self.getnthnode(index) if cur is None or cur.val is None: return -1 return cur.val def getnthnode(self, index): """ Get the value of the index-th node in the linked list. If the index is invalid, return -1. :type index: int :rtype: int """ cur = self.head i = 0 while i < index and cur is not None: cur = cur.next i += 1 return cur def addAtHead(self, val): """ Add a node of value val before the first element of the linked list. After the insertion, the new node will be the first node of the linked list. :type val: int :rtype: void """ head = ListNode(val) head.next = self.head self.head = head return self.head def addAtTail(self, val): """ Append a node of value val to the last element of the linked list. :type val: int :rtype: void """ tail = ListNode(val) cur = self.head while cur.next is not None: cur = cur.next cur.next = tail return self.head def addAtIndex(self, index, val): """ Add a node of value val before the index-th node in the linked list. If index equals to the length of linked list, the node will be appended to the end of linked list. If index is greater than the length, the node will not be inserted. :type index: int :type val: int :rtype: void """ if index == 0: self.addAtHead(val) return prev = self.getnthnode(index - 1) if prev is None: return cur = ListNode(val) cur.next = prev.next prev.next = cur def deleteAtIndex(self, index): """ Delete the index-th node in the linked list, if the index is valid. :type index: int :rtype: void """ cur = self.getnthnode(index) if cur is None: return prev = self.getnthnode(index - 1) nextnode = cur.next if prev is None: self.head = nextnode else: prev.next = nextnode # Your MyLinkedList object will be instantiated and called as such: obj = MyLinkedList() obj.get(0) obj.addAtIndex(1, 2) obj.get(0) obj.addAtIndex(0, 1) obj.get(0) obj.get(1) obj.addAtHead(1) obj.addAtTail(3) obj.get(3) obj.deleteAtIndex(1) obj.get(1)
class Listnode(object): def __init__(self, x): self.val = x self.next = None class Mylinkedlist(object): def __init__(self): """ Initialize your data structure here. """ self.head = None def get(self, index): cur = self.getnthnode(index) if cur is None or cur.val is None: return -1 return cur.val def getnthnode(self, index): """ Get the value of the index-th node in the linked list. If the index is invalid, return -1. :type index: int :rtype: int """ cur = self.head i = 0 while i < index and cur is not None: cur = cur.next i += 1 return cur def add_at_head(self, val): """ Add a node of value val before the first element of the linked list. After the insertion, the new node will be the first node of the linked list. :type val: int :rtype: void """ head = list_node(val) head.next = self.head self.head = head return self.head def add_at_tail(self, val): """ Append a node of value val to the last element of the linked list. :type val: int :rtype: void """ tail = list_node(val) cur = self.head while cur.next is not None: cur = cur.next cur.next = tail return self.head def add_at_index(self, index, val): """ Add a node of value val before the index-th node in the linked list. If index equals to the length of linked list, the node will be appended to the end of linked list. If index is greater than the length, the node will not be inserted. :type index: int :type val: int :rtype: void """ if index == 0: self.addAtHead(val) return prev = self.getnthnode(index - 1) if prev is None: return cur = list_node(val) cur.next = prev.next prev.next = cur def delete_at_index(self, index): """ Delete the index-th node in the linked list, if the index is valid. :type index: int :rtype: void """ cur = self.getnthnode(index) if cur is None: return prev = self.getnthnode(index - 1) nextnode = cur.next if prev is None: self.head = nextnode else: prev.next = nextnode obj = my_linked_list() obj.get(0) obj.addAtIndex(1, 2) obj.get(0) obj.addAtIndex(0, 1) obj.get(0) obj.get(1) obj.addAtHead(1) obj.addAtTail(3) obj.get(3) obj.deleteAtIndex(1) obj.get(1)
def test(name, input0, input1, output0, input0_data, input1_data, output_data): model = Model().Operation("REVERSE_EX", input0, input1).To(output0) example = Example({ input0: input0_data, input1: input1_data, output0: output_data, }, model=model, name=name) test( name="1d", input0=Input("input0", "TENSOR_FLOAT32", "{4}"), input1=Input("input1", "TENSOR_INT32", "{1}"), output0=Output("output0", "TENSOR_FLOAT32", "{4}"), input0_data=[1, 2, 3, 4], input1_data=[0], output_data=[4, 3, 2, 1], ) test( name="3d", input0=Input("input0", "TENSOR_FLOAT32", "{4, 3, 2}"), input1=Input("input1", "TENSOR_INT32", "{1}"), output0=Output("output0", "TENSOR_FLOAT32", "{4, 3, 2}"), input0_data=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], input1_data=[1], output_data=[5, 6, 3, 4, 1, 2, 11, 12, 9, 10, 7, 8, 17, 18, 15, 16, 13, 14, 23, 24, 21, 22, 19, 20], )
def test(name, input0, input1, output0, input0_data, input1_data, output_data): model = model().Operation('REVERSE_EX', input0, input1).To(output0) example = example({input0: input0_data, input1: input1_data, output0: output_data}, model=model, name=name) test(name='1d', input0=input('input0', 'TENSOR_FLOAT32', '{4}'), input1=input('input1', 'TENSOR_INT32', '{1}'), output0=output('output0', 'TENSOR_FLOAT32', '{4}'), input0_data=[1, 2, 3, 4], input1_data=[0], output_data=[4, 3, 2, 1]) test(name='3d', input0=input('input0', 'TENSOR_FLOAT32', '{4, 3, 2}'), input1=input('input1', 'TENSOR_INT32', '{1}'), output0=output('output0', 'TENSOR_FLOAT32', '{4, 3, 2}'), input0_data=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], input1_data=[1], output_data=[5, 6, 3, 4, 1, 2, 11, 12, 9, 10, 7, 8, 17, 18, 15, 16, 13, 14, 23, 24, 21, 22, 19, 20])
def get_gender(gender = 'Unknown'): if gender is 'm': gender="male" elif gender is 'f': gender='female' print("Gender is ", gender) get_gender('m') get_gender('f') get_gender() def sentence(name = 'Aousnik', gender = 'male', category = 'general'): print(name, gender, category) sentence('abcd', 'female', 'SC') sentence(category = 'ST') sentence(gender = 'other') sentence()
def get_gender(gender='Unknown'): if gender is 'm': gender = 'male' elif gender is 'f': gender = 'female' print('Gender is ', gender) get_gender('m') get_gender('f') get_gender() def sentence(name='Aousnik', gender='male', category='general'): print(name, gender, category) sentence('abcd', 'female', 'SC') sentence(category='ST') sentence(gender='other') sentence()
list = [1,2,3,4] test_list = list1 test_list.reverse() print(list)
list = [1, 2, 3, 4] test_list = list1 test_list.reverse() print(list)
class Solution: def minCost(self, costs: List[List[int]]) -> int: if not costs: return 0 lower_row = costs[-1] for i in range(len(costs)-2, -1, -1): curr_row = costs[i] curr_row[0] += min(lower_row[1], lower_row[2]) curr_row[1] += min(lower_row[0], lower_row[2]) curr_row[2] += min(lower_row[0], lower_row[1]) lower_row = curr_row[:] return min(lower_row)
class Solution: def min_cost(self, costs: List[List[int]]) -> int: if not costs: return 0 lower_row = costs[-1] for i in range(len(costs) - 2, -1, -1): curr_row = costs[i] curr_row[0] += min(lower_row[1], lower_row[2]) curr_row[1] += min(lower_row[0], lower_row[2]) curr_row[2] += min(lower_row[0], lower_row[1]) lower_row = curr_row[:] return min(lower_row)
__author__ = 'harsh' class Iterable(object): def __init__(self,values): self.values = values self.location = 0 def __iter__(self): return self def next(self): if self.location == len(self.values): raise StopIteration value = self.values[self.location] self.location += 1 return value # A recursive generator that generates Tree leaves in in-order. def inorder(t): if t: for x in inorder(t.left): yield x yield t.label for x in inorder(t.right): yield x def permutations(iterable, r=None): # permutations('ABCD', 2) --> AB AC AD BA BC BD CA CB CD DA DB DC # permutations(range(3)) --> 012 021 102 120 201 210 pool = tuple(iterable) n = len(pool) r = n if r is None else r if r > n: return indices = range(n) cycles = range(n, n-r, -1) yield tuple(pool[i] for i in indices[:r]) while n: for i in reversed(range(r)): cycles[i] -= 1 if cycles[i] == 0: indices[i:] = indices[i+1:] + indices[i:i+1] cycles[i] = n - i else: j = cycles[i] indices[i], indices[-j] = indices[-j], indices[i] yield tuple(pool[i] for i in indices[:r]) break else: return def main(): pass main()
__author__ = 'harsh' class Iterable(object): def __init__(self, values): self.values = values self.location = 0 def __iter__(self): return self def next(self): if self.location == len(self.values): raise StopIteration value = self.values[self.location] self.location += 1 return value def inorder(t): if t: for x in inorder(t.left): yield x yield t.label for x in inorder(t.right): yield x def permutations(iterable, r=None): pool = tuple(iterable) n = len(pool) r = n if r is None else r if r > n: return indices = range(n) cycles = range(n, n - r, -1) yield tuple((pool[i] for i in indices[:r])) while n: for i in reversed(range(r)): cycles[i] -= 1 if cycles[i] == 0: indices[i:] = indices[i + 1:] + indices[i:i + 1] cycles[i] = n - i else: j = cycles[i] (indices[i], indices[-j]) = (indices[-j], indices[i]) yield tuple((pool[i] for i in indices[:r])) break else: return def main(): pass main()
"""Base class for SHADHO task managers. Classes ------- Manager Base class for task managers. """ class Manager(): """Base class for task managers. Notes ----- To implement a new local or distributed manager, create an __init__ method and override all """ def __init__(self): pass def add_task(self, tag, cmd, params): """Add a task for the manger to run. Override this with all of the arguments necessary to run the task. Parameters ---------- cmd Command or function to run in the task. tag : str Task id generated by SHADHO. params : dict Generarted hyperparameters to send to the task. """ raise NotImplementedError def can_accept_tasks(self): """ """ raise NotImplementedError def handle_success(self): """ """ raise NotImplementedError def handle_failure(self): """ """ raise NotImplementedError def run_task(self): """ """ raise NotImplementedError
"""Base class for SHADHO task managers. Classes ------- Manager Base class for task managers. """ class Manager: """Base class for task managers. Notes ----- To implement a new local or distributed manager, create an __init__ method and override all """ def __init__(self): pass def add_task(self, tag, cmd, params): """Add a task for the manger to run. Override this with all of the arguments necessary to run the task. Parameters ---------- cmd Command or function to run in the task. tag : str Task id generated by SHADHO. params : dict Generarted hyperparameters to send to the task. """ raise NotImplementedError def can_accept_tasks(self): """ """ raise NotImplementedError def handle_success(self): """ """ raise NotImplementedError def handle_failure(self): """ """ raise NotImplementedError def run_task(self): """ """ raise NotImplementedError
# # PySNMP MIB module Nortel-Magellan-Passport-FrameRelayDteMIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-Magellan-Passport-FrameRelayDteMIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:17:39 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, SingleValueConstraint, ConstraintsIntersection, ValueRangeConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "SingleValueConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "ValueSizeConstraint") RowStatus, Integer32, Gauge32, Counter32, PassportCounter64, StorageType, InterfaceIndex, Unsigned32, DisplayString = mibBuilder.importSymbols("Nortel-Magellan-Passport-StandardTextualConventionsMIB", "RowStatus", "Integer32", "Gauge32", "Counter32", "PassportCounter64", "StorageType", "InterfaceIndex", "Unsigned32", "DisplayString") NonReplicated, HexString, EnterpriseDateAndTime, Link, DashedHexString = mibBuilder.importSymbols("Nortel-Magellan-Passport-TextualConventionsMIB", "NonReplicated", "HexString", "EnterpriseDateAndTime", "Link", "DashedHexString") components, passportMIBs = mibBuilder.importSymbols("Nortel-Magellan-Passport-UsefulDefinitionsMIB", "components", "passportMIBs") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Integer32, Gauge32, Counter32, ObjectIdentity, Unsigned32, MibIdentifier, NotificationType, Bits, Counter64, MibScalar, MibTable, MibTableRow, MibTableColumn, iso, IpAddress, ModuleIdentity, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "Gauge32", "Counter32", "ObjectIdentity", "Unsigned32", "MibIdentifier", "NotificationType", "Bits", "Counter64", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso", "IpAddress", "ModuleIdentity", "TimeTicks") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") frameRelayDteMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 32)) frDte = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101)) frDteRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 1), ) if mibBuilder.loadTexts: frDteRowStatusTable.setStatus('mandatory') frDteRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex")) if mibBuilder.loadTexts: frDteRowStatusEntry.setStatus('mandatory') frDteRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteRowStatus.setStatus('mandatory') frDteComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteComponentName.setStatus('mandatory') frDteStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStorageType.setStatus('mandatory') frDteIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))) if mibBuilder.loadTexts: frDteIndex.setStatus('mandatory') frDteCidDataTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 20), ) if mibBuilder.loadTexts: frDteCidDataTable.setStatus('mandatory') frDteCidDataEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 20, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex")) if mibBuilder.loadTexts: frDteCidDataEntry.setStatus('mandatory') frDteCustomerIdentifier = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 20, 1, 1), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 8191), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteCustomerIdentifier.setStatus('mandatory') frDteIfEntryTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 21), ) if mibBuilder.loadTexts: frDteIfEntryTable.setStatus('mandatory') frDteIfEntryEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 21, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex")) if mibBuilder.loadTexts: frDteIfEntryEntry.setStatus('mandatory') frDteIfAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 21, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3))).clone('up')).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteIfAdminStatus.setStatus('mandatory') frDteIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 21, 1, 2), InterfaceIndex().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteIfIndex.setStatus('mandatory') frDteProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 22), ) if mibBuilder.loadTexts: frDteProvTable.setStatus('mandatory') frDteProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 22, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex")) if mibBuilder.loadTexts: frDteProvEntry.setStatus('mandatory') frDteAcceptUndefinedDlci = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 22, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteAcceptUndefinedDlci.setStatus('mandatory') frDteStateTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 23), ) if mibBuilder.loadTexts: frDteStateTable.setStatus('mandatory') frDteStateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 23, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex")) if mibBuilder.loadTexts: frDteStateEntry.setStatus('mandatory') frDteAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 23, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("locked", 0), ("unlocked", 1), ("shuttingDown", 2))).clone('unlocked')).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteAdminState.setStatus('mandatory') frDteOperationalState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 23, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteOperationalState.setStatus('mandatory') frDteUsageState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 23, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("idle", 0), ("active", 1), ("busy", 2))).clone('idle')).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteUsageState.setStatus('mandatory') frDteOperStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 24), ) if mibBuilder.loadTexts: frDteOperStatusTable.setStatus('mandatory') frDteOperStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 24, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex")) if mibBuilder.loadTexts: frDteOperStatusEntry.setStatus('mandatory') frDteSnmpOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 24, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3))).clone('up')).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteSnmpOperStatus.setStatus('mandatory') frDteOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 25), ) if mibBuilder.loadTexts: frDteOperTable.setStatus('mandatory') frDteOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 25, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex")) if mibBuilder.loadTexts: frDteOperEntry.setStatus('mandatory') frDteLinkOperState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 25, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("active", 1), ("down", 2), ("polling", 3))).clone('down')).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLinkOperState.setStatus('mandatory') frDteErrTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 26), ) if mibBuilder.loadTexts: frDteErrTable.setStatus('mandatory') frDteErrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 26, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex")) if mibBuilder.loadTexts: frDteErrEntry.setStatus('mandatory') frDteErrType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 26, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("unknownError", 1), ("receiveShort", 2), ("receiveLong", 3), ("illegalDlci", 4), ("dlcmiProtoErr", 5), ("dlcmiUnknownIe", 6), ("dlcmiSequenceErr", 7), ("dlcmiUnknownRpt", 8), ("noErrorSinceReset", 9))).clone('noErrorSinceReset')).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteErrType.setStatus('mandatory') frDteErrData = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 26, 1, 3), HexString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteErrData.setStatus('mandatory') frDteErrTime = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 26, 1, 4), EnterpriseDateAndTime().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0, 0), ValueSizeConstraint(19, 19), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteErrTime.setStatus('mandatory') frDteErrDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 26, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteErrDiscards.setStatus('mandatory') frDteErrFaults = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 26, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteErrFaults.setStatus('mandatory') frDteErrFaultTime = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 26, 1, 8), EnterpriseDateAndTime().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0, 0), ValueSizeConstraint(19, 19), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteErrFaultTime.setStatus('mandatory') frDteErrStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27), ) if mibBuilder.loadTexts: frDteErrStatsTable.setStatus('mandatory') frDteErrStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex")) if mibBuilder.loadTexts: frDteErrStatsEntry.setStatus('mandatory') frDteXmitDiscardPvcDown = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteXmitDiscardPvcDown.setStatus('mandatory') frDteXmitDiscardLmiInactive = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteXmitDiscardLmiInactive.setStatus('mandatory') frDteXmitDiscardFramerDown = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteXmitDiscardFramerDown.setStatus('mandatory') frDteXmitDiscardPvcInactive = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteXmitDiscardPvcInactive.setStatus('mandatory') frDteXmitDiscardCirExceeded = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteXmitDiscardCirExceeded.setStatus('mandatory') frDteRecvDiscardPvcDown = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteRecvDiscardPvcDown.setStatus('mandatory') frDteRecvDiscardLmiInactive = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteRecvDiscardLmiInactive.setStatus('mandatory') frDteRecvDiscardPvcInactive = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteRecvDiscardPvcInactive.setStatus('mandatory') frDteBadFc = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteBadFc.setStatus('mandatory') frDteUlpUnknownProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteUlpUnknownProtocol.setStatus('mandatory') frDteDefragSequenceErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDefragSequenceErrors.setStatus('mandatory') frDteReceiveShort = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteReceiveShort.setStatus('mandatory') frDteIllegalDlci = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteIllegalDlci.setStatus('mandatory') frDteDlcmiProtoErr = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDlcmiProtoErr.setStatus('mandatory') frDteDlcmiUnknownIe = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDlcmiUnknownIe.setStatus('mandatory') frDteDlcmiSequenceErr = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDlcmiSequenceErr.setStatus('mandatory') frDteDlcmiUnknownRpt = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDlcmiUnknownRpt.setStatus('mandatory') frDteFramer = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2)) frDteFramerRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 1), ) if mibBuilder.loadTexts: frDteFramerRowStatusTable.setStatus('mandatory') frDteFramerRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteFramerIndex")) if mibBuilder.loadTexts: frDteFramerRowStatusEntry.setStatus('mandatory') frDteFramerRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteFramerRowStatus.setStatus('mandatory') frDteFramerComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteFramerComponentName.setStatus('mandatory') frDteFramerStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteFramerStorageType.setStatus('mandatory') frDteFramerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: frDteFramerIndex.setStatus('mandatory') frDteFramerProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 10), ) if mibBuilder.loadTexts: frDteFramerProvTable.setStatus('mandatory') frDteFramerProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteFramerIndex")) if mibBuilder.loadTexts: frDteFramerProvEntry.setStatus('mandatory') frDteFramerInterfaceName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 10, 1, 1), Link()).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteFramerInterfaceName.setStatus('mandatory') frDteFramerStateTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 12), ) if mibBuilder.loadTexts: frDteFramerStateTable.setStatus('mandatory') frDteFramerStateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 12, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteFramerIndex")) if mibBuilder.loadTexts: frDteFramerStateEntry.setStatus('mandatory') frDteFramerAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 12, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("locked", 0), ("unlocked", 1), ("shuttingDown", 2))).clone('unlocked')).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteFramerAdminState.setStatus('mandatory') frDteFramerOperationalState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 12, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteFramerOperationalState.setStatus('mandatory') frDteFramerUsageState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 12, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("idle", 0), ("active", 1), ("busy", 2))).clone('idle')).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteFramerUsageState.setStatus('mandatory') frDteFramerStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13), ) if mibBuilder.loadTexts: frDteFramerStatsTable.setStatus('mandatory') frDteFramerStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteFramerIndex")) if mibBuilder.loadTexts: frDteFramerStatsEntry.setStatus('mandatory') frDteFramerFrmToIf = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteFramerFrmToIf.setStatus('mandatory') frDteFramerFrmFromIf = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteFramerFrmFromIf.setStatus('mandatory') frDteFramerAborts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteFramerAborts.setStatus('mandatory') frDteFramerCrcErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteFramerCrcErrors.setStatus('mandatory') frDteFramerLrcErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteFramerLrcErrors.setStatus('mandatory') frDteFramerNonOctetErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteFramerNonOctetErrors.setStatus('mandatory') frDteFramerOverruns = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteFramerOverruns.setStatus('mandatory') frDteFramerUnderruns = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteFramerUnderruns.setStatus('mandatory') frDteFramerLargeFrmErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteFramerLargeFrmErrors.setStatus('mandatory') frDteFramerUtilTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 14), ) if mibBuilder.loadTexts: frDteFramerUtilTable.setStatus('mandatory') frDteFramerUtilEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 14, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteFramerIndex")) if mibBuilder.loadTexts: frDteFramerUtilEntry.setStatus('mandatory') frDteFramerNormPrioLinkUtilToIf = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 14, 1, 1), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteFramerNormPrioLinkUtilToIf.setStatus('mandatory') frDteFramerNormPrioLinkUtilFromIf = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 14, 1, 3), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteFramerNormPrioLinkUtilFromIf.setStatus('mandatory') frDteLmi = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3)) frDteLmiRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 1), ) if mibBuilder.loadTexts: frDteLmiRowStatusTable.setStatus('mandatory') frDteLmiRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteLmiIndex")) if mibBuilder.loadTexts: frDteLmiRowStatusEntry.setStatus('mandatory') frDteLmiRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLmiRowStatus.setStatus('mandatory') frDteLmiComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLmiComponentName.setStatus('mandatory') frDteLmiStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLmiStorageType.setStatus('mandatory') frDteLmiIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: frDteLmiIndex.setStatus('mandatory') frDteLmiProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 10), ) if mibBuilder.loadTexts: frDteLmiProvTable.setStatus('mandatory') frDteLmiProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteLmiIndex")) if mibBuilder.loadTexts: frDteLmiProvEntry.setStatus('mandatory') frDteLmiProcedures = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 5))).clone(namedValues=NamedValues(("none", 1), ("vendorForum", 2), ("ansi", 3), ("itu", 5))).clone('itu')).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteLmiProcedures.setStatus('mandatory') frDteLmiPollingInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 10, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(5, 30)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteLmiPollingInterval.setStatus('mandatory') frDteLmiFullEnquiryInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 10, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 255)).clone(6)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteLmiFullEnquiryInterval.setStatus('mandatory') frDteLmiErrorThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 10, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteLmiErrorThreshold.setStatus('mandatory') frDteLmiMonitoredEvents = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 10, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(4)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteLmiMonitoredEvents.setStatus('mandatory') frDteLmiOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 11), ) if mibBuilder.loadTexts: frDteLmiOperTable.setStatus('mandatory') frDteLmiOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 11, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteLmiIndex")) if mibBuilder.loadTexts: frDteLmiOperEntry.setStatus('mandatory') frDteLmiLmiStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 11, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("running", 1), ("fault", 2), ("initializing", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLmiLmiStatus.setStatus('mandatory') frDteRg = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4)) frDteRgRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 1), ) if mibBuilder.loadTexts: frDteRgRowStatusTable.setStatus('mandatory') frDteRgRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteRgIndex")) if mibBuilder.loadTexts: frDteRgRowStatusEntry.setStatus('mandatory') frDteRgRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteRgRowStatus.setStatus('mandatory') frDteRgComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteRgComponentName.setStatus('mandatory') frDteRgStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteRgStorageType.setStatus('mandatory') frDteRgIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 256))) if mibBuilder.loadTexts: frDteRgIndex.setStatus('mandatory') frDteRgIfEntryTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 10), ) if mibBuilder.loadTexts: frDteRgIfEntryTable.setStatus('mandatory') frDteRgIfEntryEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteRgIndex")) if mibBuilder.loadTexts: frDteRgIfEntryEntry.setStatus('mandatory') frDteRgIfAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3))).clone('up')).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteRgIfAdminStatus.setStatus('mandatory') frDteRgIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 10, 1, 2), InterfaceIndex().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteRgIfIndex.setStatus('mandatory') frDteRgProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 11), ) if mibBuilder.loadTexts: frDteRgProvTable.setStatus('mandatory') frDteRgProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 11, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteRgIndex")) if mibBuilder.loadTexts: frDteRgProvEntry.setStatus('mandatory') frDteRgMaxTransmissionUnit = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 11, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(262, 9190)).clone(1604)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteRgMaxTransmissionUnit.setStatus('mandatory') frDteRgMpTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 12), ) if mibBuilder.loadTexts: frDteRgMpTable.setStatus('mandatory') frDteRgMpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 12, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteRgIndex")) if mibBuilder.loadTexts: frDteRgMpEntry.setStatus('mandatory') frDteRgLinkToProtocolPort = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 12, 1, 1), Link()).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteRgLinkToProtocolPort.setStatus('mandatory') frDteRgStateTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 13), ) if mibBuilder.loadTexts: frDteRgStateTable.setStatus('mandatory') frDteRgStateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 13, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteRgIndex")) if mibBuilder.loadTexts: frDteRgStateEntry.setStatus('mandatory') frDteRgAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 13, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("locked", 0), ("unlocked", 1), ("shuttingDown", 2))).clone('unlocked')).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteRgAdminState.setStatus('mandatory') frDteRgOperationalState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 13, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteRgOperationalState.setStatus('mandatory') frDteRgUsageState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 13, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("idle", 0), ("active", 1), ("busy", 2))).clone('idle')).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteRgUsageState.setStatus('mandatory') frDteRgOperStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 14), ) if mibBuilder.loadTexts: frDteRgOperStatusTable.setStatus('mandatory') frDteRgOperStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 14, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteRgIndex")) if mibBuilder.loadTexts: frDteRgOperStatusEntry.setStatus('mandatory') frDteRgSnmpOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 14, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3))).clone('up')).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteRgSnmpOperStatus.setStatus('mandatory') frDteRgLtDlciTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 219), ) if mibBuilder.loadTexts: frDteRgLtDlciTable.setStatus('mandatory') frDteRgLtDlciEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 219, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteRgIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteRgLtDlciValue")) if mibBuilder.loadTexts: frDteRgLtDlciEntry.setStatus('mandatory') frDteRgLtDlciValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 219, 1, 1), Link()).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteRgLtDlciValue.setStatus('mandatory') frDteRgLtDlciRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 219, 1, 2), RowStatus()).setMaxAccess("writeonly") if mibBuilder.loadTexts: frDteRgLtDlciRowStatus.setStatus('mandatory') frDteRgBfr = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15)) frDteRgBfrRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 1), ) if mibBuilder.loadTexts: frDteRgBfrRowStatusTable.setStatus('mandatory') frDteRgBfrRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteRgIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteRgBfrIndex")) if mibBuilder.loadTexts: frDteRgBfrRowStatusEntry.setStatus('mandatory') frDteRgBfrRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteRgBfrRowStatus.setStatus('mandatory') frDteRgBfrComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteRgBfrComponentName.setStatus('mandatory') frDteRgBfrStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteRgBfrStorageType.setStatus('mandatory') frDteRgBfrIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: frDteRgBfrIndex.setStatus('mandatory') frDteRgBfrProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 10), ) if mibBuilder.loadTexts: frDteRgBfrProvTable.setStatus('mandatory') frDteRgBfrProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteRgIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteRgBfrIndex")) if mibBuilder.loadTexts: frDteRgBfrProvEntry.setStatus('mandatory') frDteRgBfrMacType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("fddi", 0), ("enet", 1), ("tokenRing", 2))).clone('enet')).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteRgBfrMacType.setStatus('mandatory') frDteRgBfrBfrIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 10, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 511))).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteRgBfrBfrIndex.setStatus('mandatory') frDteRgBfrOprTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 11), ) if mibBuilder.loadTexts: frDteRgBfrOprTable.setStatus('mandatory') frDteRgBfrOprEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 11, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteRgIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteRgBfrIndex")) if mibBuilder.loadTexts: frDteRgBfrOprEntry.setStatus('mandatory') frDteRgBfrMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 11, 1, 1), DashedHexString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteRgBfrMacAddr.setStatus('mandatory') frDteDynDlciDefs = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5)) frDteDynDlciDefsRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 1), ) if mibBuilder.loadTexts: frDteDynDlciDefsRowStatusTable.setStatus('mandatory') frDteDynDlciDefsRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteDynDlciDefsIndex")) if mibBuilder.loadTexts: frDteDynDlciDefsRowStatusEntry.setStatus('mandatory') frDteDynDlciDefsRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDynDlciDefsRowStatus.setStatus('mandatory') frDteDynDlciDefsComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDynDlciDefsComponentName.setStatus('mandatory') frDteDynDlciDefsStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDynDlciDefsStorageType.setStatus('mandatory') frDteDynDlciDefsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: frDteDynDlciDefsIndex.setStatus('mandatory') frDteDynDlciDefsProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 10), ) if mibBuilder.loadTexts: frDteDynDlciDefsProvTable.setStatus('mandatory') frDteDynDlciDefsProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteDynDlciDefsIndex")) if mibBuilder.loadTexts: frDteDynDlciDefsProvEntry.setStatus('mandatory') frDteDynDlciDefsStdRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("active", 1), ("notInService", 2))).clone('active')).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteDynDlciDefsStdRowStatus.setStatus('mandatory') frDteDynDlciDefsRateEnforcement = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 10, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteDynDlciDefsRateEnforcement.setStatus('mandatory') frDteDynDlciDefsCommittedInformationRate = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 10, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 48000000)).clone(64000)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteDynDlciDefsCommittedInformationRate.setStatus('mandatory') frDteDynDlciDefsCommittedBurst = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 10, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2048000)).clone(64000)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteDynDlciDefsCommittedBurst.setStatus('mandatory') frDteDynDlciDefsExcessBurst = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 10, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2048000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteDynDlciDefsExcessBurst.setStatus('mandatory') frDteDynDlciDefsExcessBurstAction = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 10, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("none", 1), ("setDeBit", 2))).clone('none')).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteDynDlciDefsExcessBurstAction.setStatus('mandatory') frDteDynDlciDefsIpCos = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 10, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteDynDlciDefsIpCos.setStatus('mandatory') frDteStDlci = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6)) frDteStDlciRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 1), ) if mibBuilder.loadTexts: frDteStDlciRowStatusTable.setStatus('mandatory') frDteStDlciRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteStDlciIndex")) if mibBuilder.loadTexts: frDteStDlciRowStatusEntry.setStatus('mandatory') frDteStDlciRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteStDlciRowStatus.setStatus('mandatory') frDteStDlciComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStDlciComponentName.setStatus('mandatory') frDteStDlciStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStDlciStorageType.setStatus('mandatory') frDteStDlciIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(16, 1007))) if mibBuilder.loadTexts: frDteStDlciIndex.setStatus('mandatory') frDteStDlciProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 10), ) if mibBuilder.loadTexts: frDteStDlciProvTable.setStatus('mandatory') frDteStDlciProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteStDlciIndex")) if mibBuilder.loadTexts: frDteStDlciProvEntry.setStatus('mandatory') frDteStDlciStdRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("active", 1), ("notInService", 2))).clone('active')).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteStDlciStdRowStatus.setStatus('mandatory') frDteStDlciRateEnforcement = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 10, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteStDlciRateEnforcement.setStatus('mandatory') frDteStDlciCommittedInformationRate = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 10, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 48000000)).clone(64000)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteStDlciCommittedInformationRate.setStatus('mandatory') frDteStDlciCommittedBurst = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 10, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2048000)).clone(64000)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteStDlciCommittedBurst.setStatus('mandatory') frDteStDlciExcessBurst = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 10, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2048000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteStDlciExcessBurst.setStatus('mandatory') frDteStDlciExcessBurstAction = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 10, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("none", 1), ("setDeBit", 2))).clone('none')).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteStDlciExcessBurstAction.setStatus('mandatory') frDteStDlciIpCos = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 10, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteStDlciIpCos.setStatus('mandatory') frDteStDlciRgLinkTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 11), ) if mibBuilder.loadTexts: frDteStDlciRgLinkTable.setStatus('mandatory') frDteStDlciRgLinkEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 11, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteStDlciIndex")) if mibBuilder.loadTexts: frDteStDlciRgLinkEntry.setStatus('mandatory') frDteStDlciLinkToRemoteGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 11, 1, 1), Link()).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteStDlciLinkToRemoteGroup.setStatus('mandatory') frDteStDlciHq = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2)) frDteStDlciHqRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 1), ) if mibBuilder.loadTexts: frDteStDlciHqRowStatusTable.setStatus('mandatory') frDteStDlciHqRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteStDlciIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteStDlciHqIndex")) if mibBuilder.loadTexts: frDteStDlciHqRowStatusEntry.setStatus('mandatory') frDteStDlciHqRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteStDlciHqRowStatus.setStatus('mandatory') frDteStDlciHqComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStDlciHqComponentName.setStatus('mandatory') frDteStDlciHqStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStDlciHqStorageType.setStatus('mandatory') frDteStDlciHqIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: frDteStDlciHqIndex.setStatus('mandatory') frDteStDlciHqProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 10), ) if mibBuilder.loadTexts: frDteStDlciHqProvTable.setStatus('mandatory') frDteStDlciHqProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteStDlciIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteStDlciHqIndex")) if mibBuilder.loadTexts: frDteStDlciHqProvEntry.setStatus('mandatory') frDteStDlciHqMaxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 10, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2048))).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteStDlciHqMaxPackets.setStatus('mandatory') frDteStDlciHqMaxMsecData = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 10, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(100, 60000)).clone(10000)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteStDlciHqMaxMsecData.setStatus('mandatory') frDteStDlciHqMaxPercentMulticast = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 10, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 100)).clone(50)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteStDlciHqMaxPercentMulticast.setStatus('mandatory') frDteStDlciHqTimeToLive = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 10, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(100, 60000)).clone(10000)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteStDlciHqTimeToLive.setStatus('mandatory') frDteStDlciHqStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 11), ) if mibBuilder.loadTexts: frDteStDlciHqStatsTable.setStatus('mandatory') frDteStDlciHqStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 11, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteStDlciIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteStDlciHqIndex")) if mibBuilder.loadTexts: frDteStDlciHqStatsEntry.setStatus('mandatory') frDteStDlciHqTimedOutPkt = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 11, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStDlciHqTimedOutPkt.setStatus('mandatory') frDteStDlciHqQueuePurgeDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 11, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStDlciHqQueuePurgeDiscards.setStatus('mandatory') frDteStDlciHqTStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 12), ) if mibBuilder.loadTexts: frDteStDlciHqTStatsTable.setStatus('mandatory') frDteStDlciHqTStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 12, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteStDlciIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteStDlciHqIndex")) if mibBuilder.loadTexts: frDteStDlciHqTStatsEntry.setStatus('mandatory') frDteStDlciHqTotalPktHandled = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 12, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStDlciHqTotalPktHandled.setStatus('mandatory') frDteStDlciHqTotalPktForwarded = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 12, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStDlciHqTotalPktForwarded.setStatus('mandatory') frDteStDlciHqTotalPktQueued = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 12, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStDlciHqTotalPktQueued.setStatus('mandatory') frDteStDlciHqTotalMulticastPkt = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 12, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStDlciHqTotalMulticastPkt.setStatus('mandatory') frDteStDlciHqTotalPktDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 12, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStDlciHqTotalPktDiscards.setStatus('mandatory') frDteStDlciHqCStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 13), ) if mibBuilder.loadTexts: frDteStDlciHqCStatsTable.setStatus('mandatory') frDteStDlciHqCStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 13, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteStDlciIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteStDlciHqIndex")) if mibBuilder.loadTexts: frDteStDlciHqCStatsEntry.setStatus('mandatory') frDteStDlciHqCurrentPktQueued = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 13, 1, 1), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStDlciHqCurrentPktQueued.setStatus('mandatory') frDteStDlciHqCurrentBytesQueued = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 13, 1, 2), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStDlciHqCurrentBytesQueued.setStatus('mandatory') frDteStDlciHqCurrentMulticastQueued = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 13, 1, 3), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStDlciHqCurrentMulticastQueued.setStatus('mandatory') frDteStDlciHqThrStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 14), ) if mibBuilder.loadTexts: frDteStDlciHqThrStatsTable.setStatus('mandatory') frDteStDlciHqThrStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 14, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteStDlciIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteStDlciHqIndex")) if mibBuilder.loadTexts: frDteStDlciHqThrStatsEntry.setStatus('mandatory') frDteStDlciHqQueuePktThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 14, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStDlciHqQueuePktThreshold.setStatus('mandatory') frDteStDlciHqPktThresholdExceeded = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 14, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStDlciHqPktThresholdExceeded.setStatus('mandatory') frDteStDlciHqQueueByteThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 14, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStDlciHqQueueByteThreshold.setStatus('mandatory') frDteStDlciHqByteThresholdExceeded = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 14, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStDlciHqByteThresholdExceeded.setStatus('mandatory') frDteStDlciHqQueueMulticastThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 14, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStDlciHqQueueMulticastThreshold.setStatus('mandatory') frDteStDlciHqMulThresholdExceeded = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 14, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStDlciHqMulThresholdExceeded.setStatus('mandatory') frDteStDlciHqMemThresholdExceeded = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 14, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteStDlciHqMemThresholdExceeded.setStatus('mandatory') frDteLeq = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7)) frDteLeqRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 1), ) if mibBuilder.loadTexts: frDteLeqRowStatusTable.setStatus('mandatory') frDteLeqRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteLeqIndex")) if mibBuilder.loadTexts: frDteLeqRowStatusEntry.setStatus('mandatory') frDteLeqRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteLeqRowStatus.setStatus('mandatory') frDteLeqComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLeqComponentName.setStatus('mandatory') frDteLeqStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLeqStorageType.setStatus('mandatory') frDteLeqIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: frDteLeqIndex.setStatus('mandatory') frDteLeqProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 10), ) if mibBuilder.loadTexts: frDteLeqProvTable.setStatus('mandatory') frDteLeqProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteLeqIndex")) if mibBuilder.loadTexts: frDteLeqProvEntry.setStatus('mandatory') frDteLeqMaxPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 10, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2048))).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteLeqMaxPackets.setStatus('mandatory') frDteLeqMaxMsecData = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 10, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(100, 60000)).clone(10000)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteLeqMaxMsecData.setStatus('mandatory') frDteLeqMaxPercentMulticast = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 10, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 100)).clone(50)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteLeqMaxPercentMulticast.setStatus('mandatory') frDteLeqTimeToLive = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 10, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(100, 60000)).clone(10000)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteLeqTimeToLive.setStatus('mandatory') frDteLeqStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 11), ) if mibBuilder.loadTexts: frDteLeqStatsTable.setStatus('mandatory') frDteLeqStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 11, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteLeqIndex")) if mibBuilder.loadTexts: frDteLeqStatsEntry.setStatus('mandatory') frDteLeqTimedOutPkt = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 11, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLeqTimedOutPkt.setStatus('mandatory') frDteLeqHardwareForcedPkt = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 11, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLeqHardwareForcedPkt.setStatus('mandatory') frDteLeqForcedPktDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 11, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLeqForcedPktDiscards.setStatus('mandatory') frDteLeqQueuePurgeDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 11, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLeqQueuePurgeDiscards.setStatus('mandatory') frDteLeqTStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 12), ) if mibBuilder.loadTexts: frDteLeqTStatsTable.setStatus('mandatory') frDteLeqTStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 12, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteLeqIndex")) if mibBuilder.loadTexts: frDteLeqTStatsEntry.setStatus('mandatory') frDteLeqTotalPktHandled = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 12, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLeqTotalPktHandled.setStatus('mandatory') frDteLeqTotalPktForwarded = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 12, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLeqTotalPktForwarded.setStatus('mandatory') frDteLeqTotalPktQueued = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 12, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLeqTotalPktQueued.setStatus('mandatory') frDteLeqTotalMulticastPkt = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 12, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLeqTotalMulticastPkt.setStatus('mandatory') frDteLeqTotalPktDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 12, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLeqTotalPktDiscards.setStatus('mandatory') frDteLeqCStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 13), ) if mibBuilder.loadTexts: frDteLeqCStatsTable.setStatus('mandatory') frDteLeqCStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 13, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteLeqIndex")) if mibBuilder.loadTexts: frDteLeqCStatsEntry.setStatus('mandatory') frDteLeqCurrentPktQueued = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 13, 1, 1), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLeqCurrentPktQueued.setStatus('mandatory') frDteLeqCurrentBytesQueued = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 13, 1, 2), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLeqCurrentBytesQueued.setStatus('mandatory') frDteLeqCurrentMulticastQueued = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 13, 1, 3), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLeqCurrentMulticastQueued.setStatus('mandatory') frDteLeqThrStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 14), ) if mibBuilder.loadTexts: frDteLeqThrStatsTable.setStatus('mandatory') frDteLeqThrStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 14, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteLeqIndex")) if mibBuilder.loadTexts: frDteLeqThrStatsEntry.setStatus('mandatory') frDteLeqQueuePktThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 14, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLeqQueuePktThreshold.setStatus('mandatory') frDteLeqPktThresholdExceeded = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 14, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLeqPktThresholdExceeded.setStatus('mandatory') frDteLeqQueueByteThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 14, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLeqQueueByteThreshold.setStatus('mandatory') frDteLeqByteThresholdExceeded = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 14, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLeqByteThresholdExceeded.setStatus('mandatory') frDteLeqQueueMulticastThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 14, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLeqQueueMulticastThreshold.setStatus('mandatory') frDteLeqMulThresholdExceeded = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 14, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLeqMulThresholdExceeded.setStatus('mandatory') frDteLeqMemThresholdExceeded = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 14, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteLeqMemThresholdExceeded.setStatus('mandatory') frDteDlci = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8)) frDteDlciRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 1), ) if mibBuilder.loadTexts: frDteDlciRowStatusTable.setStatus('mandatory') frDteDlciRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteDlciIndex")) if mibBuilder.loadTexts: frDteDlciRowStatusEntry.setStatus('mandatory') frDteDlciRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDlciRowStatus.setStatus('mandatory') frDteDlciComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDlciComponentName.setStatus('mandatory') frDteDlciStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDlciStorageType.setStatus('mandatory') frDteDlciIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1023))) if mibBuilder.loadTexts: frDteDlciIndex.setStatus('mandatory') frDteDlciStateTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 10), ) if mibBuilder.loadTexts: frDteDlciStateTable.setStatus('mandatory') frDteDlciStateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteDlciIndex")) if mibBuilder.loadTexts: frDteDlciStateEntry.setStatus('mandatory') frDteDlciAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("locked", 0), ("unlocked", 1), ("shuttingDown", 2))).clone('unlocked')).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDlciAdminState.setStatus('mandatory') frDteDlciOperationalState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 10, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDlciOperationalState.setStatus('mandatory') frDteDlciUsageState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 10, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("idle", 0), ("active", 1), ("busy", 2))).clone('idle')).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDlciUsageState.setStatus('mandatory') frDteDlciOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11), ) if mibBuilder.loadTexts: frDteDlciOperTable.setStatus('mandatory') frDteDlciOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteDlciIndex")) if mibBuilder.loadTexts: frDteDlciOperEntry.setStatus('mandatory') frDteDlciDlciState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("invalid", 1), ("active", 2), ("inactive", 3))).clone('inactive')).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDlciDlciState.setStatus('mandatory') frDteDlciLastTimeChange = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 5), EnterpriseDateAndTime().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0, 0), ValueSizeConstraint(19, 19), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDlciLastTimeChange.setStatus('mandatory') frDteDlciSentFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDlciSentFrames.setStatus('mandatory') frDteDlciSentOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDlciSentOctets.setStatus('mandatory') frDteDlciReceivedFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDlciReceivedFrames.setStatus('mandatory') frDteDlciReceivedOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDlciReceivedOctets.setStatus('mandatory') frDteDlciReceivedFECNs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDlciReceivedFECNs.setStatus('mandatory') frDteDlciReceivedBECNs = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDlciReceivedBECNs.setStatus('mandatory') frDteDlciDiscardedFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDlciDiscardedFrames.setStatus('mandatory') frDteDlciCreationType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("static", 1), ("dynamic", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDlciCreationType.setStatus('mandatory') frDteDlciCreationTime = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 15), EnterpriseDateAndTime().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0, 0), ValueSizeConstraint(19, 19), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteDlciCreationTime.setStatus('mandatory') frDteDlciRateEnforcement = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteDlciRateEnforcement.setStatus('mandatory') frDteDlciCommittedInformationRate = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 18), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 48000000)).clone(64000)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteDlciCommittedInformationRate.setStatus('mandatory') frDteDlciCommittedBurst = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 19), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2048000)).clone(64000)).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteDlciCommittedBurst.setStatus('mandatory') frDteDlciExcessBurst = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 20), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 2048000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteDlciExcessBurst.setStatus('mandatory') frDteDlciExcessBurstAction = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("none", 1), ("setDeBit", 2))).clone('none')).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteDlciExcessBurstAction.setStatus('mandatory') frDteVFramer = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9)) frDteVFramerRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 1), ) if mibBuilder.loadTexts: frDteVFramerRowStatusTable.setStatus('mandatory') frDteVFramerRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteVFramerIndex")) if mibBuilder.loadTexts: frDteVFramerRowStatusEntry.setStatus('mandatory') frDteVFramerRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteVFramerRowStatus.setStatus('mandatory') frDteVFramerComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteVFramerComponentName.setStatus('mandatory') frDteVFramerStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteVFramerStorageType.setStatus('mandatory') frDteVFramerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: frDteVFramerIndex.setStatus('mandatory') frDteVFramerProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 10), ) if mibBuilder.loadTexts: frDteVFramerProvTable.setStatus('mandatory') frDteVFramerProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteVFramerIndex")) if mibBuilder.loadTexts: frDteVFramerProvEntry.setStatus('mandatory') frDteVFramerOtherVirtualFramer = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 10, 1, 1), Link()).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteVFramerOtherVirtualFramer.setStatus('mandatory') frDteVFramerLogicalProcessor = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 10, 1, 2), Link()).setMaxAccess("readwrite") if mibBuilder.loadTexts: frDteVFramerLogicalProcessor.setStatus('mandatory') frDteVFramerStateTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 11), ) if mibBuilder.loadTexts: frDteVFramerStateTable.setStatus('mandatory') frDteVFramerStateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 11, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteVFramerIndex")) if mibBuilder.loadTexts: frDteVFramerStateEntry.setStatus('mandatory') frDteVFramerAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 11, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("locked", 0), ("unlocked", 1), ("shuttingDown", 2))).clone('unlocked')).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteVFramerAdminState.setStatus('mandatory') frDteVFramerOperationalState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 11, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteVFramerOperationalState.setStatus('mandatory') frDteVFramerUsageState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 11, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("idle", 0), ("active", 1), ("busy", 2))).clone('idle')).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteVFramerUsageState.setStatus('mandatory') frDteVFramerStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 12), ) if mibBuilder.loadTexts: frDteVFramerStatsTable.setStatus('mandatory') frDteVFramerStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 12, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteIndex"), (0, "Nortel-Magellan-Passport-FrameRelayDteMIB", "frDteVFramerIndex")) if mibBuilder.loadTexts: frDteVFramerStatsEntry.setStatus('mandatory') frDteVFramerFrmToOtherVFramer = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 12, 1, 2), PassportCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteVFramerFrmToOtherVFramer.setStatus('mandatory') frDteVFramerFrmFromOtherVFramer = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 12, 1, 3), PassportCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteVFramerFrmFromOtherVFramer.setStatus('mandatory') frDteVFramerOctetFromOtherVFramer = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 12, 1, 5), PassportCounter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: frDteVFramerOctetFromOtherVFramer.setStatus('mandatory') frameRelayDteGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 32, 1)) frameRelayDteGroupBE = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 32, 1, 5)) frameRelayDteGroupBE00 = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 32, 1, 5, 1)) frameRelayDteGroupBE00A = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 32, 1, 5, 1, 2)) frameRelayDteCapabilities = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 32, 3)) frameRelayDteCapabilitiesBE = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 32, 3, 5)) frameRelayDteCapabilitiesBE00 = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 32, 3, 5, 1)) frameRelayDteCapabilitiesBE00A = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 32, 3, 5, 1, 2)) mibBuilder.exportSymbols("Nortel-Magellan-Passport-FrameRelayDteMIB", frDteStDlciCommittedInformationRate=frDteStDlciCommittedInformationRate, frDteLeq=frDteLeq, frDteLeqRowStatusEntry=frDteLeqRowStatusEntry, frDteRgOperationalState=frDteRgOperationalState, frDteComponentName=frDteComponentName, frDteStDlci=frDteStDlci, frDteVFramerOperationalState=frDteVFramerOperationalState, frDteDlciOperationalState=frDteDlciOperationalState, frameRelayDteCapabilitiesBE00A=frameRelayDteCapabilitiesBE00A, frDteRgIfIndex=frDteRgIfIndex, frDteStDlciHqComponentName=frDteStDlciHqComponentName, frDteIllegalDlci=frDteIllegalDlci, frDteFramerProvEntry=frDteFramerProvEntry, frDteStDlciHqTimedOutPkt=frDteStDlciHqTimedOutPkt, frDteStDlciHqIndex=frDteStDlciHqIndex, frDteStDlciRgLinkEntry=frDteStDlciRgLinkEntry, frDteRgBfrMacAddr=frDteRgBfrMacAddr, frDteStDlciHqStatsEntry=frDteStDlciHqStatsEntry, frDteLeqTotalPktHandled=frDteLeqTotalPktHandled, frDteStDlciHqCurrentBytesQueued=frDteStDlciHqCurrentBytesQueued, frDteRgStateTable=frDteRgStateTable, frDteOperStatusEntry=frDteOperStatusEntry, frDteLmiFullEnquiryInterval=frDteLmiFullEnquiryInterval, frDteVFramerIndex=frDteVFramerIndex, frDteCustomerIdentifier=frDteCustomerIdentifier, frDteStDlciIndex=frDteStDlciIndex, frDteStDlciHqRowStatus=frDteStDlciHqRowStatus, frDteDlciAdminState=frDteDlciAdminState, frDteRgIfEntryTable=frDteRgIfEntryTable, frDteStDlciHqTimeToLive=frDteStDlciHqTimeToLive, frDteXmitDiscardLmiInactive=frDteXmitDiscardLmiInactive, frDteLeqProvTable=frDteLeqProvTable, frDteErrType=frDteErrType, frDteFramerStatsTable=frDteFramerStatsTable, frDteLeqTotalPktQueued=frDteLeqTotalPktQueued, frDteFramerStateTable=frDteFramerStateTable, frDteVFramerUsageState=frDteVFramerUsageState, frDteRgAdminState=frDteRgAdminState, frDteLmiOperTable=frDteLmiOperTable, frDteStDlciExcessBurst=frDteStDlciExcessBurst, frDteFramerProvTable=frDteFramerProvTable, frDteStDlciHqMaxPercentMulticast=frDteStDlciHqMaxPercentMulticast, frDteRgBfr=frDteRgBfr, frDteSnmpOperStatus=frDteSnmpOperStatus, frDteDlciComponentName=frDteDlciComponentName, frDteDynDlciDefsProvTable=frDteDynDlciDefsProvTable, frDteDlciDlciState=frDteDlciDlciState, frDteLmiRowStatus=frDteLmiRowStatus, frDteStDlciRowStatus=frDteStDlciRowStatus, frDteLeqForcedPktDiscards=frDteLeqForcedPktDiscards, frDteVFramerAdminState=frDteVFramerAdminState, frDteLeqProvEntry=frDteLeqProvEntry, frDteLmiLmiStatus=frDteLmiLmiStatus, frDteLeqMaxPackets=frDteLeqMaxPackets, frDteDlciRateEnforcement=frDteDlciRateEnforcement, frDteDlcmiSequenceErr=frDteDlcmiSequenceErr, frDteLeqTStatsTable=frDteLeqTStatsTable, frDteDlciSentFrames=frDteDlciSentFrames, frDteUlpUnknownProtocol=frDteUlpUnknownProtocol, frDteStDlciIpCos=frDteStDlciIpCos, frDteDynDlciDefsCommittedInformationRate=frDteDynDlciDefsCommittedInformationRate, frDteLeqTotalPktForwarded=frDteLeqTotalPktForwarded, frDteDlcmiProtoErr=frDteDlcmiProtoErr, frDteLeqMulThresholdExceeded=frDteLeqMulThresholdExceeded, frDteRgProvTable=frDteRgProvTable, frDteVFramerOtherVirtualFramer=frDteVFramerOtherVirtualFramer, frDteFramerOperationalState=frDteFramerOperationalState, frDte=frDte, frDteStDlciHqCStatsTable=frDteStDlciHqCStatsTable, frDteStDlciRowStatusEntry=frDteStDlciRowStatusEntry, frDteRgStorageType=frDteRgStorageType, frDteVFramerStateEntry=frDteVFramerStateEntry, frDteStDlciStdRowStatus=frDteStDlciStdRowStatus, frDteIndex=frDteIndex, frDteFramerRowStatusEntry=frDteFramerRowStatusEntry, frDteRgProvEntry=frDteRgProvEntry, frDteDynDlciDefsComponentName=frDteDynDlciDefsComponentName, frDteStDlciHqQueueMulticastThreshold=frDteStDlciHqQueueMulticastThreshold, frDteLeqComponentName=frDteLeqComponentName, frDteErrEntry=frDteErrEntry, frDteLeqMaxMsecData=frDteLeqMaxMsecData, frDteLeqCurrentMulticastQueued=frDteLeqCurrentMulticastQueued, frDteRgBfrRowStatus=frDteRgBfrRowStatus, frDteRgBfrMacType=frDteRgBfrMacType, frDteFramerAborts=frDteFramerAborts, frDteFramerStateEntry=frDteFramerStateEntry, frDteRgOperStatusTable=frDteRgOperStatusTable, frDteStDlciLinkToRemoteGroup=frDteStDlciLinkToRemoteGroup, frDteFramerUtilTable=frDteFramerUtilTable, frDteVFramerFrmToOtherVFramer=frDteVFramerFrmToOtherVFramer, frDteLeqMemThresholdExceeded=frDteLeqMemThresholdExceeded, frameRelayDteGroupBE00A=frameRelayDteGroupBE00A, frDteProvTable=frDteProvTable, frameRelayDteGroupBE=frameRelayDteGroupBE, frDteLeqHardwareForcedPkt=frDteLeqHardwareForcedPkt, frDteFramerStorageType=frDteFramerStorageType, frDteErrFaultTime=frDteErrFaultTime, frDteFramerComponentName=frDteFramerComponentName, frDteVFramerRowStatus=frDteVFramerRowStatus, frDteLmiProcedures=frDteLmiProcedures, frDteFramerUtilEntry=frDteFramerUtilEntry, frameRelayDteCapabilitiesBE00=frameRelayDteCapabilitiesBE00, frDteLmi=frDteLmi, frDteLeqRowStatusTable=frDteLeqRowStatusTable, frDteIfEntryEntry=frDteIfEntryEntry, frDteDynDlciDefsIndex=frDteDynDlciDefsIndex, frDteStDlciHqStorageType=frDteStDlciHqStorageType, frDteDynDlciDefsRowStatusEntry=frDteDynDlciDefsRowStatusEntry, frDteLeqRowStatus=frDteLeqRowStatus, frDteFramerUsageState=frDteFramerUsageState, frDteStDlciHqByteThresholdExceeded=frDteStDlciHqByteThresholdExceeded, frDteVFramerProvEntry=frDteVFramerProvEntry, frDteStDlciHqCStatsEntry=frDteStDlciHqCStatsEntry, frDteStDlciHqCurrentPktQueued=frDteStDlciHqCurrentPktQueued, frDteStDlciHqTotalPktForwarded=frDteStDlciHqTotalPktForwarded, frDteFramerNonOctetErrors=frDteFramerNonOctetErrors, frDteReceiveShort=frDteReceiveShort, frDteDlciCreationType=frDteDlciCreationType, frDteXmitDiscardFramerDown=frDteXmitDiscardFramerDown, frDteRgBfrBfrIndex=frDteRgBfrBfrIndex, frDteCidDataEntry=frDteCidDataEntry, frDteDlciRowStatusEntry=frDteDlciRowStatusEntry, frDteStDlciHq=frDteStDlciHq, frDteStDlciHqProvEntry=frDteStDlciHqProvEntry, frameRelayDteCapabilities=frameRelayDteCapabilities, frDteRgBfrProvTable=frDteRgBfrProvTable, frDteFramerStatsEntry=frDteFramerStatsEntry, frDteStDlciHqTotalPktQueued=frDteStDlciHqTotalPktQueued, frDteStDlciHqCurrentMulticastQueued=frDteStDlciHqCurrentMulticastQueued, frDteDlciExcessBurstAction=frDteDlciExcessBurstAction, frDteOperEntry=frDteOperEntry, frDteErrDiscards=frDteErrDiscards, frameRelayDteMIB=frameRelayDteMIB, frDteRgLtDlciValue=frDteRgLtDlciValue, frDteRgBfrComponentName=frDteRgBfrComponentName, frDteRecvDiscardPvcInactive=frDteRecvDiscardPvcInactive, frDteDynDlciDefs=frDteDynDlciDefs, frameRelayDteGroupBE00=frameRelayDteGroupBE00, frDteVFramerProvTable=frDteVFramerProvTable, frDteStDlciHqTStatsEntry=frDteStDlciHqTStatsEntry, frDteFramerAdminState=frDteFramerAdminState, frDteLmiProvTable=frDteLmiProvTable, frDteRgLtDlciTable=frDteRgLtDlciTable, frDteLeqTStatsEntry=frDteLeqTStatsEntry, frDteVFramerStorageType=frDteVFramerStorageType, frDteLmiOperEntry=frDteLmiOperEntry, frDteRgLinkToProtocolPort=frDteRgLinkToProtocolPort, frDteVFramerOctetFromOtherVFramer=frDteVFramerOctetFromOtherVFramer, frDteErrData=frDteErrData, frDteStDlciHqThrStatsEntry=frDteStDlciHqThrStatsEntry, frDteIfAdminStatus=frDteIfAdminStatus, frameRelayDteCapabilitiesBE=frameRelayDteCapabilitiesBE, frDteRowStatusTable=frDteRowStatusTable, frDteDlciReceivedOctets=frDteDlciReceivedOctets, frDteDlciReceivedFrames=frDteDlciReceivedFrames, frDteLeqThrStatsTable=frDteLeqThrStatsTable, frDteStDlciHqPktThresholdExceeded=frDteStDlciHqPktThresholdExceeded, frDteVFramerRowStatusEntry=frDteVFramerRowStatusEntry, frDteRgIfAdminStatus=frDteRgIfAdminStatus, frDteStDlciHqTotalPktDiscards=frDteStDlciHqTotalPktDiscards, frDteStDlciHqRowStatusEntry=frDteStDlciHqRowStatusEntry, frDteDlciDiscardedFrames=frDteDlciDiscardedFrames, frDteDlciUsageState=frDteDlciUsageState, frDteFramerFrmToIf=frDteFramerFrmToIf, frDteStDlciProvEntry=frDteStDlciProvEntry, frDteFramer=frDteFramer, frDteLeqCStatsEntry=frDteLeqCStatsEntry, frDteDynDlciDefsRateEnforcement=frDteDynDlciDefsRateEnforcement, frDteRgBfrOprTable=frDteRgBfrOprTable, frDteStDlciHqThrStatsTable=frDteStDlciHqThrStatsTable, frDteRgStateEntry=frDteRgStateEntry, frDteRgIfEntryEntry=frDteRgIfEntryEntry, frDteLeqByteThresholdExceeded=frDteLeqByteThresholdExceeded, frDteLeqTimeToLive=frDteLeqTimeToLive, frDteLmiRowStatusEntry=frDteLmiRowStatusEntry, frDteErrStatsEntry=frDteErrStatsEntry, frDteStDlciHqStatsTable=frDteStDlciHqStatsTable, frDteFramerIndex=frDteFramerIndex, frDteLeqQueuePurgeDiscards=frDteLeqQueuePurgeDiscards, frDteDlciRowStatusTable=frDteDlciRowStatusTable, frDteRgBfrIndex=frDteRgBfrIndex, frDteDynDlciDefsRowStatus=frDteDynDlciDefsRowStatus, frDteStDlciRateEnforcement=frDteStDlciRateEnforcement, frDteXmitDiscardPvcDown=frDteXmitDiscardPvcDown, frDteLmiMonitoredEvents=frDteLmiMonitoredEvents, frDteDynDlciDefsExcessBurst=frDteDynDlciDefsExcessBurst, frDteUsageState=frDteUsageState, frDteRgBfrStorageType=frDteRgBfrStorageType, frDteStDlciStorageType=frDteStDlciStorageType, frDteRgBfrProvEntry=frDteRgBfrProvEntry, frDteErrTime=frDteErrTime, frDteLeqPktThresholdExceeded=frDteLeqPktThresholdExceeded, frDteStDlciExcessBurstAction=frDteStDlciExcessBurstAction, frDteFramerInterfaceName=frDteFramerInterfaceName, frDteStDlciRowStatusTable=frDteStDlciRowStatusTable, frDteStDlciHqQueueByteThreshold=frDteStDlciHqQueueByteThreshold, frDteStateTable=frDteStateTable, frDteStDlciRgLinkTable=frDteStDlciRgLinkTable, frDteRgLtDlciEntry=frDteRgLtDlciEntry, frDteDlciOperTable=frDteDlciOperTable, frDteRgBfrRowStatusTable=frDteRgBfrRowStatusTable, frDteRecvDiscardPvcDown=frDteRecvDiscardPvcDown, frDteVFramerStateTable=frDteVFramerStateTable, frDteRecvDiscardLmiInactive=frDteRecvDiscardLmiInactive, frDteDynDlciDefsStdRowStatus=frDteDynDlciDefsStdRowStatus, frDteDefragSequenceErrors=frDteDefragSequenceErrors, frDteDlci=frDteDlci, frDteStDlciProvTable=frDteStDlciProvTable, frDteDynDlciDefsProvEntry=frDteDynDlciDefsProvEntry, frDteDynDlciDefsRowStatusTable=frDteDynDlciDefsRowStatusTable, frDteDlciSentOctets=frDteDlciSentOctets, frDteLeqStorageType=frDteLeqStorageType, frDteProvEntry=frDteProvEntry, frDteLinkOperState=frDteLinkOperState, frDteStDlciHqTStatsTable=frDteStDlciHqTStatsTable, frDteLeqStatsEntry=frDteLeqStatsEntry, frDteDlciStateEntry=frDteDlciStateEntry, frDteDlciRowStatus=frDteDlciRowStatus, frDteRgRowStatusEntry=frDteRgRowStatusEntry, frDteStDlciHqMaxMsecData=frDteStDlciHqMaxMsecData, frDteLeqTotalMulticastPkt=frDteLeqTotalMulticastPkt, frDteRowStatusEntry=frDteRowStatusEntry, frDteDynDlciDefsExcessBurstAction=frDteDynDlciDefsExcessBurstAction, frDteVFramerStatsEntry=frDteVFramerStatsEntry, frDteDlciCommittedInformationRate=frDteDlciCommittedInformationRate, frDteStDlciHqMemThresholdExceeded=frDteStDlciHqMemThresholdExceeded, frDteStDlciHqTotalPktHandled=frDteStDlciHqTotalPktHandled, frDteErrTable=frDteErrTable, frDteVFramerComponentName=frDteVFramerComponentName, frDteCidDataTable=frDteCidDataTable, frDteIfEntryTable=frDteIfEntryTable, frDteStDlciHqRowStatusTable=frDteStDlciHqRowStatusTable, frDteAdminState=frDteAdminState, frDteRgComponentName=frDteRgComponentName, frDteLeqTimedOutPkt=frDteLeqTimedOutPkt, frDteRgMpEntry=frDteRgMpEntry, frDteLeqCurrentPktQueued=frDteLeqCurrentPktQueued, frDteRgMaxTransmissionUnit=frDteRgMaxTransmissionUnit, frDteStDlciHqTotalMulticastPkt=frDteStDlciHqTotalMulticastPkt, frDteDlcmiUnknownIe=frDteDlcmiUnknownIe, frDteRgUsageState=frDteRgUsageState, frDteRg=frDteRg, frDteDlciExcessBurst=frDteDlciExcessBurst, frDteDynDlciDefsIpCos=frDteDynDlciDefsIpCos, frDteDlciStateTable=frDteDlciStateTable, frDteRgMpTable=frDteRgMpTable, frDteStateEntry=frDteStateEntry, frDteFramerRowStatus=frDteFramerRowStatus, frDteRgOperStatusEntry=frDteRgOperStatusEntry, frDteRgRowStatus=frDteRgRowStatus, frDteLmiErrorThreshold=frDteLmiErrorThreshold, frDteFramerCrcErrors=frDteFramerCrcErrors, frDteVFramerStatsTable=frDteVFramerStatsTable, frDteDlciCommittedBurst=frDteDlciCommittedBurst) mibBuilder.exportSymbols("Nortel-Magellan-Passport-FrameRelayDteMIB", frDteFramerNormPrioLinkUtilFromIf=frDteFramerNormPrioLinkUtilFromIf, frDteVFramerLogicalProcessor=frDteVFramerLogicalProcessor, frDteXmitDiscardCirExceeded=frDteXmitDiscardCirExceeded, frDteLmiProvEntry=frDteLmiProvEntry, frDteLeqThrStatsEntry=frDteLeqThrStatsEntry, frDteRgSnmpOperStatus=frDteRgSnmpOperStatus, frDteRgRowStatusTable=frDteRgRowStatusTable, frDteFramerUnderruns=frDteFramerUnderruns, frDteRowStatus=frDteRowStatus, frDteFramerOverruns=frDteFramerOverruns, frDteLeqIndex=frDteLeqIndex, frameRelayDteGroup=frameRelayDteGroup, frDteDlciCreationTime=frDteDlciCreationTime, frDteStDlciCommittedBurst=frDteStDlciCommittedBurst, frDteDlciOperEntry=frDteDlciOperEntry, frDteDlciReceivedBECNs=frDteDlciReceivedBECNs, frDteOperationalState=frDteOperationalState, frDteRgBfrRowStatusEntry=frDteRgBfrRowStatusEntry, frDteRgLtDlciRowStatus=frDteRgLtDlciRowStatus, frDteXmitDiscardPvcInactive=frDteXmitDiscardPvcInactive, frDteStDlciComponentName=frDteStDlciComponentName, frDteRgBfrOprEntry=frDteRgBfrOprEntry, frDteLeqCurrentBytesQueued=frDteLeqCurrentBytesQueued, frDteLeqMaxPercentMulticast=frDteLeqMaxPercentMulticast, frDteBadFc=frDteBadFc, frDteStDlciHqProvTable=frDteStDlciHqProvTable, frDteDlciReceivedFECNs=frDteDlciReceivedFECNs, frDteFramerRowStatusTable=frDteFramerRowStatusTable, frDteStDlciHqQueuePktThreshold=frDteStDlciHqQueuePktThreshold, frDteLmiComponentName=frDteLmiComponentName, frDteDynDlciDefsStorageType=frDteDynDlciDefsStorageType, frDteLeqCStatsTable=frDteLeqCStatsTable, frDteLeqStatsTable=frDteLeqStatsTable, frDteLeqQueueByteThreshold=frDteLeqQueueByteThreshold, frDteStDlciHqMaxPackets=frDteStDlciHqMaxPackets, frDteVFramerRowStatusTable=frDteVFramerRowStatusTable, frDteErrFaults=frDteErrFaults, frDteIfIndex=frDteIfIndex, frDteFramerFrmFromIf=frDteFramerFrmFromIf, frDteAcceptUndefinedDlci=frDteAcceptUndefinedDlci, frDteDynDlciDefsCommittedBurst=frDteDynDlciDefsCommittedBurst, frDteDlciStorageType=frDteDlciStorageType, frDteOperStatusTable=frDteOperStatusTable, frDteLeqTotalPktDiscards=frDteLeqTotalPktDiscards, frDteDlciIndex=frDteDlciIndex, frDteLmiRowStatusTable=frDteLmiRowStatusTable, frDteLeqQueuePktThreshold=frDteLeqQueuePktThreshold, frDteDlciLastTimeChange=frDteDlciLastTimeChange, frDteVFramer=frDteVFramer, frDteVFramerFrmFromOtherVFramer=frDteVFramerFrmFromOtherVFramer, frDteLmiStorageType=frDteLmiStorageType, frDteLmiIndex=frDteLmiIndex, frDteLmiPollingInterval=frDteLmiPollingInterval, frDteLeqQueueMulticastThreshold=frDteLeqQueueMulticastThreshold, frDteFramerLrcErrors=frDteFramerLrcErrors, frDteFramerLargeFrmErrors=frDteFramerLargeFrmErrors, frDteStDlciHqQueuePurgeDiscards=frDteStDlciHqQueuePurgeDiscards, frDteOperTable=frDteOperTable, frDteFramerNormPrioLinkUtilToIf=frDteFramerNormPrioLinkUtilToIf, frDteDlcmiUnknownRpt=frDteDlcmiUnknownRpt, frDteStDlciHqMulThresholdExceeded=frDteStDlciHqMulThresholdExceeded, frDteStorageType=frDteStorageType, frDteErrStatsTable=frDteErrStatsTable, frDteRgIndex=frDteRgIndex)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, single_value_constraint, constraints_intersection, value_range_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ValueSizeConstraint') (row_status, integer32, gauge32, counter32, passport_counter64, storage_type, interface_index, unsigned32, display_string) = mibBuilder.importSymbols('Nortel-Magellan-Passport-StandardTextualConventionsMIB', 'RowStatus', 'Integer32', 'Gauge32', 'Counter32', 'PassportCounter64', 'StorageType', 'InterfaceIndex', 'Unsigned32', 'DisplayString') (non_replicated, hex_string, enterprise_date_and_time, link, dashed_hex_string) = mibBuilder.importSymbols('Nortel-Magellan-Passport-TextualConventionsMIB', 'NonReplicated', 'HexString', 'EnterpriseDateAndTime', 'Link', 'DashedHexString') (components, passport_mi_bs) = mibBuilder.importSymbols('Nortel-Magellan-Passport-UsefulDefinitionsMIB', 'components', 'passportMIBs') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (integer32, gauge32, counter32, object_identity, unsigned32, mib_identifier, notification_type, bits, counter64, mib_scalar, mib_table, mib_table_row, mib_table_column, iso, ip_address, module_identity, time_ticks) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'Gauge32', 'Counter32', 'ObjectIdentity', 'Unsigned32', 'MibIdentifier', 'NotificationType', 'Bits', 'Counter64', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'iso', 'IpAddress', 'ModuleIdentity', 'TimeTicks') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') frame_relay_dte_mib = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 32)) fr_dte = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101)) fr_dte_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 1)) if mibBuilder.loadTexts: frDteRowStatusTable.setStatus('mandatory') fr_dte_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex')) if mibBuilder.loadTexts: frDteRowStatusEntry.setStatus('mandatory') fr_dte_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteRowStatus.setStatus('mandatory') fr_dte_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteComponentName.setStatus('mandatory') fr_dte_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStorageType.setStatus('mandatory') fr_dte_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))) if mibBuilder.loadTexts: frDteIndex.setStatus('mandatory') fr_dte_cid_data_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 20)) if mibBuilder.loadTexts: frDteCidDataTable.setStatus('mandatory') fr_dte_cid_data_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 20, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex')) if mibBuilder.loadTexts: frDteCidDataEntry.setStatus('mandatory') fr_dte_customer_identifier = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 20, 1, 1), unsigned32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 8191)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteCustomerIdentifier.setStatus('mandatory') fr_dte_if_entry_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 21)) if mibBuilder.loadTexts: frDteIfEntryTable.setStatus('mandatory') fr_dte_if_entry_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 21, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex')) if mibBuilder.loadTexts: frDteIfEntryEntry.setStatus('mandatory') fr_dte_if_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 21, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('testing', 3))).clone('up')).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteIfAdminStatus.setStatus('mandatory') fr_dte_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 21, 1, 2), interface_index().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteIfIndex.setStatus('mandatory') fr_dte_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 22)) if mibBuilder.loadTexts: frDteProvTable.setStatus('mandatory') fr_dte_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 22, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex')) if mibBuilder.loadTexts: frDteProvEntry.setStatus('mandatory') fr_dte_accept_undefined_dlci = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 22, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteAcceptUndefinedDlci.setStatus('mandatory') fr_dte_state_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 23)) if mibBuilder.loadTexts: frDteStateTable.setStatus('mandatory') fr_dte_state_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 23, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex')) if mibBuilder.loadTexts: frDteStateEntry.setStatus('mandatory') fr_dte_admin_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 23, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('locked', 0), ('unlocked', 1), ('shuttingDown', 2))).clone('unlocked')).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteAdminState.setStatus('mandatory') fr_dte_operational_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 23, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteOperationalState.setStatus('mandatory') fr_dte_usage_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 23, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('idle', 0), ('active', 1), ('busy', 2))).clone('idle')).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteUsageState.setStatus('mandatory') fr_dte_oper_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 24)) if mibBuilder.loadTexts: frDteOperStatusTable.setStatus('mandatory') fr_dte_oper_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 24, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex')) if mibBuilder.loadTexts: frDteOperStatusEntry.setStatus('mandatory') fr_dte_snmp_oper_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 24, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('testing', 3))).clone('up')).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteSnmpOperStatus.setStatus('mandatory') fr_dte_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 25)) if mibBuilder.loadTexts: frDteOperTable.setStatus('mandatory') fr_dte_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 25, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex')) if mibBuilder.loadTexts: frDteOperEntry.setStatus('mandatory') fr_dte_link_oper_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 25, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('active', 1), ('down', 2), ('polling', 3))).clone('down')).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLinkOperState.setStatus('mandatory') fr_dte_err_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 26)) if mibBuilder.loadTexts: frDteErrTable.setStatus('mandatory') fr_dte_err_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 26, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex')) if mibBuilder.loadTexts: frDteErrEntry.setStatus('mandatory') fr_dte_err_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 26, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('unknownError', 1), ('receiveShort', 2), ('receiveLong', 3), ('illegalDlci', 4), ('dlcmiProtoErr', 5), ('dlcmiUnknownIe', 6), ('dlcmiSequenceErr', 7), ('dlcmiUnknownRpt', 8), ('noErrorSinceReset', 9))).clone('noErrorSinceReset')).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteErrType.setStatus('mandatory') fr_dte_err_data = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 26, 1, 3), hex_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteErrData.setStatus('mandatory') fr_dte_err_time = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 26, 1, 4), enterprise_date_and_time().subtype(subtypeSpec=constraints_union(value_size_constraint(0, 0), value_size_constraint(19, 19)))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteErrTime.setStatus('mandatory') fr_dte_err_discards = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 26, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteErrDiscards.setStatus('mandatory') fr_dte_err_faults = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 26, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteErrFaults.setStatus('mandatory') fr_dte_err_fault_time = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 26, 1, 8), enterprise_date_and_time().subtype(subtypeSpec=constraints_union(value_size_constraint(0, 0), value_size_constraint(19, 19)))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteErrFaultTime.setStatus('mandatory') fr_dte_err_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27)) if mibBuilder.loadTexts: frDteErrStatsTable.setStatus('mandatory') fr_dte_err_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex')) if mibBuilder.loadTexts: frDteErrStatsEntry.setStatus('mandatory') fr_dte_xmit_discard_pvc_down = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteXmitDiscardPvcDown.setStatus('mandatory') fr_dte_xmit_discard_lmi_inactive = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteXmitDiscardLmiInactive.setStatus('mandatory') fr_dte_xmit_discard_framer_down = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteXmitDiscardFramerDown.setStatus('mandatory') fr_dte_xmit_discard_pvc_inactive = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteXmitDiscardPvcInactive.setStatus('mandatory') fr_dte_xmit_discard_cir_exceeded = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteXmitDiscardCirExceeded.setStatus('mandatory') fr_dte_recv_discard_pvc_down = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteRecvDiscardPvcDown.setStatus('mandatory') fr_dte_recv_discard_lmi_inactive = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteRecvDiscardLmiInactive.setStatus('mandatory') fr_dte_recv_discard_pvc_inactive = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteRecvDiscardPvcInactive.setStatus('mandatory') fr_dte_bad_fc = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteBadFc.setStatus('mandatory') fr_dte_ulp_unknown_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteUlpUnknownProtocol.setStatus('mandatory') fr_dte_defrag_sequence_errors = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 11), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDefragSequenceErrors.setStatus('mandatory') fr_dte_receive_short = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteReceiveShort.setStatus('mandatory') fr_dte_illegal_dlci = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteIllegalDlci.setStatus('mandatory') fr_dte_dlcmi_proto_err = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDlcmiProtoErr.setStatus('mandatory') fr_dte_dlcmi_unknown_ie = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 15), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDlcmiUnknownIe.setStatus('mandatory') fr_dte_dlcmi_sequence_err = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 16), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDlcmiSequenceErr.setStatus('mandatory') fr_dte_dlcmi_unknown_rpt = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 27, 1, 17), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDlcmiUnknownRpt.setStatus('mandatory') fr_dte_framer = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2)) fr_dte_framer_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 1)) if mibBuilder.loadTexts: frDteFramerRowStatusTable.setStatus('mandatory') fr_dte_framer_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteFramerIndex')) if mibBuilder.loadTexts: frDteFramerRowStatusEntry.setStatus('mandatory') fr_dte_framer_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteFramerRowStatus.setStatus('mandatory') fr_dte_framer_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteFramerComponentName.setStatus('mandatory') fr_dte_framer_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteFramerStorageType.setStatus('mandatory') fr_dte_framer_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: frDteFramerIndex.setStatus('mandatory') fr_dte_framer_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 10)) if mibBuilder.loadTexts: frDteFramerProvTable.setStatus('mandatory') fr_dte_framer_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteFramerIndex')) if mibBuilder.loadTexts: frDteFramerProvEntry.setStatus('mandatory') fr_dte_framer_interface_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 10, 1, 1), link()).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteFramerInterfaceName.setStatus('mandatory') fr_dte_framer_state_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 12)) if mibBuilder.loadTexts: frDteFramerStateTable.setStatus('mandatory') fr_dte_framer_state_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 12, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteFramerIndex')) if mibBuilder.loadTexts: frDteFramerStateEntry.setStatus('mandatory') fr_dte_framer_admin_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 12, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('locked', 0), ('unlocked', 1), ('shuttingDown', 2))).clone('unlocked')).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteFramerAdminState.setStatus('mandatory') fr_dte_framer_operational_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 12, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteFramerOperationalState.setStatus('mandatory') fr_dte_framer_usage_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 12, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('idle', 0), ('active', 1), ('busy', 2))).clone('idle')).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteFramerUsageState.setStatus('mandatory') fr_dte_framer_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13)) if mibBuilder.loadTexts: frDteFramerStatsTable.setStatus('mandatory') fr_dte_framer_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteFramerIndex')) if mibBuilder.loadTexts: frDteFramerStatsEntry.setStatus('mandatory') fr_dte_framer_frm_to_if = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteFramerFrmToIf.setStatus('mandatory') fr_dte_framer_frm_from_if = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteFramerFrmFromIf.setStatus('mandatory') fr_dte_framer_aborts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteFramerAborts.setStatus('mandatory') fr_dte_framer_crc_errors = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteFramerCrcErrors.setStatus('mandatory') fr_dte_framer_lrc_errors = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteFramerLrcErrors.setStatus('mandatory') fr_dte_framer_non_octet_errors = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteFramerNonOctetErrors.setStatus('mandatory') fr_dte_framer_overruns = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteFramerOverruns.setStatus('mandatory') fr_dte_framer_underruns = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteFramerUnderruns.setStatus('mandatory') fr_dte_framer_large_frm_errors = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 13, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteFramerLargeFrmErrors.setStatus('mandatory') fr_dte_framer_util_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 14)) if mibBuilder.loadTexts: frDteFramerUtilTable.setStatus('mandatory') fr_dte_framer_util_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 14, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteFramerIndex')) if mibBuilder.loadTexts: frDteFramerUtilEntry.setStatus('mandatory') fr_dte_framer_norm_prio_link_util_to_if = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 14, 1, 1), gauge32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteFramerNormPrioLinkUtilToIf.setStatus('mandatory') fr_dte_framer_norm_prio_link_util_from_if = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 2, 14, 1, 3), gauge32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteFramerNormPrioLinkUtilFromIf.setStatus('mandatory') fr_dte_lmi = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3)) fr_dte_lmi_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 1)) if mibBuilder.loadTexts: frDteLmiRowStatusTable.setStatus('mandatory') fr_dte_lmi_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteLmiIndex')) if mibBuilder.loadTexts: frDteLmiRowStatusEntry.setStatus('mandatory') fr_dte_lmi_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLmiRowStatus.setStatus('mandatory') fr_dte_lmi_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLmiComponentName.setStatus('mandatory') fr_dte_lmi_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLmiStorageType.setStatus('mandatory') fr_dte_lmi_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: frDteLmiIndex.setStatus('mandatory') fr_dte_lmi_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 10)) if mibBuilder.loadTexts: frDteLmiProvTable.setStatus('mandatory') fr_dte_lmi_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteLmiIndex')) if mibBuilder.loadTexts: frDteLmiProvEntry.setStatus('mandatory') fr_dte_lmi_procedures = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 5))).clone(namedValues=named_values(('none', 1), ('vendorForum', 2), ('ansi', 3), ('itu', 5))).clone('itu')).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteLmiProcedures.setStatus('mandatory') fr_dte_lmi_polling_interval = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 10, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(5, 30)).clone(10)).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteLmiPollingInterval.setStatus('mandatory') fr_dte_lmi_full_enquiry_interval = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 10, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 255)).clone(6)).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteLmiFullEnquiryInterval.setStatus('mandatory') fr_dte_lmi_error_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 10, 1, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 10)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteLmiErrorThreshold.setStatus('mandatory') fr_dte_lmi_monitored_events = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 10, 1, 7), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 10)).clone(4)).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteLmiMonitoredEvents.setStatus('mandatory') fr_dte_lmi_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 11)) if mibBuilder.loadTexts: frDteLmiOperTable.setStatus('mandatory') fr_dte_lmi_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 11, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteLmiIndex')) if mibBuilder.loadTexts: frDteLmiOperEntry.setStatus('mandatory') fr_dte_lmi_lmi_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 3, 11, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('running', 1), ('fault', 2), ('initializing', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLmiLmiStatus.setStatus('mandatory') fr_dte_rg = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4)) fr_dte_rg_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 1)) if mibBuilder.loadTexts: frDteRgRowStatusTable.setStatus('mandatory') fr_dte_rg_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteRgIndex')) if mibBuilder.loadTexts: frDteRgRowStatusEntry.setStatus('mandatory') fr_dte_rg_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteRgRowStatus.setStatus('mandatory') fr_dte_rg_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteRgComponentName.setStatus('mandatory') fr_dte_rg_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteRgStorageType.setStatus('mandatory') fr_dte_rg_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(1, 256))) if mibBuilder.loadTexts: frDteRgIndex.setStatus('mandatory') fr_dte_rg_if_entry_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 10)) if mibBuilder.loadTexts: frDteRgIfEntryTable.setStatus('mandatory') fr_dte_rg_if_entry_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteRgIndex')) if mibBuilder.loadTexts: frDteRgIfEntryEntry.setStatus('mandatory') fr_dte_rg_if_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('testing', 3))).clone('up')).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteRgIfAdminStatus.setStatus('mandatory') fr_dte_rg_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 10, 1, 2), interface_index().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteRgIfIndex.setStatus('mandatory') fr_dte_rg_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 11)) if mibBuilder.loadTexts: frDteRgProvTable.setStatus('mandatory') fr_dte_rg_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 11, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteRgIndex')) if mibBuilder.loadTexts: frDteRgProvEntry.setStatus('mandatory') fr_dte_rg_max_transmission_unit = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 11, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(262, 9190)).clone(1604)).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteRgMaxTransmissionUnit.setStatus('mandatory') fr_dte_rg_mp_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 12)) if mibBuilder.loadTexts: frDteRgMpTable.setStatus('mandatory') fr_dte_rg_mp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 12, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteRgIndex')) if mibBuilder.loadTexts: frDteRgMpEntry.setStatus('mandatory') fr_dte_rg_link_to_protocol_port = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 12, 1, 1), link()).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteRgLinkToProtocolPort.setStatus('mandatory') fr_dte_rg_state_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 13)) if mibBuilder.loadTexts: frDteRgStateTable.setStatus('mandatory') fr_dte_rg_state_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 13, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteRgIndex')) if mibBuilder.loadTexts: frDteRgStateEntry.setStatus('mandatory') fr_dte_rg_admin_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 13, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('locked', 0), ('unlocked', 1), ('shuttingDown', 2))).clone('unlocked')).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteRgAdminState.setStatus('mandatory') fr_dte_rg_operational_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 13, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteRgOperationalState.setStatus('mandatory') fr_dte_rg_usage_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 13, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('idle', 0), ('active', 1), ('busy', 2))).clone('idle')).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteRgUsageState.setStatus('mandatory') fr_dte_rg_oper_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 14)) if mibBuilder.loadTexts: frDteRgOperStatusTable.setStatus('mandatory') fr_dte_rg_oper_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 14, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteRgIndex')) if mibBuilder.loadTexts: frDteRgOperStatusEntry.setStatus('mandatory') fr_dte_rg_snmp_oper_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 14, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('testing', 3))).clone('up')).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteRgSnmpOperStatus.setStatus('mandatory') fr_dte_rg_lt_dlci_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 219)) if mibBuilder.loadTexts: frDteRgLtDlciTable.setStatus('mandatory') fr_dte_rg_lt_dlci_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 219, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteRgIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteRgLtDlciValue')) if mibBuilder.loadTexts: frDteRgLtDlciEntry.setStatus('mandatory') fr_dte_rg_lt_dlci_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 219, 1, 1), link()).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteRgLtDlciValue.setStatus('mandatory') fr_dte_rg_lt_dlci_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 219, 1, 2), row_status()).setMaxAccess('writeonly') if mibBuilder.loadTexts: frDteRgLtDlciRowStatus.setStatus('mandatory') fr_dte_rg_bfr = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15)) fr_dte_rg_bfr_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 1)) if mibBuilder.loadTexts: frDteRgBfrRowStatusTable.setStatus('mandatory') fr_dte_rg_bfr_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteRgIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteRgBfrIndex')) if mibBuilder.loadTexts: frDteRgBfrRowStatusEntry.setStatus('mandatory') fr_dte_rg_bfr_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteRgBfrRowStatus.setStatus('mandatory') fr_dte_rg_bfr_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteRgBfrComponentName.setStatus('mandatory') fr_dte_rg_bfr_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteRgBfrStorageType.setStatus('mandatory') fr_dte_rg_bfr_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: frDteRgBfrIndex.setStatus('mandatory') fr_dte_rg_bfr_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 10)) if mibBuilder.loadTexts: frDteRgBfrProvTable.setStatus('mandatory') fr_dte_rg_bfr_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteRgIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteRgBfrIndex')) if mibBuilder.loadTexts: frDteRgBfrProvEntry.setStatus('mandatory') fr_dte_rg_bfr_mac_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('fddi', 0), ('enet', 1), ('tokenRing', 2))).clone('enet')).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteRgBfrMacType.setStatus('mandatory') fr_dte_rg_bfr_bfr_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 10, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 511))).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteRgBfrBfrIndex.setStatus('mandatory') fr_dte_rg_bfr_opr_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 11)) if mibBuilder.loadTexts: frDteRgBfrOprTable.setStatus('mandatory') fr_dte_rg_bfr_opr_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 11, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteRgIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteRgBfrIndex')) if mibBuilder.loadTexts: frDteRgBfrOprEntry.setStatus('mandatory') fr_dte_rg_bfr_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 4, 15, 11, 1, 1), dashed_hex_string().subtype(subtypeSpec=value_size_constraint(6, 6)).setFixedLength(6)).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteRgBfrMacAddr.setStatus('mandatory') fr_dte_dyn_dlci_defs = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5)) fr_dte_dyn_dlci_defs_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 1)) if mibBuilder.loadTexts: frDteDynDlciDefsRowStatusTable.setStatus('mandatory') fr_dte_dyn_dlci_defs_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteDynDlciDefsIndex')) if mibBuilder.loadTexts: frDteDynDlciDefsRowStatusEntry.setStatus('mandatory') fr_dte_dyn_dlci_defs_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDynDlciDefsRowStatus.setStatus('mandatory') fr_dte_dyn_dlci_defs_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDynDlciDefsComponentName.setStatus('mandatory') fr_dte_dyn_dlci_defs_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDynDlciDefsStorageType.setStatus('mandatory') fr_dte_dyn_dlci_defs_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: frDteDynDlciDefsIndex.setStatus('mandatory') fr_dte_dyn_dlci_defs_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 10)) if mibBuilder.loadTexts: frDteDynDlciDefsProvTable.setStatus('mandatory') fr_dte_dyn_dlci_defs_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteDynDlciDefsIndex')) if mibBuilder.loadTexts: frDteDynDlciDefsProvEntry.setStatus('mandatory') fr_dte_dyn_dlci_defs_std_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('active', 1), ('notInService', 2))).clone('active')).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteDynDlciDefsStdRowStatus.setStatus('mandatory') fr_dte_dyn_dlci_defs_rate_enforcement = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 10, 1, 2), 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: frDteDynDlciDefsRateEnforcement.setStatus('mandatory') fr_dte_dyn_dlci_defs_committed_information_rate = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 10, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 48000000)).clone(64000)).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteDynDlciDefsCommittedInformationRate.setStatus('mandatory') fr_dte_dyn_dlci_defs_committed_burst = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 10, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 2048000)).clone(64000)).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteDynDlciDefsCommittedBurst.setStatus('mandatory') fr_dte_dyn_dlci_defs_excess_burst = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 10, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 2048000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteDynDlciDefsExcessBurst.setStatus('mandatory') fr_dte_dyn_dlci_defs_excess_burst_action = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 10, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('none', 1), ('setDeBit', 2))).clone('none')).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteDynDlciDefsExcessBurstAction.setStatus('mandatory') fr_dte_dyn_dlci_defs_ip_cos = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 5, 10, 1, 7), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 3))).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteDynDlciDefsIpCos.setStatus('mandatory') fr_dte_st_dlci = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6)) fr_dte_st_dlci_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 1)) if mibBuilder.loadTexts: frDteStDlciRowStatusTable.setStatus('mandatory') fr_dte_st_dlci_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteStDlciIndex')) if mibBuilder.loadTexts: frDteStDlciRowStatusEntry.setStatus('mandatory') fr_dte_st_dlci_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteStDlciRowStatus.setStatus('mandatory') fr_dte_st_dlci_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStDlciComponentName.setStatus('mandatory') fr_dte_st_dlci_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStDlciStorageType.setStatus('mandatory') fr_dte_st_dlci_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(16, 1007))) if mibBuilder.loadTexts: frDteStDlciIndex.setStatus('mandatory') fr_dte_st_dlci_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 10)) if mibBuilder.loadTexts: frDteStDlciProvTable.setStatus('mandatory') fr_dte_st_dlci_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteStDlciIndex')) if mibBuilder.loadTexts: frDteStDlciProvEntry.setStatus('mandatory') fr_dte_st_dlci_std_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('active', 1), ('notInService', 2))).clone('active')).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteStDlciStdRowStatus.setStatus('mandatory') fr_dte_st_dlci_rate_enforcement = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 10, 1, 2), 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: frDteStDlciRateEnforcement.setStatus('mandatory') fr_dte_st_dlci_committed_information_rate = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 10, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 48000000)).clone(64000)).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteStDlciCommittedInformationRate.setStatus('mandatory') fr_dte_st_dlci_committed_burst = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 10, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 2048000)).clone(64000)).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteStDlciCommittedBurst.setStatus('mandatory') fr_dte_st_dlci_excess_burst = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 10, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 2048000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteStDlciExcessBurst.setStatus('mandatory') fr_dte_st_dlci_excess_burst_action = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 10, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('none', 1), ('setDeBit', 2))).clone('none')).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteStDlciExcessBurstAction.setStatus('mandatory') fr_dte_st_dlci_ip_cos = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 10, 1, 7), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 3))).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteStDlciIpCos.setStatus('mandatory') fr_dte_st_dlci_rg_link_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 11)) if mibBuilder.loadTexts: frDteStDlciRgLinkTable.setStatus('mandatory') fr_dte_st_dlci_rg_link_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 11, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteStDlciIndex')) if mibBuilder.loadTexts: frDteStDlciRgLinkEntry.setStatus('mandatory') fr_dte_st_dlci_link_to_remote_group = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 11, 1, 1), link()).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteStDlciLinkToRemoteGroup.setStatus('mandatory') fr_dte_st_dlci_hq = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2)) fr_dte_st_dlci_hq_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 1)) if mibBuilder.loadTexts: frDteStDlciHqRowStatusTable.setStatus('mandatory') fr_dte_st_dlci_hq_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteStDlciIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteStDlciHqIndex')) if mibBuilder.loadTexts: frDteStDlciHqRowStatusEntry.setStatus('mandatory') fr_dte_st_dlci_hq_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteStDlciHqRowStatus.setStatus('mandatory') fr_dte_st_dlci_hq_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStDlciHqComponentName.setStatus('mandatory') fr_dte_st_dlci_hq_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStDlciHqStorageType.setStatus('mandatory') fr_dte_st_dlci_hq_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: frDteStDlciHqIndex.setStatus('mandatory') fr_dte_st_dlci_hq_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 10)) if mibBuilder.loadTexts: frDteStDlciHqProvTable.setStatus('mandatory') fr_dte_st_dlci_hq_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteStDlciIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteStDlciHqIndex')) if mibBuilder.loadTexts: frDteStDlciHqProvEntry.setStatus('mandatory') fr_dte_st_dlci_hq_max_packets = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 10, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 2048))).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteStDlciHqMaxPackets.setStatus('mandatory') fr_dte_st_dlci_hq_max_msec_data = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 10, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(100, 60000)).clone(10000)).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteStDlciHqMaxMsecData.setStatus('mandatory') fr_dte_st_dlci_hq_max_percent_multicast = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 10, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 100)).clone(50)).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteStDlciHqMaxPercentMulticast.setStatus('mandatory') fr_dte_st_dlci_hq_time_to_live = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 10, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(100, 60000)).clone(10000)).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteStDlciHqTimeToLive.setStatus('mandatory') fr_dte_st_dlci_hq_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 11)) if mibBuilder.loadTexts: frDteStDlciHqStatsTable.setStatus('mandatory') fr_dte_st_dlci_hq_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 11, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteStDlciIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteStDlciHqIndex')) if mibBuilder.loadTexts: frDteStDlciHqStatsEntry.setStatus('mandatory') fr_dte_st_dlci_hq_timed_out_pkt = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 11, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStDlciHqTimedOutPkt.setStatus('mandatory') fr_dte_st_dlci_hq_queue_purge_discards = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 11, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStDlciHqQueuePurgeDiscards.setStatus('mandatory') fr_dte_st_dlci_hq_t_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 12)) if mibBuilder.loadTexts: frDteStDlciHqTStatsTable.setStatus('mandatory') fr_dte_st_dlci_hq_t_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 12, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteStDlciIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteStDlciHqIndex')) if mibBuilder.loadTexts: frDteStDlciHqTStatsEntry.setStatus('mandatory') fr_dte_st_dlci_hq_total_pkt_handled = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 12, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStDlciHqTotalPktHandled.setStatus('mandatory') fr_dte_st_dlci_hq_total_pkt_forwarded = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 12, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStDlciHqTotalPktForwarded.setStatus('mandatory') fr_dte_st_dlci_hq_total_pkt_queued = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 12, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStDlciHqTotalPktQueued.setStatus('mandatory') fr_dte_st_dlci_hq_total_multicast_pkt = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 12, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStDlciHqTotalMulticastPkt.setStatus('mandatory') fr_dte_st_dlci_hq_total_pkt_discards = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 12, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStDlciHqTotalPktDiscards.setStatus('mandatory') fr_dte_st_dlci_hq_c_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 13)) if mibBuilder.loadTexts: frDteStDlciHqCStatsTable.setStatus('mandatory') fr_dte_st_dlci_hq_c_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 13, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteStDlciIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteStDlciHqIndex')) if mibBuilder.loadTexts: frDteStDlciHqCStatsEntry.setStatus('mandatory') fr_dte_st_dlci_hq_current_pkt_queued = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 13, 1, 1), gauge32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStDlciHqCurrentPktQueued.setStatus('mandatory') fr_dte_st_dlci_hq_current_bytes_queued = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 13, 1, 2), gauge32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStDlciHqCurrentBytesQueued.setStatus('mandatory') fr_dte_st_dlci_hq_current_multicast_queued = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 13, 1, 3), gauge32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStDlciHqCurrentMulticastQueued.setStatus('mandatory') fr_dte_st_dlci_hq_thr_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 14)) if mibBuilder.loadTexts: frDteStDlciHqThrStatsTable.setStatus('mandatory') fr_dte_st_dlci_hq_thr_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 14, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteStDlciIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteStDlciHqIndex')) if mibBuilder.loadTexts: frDteStDlciHqThrStatsEntry.setStatus('mandatory') fr_dte_st_dlci_hq_queue_pkt_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 14, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStDlciHqQueuePktThreshold.setStatus('mandatory') fr_dte_st_dlci_hq_pkt_threshold_exceeded = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 14, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStDlciHqPktThresholdExceeded.setStatus('mandatory') fr_dte_st_dlci_hq_queue_byte_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 14, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStDlciHqQueueByteThreshold.setStatus('mandatory') fr_dte_st_dlci_hq_byte_threshold_exceeded = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 14, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStDlciHqByteThresholdExceeded.setStatus('mandatory') fr_dte_st_dlci_hq_queue_multicast_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 14, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStDlciHqQueueMulticastThreshold.setStatus('mandatory') fr_dte_st_dlci_hq_mul_threshold_exceeded = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 14, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStDlciHqMulThresholdExceeded.setStatus('mandatory') fr_dte_st_dlci_hq_mem_threshold_exceeded = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 6, 2, 14, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteStDlciHqMemThresholdExceeded.setStatus('mandatory') fr_dte_leq = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7)) fr_dte_leq_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 1)) if mibBuilder.loadTexts: frDteLeqRowStatusTable.setStatus('mandatory') fr_dte_leq_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteLeqIndex')) if mibBuilder.loadTexts: frDteLeqRowStatusEntry.setStatus('mandatory') fr_dte_leq_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteLeqRowStatus.setStatus('mandatory') fr_dte_leq_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLeqComponentName.setStatus('mandatory') fr_dte_leq_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLeqStorageType.setStatus('mandatory') fr_dte_leq_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: frDteLeqIndex.setStatus('mandatory') fr_dte_leq_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 10)) if mibBuilder.loadTexts: frDteLeqProvTable.setStatus('mandatory') fr_dte_leq_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteLeqIndex')) if mibBuilder.loadTexts: frDteLeqProvEntry.setStatus('mandatory') fr_dte_leq_max_packets = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 10, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 2048))).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteLeqMaxPackets.setStatus('mandatory') fr_dte_leq_max_msec_data = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 10, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(100, 60000)).clone(10000)).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteLeqMaxMsecData.setStatus('mandatory') fr_dte_leq_max_percent_multicast = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 10, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 100)).clone(50)).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteLeqMaxPercentMulticast.setStatus('mandatory') fr_dte_leq_time_to_live = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 10, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(100, 60000)).clone(10000)).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteLeqTimeToLive.setStatus('mandatory') fr_dte_leq_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 11)) if mibBuilder.loadTexts: frDteLeqStatsTable.setStatus('mandatory') fr_dte_leq_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 11, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteLeqIndex')) if mibBuilder.loadTexts: frDteLeqStatsEntry.setStatus('mandatory') fr_dte_leq_timed_out_pkt = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 11, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLeqTimedOutPkt.setStatus('mandatory') fr_dte_leq_hardware_forced_pkt = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 11, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLeqHardwareForcedPkt.setStatus('mandatory') fr_dte_leq_forced_pkt_discards = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 11, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLeqForcedPktDiscards.setStatus('mandatory') fr_dte_leq_queue_purge_discards = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 11, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLeqQueuePurgeDiscards.setStatus('mandatory') fr_dte_leq_t_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 12)) if mibBuilder.loadTexts: frDteLeqTStatsTable.setStatus('mandatory') fr_dte_leq_t_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 12, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteLeqIndex')) if mibBuilder.loadTexts: frDteLeqTStatsEntry.setStatus('mandatory') fr_dte_leq_total_pkt_handled = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 12, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLeqTotalPktHandled.setStatus('mandatory') fr_dte_leq_total_pkt_forwarded = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 12, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLeqTotalPktForwarded.setStatus('mandatory') fr_dte_leq_total_pkt_queued = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 12, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLeqTotalPktQueued.setStatus('mandatory') fr_dte_leq_total_multicast_pkt = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 12, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLeqTotalMulticastPkt.setStatus('mandatory') fr_dte_leq_total_pkt_discards = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 12, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLeqTotalPktDiscards.setStatus('mandatory') fr_dte_leq_c_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 13)) if mibBuilder.loadTexts: frDteLeqCStatsTable.setStatus('mandatory') fr_dte_leq_c_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 13, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteLeqIndex')) if mibBuilder.loadTexts: frDteLeqCStatsEntry.setStatus('mandatory') fr_dte_leq_current_pkt_queued = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 13, 1, 1), gauge32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLeqCurrentPktQueued.setStatus('mandatory') fr_dte_leq_current_bytes_queued = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 13, 1, 2), gauge32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLeqCurrentBytesQueued.setStatus('mandatory') fr_dte_leq_current_multicast_queued = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 13, 1, 3), gauge32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLeqCurrentMulticastQueued.setStatus('mandatory') fr_dte_leq_thr_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 14)) if mibBuilder.loadTexts: frDteLeqThrStatsTable.setStatus('mandatory') fr_dte_leq_thr_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 14, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteLeqIndex')) if mibBuilder.loadTexts: frDteLeqThrStatsEntry.setStatus('mandatory') fr_dte_leq_queue_pkt_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 14, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLeqQueuePktThreshold.setStatus('mandatory') fr_dte_leq_pkt_threshold_exceeded = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 14, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLeqPktThresholdExceeded.setStatus('mandatory') fr_dte_leq_queue_byte_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 14, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLeqQueueByteThreshold.setStatus('mandatory') fr_dte_leq_byte_threshold_exceeded = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 14, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLeqByteThresholdExceeded.setStatus('mandatory') fr_dte_leq_queue_multicast_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 14, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLeqQueueMulticastThreshold.setStatus('mandatory') fr_dte_leq_mul_threshold_exceeded = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 14, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLeqMulThresholdExceeded.setStatus('mandatory') fr_dte_leq_mem_threshold_exceeded = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 7, 14, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteLeqMemThresholdExceeded.setStatus('mandatory') fr_dte_dlci = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8)) fr_dte_dlci_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 1)) if mibBuilder.loadTexts: frDteDlciRowStatusTable.setStatus('mandatory') fr_dte_dlci_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteDlciIndex')) if mibBuilder.loadTexts: frDteDlciRowStatusEntry.setStatus('mandatory') fr_dte_dlci_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDlciRowStatus.setStatus('mandatory') fr_dte_dlci_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDlciComponentName.setStatus('mandatory') fr_dte_dlci_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDlciStorageType.setStatus('mandatory') fr_dte_dlci_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 1023))) if mibBuilder.loadTexts: frDteDlciIndex.setStatus('mandatory') fr_dte_dlci_state_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 10)) if mibBuilder.loadTexts: frDteDlciStateTable.setStatus('mandatory') fr_dte_dlci_state_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteDlciIndex')) if mibBuilder.loadTexts: frDteDlciStateEntry.setStatus('mandatory') fr_dte_dlci_admin_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('locked', 0), ('unlocked', 1), ('shuttingDown', 2))).clone('unlocked')).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDlciAdminState.setStatus('mandatory') fr_dte_dlci_operational_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 10, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDlciOperationalState.setStatus('mandatory') fr_dte_dlci_usage_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 10, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('idle', 0), ('active', 1), ('busy', 2))).clone('idle')).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDlciUsageState.setStatus('mandatory') fr_dte_dlci_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11)) if mibBuilder.loadTexts: frDteDlciOperTable.setStatus('mandatory') fr_dte_dlci_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteDlciIndex')) if mibBuilder.loadTexts: frDteDlciOperEntry.setStatus('mandatory') fr_dte_dlci_dlci_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('invalid', 1), ('active', 2), ('inactive', 3))).clone('inactive')).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDlciDlciState.setStatus('mandatory') fr_dte_dlci_last_time_change = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 5), enterprise_date_and_time().subtype(subtypeSpec=constraints_union(value_size_constraint(0, 0), value_size_constraint(19, 19)))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDlciLastTimeChange.setStatus('mandatory') fr_dte_dlci_sent_frames = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDlciSentFrames.setStatus('mandatory') fr_dte_dlci_sent_octets = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDlciSentOctets.setStatus('mandatory') fr_dte_dlci_received_frames = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDlciReceivedFrames.setStatus('mandatory') fr_dte_dlci_received_octets = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDlciReceivedOctets.setStatus('mandatory') fr_dte_dlci_received_fec_ns = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 11), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDlciReceivedFECNs.setStatus('mandatory') fr_dte_dlci_received_bec_ns = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDlciReceivedBECNs.setStatus('mandatory') fr_dte_dlci_discarded_frames = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDlciDiscardedFrames.setStatus('mandatory') fr_dte_dlci_creation_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('static', 1), ('dynamic', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDlciCreationType.setStatus('mandatory') fr_dte_dlci_creation_time = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 15), enterprise_date_and_time().subtype(subtypeSpec=constraints_union(value_size_constraint(0, 0), value_size_constraint(19, 19)))).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteDlciCreationTime.setStatus('mandatory') fr_dte_dlci_rate_enforcement = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 17), 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: frDteDlciRateEnforcement.setStatus('mandatory') fr_dte_dlci_committed_information_rate = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 18), gauge32().subtype(subtypeSpec=value_range_constraint(0, 48000000)).clone(64000)).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteDlciCommittedInformationRate.setStatus('mandatory') fr_dte_dlci_committed_burst = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 19), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 2048000)).clone(64000)).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteDlciCommittedBurst.setStatus('mandatory') fr_dte_dlci_excess_burst = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 20), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 2048000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteDlciExcessBurst.setStatus('mandatory') fr_dte_dlci_excess_burst_action = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 8, 11, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('none', 1), ('setDeBit', 2))).clone('none')).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteDlciExcessBurstAction.setStatus('mandatory') fr_dte_v_framer = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9)) fr_dte_v_framer_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 1)) if mibBuilder.loadTexts: frDteVFramerRowStatusTable.setStatus('mandatory') fr_dte_v_framer_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteVFramerIndex')) if mibBuilder.loadTexts: frDteVFramerRowStatusEntry.setStatus('mandatory') fr_dte_v_framer_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteVFramerRowStatus.setStatus('mandatory') fr_dte_v_framer_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteVFramerComponentName.setStatus('mandatory') fr_dte_v_framer_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteVFramerStorageType.setStatus('mandatory') fr_dte_v_framer_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: frDteVFramerIndex.setStatus('mandatory') fr_dte_v_framer_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 10)) if mibBuilder.loadTexts: frDteVFramerProvTable.setStatus('mandatory') fr_dte_v_framer_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteVFramerIndex')) if mibBuilder.loadTexts: frDteVFramerProvEntry.setStatus('mandatory') fr_dte_v_framer_other_virtual_framer = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 10, 1, 1), link()).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteVFramerOtherVirtualFramer.setStatus('mandatory') fr_dte_v_framer_logical_processor = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 10, 1, 2), link()).setMaxAccess('readwrite') if mibBuilder.loadTexts: frDteVFramerLogicalProcessor.setStatus('mandatory') fr_dte_v_framer_state_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 11)) if mibBuilder.loadTexts: frDteVFramerStateTable.setStatus('mandatory') fr_dte_v_framer_state_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 11, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteVFramerIndex')) if mibBuilder.loadTexts: frDteVFramerStateEntry.setStatus('mandatory') fr_dte_v_framer_admin_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 11, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('locked', 0), ('unlocked', 1), ('shuttingDown', 2))).clone('unlocked')).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteVFramerAdminState.setStatus('mandatory') fr_dte_v_framer_operational_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 11, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteVFramerOperationalState.setStatus('mandatory') fr_dte_v_framer_usage_state = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 11, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('idle', 0), ('active', 1), ('busy', 2))).clone('idle')).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteVFramerUsageState.setStatus('mandatory') fr_dte_v_framer_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 12)) if mibBuilder.loadTexts: frDteVFramerStatsTable.setStatus('mandatory') fr_dte_v_framer_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 12, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteIndex'), (0, 'Nortel-Magellan-Passport-FrameRelayDteMIB', 'frDteVFramerIndex')) if mibBuilder.loadTexts: frDteVFramerStatsEntry.setStatus('mandatory') fr_dte_v_framer_frm_to_other_v_framer = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 12, 1, 2), passport_counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteVFramerFrmToOtherVFramer.setStatus('mandatory') fr_dte_v_framer_frm_from_other_v_framer = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 12, 1, 3), passport_counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteVFramerFrmFromOtherVFramer.setStatus('mandatory') fr_dte_v_framer_octet_from_other_v_framer = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 101, 9, 12, 1, 5), passport_counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: frDteVFramerOctetFromOtherVFramer.setStatus('mandatory') frame_relay_dte_group = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 32, 1)) frame_relay_dte_group_be = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 32, 1, 5)) frame_relay_dte_group_be00 = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 32, 1, 5, 1)) frame_relay_dte_group_be00_a = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 32, 1, 5, 1, 2)) frame_relay_dte_capabilities = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 32, 3)) frame_relay_dte_capabilities_be = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 32, 3, 5)) frame_relay_dte_capabilities_be00 = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 32, 3, 5, 1)) frame_relay_dte_capabilities_be00_a = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 32, 3, 5, 1, 2)) mibBuilder.exportSymbols('Nortel-Magellan-Passport-FrameRelayDteMIB', frDteStDlciCommittedInformationRate=frDteStDlciCommittedInformationRate, frDteLeq=frDteLeq, frDteLeqRowStatusEntry=frDteLeqRowStatusEntry, frDteRgOperationalState=frDteRgOperationalState, frDteComponentName=frDteComponentName, frDteStDlci=frDteStDlci, frDteVFramerOperationalState=frDteVFramerOperationalState, frDteDlciOperationalState=frDteDlciOperationalState, frameRelayDteCapabilitiesBE00A=frameRelayDteCapabilitiesBE00A, frDteRgIfIndex=frDteRgIfIndex, frDteStDlciHqComponentName=frDteStDlciHqComponentName, frDteIllegalDlci=frDteIllegalDlci, frDteFramerProvEntry=frDteFramerProvEntry, frDteStDlciHqTimedOutPkt=frDteStDlciHqTimedOutPkt, frDteStDlciHqIndex=frDteStDlciHqIndex, frDteStDlciRgLinkEntry=frDteStDlciRgLinkEntry, frDteRgBfrMacAddr=frDteRgBfrMacAddr, frDteStDlciHqStatsEntry=frDteStDlciHqStatsEntry, frDteLeqTotalPktHandled=frDteLeqTotalPktHandled, frDteStDlciHqCurrentBytesQueued=frDteStDlciHqCurrentBytesQueued, frDteRgStateTable=frDteRgStateTable, frDteOperStatusEntry=frDteOperStatusEntry, frDteLmiFullEnquiryInterval=frDteLmiFullEnquiryInterval, frDteVFramerIndex=frDteVFramerIndex, frDteCustomerIdentifier=frDteCustomerIdentifier, frDteStDlciIndex=frDteStDlciIndex, frDteStDlciHqRowStatus=frDteStDlciHqRowStatus, frDteDlciAdminState=frDteDlciAdminState, frDteRgIfEntryTable=frDteRgIfEntryTable, frDteStDlciHqTimeToLive=frDteStDlciHqTimeToLive, frDteXmitDiscardLmiInactive=frDteXmitDiscardLmiInactive, frDteLeqProvTable=frDteLeqProvTable, frDteErrType=frDteErrType, frDteFramerStatsTable=frDteFramerStatsTable, frDteLeqTotalPktQueued=frDteLeqTotalPktQueued, frDteFramerStateTable=frDteFramerStateTable, frDteVFramerUsageState=frDteVFramerUsageState, frDteRgAdminState=frDteRgAdminState, frDteLmiOperTable=frDteLmiOperTable, frDteStDlciExcessBurst=frDteStDlciExcessBurst, frDteFramerProvTable=frDteFramerProvTable, frDteStDlciHqMaxPercentMulticast=frDteStDlciHqMaxPercentMulticast, frDteRgBfr=frDteRgBfr, frDteSnmpOperStatus=frDteSnmpOperStatus, frDteDlciComponentName=frDteDlciComponentName, frDteDynDlciDefsProvTable=frDteDynDlciDefsProvTable, frDteDlciDlciState=frDteDlciDlciState, frDteLmiRowStatus=frDteLmiRowStatus, frDteStDlciRowStatus=frDteStDlciRowStatus, frDteLeqForcedPktDiscards=frDteLeqForcedPktDiscards, frDteVFramerAdminState=frDteVFramerAdminState, frDteLeqProvEntry=frDteLeqProvEntry, frDteLmiLmiStatus=frDteLmiLmiStatus, frDteLeqMaxPackets=frDteLeqMaxPackets, frDteDlciRateEnforcement=frDteDlciRateEnforcement, frDteDlcmiSequenceErr=frDteDlcmiSequenceErr, frDteLeqTStatsTable=frDteLeqTStatsTable, frDteDlciSentFrames=frDteDlciSentFrames, frDteUlpUnknownProtocol=frDteUlpUnknownProtocol, frDteStDlciIpCos=frDteStDlciIpCos, frDteDynDlciDefsCommittedInformationRate=frDteDynDlciDefsCommittedInformationRate, frDteLeqTotalPktForwarded=frDteLeqTotalPktForwarded, frDteDlcmiProtoErr=frDteDlcmiProtoErr, frDteLeqMulThresholdExceeded=frDteLeqMulThresholdExceeded, frDteRgProvTable=frDteRgProvTable, frDteVFramerOtherVirtualFramer=frDteVFramerOtherVirtualFramer, frDteFramerOperationalState=frDteFramerOperationalState, frDte=frDte, frDteStDlciHqCStatsTable=frDteStDlciHqCStatsTable, frDteStDlciRowStatusEntry=frDteStDlciRowStatusEntry, frDteRgStorageType=frDteRgStorageType, frDteVFramerStateEntry=frDteVFramerStateEntry, frDteStDlciStdRowStatus=frDteStDlciStdRowStatus, frDteIndex=frDteIndex, frDteFramerRowStatusEntry=frDteFramerRowStatusEntry, frDteRgProvEntry=frDteRgProvEntry, frDteDynDlciDefsComponentName=frDteDynDlciDefsComponentName, frDteStDlciHqQueueMulticastThreshold=frDteStDlciHqQueueMulticastThreshold, frDteLeqComponentName=frDteLeqComponentName, frDteErrEntry=frDteErrEntry, frDteLeqMaxMsecData=frDteLeqMaxMsecData, frDteLeqCurrentMulticastQueued=frDteLeqCurrentMulticastQueued, frDteRgBfrRowStatus=frDteRgBfrRowStatus, frDteRgBfrMacType=frDteRgBfrMacType, frDteFramerAborts=frDteFramerAborts, frDteFramerStateEntry=frDteFramerStateEntry, frDteRgOperStatusTable=frDteRgOperStatusTable, frDteStDlciLinkToRemoteGroup=frDteStDlciLinkToRemoteGroup, frDteFramerUtilTable=frDteFramerUtilTable, frDteVFramerFrmToOtherVFramer=frDteVFramerFrmToOtherVFramer, frDteLeqMemThresholdExceeded=frDteLeqMemThresholdExceeded, frameRelayDteGroupBE00A=frameRelayDteGroupBE00A, frDteProvTable=frDteProvTable, frameRelayDteGroupBE=frameRelayDteGroupBE, frDteLeqHardwareForcedPkt=frDteLeqHardwareForcedPkt, frDteFramerStorageType=frDteFramerStorageType, frDteErrFaultTime=frDteErrFaultTime, frDteFramerComponentName=frDteFramerComponentName, frDteVFramerRowStatus=frDteVFramerRowStatus, frDteLmiProcedures=frDteLmiProcedures, frDteFramerUtilEntry=frDteFramerUtilEntry, frameRelayDteCapabilitiesBE00=frameRelayDteCapabilitiesBE00, frDteLmi=frDteLmi, frDteLeqRowStatusTable=frDteLeqRowStatusTable, frDteIfEntryEntry=frDteIfEntryEntry, frDteDynDlciDefsIndex=frDteDynDlciDefsIndex, frDteStDlciHqStorageType=frDteStDlciHqStorageType, frDteDynDlciDefsRowStatusEntry=frDteDynDlciDefsRowStatusEntry, frDteLeqRowStatus=frDteLeqRowStatus, frDteFramerUsageState=frDteFramerUsageState, frDteStDlciHqByteThresholdExceeded=frDteStDlciHqByteThresholdExceeded, frDteVFramerProvEntry=frDteVFramerProvEntry, frDteStDlciHqCStatsEntry=frDteStDlciHqCStatsEntry, frDteStDlciHqCurrentPktQueued=frDteStDlciHqCurrentPktQueued, frDteStDlciHqTotalPktForwarded=frDteStDlciHqTotalPktForwarded, frDteFramerNonOctetErrors=frDteFramerNonOctetErrors, frDteReceiveShort=frDteReceiveShort, frDteDlciCreationType=frDteDlciCreationType, frDteXmitDiscardFramerDown=frDteXmitDiscardFramerDown, frDteRgBfrBfrIndex=frDteRgBfrBfrIndex, frDteCidDataEntry=frDteCidDataEntry, frDteDlciRowStatusEntry=frDteDlciRowStatusEntry, frDteStDlciHq=frDteStDlciHq, frDteStDlciHqProvEntry=frDteStDlciHqProvEntry, frameRelayDteCapabilities=frameRelayDteCapabilities, frDteRgBfrProvTable=frDteRgBfrProvTable, frDteFramerStatsEntry=frDteFramerStatsEntry, frDteStDlciHqTotalPktQueued=frDteStDlciHqTotalPktQueued, frDteStDlciHqCurrentMulticastQueued=frDteStDlciHqCurrentMulticastQueued, frDteDlciExcessBurstAction=frDteDlciExcessBurstAction, frDteOperEntry=frDteOperEntry, frDteErrDiscards=frDteErrDiscards, frameRelayDteMIB=frameRelayDteMIB, frDteRgLtDlciValue=frDteRgLtDlciValue, frDteRgBfrComponentName=frDteRgBfrComponentName, frDteRecvDiscardPvcInactive=frDteRecvDiscardPvcInactive, frDteDynDlciDefs=frDteDynDlciDefs, frameRelayDteGroupBE00=frameRelayDteGroupBE00, frDteVFramerProvTable=frDteVFramerProvTable, frDteStDlciHqTStatsEntry=frDteStDlciHqTStatsEntry, frDteFramerAdminState=frDteFramerAdminState, frDteLmiProvTable=frDteLmiProvTable, frDteRgLtDlciTable=frDteRgLtDlciTable, frDteLeqTStatsEntry=frDteLeqTStatsEntry, frDteVFramerStorageType=frDteVFramerStorageType, frDteLmiOperEntry=frDteLmiOperEntry, frDteRgLinkToProtocolPort=frDteRgLinkToProtocolPort, frDteVFramerOctetFromOtherVFramer=frDteVFramerOctetFromOtherVFramer, frDteErrData=frDteErrData, frDteStDlciHqThrStatsEntry=frDteStDlciHqThrStatsEntry, frDteIfAdminStatus=frDteIfAdminStatus, frameRelayDteCapabilitiesBE=frameRelayDteCapabilitiesBE, frDteRowStatusTable=frDteRowStatusTable, frDteDlciReceivedOctets=frDteDlciReceivedOctets, frDteDlciReceivedFrames=frDteDlciReceivedFrames, frDteLeqThrStatsTable=frDteLeqThrStatsTable, frDteStDlciHqPktThresholdExceeded=frDteStDlciHqPktThresholdExceeded, frDteVFramerRowStatusEntry=frDteVFramerRowStatusEntry, frDteRgIfAdminStatus=frDteRgIfAdminStatus, frDteStDlciHqTotalPktDiscards=frDteStDlciHqTotalPktDiscards, frDteStDlciHqRowStatusEntry=frDteStDlciHqRowStatusEntry, frDteDlciDiscardedFrames=frDteDlciDiscardedFrames, frDteDlciUsageState=frDteDlciUsageState, frDteFramerFrmToIf=frDteFramerFrmToIf, frDteStDlciProvEntry=frDteStDlciProvEntry, frDteFramer=frDteFramer, frDteLeqCStatsEntry=frDteLeqCStatsEntry, frDteDynDlciDefsRateEnforcement=frDteDynDlciDefsRateEnforcement, frDteRgBfrOprTable=frDteRgBfrOprTable, frDteStDlciHqThrStatsTable=frDteStDlciHqThrStatsTable, frDteRgStateEntry=frDteRgStateEntry, frDteRgIfEntryEntry=frDteRgIfEntryEntry, frDteLeqByteThresholdExceeded=frDteLeqByteThresholdExceeded, frDteLeqTimeToLive=frDteLeqTimeToLive, frDteLmiRowStatusEntry=frDteLmiRowStatusEntry, frDteErrStatsEntry=frDteErrStatsEntry, frDteStDlciHqStatsTable=frDteStDlciHqStatsTable, frDteFramerIndex=frDteFramerIndex, frDteLeqQueuePurgeDiscards=frDteLeqQueuePurgeDiscards, frDteDlciRowStatusTable=frDteDlciRowStatusTable, frDteRgBfrIndex=frDteRgBfrIndex, frDteDynDlciDefsRowStatus=frDteDynDlciDefsRowStatus, frDteStDlciRateEnforcement=frDteStDlciRateEnforcement, frDteXmitDiscardPvcDown=frDteXmitDiscardPvcDown, frDteLmiMonitoredEvents=frDteLmiMonitoredEvents, frDteDynDlciDefsExcessBurst=frDteDynDlciDefsExcessBurst, frDteUsageState=frDteUsageState, frDteRgBfrStorageType=frDteRgBfrStorageType, frDteStDlciStorageType=frDteStDlciStorageType, frDteRgBfrProvEntry=frDteRgBfrProvEntry, frDteErrTime=frDteErrTime, frDteLeqPktThresholdExceeded=frDteLeqPktThresholdExceeded, frDteStDlciExcessBurstAction=frDteStDlciExcessBurstAction, frDteFramerInterfaceName=frDteFramerInterfaceName, frDteStDlciRowStatusTable=frDteStDlciRowStatusTable, frDteStDlciHqQueueByteThreshold=frDteStDlciHqQueueByteThreshold, frDteStateTable=frDteStateTable, frDteStDlciRgLinkTable=frDteStDlciRgLinkTable, frDteRgLtDlciEntry=frDteRgLtDlciEntry, frDteDlciOperTable=frDteDlciOperTable, frDteRgBfrRowStatusTable=frDteRgBfrRowStatusTable, frDteRecvDiscardPvcDown=frDteRecvDiscardPvcDown, frDteVFramerStateTable=frDteVFramerStateTable, frDteRecvDiscardLmiInactive=frDteRecvDiscardLmiInactive, frDteDynDlciDefsStdRowStatus=frDteDynDlciDefsStdRowStatus, frDteDefragSequenceErrors=frDteDefragSequenceErrors, frDteDlci=frDteDlci, frDteStDlciProvTable=frDteStDlciProvTable, frDteDynDlciDefsProvEntry=frDteDynDlciDefsProvEntry, frDteDynDlciDefsRowStatusTable=frDteDynDlciDefsRowStatusTable, frDteDlciSentOctets=frDteDlciSentOctets, frDteLeqStorageType=frDteLeqStorageType, frDteProvEntry=frDteProvEntry, frDteLinkOperState=frDteLinkOperState, frDteStDlciHqTStatsTable=frDteStDlciHqTStatsTable, frDteLeqStatsEntry=frDteLeqStatsEntry, frDteDlciStateEntry=frDteDlciStateEntry, frDteDlciRowStatus=frDteDlciRowStatus, frDteRgRowStatusEntry=frDteRgRowStatusEntry, frDteStDlciHqMaxMsecData=frDteStDlciHqMaxMsecData, frDteLeqTotalMulticastPkt=frDteLeqTotalMulticastPkt, frDteRowStatusEntry=frDteRowStatusEntry, frDteDynDlciDefsExcessBurstAction=frDteDynDlciDefsExcessBurstAction, frDteVFramerStatsEntry=frDteVFramerStatsEntry, frDteDlciCommittedInformationRate=frDteDlciCommittedInformationRate, frDteStDlciHqMemThresholdExceeded=frDteStDlciHqMemThresholdExceeded, frDteStDlciHqTotalPktHandled=frDteStDlciHqTotalPktHandled, frDteErrTable=frDteErrTable, frDteVFramerComponentName=frDteVFramerComponentName, frDteCidDataTable=frDteCidDataTable, frDteIfEntryTable=frDteIfEntryTable, frDteStDlciHqRowStatusTable=frDteStDlciHqRowStatusTable, frDteAdminState=frDteAdminState, frDteRgComponentName=frDteRgComponentName, frDteLeqTimedOutPkt=frDteLeqTimedOutPkt, frDteRgMpEntry=frDteRgMpEntry, frDteLeqCurrentPktQueued=frDteLeqCurrentPktQueued, frDteRgMaxTransmissionUnit=frDteRgMaxTransmissionUnit, frDteStDlciHqTotalMulticastPkt=frDteStDlciHqTotalMulticastPkt, frDteDlcmiUnknownIe=frDteDlcmiUnknownIe, frDteRgUsageState=frDteRgUsageState, frDteRg=frDteRg, frDteDlciExcessBurst=frDteDlciExcessBurst, frDteDynDlciDefsIpCos=frDteDynDlciDefsIpCos, frDteDlciStateTable=frDteDlciStateTable, frDteRgMpTable=frDteRgMpTable, frDteStateEntry=frDteStateEntry, frDteFramerRowStatus=frDteFramerRowStatus, frDteRgOperStatusEntry=frDteRgOperStatusEntry, frDteRgRowStatus=frDteRgRowStatus, frDteLmiErrorThreshold=frDteLmiErrorThreshold, frDteFramerCrcErrors=frDteFramerCrcErrors, frDteVFramerStatsTable=frDteVFramerStatsTable, frDteDlciCommittedBurst=frDteDlciCommittedBurst) mibBuilder.exportSymbols('Nortel-Magellan-Passport-FrameRelayDteMIB', frDteFramerNormPrioLinkUtilFromIf=frDteFramerNormPrioLinkUtilFromIf, frDteVFramerLogicalProcessor=frDteVFramerLogicalProcessor, frDteXmitDiscardCirExceeded=frDteXmitDiscardCirExceeded, frDteLmiProvEntry=frDteLmiProvEntry, frDteLeqThrStatsEntry=frDteLeqThrStatsEntry, frDteRgSnmpOperStatus=frDteRgSnmpOperStatus, frDteRgRowStatusTable=frDteRgRowStatusTable, frDteFramerUnderruns=frDteFramerUnderruns, frDteRowStatus=frDteRowStatus, frDteFramerOverruns=frDteFramerOverruns, frDteLeqIndex=frDteLeqIndex, frameRelayDteGroup=frameRelayDteGroup, frDteDlciCreationTime=frDteDlciCreationTime, frDteStDlciCommittedBurst=frDteStDlciCommittedBurst, frDteDlciOperEntry=frDteDlciOperEntry, frDteDlciReceivedBECNs=frDteDlciReceivedBECNs, frDteOperationalState=frDteOperationalState, frDteRgBfrRowStatusEntry=frDteRgBfrRowStatusEntry, frDteRgLtDlciRowStatus=frDteRgLtDlciRowStatus, frDteXmitDiscardPvcInactive=frDteXmitDiscardPvcInactive, frDteStDlciComponentName=frDteStDlciComponentName, frDteRgBfrOprEntry=frDteRgBfrOprEntry, frDteLeqCurrentBytesQueued=frDteLeqCurrentBytesQueued, frDteLeqMaxPercentMulticast=frDteLeqMaxPercentMulticast, frDteBadFc=frDteBadFc, frDteStDlciHqProvTable=frDteStDlciHqProvTable, frDteDlciReceivedFECNs=frDteDlciReceivedFECNs, frDteFramerRowStatusTable=frDteFramerRowStatusTable, frDteStDlciHqQueuePktThreshold=frDteStDlciHqQueuePktThreshold, frDteLmiComponentName=frDteLmiComponentName, frDteDynDlciDefsStorageType=frDteDynDlciDefsStorageType, frDteLeqCStatsTable=frDteLeqCStatsTable, frDteLeqStatsTable=frDteLeqStatsTable, frDteLeqQueueByteThreshold=frDteLeqQueueByteThreshold, frDteStDlciHqMaxPackets=frDteStDlciHqMaxPackets, frDteVFramerRowStatusTable=frDteVFramerRowStatusTable, frDteErrFaults=frDteErrFaults, frDteIfIndex=frDteIfIndex, frDteFramerFrmFromIf=frDteFramerFrmFromIf, frDteAcceptUndefinedDlci=frDteAcceptUndefinedDlci, frDteDynDlciDefsCommittedBurst=frDteDynDlciDefsCommittedBurst, frDteDlciStorageType=frDteDlciStorageType, frDteOperStatusTable=frDteOperStatusTable, frDteLeqTotalPktDiscards=frDteLeqTotalPktDiscards, frDteDlciIndex=frDteDlciIndex, frDteLmiRowStatusTable=frDteLmiRowStatusTable, frDteLeqQueuePktThreshold=frDteLeqQueuePktThreshold, frDteDlciLastTimeChange=frDteDlciLastTimeChange, frDteVFramer=frDteVFramer, frDteVFramerFrmFromOtherVFramer=frDteVFramerFrmFromOtherVFramer, frDteLmiStorageType=frDteLmiStorageType, frDteLmiIndex=frDteLmiIndex, frDteLmiPollingInterval=frDteLmiPollingInterval, frDteLeqQueueMulticastThreshold=frDteLeqQueueMulticastThreshold, frDteFramerLrcErrors=frDteFramerLrcErrors, frDteFramerLargeFrmErrors=frDteFramerLargeFrmErrors, frDteStDlciHqQueuePurgeDiscards=frDteStDlciHqQueuePurgeDiscards, frDteOperTable=frDteOperTable, frDteFramerNormPrioLinkUtilToIf=frDteFramerNormPrioLinkUtilToIf, frDteDlcmiUnknownRpt=frDteDlcmiUnknownRpt, frDteStDlciHqMulThresholdExceeded=frDteStDlciHqMulThresholdExceeded, frDteStorageType=frDteStorageType, frDteErrStatsTable=frDteErrStatsTable, frDteRgIndex=frDteRgIndex)
""" This module holds all the sql statements for List_Tags """ #------------------------------------------------------ # Select all the tags assigned to a list # # 2 parms: # - list_id # - user_id #------------------------------------------------------ SELECT_ALL = ''' SELECT * FROM View_Tags vt WHERE EXISTS ( SELECT 1 FROM List_Tags lt WHERE lt.list_id = %s AND lt.tag_id = vt.id AND Owns_List(%s, lt.list_id) ) ORDER BY vt.name ASC; ''' #------------------------------------------------------ # Delete all the tag assignments to a list # # 2 parms: # - list_id # - user_id #------------------------------------------------------ DELETE_ALL = ''' DELETE FROM List_Tags lt WHERE lt.list_id = %s AND OWNS_LIST(%s, lt.list_id); ''' #------------------------------------------------------ # Delete the single tag assignment from the given list # # 3 parms: # - list_id # - tag_id # - user_id #------------------------------------------------------ DELETE_SINGLE = ''' DELETE FROM List_Tags lt WHERE lt.list_id = %s AND lt.tag_id = %s AND Owns_List(%s, lt.list_id); ''' #------------------------------------------------------ # Insert a List_Tags record # Calls a stored procedure # # 3 parms: # - list_id # - tag_id # - user_id #------------------------------------------------------ INSERT_SINGLE = 'CALL Insert_List_Tag(%s, %s, %s);'
""" This module holds all the sql statements for List_Tags """ select_all = '\n SELECT * \n FROM View_Tags vt\n WHERE EXISTS \n (\n SELECT 1 \n FROM List_Tags lt\n WHERE lt.list_id = %s \n AND lt.tag_id = vt.id\n AND Owns_List(%s, lt.list_id)\n )\n \n ORDER BY vt.name ASC;\n' delete_all = '\n DELETE FROM List_Tags lt\n WHERE lt.list_id = %s\n AND OWNS_LIST(%s, lt.list_id);\n' delete_single = '\n DELETE FROM List_Tags lt\n WHERE lt.list_id = %s\n AND lt.tag_id = %s\n AND Owns_List(%s, lt.list_id);\n' insert_single = 'CALL Insert_List_Tag(%s, %s, %s);'
query_issues = """ { repository(name: "{placeholder_nome_repo}", owner: "{placeholder_owner_repo}") { issues(filterBy: {labels: ["BUG", "bug", "Bug", "Type: Bug", "Type: BUG", "Type: bug", "type: Bug", "type: BUG", "type: bug", "browser bug", "Error", "ERROR", "error", "Failure", "FAILURE", "failure", "Confirmed Bug", "confirmed bug", "Type: Bug / Error", "good first bug", "Good First Bug", "GOOD FIRST BUG", "confirmed-bug", "bug critical", "bug minor", "bug moderate", "type:bug", "Type:bug", "type:Bug", "Type:Bug"]}, first: 1, orderBy: {field: UPDATED_AT, direction: DESC}) { totalCount nodes { updatedAt } } } } """
query_issues = '\n{\n repository(name: "{placeholder_nome_repo}", owner: "{placeholder_owner_repo}") {\n issues(filterBy: {labels: ["BUG", "bug", "Bug", "Type: Bug", "Type: BUG", "Type: bug", "type: Bug",\n "type: BUG", "type: bug", "browser bug", "Error", "ERROR", "error", "Failure", "FAILURE", "failure",\n "Confirmed Bug", "confirmed bug", "Type: Bug / Error", "good first bug", "Good First Bug",\n "GOOD FIRST BUG", "confirmed-bug", "bug critical", "bug minor", "bug moderate", "type:bug",\n "Type:bug", "type:Bug", "Type:Bug"]}, first: 1, orderBy: {field: UPDATED_AT, direction: DESC}) {\n totalCount\n nodes {\n updatedAt\n }\n }\n }\n}\n'
numbers = [1,21,4234,423432,42345,324] largest = numbers[0] for x in numbers: if largest < x: largest = x print(f'The largest value is : {largest}')
numbers = [1, 21, 4234, 423432, 42345, 324] largest = numbers[0] for x in numbers: if largest < x: largest = x print(f'The largest value is : {largest}')
# -*- coding: utf-8 -*- class Solution: def matrixReshape(self, nums, r, c): original_r, original_c = len(nums), len(nums[0]) if r * c != original_r * original_c: return nums tmp = [nums[i][j] for i in range(original_r) for j in range(original_c)] result = [] for i in range(r): row = [] for j in range(c): row.append(tmp[i * c + j]) result.append(row) return result if __name__ == '__main__': solution = Solution() assert [[1, 2, 3, 4]] == solution.matrixReshape([[1, 2], [3, 4]], 1, 4) assert [[1, 2], [3, 4]] == solution.matrixReshape([[1, 2], [3, 4]], 2, 4)
class Solution: def matrix_reshape(self, nums, r, c): (original_r, original_c) = (len(nums), len(nums[0])) if r * c != original_r * original_c: return nums tmp = [nums[i][j] for i in range(original_r) for j in range(original_c)] result = [] for i in range(r): row = [] for j in range(c): row.append(tmp[i * c + j]) result.append(row) return result if __name__ == '__main__': solution = solution() assert [[1, 2, 3, 4]] == solution.matrixReshape([[1, 2], [3, 4]], 1, 4) assert [[1, 2], [3, 4]] == solution.matrixReshape([[1, 2], [3, 4]], 2, 4)
#food = "Python's favorite food is perl" #say = "\"Python is very easy.\" he says" #print(say) #multiline = """ # Test1 # Test2 #""" #print(multiline) a = "Test" b = "123" print(a+b)
a = 'Test' b = '123' print(a + b)
def clientFunction(args, files): print('client function call with args ' + str(args) + ' and files ' + str(files)) return args if __name__ == "__main__": clientFunction()
def client_function(args, files): print('client function call with args ' + str(args) + ' and files ' + str(files)) return args if __name__ == '__main__': client_function()
# Instructions print('''This short program computes the circumference of a circle from a provided raduis. Provide the radius as a floating point value.\n''') # Prompt user for circumference radius = input('Enter a radius: ') # Assume correct type circ = 2 * 3.14159 * float(radius); # Provide output print(f'The circumference of a circle with radius {radius} is {circ}')
print('This short program computes the circumference of a circle\nfrom a provided raduis. Provide the radius as a floating\npoint value.\n') radius = input('Enter a radius: ') circ = 2 * 3.14159 * float(radius) print(f'The circumference of a circle with radius {radius} is {circ}')
class Place: destination="" iata_code = "" attractions_list =[] hotels_list = [] weather = [] flights = [] restaurants_list = [] def __init__(self, iata_code): self.iata_code = iata_code
class Place: destination = '' iata_code = '' attractions_list = [] hotels_list = [] weather = [] flights = [] restaurants_list = [] def __init__(self, iata_code): self.iata_code = iata_code
# tutorial 38 revison of chapter 2 a=int(input("enter first number : ")) b=int(input("enter second number : ")) total=a+b print("total is " + str(total))
a = int(input('enter first number : ')) b = int(input('enter second number : ')) total = a + b print('total is ' + str(total))
class Request(object): """ Represents a request of a product. """ def __init__(self): self.backend_object = None self.amount = None self.name = None self.due = None self.impossible = False self.due = None def set(self, name, amount, obj): self.name = name self.amount = amount self.backend_object = obj def mark_impossible(self): self.impossible = True def set_due(self, due): self.due = due def __str__(self): return " Resquest for {} of {}".format(self.name, self.amount) class Requests(object): def __init__(self): self.requests = [] self.total = 0 def append(self, name, amount, obj): self.total += amount r = Request() r.set(name, amount, obj) self.requests.append(r) def get_total(self): return self.total def get_requests(self): for r in self.requests: yield r def __str__(self): s = "[" for r in self.requests: s += str(r) + ", " return (s + "]")
class Request(object): """ Represents a request of a product. """ def __init__(self): self.backend_object = None self.amount = None self.name = None self.due = None self.impossible = False self.due = None def set(self, name, amount, obj): self.name = name self.amount = amount self.backend_object = obj def mark_impossible(self): self.impossible = True def set_due(self, due): self.due = due def __str__(self): return ' Resquest for {} of {}'.format(self.name, self.amount) class Requests(object): def __init__(self): self.requests = [] self.total = 0 def append(self, name, amount, obj): self.total += amount r = request() r.set(name, amount, obj) self.requests.append(r) def get_total(self): return self.total def get_requests(self): for r in self.requests: yield r def __str__(self): s = '[' for r in self.requests: s += str(r) + ', ' return s + ']'
__title__ = 'icd10-cm-ng' __description__ = ('ICD-10 codes for diseases, signs and symptoms, abnormal findings, ' 'complaints, social circumstances, and external causes of injury or disease') __url__ = 'https://github.com/AberystwythSystemsBiology/icd10-cm-ng' __version__ = '0.0.5' __author__ = 'Keiron OShea' __author_email__ = 'keiron@fastmail.co.uk' __license__ = 'MIT' __copyright__ = 'Copyright 2022 Keiron O\'Shea'
__title__ = 'icd10-cm-ng' __description__ = 'ICD-10 codes for diseases, signs and symptoms, abnormal findings, complaints, social circumstances, and external causes of injury or disease' __url__ = 'https://github.com/AberystwythSystemsBiology/icd10-cm-ng' __version__ = '0.0.5' __author__ = 'Keiron OShea' __author_email__ = 'keiron@fastmail.co.uk' __license__ = 'MIT' __copyright__ = "Copyright 2022 Keiron O'Shea"
def layout_instructors(instructors) -> str: result = '' for instructor in instructors[:-1]: result += '{}; '.format(instructor) else: result += '{}'.format(instructors[-1]) return result def layout_enr(enr) -> str: return enr.split('/')[0] if '/' in enr else enr
def layout_instructors(instructors) -> str: result = '' for instructor in instructors[:-1]: result += '{}; '.format(instructor) else: result += '{}'.format(instructors[-1]) return result def layout_enr(enr) -> str: return enr.split('/')[0] if '/' in enr else enr
# Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. # If the last word does not exist, return 0. # Note: A word is defined as a character sequence consists of non-space characters only. # Example: # Input: "Hello World" # Output: 5 class Solution(object): def lengthOfLastWord(self, s): """ :type s: str :rtype: int """ return len(s.rstrip().split(' ')[-1])
class Solution(object): def length_of_last_word(self, s): """ :type s: str :rtype: int """ return len(s.rstrip().split(' ')[-1])
def time_diff(time_vals): time1 = time_vals time2 = time_vals.shift(1) delta = time1 - time2 return delta
def time_diff(time_vals): time1 = time_vals time2 = time_vals.shift(1) delta = time1 - time2 return delta
""" CherryPy Config server settings module. """ __author__ = 'Jovan Brakus <jovan@brakus.rs>' __contact__ = 'jovan@brakus.rs' __date__ = '31 May 2012' CONFIG_FILENAME = "config_server.ini" WEBSERVER_HOST = '0.0.0.0' WEBSERVER_PORT = 8080 USERS = {'cherrypy': '57ed5d98cce71967d508cb785aa76d2c23894347'} # SHA1 hash for 'cherrypy' LOG_DIR = 'logs' TEMP_DIR = 'temp'
""" CherryPy Config server settings module. """ __author__ = 'Jovan Brakus <jovan@brakus.rs>' __contact__ = 'jovan@brakus.rs' __date__ = '31 May 2012' config_filename = 'config_server.ini' webserver_host = '0.0.0.0' webserver_port = 8080 users = {'cherrypy': '57ed5d98cce71967d508cb785aa76d2c23894347'} log_dir = 'logs' temp_dir = 'temp'
nome = input('Qual seu nome? ') idade = input('Digite sua idade: ') peso = input('Digite seu peso: ') print(nome, idade, peso)
nome = input('Qual seu nome? ') idade = input('Digite sua idade: ') peso = input('Digite seu peso: ') print(nome, idade, peso)
def main(): """Main program """ digits = [] while True: new_dig = input("Enter a digit. Enter E to exit.\n") if new_dig == "E": break digits.append(new_dig) print(sorted(digits)) if __name__ == "__main__": main()
def main(): """Main program """ digits = [] while True: new_dig = input('Enter a digit. Enter E to exit.\n') if new_dig == 'E': break digits.append(new_dig) print(sorted(digits)) if __name__ == '__main__': main()
expected_output = { "test_genie_1": { "color": 0, "name": "test_genie_1", "status": { "admin": "down", "operational": { "since": "05-18 03:50:08.958", "state": "down", "time_for_state": "00:00:01", }, }, }, "test_genie_2": { "attributes": { "binding_sid": {257: {"allocation_mode": "dynamic", "state": "programmed"}} }, "candidate_paths": { "preference": { 100: { "path_type": { "dynamic": { "metric_type": "TE", "status": "inactive", "weight": 0, } } } } }, "color": 100, "end_point": "10.19.198.239", "name": "test_genie_2", "status": { "admin": "down", "operational": { "since": "05-18 03:50:09.080", "state": "down", "time_for_state": "00:00:00", }, }, }, }
expected_output = {'test_genie_1': {'color': 0, 'name': 'test_genie_1', 'status': {'admin': 'down', 'operational': {'since': '05-18 03:50:08.958', 'state': 'down', 'time_for_state': '00:00:01'}}}, 'test_genie_2': {'attributes': {'binding_sid': {257: {'allocation_mode': 'dynamic', 'state': 'programmed'}}}, 'candidate_paths': {'preference': {100: {'path_type': {'dynamic': {'metric_type': 'TE', 'status': 'inactive', 'weight': 0}}}}}, 'color': 100, 'end_point': '10.19.198.239', 'name': 'test_genie_2', 'status': {'admin': 'down', 'operational': {'since': '05-18 03:50:09.080', 'state': 'down', 'time_for_state': '00:00:00'}}}}
# you can write to stdout for debugging purposes, e.g. # print("this is a debug message") def solution(X, Y, D): # write your code in Python 3.6 total_distance = Y - X rounded_number_of_jumps = total_distance // D division_rest = total_distance % D return rounded_number_of_jumps if division_rest == 0 else rounded_number_of_jumps + 1
def solution(X, Y, D): total_distance = Y - X rounded_number_of_jumps = total_distance // D division_rest = total_distance % D return rounded_number_of_jumps if division_rest == 0 else rounded_number_of_jumps + 1
def minimum_swaps(ratings: list) -> int: # get the rating compliment value. That is, lower value is higher rating complmnt = [len(ratings)-val+1 for val in ratings] len_arr = len(complmnt) idx = 0 swap_counter = 0 while idx < len_arr: if complmnt[idx] != (idx+1): # swap the values with adjacent value if not as per rating compliment complmnt[complmnt[idx]-1], complmnt[idx] = complmnt[idx], complmnt[complmnt[idx]-1] swap_counter += 1 idx += 1 return swap_counter
def minimum_swaps(ratings: list) -> int: complmnt = [len(ratings) - val + 1 for val in ratings] len_arr = len(complmnt) idx = 0 swap_counter = 0 while idx < len_arr: if complmnt[idx] != idx + 1: (complmnt[complmnt[idx] - 1], complmnt[idx]) = (complmnt[idx], complmnt[complmnt[idx] - 1]) swap_counter += 1 idx += 1 return swap_counter
def getPointsInOrder(box,flag): ''' returns in top-left, top-right, bottom-left, bottom-right order ''' ret = [] if flag==0: ret = [box[1],box[2],box[0],box[3]] else: ret = [box[2],box[3],box[1],box[0]] return ret
def get_points_in_order(box, flag): """ returns in top-left, top-right, bottom-left, bottom-right order """ ret = [] if flag == 0: ret = [box[1], box[2], box[0], box[3]] else: ret = [box[2], box[3], box[1], box[0]] return ret
# Bus communication SJ_DefaultBaud = 115200 SJ_DefaultPortIn = 5000 # General SJ_Timeout = 100 #in ms SJ_CommandStart = "#" SJ_CommandEnd = "\r" #actions SJ_ActionLED = "LED" SJ_BlinkLED = "BLK" SJ_BlinkLEDSTOP = "NBLK" SJ_FetchTemperature = "ATMP" #response SJ_Temperature = "RTMP" # LED colors NAVIO_LED_Black = '0' NAVIO_LED_Red = '1' NAVIO_LED_Green = '2' NAVIO_LED_Blue = '3' NAVIO_LED_Yellow = '4' NAVIO_LED_Cyan = '5' NAVIO_LED_Magenta = '6' NAVIO_LED_White = '7'
sj__default_baud = 115200 sj__default_port_in = 5000 sj__timeout = 100 sj__command_start = '#' sj__command_end = '\r' sj__action_led = 'LED' sj__blink_led = 'BLK' sj__blink_ledstop = 'NBLK' sj__fetch_temperature = 'ATMP' sj__temperature = 'RTMP' navio_led__black = '0' navio_led__red = '1' navio_led__green = '2' navio_led__blue = '3' navio_led__yellow = '4' navio_led__cyan = '5' navio_led__magenta = '6' navio_led__white = '7'
starts_with_B = { 'B&':'Banned', 'B2B':'Business-to-business', 'B2C':'Business-to-consumer', 'B2W':'Back to work', 'B8':'Bait', ('B/F','BF'):'Boyfriend', ('B/G','BG'):'Background', 'B4':'Before', 'B4N':'Bye for now', 'BAE':'Babe', 'BAFO':'Best and final offer', 'BAO':'Be aware of', 'BAU':'Business as usual', 'BBIAB':'Be back in a bit', 'BBIAF':'Be back in a few', 'BBIAM':'Be back in a minute', 'BBIAS':'Be back in a sec', 'BBL':'Be back later', 'BBS':'Be back soon', 'BBT':'Be back tomorrow', 'BCZ':'Because', 'B/C':'Because', 'BCOS':'Because', 'BCO':'Big crush on', 'BCOY':'Big crush on you', 'BDAY':'Birthday', 'B-DAY':'Birthday', 'BFF':'Best friends forever', 'BFFL':'Best friends for life', 'BFFLNMW':'Best friends for life, no matter what', 'BFFN':'Best friend for now', 'BGWM':'Be gentle with me', 'BHL8':'Be home late', 'BIF':'Before I forget', 'BIH':'Burn in hell', 'BIL':'Brother in law', 'BITMT':'But in the meantime', 'BLNT':'Better luck next time', 'BME':'Based on my experience', 'BM&Y':'Between me and you', 'BRB':'Be right back', 'BTW':'By the way', 'BWL':'Bursting with laughter', 'Bri8':'Bright', }
starts_with_b = {'B&': 'Banned', 'B2B': 'Business-to-business', 'B2C': 'Business-to-consumer', 'B2W': 'Back to work', 'B8': 'Bait', ('B/F', 'BF'): 'Boyfriend', ('B/G', 'BG'): 'Background', 'B4': 'Before', 'B4N': 'Bye for now', 'BAE': 'Babe', 'BAFO': 'Best and final offer', 'BAO': 'Be aware of', 'BAU': 'Business as usual', 'BBIAB': 'Be back in a bit', 'BBIAF': 'Be back in a few', 'BBIAM': 'Be back in a minute', 'BBIAS': 'Be back in a sec', 'BBL': 'Be back later', 'BBS': 'Be back soon', 'BBT': 'Be back tomorrow', 'BCZ': 'Because', 'B/C': 'Because', 'BCOS': 'Because', 'BCO': 'Big crush on', 'BCOY': 'Big crush on you', 'BDAY': 'Birthday', 'B-DAY': 'Birthday', 'BFF': 'Best friends forever', 'BFFL': 'Best friends for life', 'BFFLNMW': 'Best friends for life, no matter what', 'BFFN': 'Best friend for now', 'BGWM': 'Be gentle with me', 'BHL8': 'Be home late', 'BIF': 'Before I forget', 'BIH': 'Burn in hell', 'BIL': 'Brother in law', 'BITMT': 'But in the meantime', 'BLNT': 'Better luck next time', 'BME': 'Based on my experience', 'BM&Y': 'Between me and you', 'BRB': 'Be right back', 'BTW': 'By the way', 'BWL': 'Bursting with laughter', 'Bri8': 'Bright'}
# coding: utf-8 n = int(input()) x = [int(i) for i in input().split()] while True: tmp = min(x) for i in range(n): if x[i]%tmp == 0: x[i] = tmp else: x[i] %= tmp if sum(x) == tmp*n: break print(sum(x))
n = int(input()) x = [int(i) for i in input().split()] while True: tmp = min(x) for i in range(n): if x[i] % tmp == 0: x[i] = tmp else: x[i] %= tmp if sum(x) == tmp * n: break print(sum(x))
string = str(input("Enter numbers for polynom divided by whitespaces: ")) polynums = string.split(" ") sum = 0 i = 0 while i<len(polynums): sum += (1 / int(polynums[i])) i +=1 print("Answer is ", sum)
string = str(input('Enter numbers for polynom divided by whitespaces: ')) polynums = string.split(' ') sum = 0 i = 0 while i < len(polynums): sum += 1 / int(polynums[i]) i += 1 print('Answer is ', sum)
# o(n) time # o(n) space def find_best_schedule(appointments): n = len(appointments) dp = [0] * (n + 1) dp[-2] = appointments[-1] max_so_far = -float("inf") for i in reversed(range(n - 1)): choices = [] # choice 1, take the ith element, then skip i+1, and take i+2. choices.append((appointments[i] + dp[i + 2], i + 2)) # choice 2, don't take ith element, the answer sits at dp[i+1] choices.append((dp[i + 1], i + 1)) dp[i] = max(choices)[0] if dp[i] > max_so_far: max_so_far = dp[i] return max_so_far def test_find_best_schedule(): appointments = [30, 15, 60, 75, 45, 15, 15, 45] assert find_best_schedule(appointments) == 180 appointments = [30, 15, 60, 15, 45, 15, 45] assert find_best_schedule(appointments) == 180 appointments = [30, 15, 15, 60] assert find_best_schedule(appointments) == 90
def find_best_schedule(appointments): n = len(appointments) dp = [0] * (n + 1) dp[-2] = appointments[-1] max_so_far = -float('inf') for i in reversed(range(n - 1)): choices = [] choices.append((appointments[i] + dp[i + 2], i + 2)) choices.append((dp[i + 1], i + 1)) dp[i] = max(choices)[0] if dp[i] > max_so_far: max_so_far = dp[i] return max_so_far def test_find_best_schedule(): appointments = [30, 15, 60, 75, 45, 15, 15, 45] assert find_best_schedule(appointments) == 180 appointments = [30, 15, 60, 15, 45, 15, 45] assert find_best_schedule(appointments) == 180 appointments = [30, 15, 15, 60] assert find_best_schedule(appointments) == 90
# import sys # sys.setrecursionlimit(1000) # print(sys.getrecursionlimit()) def factorial(n): """Calculate n factorial n int > 0 returns n! """ if n == 1: return 1 return n * factorial(n - 1) n = int(input('Input a integer to get the factorial value: ')) print(f'{n} factorial = {factorial(n)}')
def factorial(n): """Calculate n factorial n int > 0 returns n! """ if n == 1: return 1 return n * factorial(n - 1) n = int(input('Input a integer to get the factorial value: ')) print(f'{n} factorial = {factorial(n)}')
enc = map(int,raw_input("Paste the cipher.txt here \n").split(',')) for a in range(26): a += ord('a') for b in range(26): b += ord('a') for c in range(26): c += ord('a') dec = [x for x in enc] f = 0 for i in range(len(dec)): if i %3 == 0: dec[i] = a^dec[i] elif i%3 == 1: dec[i] = b^dec[i] else: dec[i] = c^dec[i] if dec[i]>=256: f = 1 if f == 0: decs = "".join([chr(x) for x in dec]) f2 = 0 for i in range(len(decs)-3): if dec[i:i+3] == "The": f2 = 1 break if a == ord('g') and b == ord('o') and c == ord('d'): print(decs) print(f2,sum(dec))
enc = map(int, raw_input('Paste the cipher.txt here \n').split(',')) for a in range(26): a += ord('a') for b in range(26): b += ord('a') for c in range(26): c += ord('a') dec = [x for x in enc] f = 0 for i in range(len(dec)): if i % 3 == 0: dec[i] = a ^ dec[i] elif i % 3 == 1: dec[i] = b ^ dec[i] else: dec[i] = c ^ dec[i] if dec[i] >= 256: f = 1 if f == 0: decs = ''.join([chr(x) for x in dec]) f2 = 0 for i in range(len(decs) - 3): if dec[i:i + 3] == 'The': f2 = 1 break if a == ord('g') and b == ord('o') and (c == ord('d')): print(decs) print(f2, sum(dec))
# creating an empty hash table from 5 items hash_table = [[] for _ in range(5)] print(hash_table) # insterting keys and values to it def insert(hash_table, key, value): hash_key = hash(key) % len(hash_table) key_exists = False bucket = hash_table[hash_key] for i, kv in enumerate(bucket): k, v = kv if key == k: key_exists = True break if key_exists: bucket[i] = ((key, value)) else: bucket.append((key, value)) # insterting data input count = 0 while (count < 5): newK = input("Please enter a key number: ") newV = input("Please enter a Value for the key of type string: ") insert(hash_table, newK, newV) count = count + 1 print(hash_table) def search(hash_table, key): hash_key = hash(key) % len(hash_table) bucket = hash_table[hash_key] for i, kv in enumerate(bucket): k, v = kv if key == k: return v # input to search for a valur from key new_search = input("Enter a key to search for a value: ") print (search(hash_table, new_search)) def delete(hash_table, key): hash_key = hash(key) % len(hash_table) key_exists = False bucket = hash_table[hash_key] for i, kv in enumerate(bucket): k, v = kv if key == k: key_exists = True break if key_exists: del bucket[i] print ('Key {} deleted'.format(key)) else: print ('Key {} not found'.format(key)) # input for deletion val_delete = input("Enenter a key to delete: ") delete(hash_table, val_delete) print(hash_table)
hash_table = [[] for _ in range(5)] print(hash_table) def insert(hash_table, key, value): hash_key = hash(key) % len(hash_table) key_exists = False bucket = hash_table[hash_key] for (i, kv) in enumerate(bucket): (k, v) = kv if key == k: key_exists = True break if key_exists: bucket[i] = (key, value) else: bucket.append((key, value)) count = 0 while count < 5: new_k = input('Please enter a key number: ') new_v = input('Please enter a Value for the key of type string: ') insert(hash_table, newK, newV) count = count + 1 print(hash_table) def search(hash_table, key): hash_key = hash(key) % len(hash_table) bucket = hash_table[hash_key] for (i, kv) in enumerate(bucket): (k, v) = kv if key == k: return v new_search = input('Enter a key to search for a value: ') print(search(hash_table, new_search)) def delete(hash_table, key): hash_key = hash(key) % len(hash_table) key_exists = False bucket = hash_table[hash_key] for (i, kv) in enumerate(bucket): (k, v) = kv if key == k: key_exists = True break if key_exists: del bucket[i] print('Key {} deleted'.format(key)) else: print('Key {} not found'.format(key)) val_delete = input('Enenter a key to delete: ') delete(hash_table, val_delete) print(hash_table)
# -*- coding: utf-8 -*- even = 0 odd = 0 positive = 0 negative = 0 for i in range(5): A = float(input()) if (A % 2) == 0: even +=1 elif (A%2) != 0 and A != 0: odd+=1 if A > 0: positive +=1 elif A < 0: negative +=1 print("%i valor(es) par(es)"%even) print("%i valor(es) impar(es)"%odd) print("%i valor(es) positivo(s)"%positive) print("%i valor(es) negativo(s)"%negative)
even = 0 odd = 0 positive = 0 negative = 0 for i in range(5): a = float(input()) if A % 2 == 0: even += 1 elif A % 2 != 0 and A != 0: odd += 1 if A > 0: positive += 1 elif A < 0: negative += 1 print('%i valor(es) par(es)' % even) print('%i valor(es) impar(es)' % odd) print('%i valor(es) positivo(s)' % positive) print('%i valor(es) negativo(s)' % negative)
x = input() y = input() z = input() if x == 'vertebrado': if y == 'ave': if z == 'carnivoro': print('aguia') elif z == 'onivoro': print('pomba') elif y == 'mamifero': if z == 'onivoro': print('homem') elif z == 'herbivoro': print('vaca') elif x == 'invertebrado': if y == 'inseto': if z == 'hematofago': print('pulga') elif z == 'herbivoro': print('lagarta') elif y == 'anelideo': if z == 'hematofago': print('sanguessuga') elif z == 'onivoro': print('minhoca')
x = input() y = input() z = input() if x == 'vertebrado': if y == 'ave': if z == 'carnivoro': print('aguia') elif z == 'onivoro': print('pomba') elif y == 'mamifero': if z == 'onivoro': print('homem') elif z == 'herbivoro': print('vaca') elif x == 'invertebrado': if y == 'inseto': if z == 'hematofago': print('pulga') elif z == 'herbivoro': print('lagarta') elif y == 'anelideo': if z == 'hematofago': print('sanguessuga') elif z == 'onivoro': print('minhoca')
# Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. # # 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. class ModelBase(object): """`ModelBase` is the base class of the `parl.Model` in different frameworks. This base class mainly do the following things: 1. Implements APIs to manage model_id of the `parl.Model`; 2. Defines common APIs that `parl.Model` should implement in different frameworks. """ def __init__(self): pass def forward(self, *args, **kwargs): """Define forward network of the model. """ raise NotImplementedError def get_weights(self, *args, **kwargs): """Get weights of the model. """ raise NotImplementedError def set_weights(self, weights, *args, **kwargs): """Set weights of the model with given weights. """ raise NotImplementedError def sync_weights_to(self, other_model): """Synchronize weights of the model to another model. """ raise NotImplementedError def parameters(self): """Get the parameters of the model. """ raise NotImplementedError def __call__(self, *args, **kwargs): """Call forward function. """ return self.forward(*args, **kwargs)
class Modelbase(object): """`ModelBase` is the base class of the `parl.Model` in different frameworks. This base class mainly do the following things: 1. Implements APIs to manage model_id of the `parl.Model`; 2. Defines common APIs that `parl.Model` should implement in different frameworks. """ def __init__(self): pass def forward(self, *args, **kwargs): """Define forward network of the model. """ raise NotImplementedError def get_weights(self, *args, **kwargs): """Get weights of the model. """ raise NotImplementedError def set_weights(self, weights, *args, **kwargs): """Set weights of the model with given weights. """ raise NotImplementedError def sync_weights_to(self, other_model): """Synchronize weights of the model to another model. """ raise NotImplementedError def parameters(self): """Get the parameters of the model. """ raise NotImplementedError def __call__(self, *args, **kwargs): """Call forward function. """ return self.forward(*args, **kwargs)
def test_head_request_(): pass def test_status_smaller_100(): pass def test_not_modified_304(): pass def test_no_content_204(): pass def test_reset_content_205(): pass
def test_head_request_(): pass def test_status_smaller_100(): pass def test_not_modified_304(): pass def test_no_content_204(): pass def test_reset_content_205(): pass
# Prison Break # # Find the largest area created in the cell after removing horz and vert rods # Solution: Find the longest seq of rods removed from horz * longest seq of rods removed from vert # Time O(n+m) Space O(1) def find_max_gap(size, rods): # track curr gap, max gap, and prev rod removed prev = -1 curr = 1 # by default max_gap = curr for i in rods: # inc to curr gap if prev rod was also removed if i - 1 == prev: curr += 1 max_gap = max(max_gap, curr) else: # reset to track start of new gap curr = 2 max_gap = max(max_gap, curr) prev = i return max_gap def max_area(n, m, rows, cols): # print('max gap rows', find_max_gap(n, rows),'max gap cols', find_max_gap(m, cols)) return find_max_gap(n, rows) * find_max_gap(m, cols) print(max_area(5,5,[],[])) # 1 print(max_area(5,5,[1],[1])) # 4 print(max_area(5,5,[0,1],[1])) # 6 print(max_area(5,5,[0,1],[])) # 3 print(max_area(5,5,[0,1],[3,4])) # 9
def find_max_gap(size, rods): prev = -1 curr = 1 max_gap = curr for i in rods: if i - 1 == prev: curr += 1 max_gap = max(max_gap, curr) else: curr = 2 max_gap = max(max_gap, curr) prev = i return max_gap def max_area(n, m, rows, cols): return find_max_gap(n, rows) * find_max_gap(m, cols) print(max_area(5, 5, [], [])) print(max_area(5, 5, [1], [1])) print(max_area(5, 5, [0, 1], [1])) print(max_area(5, 5, [0, 1], [])) print(max_area(5, 5, [0, 1], [3, 4]))
# import time # a = time.localtime() # print(a) file = open("test", "r") # file_lines = file.readlines() # for line in file: # print(line) # # for line in file_lines: # print(line) while True: data = file.read(5) print(data) if not data: break
file = open('test', 'r') while True: data = file.read(5) print(data) if not data: break
# -*- coding: utf-8 -*- SMILLY_ITEMS = ["Duplicate Code", "Long Methods", "Ugly Variable Names"] BACKSTAGE_PASSES = ["Backstage passes for Re:Factor" ,"Backstage passes for HAXX"] GOOD_WINE = "Good Wine" LEGENDARY_ITEM = "B-DAWG Keychain" class GildedRose(object): def __init__(self, items): self.items = items def increment(self,item): if item.quality < 50: item.quality = item.quality + 1 def decrement(self,item): if item.quality > 0: item.quality = item.quality - 1 if item.sell_in < 0: item.quality = item.quality - 1 def update_quality(self): for item in self.items: if item.name == LEGENDARY_ITEM: continue item.sell_in = item.sell_in - 1 #update quality statement if item.name == GOOD_WINE : self.increment(item) elif item.name in BACKSTAGE_PASSES: self.increment(item) if item.sell_in < 11: self.increment(item) if item.sell_in < 6: self.increment(item) else: self.decrement(item) if item.name in SMILLY_ITEMS: self.decrement(item) # passed sell_in statement if item.sell_in < 0: if item.name == GOOD_WINE: self.increment(item) elif item.name in BACKSTAGE_PASSES: item.quality = item.quality - item.quality class Item: def __init__(self, name, sell_in, quality): self.name = name self.sell_in = sell_in self.quality = quality def __repr__(self): return "%s, %s, %s" % (self.name, self.sell_in, self.quality)
smilly_items = ['Duplicate Code', 'Long Methods', 'Ugly Variable Names'] backstage_passes = ['Backstage passes for Re:Factor', 'Backstage passes for HAXX'] good_wine = 'Good Wine' legendary_item = 'B-DAWG Keychain' class Gildedrose(object): def __init__(self, items): self.items = items def increment(self, item): if item.quality < 50: item.quality = item.quality + 1 def decrement(self, item): if item.quality > 0: item.quality = item.quality - 1 if item.sell_in < 0: item.quality = item.quality - 1 def update_quality(self): for item in self.items: if item.name == LEGENDARY_ITEM: continue item.sell_in = item.sell_in - 1 if item.name == GOOD_WINE: self.increment(item) elif item.name in BACKSTAGE_PASSES: self.increment(item) if item.sell_in < 11: self.increment(item) if item.sell_in < 6: self.increment(item) else: self.decrement(item) if item.name in SMILLY_ITEMS: self.decrement(item) if item.sell_in < 0: if item.name == GOOD_WINE: self.increment(item) elif item.name in BACKSTAGE_PASSES: item.quality = item.quality - item.quality class Item: def __init__(self, name, sell_in, quality): self.name = name self.sell_in = sell_in self.quality = quality def __repr__(self): return '%s, %s, %s' % (self.name, self.sell_in, self.quality)
def spp(): a = [1, 2, 3, 4] val = 3 print(a.index(val)) if __name__ == '__main__': spp()
def spp(): a = [1, 2, 3, 4] val = 3 print(a.index(val)) if __name__ == '__main__': spp()
# You are given with an array of numbers, # Your task is to print the difference of indices of largest and smallest number. # All number are unique. N = int(input("")) array = list(map(int, input().split(" ")[:N])) maxIndex = 0 minIndex = 0 max = array[0] min = array[0] for i in range(1, len(array)): if(array[i] > max): max = array[i] maxIndex = i if(array[i] < min): min = array[i] minIndex = i print(maxIndex-minIndex)
n = int(input('')) array = list(map(int, input().split(' ')[:N])) max_index = 0 min_index = 0 max = array[0] min = array[0] for i in range(1, len(array)): if array[i] > max: max = array[i] max_index = i if array[i] < min: min = array[i] min_index = i print(maxIndex - minIndex)
class ObjectAlreadyInCollection(Exception): pass class CollectionIsLocked(Exception): pass
class Objectalreadyincollection(Exception): pass class Collectionislocked(Exception): pass
# SUPPLY class Supply: vid = 0 v_bulk = 0 v_proc = 0 i_inst = 0 proc_max_i = 0 proc_min_i = 0 proc_max_v = 0 proc_min_v = 0 rpdn = 0 rll = 0 def __init__(self, rpdn, rll, vcc_max, vcc_min, imax, imin): self.rpdn = rpdn self.rll = rll self.proc_max_i = imax self.proc_min_i = imin self.proc_max_v = vcc_max self.proc_min_v = vcc_min self.vid = vcc_min + rll*imax def get_i(self): return self.i_inst def get_v(self): return self.v_bulk def get_v_proc(self): return self.v_proc def get_p(self): return self.i_inst*self.v_bulk def tick(self, i_proc): self.i_inst = i_proc self.v_proc = self.vid - self.rll*self.i_inst self.v_bulk = self.v_proc + self.rpdn*self.i_inst
class Supply: vid = 0 v_bulk = 0 v_proc = 0 i_inst = 0 proc_max_i = 0 proc_min_i = 0 proc_max_v = 0 proc_min_v = 0 rpdn = 0 rll = 0 def __init__(self, rpdn, rll, vcc_max, vcc_min, imax, imin): self.rpdn = rpdn self.rll = rll self.proc_max_i = imax self.proc_min_i = imin self.proc_max_v = vcc_max self.proc_min_v = vcc_min self.vid = vcc_min + rll * imax def get_i(self): return self.i_inst def get_v(self): return self.v_bulk def get_v_proc(self): return self.v_proc def get_p(self): return self.i_inst * self.v_bulk def tick(self, i_proc): self.i_inst = i_proc self.v_proc = self.vid - self.rll * self.i_inst self.v_bulk = self.v_proc + self.rpdn * self.i_inst
def intersection(lst1, lst2): """ >>> intersection([1, 2, 3], [2, 4, 6]) [2] >>> intersection([1, 2, 3], [4, 5, 6]) [] >>> intersection([2, 3, 2, 4], [2, 2, 4]) [2, 4] """ in_both = [] for item1 in lst1: for item2 in lst2: if item1 == item2 and item2 not in in_both: in_both.append(item2) return in_both
def intersection(lst1, lst2): """ >>> intersection([1, 2, 3], [2, 4, 6]) [2] >>> intersection([1, 2, 3], [4, 5, 6]) [] >>> intersection([2, 3, 2, 4], [2, 2, 4]) [2, 4] """ in_both = [] for item1 in lst1: for item2 in lst2: if item1 == item2 and item2 not in in_both: in_both.append(item2) return in_both
# The list is generated using https://w.wiki/aaD # Picking the top 50 ones only because it covers 97% of cases ASTRONOMICAL_OBJECTS = [ 'Q523', 'Q318', 'Q1931185', 'Q1457376', 'Q2247863', 'Q3863', 'Q83373', 'Q2154519', 'Q726242', 'Q1153690', 'Q204107', 'Q71963409', 'Q67206691', 'Q1151284', 'Q67206701', 'Q66619666', 'Q72802727', 'Q2168098', 'Q6243', 'Q72802508', 'Q11282', 'Q72803170', 'Q1332364', 'Q72802977', 'Q6999', 'Q1491746', 'Q272447', 'Q497654', 'Q204194', 'Q130019', 'Q744691', 'Q71798532', 'Q46587', 'Q11276', 'Q71965429', 'Q5871', 'Q72803622', 'Q72803426', 'Q3937', 'Q72803708', 'Q168845', 'Q24452', 'Q67201574', 'Q2557101', 'Q691269', 'Q13632', 'Q10451997', 'Q28738741', 'Q22247' ]
astronomical_objects = ['Q523', 'Q318', 'Q1931185', 'Q1457376', 'Q2247863', 'Q3863', 'Q83373', 'Q2154519', 'Q726242', 'Q1153690', 'Q204107', 'Q71963409', 'Q67206691', 'Q1151284', 'Q67206701', 'Q66619666', 'Q72802727', 'Q2168098', 'Q6243', 'Q72802508', 'Q11282', 'Q72803170', 'Q1332364', 'Q72802977', 'Q6999', 'Q1491746', 'Q272447', 'Q497654', 'Q204194', 'Q130019', 'Q744691', 'Q71798532', 'Q46587', 'Q11276', 'Q71965429', 'Q5871', 'Q72803622', 'Q72803426', 'Q3937', 'Q72803708', 'Q168845', 'Q24452', 'Q67201574', 'Q2557101', 'Q691269', 'Q13632', 'Q10451997', 'Q28738741', 'Q22247']
class InvalidToken(Exception): """An Exception Raised When an Invalid Token was Supplied.""" def __init__(self): super(InvalidToken, self).__init__("An Invalid Bearer Token was Supplied to Weverse.") class PageNotFound(Exception): r""" An Exception Raised When a link was not found. Parameters ---------- url: :class:`str` The link that was not found. """ def __init__(self, url): super(PageNotFound, self).__init__(url + "was an invalid link.") class BeingRateLimited(Exception): """An Exception Raised When Weverse Is Being Rate-Limited.""" def __init__(self): super(BeingRateLimited, self).__init__("Weverse is rate-limiting the requests.") class LoginFailed(Exception): """An Exception raised when the login failed.""" def __init__(self, msg: str = "The login process for Weverse had failed."): super(LoginFailed, self).__init__(msg) class InvalidCredentials(Exception): """An Exception raised when no valid credentials were supplied.""" def __init__(self, msg: str = "The credentials for a token or a username/password could not be found."): super(InvalidCredentials, self).__init__(msg) class NoHookFound(Exception): """An Exception raised when a loop for the hook was started but did not actually have a hook method.""" def __init__(self, msg: str = "No Hook was passed into the Weverse client."): super(NoHookFound, self).__init__(msg)
class Invalidtoken(Exception): """An Exception Raised When an Invalid Token was Supplied.""" def __init__(self): super(InvalidToken, self).__init__('An Invalid Bearer Token was Supplied to Weverse.') class Pagenotfound(Exception): """ An Exception Raised When a link was not found. Parameters ---------- url: :class:`str` The link that was not found. """ def __init__(self, url): super(PageNotFound, self).__init__(url + 'was an invalid link.') class Beingratelimited(Exception): """An Exception Raised When Weverse Is Being Rate-Limited.""" def __init__(self): super(BeingRateLimited, self).__init__('Weverse is rate-limiting the requests.') class Loginfailed(Exception): """An Exception raised when the login failed.""" def __init__(self, msg: str='The login process for Weverse had failed.'): super(LoginFailed, self).__init__(msg) class Invalidcredentials(Exception): """An Exception raised when no valid credentials were supplied.""" def __init__(self, msg: str='The credentials for a token or a username/password could not be found.'): super(InvalidCredentials, self).__init__(msg) class Nohookfound(Exception): """An Exception raised when a loop for the hook was started but did not actually have a hook method.""" def __init__(self, msg: str='No Hook was passed into the Weverse client.'): super(NoHookFound, self).__init__(msg)
# Shunting algorithm # Jose Retamal # Graph theory project GMIT 2019 # This algorithm is base on: # http://www.oxfordmathcenter.com/drupal7/node/628 # https://web.microsoftstream.com/video/cfc9f4a2-d34f-4cde-afba-063797493a90 class Converter: """ Methods for converting string. toPofix() implement, method that convert a infix string into a postfix string. """ def toPofix(self, infix): """ Convert infix string to postfix string. :param infix: infix string to convert :return: postfix string. """ # Order of preference for specials characters specials = {'-': 60, '*': 50, '+': 46, '?': 43, '.': 40, '|': 30} # Stack for convert. stack = list() # For create the postfix result string. pofix = "" isEscape =False for c in infix: if isEscape: pofix = pofix + c; isEscape = False else: if c == '(': # Push to stack. # Will server as a marker. stack.append(c) elif c == ')': # Look at the stack. # stack[-1] works as stack.peek(). while stack[-1] is not '(': # pop from stack and append it to postfix result pofix = pofix + stack.pop() # Remove '(' from the stack. stack.pop() elif c == '/': # escape character pofix = pofix + c # next character will be just throw into the stack isEscape = True elif c in specials: # While there is something on the stack # and C (actual) precedence is less or equals of the last special on the stack # pop from stack and put into pofix. # get(c,0) look for c and if is not in returns 0. while stack and specials.get(c, 0) <= specials.get(stack[-1], 0): # pop from stack and then add it to postfix result pofix = pofix + stack.pop() # add character to stack stack.append(c) else: # Normal character just added to postfix regular expression. pofix = pofix + c; # Push anything left in the stack to the end of the pofix. while stack: # Push character from stack. pofix = pofix + stack.pop() # return result return pofix
class Converter: """ Methods for converting string. toPofix() implement, method that convert a infix string into a postfix string. """ def to_pofix(self, infix): """ Convert infix string to postfix string. :param infix: infix string to convert :return: postfix string. """ specials = {'-': 60, '*': 50, '+': 46, '?': 43, '.': 40, '|': 30} stack = list() pofix = '' is_escape = False for c in infix: if isEscape: pofix = pofix + c is_escape = False elif c == '(': stack.append(c) elif c == ')': while stack[-1] is not '(': pofix = pofix + stack.pop() stack.pop() elif c == '/': pofix = pofix + c is_escape = True elif c in specials: while stack and specials.get(c, 0) <= specials.get(stack[-1], 0): pofix = pofix + stack.pop() stack.append(c) else: pofix = pofix + c while stack: pofix = pofix + stack.pop() return pofix
class Solution: def helper(self, n: int): if n == 0: return (0, 1) else: a, b = self.helper(n // 2) c = a * (b * 2 - a) d = a * a + b * b if n % 2 == 0: return (c, d) else: return (d, c + d) def climbStairs(self, n: int) -> int: if n <= 0: return 0 return self.helper(n)[1]
class Solution: def helper(self, n: int): if n == 0: return (0, 1) else: (a, b) = self.helper(n // 2) c = a * (b * 2 - a) d = a * a + b * b if n % 2 == 0: return (c, d) else: return (d, c + d) def climb_stairs(self, n: int) -> int: if n <= 0: return 0 return self.helper(n)[1]
''' Kattis - blackout We start by blocking off 1 row, then we are left with a 4x6 grid, notice that both lengths are even! So what we can do is to mirror the moves of the opponent on both axes and then we will definitely win!s Time: O(1), Space: O(1)''' num_tc = int(input()) for _ in range(num_tc): print("5 1 5 6", flush=True) while True: move = input() if (move == "GAME"): break move = move.split()[1:] move = [int(x) for x in move] if (move[2] == 5): move[2] = 4 # pretend the last row is not there move[0] = 5-move[0] move[2] = 5-move[2] move[1] = 7-move[1] move[3] = 7-move[3] if (move[0] > move[2]): move[0], move[2] = move[2], move[0] elif (move[1] > move[3]): move[1], move[3] = move[3], move[1] print("{} {} {} {}".format(move[0], move[1], move[2], move[3]), flush=True)
""" Kattis - blackout We start by blocking off 1 row, then we are left with a 4x6 grid, notice that both lengths are even! So what we can do is to mirror the moves of the opponent on both axes and then we will definitely win!s Time: O(1), Space: O(1)""" num_tc = int(input()) for _ in range(num_tc): print('5 1 5 6', flush=True) while True: move = input() if move == 'GAME': break move = move.split()[1:] move = [int(x) for x in move] if move[2] == 5: move[2] = 4 move[0] = 5 - move[0] move[2] = 5 - move[2] move[1] = 7 - move[1] move[3] = 7 - move[3] if move[0] > move[2]: (move[0], move[2]) = (move[2], move[0]) elif move[1] > move[3]: (move[1], move[3]) = (move[3], move[1]) print('{} {} {} {}'.format(move[0], move[1], move[2], move[3]), flush=True)
def hero_to_zeroa(n:int, k:int)->int: step = 0 while(n>0): step += n%k n = (n//k) * k if n == 0: break step += 1 n //= k return step numtest = int(input().strip()) for _ in range(numtest): line = input().strip().split() print(hero_to_zeroa(int(line[0]), int(line[1])))
def hero_to_zeroa(n: int, k: int) -> int: step = 0 while n > 0: step += n % k n = n // k * k if n == 0: break step += 1 n //= k return step numtest = int(input().strip()) for _ in range(numtest): line = input().strip().split() print(hero_to_zeroa(int(line[0]), int(line[1])))
num = int(input("Enter a number:\n")) if num % 5 == 0: print(f"{num} is a multiple of 5.") else: print(f"{num} is not a multiple of 5.")
num = int(input('Enter a number:\n')) if num % 5 == 0: print(f'{num} is a multiple of 5.') else: print(f'{num} is not a multiple of 5.')
# Fibonacci Pyramid a = 1 b = 2 s = a + b m = 1 n = int(input('Enser no. of rows')) d = n - 1 for i in range(0, n): for j in range(0, d): print(" ", end = ' ') for k in range(0, m): print(a, " ", end = ' ') s = a + b a = b b = s print() d -= 1 m += 1
a = 1 b = 2 s = a + b m = 1 n = int(input('Enser no. of rows')) d = n - 1 for i in range(0, n): for j in range(0, d): print(' ', end=' ') for k in range(0, m): print(a, ' ', end=' ') s = a + b a = b b = s print() d -= 1 m += 1
def not_string (n): for i in range (1,n): print(i,end='') return n n = int(input()) print(not_string(n))
def not_string(n): for i in range(1, n): print(i, end='') return n n = int(input()) print(not_string(n))
def hi(): print ('Hello world!') print(hi())
def hi(): print('Hello world!') print(hi())
# Flipping bits # You will be given a list of 32-bits unsigned integers. You are required to output the list of the unsigned integers you get by flipping bits in its binary representation (i.e. unset bits must be set, and set bits must be unset). def flipping(a): ans = ~a & 0xffffffff return ans n = int(raw_input()) for i in range(n): a = int(raw_input()) ans = flipping(a) print (ans)
def flipping(a): ans = ~a & 4294967295 return ans n = int(raw_input()) for i in range(n): a = int(raw_input()) ans = flipping(a) print(ans)
TITLE = "PyKi" PRIVATE = True FILE_SIZE_MAX_MB = 16 SECRET_KEY= "a unique and long key" CONTENT_DIR = "C:\\Users\\ongew\\Desktop\\Transfer\\CSC 440\\Projects\\PyKi\\content" UPLOAD_DIR = "C:\\Users\\ongew\\Desktop\\Transfer\\CSC 440\\Projects\\PyKi\\wiki\\web\\static\\upload" CONNECTION_STRING = "DRIVER={SQLite3 ODBC Driver};SERVER=localhost;DATABASE=PyKi.db;Trusted_connection=yes"
title = 'PyKi' private = True file_size_max_mb = 16 secret_key = 'a unique and long key' content_dir = 'C:\\Users\\ongew\\Desktop\\Transfer\\CSC 440\\Projects\\PyKi\\content' upload_dir = 'C:\\Users\\ongew\\Desktop\\Transfer\\CSC 440\\Projects\\PyKi\\wiki\\web\\static\\upload' connection_string = 'DRIVER={SQLite3 ODBC Driver};SERVER=localhost;DATABASE=PyKi.db;Trusted_connection=yes'
LogLevels = { "Fatal": 0, "Error": 1, "Warning": 2, "Notice": 3, "Info": 4, "Debug": 5, "Trace": 6 } class Logger: def __init__(self, log_level): self.log_level = log_level def log(self, level, message): if int(self.log_level) >= int(level): print(message) def log_info(self, message): self.log(LogLevels["Info"], message) def log_debug(self, message): self.log(LogLevels["Debug"], message) def log_error(self, message): self.log(LogLevels["Error"], message) def log_warn(self, message): self.log(LogLevels["Warning"], message) def log_notice(self, message): self.log(LogLevels["Notice"], message) def log_fatal(self, message): self.log(LogLevels["Fatal"], message) def log_trace(self, message): self.log(LogLevels["Trace"], message)
log_levels = {'Fatal': 0, 'Error': 1, 'Warning': 2, 'Notice': 3, 'Info': 4, 'Debug': 5, 'Trace': 6} class Logger: def __init__(self, log_level): self.log_level = log_level def log(self, level, message): if int(self.log_level) >= int(level): print(message) def log_info(self, message): self.log(LogLevels['Info'], message) def log_debug(self, message): self.log(LogLevels['Debug'], message) def log_error(self, message): self.log(LogLevels['Error'], message) def log_warn(self, message): self.log(LogLevels['Warning'], message) def log_notice(self, message): self.log(LogLevels['Notice'], message) def log_fatal(self, message): self.log(LogLevels['Fatal'], message) def log_trace(self, message): self.log(LogLevels['Trace'], message)
class Solution: def findDifference(self, nums1: List[int], nums2: List[int]) -> List[List[int]]: answer = [] res = [] [res.append(i) for i in nums1 if i not in res and i not in nums2] answer.append(res[:]) res = [] [res.append(i) for i in nums2 if i not in res and i not in nums1] answer.append(res[:]) return answer
class Solution: def find_difference(self, nums1: List[int], nums2: List[int]) -> List[List[int]]: answer = [] res = [] [res.append(i) for i in nums1 if i not in res and i not in nums2] answer.append(res[:]) res = [] [res.append(i) for i in nums2 if i not in res and i not in nums1] answer.append(res[:]) return answer
def insertionSort(array): # loop through unsorted elements, considering first element sorted for i in range(1, len(array)): # select first unsorted element elementToSort = array[i] # initialize position as the previous position position = i - 1 # loop through last sorted index to index 0, checking if current element is greater than the elementToSort for j in range(i - 1, -1, -1): # checks if current element is greater than elementToSort if array[j] > elementToSort: # move sorted element to the right array[j + 1] = array[j] # sets the position of greater element to be the position where the elementToSort has to be inserted position = j else: # in this case the current element is smaller than elementToSort so elementToSort has to stay on the same position position = j + 1 break array[position] = elementToSort print("{} - {}".format(i, array)) return array if __name__ == '__main__': print("============== Insertion sort ==============") #array = [4, 3, 2, 10, 12, 1, 5, 6] array = [] ans = 1 print("Insert 'd' to sort default array") while ans != "q": print('** You can insert "q" to confirm the array') element = input("Insert a element: ") if element == "q": break elif element == "d": array = [4, 3, 2, 10, 12, 1, 5, 6] break try: array.append(int(element)) except Exception as e: print(e) print("Array to sort {}".format(array)) array = insertionSort(array) print("Sorted array {}".format(array)) print("============================================")
def insertion_sort(array): for i in range(1, len(array)): element_to_sort = array[i] position = i - 1 for j in range(i - 1, -1, -1): if array[j] > elementToSort: array[j + 1] = array[j] position = j else: position = j + 1 break array[position] = elementToSort print('{} - {}'.format(i, array)) return array if __name__ == '__main__': print('============== Insertion sort ==============') array = [] ans = 1 print("Insert 'd' to sort default array") while ans != 'q': print('** You can insert "q" to confirm the array') element = input('Insert a element: ') if element == 'q': break elif element == 'd': array = [4, 3, 2, 10, 12, 1, 5, 6] break try: array.append(int(element)) except Exception as e: print(e) print('Array to sort {}'.format(array)) array = insertion_sort(array) print('Sorted array {}'.format(array)) print('============================================')
class LoadData(): """ Loads data from a trace input file into an array of shape (N, 2), where N represents the Total Memory Requests and 2 represents cache input. """ def __init__(self, filename): #assuming N x 2. self.filename = filename self.memory = [] def to_bin(self, address): """ Convert hex string to 32 bit binary """ return bin(int(address, 16))[2:].zfill(32)[::-1] def read(self): """ Read data from a file delimiterized by \n """ f = open(self.filename,'r') content = f.readlines() for data in content: function, address = data.strip().split("\t") self.memory.append([function, self.to_bin(address)]) #simulate main memory return self.memory def __len__(self): """ Override the length property to return number of elements """ return len(self.memory)
class Loaddata: """ Loads data from a trace input file into an array of shape (N, 2), where N represents the Total Memory Requests and 2 represents cache input. """ def __init__(self, filename): self.filename = filename self.memory = [] def to_bin(self, address): """ Convert hex string to 32 bit binary """ return bin(int(address, 16))[2:].zfill(32)[::-1] def read(self): """ Read data from a file delimiterized by """ f = open(self.filename, 'r') content = f.readlines() for data in content: (function, address) = data.strip().split('\t') self.memory.append([function, self.to_bin(address)]) return self.memory def __len__(self): """ Override the length property to return number of elements """ return len(self.memory)
''' Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Your goal is to reach the last index in the minimum number of jumps. Example: Input: [2,3,1,1,4] Output: 2 Explanation: The minimum number of jumps to reach the last index is 2. Jump 1 step from index 0 to 1, then 3 steps to the last index. ''' class Solution: def jump(self, nums: List[int]) -> int: cur_ind = 0 max_num = [0, 0] steps = 0 while cur_ind < len(nums) - 1: for idx, i in enumerate(range(1, nums[cur_ind] + 1)): if cur_ind + i >= len(nums) - 1: return steps + 1 if nums[cur_ind + i] + cur_ind + i > max_num[1]: max_num = [cur_ind + i, nums[cur_ind + i] + cur_ind + i] steps += 1 cur_ind = max_num[0] max_num = [0, 0] return steps
""" Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. Your goal is to reach the last index in the minimum number of jumps. Example: Input: [2,3,1,1,4] Output: 2 Explanation: The minimum number of jumps to reach the last index is 2. Jump 1 step from index 0 to 1, then 3 steps to the last index. """ class Solution: def jump(self, nums: List[int]) -> int: cur_ind = 0 max_num = [0, 0] steps = 0 while cur_ind < len(nums) - 1: for (idx, i) in enumerate(range(1, nums[cur_ind] + 1)): if cur_ind + i >= len(nums) - 1: return steps + 1 if nums[cur_ind + i] + cur_ind + i > max_num[1]: max_num = [cur_ind + i, nums[cur_ind + i] + cur_ind + i] steps += 1 cur_ind = max_num[0] max_num = [0, 0] return steps
def aliquot_sum(n: int) -> int: return sum([factor for factor in range(1, n//2+1) if n % factor == 0]) def classify(number: int) -> str: """ A perfect number equals the sum of its positive divisors. :param number: int a positive integer :return: str the classification of the input integer """ if number < 1: raise ValueError( "Classification is only possible for positive integers.") sum = aliquot_sum(number) if sum < number: return "deficient" elif sum > number: return "abundant" return "perfect"
def aliquot_sum(n: int) -> int: return sum([factor for factor in range(1, n // 2 + 1) if n % factor == 0]) def classify(number: int) -> str: """ A perfect number equals the sum of its positive divisors. :param number: int a positive integer :return: str the classification of the input integer """ if number < 1: raise value_error('Classification is only possible for positive integers.') sum = aliquot_sum(number) if sum < number: return 'deficient' elif sum > number: return 'abundant' return 'perfect'
@app.route("/transaction", methods=['GET','POST']) def transactions(): Create_Transaction_Form = CreateTransactionForm(request.form) user_id = session['user_id'] if request.method == 'POST': first_name = Create_Transaction_Form.first_name.data last_name = Create_Transaction_Form.last_name.data username = Create_Transaction_Form.username.data email = Create_Transaction_Form.email.data address = Create_Transaction_Form.address.data payment_method = Create_Transaction_Form.payment_type.data cc_number = Create_Transaction_Form.card_number.data cc_expiration = Create_Transaction_Form.expiry.data cc_cvv = Create_Transaction_Form.security_code.data customer_dict = {} db = shelve.open('storage.db', 'w') customer_dict = db['Customers'] customer = customer_dict.get(user_id) customer.set_firstName(first_name) customer.set_lastName(last_name) customer.set_username(username) customer.set_email(email) customer.set_address(address) customer.set_payment_method(payment_method) customer.set_card_number(cc_number) customer.set_expiry(cc_expiration) customer.set_security_code(cc_cvv) db['Customers'] = customer_dict db.close() return redirect(url_for('confirm_transaction')) else: db = shelve.open('storage.db', 'w') customer_dict = db['Customers'] customer = customer_dict.get(user_id) Create_Transaction_Form.first_name.data = customer.get_firstName() Create_Transaction_Form.last_name.data = customer.get_lastName() Create_Transaction_Form.username.data = customer.get_username() Create_Transaction_Form.email.data = customer.get_email() Create_Transaction_Form.address.data = customer.get_address() Create_Transaction_Form.payment_type.data = customer.get_payment_method() Create_Transaction_Form.card_number.data = customer.get_card_number() Create_Transaction_Form.expiry.data = customer.get_expiry() Create_Transaction_Form.security_code.data = customer.get_security_code() cart_dict = {} db = shelve.open('cart.db', 'r') cart_dict = db['cart'] db.close() user_cart = cart_dict.get(user_id) total = 0 cart_list = [] for key in user_cart: product = user_cart.get(key) total = total + product.get_total() cart_list.append(product) return render_template('transaction/transaction.html',form=Create_Transaction_Form,cart_list = cart_list,total=total)
@app.route('/transaction', methods=['GET', 'POST']) def transactions(): create__transaction__form = create_transaction_form(request.form) user_id = session['user_id'] if request.method == 'POST': first_name = Create_Transaction_Form.first_name.data last_name = Create_Transaction_Form.last_name.data username = Create_Transaction_Form.username.data email = Create_Transaction_Form.email.data address = Create_Transaction_Form.address.data payment_method = Create_Transaction_Form.payment_type.data cc_number = Create_Transaction_Form.card_number.data cc_expiration = Create_Transaction_Form.expiry.data cc_cvv = Create_Transaction_Form.security_code.data customer_dict = {} db = shelve.open('storage.db', 'w') customer_dict = db['Customers'] customer = customer_dict.get(user_id) customer.set_firstName(first_name) customer.set_lastName(last_name) customer.set_username(username) customer.set_email(email) customer.set_address(address) customer.set_payment_method(payment_method) customer.set_card_number(cc_number) customer.set_expiry(cc_expiration) customer.set_security_code(cc_cvv) db['Customers'] = customer_dict db.close() return redirect(url_for('confirm_transaction')) else: db = shelve.open('storage.db', 'w') customer_dict = db['Customers'] customer = customer_dict.get(user_id) Create_Transaction_Form.first_name.data = customer.get_firstName() Create_Transaction_Form.last_name.data = customer.get_lastName() Create_Transaction_Form.username.data = customer.get_username() Create_Transaction_Form.email.data = customer.get_email() Create_Transaction_Form.address.data = customer.get_address() Create_Transaction_Form.payment_type.data = customer.get_payment_method() Create_Transaction_Form.card_number.data = customer.get_card_number() Create_Transaction_Form.expiry.data = customer.get_expiry() Create_Transaction_Form.security_code.data = customer.get_security_code() cart_dict = {} db = shelve.open('cart.db', 'r') cart_dict = db['cart'] db.close() user_cart = cart_dict.get(user_id) total = 0 cart_list = [] for key in user_cart: product = user_cart.get(key) total = total + product.get_total() cart_list.append(product) return render_template('transaction/transaction.html', form=Create_Transaction_Form, cart_list=cart_list, total=total)
# # PySNMP MIB module Nortel-Magellan-Passport-ModAtmQosMIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-Magellan-Passport-ModAtmQosMIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:18:26 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, SingleValueConstraint, ValueSizeConstraint, ConstraintsUnion, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ConstraintsIntersection") modFrsIndex, modFrs = mibBuilder.importSymbols("Nortel-Magellan-Passport-ModCommonMIB", "modFrsIndex", "modFrs") modIndex, = mibBuilder.importSymbols("Nortel-Magellan-Passport-ShelfMIB", "modIndex") Unsigned32, StorageType, RowStatus, Integer32, DisplayString = mibBuilder.importSymbols("Nortel-Magellan-Passport-StandardTextualConventionsMIB", "Unsigned32", "StorageType", "RowStatus", "Integer32", "DisplayString") NonReplicated, = mibBuilder.importSymbols("Nortel-Magellan-Passport-TextualConventionsMIB", "NonReplicated") passportMIBs, = mibBuilder.importSymbols("Nortel-Magellan-Passport-UsefulDefinitionsMIB", "passportMIBs") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Unsigned32, Counter64, iso, MibScalar, MibTable, MibTableRow, MibTableColumn, Integer32, NotificationType, IpAddress, Counter32, Gauge32, ObjectIdentity, Bits, MibIdentifier, ModuleIdentity, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "Unsigned32", "Counter64", "iso", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Integer32", "NotificationType", "IpAddress", "Counter32", "Gauge32", "ObjectIdentity", "Bits", "MibIdentifier", "ModuleIdentity", "TimeTicks") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") modAtmQosMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 75)) modFrsAtmNet = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2)) modFrsAtmNetRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 1), ) if mibBuilder.loadTexts: modFrsAtmNetRowStatusTable.setStatus('mandatory') modFrsAtmNetRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-ShelfMIB", "modIndex"), (0, "Nortel-Magellan-Passport-ModCommonMIB", "modFrsIndex"), (0, "Nortel-Magellan-Passport-ModAtmQosMIB", "modFrsAtmNetIndex")) if mibBuilder.loadTexts: modFrsAtmNetRowStatusEntry.setStatus('mandatory') modFrsAtmNetRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: modFrsAtmNetRowStatus.setStatus('mandatory') modFrsAtmNetComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: modFrsAtmNetComponentName.setStatus('mandatory') modFrsAtmNetStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: modFrsAtmNetStorageType.setStatus('mandatory') modFrsAtmNetIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: modFrsAtmNetIndex.setStatus('mandatory') modFrsAtmNetProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 10), ) if mibBuilder.loadTexts: modFrsAtmNetProvTable.setStatus('mandatory') modFrsAtmNetProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-ShelfMIB", "modIndex"), (0, "Nortel-Magellan-Passport-ModCommonMIB", "modFrsIndex"), (0, "Nortel-Magellan-Passport-ModAtmQosMIB", "modFrsAtmNetIndex")) if mibBuilder.loadTexts: modFrsAtmNetProvEntry.setStatus('mandatory') modFrsAtmNetRetryTimerPeriod = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 10, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(30, 300)).clone(60)).setMaxAccess("readwrite") if mibBuilder.loadTexts: modFrsAtmNetRetryTimerPeriod.setStatus('mandatory') modFrsAtmNetTpm = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2)) modFrsAtmNetTpmRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 1), ) if mibBuilder.loadTexts: modFrsAtmNetTpmRowStatusTable.setStatus('mandatory') modFrsAtmNetTpmRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-ShelfMIB", "modIndex"), (0, "Nortel-Magellan-Passport-ModCommonMIB", "modFrsIndex"), (0, "Nortel-Magellan-Passport-ModAtmQosMIB", "modFrsAtmNetIndex"), (0, "Nortel-Magellan-Passport-ModAtmQosMIB", "modFrsAtmNetTpmIndex")) if mibBuilder.loadTexts: modFrsAtmNetTpmRowStatusEntry.setStatus('mandatory') modFrsAtmNetTpmRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: modFrsAtmNetTpmRowStatus.setStatus('mandatory') modFrsAtmNetTpmComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: modFrsAtmNetTpmComponentName.setStatus('mandatory') modFrsAtmNetTpmStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: modFrsAtmNetTpmStorageType.setStatus('mandatory') modFrsAtmNetTpmIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))) if mibBuilder.loadTexts: modFrsAtmNetTpmIndex.setStatus('mandatory') modFrsAtmNetTpmProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 2), ) if mibBuilder.loadTexts: modFrsAtmNetTpmProvTable.setStatus('mandatory') modFrsAtmNetTpmProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 2, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-ShelfMIB", "modIndex"), (0, "Nortel-Magellan-Passport-ModCommonMIB", "modFrsIndex"), (0, "Nortel-Magellan-Passport-ModAtmQosMIB", "modFrsAtmNetIndex"), (0, "Nortel-Magellan-Passport-ModAtmQosMIB", "modFrsAtmNetTpmIndex")) if mibBuilder.loadTexts: modFrsAtmNetTpmProvEntry.setStatus('mandatory') modFrsAtmNetTpmEmissionPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readwrite") if mibBuilder.loadTexts: modFrsAtmNetTpmEmissionPriority.setStatus('mandatory') modFrsAtmNetTpmAtmServiceCategory = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("ubr", 0), ("cbr", 1), ("rtVbr", 2), ("nrtVbr", 3))).clone('nrtVbr')).setMaxAccess("readwrite") if mibBuilder.loadTexts: modFrsAtmNetTpmAtmServiceCategory.setStatus('mandatory') modFrsAtmNetTpmAvgFrameSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 2, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 8187)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: modFrsAtmNetTpmAvgFrameSize.setStatus('mandatory') modFrsAtmNetTpmTrafficParmConversionPolicy = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(3, 4, 5, 6))).clone(namedValues=NamedValues(("n3", 3), ("n4", 4), ("n5", 5), ("n6", 6))).clone('n6')).setMaxAccess("readwrite") if mibBuilder.loadTexts: modFrsAtmNetTpmTrafficParmConversionPolicy.setStatus('mandatory') modFrsAtmNetTpmAssignedBandwidthPool = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15))).clone(namedValues=NamedValues(("n0", 0), ("n1", 1), ("n2", 2), ("n3", 3), ("n4", 4), ("n5", 5), ("n6", 6), ("n7", 7), ("n8", 8), ("n9", 9), ("n10", 10), ("n11", 11), ("n12", 12), ("n13", 13), ("n14", 14), ("n15", 15))).clone('n0')).setMaxAccess("readwrite") if mibBuilder.loadTexts: modFrsAtmNetTpmAssignedBandwidthPool.setStatus('mandatory') modAtmQosGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 75, 1)) modAtmQosGroupBE = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 75, 1, 5)) modAtmQosGroupBE01 = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 75, 1, 5, 2)) modAtmQosGroupBE01A = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 75, 1, 5, 2, 2)) modAtmQosCapabilities = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 75, 3)) modAtmQosCapabilitiesBE = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 75, 3, 5)) modAtmQosCapabilitiesBE01 = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 75, 3, 5, 2)) modAtmQosCapabilitiesBE01A = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 75, 3, 5, 2, 2)) mibBuilder.exportSymbols("Nortel-Magellan-Passport-ModAtmQosMIB", modAtmQosCapabilitiesBE01A=modAtmQosCapabilitiesBE01A, modFrsAtmNetRowStatusTable=modFrsAtmNetRowStatusTable, modFrsAtmNetStorageType=modFrsAtmNetStorageType, modFrsAtmNetTpmRowStatus=modFrsAtmNetTpmRowStatus, modAtmQosGroupBE=modAtmQosGroupBE, modAtmQosCapabilities=modAtmQosCapabilities, modFrsAtmNet=modFrsAtmNet, modFrsAtmNetTpmComponentName=modFrsAtmNetTpmComponentName, modFrsAtmNetProvTable=modFrsAtmNetProvTable, modAtmQosGroup=modAtmQosGroup, modAtmQosCapabilitiesBE01=modAtmQosCapabilitiesBE01, modAtmQosGroupBE01A=modAtmQosGroupBE01A, modFrsAtmNetRowStatusEntry=modFrsAtmNetRowStatusEntry, modFrsAtmNetTpmRowStatusTable=modFrsAtmNetTpmRowStatusTable, modFrsAtmNetTpmRowStatusEntry=modFrsAtmNetTpmRowStatusEntry, modFrsAtmNetTpmProvTable=modFrsAtmNetTpmProvTable, modFrsAtmNetRowStatus=modFrsAtmNetRowStatus, modFrsAtmNetTpmEmissionPriority=modFrsAtmNetTpmEmissionPriority, modFrsAtmNetTpmAssignedBandwidthPool=modFrsAtmNetTpmAssignedBandwidthPool, modFrsAtmNetComponentName=modFrsAtmNetComponentName, modFrsAtmNetTpmIndex=modFrsAtmNetTpmIndex, modFrsAtmNetTpmTrafficParmConversionPolicy=modFrsAtmNetTpmTrafficParmConversionPolicy, modFrsAtmNetTpmAtmServiceCategory=modFrsAtmNetTpmAtmServiceCategory, modFrsAtmNetIndex=modFrsAtmNetIndex, modFrsAtmNetRetryTimerPeriod=modFrsAtmNetRetryTimerPeriod, modFrsAtmNetTpmAvgFrameSize=modFrsAtmNetTpmAvgFrameSize, modAtmQosMIB=modAtmQosMIB, modFrsAtmNetTpmStorageType=modFrsAtmNetTpmStorageType, modFrsAtmNetTpm=modFrsAtmNetTpm, modFrsAtmNetProvEntry=modFrsAtmNetProvEntry, modFrsAtmNetTpmProvEntry=modFrsAtmNetTpmProvEntry, modAtmQosGroupBE01=modAtmQosGroupBE01, modAtmQosCapabilitiesBE=modAtmQosCapabilitiesBE)
(integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, single_value_constraint, value_size_constraint, constraints_union, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection') (mod_frs_index, mod_frs) = mibBuilder.importSymbols('Nortel-Magellan-Passport-ModCommonMIB', 'modFrsIndex', 'modFrs') (mod_index,) = mibBuilder.importSymbols('Nortel-Magellan-Passport-ShelfMIB', 'modIndex') (unsigned32, storage_type, row_status, integer32, display_string) = mibBuilder.importSymbols('Nortel-Magellan-Passport-StandardTextualConventionsMIB', 'Unsigned32', 'StorageType', 'RowStatus', 'Integer32', 'DisplayString') (non_replicated,) = mibBuilder.importSymbols('Nortel-Magellan-Passport-TextualConventionsMIB', 'NonReplicated') (passport_mi_bs,) = mibBuilder.importSymbols('Nortel-Magellan-Passport-UsefulDefinitionsMIB', 'passportMIBs') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (unsigned32, counter64, iso, mib_scalar, mib_table, mib_table_row, mib_table_column, integer32, notification_type, ip_address, counter32, gauge32, object_identity, bits, mib_identifier, module_identity, time_ticks) = mibBuilder.importSymbols('SNMPv2-SMI', 'Unsigned32', 'Counter64', 'iso', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Integer32', 'NotificationType', 'IpAddress', 'Counter32', 'Gauge32', 'ObjectIdentity', 'Bits', 'MibIdentifier', 'ModuleIdentity', 'TimeTicks') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') mod_atm_qos_mib = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 75)) mod_frs_atm_net = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2)) mod_frs_atm_net_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 1)) if mibBuilder.loadTexts: modFrsAtmNetRowStatusTable.setStatus('mandatory') mod_frs_atm_net_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-ShelfMIB', 'modIndex'), (0, 'Nortel-Magellan-Passport-ModCommonMIB', 'modFrsIndex'), (0, 'Nortel-Magellan-Passport-ModAtmQosMIB', 'modFrsAtmNetIndex')) if mibBuilder.loadTexts: modFrsAtmNetRowStatusEntry.setStatus('mandatory') mod_frs_atm_net_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: modFrsAtmNetRowStatus.setStatus('mandatory') mod_frs_atm_net_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: modFrsAtmNetComponentName.setStatus('mandatory') mod_frs_atm_net_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: modFrsAtmNetStorageType.setStatus('mandatory') mod_frs_atm_net_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: modFrsAtmNetIndex.setStatus('mandatory') mod_frs_atm_net_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 10)) if mibBuilder.loadTexts: modFrsAtmNetProvTable.setStatus('mandatory') mod_frs_atm_net_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-ShelfMIB', 'modIndex'), (0, 'Nortel-Magellan-Passport-ModCommonMIB', 'modFrsIndex'), (0, 'Nortel-Magellan-Passport-ModAtmQosMIB', 'modFrsAtmNetIndex')) if mibBuilder.loadTexts: modFrsAtmNetProvEntry.setStatus('mandatory') mod_frs_atm_net_retry_timer_period = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 10, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(30, 300)).clone(60)).setMaxAccess('readwrite') if mibBuilder.loadTexts: modFrsAtmNetRetryTimerPeriod.setStatus('mandatory') mod_frs_atm_net_tpm = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2)) mod_frs_atm_net_tpm_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 1)) if mibBuilder.loadTexts: modFrsAtmNetTpmRowStatusTable.setStatus('mandatory') mod_frs_atm_net_tpm_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-ShelfMIB', 'modIndex'), (0, 'Nortel-Magellan-Passport-ModCommonMIB', 'modFrsIndex'), (0, 'Nortel-Magellan-Passport-ModAtmQosMIB', 'modFrsAtmNetIndex'), (0, 'Nortel-Magellan-Passport-ModAtmQosMIB', 'modFrsAtmNetTpmIndex')) if mibBuilder.loadTexts: modFrsAtmNetTpmRowStatusEntry.setStatus('mandatory') mod_frs_atm_net_tpm_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: modFrsAtmNetTpmRowStatus.setStatus('mandatory') mod_frs_atm_net_tpm_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: modFrsAtmNetTpmComponentName.setStatus('mandatory') mod_frs_atm_net_tpm_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: modFrsAtmNetTpmStorageType.setStatus('mandatory') mod_frs_atm_net_tpm_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 15))) if mibBuilder.loadTexts: modFrsAtmNetTpmIndex.setStatus('mandatory') mod_frs_atm_net_tpm_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 2)) if mibBuilder.loadTexts: modFrsAtmNetTpmProvTable.setStatus('mandatory') mod_frs_atm_net_tpm_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 2, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-ShelfMIB', 'modIndex'), (0, 'Nortel-Magellan-Passport-ModCommonMIB', 'modFrsIndex'), (0, 'Nortel-Magellan-Passport-ModAtmQosMIB', 'modFrsAtmNetIndex'), (0, 'Nortel-Magellan-Passport-ModAtmQosMIB', 'modFrsAtmNetTpmIndex')) if mibBuilder.loadTexts: modFrsAtmNetTpmProvEntry.setStatus('mandatory') mod_frs_atm_net_tpm_emission_priority = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 2, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 3))).setMaxAccess('readwrite') if mibBuilder.loadTexts: modFrsAtmNetTpmEmissionPriority.setStatus('mandatory') mod_frs_atm_net_tpm_atm_service_category = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('ubr', 0), ('cbr', 1), ('rtVbr', 2), ('nrtVbr', 3))).clone('nrtVbr')).setMaxAccess('readwrite') if mibBuilder.loadTexts: modFrsAtmNetTpmAtmServiceCategory.setStatus('mandatory') mod_frs_atm_net_tpm_avg_frame_size = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 2, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 8187)).clone(128)).setMaxAccess('readwrite') if mibBuilder.loadTexts: modFrsAtmNetTpmAvgFrameSize.setStatus('mandatory') mod_frs_atm_net_tpm_traffic_parm_conversion_policy = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(3, 4, 5, 6))).clone(namedValues=named_values(('n3', 3), ('n4', 4), ('n5', 5), ('n6', 6))).clone('n6')).setMaxAccess('readwrite') if mibBuilder.loadTexts: modFrsAtmNetTpmTrafficParmConversionPolicy.setStatus('mandatory') mod_frs_atm_net_tpm_assigned_bandwidth_pool = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 16, 3, 2, 2, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15))).clone(namedValues=named_values(('n0', 0), ('n1', 1), ('n2', 2), ('n3', 3), ('n4', 4), ('n5', 5), ('n6', 6), ('n7', 7), ('n8', 8), ('n9', 9), ('n10', 10), ('n11', 11), ('n12', 12), ('n13', 13), ('n14', 14), ('n15', 15))).clone('n0')).setMaxAccess('readwrite') if mibBuilder.loadTexts: modFrsAtmNetTpmAssignedBandwidthPool.setStatus('mandatory') mod_atm_qos_group = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 75, 1)) mod_atm_qos_group_be = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 75, 1, 5)) mod_atm_qos_group_be01 = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 75, 1, 5, 2)) mod_atm_qos_group_be01_a = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 75, 1, 5, 2, 2)) mod_atm_qos_capabilities = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 75, 3)) mod_atm_qos_capabilities_be = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 75, 3, 5)) mod_atm_qos_capabilities_be01 = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 75, 3, 5, 2)) mod_atm_qos_capabilities_be01_a = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 75, 3, 5, 2, 2)) mibBuilder.exportSymbols('Nortel-Magellan-Passport-ModAtmQosMIB', modAtmQosCapabilitiesBE01A=modAtmQosCapabilitiesBE01A, modFrsAtmNetRowStatusTable=modFrsAtmNetRowStatusTable, modFrsAtmNetStorageType=modFrsAtmNetStorageType, modFrsAtmNetTpmRowStatus=modFrsAtmNetTpmRowStatus, modAtmQosGroupBE=modAtmQosGroupBE, modAtmQosCapabilities=modAtmQosCapabilities, modFrsAtmNet=modFrsAtmNet, modFrsAtmNetTpmComponentName=modFrsAtmNetTpmComponentName, modFrsAtmNetProvTable=modFrsAtmNetProvTable, modAtmQosGroup=modAtmQosGroup, modAtmQosCapabilitiesBE01=modAtmQosCapabilitiesBE01, modAtmQosGroupBE01A=modAtmQosGroupBE01A, modFrsAtmNetRowStatusEntry=modFrsAtmNetRowStatusEntry, modFrsAtmNetTpmRowStatusTable=modFrsAtmNetTpmRowStatusTable, modFrsAtmNetTpmRowStatusEntry=modFrsAtmNetTpmRowStatusEntry, modFrsAtmNetTpmProvTable=modFrsAtmNetTpmProvTable, modFrsAtmNetRowStatus=modFrsAtmNetRowStatus, modFrsAtmNetTpmEmissionPriority=modFrsAtmNetTpmEmissionPriority, modFrsAtmNetTpmAssignedBandwidthPool=modFrsAtmNetTpmAssignedBandwidthPool, modFrsAtmNetComponentName=modFrsAtmNetComponentName, modFrsAtmNetTpmIndex=modFrsAtmNetTpmIndex, modFrsAtmNetTpmTrafficParmConversionPolicy=modFrsAtmNetTpmTrafficParmConversionPolicy, modFrsAtmNetTpmAtmServiceCategory=modFrsAtmNetTpmAtmServiceCategory, modFrsAtmNetIndex=modFrsAtmNetIndex, modFrsAtmNetRetryTimerPeriod=modFrsAtmNetRetryTimerPeriod, modFrsAtmNetTpmAvgFrameSize=modFrsAtmNetTpmAvgFrameSize, modAtmQosMIB=modAtmQosMIB, modFrsAtmNetTpmStorageType=modFrsAtmNetTpmStorageType, modFrsAtmNetTpm=modFrsAtmNetTpm, modFrsAtmNetProvEntry=modFrsAtmNetProvEntry, modFrsAtmNetTpmProvEntry=modFrsAtmNetTpmProvEntry, modAtmQosGroupBE01=modAtmQosGroupBE01, modAtmQosCapabilitiesBE=modAtmQosCapabilitiesBE)
''' In place quickSort The quickSort Method Time Complexity : Best,Avg - O(NlogN) , Worst - O(N^2) Space Complexity : O(N) Auxilary Space : O(logN) for the stack frames ''' def quickSort(a,start,end): if(start >= end): return a else: pivot = a[end] swapIndex = start for i in range(start,end + 1): if(a[i] < pivot): #swap(a,i,swapIndex) temp = a[i] a[i] = a[swapIndex] a[swapIndex] = temp swapIndex += 1 #swap(a,end,swapIndex) temp = a[end] a[end] = a[swapIndex] a[swapIndex] = temp quickSort(a,start,swapIndex - 1) quickSort(a,swapIndex + 1,end)
""" In place quickSort The quickSort Method Time Complexity : Best,Avg - O(NlogN) , Worst - O(N^2) Space Complexity : O(N) Auxilary Space : O(logN) for the stack frames """ def quick_sort(a, start, end): if start >= end: return a else: pivot = a[end] swap_index = start for i in range(start, end + 1): if a[i] < pivot: temp = a[i] a[i] = a[swapIndex] a[swapIndex] = temp swap_index += 1 temp = a[end] a[end] = a[swapIndex] a[swapIndex] = temp quick_sort(a, start, swapIndex - 1) quick_sort(a, swapIndex + 1, end)
def f(lst): lst.reverse() lst.append(42) return lst L = [1, 2, 3] counter = 2 while counter > 0: len(f(f((f(L))))) # breakpoint counter -= 1
def f(lst): lst.reverse() lst.append(42) return lst l = [1, 2, 3] counter = 2 while counter > 0: len(f(f(f(L)))) counter -= 1
def createCalendar(month): ac = '' days = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] for i in days: ac = ac + i + ' ' print(f'\n {month}\n') print(ac) createCalendar('March')
def create_calendar(month): ac = '' days = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] for i in days: ac = ac + i + ' ' print(f'\n {month}\n') print(ac) create_calendar('March')
""" Given a nested list of lexemes that have been parsed from a boolean expression, factor everything out into a list-of-lists of conjunctions (AND combinations). For example, given an expression like "(a or b and c) and (e or f)" It is first parsed into [['a', 'or', 'b', 'and', 'c'], 'and', ['e', 'or', 'f']] Then it is processed by this module into: [['a', 'e'], ['a', 'f'], ['b, 'c', 'e'], ['b', 'c', 'f']] Terms: `lexeme` - a single, atomic syntactic token, such as 'and', 'or', or a keyword such as 'BPLAN_RS02065' `keyword` - a user-defined word in an expression such as a gene name -- can be any string except and/or `expression` - a nested list of lexemes that represents a parsed expression tree `conjunction` - a list of keywords that are all joined together with AND operators `disjunction` - a list of conjunctions, where each conjunction is joined by an OR operator `term` - either a lexeme or a disjunction """ def remove_unknowns(disj): """ Filter out all conjunctions in a disjunction that contain 'Unknown' keywords. This can be applied to the resulting value from `flatten_expr` """ return [conj for conj in disj if 'Unknown' not in conj] def flatten_expr(expr): """ Flatten a nested parsed list of lexemes into a list of conjunctions. """ return traverse_lexemes(expr, convert_expr_to_disjunction) def traverse_lexemes(expr, fn): """ Apply a function to every expression in a lexeme tree, bottom-up. Eg. given [['a', 'and', 'b'], 'or', ['c', 'and', 'd']] It applies the function like: fn([fn(['a', 'and', 'b']), 'or', fn(['c', 'and', 'd'])]) This is recursive. We're not worried about stack overflow here. """ if isinstance(expr, str): return expr # base case return fn([traverse_lexemes(term, fn) for term in expr]) def convert_expr_to_disjunction(expr): """ Convert a list of lexemes like ['a', 'and', ['b', 'or', 'c']] into a list of lists, where each sub-list is a separate AND conjunction, and all conjunctions are joined together by OR disjunctions. eg. ['a', 'or', 'b', 'and', 'c'] results in [['a'], ['b', 'c']] The expression may have sub-parts that have already recursively been converted into disjunctions. For example, this function may be given ['a', 'and', [['b'], ['c', 'd']]]. In this case, we will combine the sub-expression according to rules found in the `or_combination` and `and_combination` functions. eg. with an expr like "(a or b) and (c or d)" that has been converted to two sub-expressions `[['a'], ['b']]` and `[['c'], ['d']]` then they will get combined here into [['a', 'c'], ['a', 'd'], ['b', 'c'], ['b', 'd']] """ # A disjunction is a list of conjunctions disj = [] # type: list # Modes set by the 'mode' variable are: # or: we last saw an 'or' operator and will concatenate the next term to the top level # and: we last saw an 'and' operator and will append terms to previous conjunctions # op: we last saw a term and are now expecting an operator mode = 'or' # 'or' is concatenation. We want to start off by concatenating the first term. conj = disj for lexeme in expr: if mode == 'and': conj = and_combination(disj, lexeme) # We will next expect an operator mode = 'op' elif mode == 'or': conj = or_combination(disj, lexeme) # We will next expect an operator mode = 'op' elif mode == 'op': # Set the mode to the type of operator mode = lexeme return conj def or_combination(disjunction, term): """ Join together a disjunction and another term using an OR operator. If the term is a lexeme, we simply append it as a new conjunction to the end of the disjunction. If the term is another disjunction, then we concatenate both disjunctions together. """ if isinstance(term, list): # Combine two sub-expressions with OR (just concatenates) disjunction += term else: # Append an atom to the whole expression (OR case) disjunction.append([term]) return disjunction def and_combination(disjunction, term): """ Join a disjunction and another term together with an AND operator. If term is a lexeme, then we append it to the last conjunction in the disjunction. If `term` is itself a disjunction, then we do a pair-wise combination of every conjunction in both disjunctions. example: "(a or b) and (c or d)" with disjunction as [[a], [b]] and term as [[c], [d]] the result is [[a, c], [a, d], [b, c], [b, d]] """ if isinstance(term, list): # Combine two sub-expressions with AND return [conj1 + conj2 for conj1 in disjunction for conj2 in term] else: # Append an atom to the last expression (AND case) disjunction[-1].append(term) return disjunction
""" Given a nested list of lexemes that have been parsed from a boolean expression, factor everything out into a list-of-lists of conjunctions (AND combinations). For example, given an expression like "(a or b and c) and (e or f)" It is first parsed into [['a', 'or', 'b', 'and', 'c'], 'and', ['e', 'or', 'f']] Then it is processed by this module into: [['a', 'e'], ['a', 'f'], ['b, 'c', 'e'], ['b', 'c', 'f']] Terms: `lexeme` - a single, atomic syntactic token, such as 'and', 'or', or a keyword such as 'BPLAN_RS02065' `keyword` - a user-defined word in an expression such as a gene name -- can be any string except and/or `expression` - a nested list of lexemes that represents a parsed expression tree `conjunction` - a list of keywords that are all joined together with AND operators `disjunction` - a list of conjunctions, where each conjunction is joined by an OR operator `term` - either a lexeme or a disjunction """ def remove_unknowns(disj): """ Filter out all conjunctions in a disjunction that contain 'Unknown' keywords. This can be applied to the resulting value from `flatten_expr` """ return [conj for conj in disj if 'Unknown' not in conj] def flatten_expr(expr): """ Flatten a nested parsed list of lexemes into a list of conjunctions. """ return traverse_lexemes(expr, convert_expr_to_disjunction) def traverse_lexemes(expr, fn): """ Apply a function to every expression in a lexeme tree, bottom-up. Eg. given [['a', 'and', 'b'], 'or', ['c', 'and', 'd']] It applies the function like: fn([fn(['a', 'and', 'b']), 'or', fn(['c', 'and', 'd'])]) This is recursive. We're not worried about stack overflow here. """ if isinstance(expr, str): return expr return fn([traverse_lexemes(term, fn) for term in expr]) def convert_expr_to_disjunction(expr): """ Convert a list of lexemes like ['a', 'and', ['b', 'or', 'c']] into a list of lists, where each sub-list is a separate AND conjunction, and all conjunctions are joined together by OR disjunctions. eg. ['a', 'or', 'b', 'and', 'c'] results in [['a'], ['b', 'c']] The expression may have sub-parts that have already recursively been converted into disjunctions. For example, this function may be given ['a', 'and', [['b'], ['c', 'd']]]. In this case, we will combine the sub-expression according to rules found in the `or_combination` and `and_combination` functions. eg. with an expr like "(a or b) and (c or d)" that has been converted to two sub-expressions `[['a'], ['b']]` and `[['c'], ['d']]` then they will get combined here into [['a', 'c'], ['a', 'd'], ['b', 'c'], ['b', 'd']] """ disj = [] mode = 'or' conj = disj for lexeme in expr: if mode == 'and': conj = and_combination(disj, lexeme) mode = 'op' elif mode == 'or': conj = or_combination(disj, lexeme) mode = 'op' elif mode == 'op': mode = lexeme return conj def or_combination(disjunction, term): """ Join together a disjunction and another term using an OR operator. If the term is a lexeme, we simply append it as a new conjunction to the end of the disjunction. If the term is another disjunction, then we concatenate both disjunctions together. """ if isinstance(term, list): disjunction += term else: disjunction.append([term]) return disjunction def and_combination(disjunction, term): """ Join a disjunction and another term together with an AND operator. If term is a lexeme, then we append it to the last conjunction in the disjunction. If `term` is itself a disjunction, then we do a pair-wise combination of every conjunction in both disjunctions. example: "(a or b) and (c or d)" with disjunction as [[a], [b]] and term as [[c], [d]] the result is [[a, c], [a, d], [b, c], [b, d]] """ if isinstance(term, list): return [conj1 + conj2 for conj1 in disjunction for conj2 in term] else: disjunction[-1].append(term) return disjunction
def load_loss_function(loss_class, *args, **kwargs): loss_function = loss_class(*args, **kwargs) return loss_function
def load_loss_function(loss_class, *args, **kwargs): loss_function = loss_class(*args, **kwargs) return loss_function
#!/usr/bin/env python2.7 #-*- coding: utf-8 -*- QTUM_PREFIX = "/home/danx/std_workspace/qtum-package/" QTUM_BIN = QTUM_PREFIX + "bin/" CMD_QTUMD = QTUM_BIN + "qtumd" CMD_QTUMCLI = QTUM_BIN + "qtum-cli" ######################################## QTUM_NODES = { 'node1': { 'NODEX__QTUM_DATADIR' : "/home/danx/std_workspace/qtum-data/node1/", 'NODEX__PORT' : 13888, 'NODEX__RCPPORT' : 13889, 'NODEX__QTUM_RPC' : "http://test:test@localhost:%d" % 13889 }, 'node2': { 'NODEX__QTUM_DATADIR' : "/home/danx/std_workspace/qtum-data/node2/", 'NODEX__PORT' : 14888, 'NODEX__RCPPORT' : 14889, 'NODEX__QTUM_RPC' : "http://test:test@localhost:%d" % 14889 } } QTUM_DFT_NODE = 'node1'
qtum_prefix = '/home/danx/std_workspace/qtum-package/' qtum_bin = QTUM_PREFIX + 'bin/' cmd_qtumd = QTUM_BIN + 'qtumd' cmd_qtumcli = QTUM_BIN + 'qtum-cli' qtum_nodes = {'node1': {'NODEX__QTUM_DATADIR': '/home/danx/std_workspace/qtum-data/node1/', 'NODEX__PORT': 13888, 'NODEX__RCPPORT': 13889, 'NODEX__QTUM_RPC': 'http://test:test@localhost:%d' % 13889}, 'node2': {'NODEX__QTUM_DATADIR': '/home/danx/std_workspace/qtum-data/node2/', 'NODEX__PORT': 14888, 'NODEX__RCPPORT': 14889, 'NODEX__QTUM_RPC': 'http://test:test@localhost:%d' % 14889}} qtum_dft_node = 'node1'
# Write a function called get_info that receives a name, an age, and a town and returns a string in the format: # "This is {name} from {town} and he is {age} years old". Use dictionary unpacking when testing your function. Submit only the function in the judge system. def get_info(**kwargs): return f"This is {kwargs.get('name')} from {kwargs.get('town')} and he is {kwargs.get('age')} years old"
def get_info(**kwargs): return f"This is {kwargs.get('name')} from {kwargs.get('town')} and he is {kwargs.get('age')} years old"
#encoding:utf-8 subreddit = 'learntodraw' t_channel = '@Learntodrawx' def send_post(submission, r2t): return r2t.send_simple(submission)
subreddit = 'learntodraw' t_channel = '@Learntodrawx' def send_post(submission, r2t): return r2t.send_simple(submission)
s = "" for i in range(1, 1000): s += str(i) x = int(input()) print(s[x-1])
s = '' for i in range(1, 1000): s += str(i) x = int(input()) print(s[x - 1])
""" DatabaseSetingsModule ---------------------- This is a Module which has Class for Database and database Settings """ class Database(object): """Database Class which is responsile for connecting to databse """ def __init__(self, connection_string): """ This is connection string o connect to sql server :param connection_string: str """ self.connection_string = connection_string def connect(self) -> True: """ This method is used to connect to database :return: Bool """ print("connected to database") return True
""" DatabaseSetingsModule ---------------------- This is a Module which has Class for Database and database Settings """ class Database(object): """Database Class which is responsile for connecting to databse """ def __init__(self, connection_string): """ This is connection string o connect to sql server :param connection_string: str """ self.connection_string = connection_string def connect(self) -> True: """ This method is used to connect to database :return: Bool """ print('connected to database') return True
# Copyright 2016 Recorded Future, Inc. # # 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. """Data models to manipulate responses from the API.""" class DotAccessDict(dict): """Creates a dict/object hybrid. Instances of DotAccessDict behaves like dicts and objects at the same time. Ex d['example'] = 1 and d.example = 1 are equivalent. Ex: # example = DotAccessDict() # example.key1 = 'value1' # example['key2'] = 'value2' # (example['key1'], example.key2) # => ('value2', 'value1') """ def __init__(self, d=None, **kwargs): """Initialize the class.""" dict.__init__(self) if d is None: d = {} if kwargs: d.update(**kwargs) for key, value in d.items(): setattr(self, key, value) # Class attributes for key in self.__class__.__dict__.keys(): if not (key.startswith('__') and key.endswith('__')): setattr(self, key, getattr(self, key)) def __setattr__(self, name, value): """Set attribute name to value.""" if isinstance(value, (list, tuple)): value = [self.__class__(x) if isinstance(x, dict) else x for x in value] elif isinstance(value, dict): value = DotAccessDict(value) dict.__setattr__(self, name, value) dict.__setitem__(self, name, value) class Entity(DotAccessDict): """Dict with dot access to values.""" pass class Reference(DotAccessDict): """Dict with dot access to values.""" pass class Event(DotAccessDict): """Dict with dot access to values.""" pass
"""Data models to manipulate responses from the API.""" class Dotaccessdict(dict): """Creates a dict/object hybrid. Instances of DotAccessDict behaves like dicts and objects at the same time. Ex d['example'] = 1 and d.example = 1 are equivalent. Ex: # example = DotAccessDict() # example.key1 = 'value1' # example['key2'] = 'value2' # (example['key1'], example.key2) # => ('value2', 'value1') """ def __init__(self, d=None, **kwargs): """Initialize the class.""" dict.__init__(self) if d is None: d = {} if kwargs: d.update(**kwargs) for (key, value) in d.items(): setattr(self, key, value) for key in self.__class__.__dict__.keys(): if not (key.startswith('__') and key.endswith('__')): setattr(self, key, getattr(self, key)) def __setattr__(self, name, value): """Set attribute name to value.""" if isinstance(value, (list, tuple)): value = [self.__class__(x) if isinstance(x, dict) else x for x in value] elif isinstance(value, dict): value = dot_access_dict(value) dict.__setattr__(self, name, value) dict.__setitem__(self, name, value) class Entity(DotAccessDict): """Dict with dot access to values.""" pass class Reference(DotAccessDict): """Dict with dot access to values.""" pass class Event(DotAccessDict): """Dict with dot access to values.""" pass
def splitter(string): split = string.split(' ') return split print(splitter('this is a very messy string'))
def splitter(string): split = string.split(' ') return split print(splitter('this is a very messy string'))
S = [int(x) for x in input()] N = len(S) if S[0] == 0 or S[-1] == 1 or any(S[i] != S[-i - 2] for i in range(N - 1)): print(-1) quit() edge = [(1, 2)] root, now = 2, 3 for i in range(1, N // 2 + 1): edge.append((root, now)) if S[i] == 1: root = now now += 1 while now <= N: edge.append((root, now)) now += 1 for s, t in edge: print(s, t)
s = [int(x) for x in input()] n = len(S) if S[0] == 0 or S[-1] == 1 or any((S[i] != S[-i - 2] for i in range(N - 1))): print(-1) quit() edge = [(1, 2)] (root, now) = (2, 3) for i in range(1, N // 2 + 1): edge.append((root, now)) if S[i] == 1: root = now now += 1 while now <= N: edge.append((root, now)) now += 1 for (s, t) in edge: print(s, t)
MANO_CONF_ROOT_DIR = './' # Attetion: pretrained detnet and iknet are only trained for left model! use left hand DETECTION_MODEL_PATH = MANO_CONF_ROOT_DIR+'model/detnet/detnet.ckpt' IK_MODEL_PATH = MANO_CONF_ROOT_DIR+'model/iknet/iknet.ckpt' # Convert 'HAND_MESH_MODEL_PATH' to 'HAND_MESH_MODEL_PATH_JSON' with 'prepare_mano.py' HAND_MESH_MODEL_LEFT_PATH_JSON = MANO_CONF_ROOT_DIR+'model/hand_mesh/mano_hand_mesh_left.json' HAND_MESH_MODEL_RIGHT_PATH_JSON = MANO_CONF_ROOT_DIR+'model/hand_mesh/mano_hand_mesh_right.json' OFFICIAL_MANO_LEFT_PATH = MANO_CONF_ROOT_DIR+'model/mano/MANO_LEFT.pkl' OFFICIAL_MANO_RIGHT_PATH = MANO_CONF_ROOT_DIR+'model/mano/MANO_RIGHT.pkl' IK_UNIT_LENGTH = 0.09473151311686484 # in meter OFFICIAL_MANO_PATH_LEFT_JSON = MANO_CONF_ROOT_DIR+'model/mano_handstate/mano_left.json' OFFICIAL_MANO_PATH_RIGHT_JSON = MANO_CONF_ROOT_DIR+'model/mano_handstate/mano_right.json'
mano_conf_root_dir = './' detection_model_path = MANO_CONF_ROOT_DIR + 'model/detnet/detnet.ckpt' ik_model_path = MANO_CONF_ROOT_DIR + 'model/iknet/iknet.ckpt' hand_mesh_model_left_path_json = MANO_CONF_ROOT_DIR + 'model/hand_mesh/mano_hand_mesh_left.json' hand_mesh_model_right_path_json = MANO_CONF_ROOT_DIR + 'model/hand_mesh/mano_hand_mesh_right.json' official_mano_left_path = MANO_CONF_ROOT_DIR + 'model/mano/MANO_LEFT.pkl' official_mano_right_path = MANO_CONF_ROOT_DIR + 'model/mano/MANO_RIGHT.pkl' ik_unit_length = 0.09473151311686484 official_mano_path_left_json = MANO_CONF_ROOT_DIR + 'model/mano_handstate/mano_left.json' official_mano_path_right_json = MANO_CONF_ROOT_DIR + 'model/mano_handstate/mano_right.json'
# PyAlgoTrade # # Copyright 2012 Gabriel Martin Becedillas Ruiz # # 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. """ .. moduleauthor:: Gabriel Martin Becedillas Ruiz <gabriel.becedillas@gmail.com> """ def get_change_percentage(actual, prev): if actual is None or prev is None or prev == 0: raise Exception("Invalid values") diff = actual-prev ret = diff/float(abs(prev)) return ret def lt(v1, v2): if v1 == None: return True elif v2 == None: return False else: return v1 < v2 # Returns (values, ix1, ix2) # values1 and values2 are assumed to be sorted def intersect(values1, values2, skipNone = False): ix1 = [] ix2 = [] values = [] i1 = 0 i2 = 0 while i1 < len(values1) and i2 < len(values2): v1 = values1[i1] v2 = values2[i2] if v1 == v2 and (v1 != None or skipNone == False): ix1.append(i1) ix2.append(i2) values.append(v1) i1 += 1 i2 += 1 elif lt(v1, v2): i1 += 1 else: i2 += 1 return (values, ix1, ix2)
""" .. moduleauthor:: Gabriel Martin Becedillas Ruiz <gabriel.becedillas@gmail.com> """ def get_change_percentage(actual, prev): if actual is None or prev is None or prev == 0: raise exception('Invalid values') diff = actual - prev ret = diff / float(abs(prev)) return ret def lt(v1, v2): if v1 == None: return True elif v2 == None: return False else: return v1 < v2 def intersect(values1, values2, skipNone=False): ix1 = [] ix2 = [] values = [] i1 = 0 i2 = 0 while i1 < len(values1) and i2 < len(values2): v1 = values1[i1] v2 = values2[i2] if v1 == v2 and (v1 != None or skipNone == False): ix1.append(i1) ix2.append(i2) values.append(v1) i1 += 1 i2 += 1 elif lt(v1, v2): i1 += 1 else: i2 += 1 return (values, ix1, ix2)
# MEDIUM # sliding window size: [Start,i] # increment start if window size - most frequent char > k # time O(N) Space O(1) class Solution: def characterReplacement(self, s: str, k: int) -> int: count = [0]* 26 result,gmax,start = 0,0,0 for i in range(len(s)): count[ord(s[i])-ord('A')]+= 1 gmax = max(gmax,count[ord(s[i])-ord('A')]) while i -start +1 - gmax >k: count[ord(s[start])-ord('A')]-=1 start += 1 result = max(result,i-start +1) return result
class Solution: def character_replacement(self, s: str, k: int) -> int: count = [0] * 26 (result, gmax, start) = (0, 0, 0) for i in range(len(s)): count[ord(s[i]) - ord('A')] += 1 gmax = max(gmax, count[ord(s[i]) - ord('A')]) while i - start + 1 - gmax > k: count[ord(s[start]) - ord('A')] -= 1 start += 1 result = max(result, i - start + 1) return result