content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
inputFile = "day13/day13_1_input.txt" # https://adventofcode.com/2021/day/13 def deleteAndAddKeys(paperDict, keysToPop, keysToAdd): for key in keysToPop: del paperDict[key] for key in keysToAdd: if key not in paperDict: paperDict[key] = True def foldYUp(paperDict, y): keysToPop = [] keysToAdd = [] for key in paperDict: if key[0] == y: # on index zero we have y position keysToPop.append(key) if key[0] > y: # we should fold up yFoldDiff = key[0] - y newYCoordinate = y - yFoldDiff keysToAdd.append((newYCoordinate, key[1])) keysToPop.append(key) deleteAndAddKeys(paperDict, keysToPop, keysToAdd) def foldXLeft(paperDict, x): keysToPop = [] keysToAdd = [] for key in paperDict: if key[1] == x: # on index one we have x position keysToPop.append(key) if key[1] > x: # we should fold left xFoldDiff = key[1] - x newXCoordinate = x - xFoldDiff keysToAdd.append((key[0], newXCoordinate)) keysToPop.append(key) deleteAndAddKeys(paperDict, keysToPop, keysToAdd) if __name__ == '__main__': with open(inputFile, "r") as f: input = f.read().split("\n") # print(input) transparentPaperDict = {} folds = [] isFolds = False for line in input: if line == '': isFolds = True continue if isFolds: folds.append(line) else: x, y = line.split(",") transparentPaperDict[(int(y), int(x))] = True nbFolds = 0 for fold in folds: command, value = fold.split("=") # print(command, int(value)) if command == "fold along y": foldYUp(transparentPaperDict, int(value)) if command == "fold along x": foldXLeft(transparentPaperDict, int(value)) nbFolds += 1 if nbFolds == 1: print("part1. Visible dots after first fold: ", len(transparentPaperDict)) maxX = 0 maxY = 0 for key in transparentPaperDict: if key[0] > maxY: maxY = key[0] if key[1] > maxX: maxX = key[1] resultPrint = [] for i in range(0, maxY + 1): resultPrint.append(["."] * (maxX + 1)) for key in transparentPaperDict: resultPrint[key[0]][key[1]] = "#" # print result in console print("part2. ASCI ART :)") for line in resultPrint: for value in line: print(value, end="") print()
input_file = 'day13/day13_1_input.txt' def delete_and_add_keys(paperDict, keysToPop, keysToAdd): for key in keysToPop: del paperDict[key] for key in keysToAdd: if key not in paperDict: paperDict[key] = True def fold_y_up(paperDict, y): keys_to_pop = [] keys_to_add = [] for key in paperDict: if key[0] == y: keysToPop.append(key) if key[0] > y: y_fold_diff = key[0] - y new_y_coordinate = y - yFoldDiff keysToAdd.append((newYCoordinate, key[1])) keysToPop.append(key) delete_and_add_keys(paperDict, keysToPop, keysToAdd) def fold_x_left(paperDict, x): keys_to_pop = [] keys_to_add = [] for key in paperDict: if key[1] == x: keysToPop.append(key) if key[1] > x: x_fold_diff = key[1] - x new_x_coordinate = x - xFoldDiff keysToAdd.append((key[0], newXCoordinate)) keysToPop.append(key) delete_and_add_keys(paperDict, keysToPop, keysToAdd) if __name__ == '__main__': with open(inputFile, 'r') as f: input = f.read().split('\n') transparent_paper_dict = {} folds = [] is_folds = False for line in input: if line == '': is_folds = True continue if isFolds: folds.append(line) else: (x, y) = line.split(',') transparentPaperDict[int(y), int(x)] = True nb_folds = 0 for fold in folds: (command, value) = fold.split('=') if command == 'fold along y': fold_y_up(transparentPaperDict, int(value)) if command == 'fold along x': fold_x_left(transparentPaperDict, int(value)) nb_folds += 1 if nbFolds == 1: print('part1. Visible dots after first fold: ', len(transparentPaperDict)) max_x = 0 max_y = 0 for key in transparentPaperDict: if key[0] > maxY: max_y = key[0] if key[1] > maxX: max_x = key[1] result_print = [] for i in range(0, maxY + 1): resultPrint.append(['.'] * (maxX + 1)) for key in transparentPaperDict: resultPrint[key[0]][key[1]] = '#' print('part2. ASCI ART :)') for line in resultPrint: for value in line: print(value, end='') print()
SPECIMEN_MAPPING = { "output_name": "specimen", "select": [ "specimen_id", "external_sample_id", "colony_id", "strain_accession_id", "genetic_background", "strain_name", "zygosity", "production_center", "phenotyping_center", "project", "litter_id", "biological_sample_group", "sex", "pipeline_stable_id", "developmental_stage_name", "developmental_stage_acc", ], "col_renaming": { "external_sample_id": "source_id", "biological_sample_group": "sample_group", }, }
specimen_mapping = {'output_name': 'specimen', 'select': ['specimen_id', 'external_sample_id', 'colony_id', 'strain_accession_id', 'genetic_background', 'strain_name', 'zygosity', 'production_center', 'phenotyping_center', 'project', 'litter_id', 'biological_sample_group', 'sex', 'pipeline_stable_id', 'developmental_stage_name', 'developmental_stage_acc'], 'col_renaming': {'external_sample_id': 'source_id', 'biological_sample_group': 'sample_group'}}
class Node: def __init__(self, data=None): self.__data = data self.__next = None @property def data(self): return self.__data @data.setter def data(self, data): self.__data = data @property def next(self): return self.__next @next.setter def next(self, n): self.__next = n class LStack: def __init__(self): self.top = None def empty(self): if self.top is None: return True else: return False def push(self, data): new_node = Node(data) new_node.next = self.top self.top = new_node def pop(self): if self.empty(): return cur = self.top self.top = self.top.next return cur.data def peek(self): if self.empty(): return return self.top.data if __name__ == '__main__': s = LStack() s.push(1) s.push(2) s.push(3) s.push(4) s.push(5) for i in range(5): print(s.pop())
class Node: def __init__(self, data=None): self.__data = data self.__next = None @property def data(self): return self.__data @data.setter def data(self, data): self.__data = data @property def next(self): return self.__next @next.setter def next(self, n): self.__next = n class Lstack: def __init__(self): self.top = None def empty(self): if self.top is None: return True else: return False def push(self, data): new_node = node(data) new_node.next = self.top self.top = new_node def pop(self): if self.empty(): return cur = self.top self.top = self.top.next return cur.data def peek(self): if self.empty(): return return self.top.data if __name__ == '__main__': s = l_stack() s.push(1) s.push(2) s.push(3) s.push(4) s.push(5) for i in range(5): print(s.pop())
# Copyright (c) 2021-2022, NVIDIA CORPORATION. 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 CommunicationMetaData(object): COMMAND = "command" TASK_NAME = "task_name" FL_CTX = "fl_ctx" EVENT_TYPE = "event_type" HANDLE_CONN = "handle_conn" EXE_CONN = "exe_conn" COMPONENTS = "MPExecutor_components" HANDLERS = "MPExecutor_handlers" LOCAL_EXECUTOR = "local_executor" RANK_NUMBER = "rank_number" SHAREABLE = "shareable" RELAYER = "relayer" RANK_PROCESS_STARTED = "rank_process_started" PARENT_PASSWORD = "parent process secret password" CHILD_PASSWORD = "client process secret password" class CommunicateData(object): EXECUTE = "execute" HANDLE_EVENT = "handle_event" CLOSE = "close" SUB_WORKER_PROCESS = "sub_worker_process" MULTI_PROCESS_EXECUTOR = "multi_process_executor"
class Communicationmetadata(object): command = 'command' task_name = 'task_name' fl_ctx = 'fl_ctx' event_type = 'event_type' handle_conn = 'handle_conn' exe_conn = 'exe_conn' components = 'MPExecutor_components' handlers = 'MPExecutor_handlers' local_executor = 'local_executor' rank_number = 'rank_number' shareable = 'shareable' relayer = 'relayer' rank_process_started = 'rank_process_started' parent_password = 'parent process secret password' child_password = 'client process secret password' class Communicatedata(object): execute = 'execute' handle_event = 'handle_event' close = 'close' sub_worker_process = 'sub_worker_process' multi_process_executor = 'multi_process_executor'
def Part1(): File = open("Input.txt").read().split("\n") Order = [3,1] CurrentLocation = [0,0] Trees = 0 while (CurrentLocation[1] < len(File)-1): CurrentLocation[1] += Order[1] CurrentLocation[0] += Order[0] if File[CurrentLocation[1]][CurrentLocation[0] % 31] == "#": Trees += 1 return Trees def Part2(): File = open("Input.txt").read().split("\n") Orders = [[1,2],[3,1],[1,1],[5,1],[7,1]] Multiply = 1 for Order in Orders: CurrentLocation = [0,0] Trees = 0 while (CurrentLocation[1] < len(File)-1): CurrentLocation[1] += Order[1] CurrentLocation[0] += Order[0] if File[CurrentLocation[1]][CurrentLocation[0] % 31] == "#": Trees += 1 Multiply *= Trees return Multiply print(Part1()) print(Part2())
def part1(): file = open('Input.txt').read().split('\n') order = [3, 1] current_location = [0, 0] trees = 0 while CurrentLocation[1] < len(File) - 1: CurrentLocation[1] += Order[1] CurrentLocation[0] += Order[0] if File[CurrentLocation[1]][CurrentLocation[0] % 31] == '#': trees += 1 return Trees def part2(): file = open('Input.txt').read().split('\n') orders = [[1, 2], [3, 1], [1, 1], [5, 1], [7, 1]] multiply = 1 for order in Orders: current_location = [0, 0] trees = 0 while CurrentLocation[1] < len(File) - 1: CurrentLocation[1] += Order[1] CurrentLocation[0] += Order[0] if File[CurrentLocation[1]][CurrentLocation[0] % 31] == '#': trees += 1 multiply *= Trees return Multiply print(part1()) print(part2())
lista=[[],[]] for i in range(0,7): numero=int(input('Digite um valor: ')) if numero%2==0: lista[0].append(numero) else: lista[1].append(numero) lista[0].sort() lista[1].sort() print(f'Os valores pares foram {lista[0]} e os impares foram {lista[1]}')
lista = [[], []] for i in range(0, 7): numero = int(input('Digite um valor: ')) if numero % 2 == 0: lista[0].append(numero) else: lista[1].append(numero) lista[0].sort() lista[1].sort() print(f'Os valores pares foram {lista[0]} e os impares foram {lista[1]}')
class Build: def __init__(self, **CONFIG): self.CONFIG = CONFIG try: self.builtup = CONFIG['STRING'] except KeyError: raise KeyError('Could not find configuration "STRING"') def __call__(self): return self.builtup def reset(self): self.builtup = self.CONFIG['STRING'] def addon(self, addon=None): if addon == None: try: addon = self.CONFIG['ADDON'] except KeyError: raise KeyError('Could not find configuration "ADDON"') self.builtup += addon @property def config(self): return self.CONFIG @config.setter def config(self, NEW_CONFIG): self.CONFIG = NEW_CONFIG
class Build: def __init__(self, **CONFIG): self.CONFIG = CONFIG try: self.builtup = CONFIG['STRING'] except KeyError: raise key_error('Could not find configuration "STRING"') def __call__(self): return self.builtup def reset(self): self.builtup = self.CONFIG['STRING'] def addon(self, addon=None): if addon == None: try: addon = self.CONFIG['ADDON'] except KeyError: raise key_error('Could not find configuration "ADDON"') self.builtup += addon @property def config(self): return self.CONFIG @config.setter def config(self, NEW_CONFIG): self.CONFIG = NEW_CONFIG
class Check(object): '''Base class for defining linting checks.''' ID = None def run(self, name, meta, source): return True
class Check(object): """Base class for defining linting checks.""" id = None def run(self, name, meta, source): return True
# pylint: skip-file # flake8: noqa # noqa: E302,E301 # pylint: disable=too-many-instance-attributes class RouteConfig(object): ''' Handle route options ''' # pylint: disable=too-many-arguments def __init__(self, sname, namespace, kubeconfig, destcacert=None, cacert=None, cert=None, key=None, host=None, tls_termination=None, service_name=None, wildcard_policy=None, weight=None): ''' constructor for handling route options ''' self.kubeconfig = kubeconfig self.name = sname self.namespace = namespace self.host = host self.tls_termination = tls_termination self.destcacert = destcacert self.cacert = cacert self.cert = cert self.key = key self.service_name = service_name self.data = {} self.wildcard_policy = wildcard_policy if wildcard_policy is None: self.wildcard_policy = 'None' self.weight = weight if weight is None: self.weight = 100 self.create_dict() def create_dict(self): ''' return a service as a dict ''' self.data['apiVersion'] = 'v1' self.data['kind'] = 'Route' self.data['metadata'] = {} self.data['metadata']['name'] = self.name self.data['metadata']['namespace'] = self.namespace self.data['spec'] = {} self.data['spec']['host'] = self.host if self.tls_termination: self.data['spec']['tls'] = {} if self.tls_termination == 'reencrypt': self.data['spec']['tls']['destinationCACertificate'] = self.destcacert self.data['spec']['tls']['key'] = self.key self.data['spec']['tls']['caCertificate'] = self.cacert self.data['spec']['tls']['certificate'] = self.cert self.data['spec']['tls']['termination'] = self.tls_termination self.data['spec']['to'] = {'kind': 'Service', 'name': self.service_name, 'weight': self.weight} self.data['spec']['wildcardPolicy'] = self.wildcard_policy # pylint: disable=too-many-instance-attributes,too-many-public-methods class Route(Yedit): ''' Class to wrap the oc command line tools ''' wildcard_policy = "spec.wildcardPolicy" host_path = "spec.host" service_path = "spec.to.name" weight_path = "spec.to.weight" cert_path = "spec.tls.certificate" cacert_path = "spec.tls.caCertificate" destcacert_path = "spec.tls.destinationCACertificate" termination_path = "spec.tls.termination" key_path = "spec.tls.key" kind = 'route' def __init__(self, content): '''Route constructor''' super(Route, self).__init__(content=content) def get_destcacert(self): ''' return cert ''' return self.get(Route.destcacert_path) def get_cert(self): ''' return cert ''' return self.get(Route.cert_path) def get_key(self): ''' return key ''' return self.get(Route.key_path) def get_cacert(self): ''' return cacert ''' return self.get(Route.cacert_path) def get_service(self): ''' return service name ''' return self.get(Route.service_path) def get_weight(self): ''' return service weight ''' return self.get(Route.weight_path) def get_termination(self): ''' return tls termination''' return self.get(Route.termination_path) def get_host(self): ''' return host ''' return self.get(Route.host_path) def get_wildcard_policy(self): ''' return wildcardPolicy ''' return self.get(Route.wildcard_policy)
class Routeconfig(object): """ Handle route options """ def __init__(self, sname, namespace, kubeconfig, destcacert=None, cacert=None, cert=None, key=None, host=None, tls_termination=None, service_name=None, wildcard_policy=None, weight=None): """ constructor for handling route options """ self.kubeconfig = kubeconfig self.name = sname self.namespace = namespace self.host = host self.tls_termination = tls_termination self.destcacert = destcacert self.cacert = cacert self.cert = cert self.key = key self.service_name = service_name self.data = {} self.wildcard_policy = wildcard_policy if wildcard_policy is None: self.wildcard_policy = 'None' self.weight = weight if weight is None: self.weight = 100 self.create_dict() def create_dict(self): """ return a service as a dict """ self.data['apiVersion'] = 'v1' self.data['kind'] = 'Route' self.data['metadata'] = {} self.data['metadata']['name'] = self.name self.data['metadata']['namespace'] = self.namespace self.data['spec'] = {} self.data['spec']['host'] = self.host if self.tls_termination: self.data['spec']['tls'] = {} if self.tls_termination == 'reencrypt': self.data['spec']['tls']['destinationCACertificate'] = self.destcacert self.data['spec']['tls']['key'] = self.key self.data['spec']['tls']['caCertificate'] = self.cacert self.data['spec']['tls']['certificate'] = self.cert self.data['spec']['tls']['termination'] = self.tls_termination self.data['spec']['to'] = {'kind': 'Service', 'name': self.service_name, 'weight': self.weight} self.data['spec']['wildcardPolicy'] = self.wildcard_policy class Route(Yedit): """ Class to wrap the oc command line tools """ wildcard_policy = 'spec.wildcardPolicy' host_path = 'spec.host' service_path = 'spec.to.name' weight_path = 'spec.to.weight' cert_path = 'spec.tls.certificate' cacert_path = 'spec.tls.caCertificate' destcacert_path = 'spec.tls.destinationCACertificate' termination_path = 'spec.tls.termination' key_path = 'spec.tls.key' kind = 'route' def __init__(self, content): """Route constructor""" super(Route, self).__init__(content=content) def get_destcacert(self): """ return cert """ return self.get(Route.destcacert_path) def get_cert(self): """ return cert """ return self.get(Route.cert_path) def get_key(self): """ return key """ return self.get(Route.key_path) def get_cacert(self): """ return cacert """ return self.get(Route.cacert_path) def get_service(self): """ return service name """ return self.get(Route.service_path) def get_weight(self): """ return service weight """ return self.get(Route.weight_path) def get_termination(self): """ return tls termination""" return self.get(Route.termination_path) def get_host(self): """ return host """ return self.get(Route.host_path) def get_wildcard_policy(self): """ return wildcardPolicy """ return self.get(Route.wildcard_policy)
class Solution: def smallerNumbersThanCurrent(self, nums: List[int]) -> List[int]: # Solution 1: # Time Complexity: O(n) # Space Complexity: O(n) # nums_sorted = sorted(nums) # res = [] # for num in nums: # res.append(nums_sorted.index(num)) # return res # Solution 2: # Time Complexity: O(n) # Space Complexity: O(n) # res = [] # for i in range(len(nums)): # count = 0 # for j in range(len(nums)): # if nums[j] < nums[i]: # count += 1 # res.append(count) # return res # Solution 3: # Time Complexity: O(n) # Space Complexity: O(1) # res = [] # for i in range(len(nums)): # count = 0 # for j in range(len(nums)): # if nums[j] < nums[i]: # count += 1 # res.append(count) # return res # Solution 4: # Time Complexity: O(n) # Space Complexity: O(1) # res = [] # for i in range(len(nums)): # count = 0 # for j in range(len(nums)): # if nums[j] < nums[i]: # count += 1 # res.append(count) # return res # Solution 5: # Time Complexity: O(n) # Space Complexity: O(1) # res = [] # for i in range(len(nums)): # count = 0 # for j in range(len(nums)): # if nums[j] < nums[i]: # Solution 6: # Time Complexity: O(n) # Space Complexity: O(n) res = [] for i in nums: summ = 0 for j in nums: if i>j: summ += 1 res.append(summ) return res
class Solution: def smaller_numbers_than_current(self, nums: List[int]) -> List[int]: res = [] for i in nums: summ = 0 for j in nums: if i > j: summ += 1 res.append(summ) return res
# jupyter_notebook_config.py in $JUPYTER_CONFIG_DIR c = get_config() # c.NotebookApp.allow_root = True c.NotebookApp.ip = '*' c.NotebookApp.port = 8888 # NOTE don't forget to open c.NotebookApp.open_browser = False c.NotebookApp.allow_remote_access = True c.NotebookApp.password_required = False c.NotebookApp.password = '' c.NotebookApp.token = ''
c = get_config() c.NotebookApp.ip = '*' c.NotebookApp.port = 8888 c.NotebookApp.open_browser = False c.NotebookApp.allow_remote_access = True c.NotebookApp.password_required = False c.NotebookApp.password = '' c.NotebookApp.token = ''
def to_separate_args(content: str, sep='|'): return list(map(lambda s: s.strip(), content.split(sep))) def prepare_bot_module(name: str): if not name.startswith('cogs.'): name = 'cogs.' + name return name
def to_separate_args(content: str, sep='|'): return list(map(lambda s: s.strip(), content.split(sep))) def prepare_bot_module(name: str): if not name.startswith('cogs.'): name = 'cogs.' + name return name
# Copyright (c) 2020 safexl # A config file to capture Excel constants for later use # these are also available from `win32com.client.constants` # though not in a format that plays nicely with autocomplete in IDEs # Can be accessed like - `safexl.xl_constants.xlToLeft` # Constants xlAll = -4104 xlAutomatic = -4105 xlBoth = 1 xlCenter = -4108 xlChecker = 9 xlCircle = 8 xlCorner = 2 xlCrissCross = 16 xlCross = 4 xlDiamond = 2 xlDistributed = -4117 xlDoubleAccounting = 5 xlFixedValue = 1 xlFormats = -4122 xlGray16 = 17 xlGray8 = 18 xlGrid = 15 xlHigh = -4127 xlInside = 2 xlJustify = -4130 xlLightDown = 13 xlLightHorizontal = 11 xlLightUp = 14 xlLightVertical = 12 xlLow = -4134 xlManual = -4135 xlMinusValues = 3 xlModule = -4141 xlNextToAxis = 4 xlNone = -4142 xlNotes = -4144 xlOff = -4146 xlOn = 1 xlPercent = 2 xlPlus = 9 xlPlusValues = 2 xlSemiGray75 = 10 xlShowLabel = 4 xlShowLabelAndPercent = 5 xlShowPercent = 3 xlShowValue = 2 xlSimple = -4154 xlSingle = 2 xlSingleAccounting = 4 xlSolid = 1 xlSquare = 1 xlStar = 5 xlStError = 4 xlToolbarButton = 2 xlTriangle = 3 xlGray25 = -4124 xlGray50 = -4125 xlGray75 = -4126 xlBottom = -4107 xlLeft = -4131 xlRight = -4152 xlTop = -4160 xl3DBar = -4099 xl3DSurface = -4103 xlBar = 2 xlColumn = 3 xlCombination = -4111 xlCustom = -4114 xlDefaultAutoFormat = -1 xlMaximum = 2 xlMinimum = 4 xlOpaque = 3 xlTransparent = 2 xlBidi = -5000 xlLatin = -5001 xlContext = -5002 xlLTR = -5003 xlRTL = -5004 xlFullScript = 1 xlPartialScript = 2 xlMixedScript = 3 xlMixedAuthorizedScript = 4 xlVisualCursor = 2 xlLogicalCursor = 1 xlSystem = 1 xlPartial = 3 xlHindiNumerals = 3 xlBidiCalendar = 3 xlGregorian = 2 xlComplete = 4 xlScale = 3 xlClosed = 3 xlColor1 = 7 xlColor2 = 8 xlColor3 = 9 xlConstants = 2 xlContents = 2 xlBelow = 1 xlCascade = 7 xlCenterAcrossSelection = 7 xlChart4 = 2 xlChartSeries = 17 xlChartShort = 6 xlChartTitles = 18 xlClassic1 = 1 xlClassic2 = 2 xlClassic3 = 3 xl3DEffects1 = 13 xl3DEffects2 = 14 xlAbove = 0 xlAccounting1 = 4 xlAccounting2 = 5 xlAccounting3 = 6 xlAccounting4 = 17 xlAdd = 2 xlDebugCodePane = 13 xlDesktop = 9 xlDirect = 1 xlDivide = 5 xlDoubleClosed = 5 xlDoubleOpen = 4 xlDoubleQuote = 1 xlEntireChart = 20 xlExcelMenus = 1 xlExtended = 3 xlFill = 5 xlFirst = 0 xlFloating = 5 xlFormula = 5 xlGeneral = 1 xlGridline = 22 xlIcons = 1 xlImmediatePane = 12 xlInteger = 2 xlLast = 1 xlLastCell = 11 xlList1 = 10 xlList2 = 11 xlList3 = 12 xlLocalFormat1 = 15 xlLocalFormat2 = 16 xlLong = 3 xlLotusHelp = 2 xlMacrosheetCell = 7 xlMixed = 2 xlMultiply = 4 xlNarrow = 1 xlNoDocuments = 3 xlOpen = 2 xlOutside = 3 xlReference = 4 xlSemiautomatic = 2 xlShort = 1 xlSingleQuote = 2 xlStrict = 2 xlSubtract = 3 xlTextBox = 16 xlTiled = 1 xlTitleBar = 8 xlToolbar = 1 xlVisible = 12 xlWatchPane = 11 xlWide = 3 xlWorkbookTab = 6 xlWorksheet4 = 1 xlWorksheetCell = 3 xlWorksheetShort = 5 xlAllExceptBorders = 7 xlLeftToRight = 2 xlTopToBottom = 1 xlVeryHidden = 2 xlDrawingObject = 14 # XlCreator xlCreatorCode = 1480803660 # XlChartGallery xlBuiltIn = 21 xlUserDefined = 22 xlAnyGallery = 23 # XlColorIndex xlColorIndexAutomatic = -4105 xlColorIndexNone = -4142 # XlEndStyleCap xlCap = 1 xlNoCap = 2 # XlRowCol xlColumns = 2 xlRows = 1 # XlScaleType xlScaleLinear = -4132 xlScaleLogarithmic = -4133 # XlDataSeriesType xlAutoFill = 4 xlChronological = 3 xlGrowth = 2 xlDataSeriesLinear = -4132 # XlAxisCrosses xlAxisCrossesAutomatic = -4105 xlAxisCrossesCustom = -4114 xlAxisCrossesMaximum = 2 xlAxisCrossesMinimum = 4 # XlAxisGroup xlPrimary = 1 xlSecondary = 2 # XlBackground xlBackgroundAutomatic = -4105 xlBackgroundOpaque = 3 xlBackgroundTransparent = 2 # XlWindowState xlMaximized = -4137 xlMinimized = -4140 xlNormal = -4143 # XlAxisType xlCategory = 1 xlSeriesAxis = 3 xlValue = 2 # XlArrowHeadLength xlArrowHeadLengthLong = 3 xlArrowHeadLengthMedium = -4138 xlArrowHeadLengthShort = 1 # XlVAlign xlVAlignBottom = -4107 xlVAlignCenter = -4108 xlVAlignDistributed = -4117 xlVAlignJustify = -4130 xlVAlignTop = -4160 # XlTickMark xlTickMarkCross = 4 xlTickMarkInside = 2 xlTickMarkNone = -4142 xlTickMarkOutside = 3 # XlErrorBarDirection xlX = -4168 xlY = 1 # XlErrorBarInclude xlErrorBarIncludeBoth = 1 xlErrorBarIncludeMinusValues = 3 xlErrorBarIncludeNone = -4142 xlErrorBarIncludePlusValues = 2 # XlDisplayBlanksAs xlInterpolated = 3 xlNotPlotted = 1 xlZero = 2 # XlArrowHeadStyle xlArrowHeadStyleClosed = 3 xlArrowHeadStyleDoubleClosed = 5 xlArrowHeadStyleDoubleOpen = 4 xlArrowHeadStyleNone = -4142 xlArrowHeadStyleOpen = 2 # XlArrowHeadWidth xlArrowHeadWidthMedium = -4138 xlArrowHeadWidthNarrow = 1 xlArrowHeadWidthWide = 3 # XlHAlign xlHAlignCenter = -4108 xlHAlignCenterAcrossSelection = 7 xlHAlignDistributed = -4117 xlHAlignFill = 5 xlHAlignGeneral = 1 xlHAlignJustify = -4130 xlHAlignLeft = -4131 xlHAlignRight = -4152 # XlTickLabelPosition xlTickLabelPositionHigh = -4127 xlTickLabelPositionLow = -4134 xlTickLabelPositionNextToAxis = 4 xlTickLabelPositionNone = -4142 # XlLegendPosition xlLegendPositionBottom = -4107 xlLegendPositionCorner = 2 xlLegendPositionLeft = -4131 xlLegendPositionRight = -4152 xlLegendPositionTop = -4160 # XlChartPictureType xlStackScale = 3 xlStack = 2 xlStretch = 1 # XlChartPicturePlacement xlSides = 1 xlEnd = 2 xlEndSides = 3 xlFront = 4 xlFrontSides = 5 xlFrontEnd = 6 xlAllFaces = 7 # XlOrientation xlDownward = -4170 xlHorizontal = -4128 xlUpward = -4171 xlVertical = -4166 # XlTickLabelOrientation xlTickLabelOrientationAutomatic = -4105 xlTickLabelOrientationDownward = -4170 xlTickLabelOrientationHorizontal = -4128 xlTickLabelOrientationUpward = -4171 xlTickLabelOrientationVertical = -4166 # XlBorderWeight xlHairline = 1 xlMedium = -4138 xlThick = 4 xlThin = 2 # XlDataSeriesDate xlDay = 1 xlMonth = 3 xlWeekday = 2 xlYear = 4 # XlUnderlineStyle xlUnderlineStyleDouble = -4119 xlUnderlineStyleDoubleAccounting = 5 xlUnderlineStyleNone = -4142 xlUnderlineStyleSingle = 2 xlUnderlineStyleSingleAccounting = 4 # XlErrorBarType xlErrorBarTypeCustom = -4114 xlErrorBarTypeFixedValue = 1 xlErrorBarTypePercent = 2 xlErrorBarTypeStDev = -4155 xlErrorBarTypeStError = 4 # XlTrendlineType xlExponential = 5 xlLinear = -4132 xlLogarithmic = -4133 xlMovingAvg = 6 xlPolynomial = 3 xlPower = 4 # XlLineStyle xlContinuous = 1 xlDash = -4115 xlDashDot = 4 xlDashDotDot = 5 xlDot = -4118 xlDouble = -4119 xlSlantDashDot = 13 xlLineStyleNone = -4142 # XlDataLabelsType xlDataLabelsShowNone = -4142 xlDataLabelsShowValue = 2 xlDataLabelsShowPercent = 3 xlDataLabelsShowLabel = 4 xlDataLabelsShowLabelAndPercent = 5 xlDataLabelsShowBubbleSizes = 6 # XlMarkerStyle xlMarkerStyleAutomatic = -4105 xlMarkerStyleCircle = 8 xlMarkerStyleDash = -4115 xlMarkerStyleDiamond = 2 xlMarkerStyleDot = -4118 xlMarkerStyleNone = -4142 xlMarkerStylePicture = -4147 xlMarkerStylePlus = 9 xlMarkerStyleSquare = 1 xlMarkerStyleStar = 5 xlMarkerStyleTriangle = 3 xlMarkerStyleX = -4168 # XlPictureConvertorType xlBMP = 1 xlCGM = 7 xlDRW = 4 xlDXF = 5 xlEPS = 8 xlHGL = 6 xlPCT = 13 xlPCX = 10 xlPIC = 11 xlPLT = 12 xlTIF = 9 xlWMF = 2 xlWPG = 3 # XlPattern xlPatternAutomatic = -4105 xlPatternChecker = 9 xlPatternCrissCross = 16 xlPatternDown = -4121 xlPatternGray16 = 17 xlPatternGray25 = -4124 xlPatternGray50 = -4125 xlPatternGray75 = -4126 xlPatternGray8 = 18 xlPatternGrid = 15 xlPatternHorizontal = -4128 xlPatternLightDown = 13 xlPatternLightHorizontal = 11 xlPatternLightUp = 14 xlPatternLightVertical = 12 xlPatternNone = -4142 xlPatternSemiGray75 = 10 xlPatternSolid = 1 xlPatternUp = -4162 xlPatternVertical = -4166 # XlChartSplitType xlSplitByPosition = 1 xlSplitByPercentValue = 3 xlSplitByCustomSplit = 4 xlSplitByValue = 2 # XlDisplayUnit xlHundreds = -2 xlThousands = -3 xlTenThousands = -4 xlHundredThousands = -5 xlMillions = -6 xlTenMillions = -7 xlHundredMillions = -8 xlThousandMillions = -9 xlMillionMillions = -10 # XlDataLabelPosition xlLabelPositionCenter = -4108 xlLabelPositionAbove = 0 xlLabelPositionBelow = 1 xlLabelPositionLeft = -4131 xlLabelPositionRight = -4152 xlLabelPositionOutsideEnd = 2 xlLabelPositionInsideEnd = 3 xlLabelPositionInsideBase = 4 xlLabelPositionBestFit = 5 xlLabelPositionMixed = 6 xlLabelPositionCustom = 7 # XlTimeUnit xlDays = 0 xlMonths = 1 xlYears = 2 # XlCategoryType xlCategoryScale = 2 xlTimeScale = 3 xlAutomaticScale = -4105 # XlBarShape xlBox = 0 xlPyramidToPoint = 1 xlPyramidToMax = 2 xlCylinder = 3 xlConeToPoint = 4 xlConeToMax = 5 # XlChartType xlColumnClustered = 51 xlColumnStacked = 52 xlColumnStacked100 = 53 xl3DColumnClustered = 54 xl3DColumnStacked = 55 xl3DColumnStacked100 = 56 xlBarClustered = 57 xlBarStacked = 58 xlBarStacked100 = 59 xl3DBarClustered = 60 xl3DBarStacked = 61 xl3DBarStacked100 = 62 xlLineStacked = 63 xlLineStacked100 = 64 xlLineMarkers = 65 xlLineMarkersStacked = 66 xlLineMarkersStacked100 = 67 xlPieOfPie = 68 xlPieExploded = 69 xl3DPieExploded = 70 xlBarOfPie = 71 xlXYScatterSmooth = 72 xlXYScatterSmoothNoMarkers = 73 xlXYScatterLines = 74 xlXYScatterLinesNoMarkers = 75 xlAreaStacked = 76 xlAreaStacked100 = 77 xl3DAreaStacked = 78 xl3DAreaStacked100 = 79 xlDoughnutExploded = 80 xlRadarMarkers = 81 xlRadarFilled = 82 xlSurface = 83 xlSurfaceWireframe = 84 xlSurfaceTopView = 85 xlSurfaceTopViewWireframe = 86 xlBubble = 15 xlBubble3DEffect = 87 xlStockHLC = 88 xlStockOHLC = 89 xlStockVHLC = 90 xlStockVOHLC = 91 xlCylinderColClustered = 92 xlCylinderColStacked = 93 xlCylinderColStacked100 = 94 xlCylinderBarClustered = 95 xlCylinderBarStacked = 96 xlCylinderBarStacked100 = 97 xlCylinderCol = 98 xlConeColClustered = 99 xlConeColStacked = 100 xlConeColStacked100 = 101 xlConeBarClustered = 102 xlConeBarStacked = 103 xlConeBarStacked100 = 104 xlConeCol = 105 xlPyramidColClustered = 106 xlPyramidColStacked = 107 xlPyramidColStacked100 = 108 xlPyramidBarClustered = 109 xlPyramidBarStacked = 110 xlPyramidBarStacked100 = 111 xlPyramidCol = 112 xl3DColumn = -4100 xlLine = 4 xl3DLine = -4101 xl3DPie = -4102 xlPie = 5 xlXYScatter = -4169 xl3DArea = -4098 xlArea = 1 xlDoughnut = -4120 xlRadar = -4151 # XlChartItem xlDataLabel = 0 xlChartArea = 2 xlSeries = 3 xlChartTitle = 4 xlWalls = 5 xlCorners = 6 xlDataTable = 7 xlTrendline = 8 xlErrorBars = 9 xlXErrorBars = 10 xlYErrorBars = 11 xlLegendEntry = 12 xlLegendKey = 13 xlShape = 14 xlMajorGridlines = 15 xlMinorGridlines = 16 xlAxisTitle = 17 xlUpBars = 18 xlPlotArea = 19 xlDownBars = 20 xlAxis = 21 xlSeriesLines = 22 xlFloor = 23 xlLegend = 24 xlHiLoLines = 25 xlDropLines = 26 xlRadarAxisLabels = 27 xlNothing = 28 xlLeaderLines = 29 xlDisplayUnitLabel = 30 xlPivotChartFieldButton = 31 xlPivotChartDropZone = 32 # XlSizeRepresents xlSizeIsWidth = 2 xlSizeIsArea = 1 # XlInsertShiftDirection xlShiftDown = -4121 xlShiftToRight = -4161 # XlDeleteShiftDirection xlShiftToLeft = -4159 xlShiftUp = -4162 # XlDirection xlDown = -4121 xlToLeft = -4159 xlToRight = -4161 xlUp = -4162 # XlConsolidationFunction xlAverage = -4106 xlCount = -4112 xlCountNums = -4113 xlMax = -4136 xlMin = -4139 xlProduct = -4149 xlStDev = -4155 xlStDevP = -4156 xlSum = -4157 xlVar = -4164 xlVarP = -4165 xlUnknown = 1000 # XlSheetType xlChart = -4109 xlDialogSheet = -4116 xlExcel4IntlMacroSheet = 4 xlExcel4MacroSheet = 3 xlWorksheet = -4167 # XlLocationInTable xlColumnHeader = -4110 xlColumnItem = 5 xlDataHeader = 3 xlDataItem = 7 xlPageHeader = 2 xlPageItem = 6 xlRowHeader = -4153 xlRowItem = 4 xlTableBody = 8 # XlFindLookIn xlFormulas = -4123 xlComments = -4144 xlValues = -4163 # XlWindowType xlChartAsWindow = 5 xlChartInPlace = 4 xlClipboard = 3 xlInfo = -4129 xlWorkbook = 1 # XlPivotFieldDataType xlDate = 2 xlNumber = -4145 xlText = -4158 # XlCopyPictureFormat xlBitmap = 2 xlPicture = -4147 # XlPivotTableSourceType xlScenario = 4 xlConsolidation = 3 xlDatabase = 1 xlExternal = 2 xlPivotTable = -4148 # XlReferenceStyle xlA1 = 1 xlR1C1 = -4150 # XlMSApplication xlMicrosoftAccess = 4 xlMicrosoftFoxPro = 5 xlMicrosoftMail = 3 xlMicrosoftPowerPoint = 2 xlMicrosoftProject = 6 xlMicrosoftSchedulePlus = 7 xlMicrosoftWord = 1 # XlMouseButton xlNoButton = 0 xlPrimaryButton = 1 xlSecondaryButton = 2 # XlCutCopyMode xlCopy = 1 xlCut = 2 # XlFillWith xlFillWithAll = -4104 xlFillWithContents = 2 xlFillWithFormats = -4122 # XlFilterAction xlFilterCopy = 2 xlFilterInPlace = 1 # XlOrder xlDownThenOver = 1 xlOverThenDown = 2 # XlLinkType xlLinkTypeExcelLinks = 1 xlLinkTypeOLELinks = 2 # XlApplyNamesOrder xlColumnThenRow = 2 xlRowThenColumn = 1 # XlEnableCancelKey xlDisabled = 0 xlErrorHandler = 2 xlInterrupt = 1 # XlPageBreak xlPageBreakAutomatic = -4105 xlPageBreakManual = -4135 xlPageBreakNone = -4142 # XlOLEType xlOLEControl = 2 xlOLEEmbed = 1 xlOLELink = 0 # XlPageOrientation xlLandscape = 2 xlPortrait = 1 # XlLinkInfo xlEditionDate = 2 xlUpdateState = 1 xlLinkInfoStatus = 3 # XlCommandUnderlines xlCommandUnderlinesAutomatic = -4105 xlCommandUnderlinesOff = -4146 xlCommandUnderlinesOn = 1 # XlOLEVerb xlVerbOpen = 2 xlVerbPrimary = 1 # XlCalculation xlCalculationAutomatic = -4105 xlCalculationManual = -4135 xlCalculationSemiautomatic = 2 # XlFileAccess xlReadOnly = 3 xlReadWrite = 2 # XlEditionType xlPublisher = 1 xlSubscriber = 2 # XlObjectSize xlFitToPage = 2 xlFullPage = 3 xlScreenSize = 1 # XlLookAt xlPart = 2 xlWhole = 1 # XlMailSystem xlMAPI = 1 xlNoMailSystem = 0 xlPowerTalk = 2 # XlLinkInfoType xlLinkInfoOLELinks = 2 xlLinkInfoPublishers = 5 xlLinkInfoSubscribers = 6 # XlCVError xlErrDiv0 = 2007 xlErrNA = 2042 xlErrName = 2029 xlErrNull = 2000 xlErrNum = 2036 xlErrRef = 2023 xlErrValue = 2015 # XlEditionFormat xlBIFF = 2 xlPICT = 1 xlRTF = 4 xlVALU = 8 # XlLink xlExcelLinks = 1 xlOLELinks = 2 xlPublishers = 5 xlSubscribers = 6 # XlCellType xlCellTypeBlanks = 4 xlCellTypeConstants = 2 xlCellTypeFormulas = -4123 xlCellTypeLastCell = 11 xlCellTypeComments = -4144 xlCellTypeVisible = 12 xlCellTypeAllFormatConditions = -4172 xlCellTypeSameFormatConditions = -4173 xlCellTypeAllValidation = -4174 xlCellTypeSameValidation = -4175 # XlArrangeStyle xlArrangeStyleCascade = 7 xlArrangeStyleHorizontal = -4128 xlArrangeStyleTiled = 1 xlArrangeStyleVertical = -4166 # XlMousePointer xlIBeam = 3 xlDefault = -4143 xlNorthwestArrow = 1 xlWait = 2 # XlEditionOptionsOption xlAutomaticUpdate = 4 xlCancel = 1 xlChangeAttributes = 6 xlManualUpdate = 5 xlOpenSource = 3 xlSelect = 3 xlSendPublisher = 2 xlUpdateSubscriber = 2 # XlAutoFillType xlFillCopy = 1 xlFillDays = 5 xlFillDefault = 0 xlFillFormats = 3 xlFillMonths = 7 xlFillSeries = 2 xlFillValues = 4 xlFillWeekdays = 6 xlFillYears = 8 xlGrowthTrend = 10 xlLinearTrend = 9 # XlAutoFilterOperator xlAnd = 1 xlBottom10Items = 4 xlBottom10Percent = 6 xlOr = 2 xlTop10Items = 3 xlTop10Percent = 5 # XlClipboardFormat xlClipboardFormatBIFF = 8 xlClipboardFormatBIFF2 = 18 xlClipboardFormatBIFF3 = 20 xlClipboardFormatBIFF4 = 30 xlClipboardFormatBinary = 15 xlClipboardFormatBitmap = 9 xlClipboardFormatCGM = 13 xlClipboardFormatCSV = 5 xlClipboardFormatDIF = 4 xlClipboardFormatDspText = 12 xlClipboardFormatEmbeddedObject = 21 xlClipboardFormatEmbedSource = 22 xlClipboardFormatLink = 11 xlClipboardFormatLinkSource = 23 xlClipboardFormatLinkSourceDesc = 32 xlClipboardFormatMovie = 24 xlClipboardFormatNative = 14 xlClipboardFormatObjectDesc = 31 xlClipboardFormatObjectLink = 19 xlClipboardFormatOwnerLink = 17 xlClipboardFormatPICT = 2 xlClipboardFormatPrintPICT = 3 xlClipboardFormatRTF = 7 xlClipboardFormatScreenPICT = 29 xlClipboardFormatStandardFont = 28 xlClipboardFormatStandardScale = 27 xlClipboardFormatSYLK = 6 xlClipboardFormatTable = 16 xlClipboardFormatText = 0 xlClipboardFormatToolFace = 25 xlClipboardFormatToolFacePICT = 26 xlClipboardFormatVALU = 1 xlClipboardFormatWK1 = 10 # XlFileFormat xlAddIn = 18 xlCSV = 6 xlCSVMac = 22 xlCSVMSDOS = 24 xlCSVWindows = 23 xlDBF2 = 7 xlDBF3 = 8 xlDBF4 = 11 xlDIF = 9 xlExcel2 = 16 xlExcel2FarEast = 27 xlExcel3 = 29 xlExcel4 = 33 xlExcel5 = 39 xlExcel7 = 39 xlExcel9795 = 43 xlExcel4Workbook = 35 xlIntlAddIn = 26 xlIntlMacro = 25 xlWorkbookNormal = -4143 xlSYLK = 2 xlTemplate = 17 xlCurrentPlatformText = -4158 xlTextMac = 19 xlTextMSDOS = 21 xlTextPrinter = 36 xlTextWindows = 20 xlWJ2WD1 = 14 xlWK1 = 5 xlWK1ALL = 31 xlWK1FMT = 30 xlWK3 = 15 xlWK4 = 38 xlWK3FM3 = 32 xlWKS = 4 xlWorks2FarEast = 28 xlWQ1 = 34 xlWJ3 = 40 xlWJ3FJ3 = 41 xlUnicodeText = 42 xlHtml = 44 xlWebArchive = 45 xlXMLSpreadsheet = 46 # XlApplicationInternational xl24HourClock = 33 xl4DigitYears = 43 xlAlternateArraySeparator = 16 xlColumnSeparator = 14 xlCountryCode = 1 xlCountrySetting = 2 xlCurrencyBefore = 37 xlCurrencyCode = 25 xlCurrencyDigits = 27 xlCurrencyLeadingZeros = 40 xlCurrencyMinusSign = 38 xlCurrencyNegative = 28 xlCurrencySpaceBefore = 36 xlCurrencyTrailingZeros = 39 xlDateOrder = 32 xlDateSeparator = 17 xlDayCode = 21 xlDayLeadingZero = 42 xlDecimalSeparator = 3 xlGeneralFormatName = 26 xlHourCode = 22 xlLeftBrace = 12 xlLeftBracket = 10 xlListSeparator = 5 xlLowerCaseColumnLetter = 9 xlLowerCaseRowLetter = 8 xlMDY = 44 xlMetric = 35 xlMinuteCode = 23 xlMonthCode = 20 xlMonthLeadingZero = 41 xlMonthNameChars = 30 xlNoncurrencyDigits = 29 xlNonEnglishFunctions = 34 xlRightBrace = 13 xlRightBracket = 11 xlRowSeparator = 15 xlSecondCode = 24 xlThousandsSeparator = 4 xlTimeLeadingZero = 45 xlTimeSeparator = 18 xlUpperCaseColumnLetter = 7 xlUpperCaseRowLetter = 6 xlWeekdayNameChars = 31 xlYearCode = 19 # XlPageBreakExtent xlPageBreakFull = 1 xlPageBreakPartial = 2 # XlCellInsertionMode xlOverwriteCells = 0 xlInsertDeleteCells = 1 xlInsertEntireRows = 2 # XlFormulaLabel xlNoLabels = -4142 xlRowLabels = 1 xlColumnLabels = 2 xlMixedLabels = 3 # XlHighlightChangesTime xlSinceMyLastSave = 1 xlAllChanges = 2 xlNotYetReviewed = 3 # XlCommentDisplayMode xlNoIndicator = 0 xlCommentIndicatorOnly = -1 xlCommentAndIndicator = 1 # XlFormatConditionType xlCellValue = 1 xlExpression = 2 # XlFormatConditionOperator xlBetween = 1 xlNotBetween = 2 xlEqual = 3 xlNotEqual = 4 xlGreater = 5 xlLess = 6 xlGreaterEqual = 7 xlLessEqual = 8 # XlEnableSelection xlNoRestrictions = 0 xlUnlockedCells = 1 xlNoSelection = -4142 # XlDVType xlValidateInputOnly = 0 xlValidateWholeNumber = 1 xlValidateDecimal = 2 xlValidateList = 3 xlValidateDate = 4 xlValidateTime = 5 xlValidateTextLength = 6 xlValidateCustom = 7 # XlIMEMode xlIMEModeNoControl = 0 xlIMEModeOn = 1 xlIMEModeOff = 2 xlIMEModeDisable = 3 xlIMEModeHiragana = 4 xlIMEModeKatakana = 5 xlIMEModeKatakanaHalf = 6 xlIMEModeAlphaFull = 7 xlIMEModeAlpha = 8 xlIMEModeHangulFull = 9 xlIMEModeHangul = 10 # XlDVAlertStyle xlValidAlertStop = 1 xlValidAlertWarning = 2 xlValidAlertInformation = 3 # XlChartLocation xlLocationAsNewSheet = 1 xlLocationAsObject = 2 xlLocationAutomatic = 3 # XlPaperSize xlPaper10x14 = 16 xlPaper11x17 = 17 xlPaperA3 = 8 xlPaperA4 = 9 xlPaperA4Small = 10 xlPaperA5 = 11 xlPaperB4 = 12 xlPaperB5 = 13 xlPaperCsheet = 24 xlPaperDsheet = 25 xlPaperEnvelope10 = 20 xlPaperEnvelope11 = 21 xlPaperEnvelope12 = 22 xlPaperEnvelope14 = 23 xlPaperEnvelope9 = 19 xlPaperEnvelopeB4 = 33 xlPaperEnvelopeB5 = 34 xlPaperEnvelopeB6 = 35 xlPaperEnvelopeC3 = 29 xlPaperEnvelopeC4 = 30 xlPaperEnvelopeC5 = 28 xlPaperEnvelopeC6 = 31 xlPaperEnvelopeC65 = 32 xlPaperEnvelopeDL = 27 xlPaperEnvelopeItaly = 36 xlPaperEnvelopeMonarch = 37 xlPaperEnvelopePersonal = 38 xlPaperEsheet = 26 xlPaperExecutive = 7 xlPaperFanfoldLegalGerman = 41 xlPaperFanfoldStdGerman = 40 xlPaperFanfoldUS = 39 xlPaperFolio = 14 xlPaperLedger = 4 xlPaperLegal = 5 xlPaperLetter = 1 xlPaperLetterSmall = 2 xlPaperNote = 18 xlPaperQuarto = 15 xlPaperStatement = 6 xlPaperTabloid = 3 xlPaperUser = 256 # XlPasteSpecialOperation xlPasteSpecialOperationAdd = 2 xlPasteSpecialOperationDivide = 5 xlPasteSpecialOperationMultiply = 4 xlPasteSpecialOperationNone = -4142 xlPasteSpecialOperationSubtract = 3 # XlPasteType xlPasteAll = -4104 xlPasteAllExceptBorders = 7 xlPasteFormats = -4122 xlPasteFormulas = -4123 xlPasteComments = -4144 xlPasteValues = -4163 xlPasteColumnWidths = 8 xlPasteValidation = 6 xlPasteFormulasAndNumberFormats = 11 xlPasteValuesAndNumberFormats = 12 # XlPhoneticCharacterType xlKatakanaHalf = 0 xlKatakana = 1 xlHiragana = 2 xlNoConversion = 3 # XlPhoneticAlignment xlPhoneticAlignNoControl = 0 xlPhoneticAlignLeft = 1 xlPhoneticAlignCenter = 2 xlPhoneticAlignDistributed = 3 # XlPictureAppearance xlPrinter = 2 xlScreen = 1 # XlPivotFieldOrientation xlColumnField = 2 xlDataField = 4 xlHidden = 0 xlPageField = 3 xlRowField = 1 # XlPivotFieldCalculation xlDifferenceFrom = 2 xlIndex = 9 xlNoAdditionalCalculation = -4143 xlPercentDifferenceFrom = 4 xlPercentOf = 3 xlPercentOfColumn = 7 xlPercentOfRow = 6 xlPercentOfTotal = 8 xlRunningTotal = 5 # XlPlacement xlFreeFloating = 3 xlMove = 2 xlMoveAndSize = 1 # XlPlatform xlMacintosh = 1 xlMSDOS = 3 xlWindows = 2 # XlPrintLocation xlPrintSheetEnd = 1 xlPrintInPlace = 16 xlPrintNoComments = -4142 # XlPriority xlPriorityHigh = -4127 xlPriorityLow = -4134 xlPriorityNormal = -4143 # XlPTSelectionMode xlLabelOnly = 1 xlDataAndLabel = 0 xlDataOnly = 2 xlOrigin = 3 xlButton = 15 xlBlanks = 4 xlFirstRow = 256 # XlRangeAutoFormat xlRangeAutoFormat3DEffects1 = 13 xlRangeAutoFormat3DEffects2 = 14 xlRangeAutoFormatAccounting1 = 4 xlRangeAutoFormatAccounting2 = 5 xlRangeAutoFormatAccounting3 = 6 xlRangeAutoFormatAccounting4 = 17 xlRangeAutoFormatClassic1 = 1 xlRangeAutoFormatClassic2 = 2 xlRangeAutoFormatClassic3 = 3 xlRangeAutoFormatColor1 = 7 xlRangeAutoFormatColor2 = 8 xlRangeAutoFormatColor3 = 9 xlRangeAutoFormatList1 = 10 xlRangeAutoFormatList2 = 11 xlRangeAutoFormatList3 = 12 xlRangeAutoFormatLocalFormat1 = 15 xlRangeAutoFormatLocalFormat2 = 16 xlRangeAutoFormatLocalFormat3 = 19 xlRangeAutoFormatLocalFormat4 = 20 xlRangeAutoFormatReport1 = 21 xlRangeAutoFormatReport2 = 22 xlRangeAutoFormatReport3 = 23 xlRangeAutoFormatReport4 = 24 xlRangeAutoFormatReport5 = 25 xlRangeAutoFormatReport6 = 26 xlRangeAutoFormatReport7 = 27 xlRangeAutoFormatReport8 = 28 xlRangeAutoFormatReport9 = 29 xlRangeAutoFormatReport10 = 30 xlRangeAutoFormatClassicPivotTable = 31 xlRangeAutoFormatTable1 = 32 xlRangeAutoFormatTable2 = 33 xlRangeAutoFormatTable3 = 34 xlRangeAutoFormatTable4 = 35 xlRangeAutoFormatTable5 = 36 xlRangeAutoFormatTable6 = 37 xlRangeAutoFormatTable7 = 38 xlRangeAutoFormatTable8 = 39 xlRangeAutoFormatTable9 = 40 xlRangeAutoFormatTable10 = 41 xlRangeAutoFormatPTNone = 42 xlRangeAutoFormatNone = -4142 xlRangeAutoFormatSimple = -4154 # XlReferenceType xlAbsolute = 1 xlAbsRowRelColumn = 2 xlRelative = 4 xlRelRowAbsColumn = 3 # XlLayoutFormType xlTabular = 0 xlOutline = 1 # XlRoutingSlipDelivery xlAllAtOnce = 2 xlOneAfterAnother = 1 # XlRoutingSlipStatus xlNotYetRouted = 0 xlRoutingComplete = 2 xlRoutingInProgress = 1 # XlRunAutoMacro xlAutoActivate = 3 xlAutoClose = 2 xlAutoDeactivate = 4 xlAutoOpen = 1 # XlSaveAction xlDoNotSaveChanges = 2 xlSaveChanges = 1 # XlSaveAsAccessMode xlExclusive = 3 xlNoChange = 1 xlShared = 2 # XlSaveConflictResolution xlLocalSessionChanges = 2 xlOtherSessionChanges = 3 xlUserResolution = 1 # XlSearchDirection xlNext = 1 xlPrevious = 2 # XlSearchOrder xlByColumns = 2 xlByRows = 1 # XlSheetVisibility xlSheetVisible = -1 xlSheetHidden = 0 xlSheetVeryHidden = 2 # XlSortMethod xlPinYin = 1 xlStroke = 2 # XlSortMethodOld xlCodePage = 2 xlSyllabary = 1 # XlSortOrder xlAscending = 1 xlDescending = 2 # XlSortOrientation xlSortRows = 2 xlSortColumns = 1 # XlSortType xlSortLabels = 2 xlSortValues = 1 # XlSpecialCellsValue xlErrors = 16 xlLogical = 4 xlNumbers = 1 xlTextValues = 2 # XlSubscribeToFormat xlSubscribeToPicture = -4147 xlSubscribeToText = -4158 # XlSummaryRow xlSummaryAbove = 0 xlSummaryBelow = 1 # XlSummaryColumn xlSummaryOnLeft = -4131 xlSummaryOnRight = -4152 # XlSummaryReportType xlSummaryPivotTable = -4148 xlStandardSummary = 1 # XlTabPosition xlTabPositionFirst = 0 xlTabPositionLast = 1 # XlTextParsingType xlDelimited = 1 xlFixedWidth = 2 # XlTextQualifier xlTextQualifierDoubleQuote = 1 xlTextQualifierNone = -4142 xlTextQualifierSingleQuote = 2 # XlWBATemplate xlWBATChart = -4109 xlWBATExcel4IntlMacroSheet = 4 xlWBATExcel4MacroSheet = 3 xlWBATWorksheet = -4167 # XlWindowView xlNormalView = 1 xlPageBreakPreview = 2 # XlXLMMacroType xlCommand = 2 xlFunction = 1 xlNotXLM = 3 # XlYesNoGuess xlGuess = 0 xlNo = 2 xlYes = 1 # XlBordersIndex xlInsideHorizontal = 12 xlInsideVertical = 11 xlDiagonalDown = 5 xlDiagonalUp = 6 xlEdgeBottom = 9 xlEdgeLeft = 7 xlEdgeRight = 10 xlEdgeTop = 8 # XlToolbarProtection xlNoButtonChanges = 1 xlNoChanges = 4 xlNoDockingChanges = 3 xlToolbarProtectionNone = -4143 xlNoShapeChanges = 2 # XlBuiltInDialog xlDialogOpen = 1 xlDialogOpenLinks = 2 xlDialogSaveAs = 5 xlDialogFileDelete = 6 xlDialogPageSetup = 7 xlDialogPrint = 8 xlDialogPrinterSetup = 9 xlDialogArrangeAll = 12 xlDialogWindowSize = 13 xlDialogWindowMove = 14 xlDialogRun = 17 xlDialogSetPrintTitles = 23 xlDialogFont = 26 xlDialogDisplay = 27 xlDialogProtectDocument = 28 xlDialogCalculation = 32 xlDialogExtract = 35 xlDialogDataDelete = 36 xlDialogSort = 39 xlDialogDataSeries = 40 xlDialogTable = 41 xlDialogFormatNumber = 42 xlDialogAlignment = 43 xlDialogStyle = 44 xlDialogBorder = 45 xlDialogCellProtection = 46 xlDialogColumnWidth = 47 xlDialogClear = 52 xlDialogPasteSpecial = 53 xlDialogEditDelete = 54 xlDialogInsert = 55 xlDialogPasteNames = 58 xlDialogDefineName = 61 xlDialogCreateNames = 62 xlDialogFormulaGoto = 63 xlDialogFormulaFind = 64 xlDialogGalleryArea = 67 xlDialogGalleryBar = 68 xlDialogGalleryColumn = 69 xlDialogGalleryLine = 70 xlDialogGalleryPie = 71 xlDialogGalleryScatter = 72 xlDialogCombination = 73 xlDialogGridlines = 76 xlDialogAxes = 78 xlDialogAttachText = 80 xlDialogPatterns = 84 xlDialogMainChart = 85 xlDialogOverlay = 86 xlDialogScale = 87 xlDialogFormatLegend = 88 xlDialogFormatText = 89 xlDialogParse = 91 xlDialogUnhide = 94 xlDialogWorkspace = 95 xlDialogActivate = 103 xlDialogCopyPicture = 108 xlDialogDeleteName = 110 xlDialogDeleteFormat = 111 xlDialogNew = 119 xlDialogRowHeight = 127 xlDialogFormatMove = 128 xlDialogFormatSize = 129 xlDialogFormulaReplace = 130 xlDialogSelectSpecial = 132 xlDialogApplyNames = 133 xlDialogReplaceFont = 134 xlDialogSplit = 137 xlDialogOutline = 142 xlDialogSaveWorkbook = 145 xlDialogCopyChart = 147 xlDialogFormatFont = 150 xlDialogNote = 154 xlDialogSetUpdateStatus = 159 xlDialogColorPalette = 161 xlDialogChangeLink = 166 xlDialogAppMove = 170 xlDialogAppSize = 171 xlDialogMainChartType = 185 xlDialogOverlayChartType = 186 xlDialogOpenMail = 188 xlDialogSendMail = 189 xlDialogStandardFont = 190 xlDialogConsolidate = 191 xlDialogSortSpecial = 192 xlDialogGallery3dArea = 193 xlDialogGallery3dColumn = 194 xlDialogGallery3dLine = 195 xlDialogGallery3dPie = 196 xlDialogView3d = 197 xlDialogGoalSeek = 198 xlDialogWorkgroup = 199 xlDialogFillGroup = 200 xlDialogUpdateLink = 201 xlDialogPromote = 202 xlDialogDemote = 203 xlDialogShowDetail = 204 xlDialogObjectProperties = 207 xlDialogSaveNewObject = 208 xlDialogApplyStyle = 212 xlDialogAssignToObject = 213 xlDialogObjectProtection = 214 xlDialogCreatePublisher = 217 xlDialogSubscribeTo = 218 xlDialogShowToolbar = 220 xlDialogPrintPreview = 222 xlDialogEditColor = 223 xlDialogFormatMain = 225 xlDialogFormatOverlay = 226 xlDialogEditSeries = 228 xlDialogDefineStyle = 229 xlDialogGalleryRadar = 249 xlDialogEditionOptions = 251 xlDialogZoom = 256 xlDialogInsertObject = 259 xlDialogSize = 261 xlDialogMove = 262 xlDialogFormatAuto = 269 xlDialogGallery3dBar = 272 xlDialogGallery3dSurface = 273 xlDialogCustomizeToolbar = 276 xlDialogWorkbookAdd = 281 xlDialogWorkbookMove = 282 xlDialogWorkbookCopy = 283 xlDialogWorkbookOptions = 284 xlDialogSaveWorkspace = 285 xlDialogChartWizard = 288 xlDialogAssignToTool = 293 xlDialogPlacement = 300 xlDialogFillWorkgroup = 301 xlDialogWorkbookNew = 302 xlDialogScenarioCells = 305 xlDialogScenarioAdd = 307 xlDialogScenarioEdit = 308 xlDialogScenarioSummary = 311 xlDialogPivotTableWizard = 312 xlDialogPivotFieldProperties = 313 xlDialogOptionsCalculation = 318 xlDialogOptionsEdit = 319 xlDialogOptionsView = 320 xlDialogAddinManager = 321 xlDialogMenuEditor = 322 xlDialogAttachToolbars = 323 xlDialogOptionsChart = 325 xlDialogVbaInsertFile = 328 xlDialogVbaProcedureDefinition = 330 xlDialogRoutingSlip = 336 xlDialogMailLogon = 339 xlDialogInsertPicture = 342 xlDialogGalleryDoughnut = 344 xlDialogChartTrend = 350 xlDialogWorkbookInsert = 354 xlDialogOptionsTransition = 355 xlDialogOptionsGeneral = 356 xlDialogFilterAdvanced = 370 xlDialogMailNextLetter = 378 xlDialogDataLabel = 379 xlDialogInsertTitle = 380 xlDialogFontProperties = 381 xlDialogMacroOptions = 382 xlDialogWorkbookUnhide = 384 xlDialogWorkbookName = 386 xlDialogGalleryCustom = 388 xlDialogAddChartAutoformat = 390 xlDialogChartAddData = 392 xlDialogTabOrder = 394 xlDialogSubtotalCreate = 398 xlDialogWorkbookTabSplit = 415 xlDialogWorkbookProtect = 417 xlDialogScrollbarProperties = 420 xlDialogPivotShowPages = 421 xlDialogTextToColumns = 422 xlDialogFormatCharttype = 423 xlDialogPivotFieldGroup = 433 xlDialogPivotFieldUngroup = 434 xlDialogCheckboxProperties = 435 xlDialogLabelProperties = 436 xlDialogListboxProperties = 437 xlDialogEditboxProperties = 438 xlDialogOpenText = 441 xlDialogPushbuttonProperties = 445 xlDialogFilter = 447 xlDialogFunctionWizard = 450 xlDialogSaveCopyAs = 456 xlDialogOptionsListsAdd = 458 xlDialogSeriesAxes = 460 xlDialogSeriesX = 461 xlDialogSeriesY = 462 xlDialogErrorbarX = 463 xlDialogErrorbarY = 464 xlDialogFormatChart = 465 xlDialogSeriesOrder = 466 xlDialogMailEditMailer = 470 xlDialogStandardWidth = 472 xlDialogScenarioMerge = 473 xlDialogProperties = 474 xlDialogSummaryInfo = 474 xlDialogFindFile = 475 xlDialogActiveCellFont = 476 xlDialogVbaMakeAddin = 478 xlDialogFileSharing = 481 xlDialogAutoCorrect = 485 xlDialogCustomViews = 493 xlDialogInsertNameLabel = 496 xlDialogSeriesShape = 504 xlDialogChartOptionsDataLabels = 505 xlDialogChartOptionsDataTable = 506 xlDialogSetBackgroundPicture = 509 xlDialogDataValidation = 525 xlDialogChartType = 526 xlDialogChartLocation = 527 _xlDialogPhonetic = 538 xlDialogChartSourceData = 540 _xlDialogChartSourceData = 541 xlDialogSeriesOptions = 557 xlDialogPivotTableOptions = 567 xlDialogPivotSolveOrder = 568 xlDialogPivotCalculatedField = 570 xlDialogPivotCalculatedItem = 572 xlDialogConditionalFormatting = 583 xlDialogInsertHyperlink = 596 xlDialogProtectSharing = 620 xlDialogOptionsME = 647 xlDialogPublishAsWebPage = 653 xlDialogPhonetic = 656 xlDialogNewWebQuery = 667 xlDialogImportTextFile = 666 xlDialogExternalDataProperties = 530 xlDialogWebOptionsGeneral = 683 xlDialogWebOptionsFiles = 684 xlDialogWebOptionsPictures = 685 xlDialogWebOptionsEncoding = 686 xlDialogWebOptionsFonts = 687 xlDialogPivotClientServerSet = 689 xlDialogPropertyFields = 754 xlDialogSearch = 731 xlDialogEvaluateFormula = 709 xlDialogDataLabelMultiple = 723 xlDialogChartOptionsDataLabelMultiple = 724 xlDialogErrorChecking = 732 xlDialogWebOptionsBrowsers = 773 xlDialogCreateList = 796 xlDialogPermission = 832 xlDialogMyPermission = 834 # XlParameterType xlPrompt = 0 xlConstant = 1 xlRange = 2 # XlParameterDataType xlParamTypeUnknown = 0 xlParamTypeChar = 1 xlParamTypeNumeric = 2 xlParamTypeDecimal = 3 xlParamTypeInteger = 4 xlParamTypeSmallInt = 5 xlParamTypeFloat = 6 xlParamTypeReal = 7 xlParamTypeDouble = 8 xlParamTypeVarChar = 12 xlParamTypeDate = 9 xlParamTypeTime = 10 xlParamTypeTimestamp = 11 xlParamTypeLongVarChar = -1 xlParamTypeBinary = -2 xlParamTypeVarBinary = -3 xlParamTypeLongVarBinary = -4 xlParamTypeBigInt = -5 xlParamTypeTinyInt = -6 xlParamTypeBit = -7 xlParamTypeWChar = -8 # XlFormControl xlButtonControl = 0 xlCheckBox = 1 xlDropDown = 2 xlEditBox = 3 xlGroupBox = 4 xlLabel = 5 xlListBox = 6 xlOptionButton = 7 xlScrollBar = 8 xlSpinner = 9 # XlSourceType xlSourceWorkbook = 0 xlSourceSheet = 1 xlSourcePrintArea = 2 xlSourceAutoFilter = 3 xlSourceRange = 4 xlSourceChart = 5 xlSourcePivotTable = 6 xlSourceQuery = 7 # XlHtmlType xlHtmlStatic = 0 xlHtmlCalc = 1 xlHtmlList = 2 xlHtmlChart = 3 # XlPivotFormatType xlReport1 = 0 xlReport2 = 1 xlReport3 = 2 xlReport4 = 3 xlReport5 = 4 xlReport6 = 5 xlReport7 = 6 xlReport8 = 7 xlReport9 = 8 xlReport10 = 9 xlTable1 = 10 xlTable2 = 11 xlTable3 = 12 xlTable4 = 13 xlTable5 = 14 xlTable6 = 15 xlTable7 = 16 xlTable8 = 17 xlTable9 = 18 xlTable10 = 19 xlPTClassic = 20 xlPTNone = 21 # XlCmdType xlCmdCube = 1 xlCmdSql = 2 xlCmdTable = 3 xlCmdDefault = 4 xlCmdList = 5 # XlColumnDataType xlGeneralFormat = 1 xlTextFormat = 2 xlMDYFormat = 3 xlDMYFormat = 4 xlYMDFormat = 5 xlMYDFormat = 6 xlDYMFormat = 7 xlYDMFormat = 8 xlSkipColumn = 9 xlEMDFormat = 10 # XlQueryType xlODBCQuery = 1 xlDAORecordset = 2 xlWebQuery = 4 xlOLEDBQuery = 5 xlTextImport = 6 xlADORecordset = 7 # XlWebSelectionType xlEntirePage = 1 xlAllTables = 2 xlSpecifiedTables = 3 # XlCubeFieldType xlHierarchy = 1 xlMeasure = 2 xlSet = 3 # XlWebFormatting xlWebFormattingAll = 1 xlWebFormattingRTF = 2 xlWebFormattingNone = 3 # XlDisplayDrawingObjects xlDisplayShapes = -4104 xlHide = 3 xlPlaceholders = 2 # XlSubtototalLocationType xlAtTop = 1 xlAtBottom = 2 # XlPivotTableVersionList xlPivotTableVersion2000 = 0 xlPivotTableVersion10 = 1 xlPivotTableVersionCurrent = -1 # XlPrintErrors xlPrintErrorsDisplayed = 0 xlPrintErrorsBlank = 1 xlPrintErrorsDash = 2 xlPrintErrorsNA = 3 # XlPivotCellType xlPivotCellValue = 0 xlPivotCellPivotItem = 1 xlPivotCellSubtotal = 2 xlPivotCellGrandTotal = 3 xlPivotCellDataField = 4 xlPivotCellPivotField = 5 xlPivotCellPageFieldItem = 6 xlPivotCellCustomSubtotal = 7 xlPivotCellDataPivotField = 8 xlPivotCellBlankCell = 9 # XlPivotTableMissingItems xlMissingItemsDefault = -1 xlMissingItemsNone = 0 xlMissingItemsMax = 32500 # XlCalculationState xlDone = 0 xlCalculating = 1 xlPending = 2 # XlCalculationInterruptKey xlNoKey = 0 xlEscKey = 1 xlAnyKey = 2 # XlSortDataOption xlSortNormal = 0 xlSortTextAsNumbers = 1 # XlUpdateLinks xlUpdateLinksUserSetting = 1 xlUpdateLinksNever = 2 xlUpdateLinksAlways = 3 # XlLinkStatus xlLinkStatusOK = 0 xlLinkStatusMissingFile = 1 xlLinkStatusMissingSheet = 2 xlLinkStatusOld = 3 xlLinkStatusSourceNotCalculated = 4 xlLinkStatusIndeterminate = 5 xlLinkStatusNotStarted = 6 xlLinkStatusInvalidName = 7 xlLinkStatusSourceNotOpen = 8 xlLinkStatusSourceOpen = 9 xlLinkStatusCopiedValues = 10 # XlSearchWithin xlWithinSheet = 1 xlWithinWorkbook = 2 # XlCorruptLoad xlNormalLoad = 0 xlRepairFile = 1 xlExtractData = 2 # XlRobustConnect xlAsRequired = 0 xlAlways = 1 xlNever = 2 # XlErrorChecks xlEvaluateToError = 1 xlTextDate = 2 xlNumberAsText = 3 xlInconsistentFormula = 4 xlOmittedCells = 5 xlUnlockedFormulaCells = 6 xlEmptyCellReferences = 7 xlListDataValidation = 8 # XlDataLabelSeparator xlDataLabelSeparatorDefault = 1 # XlSmartTagDisplayMode xlIndicatorAndButton = 0 xlDisplayNone = 1 xlButtonOnly = 2 # XlRangeValueDataType xlRangeValueDefault = 10 xlRangeValueXMLSpreadsheet = 11 xlRangeValueMSPersistXML = 12 # XlSpeakDirection xlSpeakByRows = 0 xlSpeakByColumns = 1 # XlInsertFormatOrigin xlFormatFromLeftOrAbove = 0 xlFormatFromRightOrBelow = 1 # XlArabicModes xlArabicNone = 0 xlArabicStrictAlefHamza = 1 xlArabicStrictFinalYaa = 2 xlArabicBothStrict = 3 # XlImportDataAs xlQueryTable = 0 xlPivotTableReport = 1 # XlCalculatedMemberType xlCalculatedMember = 0 xlCalculatedSet = 1 # XlHebrewModes xlHebrewFullScript = 0 xlHebrewPartialScript = 1 xlHebrewMixedScript = 2 xlHebrewMixedAuthorizedScript = 3 # XlListObjectSourceType xlSrcExternal = 0 xlSrcRange = 1 xlSrcXml = 2 # XlTextVisualLayoutType xlTextVisualLTR = 1 xlTextVisualRTL = 2 # XlListDataType xlListDataTypeNone = 0 xlListDataTypeText = 1 xlListDataTypeMultiLineText = 2 xlListDataTypeNumber = 3 xlListDataTypeCurrency = 4 xlListDataTypeDateTime = 5 xlListDataTypeChoice = 6 xlListDataTypeChoiceMulti = 7 xlListDataTypeListLookup = 8 xlListDataTypeCheckbox = 9 xlListDataTypeHyperLink = 10 xlListDataTypeCounter = 11 xlListDataTypeMultiLineRichText = 12 # XlTotalsCalculation xlTotalsCalculationNone = 0 xlTotalsCalculationSum = 1 xlTotalsCalculationAverage = 2 xlTotalsCalculationCount = 3 xlTotalsCalculationCountNums = 4 xlTotalsCalculationMin = 5 xlTotalsCalculationMax = 6 xlTotalsCalculationStdDev = 7 xlTotalsCalculationVar = 8 # XlXmlLoadOption xlXmlLoadPromptUser = 0 xlXmlLoadOpenXml = 1 xlXmlLoadImportToList = 2 xlXmlLoadMapXml = 3 # XlSmartTagControlType xlSmartTagControlSmartTag = 1 xlSmartTagControlLink = 2 xlSmartTagControlHelp = 3 xlSmartTagControlHelpURL = 4 xlSmartTagControlSeparator = 5 xlSmartTagControlButton = 6 xlSmartTagControlLabel = 7 xlSmartTagControlImage = 8 xlSmartTagControlCheckbox = 9 xlSmartTagControlTextbox = 10 xlSmartTagControlListbox = 11 xlSmartTagControlCombo = 12 xlSmartTagControlActiveX = 13 xlSmartTagControlRadioGroup = 14 # XlListConflict xlListConflictDialog = 0 xlListConflictRetryAllConflicts = 1 xlListConflictDiscardAllConflicts = 2 xlListConflictError = 3 # XlXmlExportResult xlXmlExportSuccess = 0 xlXmlExportValidationFailed = 1 # XlXmlImportResult xlXmlImportSuccess = 0 xlXmlImportElementsTruncated = 1 xlXmlImportValidationFailed = 2
xl_all = -4104 xl_automatic = -4105 xl_both = 1 xl_center = -4108 xl_checker = 9 xl_circle = 8 xl_corner = 2 xl_criss_cross = 16 xl_cross = 4 xl_diamond = 2 xl_distributed = -4117 xl_double_accounting = 5 xl_fixed_value = 1 xl_formats = -4122 xl_gray16 = 17 xl_gray8 = 18 xl_grid = 15 xl_high = -4127 xl_inside = 2 xl_justify = -4130 xl_light_down = 13 xl_light_horizontal = 11 xl_light_up = 14 xl_light_vertical = 12 xl_low = -4134 xl_manual = -4135 xl_minus_values = 3 xl_module = -4141 xl_next_to_axis = 4 xl_none = -4142 xl_notes = -4144 xl_off = -4146 xl_on = 1 xl_percent = 2 xl_plus = 9 xl_plus_values = 2 xl_semi_gray75 = 10 xl_show_label = 4 xl_show_label_and_percent = 5 xl_show_percent = 3 xl_show_value = 2 xl_simple = -4154 xl_single = 2 xl_single_accounting = 4 xl_solid = 1 xl_square = 1 xl_star = 5 xl_st_error = 4 xl_toolbar_button = 2 xl_triangle = 3 xl_gray25 = -4124 xl_gray50 = -4125 xl_gray75 = -4126 xl_bottom = -4107 xl_left = -4131 xl_right = -4152 xl_top = -4160 xl3_d_bar = -4099 xl3_d_surface = -4103 xl_bar = 2 xl_column = 3 xl_combination = -4111 xl_custom = -4114 xl_default_auto_format = -1 xl_maximum = 2 xl_minimum = 4 xl_opaque = 3 xl_transparent = 2 xl_bidi = -5000 xl_latin = -5001 xl_context = -5002 xl_ltr = -5003 xl_rtl = -5004 xl_full_script = 1 xl_partial_script = 2 xl_mixed_script = 3 xl_mixed_authorized_script = 4 xl_visual_cursor = 2 xl_logical_cursor = 1 xl_system = 1 xl_partial = 3 xl_hindi_numerals = 3 xl_bidi_calendar = 3 xl_gregorian = 2 xl_complete = 4 xl_scale = 3 xl_closed = 3 xl_color1 = 7 xl_color2 = 8 xl_color3 = 9 xl_constants = 2 xl_contents = 2 xl_below = 1 xl_cascade = 7 xl_center_across_selection = 7 xl_chart4 = 2 xl_chart_series = 17 xl_chart_short = 6 xl_chart_titles = 18 xl_classic1 = 1 xl_classic2 = 2 xl_classic3 = 3 xl3_d_effects1 = 13 xl3_d_effects2 = 14 xl_above = 0 xl_accounting1 = 4 xl_accounting2 = 5 xl_accounting3 = 6 xl_accounting4 = 17 xl_add = 2 xl_debug_code_pane = 13 xl_desktop = 9 xl_direct = 1 xl_divide = 5 xl_double_closed = 5 xl_double_open = 4 xl_double_quote = 1 xl_entire_chart = 20 xl_excel_menus = 1 xl_extended = 3 xl_fill = 5 xl_first = 0 xl_floating = 5 xl_formula = 5 xl_general = 1 xl_gridline = 22 xl_icons = 1 xl_immediate_pane = 12 xl_integer = 2 xl_last = 1 xl_last_cell = 11 xl_list1 = 10 xl_list2 = 11 xl_list3 = 12 xl_local_format1 = 15 xl_local_format2 = 16 xl_long = 3 xl_lotus_help = 2 xl_macrosheet_cell = 7 xl_mixed = 2 xl_multiply = 4 xl_narrow = 1 xl_no_documents = 3 xl_open = 2 xl_outside = 3 xl_reference = 4 xl_semiautomatic = 2 xl_short = 1 xl_single_quote = 2 xl_strict = 2 xl_subtract = 3 xl_text_box = 16 xl_tiled = 1 xl_title_bar = 8 xl_toolbar = 1 xl_visible = 12 xl_watch_pane = 11 xl_wide = 3 xl_workbook_tab = 6 xl_worksheet4 = 1 xl_worksheet_cell = 3 xl_worksheet_short = 5 xl_all_except_borders = 7 xl_left_to_right = 2 xl_top_to_bottom = 1 xl_very_hidden = 2 xl_drawing_object = 14 xl_creator_code = 1480803660 xl_built_in = 21 xl_user_defined = 22 xl_any_gallery = 23 xl_color_index_automatic = -4105 xl_color_index_none = -4142 xl_cap = 1 xl_no_cap = 2 xl_columns = 2 xl_rows = 1 xl_scale_linear = -4132 xl_scale_logarithmic = -4133 xl_auto_fill = 4 xl_chronological = 3 xl_growth = 2 xl_data_series_linear = -4132 xl_axis_crosses_automatic = -4105 xl_axis_crosses_custom = -4114 xl_axis_crosses_maximum = 2 xl_axis_crosses_minimum = 4 xl_primary = 1 xl_secondary = 2 xl_background_automatic = -4105 xl_background_opaque = 3 xl_background_transparent = 2 xl_maximized = -4137 xl_minimized = -4140 xl_normal = -4143 xl_category = 1 xl_series_axis = 3 xl_value = 2 xl_arrow_head_length_long = 3 xl_arrow_head_length_medium = -4138 xl_arrow_head_length_short = 1 xl_v_align_bottom = -4107 xl_v_align_center = -4108 xl_v_align_distributed = -4117 xl_v_align_justify = -4130 xl_v_align_top = -4160 xl_tick_mark_cross = 4 xl_tick_mark_inside = 2 xl_tick_mark_none = -4142 xl_tick_mark_outside = 3 xl_x = -4168 xl_y = 1 xl_error_bar_include_both = 1 xl_error_bar_include_minus_values = 3 xl_error_bar_include_none = -4142 xl_error_bar_include_plus_values = 2 xl_interpolated = 3 xl_not_plotted = 1 xl_zero = 2 xl_arrow_head_style_closed = 3 xl_arrow_head_style_double_closed = 5 xl_arrow_head_style_double_open = 4 xl_arrow_head_style_none = -4142 xl_arrow_head_style_open = 2 xl_arrow_head_width_medium = -4138 xl_arrow_head_width_narrow = 1 xl_arrow_head_width_wide = 3 xl_h_align_center = -4108 xl_h_align_center_across_selection = 7 xl_h_align_distributed = -4117 xl_h_align_fill = 5 xl_h_align_general = 1 xl_h_align_justify = -4130 xl_h_align_left = -4131 xl_h_align_right = -4152 xl_tick_label_position_high = -4127 xl_tick_label_position_low = -4134 xl_tick_label_position_next_to_axis = 4 xl_tick_label_position_none = -4142 xl_legend_position_bottom = -4107 xl_legend_position_corner = 2 xl_legend_position_left = -4131 xl_legend_position_right = -4152 xl_legend_position_top = -4160 xl_stack_scale = 3 xl_stack = 2 xl_stretch = 1 xl_sides = 1 xl_end = 2 xl_end_sides = 3 xl_front = 4 xl_front_sides = 5 xl_front_end = 6 xl_all_faces = 7 xl_downward = -4170 xl_horizontal = -4128 xl_upward = -4171 xl_vertical = -4166 xl_tick_label_orientation_automatic = -4105 xl_tick_label_orientation_downward = -4170 xl_tick_label_orientation_horizontal = -4128 xl_tick_label_orientation_upward = -4171 xl_tick_label_orientation_vertical = -4166 xl_hairline = 1 xl_medium = -4138 xl_thick = 4 xl_thin = 2 xl_day = 1 xl_month = 3 xl_weekday = 2 xl_year = 4 xl_underline_style_double = -4119 xl_underline_style_double_accounting = 5 xl_underline_style_none = -4142 xl_underline_style_single = 2 xl_underline_style_single_accounting = 4 xl_error_bar_type_custom = -4114 xl_error_bar_type_fixed_value = 1 xl_error_bar_type_percent = 2 xl_error_bar_type_st_dev = -4155 xl_error_bar_type_st_error = 4 xl_exponential = 5 xl_linear = -4132 xl_logarithmic = -4133 xl_moving_avg = 6 xl_polynomial = 3 xl_power = 4 xl_continuous = 1 xl_dash = -4115 xl_dash_dot = 4 xl_dash_dot_dot = 5 xl_dot = -4118 xl_double = -4119 xl_slant_dash_dot = 13 xl_line_style_none = -4142 xl_data_labels_show_none = -4142 xl_data_labels_show_value = 2 xl_data_labels_show_percent = 3 xl_data_labels_show_label = 4 xl_data_labels_show_label_and_percent = 5 xl_data_labels_show_bubble_sizes = 6 xl_marker_style_automatic = -4105 xl_marker_style_circle = 8 xl_marker_style_dash = -4115 xl_marker_style_diamond = 2 xl_marker_style_dot = -4118 xl_marker_style_none = -4142 xl_marker_style_picture = -4147 xl_marker_style_plus = 9 xl_marker_style_square = 1 xl_marker_style_star = 5 xl_marker_style_triangle = 3 xl_marker_style_x = -4168 xl_bmp = 1 xl_cgm = 7 xl_drw = 4 xl_dxf = 5 xl_eps = 8 xl_hgl = 6 xl_pct = 13 xl_pcx = 10 xl_pic = 11 xl_plt = 12 xl_tif = 9 xl_wmf = 2 xl_wpg = 3 xl_pattern_automatic = -4105 xl_pattern_checker = 9 xl_pattern_criss_cross = 16 xl_pattern_down = -4121 xl_pattern_gray16 = 17 xl_pattern_gray25 = -4124 xl_pattern_gray50 = -4125 xl_pattern_gray75 = -4126 xl_pattern_gray8 = 18 xl_pattern_grid = 15 xl_pattern_horizontal = -4128 xl_pattern_light_down = 13 xl_pattern_light_horizontal = 11 xl_pattern_light_up = 14 xl_pattern_light_vertical = 12 xl_pattern_none = -4142 xl_pattern_semi_gray75 = 10 xl_pattern_solid = 1 xl_pattern_up = -4162 xl_pattern_vertical = -4166 xl_split_by_position = 1 xl_split_by_percent_value = 3 xl_split_by_custom_split = 4 xl_split_by_value = 2 xl_hundreds = -2 xl_thousands = -3 xl_ten_thousands = -4 xl_hundred_thousands = -5 xl_millions = -6 xl_ten_millions = -7 xl_hundred_millions = -8 xl_thousand_millions = -9 xl_million_millions = -10 xl_label_position_center = -4108 xl_label_position_above = 0 xl_label_position_below = 1 xl_label_position_left = -4131 xl_label_position_right = -4152 xl_label_position_outside_end = 2 xl_label_position_inside_end = 3 xl_label_position_inside_base = 4 xl_label_position_best_fit = 5 xl_label_position_mixed = 6 xl_label_position_custom = 7 xl_days = 0 xl_months = 1 xl_years = 2 xl_category_scale = 2 xl_time_scale = 3 xl_automatic_scale = -4105 xl_box = 0 xl_pyramid_to_point = 1 xl_pyramid_to_max = 2 xl_cylinder = 3 xl_cone_to_point = 4 xl_cone_to_max = 5 xl_column_clustered = 51 xl_column_stacked = 52 xl_column_stacked100 = 53 xl3_d_column_clustered = 54 xl3_d_column_stacked = 55 xl3_d_column_stacked100 = 56 xl_bar_clustered = 57 xl_bar_stacked = 58 xl_bar_stacked100 = 59 xl3_d_bar_clustered = 60 xl3_d_bar_stacked = 61 xl3_d_bar_stacked100 = 62 xl_line_stacked = 63 xl_line_stacked100 = 64 xl_line_markers = 65 xl_line_markers_stacked = 66 xl_line_markers_stacked100 = 67 xl_pie_of_pie = 68 xl_pie_exploded = 69 xl3_d_pie_exploded = 70 xl_bar_of_pie = 71 xl_xy_scatter_smooth = 72 xl_xy_scatter_smooth_no_markers = 73 xl_xy_scatter_lines = 74 xl_xy_scatter_lines_no_markers = 75 xl_area_stacked = 76 xl_area_stacked100 = 77 xl3_d_area_stacked = 78 xl3_d_area_stacked100 = 79 xl_doughnut_exploded = 80 xl_radar_markers = 81 xl_radar_filled = 82 xl_surface = 83 xl_surface_wireframe = 84 xl_surface_top_view = 85 xl_surface_top_view_wireframe = 86 xl_bubble = 15 xl_bubble3_d_effect = 87 xl_stock_hlc = 88 xl_stock_ohlc = 89 xl_stock_vhlc = 90 xl_stock_vohlc = 91 xl_cylinder_col_clustered = 92 xl_cylinder_col_stacked = 93 xl_cylinder_col_stacked100 = 94 xl_cylinder_bar_clustered = 95 xl_cylinder_bar_stacked = 96 xl_cylinder_bar_stacked100 = 97 xl_cylinder_col = 98 xl_cone_col_clustered = 99 xl_cone_col_stacked = 100 xl_cone_col_stacked100 = 101 xl_cone_bar_clustered = 102 xl_cone_bar_stacked = 103 xl_cone_bar_stacked100 = 104 xl_cone_col = 105 xl_pyramid_col_clustered = 106 xl_pyramid_col_stacked = 107 xl_pyramid_col_stacked100 = 108 xl_pyramid_bar_clustered = 109 xl_pyramid_bar_stacked = 110 xl_pyramid_bar_stacked100 = 111 xl_pyramid_col = 112 xl3_d_column = -4100 xl_line = 4 xl3_d_line = -4101 xl3_d_pie = -4102 xl_pie = 5 xl_xy_scatter = -4169 xl3_d_area = -4098 xl_area = 1 xl_doughnut = -4120 xl_radar = -4151 xl_data_label = 0 xl_chart_area = 2 xl_series = 3 xl_chart_title = 4 xl_walls = 5 xl_corners = 6 xl_data_table = 7 xl_trendline = 8 xl_error_bars = 9 xl_x_error_bars = 10 xl_y_error_bars = 11 xl_legend_entry = 12 xl_legend_key = 13 xl_shape = 14 xl_major_gridlines = 15 xl_minor_gridlines = 16 xl_axis_title = 17 xl_up_bars = 18 xl_plot_area = 19 xl_down_bars = 20 xl_axis = 21 xl_series_lines = 22 xl_floor = 23 xl_legend = 24 xl_hi_lo_lines = 25 xl_drop_lines = 26 xl_radar_axis_labels = 27 xl_nothing = 28 xl_leader_lines = 29 xl_display_unit_label = 30 xl_pivot_chart_field_button = 31 xl_pivot_chart_drop_zone = 32 xl_size_is_width = 2 xl_size_is_area = 1 xl_shift_down = -4121 xl_shift_to_right = -4161 xl_shift_to_left = -4159 xl_shift_up = -4162 xl_down = -4121 xl_to_left = -4159 xl_to_right = -4161 xl_up = -4162 xl_average = -4106 xl_count = -4112 xl_count_nums = -4113 xl_max = -4136 xl_min = -4139 xl_product = -4149 xl_st_dev = -4155 xl_st_dev_p = -4156 xl_sum = -4157 xl_var = -4164 xl_var_p = -4165 xl_unknown = 1000 xl_chart = -4109 xl_dialog_sheet = -4116 xl_excel4_intl_macro_sheet = 4 xl_excel4_macro_sheet = 3 xl_worksheet = -4167 xl_column_header = -4110 xl_column_item = 5 xl_data_header = 3 xl_data_item = 7 xl_page_header = 2 xl_page_item = 6 xl_row_header = -4153 xl_row_item = 4 xl_table_body = 8 xl_formulas = -4123 xl_comments = -4144 xl_values = -4163 xl_chart_as_window = 5 xl_chart_in_place = 4 xl_clipboard = 3 xl_info = -4129 xl_workbook = 1 xl_date = 2 xl_number = -4145 xl_text = -4158 xl_bitmap = 2 xl_picture = -4147 xl_scenario = 4 xl_consolidation = 3 xl_database = 1 xl_external = 2 xl_pivot_table = -4148 xl_a1 = 1 xl_r1_c1 = -4150 xl_microsoft_access = 4 xl_microsoft_fox_pro = 5 xl_microsoft_mail = 3 xl_microsoft_power_point = 2 xl_microsoft_project = 6 xl_microsoft_schedule_plus = 7 xl_microsoft_word = 1 xl_no_button = 0 xl_primary_button = 1 xl_secondary_button = 2 xl_copy = 1 xl_cut = 2 xl_fill_with_all = -4104 xl_fill_with_contents = 2 xl_fill_with_formats = -4122 xl_filter_copy = 2 xl_filter_in_place = 1 xl_down_then_over = 1 xl_over_then_down = 2 xl_link_type_excel_links = 1 xl_link_type_ole_links = 2 xl_column_then_row = 2 xl_row_then_column = 1 xl_disabled = 0 xl_error_handler = 2 xl_interrupt = 1 xl_page_break_automatic = -4105 xl_page_break_manual = -4135 xl_page_break_none = -4142 xl_ole_control = 2 xl_ole_embed = 1 xl_ole_link = 0 xl_landscape = 2 xl_portrait = 1 xl_edition_date = 2 xl_update_state = 1 xl_link_info_status = 3 xl_command_underlines_automatic = -4105 xl_command_underlines_off = -4146 xl_command_underlines_on = 1 xl_verb_open = 2 xl_verb_primary = 1 xl_calculation_automatic = -4105 xl_calculation_manual = -4135 xl_calculation_semiautomatic = 2 xl_read_only = 3 xl_read_write = 2 xl_publisher = 1 xl_subscriber = 2 xl_fit_to_page = 2 xl_full_page = 3 xl_screen_size = 1 xl_part = 2 xl_whole = 1 xl_mapi = 1 xl_no_mail_system = 0 xl_power_talk = 2 xl_link_info_ole_links = 2 xl_link_info_publishers = 5 xl_link_info_subscribers = 6 xl_err_div0 = 2007 xl_err_na = 2042 xl_err_name = 2029 xl_err_null = 2000 xl_err_num = 2036 xl_err_ref = 2023 xl_err_value = 2015 xl_biff = 2 xl_pict = 1 xl_rtf = 4 xl_valu = 8 xl_excel_links = 1 xl_ole_links = 2 xl_publishers = 5 xl_subscribers = 6 xl_cell_type_blanks = 4 xl_cell_type_constants = 2 xl_cell_type_formulas = -4123 xl_cell_type_last_cell = 11 xl_cell_type_comments = -4144 xl_cell_type_visible = 12 xl_cell_type_all_format_conditions = -4172 xl_cell_type_same_format_conditions = -4173 xl_cell_type_all_validation = -4174 xl_cell_type_same_validation = -4175 xl_arrange_style_cascade = 7 xl_arrange_style_horizontal = -4128 xl_arrange_style_tiled = 1 xl_arrange_style_vertical = -4166 xl_i_beam = 3 xl_default = -4143 xl_northwest_arrow = 1 xl_wait = 2 xl_automatic_update = 4 xl_cancel = 1 xl_change_attributes = 6 xl_manual_update = 5 xl_open_source = 3 xl_select = 3 xl_send_publisher = 2 xl_update_subscriber = 2 xl_fill_copy = 1 xl_fill_days = 5 xl_fill_default = 0 xl_fill_formats = 3 xl_fill_months = 7 xl_fill_series = 2 xl_fill_values = 4 xl_fill_weekdays = 6 xl_fill_years = 8 xl_growth_trend = 10 xl_linear_trend = 9 xl_and = 1 xl_bottom10_items = 4 xl_bottom10_percent = 6 xl_or = 2 xl_top10_items = 3 xl_top10_percent = 5 xl_clipboard_format_biff = 8 xl_clipboard_format_biff2 = 18 xl_clipboard_format_biff3 = 20 xl_clipboard_format_biff4 = 30 xl_clipboard_format_binary = 15 xl_clipboard_format_bitmap = 9 xl_clipboard_format_cgm = 13 xl_clipboard_format_csv = 5 xl_clipboard_format_dif = 4 xl_clipboard_format_dsp_text = 12 xl_clipboard_format_embedded_object = 21 xl_clipboard_format_embed_source = 22 xl_clipboard_format_link = 11 xl_clipboard_format_link_source = 23 xl_clipboard_format_link_source_desc = 32 xl_clipboard_format_movie = 24 xl_clipboard_format_native = 14 xl_clipboard_format_object_desc = 31 xl_clipboard_format_object_link = 19 xl_clipboard_format_owner_link = 17 xl_clipboard_format_pict = 2 xl_clipboard_format_print_pict = 3 xl_clipboard_format_rtf = 7 xl_clipboard_format_screen_pict = 29 xl_clipboard_format_standard_font = 28 xl_clipboard_format_standard_scale = 27 xl_clipboard_format_sylk = 6 xl_clipboard_format_table = 16 xl_clipboard_format_text = 0 xl_clipboard_format_tool_face = 25 xl_clipboard_format_tool_face_pict = 26 xl_clipboard_format_valu = 1 xl_clipboard_format_wk1 = 10 xl_add_in = 18 xl_csv = 6 xl_csv_mac = 22 xl_csvmsdos = 24 xl_csv_windows = 23 xl_dbf2 = 7 xl_dbf3 = 8 xl_dbf4 = 11 xl_dif = 9 xl_excel2 = 16 xl_excel2_far_east = 27 xl_excel3 = 29 xl_excel4 = 33 xl_excel5 = 39 xl_excel7 = 39 xl_excel9795 = 43 xl_excel4_workbook = 35 xl_intl_add_in = 26 xl_intl_macro = 25 xl_workbook_normal = -4143 xl_sylk = 2 xl_template = 17 xl_current_platform_text = -4158 xl_text_mac = 19 xl_text_msdos = 21 xl_text_printer = 36 xl_text_windows = 20 xl_wj2_wd1 = 14 xl_wk1 = 5 xl_wk1_all = 31 xl_wk1_fmt = 30 xl_wk3 = 15 xl_wk4 = 38 xl_wk3_fm3 = 32 xl_wks = 4 xl_works2_far_east = 28 xl_wq1 = 34 xl_wj3 = 40 xl_wj3_fj3 = 41 xl_unicode_text = 42 xl_html = 44 xl_web_archive = 45 xl_xml_spreadsheet = 46 xl24_hour_clock = 33 xl4_digit_years = 43 xl_alternate_array_separator = 16 xl_column_separator = 14 xl_country_code = 1 xl_country_setting = 2 xl_currency_before = 37 xl_currency_code = 25 xl_currency_digits = 27 xl_currency_leading_zeros = 40 xl_currency_minus_sign = 38 xl_currency_negative = 28 xl_currency_space_before = 36 xl_currency_trailing_zeros = 39 xl_date_order = 32 xl_date_separator = 17 xl_day_code = 21 xl_day_leading_zero = 42 xl_decimal_separator = 3 xl_general_format_name = 26 xl_hour_code = 22 xl_left_brace = 12 xl_left_bracket = 10 xl_list_separator = 5 xl_lower_case_column_letter = 9 xl_lower_case_row_letter = 8 xl_mdy = 44 xl_metric = 35 xl_minute_code = 23 xl_month_code = 20 xl_month_leading_zero = 41 xl_month_name_chars = 30 xl_noncurrency_digits = 29 xl_non_english_functions = 34 xl_right_brace = 13 xl_right_bracket = 11 xl_row_separator = 15 xl_second_code = 24 xl_thousands_separator = 4 xl_time_leading_zero = 45 xl_time_separator = 18 xl_upper_case_column_letter = 7 xl_upper_case_row_letter = 6 xl_weekday_name_chars = 31 xl_year_code = 19 xl_page_break_full = 1 xl_page_break_partial = 2 xl_overwrite_cells = 0 xl_insert_delete_cells = 1 xl_insert_entire_rows = 2 xl_no_labels = -4142 xl_row_labels = 1 xl_column_labels = 2 xl_mixed_labels = 3 xl_since_my_last_save = 1 xl_all_changes = 2 xl_not_yet_reviewed = 3 xl_no_indicator = 0 xl_comment_indicator_only = -1 xl_comment_and_indicator = 1 xl_cell_value = 1 xl_expression = 2 xl_between = 1 xl_not_between = 2 xl_equal = 3 xl_not_equal = 4 xl_greater = 5 xl_less = 6 xl_greater_equal = 7 xl_less_equal = 8 xl_no_restrictions = 0 xl_unlocked_cells = 1 xl_no_selection = -4142 xl_validate_input_only = 0 xl_validate_whole_number = 1 xl_validate_decimal = 2 xl_validate_list = 3 xl_validate_date = 4 xl_validate_time = 5 xl_validate_text_length = 6 xl_validate_custom = 7 xl_ime_mode_no_control = 0 xl_ime_mode_on = 1 xl_ime_mode_off = 2 xl_ime_mode_disable = 3 xl_ime_mode_hiragana = 4 xl_ime_mode_katakana = 5 xl_ime_mode_katakana_half = 6 xl_ime_mode_alpha_full = 7 xl_ime_mode_alpha = 8 xl_ime_mode_hangul_full = 9 xl_ime_mode_hangul = 10 xl_valid_alert_stop = 1 xl_valid_alert_warning = 2 xl_valid_alert_information = 3 xl_location_as_new_sheet = 1 xl_location_as_object = 2 xl_location_automatic = 3 xl_paper10x14 = 16 xl_paper11x17 = 17 xl_paper_a3 = 8 xl_paper_a4 = 9 xl_paper_a4_small = 10 xl_paper_a5 = 11 xl_paper_b4 = 12 xl_paper_b5 = 13 xl_paper_csheet = 24 xl_paper_dsheet = 25 xl_paper_envelope10 = 20 xl_paper_envelope11 = 21 xl_paper_envelope12 = 22 xl_paper_envelope14 = 23 xl_paper_envelope9 = 19 xl_paper_envelope_b4 = 33 xl_paper_envelope_b5 = 34 xl_paper_envelope_b6 = 35 xl_paper_envelope_c3 = 29 xl_paper_envelope_c4 = 30 xl_paper_envelope_c5 = 28 xl_paper_envelope_c6 = 31 xl_paper_envelope_c65 = 32 xl_paper_envelope_dl = 27 xl_paper_envelope_italy = 36 xl_paper_envelope_monarch = 37 xl_paper_envelope_personal = 38 xl_paper_esheet = 26 xl_paper_executive = 7 xl_paper_fanfold_legal_german = 41 xl_paper_fanfold_std_german = 40 xl_paper_fanfold_us = 39 xl_paper_folio = 14 xl_paper_ledger = 4 xl_paper_legal = 5 xl_paper_letter = 1 xl_paper_letter_small = 2 xl_paper_note = 18 xl_paper_quarto = 15 xl_paper_statement = 6 xl_paper_tabloid = 3 xl_paper_user = 256 xl_paste_special_operation_add = 2 xl_paste_special_operation_divide = 5 xl_paste_special_operation_multiply = 4 xl_paste_special_operation_none = -4142 xl_paste_special_operation_subtract = 3 xl_paste_all = -4104 xl_paste_all_except_borders = 7 xl_paste_formats = -4122 xl_paste_formulas = -4123 xl_paste_comments = -4144 xl_paste_values = -4163 xl_paste_column_widths = 8 xl_paste_validation = 6 xl_paste_formulas_and_number_formats = 11 xl_paste_values_and_number_formats = 12 xl_katakana_half = 0 xl_katakana = 1 xl_hiragana = 2 xl_no_conversion = 3 xl_phonetic_align_no_control = 0 xl_phonetic_align_left = 1 xl_phonetic_align_center = 2 xl_phonetic_align_distributed = 3 xl_printer = 2 xl_screen = 1 xl_column_field = 2 xl_data_field = 4 xl_hidden = 0 xl_page_field = 3 xl_row_field = 1 xl_difference_from = 2 xl_index = 9 xl_no_additional_calculation = -4143 xl_percent_difference_from = 4 xl_percent_of = 3 xl_percent_of_column = 7 xl_percent_of_row = 6 xl_percent_of_total = 8 xl_running_total = 5 xl_free_floating = 3 xl_move = 2 xl_move_and_size = 1 xl_macintosh = 1 xl_msdos = 3 xl_windows = 2 xl_print_sheet_end = 1 xl_print_in_place = 16 xl_print_no_comments = -4142 xl_priority_high = -4127 xl_priority_low = -4134 xl_priority_normal = -4143 xl_label_only = 1 xl_data_and_label = 0 xl_data_only = 2 xl_origin = 3 xl_button = 15 xl_blanks = 4 xl_first_row = 256 xl_range_auto_format3_d_effects1 = 13 xl_range_auto_format3_d_effects2 = 14 xl_range_auto_format_accounting1 = 4 xl_range_auto_format_accounting2 = 5 xl_range_auto_format_accounting3 = 6 xl_range_auto_format_accounting4 = 17 xl_range_auto_format_classic1 = 1 xl_range_auto_format_classic2 = 2 xl_range_auto_format_classic3 = 3 xl_range_auto_format_color1 = 7 xl_range_auto_format_color2 = 8 xl_range_auto_format_color3 = 9 xl_range_auto_format_list1 = 10 xl_range_auto_format_list2 = 11 xl_range_auto_format_list3 = 12 xl_range_auto_format_local_format1 = 15 xl_range_auto_format_local_format2 = 16 xl_range_auto_format_local_format3 = 19 xl_range_auto_format_local_format4 = 20 xl_range_auto_format_report1 = 21 xl_range_auto_format_report2 = 22 xl_range_auto_format_report3 = 23 xl_range_auto_format_report4 = 24 xl_range_auto_format_report5 = 25 xl_range_auto_format_report6 = 26 xl_range_auto_format_report7 = 27 xl_range_auto_format_report8 = 28 xl_range_auto_format_report9 = 29 xl_range_auto_format_report10 = 30 xl_range_auto_format_classic_pivot_table = 31 xl_range_auto_format_table1 = 32 xl_range_auto_format_table2 = 33 xl_range_auto_format_table3 = 34 xl_range_auto_format_table4 = 35 xl_range_auto_format_table5 = 36 xl_range_auto_format_table6 = 37 xl_range_auto_format_table7 = 38 xl_range_auto_format_table8 = 39 xl_range_auto_format_table9 = 40 xl_range_auto_format_table10 = 41 xl_range_auto_format_pt_none = 42 xl_range_auto_format_none = -4142 xl_range_auto_format_simple = -4154 xl_absolute = 1 xl_abs_row_rel_column = 2 xl_relative = 4 xl_rel_row_abs_column = 3 xl_tabular = 0 xl_outline = 1 xl_all_at_once = 2 xl_one_after_another = 1 xl_not_yet_routed = 0 xl_routing_complete = 2 xl_routing_in_progress = 1 xl_auto_activate = 3 xl_auto_close = 2 xl_auto_deactivate = 4 xl_auto_open = 1 xl_do_not_save_changes = 2 xl_save_changes = 1 xl_exclusive = 3 xl_no_change = 1 xl_shared = 2 xl_local_session_changes = 2 xl_other_session_changes = 3 xl_user_resolution = 1 xl_next = 1 xl_previous = 2 xl_by_columns = 2 xl_by_rows = 1 xl_sheet_visible = -1 xl_sheet_hidden = 0 xl_sheet_very_hidden = 2 xl_pin_yin = 1 xl_stroke = 2 xl_code_page = 2 xl_syllabary = 1 xl_ascending = 1 xl_descending = 2 xl_sort_rows = 2 xl_sort_columns = 1 xl_sort_labels = 2 xl_sort_values = 1 xl_errors = 16 xl_logical = 4 xl_numbers = 1 xl_text_values = 2 xl_subscribe_to_picture = -4147 xl_subscribe_to_text = -4158 xl_summary_above = 0 xl_summary_below = 1 xl_summary_on_left = -4131 xl_summary_on_right = -4152 xl_summary_pivot_table = -4148 xl_standard_summary = 1 xl_tab_position_first = 0 xl_tab_position_last = 1 xl_delimited = 1 xl_fixed_width = 2 xl_text_qualifier_double_quote = 1 xl_text_qualifier_none = -4142 xl_text_qualifier_single_quote = 2 xl_wbat_chart = -4109 xl_wbat_excel4_intl_macro_sheet = 4 xl_wbat_excel4_macro_sheet = 3 xl_wbat_worksheet = -4167 xl_normal_view = 1 xl_page_break_preview = 2 xl_command = 2 xl_function = 1 xl_not_xlm = 3 xl_guess = 0 xl_no = 2 xl_yes = 1 xl_inside_horizontal = 12 xl_inside_vertical = 11 xl_diagonal_down = 5 xl_diagonal_up = 6 xl_edge_bottom = 9 xl_edge_left = 7 xl_edge_right = 10 xl_edge_top = 8 xl_no_button_changes = 1 xl_no_changes = 4 xl_no_docking_changes = 3 xl_toolbar_protection_none = -4143 xl_no_shape_changes = 2 xl_dialog_open = 1 xl_dialog_open_links = 2 xl_dialog_save_as = 5 xl_dialog_file_delete = 6 xl_dialog_page_setup = 7 xl_dialog_print = 8 xl_dialog_printer_setup = 9 xl_dialog_arrange_all = 12 xl_dialog_window_size = 13 xl_dialog_window_move = 14 xl_dialog_run = 17 xl_dialog_set_print_titles = 23 xl_dialog_font = 26 xl_dialog_display = 27 xl_dialog_protect_document = 28 xl_dialog_calculation = 32 xl_dialog_extract = 35 xl_dialog_data_delete = 36 xl_dialog_sort = 39 xl_dialog_data_series = 40 xl_dialog_table = 41 xl_dialog_format_number = 42 xl_dialog_alignment = 43 xl_dialog_style = 44 xl_dialog_border = 45 xl_dialog_cell_protection = 46 xl_dialog_column_width = 47 xl_dialog_clear = 52 xl_dialog_paste_special = 53 xl_dialog_edit_delete = 54 xl_dialog_insert = 55 xl_dialog_paste_names = 58 xl_dialog_define_name = 61 xl_dialog_create_names = 62 xl_dialog_formula_goto = 63 xl_dialog_formula_find = 64 xl_dialog_gallery_area = 67 xl_dialog_gallery_bar = 68 xl_dialog_gallery_column = 69 xl_dialog_gallery_line = 70 xl_dialog_gallery_pie = 71 xl_dialog_gallery_scatter = 72 xl_dialog_combination = 73 xl_dialog_gridlines = 76 xl_dialog_axes = 78 xl_dialog_attach_text = 80 xl_dialog_patterns = 84 xl_dialog_main_chart = 85 xl_dialog_overlay = 86 xl_dialog_scale = 87 xl_dialog_format_legend = 88 xl_dialog_format_text = 89 xl_dialog_parse = 91 xl_dialog_unhide = 94 xl_dialog_workspace = 95 xl_dialog_activate = 103 xl_dialog_copy_picture = 108 xl_dialog_delete_name = 110 xl_dialog_delete_format = 111 xl_dialog_new = 119 xl_dialog_row_height = 127 xl_dialog_format_move = 128 xl_dialog_format_size = 129 xl_dialog_formula_replace = 130 xl_dialog_select_special = 132 xl_dialog_apply_names = 133 xl_dialog_replace_font = 134 xl_dialog_split = 137 xl_dialog_outline = 142 xl_dialog_save_workbook = 145 xl_dialog_copy_chart = 147 xl_dialog_format_font = 150 xl_dialog_note = 154 xl_dialog_set_update_status = 159 xl_dialog_color_palette = 161 xl_dialog_change_link = 166 xl_dialog_app_move = 170 xl_dialog_app_size = 171 xl_dialog_main_chart_type = 185 xl_dialog_overlay_chart_type = 186 xl_dialog_open_mail = 188 xl_dialog_send_mail = 189 xl_dialog_standard_font = 190 xl_dialog_consolidate = 191 xl_dialog_sort_special = 192 xl_dialog_gallery3d_area = 193 xl_dialog_gallery3d_column = 194 xl_dialog_gallery3d_line = 195 xl_dialog_gallery3d_pie = 196 xl_dialog_view3d = 197 xl_dialog_goal_seek = 198 xl_dialog_workgroup = 199 xl_dialog_fill_group = 200 xl_dialog_update_link = 201 xl_dialog_promote = 202 xl_dialog_demote = 203 xl_dialog_show_detail = 204 xl_dialog_object_properties = 207 xl_dialog_save_new_object = 208 xl_dialog_apply_style = 212 xl_dialog_assign_to_object = 213 xl_dialog_object_protection = 214 xl_dialog_create_publisher = 217 xl_dialog_subscribe_to = 218 xl_dialog_show_toolbar = 220 xl_dialog_print_preview = 222 xl_dialog_edit_color = 223 xl_dialog_format_main = 225 xl_dialog_format_overlay = 226 xl_dialog_edit_series = 228 xl_dialog_define_style = 229 xl_dialog_gallery_radar = 249 xl_dialog_edition_options = 251 xl_dialog_zoom = 256 xl_dialog_insert_object = 259 xl_dialog_size = 261 xl_dialog_move = 262 xl_dialog_format_auto = 269 xl_dialog_gallery3d_bar = 272 xl_dialog_gallery3d_surface = 273 xl_dialog_customize_toolbar = 276 xl_dialog_workbook_add = 281 xl_dialog_workbook_move = 282 xl_dialog_workbook_copy = 283 xl_dialog_workbook_options = 284 xl_dialog_save_workspace = 285 xl_dialog_chart_wizard = 288 xl_dialog_assign_to_tool = 293 xl_dialog_placement = 300 xl_dialog_fill_workgroup = 301 xl_dialog_workbook_new = 302 xl_dialog_scenario_cells = 305 xl_dialog_scenario_add = 307 xl_dialog_scenario_edit = 308 xl_dialog_scenario_summary = 311 xl_dialog_pivot_table_wizard = 312 xl_dialog_pivot_field_properties = 313 xl_dialog_options_calculation = 318 xl_dialog_options_edit = 319 xl_dialog_options_view = 320 xl_dialog_addin_manager = 321 xl_dialog_menu_editor = 322 xl_dialog_attach_toolbars = 323 xl_dialog_options_chart = 325 xl_dialog_vba_insert_file = 328 xl_dialog_vba_procedure_definition = 330 xl_dialog_routing_slip = 336 xl_dialog_mail_logon = 339 xl_dialog_insert_picture = 342 xl_dialog_gallery_doughnut = 344 xl_dialog_chart_trend = 350 xl_dialog_workbook_insert = 354 xl_dialog_options_transition = 355 xl_dialog_options_general = 356 xl_dialog_filter_advanced = 370 xl_dialog_mail_next_letter = 378 xl_dialog_data_label = 379 xl_dialog_insert_title = 380 xl_dialog_font_properties = 381 xl_dialog_macro_options = 382 xl_dialog_workbook_unhide = 384 xl_dialog_workbook_name = 386 xl_dialog_gallery_custom = 388 xl_dialog_add_chart_autoformat = 390 xl_dialog_chart_add_data = 392 xl_dialog_tab_order = 394 xl_dialog_subtotal_create = 398 xl_dialog_workbook_tab_split = 415 xl_dialog_workbook_protect = 417 xl_dialog_scrollbar_properties = 420 xl_dialog_pivot_show_pages = 421 xl_dialog_text_to_columns = 422 xl_dialog_format_charttype = 423 xl_dialog_pivot_field_group = 433 xl_dialog_pivot_field_ungroup = 434 xl_dialog_checkbox_properties = 435 xl_dialog_label_properties = 436 xl_dialog_listbox_properties = 437 xl_dialog_editbox_properties = 438 xl_dialog_open_text = 441 xl_dialog_pushbutton_properties = 445 xl_dialog_filter = 447 xl_dialog_function_wizard = 450 xl_dialog_save_copy_as = 456 xl_dialog_options_lists_add = 458 xl_dialog_series_axes = 460 xl_dialog_series_x = 461 xl_dialog_series_y = 462 xl_dialog_errorbar_x = 463 xl_dialog_errorbar_y = 464 xl_dialog_format_chart = 465 xl_dialog_series_order = 466 xl_dialog_mail_edit_mailer = 470 xl_dialog_standard_width = 472 xl_dialog_scenario_merge = 473 xl_dialog_properties = 474 xl_dialog_summary_info = 474 xl_dialog_find_file = 475 xl_dialog_active_cell_font = 476 xl_dialog_vba_make_addin = 478 xl_dialog_file_sharing = 481 xl_dialog_auto_correct = 485 xl_dialog_custom_views = 493 xl_dialog_insert_name_label = 496 xl_dialog_series_shape = 504 xl_dialog_chart_options_data_labels = 505 xl_dialog_chart_options_data_table = 506 xl_dialog_set_background_picture = 509 xl_dialog_data_validation = 525 xl_dialog_chart_type = 526 xl_dialog_chart_location = 527 _xl_dialog_phonetic = 538 xl_dialog_chart_source_data = 540 _xl_dialog_chart_source_data = 541 xl_dialog_series_options = 557 xl_dialog_pivot_table_options = 567 xl_dialog_pivot_solve_order = 568 xl_dialog_pivot_calculated_field = 570 xl_dialog_pivot_calculated_item = 572 xl_dialog_conditional_formatting = 583 xl_dialog_insert_hyperlink = 596 xl_dialog_protect_sharing = 620 xl_dialog_options_me = 647 xl_dialog_publish_as_web_page = 653 xl_dialog_phonetic = 656 xl_dialog_new_web_query = 667 xl_dialog_import_text_file = 666 xl_dialog_external_data_properties = 530 xl_dialog_web_options_general = 683 xl_dialog_web_options_files = 684 xl_dialog_web_options_pictures = 685 xl_dialog_web_options_encoding = 686 xl_dialog_web_options_fonts = 687 xl_dialog_pivot_client_server_set = 689 xl_dialog_property_fields = 754 xl_dialog_search = 731 xl_dialog_evaluate_formula = 709 xl_dialog_data_label_multiple = 723 xl_dialog_chart_options_data_label_multiple = 724 xl_dialog_error_checking = 732 xl_dialog_web_options_browsers = 773 xl_dialog_create_list = 796 xl_dialog_permission = 832 xl_dialog_my_permission = 834 xl_prompt = 0 xl_constant = 1 xl_range = 2 xl_param_type_unknown = 0 xl_param_type_char = 1 xl_param_type_numeric = 2 xl_param_type_decimal = 3 xl_param_type_integer = 4 xl_param_type_small_int = 5 xl_param_type_float = 6 xl_param_type_real = 7 xl_param_type_double = 8 xl_param_type_var_char = 12 xl_param_type_date = 9 xl_param_type_time = 10 xl_param_type_timestamp = 11 xl_param_type_long_var_char = -1 xl_param_type_binary = -2 xl_param_type_var_binary = -3 xl_param_type_long_var_binary = -4 xl_param_type_big_int = -5 xl_param_type_tiny_int = -6 xl_param_type_bit = -7 xl_param_type_w_char = -8 xl_button_control = 0 xl_check_box = 1 xl_drop_down = 2 xl_edit_box = 3 xl_group_box = 4 xl_label = 5 xl_list_box = 6 xl_option_button = 7 xl_scroll_bar = 8 xl_spinner = 9 xl_source_workbook = 0 xl_source_sheet = 1 xl_source_print_area = 2 xl_source_auto_filter = 3 xl_source_range = 4 xl_source_chart = 5 xl_source_pivot_table = 6 xl_source_query = 7 xl_html_static = 0 xl_html_calc = 1 xl_html_list = 2 xl_html_chart = 3 xl_report1 = 0 xl_report2 = 1 xl_report3 = 2 xl_report4 = 3 xl_report5 = 4 xl_report6 = 5 xl_report7 = 6 xl_report8 = 7 xl_report9 = 8 xl_report10 = 9 xl_table1 = 10 xl_table2 = 11 xl_table3 = 12 xl_table4 = 13 xl_table5 = 14 xl_table6 = 15 xl_table7 = 16 xl_table8 = 17 xl_table9 = 18 xl_table10 = 19 xl_pt_classic = 20 xl_pt_none = 21 xl_cmd_cube = 1 xl_cmd_sql = 2 xl_cmd_table = 3 xl_cmd_default = 4 xl_cmd_list = 5 xl_general_format = 1 xl_text_format = 2 xl_mdy_format = 3 xl_dmy_format = 4 xl_ymd_format = 5 xl_myd_format = 6 xl_dym_format = 7 xl_ydm_format = 8 xl_skip_column = 9 xl_emd_format = 10 xl_odbc_query = 1 xl_dao_recordset = 2 xl_web_query = 4 xl_oledb_query = 5 xl_text_import = 6 xl_ado_recordset = 7 xl_entire_page = 1 xl_all_tables = 2 xl_specified_tables = 3 xl_hierarchy = 1 xl_measure = 2 xl_set = 3 xl_web_formatting_all = 1 xl_web_formatting_rtf = 2 xl_web_formatting_none = 3 xl_display_shapes = -4104 xl_hide = 3 xl_placeholders = 2 xl_at_top = 1 xl_at_bottom = 2 xl_pivot_table_version2000 = 0 xl_pivot_table_version10 = 1 xl_pivot_table_version_current = -1 xl_print_errors_displayed = 0 xl_print_errors_blank = 1 xl_print_errors_dash = 2 xl_print_errors_na = 3 xl_pivot_cell_value = 0 xl_pivot_cell_pivot_item = 1 xl_pivot_cell_subtotal = 2 xl_pivot_cell_grand_total = 3 xl_pivot_cell_data_field = 4 xl_pivot_cell_pivot_field = 5 xl_pivot_cell_page_field_item = 6 xl_pivot_cell_custom_subtotal = 7 xl_pivot_cell_data_pivot_field = 8 xl_pivot_cell_blank_cell = 9 xl_missing_items_default = -1 xl_missing_items_none = 0 xl_missing_items_max = 32500 xl_done = 0 xl_calculating = 1 xl_pending = 2 xl_no_key = 0 xl_esc_key = 1 xl_any_key = 2 xl_sort_normal = 0 xl_sort_text_as_numbers = 1 xl_update_links_user_setting = 1 xl_update_links_never = 2 xl_update_links_always = 3 xl_link_status_ok = 0 xl_link_status_missing_file = 1 xl_link_status_missing_sheet = 2 xl_link_status_old = 3 xl_link_status_source_not_calculated = 4 xl_link_status_indeterminate = 5 xl_link_status_not_started = 6 xl_link_status_invalid_name = 7 xl_link_status_source_not_open = 8 xl_link_status_source_open = 9 xl_link_status_copied_values = 10 xl_within_sheet = 1 xl_within_workbook = 2 xl_normal_load = 0 xl_repair_file = 1 xl_extract_data = 2 xl_as_required = 0 xl_always = 1 xl_never = 2 xl_evaluate_to_error = 1 xl_text_date = 2 xl_number_as_text = 3 xl_inconsistent_formula = 4 xl_omitted_cells = 5 xl_unlocked_formula_cells = 6 xl_empty_cell_references = 7 xl_list_data_validation = 8 xl_data_label_separator_default = 1 xl_indicator_and_button = 0 xl_display_none = 1 xl_button_only = 2 xl_range_value_default = 10 xl_range_value_xml_spreadsheet = 11 xl_range_value_ms_persist_xml = 12 xl_speak_by_rows = 0 xl_speak_by_columns = 1 xl_format_from_left_or_above = 0 xl_format_from_right_or_below = 1 xl_arabic_none = 0 xl_arabic_strict_alef_hamza = 1 xl_arabic_strict_final_yaa = 2 xl_arabic_both_strict = 3 xl_query_table = 0 xl_pivot_table_report = 1 xl_calculated_member = 0 xl_calculated_set = 1 xl_hebrew_full_script = 0 xl_hebrew_partial_script = 1 xl_hebrew_mixed_script = 2 xl_hebrew_mixed_authorized_script = 3 xl_src_external = 0 xl_src_range = 1 xl_src_xml = 2 xl_text_visual_ltr = 1 xl_text_visual_rtl = 2 xl_list_data_type_none = 0 xl_list_data_type_text = 1 xl_list_data_type_multi_line_text = 2 xl_list_data_type_number = 3 xl_list_data_type_currency = 4 xl_list_data_type_date_time = 5 xl_list_data_type_choice = 6 xl_list_data_type_choice_multi = 7 xl_list_data_type_list_lookup = 8 xl_list_data_type_checkbox = 9 xl_list_data_type_hyper_link = 10 xl_list_data_type_counter = 11 xl_list_data_type_multi_line_rich_text = 12 xl_totals_calculation_none = 0 xl_totals_calculation_sum = 1 xl_totals_calculation_average = 2 xl_totals_calculation_count = 3 xl_totals_calculation_count_nums = 4 xl_totals_calculation_min = 5 xl_totals_calculation_max = 6 xl_totals_calculation_std_dev = 7 xl_totals_calculation_var = 8 xl_xml_load_prompt_user = 0 xl_xml_load_open_xml = 1 xl_xml_load_import_to_list = 2 xl_xml_load_map_xml = 3 xl_smart_tag_control_smart_tag = 1 xl_smart_tag_control_link = 2 xl_smart_tag_control_help = 3 xl_smart_tag_control_help_url = 4 xl_smart_tag_control_separator = 5 xl_smart_tag_control_button = 6 xl_smart_tag_control_label = 7 xl_smart_tag_control_image = 8 xl_smart_tag_control_checkbox = 9 xl_smart_tag_control_textbox = 10 xl_smart_tag_control_listbox = 11 xl_smart_tag_control_combo = 12 xl_smart_tag_control_active_x = 13 xl_smart_tag_control_radio_group = 14 xl_list_conflict_dialog = 0 xl_list_conflict_retry_all_conflicts = 1 xl_list_conflict_discard_all_conflicts = 2 xl_list_conflict_error = 3 xl_xml_export_success = 0 xl_xml_export_validation_failed = 1 xl_xml_import_success = 0 xl_xml_import_elements_truncated = 1 xl_xml_import_validation_failed = 2
''' Your function should take in a signle parameter (a string `word`) Your function should return a count of how many occurences of ***"th"*** occur within `word`. Case matters. Your function must utilize recursion. It cannot contain any loops. ''' def count_th(word): print(word) if len(word) < 2: return 0 elif word[0:2] == 'th': return count_th(word[2:]) + 1 else: return count_th(word[1:])
""" Your function should take in a signle parameter (a string `word`) Your function should return a count of how many occurences of ***"th"*** occur within `word`. Case matters. Your function must utilize recursion. It cannot contain any loops. """ def count_th(word): print(word) if len(word) < 2: return 0 elif word[0:2] == 'th': return count_th(word[2:]) + 1 else: return count_th(word[1:])
def triangle(rows): spaces = rows for i in range(0, rows*2, 2): for j in range(0, spaces): print(end = " ") spaces -= 1 for j in range(0, i + 1): print("$", end = "") print() triangle(5)
def triangle(rows): spaces = rows for i in range(0, rows * 2, 2): for j in range(0, spaces): print(end=' ') spaces -= 1 for j in range(0, i + 1): print('$', end='') print() triangle(5)
# list examples a=['spam','eggs',100,1234] print(a[:2]+['bacon',2*2]) print(3*a[:3]+['Boo!']) print(a[:]) a[2]=a[2]+23 print(a) a[0:2]=[1,12] print(a) a[0:2]=[] print(a) a[1:1]=['bletch','xyzzy'] print(a) a[:0]=a print(a) a[:]=[] print(a) a.extend('ab') print(a) a.extend([1,2,33]) print(a)
a = ['spam', 'eggs', 100, 1234] print(a[:2] + ['bacon', 2 * 2]) print(3 * a[:3] + ['Boo!']) print(a[:]) a[2] = a[2] + 23 print(a) a[0:2] = [1, 12] print(a) a[0:2] = [] print(a) a[1:1] = ['bletch', 'xyzzy'] print(a) a[:0] = a print(a) a[:] = [] print(a) a.extend('ab') print(a) a.extend([1, 2, 33]) print(a)
class Message_Template: def __init__( self, chat_id, text, disable_web_page_preview=None, reply_to_message_id=None, reply_markup=None, parse_mode=None, disable_notification=None, timeout=None ): self.chat_id = chat_id self.text = text self.disable_web_page_preview = disable_web_page_preview self.reply_to_message_id = reply_to_message_id self.parse_mode = parse_mode self.disable_notification = disable_notification self.timeout = timeout self.reply_markup = reply_markup
class Message_Template: def __init__(self, chat_id, text, disable_web_page_preview=None, reply_to_message_id=None, reply_markup=None, parse_mode=None, disable_notification=None, timeout=None): self.chat_id = chat_id self.text = text self.disable_web_page_preview = disable_web_page_preview self.reply_to_message_id = reply_to_message_id self.parse_mode = parse_mode self.disable_notification = disable_notification self.timeout = timeout self.reply_markup = reply_markup
''' Design Amazon / Flipkart (an online shopping platform) Beyond the basic functionality (signup, login etc.), interviewers will be looking for the following: Discoverability: How will the buyer discover a product? How will the search surface results? Cart & Checkout: Users expect the cart and checkout to behave in a certain way. How will the design adhere to such known best practices while also introducing innovative checkout semantics like One-Click-Purchase? Payment Methods: Users can pay using credit cards, gift cards, etc. How will the payment method work with the checkout process? Product Reviews & Ratings: When can a user post a review and a rating? How are useful reviews tracked and less useful reviews de-prioritized? ''' # Objects # Customer # account, cart, order # add_item_to_cart(item), remove_item_from_cart(item), place_order(order) # Account # username, password, status, name, shipping_address, email, phone, credit_cards # add_product(product), product_review(review) # Cart # items # add_item(item), remove_item(item), update_item_quantity(item, quantity), # get_items, checkout # Item # item, product_id, quantity, price # update_quantity(quantity) # Product # product_id, name, description, price, category, available_item_count, seller # ProductCategory # name, description # Order # status (unshipped, pending, shipped, completed, canceled), order_logs, # order_number, status, order_date # send_for_shipment, make_payment(payment), add_order_log(order_log) # Order Log # order_number, creation_date, status # Shipping # shipment_number, shipment_date, estimated_arrival, shipment_method, # order_details
""" Design Amazon / Flipkart (an online shopping platform) Beyond the basic functionality (signup, login etc.), interviewers will be looking for the following: Discoverability: How will the buyer discover a product? How will the search surface results? Cart & Checkout: Users expect the cart and checkout to behave in a certain way. How will the design adhere to such known best practices while also introducing innovative checkout semantics like One-Click-Purchase? Payment Methods: Users can pay using credit cards, gift cards, etc. How will the payment method work with the checkout process? Product Reviews & Ratings: When can a user post a review and a rating? How are useful reviews tracked and less useful reviews de-prioritized? """
def list_open_ports(): pass
def list_open_ports(): pass
def swap_case(s): str1 = "" for i in range(len(s)): if s[i].isupper(): str1 = str1+s[i].lower() elif s[i].islower(): str1 = str1+s[i].upper() else: str1 = str1+s[i] return str1 if __name__ == '__main__': s = input() result = swap_case(s) print(result)
def swap_case(s): str1 = '' for i in range(len(s)): if s[i].isupper(): str1 = str1 + s[i].lower() elif s[i].islower(): str1 = str1 + s[i].upper() else: str1 = str1 + s[i] return str1 if __name__ == '__main__': s = input() result = swap_case(s) print(result)
# SPDX-FileCopyrightText: 2020 2019-2020 SAP SE # # SPDX-License-Identifier: Apache-2.0 API_FIELD_CLIENT_ID = 'clientId' API_FIELD_CLIENT_LIMIT = 'limit' API_FIELD_CLIENT_NAME = 'clientName' API_FIELD_DOCUMENT_TYPE = 'documentType' API_FIELD_ENRICHMENT = 'enrichment' API_FIELD_EXTRACTED_HEADER_FIELDS = 'headerFields' API_FIELD_EXTRACTED_LINE_ITEM_FIELDS = 'lineItemFields' API_FIELD_EXTRACTED_VALUES = 'extractedValues' API_FIELD_FILE_TYPE = 'fileType' API_FIELD_ID = 'id' API_FIELD_RESULTS = 'results' API_FIELD_RETURN_NULL = 'returnNullValues' API_FIELD_STATUS = 'status' API_FIELD_TEMPLATE_ID = 'templateId' API_FIELD_VALUE = 'value' API_FIELD_DATA_FOR_RETRAINING = 'dataForRetraining' API_REQUEST_FIELD_CLIENT_START_WITH = 'clientIdStartsWith' API_REQUEST_FIELD_EXTRACTED_FIELDS = 'extraction' API_REQUEST_FIELD_FILE = 'file' API_REQUEST_FIELD_LIMIT = 'limit' API_REQUEST_FIELD_OFFSET = 'offset' API_REQUEST_FIELD_OPTIONS = 'options' API_REQUEST_FIELD_PAYLOAD = 'payload' API_REQUEST_FIELD_RECEIVED_DATE = 'receivedDate' API_REQUEST_FIELD_ENRICHMENT_COMPANYCODE = 'companyCode' API_REQUEST_FIELD_ENRICHMENT_ID = 'id' API_REQUEST_FIELD_ENRICHMENT_SUBTYPE = 'subtype' API_REQUEST_FIELD_ENRICHMENT_SYSTEM = 'system' API_REQUEST_FIELD_ENRICHMENT_TYPE = 'type' API_HEADER_ACCEPT = 'accept' CONTENT_TYPE_PNG = 'image/png' DATA_TYPE_BUSINESS_ENTITY = "businessEntity" DOCUMENT_TYPE_ADVICE = 'paymentAdvice' FILE_TYPE_EXCEL = 'Excel'
api_field_client_id = 'clientId' api_field_client_limit = 'limit' api_field_client_name = 'clientName' api_field_document_type = 'documentType' api_field_enrichment = 'enrichment' api_field_extracted_header_fields = 'headerFields' api_field_extracted_line_item_fields = 'lineItemFields' api_field_extracted_values = 'extractedValues' api_field_file_type = 'fileType' api_field_id = 'id' api_field_results = 'results' api_field_return_null = 'returnNullValues' api_field_status = 'status' api_field_template_id = 'templateId' api_field_value = 'value' api_field_data_for_retraining = 'dataForRetraining' api_request_field_client_start_with = 'clientIdStartsWith' api_request_field_extracted_fields = 'extraction' api_request_field_file = 'file' api_request_field_limit = 'limit' api_request_field_offset = 'offset' api_request_field_options = 'options' api_request_field_payload = 'payload' api_request_field_received_date = 'receivedDate' api_request_field_enrichment_companycode = 'companyCode' api_request_field_enrichment_id = 'id' api_request_field_enrichment_subtype = 'subtype' api_request_field_enrichment_system = 'system' api_request_field_enrichment_type = 'type' api_header_accept = 'accept' content_type_png = 'image/png' data_type_business_entity = 'businessEntity' document_type_advice = 'paymentAdvice' file_type_excel = 'Excel'
def selection_sort(arr): comparisons = 1 for i in range(len(arr)): comparisons += 1 min_idx = i comparisons += 1 for j in range(i + 1, len(arr)): comparisons += 2 if arr[min_idx] > arr[j]: min_idx = j arr[i], arr[min_idx] = arr[min_idx], arr[i] return comparisons def insertion_sort(arr): comparisons = 1 for i in range(1, len(arr)): comparisons += 1 key = arr[i] j = i - 1 comparisons += 1 while j >= 0 and key < arr[j]: comparisons += 2 arr[j + 1] = arr[j] j -= 1 arr[j + 1] = key return comparisons def merge_sort(lst): comparisons = 0 if len(lst) > 1: middle = len(lst) // 2 left = lst[:middle] right = lst[middle:] merge_sort(left) merge_sort(right) i = j = k = 0 while i < len(left) and j < len(right): if left[i] < right[j]: lst[k] = left[i] i += 1 else: lst[k] = right[j] j += 1 k += 1 comparisons += 1 while i < len(left): lst[k] = left[i] i += 1 k += 1 while j < len(right): lst[k] = right[j] j += 1 k += 1 return comparisons def shell_sort(lst): length = len(lst) h = 1 comparisons = 0 while (h < (length//3)): h = 3*h + 1 while (h >= 1): for i in range(h, length): for j in range(i, h-1, -h): comparisons += 1 if (lst[j] < lst[j-h]): lst[j], lst[j-h] = lst[j-h], lst[j] else: break h = h//3 return comparisons
def selection_sort(arr): comparisons = 1 for i in range(len(arr)): comparisons += 1 min_idx = i comparisons += 1 for j in range(i + 1, len(arr)): comparisons += 2 if arr[min_idx] > arr[j]: min_idx = j (arr[i], arr[min_idx]) = (arr[min_idx], arr[i]) return comparisons def insertion_sort(arr): comparisons = 1 for i in range(1, len(arr)): comparisons += 1 key = arr[i] j = i - 1 comparisons += 1 while j >= 0 and key < arr[j]: comparisons += 2 arr[j + 1] = arr[j] j -= 1 arr[j + 1] = key return comparisons def merge_sort(lst): comparisons = 0 if len(lst) > 1: middle = len(lst) // 2 left = lst[:middle] right = lst[middle:] merge_sort(left) merge_sort(right) i = j = k = 0 while i < len(left) and j < len(right): if left[i] < right[j]: lst[k] = left[i] i += 1 else: lst[k] = right[j] j += 1 k += 1 comparisons += 1 while i < len(left): lst[k] = left[i] i += 1 k += 1 while j < len(right): lst[k] = right[j] j += 1 k += 1 return comparisons def shell_sort(lst): length = len(lst) h = 1 comparisons = 0 while h < length // 3: h = 3 * h + 1 while h >= 1: for i in range(h, length): for j in range(i, h - 1, -h): comparisons += 1 if lst[j] < lst[j - h]: (lst[j], lst[j - h]) = (lst[j - h], lst[j]) else: break h = h // 3 return comparisons
# fail-if: '-x' not in EXTRA_JIT_ARGS def dec(f): return f @dec def f(): pass
def dec(f): return f @dec def f(): pass
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Andre Augusto Giannotti Scota (https://sites.google.com/view/a2gs/) def my_decorator(func): def wrapper(): print("Something is happening before the function is called.") func() print("Something is happening after the function is called.") return wrapper @my_decorator def say_whee(): print("Whee!") say_whee()
def my_decorator(func): def wrapper(): print('Something is happening before the function is called.') func() print('Something is happening after the function is called.') return wrapper @my_decorator def say_whee(): print('Whee!') say_whee()
def register_init(func): pass def register_config(func): pass def register_read(func): pass def register_write(func): pass def info(msg): print(msg)
def register_init(func): pass def register_config(func): pass def register_read(func): pass def register_write(func): pass def info(msg): print(msg)
class Solution: def solve(self, words): minimum = sorted(words, key = len)[0] LCP = '' for i in range(len(minimum)): matches = True curChar = minimum[i] for j in range(len(words)): if words[j][i] != curChar: matches = False break if not matches: return LCP LCP += curChar return LCP
class Solution: def solve(self, words): minimum = sorted(words, key=len)[0] lcp = '' for i in range(len(minimum)): matches = True cur_char = minimum[i] for j in range(len(words)): if words[j][i] != curChar: matches = False break if not matches: return LCP lcp += curChar return LCP
# -*- coding: utf-8 -*- operation = input() total = 0 for i in range(144): N = float(input()) line = (i // 12) + 1 if (i < (line * 12 - line)): total += N answer = total if (operation == 'S') else (total / 66) print("%.1f" % answer)
operation = input() total = 0 for i in range(144): n = float(input()) line = i // 12 + 1 if i < line * 12 - line: total += N answer = total if operation == 'S' else total / 66 print('%.1f' % answer)
# -*- coding: utf-8 -*- ''' File name: code\onechild_numbers\sol_413.py Author: Vaidic Joshi Date created: Oct 20, 2018 Python Version: 3.x ''' # Solution to Project Euler Problem #413 :: One-child Numbers # # For more information see: # https://projecteuler.net/problem=413 # Problem Statement ''' We say that a d-digit positive number (no leading zeros) is a one-child number if exactly one of its sub-strings is divisible by d. For example, 5671 is a 4-digit one-child number. Among all its sub-strings 5, 6, 7, 1, 56, 67, 71, 567, 671 and 5671, only 56 is divisible by 4. Similarly, 104 is a 3-digit one-child number because only 0 is divisible by 3. 1132451 is a 7-digit one-child number because only 245 is divisible by 7. Let F(N) be the number of the one-child numbers less than N. We can verify that F(10) = 9, F(103) = 389 and F(107) = 277674. Find F(1019). ''' # Solution # Solution Approach ''' '''
""" File name: code\\onechild_numbers\\sol_413.py Author: Vaidic Joshi Date created: Oct 20, 2018 Python Version: 3.x """ '\nWe say that a d-digit positive number (no leading zeros) is a one-child number if exactly one of its sub-strings is divisible by d.\n\nFor example, 5671 is a 4-digit one-child number. Among all its sub-strings 5, 6, 7, 1, 56, 67, 71, 567, 671 and 5671, only 56 is divisible by 4.\nSimilarly, 104 is a 3-digit one-child number because only 0 is divisible by 3.\n1132451 is a 7-digit one-child number because only 245 is divisible by 7.\n\nLet F(N) be the number of the one-child numbers less than N.\nWe can verify that F(10) = 9, F(103) = 389 and F(107) = 277674.\n\nFind F(1019).\n' '\n'
# A DP program to solve edit distance problem def editDistDP(x, y): m = len(x); n = len(y); # Create an e-table to store results of subproblems e = [[0 for j in range(n + 1)] for i in range(m + 1)] # Fill in e[][] in bottom up manner for i in range(m + 1): for j in range(n + 1): # Initialization if i == 0: e[i][j] = j elif j == 0: e[i][j] = i elif x[i-1] == y[j-1]: e[i][j] = min(1 + e[i-1][j], 1 + e[i][j-1], e[i-1][j-1]) else: e[i][j] = 1 + min(e[i-1][j], e[i][j-1], e[i-1][j-1]) return e[m][n] # Test case 1 # x = "snowy" # y = "sunny" # Test case 2 x = "heroically" y = "scholarly" print(editDistDP(x, y))
def edit_dist_dp(x, y): m = len(x) n = len(y) e = [[0 for j in range(n + 1)] for i in range(m + 1)] for i in range(m + 1): for j in range(n + 1): if i == 0: e[i][j] = j elif j == 0: e[i][j] = i elif x[i - 1] == y[j - 1]: e[i][j] = min(1 + e[i - 1][j], 1 + e[i][j - 1], e[i - 1][j - 1]) else: e[i][j] = 1 + min(e[i - 1][j], e[i][j - 1], e[i - 1][j - 1]) return e[m][n] x = 'heroically' y = 'scholarly' print(edit_dist_dp(x, y))
def sum(matriz): sumValue = 0; if len(matriz) > 0 and matriz[-1] <= 1000: for item in matriz: sumValue += item return sumValue print(sum([1, 2, 3]));
def sum(matriz): sum_value = 0 if len(matriz) > 0 and matriz[-1] <= 1000: for item in matriz: sum_value += item return sumValue print(sum([1, 2, 3]))
# https://www.acmicpc.net/problem/11091 input = __import__('sys').stdin.readline N = int(input()) for _ in range(N): chars = [0 for _ in range(26)] line = input().rstrip() for char in line: if 97 <= ord(char) < 123: chars[ord(char) - 97] += 1 elif 65 <= ord(char) < 91: chars[ord(char) - 65] += 1 missing = "".join(chr(index + 97) for index, cnt in enumerate(chars) if cnt == 0) if 0 in chars: print('missing {}'.format(missing)) else: print('pangram')
input = __import__('sys').stdin.readline n = int(input()) for _ in range(N): chars = [0 for _ in range(26)] line = input().rstrip() for char in line: if 97 <= ord(char) < 123: chars[ord(char) - 97] += 1 elif 65 <= ord(char) < 91: chars[ord(char) - 65] += 1 missing = ''.join((chr(index + 97) for (index, cnt) in enumerate(chars) if cnt == 0)) if 0 in chars: print('missing {}'.format(missing)) else: print('pangram')
attendees = ["Ken", "Alena", "Treasure"] attendees.append("Ashley") attendees.extend(["James", "Guil"]) optional_attendees = ["Ben J.", "Dave"] potential_attendees = attendees + optional_attendees print("There are", len(potential_attendees), "attendees currently")
attendees = ['Ken', 'Alena', 'Treasure'] attendees.append('Ashley') attendees.extend(['James', 'Guil']) optional_attendees = ['Ben J.', 'Dave'] potential_attendees = attendees + optional_attendees print('There are', len(potential_attendees), 'attendees currently')
## https://leetcode.com/problems/dota2-senate/ ## go through the rounds of voting, where a vote is to ban another ## senator or, if all senators of the other party are banned, delcare ## victory. ## the optimal play for each senator is to ban the first member of ## the opposition party after them. fastest way to handle that is to ## basically keep track of the number of bans that we have remaining ## to give out, noting that we'll always have bans from just one party. ## after all, the Ds will ban any Rs before they can vote if they have ## the chance to (and vice versa). that means we can keep track of the ## bans to give out using a single counter that can go positive for one ## party and negative for the other. ## this solution is quite good, coming in at almost the 78th percentile ## for runtime and about the 50th percentile for memory. class Solution: def predictPartyVictory(self, senate: str) -> str: ## Ds add to this, Rs subtract ## so if > 0 and encouter an R, eliminate that R ## if > 0 and encounter another D, add another ## if < 0 and encounter a D, eliminate that D ## if < 0 and encounter another R, subtract another bans_to_proc = 0 values = {'D': 1, 'R': - 1} ## go through rounds of voting until we have all one party while len(set(senate)) > 1: next_senate = '' for ii, char in enumerate(senate): if bans_to_proc == 0: ## no bans from either party in the stack, so this character gets to ## ban the next of the opposition party and survives to the next round next_senate += char bans_to_proc += values[char] elif bans_to_proc > 0 and char == 'D': ## no R bans to proc, so this character will ban the next R and survive bans_to_proc += 1 next_senate += char elif bans_to_proc > 0 and char == 'R': ## have an R ban to proc, so this character gets banned (but uses up a ban) bans_to_proc -= 1 ## don't add this character to the next senate because it got banned elif bans_to_proc < 0 and char == 'R': ## no R bans to proc, so this character will ban the next D and survive bans_to_proc -= 1 next_senate += char elif bans_to_proc < 0 and char == 'D': ## have a D ban to proc, so proc it and ban this character bans_to_proc += 1 ## again, got banned, so skip this character in the next senate senate = next_senate ## now we know we have all one party, so just return the party of the first senator if senate[0] == 'D': return 'Dire' else: return 'Radiant'
class Solution: def predict_party_victory(self, senate: str) -> str: bans_to_proc = 0 values = {'D': 1, 'R': -1} while len(set(senate)) > 1: next_senate = '' for (ii, char) in enumerate(senate): if bans_to_proc == 0: next_senate += char bans_to_proc += values[char] elif bans_to_proc > 0 and char == 'D': bans_to_proc += 1 next_senate += char elif bans_to_proc > 0 and char == 'R': bans_to_proc -= 1 elif bans_to_proc < 0 and char == 'R': bans_to_proc -= 1 next_senate += char elif bans_to_proc < 0 and char == 'D': bans_to_proc += 1 senate = next_senate if senate[0] == 'D': return 'Dire' else: return 'Radiant'
# init exercise 2 solution # Using an approach similar to what was used in the Iris example # we can identify appropriate boundaries for our meshgrid by # referencing the actual wine data x_1_wine = X_wine_train[predictors[0]] x_2_wine = X_wine_train[predictors[1]] x_1_min_wine, x_1_max_wine = x_1_wine.min() - 0.2, x_1_wine.max() + 0.2 x_2_min_wine, x_2_max_wine = x_2_wine.min() - 0.2, x_2_wine.max() + 0.2 # Then we use np.arange to generate our interval arrays # and np.meshgrid to generate our actual grids xx_1_wine, xx_2_wine = np.meshgrid( np.arange(x_1_min_wine, x_1_max_wine, 0.003), np.arange(x_2_min_wine, x_2_max_wine, 0.003) ) # Now we have everything we need to generate our plot plot_wine_2d_boundaries( X_wine_train, y_wine_train, predictors, model1_wine, xx_1_wine, xx_2_wine, )
x_1_wine = X_wine_train[predictors[0]] x_2_wine = X_wine_train[predictors[1]] (x_1_min_wine, x_1_max_wine) = (x_1_wine.min() - 0.2, x_1_wine.max() + 0.2) (x_2_min_wine, x_2_max_wine) = (x_2_wine.min() - 0.2, x_2_wine.max() + 0.2) (xx_1_wine, xx_2_wine) = np.meshgrid(np.arange(x_1_min_wine, x_1_max_wine, 0.003), np.arange(x_2_min_wine, x_2_max_wine, 0.003)) plot_wine_2d_boundaries(X_wine_train, y_wine_train, predictors, model1_wine, xx_1_wine, xx_2_wine)
# addinterest1.py def addInterest(balance, rate): newBalance = balance * (1+rate) balance = newBalance def test(): amount = 1000 rate = 0.05 addInterest(amount, rate) print(amount) test()
def add_interest(balance, rate): new_balance = balance * (1 + rate) balance = newBalance def test(): amount = 1000 rate = 0.05 add_interest(amount, rate) print(amount) test()
print ("How many students' test scores do you want to arrange?") a = input() if a == "2": print ("Enter first student's name") name1 = input() print ("Enter his/her score") score1 = input() print ("Enter second student's name") name2 = input() print ("Enter his/her score") score2 = input() score = {score1:name1,score2:name2} for s in sorted(score): print (s,":",score[s]) if a == "3": print ("Enter first student's name") name1 = input() print ("Enter his/her score") score1 = input() print ("Enter second student's name") name2 = input() print ("Enter his/her score") score2 = input() print ("Enter third student's name") name3 = input() print ("Enter his/her score") score3 = input() score = {score1:name1,score2:name2,score3:name3} for s in sorted(score): print (s,":",score[s]) if a == "4": print ("Enter first student's name") name1 = input() print ("Enter his/her score") score1 = input() print ("Enter second student's name") name2 = input() print ("Enter his/her score") score2 = input() print ("Enter third student's name") name3 = input() print ("Enter his/her score") score3 = input() print ("Enter fourth student's name") name4 = input() print ("Enter his/her score") score4 = input() score = {score1:name1,score2:name2,score3:name3,score4:name4} for s in sorted(score): print (s,":",score[s])
print("How many students' test scores do you want to arrange?") a = input() if a == '2': print("Enter first student's name") name1 = input() print('Enter his/her score') score1 = input() print("Enter second student's name") name2 = input() print('Enter his/her score') score2 = input() score = {score1: name1, score2: name2} for s in sorted(score): print(s, ':', score[s]) if a == '3': print("Enter first student's name") name1 = input() print('Enter his/her score') score1 = input() print("Enter second student's name") name2 = input() print('Enter his/her score') score2 = input() print("Enter third student's name") name3 = input() print('Enter his/her score') score3 = input() score = {score1: name1, score2: name2, score3: name3} for s in sorted(score): print(s, ':', score[s]) if a == '4': print("Enter first student's name") name1 = input() print('Enter his/her score') score1 = input() print("Enter second student's name") name2 = input() print('Enter his/her score') score2 = input() print("Enter third student's name") name3 = input() print('Enter his/her score') score3 = input() print("Enter fourth student's name") name4 = input() print('Enter his/her score') score4 = input() score = {score1: name1, score2: name2, score3: name3, score4: name4} for s in sorted(score): print(s, ':', score[s])
# .-. . .-. .-. . . .-. .-. # `-. | | | | | | `-. | # `-' `--`-' `-' `-' `-' ' __title__ = 'slocust' __version__ = '0.18.5.17.1' __description__ = 'Generate serveral Locust nodes on single server.' __license__ = 'MIT' __url__ = 'http://ityoung.gitee.io' __author__ = 'Shin Yeung' __author_email__ = 'ityoung@foxmail.com' __copyright__ = 'Copyright 2018 Shin Yeung'
__title__ = 'slocust' __version__ = '0.18.5.17.1' __description__ = 'Generate serveral Locust nodes on single server.' __license__ = 'MIT' __url__ = 'http://ityoung.gitee.io' __author__ = 'Shin Yeung' __author_email__ = 'ityoung@foxmail.com' __copyright__ = 'Copyright 2018 Shin Yeung'
def add(x, y): return x+y def product(z, y): return z*y
def add(x, y): return x + y def product(z, y): return z * y
# Project Euler Problem 21 # Created on: 2012-06-18 # Created by: William McDonald # Returns a list of all primes under n using a sieve technique def primes(n): # 0 prime, 1 not. primeSieve = ['0'] * (n / 2 - 1) primeList = [2] for i in range(3, n, 2): if primeSieve[(i - 3) / 2] == '0': primeList.append(i) for j in range((i - 3) / 2 + i, len(primeSieve), i): primeSieve[j] = '1' return primeList # Returns a list of prime factors of n and their multiplicities def primeD(n): plst = [] for p in primeList: count = 0 while n % p == 0: count += 1 n /= p if count != 0: plst.append([p, count]) if n == 1: return plst # Returns the sum of all proper divisors of n def sumD(n, primeList): lop = primeD(n, primeList) sum = 1 for i in range(len(lop)): sum *= (lop[i][0] ** (lop[i][1] + 1)) - 1 sum /= (lop[i][0] - 1) return (sum - n) def getAns(): primeList = primes(10000) total = 0 for i in range(2, 10001): s1 = sumD(i, primeList) if s1 > i and s1 <= 10000: s2 = sumD(s1, primeList) if s2 == i: total += (s2 + s1) print(total) getAns()
def primes(n): prime_sieve = ['0'] * (n / 2 - 1) prime_list = [2] for i in range(3, n, 2): if primeSieve[(i - 3) / 2] == '0': primeList.append(i) for j in range((i - 3) / 2 + i, len(primeSieve), i): primeSieve[j] = '1' return primeList def prime_d(n): plst = [] for p in primeList: count = 0 while n % p == 0: count += 1 n /= p if count != 0: plst.append([p, count]) if n == 1: return plst def sum_d(n, primeList): lop = prime_d(n, primeList) sum = 1 for i in range(len(lop)): sum *= lop[i][0] ** (lop[i][1] + 1) - 1 sum /= lop[i][0] - 1 return sum - n def get_ans(): prime_list = primes(10000) total = 0 for i in range(2, 10001): s1 = sum_d(i, primeList) if s1 > i and s1 <= 10000: s2 = sum_d(s1, primeList) if s2 == i: total += s2 + s1 print(total) get_ans()
# # PySNMP MIB module ALTEON-TRAP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ALTEON-TRAP-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:21:08 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) # ipCurCfgGwIndex, altswitchTraps, slbCurCfgVirtServiceRealPort, fltCurCfgPortIndx, slbCurCfgRealServerIpAddr, slbCurCfgRealServerIndex, fltCurCfgIndx, ipCurCfgGwAddr, slbCurCfgRealServerName = mibBuilder.importSymbols("ALTEON-PRIVATE-MIBS", "ipCurCfgGwIndex", "altswitchTraps", "slbCurCfgVirtServiceRealPort", "fltCurCfgPortIndx", "slbCurCfgRealServerIpAddr", "slbCurCfgRealServerIndex", "fltCurCfgIndx", "ipCurCfgGwAddr", "slbCurCfgRealServerName") OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueSizeConstraint, ConstraintsIntersection, SingleValueConstraint, ConstraintsUnion, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ConstraintsIntersection", "SingleValueConstraint", "ConstraintsUnion", "ValueRangeConstraint") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") sysName, sysContact, sysLocation = mibBuilder.importSymbols("SNMPv2-MIB", "sysName", "sysContact", "sysLocation") Counter64, Integer32, NotificationType, Bits, Counter32, Unsigned32, IpAddress, NotificationType, ObjectIdentity, MibIdentifier, ModuleIdentity, TimeTicks, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, iso = mibBuilder.importSymbols("SNMPv2-SMI", "Counter64", "Integer32", "NotificationType", "Bits", "Counter32", "Unsigned32", "IpAddress", "NotificationType", "ObjectIdentity", "MibIdentifier", "ModuleIdentity", "TimeTicks", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "iso") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") altSwPrimaryPowerSuppylFailure = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0,1)) if mibBuilder.loadTexts: altSwPrimaryPowerSuppylFailure.setDescription('A altSwPrimaryPowerSuppylFailure trap signifies that the primary power supply failed.') altSwRedunPowerSuppylFailure = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0,2)) if mibBuilder.loadTexts: altSwRedunPowerSuppylFailure.setDescription('A altSwRedunPowerSuppylFailure trap signifies that the redundant power supply failed.') altSwDefGwUp = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0,3)).setObjects(("ALTEON-PRIVATE-MIBS", "ipCurCfgGwIndex"), ("ALTEON-PRIVATE-MIBS", "ipCurCfgGwAddr"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact")) if mibBuilder.loadTexts: altSwDefGwUp.setDescription('A altSwDefGwUp trap signifies that the default gateway is alive.') altSwDefGwDown = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0,4)).setObjects(("ALTEON-PRIVATE-MIBS", "ipCurCfgGwIndex"), ("ALTEON-PRIVATE-MIBS", "ipCurCfgGwAddr"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact")) if mibBuilder.loadTexts: altSwDefGwDown.setDescription('A altSwDefGwDown trap signifies that the default gateway is down.') altSwDefGwInService = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0,5)).setObjects(("ALTEON-PRIVATE-MIBS", "ipCurCfgGwIndex"), ("ALTEON-PRIVATE-MIBS", "ipCurCfgGwAddr"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact")) if mibBuilder.loadTexts: altSwDefGwInService.setDescription('A altSwDefGwEnabled trap signifies that the default gateway is up and in service.') altSwDefGwNotInService = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0,6)).setObjects(("ALTEON-PRIVATE-MIBS", "ipCurCfgGwIndex"), ("ALTEON-PRIVATE-MIBS", "ipCurCfgGwAddr"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact")) if mibBuilder.loadTexts: altSwDefGwNotInService.setDescription('A altSwDefGwDisabled trap signifies that the default gateway is alive but not in service.') altSwSlbRealServerUp = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0,7)).setObjects(("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerIndex"), ("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerIpAddr"), ("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerName"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact")) if mibBuilder.loadTexts: altSwSlbRealServerUp.setDescription('A altSwSlbRealServerUp trap signifies that the real server is up and operational.') altSwSlbRealServerDown = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0,8)).setObjects(("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerIndex"), ("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerIpAddr"), ("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerName"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact")) if mibBuilder.loadTexts: altSwSlbRealServerDown.setDescription('A altSwSlbRealServerDown trap signifies that the real server is down and out of service.') altSwSlbRealServerMaxConnReached = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0,9)).setObjects(("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerIndex"), ("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerIpAddr"), ("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerName"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact")) if mibBuilder.loadTexts: altSwSlbRealServerMaxConnReached.setDescription('A altSwSlbRealServerMaxConnReached trap signifies that the real server has reached maximum connections.') altSwSlbBkupRealServerAct = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0,10)).setObjects(("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerIndex"), ("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerIpAddr"), ("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerName"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact")) if mibBuilder.loadTexts: altSwSlbBkupRealServerAct.setDescription('A altSwSlbBkupRealServerAct trap signifies that the backup real server is activated due to availablity of the primary real server.') altSwSlbBkupRealServerDeact = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0,11)).setObjects(("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerIndex"), ("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerIpAddr"), ("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerName"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact")) if mibBuilder.loadTexts: altSwSlbBkupRealServerDeact.setDescription('A altSwSlbBkupRealServerDeact trap signifies that the backup real server is deactivated due to the primary real server is available.') altSwSlbBkupRealServerActOverflow = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0,12)).setObjects(("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerIndex"), ("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerIpAddr"), ("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerName"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact")) if mibBuilder.loadTexts: altSwSlbBkupRealServerActOverflow.setDescription('A altSwSlbBkupRealServerActOverflow trap signifies that the backup real server is deactivated due to the primary real server is overflowed.') altSwSlbBkupRealServerDeactOverflow = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0,13)).setObjects(("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerIndex"), ("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerIpAddr"), ("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerName"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact")) if mibBuilder.loadTexts: altSwSlbBkupRealServerDeactOverflow.setDescription('A altSwSlbBkupRealServerDeactOverflow trap signifies that the backup real server is deactivated due to the primary real server is out from overflow situation.') altSwSlbFailoverStandby = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0,14)) if mibBuilder.loadTexts: altSwSlbFailoverStandby.setDescription('A altSwSlbFailoverStandby trap signifies that the switch is now a standby switch.') altSwSlbFailoverActive = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0,15)) if mibBuilder.loadTexts: altSwSlbFailoverActive.setDescription('A altSwSlbFailoverActive trap signifies that the switch is now an active switch.') altSwSlbFailoverSwitchUp = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0,16)) if mibBuilder.loadTexts: altSwSlbFailoverSwitchUp.setDescription('A altSwSlbFailoverSwitchUp trap signifies that the failover switch is alive.') altSwSlbFailoverSwitchDown = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0,17)) if mibBuilder.loadTexts: altSwSlbFailoverSwitchDown.setDescription('A altSwSlbFailoverSwitchDown trap signifies that the failover switch is down.') altSwfltFilterFired = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0,18)).setObjects(("ALTEON-PRIVATE-MIBS", "fltCurCfgIndx"), ("ALTEON-PRIVATE-MIBS", "fltCurCfgPortIndx"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact")) if mibBuilder.loadTexts: altSwfltFilterFired.setDescription('A altSwfltFilterFired trap signifies that the packet received on a switch port matches the filter rule.') altSwSlbRealServerServiceUp = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0,19)).setObjects(("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerIndex"), ("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerIpAddr"), ("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerName"), ("ALTEON-PRIVATE-MIBS", "slbCurCfgVirtServiceRealPort"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact")) if mibBuilder.loadTexts: altSwSlbRealServerServiceUp.setDescription('A altSwSlbRealServerServiceUp trap signifies that the service port of the real server is up and operational.') altSwSlbRealServerServiceDown = NotificationType((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0,20)).setObjects(("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerIndex"), ("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerIpAddr"), ("ALTEON-PRIVATE-MIBS", "slbCurCfgRealServerName"), ("ALTEON-PRIVATE-MIBS", "slbCurCfgVirtServiceRealPort"), ("SNMPv2-MIB", "sysName"), ("SNMPv2-MIB", "sysLocation"), ("SNMPv2-MIB", "sysContact")) if mibBuilder.loadTexts: altSwSlbRealServerServiceDown.setDescription('A altSwSlbRealServerServiceDown trap signifies that the service port of the real server is down and out of service.') mibBuilder.exportSymbols("ALTEON-TRAP-MIB", altSwDefGwUp=altSwDefGwUp, altSwSlbBkupRealServerActOverflow=altSwSlbBkupRealServerActOverflow, altSwSlbFailoverSwitchDown=altSwSlbFailoverSwitchDown, altSwSlbRealServerServiceDown=altSwSlbRealServerServiceDown, altSwSlbFailoverActive=altSwSlbFailoverActive, altSwDefGwInService=altSwDefGwInService, altSwDefGwNotInService=altSwDefGwNotInService, altSwSlbRealServerMaxConnReached=altSwSlbRealServerMaxConnReached, altSwSlbBkupRealServerDeact=altSwSlbBkupRealServerDeact, altSwSlbRealServerUp=altSwSlbRealServerUp, altSwSlbBkupRealServerDeactOverflow=altSwSlbBkupRealServerDeactOverflow, altSwSlbRealServerServiceUp=altSwSlbRealServerServiceUp, altSwRedunPowerSuppylFailure=altSwRedunPowerSuppylFailure, altSwSlbFailoverStandby=altSwSlbFailoverStandby, altSwPrimaryPowerSuppylFailure=altSwPrimaryPowerSuppylFailure, altSwSlbRealServerDown=altSwSlbRealServerDown, altSwDefGwDown=altSwDefGwDown, altSwSlbBkupRealServerAct=altSwSlbBkupRealServerAct, altSwfltFilterFired=altSwfltFilterFired, altSwSlbFailoverSwitchUp=altSwSlbFailoverSwitchUp)
(ip_cur_cfg_gw_index, altswitch_traps, slb_cur_cfg_virt_service_real_port, flt_cur_cfg_port_indx, slb_cur_cfg_real_server_ip_addr, slb_cur_cfg_real_server_index, flt_cur_cfg_indx, ip_cur_cfg_gw_addr, slb_cur_cfg_real_server_name) = mibBuilder.importSymbols('ALTEON-PRIVATE-MIBS', 'ipCurCfgGwIndex', 'altswitchTraps', 'slbCurCfgVirtServiceRealPort', 'fltCurCfgPortIndx', 'slbCurCfgRealServerIpAddr', 'slbCurCfgRealServerIndex', 'fltCurCfgIndx', 'ipCurCfgGwAddr', 'slbCurCfgRealServerName') (octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_size_constraint, constraints_intersection, single_value_constraint, constraints_union, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ConstraintsIntersection', 'SingleValueConstraint', 'ConstraintsUnion', 'ValueRangeConstraint') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (sys_name, sys_contact, sys_location) = mibBuilder.importSymbols('SNMPv2-MIB', 'sysName', 'sysContact', 'sysLocation') (counter64, integer32, notification_type, bits, counter32, unsigned32, ip_address, notification_type, object_identity, mib_identifier, module_identity, time_ticks, gauge32, mib_scalar, mib_table, mib_table_row, mib_table_column, iso) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter64', 'Integer32', 'NotificationType', 'Bits', 'Counter32', 'Unsigned32', 'IpAddress', 'NotificationType', 'ObjectIdentity', 'MibIdentifier', 'ModuleIdentity', 'TimeTicks', 'Gauge32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'iso') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') alt_sw_primary_power_suppyl_failure = notification_type((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0, 1)) if mibBuilder.loadTexts: altSwPrimaryPowerSuppylFailure.setDescription('A altSwPrimaryPowerSuppylFailure trap signifies that the primary power supply failed.') alt_sw_redun_power_suppyl_failure = notification_type((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0, 2)) if mibBuilder.loadTexts: altSwRedunPowerSuppylFailure.setDescription('A altSwRedunPowerSuppylFailure trap signifies that the redundant power supply failed.') alt_sw_def_gw_up = notification_type((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0, 3)).setObjects(('ALTEON-PRIVATE-MIBS', 'ipCurCfgGwIndex'), ('ALTEON-PRIVATE-MIBS', 'ipCurCfgGwAddr'), ('SNMPv2-MIB', 'sysName'), ('SNMPv2-MIB', 'sysLocation'), ('SNMPv2-MIB', 'sysContact')) if mibBuilder.loadTexts: altSwDefGwUp.setDescription('A altSwDefGwUp trap signifies that the default gateway is alive.') alt_sw_def_gw_down = notification_type((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0, 4)).setObjects(('ALTEON-PRIVATE-MIBS', 'ipCurCfgGwIndex'), ('ALTEON-PRIVATE-MIBS', 'ipCurCfgGwAddr'), ('SNMPv2-MIB', 'sysName'), ('SNMPv2-MIB', 'sysLocation'), ('SNMPv2-MIB', 'sysContact')) if mibBuilder.loadTexts: altSwDefGwDown.setDescription('A altSwDefGwDown trap signifies that the default gateway is down.') alt_sw_def_gw_in_service = notification_type((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0, 5)).setObjects(('ALTEON-PRIVATE-MIBS', 'ipCurCfgGwIndex'), ('ALTEON-PRIVATE-MIBS', 'ipCurCfgGwAddr'), ('SNMPv2-MIB', 'sysName'), ('SNMPv2-MIB', 'sysLocation'), ('SNMPv2-MIB', 'sysContact')) if mibBuilder.loadTexts: altSwDefGwInService.setDescription('A altSwDefGwEnabled trap signifies that the default gateway is up and in service.') alt_sw_def_gw_not_in_service = notification_type((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0, 6)).setObjects(('ALTEON-PRIVATE-MIBS', 'ipCurCfgGwIndex'), ('ALTEON-PRIVATE-MIBS', 'ipCurCfgGwAddr'), ('SNMPv2-MIB', 'sysName'), ('SNMPv2-MIB', 'sysLocation'), ('SNMPv2-MIB', 'sysContact')) if mibBuilder.loadTexts: altSwDefGwNotInService.setDescription('A altSwDefGwDisabled trap signifies that the default gateway is alive but not in service.') alt_sw_slb_real_server_up = notification_type((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0, 7)).setObjects(('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerIndex'), ('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerIpAddr'), ('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerName'), ('SNMPv2-MIB', 'sysName'), ('SNMPv2-MIB', 'sysLocation'), ('SNMPv2-MIB', 'sysContact')) if mibBuilder.loadTexts: altSwSlbRealServerUp.setDescription('A altSwSlbRealServerUp trap signifies that the real server is up and operational.') alt_sw_slb_real_server_down = notification_type((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0, 8)).setObjects(('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerIndex'), ('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerIpAddr'), ('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerName'), ('SNMPv2-MIB', 'sysName'), ('SNMPv2-MIB', 'sysLocation'), ('SNMPv2-MIB', 'sysContact')) if mibBuilder.loadTexts: altSwSlbRealServerDown.setDescription('A altSwSlbRealServerDown trap signifies that the real server is down and out of service.') alt_sw_slb_real_server_max_conn_reached = notification_type((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0, 9)).setObjects(('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerIndex'), ('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerIpAddr'), ('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerName'), ('SNMPv2-MIB', 'sysName'), ('SNMPv2-MIB', 'sysLocation'), ('SNMPv2-MIB', 'sysContact')) if mibBuilder.loadTexts: altSwSlbRealServerMaxConnReached.setDescription('A altSwSlbRealServerMaxConnReached trap signifies that the real server has reached maximum connections.') alt_sw_slb_bkup_real_server_act = notification_type((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0, 10)).setObjects(('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerIndex'), ('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerIpAddr'), ('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerName'), ('SNMPv2-MIB', 'sysName'), ('SNMPv2-MIB', 'sysLocation'), ('SNMPv2-MIB', 'sysContact')) if mibBuilder.loadTexts: altSwSlbBkupRealServerAct.setDescription('A altSwSlbBkupRealServerAct trap signifies that the backup real server is activated due to availablity of the primary real server.') alt_sw_slb_bkup_real_server_deact = notification_type((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0, 11)).setObjects(('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerIndex'), ('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerIpAddr'), ('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerName'), ('SNMPv2-MIB', 'sysName'), ('SNMPv2-MIB', 'sysLocation'), ('SNMPv2-MIB', 'sysContact')) if mibBuilder.loadTexts: altSwSlbBkupRealServerDeact.setDescription('A altSwSlbBkupRealServerDeact trap signifies that the backup real server is deactivated due to the primary real server is available.') alt_sw_slb_bkup_real_server_act_overflow = notification_type((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0, 12)).setObjects(('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerIndex'), ('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerIpAddr'), ('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerName'), ('SNMPv2-MIB', 'sysName'), ('SNMPv2-MIB', 'sysLocation'), ('SNMPv2-MIB', 'sysContact')) if mibBuilder.loadTexts: altSwSlbBkupRealServerActOverflow.setDescription('A altSwSlbBkupRealServerActOverflow trap signifies that the backup real server is deactivated due to the primary real server is overflowed.') alt_sw_slb_bkup_real_server_deact_overflow = notification_type((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0, 13)).setObjects(('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerIndex'), ('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerIpAddr'), ('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerName'), ('SNMPv2-MIB', 'sysName'), ('SNMPv2-MIB', 'sysLocation'), ('SNMPv2-MIB', 'sysContact')) if mibBuilder.loadTexts: altSwSlbBkupRealServerDeactOverflow.setDescription('A altSwSlbBkupRealServerDeactOverflow trap signifies that the backup real server is deactivated due to the primary real server is out from overflow situation.') alt_sw_slb_failover_standby = notification_type((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0, 14)) if mibBuilder.loadTexts: altSwSlbFailoverStandby.setDescription('A altSwSlbFailoverStandby trap signifies that the switch is now a standby switch.') alt_sw_slb_failover_active = notification_type((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0, 15)) if mibBuilder.loadTexts: altSwSlbFailoverActive.setDescription('A altSwSlbFailoverActive trap signifies that the switch is now an active switch.') alt_sw_slb_failover_switch_up = notification_type((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0, 16)) if mibBuilder.loadTexts: altSwSlbFailoverSwitchUp.setDescription('A altSwSlbFailoverSwitchUp trap signifies that the failover switch is alive.') alt_sw_slb_failover_switch_down = notification_type((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0, 17)) if mibBuilder.loadTexts: altSwSlbFailoverSwitchDown.setDescription('A altSwSlbFailoverSwitchDown trap signifies that the failover switch is down.') alt_swflt_filter_fired = notification_type((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0, 18)).setObjects(('ALTEON-PRIVATE-MIBS', 'fltCurCfgIndx'), ('ALTEON-PRIVATE-MIBS', 'fltCurCfgPortIndx'), ('SNMPv2-MIB', 'sysName'), ('SNMPv2-MIB', 'sysLocation'), ('SNMPv2-MIB', 'sysContact')) if mibBuilder.loadTexts: altSwfltFilterFired.setDescription('A altSwfltFilterFired trap signifies that the packet received on a switch port matches the filter rule.') alt_sw_slb_real_server_service_up = notification_type((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0, 19)).setObjects(('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerIndex'), ('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerIpAddr'), ('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerName'), ('ALTEON-PRIVATE-MIBS', 'slbCurCfgVirtServiceRealPort'), ('SNMPv2-MIB', 'sysName'), ('SNMPv2-MIB', 'sysLocation'), ('SNMPv2-MIB', 'sysContact')) if mibBuilder.loadTexts: altSwSlbRealServerServiceUp.setDescription('A altSwSlbRealServerServiceUp trap signifies that the service port of the real server is up and operational.') alt_sw_slb_real_server_service_down = notification_type((1, 3, 6, 1, 4, 1, 1872, 2, 1, 13) + (0, 20)).setObjects(('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerIndex'), ('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerIpAddr'), ('ALTEON-PRIVATE-MIBS', 'slbCurCfgRealServerName'), ('ALTEON-PRIVATE-MIBS', 'slbCurCfgVirtServiceRealPort'), ('SNMPv2-MIB', 'sysName'), ('SNMPv2-MIB', 'sysLocation'), ('SNMPv2-MIB', 'sysContact')) if mibBuilder.loadTexts: altSwSlbRealServerServiceDown.setDescription('A altSwSlbRealServerServiceDown trap signifies that the service port of the real server is down and out of service.') mibBuilder.exportSymbols('ALTEON-TRAP-MIB', altSwDefGwUp=altSwDefGwUp, altSwSlbBkupRealServerActOverflow=altSwSlbBkupRealServerActOverflow, altSwSlbFailoverSwitchDown=altSwSlbFailoverSwitchDown, altSwSlbRealServerServiceDown=altSwSlbRealServerServiceDown, altSwSlbFailoverActive=altSwSlbFailoverActive, altSwDefGwInService=altSwDefGwInService, altSwDefGwNotInService=altSwDefGwNotInService, altSwSlbRealServerMaxConnReached=altSwSlbRealServerMaxConnReached, altSwSlbBkupRealServerDeact=altSwSlbBkupRealServerDeact, altSwSlbRealServerUp=altSwSlbRealServerUp, altSwSlbBkupRealServerDeactOverflow=altSwSlbBkupRealServerDeactOverflow, altSwSlbRealServerServiceUp=altSwSlbRealServerServiceUp, altSwRedunPowerSuppylFailure=altSwRedunPowerSuppylFailure, altSwSlbFailoverStandby=altSwSlbFailoverStandby, altSwPrimaryPowerSuppylFailure=altSwPrimaryPowerSuppylFailure, altSwSlbRealServerDown=altSwSlbRealServerDown, altSwDefGwDown=altSwDefGwDown, altSwSlbBkupRealServerAct=altSwSlbBkupRealServerAct, altSwfltFilterFired=altSwfltFilterFired, altSwSlbFailoverSwitchUp=altSwSlbFailoverSwitchUp)
class Solution: def pyramidTransition(self, bottom: str, allowed: List[str]) -> bool: d = defaultdict(set) for a in allowed: d[a[:2]].add(a[2]) return self._dfs(bottom, d, 0, "") def _dfs(self, bottom, d, p, nxt): if len(bottom) == 1: return True if p == len(bottom) - 1: return self._dfs(nxt, d, 0, "") for i in d[bottom[p:p+2]]: if self._dfs(bottom, d, p+1, nxt+i): return True return False
class Solution: def pyramid_transition(self, bottom: str, allowed: List[str]) -> bool: d = defaultdict(set) for a in allowed: d[a[:2]].add(a[2]) return self._dfs(bottom, d, 0, '') def _dfs(self, bottom, d, p, nxt): if len(bottom) == 1: return True if p == len(bottom) - 1: return self._dfs(nxt, d, 0, '') for i in d[bottom[p:p + 2]]: if self._dfs(bottom, d, p + 1, nxt + i): return True return False
for i in range(10): print(i) print("YY")
for i in range(10): print(i) print('YY')
# # PySNMP MIB module UX25-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/UX25-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:30:16 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ConstraintsIntersection, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ConstraintsIntersection", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") Gauge32, enterprises, IpAddress, Counter64, ModuleIdentity, Unsigned32, Bits, MibScalar, MibTable, MibTableRow, MibTableColumn, ObjectIdentity, Integer32, Counter32, iso, experimental, MibIdentifier, TimeTicks, NotificationType = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "enterprises", "IpAddress", "Counter64", "ModuleIdentity", "Unsigned32", "Bits", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ObjectIdentity", "Integer32", "Counter32", "iso", "experimental", "MibIdentifier", "TimeTicks", "NotificationType") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") usr = MibIdentifier((1, 3, 6, 1, 4, 1, 429)) nas = MibIdentifier((1, 3, 6, 1, 4, 1, 429, 1)) ux25 = MibIdentifier((1, 3, 6, 1, 4, 1, 429, 1, 10)) ux25AdmnChannelTable = MibTable((1, 3, 6, 1, 4, 1, 429, 1, 10, 1), ) if mibBuilder.loadTexts: ux25AdmnChannelTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnChannelTable.setDescription('Defines objects for the parameters of an X.25 interface which the administrator can read and set.') ux25AdmnChannelEntry = MibTableRow((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1), ).setIndexNames((0, "UX25-MIB", "ux25AdmnChanneIndex")) if mibBuilder.loadTexts: ux25AdmnChannelEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnChannelEntry.setDescription('Entries of ux25AdmnChannelTable.') ux25AdmnChanneIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25AdmnChanneIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnChanneIndex.setDescription('A unique value for each X.25 subnetwork entity in the chassis. The value of this object matches the value of the index of the corresponding X.25 subnetwork entity entry in the entity table of the chassis MIB.') ux25AdmnNetMode = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24))).clone(namedValues=NamedValues(("x25Llc", 1), ("x2588", 2), ("x2584", 3), ("x2580", 4), ("pss", 5), ("austpac", 6), ("datapac", 7), ("ddn", 8), ("telenet", 9), ("transpac", 10), ("tymnet", 11), ("datexP", 12), ("ddxP", 13), ("venusP", 14), ("accunet", 15), ("itapac", 16), ("datapak", 17), ("datanet", 18), ("dcs", 19), ("telepac", 20), ("fDatapac", 21), ("finpac", 22), ("pacnet", 23), ("luxpac", 24)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnNetMode.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnNetMode.setDescription('Selects the network protocol to be used. Default=x2584(3).') ux25AdmnProtocolVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("x25ver80", 1), ("x25ver84", 2), ("x25ver88", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnProtocolVersion.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnProtocolVersion.setDescription('Determines the X.25 protocol version being used on the network. A network mode of X25_LLC overides this field to the 1984 standard. Default=x25ver84(3).') ux25AdmnInterfaceMode = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("dceMode", 1), ("dteMode", 2), ("dxeMode", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnInterfaceMode.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnInterfaceMode.setDescription('Indicates the DTE/DCE nature of the link. The DXE parameter is resolved using ISO 8208 for DTE-DTE operation. Default=dteMode(2).') ux25AdmnLowestPVCVal = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnLowestPVCVal.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnLowestPVCVal.setDescription('Low end of the Permanent Virtual Circuit range. If both the Low and High ends of the range are set to 0 there are no PVCs. Default=0.') ux25AdmnHighestPVCVal = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnHighestPVCVal.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnHighestPVCVal.setDescription('High end of the Permanent Virtual Circuit range. If both the Low and High ends of the range are set to 0 there are no PVCs. Default=0.') ux25AdmnChannelLIC = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnChannelLIC.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnChannelLIC.setDescription('Low end of the one-way incoming logical channel. If both Low and High ends of the channel are set to 0, there are no one-way incoming channels. Default=0.') ux25AdmnChannelHIC = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnChannelHIC.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnChannelHIC.setDescription('High end of the one-way incoming logical channel. If both Low and High ends of the channel are set to 0, there are no one-way incoming channels. Default=0.') ux25AdmnChannelLTC = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnChannelLTC.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnChannelLTC.setDescription('Low end of the two-way incoming logical channel. If both Low and High ends of the channel are set to 0, there are no two-way incoming channels. Default=1024.') ux25AdmnChannelHTC = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnChannelHTC.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnChannelHTC.setDescription('High end of the two-way incoming logical channel. If both Low and High ends of the channel are set to 0, there are no two-way incoming channels. Default=1087.') ux25AdmnChannelLOC = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnChannelLOC.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnChannelLOC.setDescription('Low end of the one-way outgoing logical channel. If both Low and High ends of the channel are set to 0, there are no one-way outgoing channels. Default=0.') ux25AdmnChannelHOC = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnChannelHOC.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnChannelHOC.setDescription('High end of the one-way outgoing logical channel. If both Low and High ends of the channel are set to 0, there are no one-way outgoing channels. Default=0.') ux25AdmnClassTable = MibTable((1, 3, 6, 1, 4, 1, 429, 1, 10, 2), ) if mibBuilder.loadTexts: ux25AdmnClassTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnClassTable.setDescription('Defines objects for the parameters of an X.25 interface which the administrator can read and set.') ux25AdmnClassEntry = MibTableRow((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1), ).setIndexNames((0, "UX25-MIB", "ux25AdmnClassIndex")) if mibBuilder.loadTexts: ux25AdmnClassEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnClassEntry.setDescription('Entries of ux25AdmnClassTable.') ux25AdmnClassIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25AdmnClassIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnClassIndex.setDescription('A unique value for each X.25 subnetwork entity in the chassis. The value of this object matches the value of the index of the corresponding X.25 subnetwork entity entry in the entity table of the chassis MIB.') ux25AdmnLocMaxThruPutClass = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=NamedValues(("tcReserved0", 1), ("tcReserved1", 2), ("tcReserved2", 3), ("tc75", 4), ("tc150", 5), ("tc300", 6), ("tc600", 7), ("tc1200", 8), ("tc2400", 9), ("tc4800", 10), ("tc9600", 11), ("tc19200", 12), ("tc48000", 13), ("tcReserved13", 14), ("tcReserved14", 15), ("tcReserved15", 16)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnLocMaxThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnLocMaxThruPutClass.setDescription('The maximum value of the throughput class Quality of Service parameter which is supported. According to ISO 8208 this parameter is bounded in the range >=3 and <=12 corresponding to a range 75 to 48000 bits/second. The range supported here is 0 to 15 for non-standard X.25 implementations, which use the Throughput Class Window/Packet Parameters (Group II). Default=12.') ux25AdmnRemMaxThruPutClass = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=NamedValues(("tcReserved0", 1), ("tcReserved1", 2), ("tcReserved2", 3), ("tc75", 4), ("tc150", 5), ("tc300", 6), ("tc600", 7), ("tc1200", 8), ("tc2400", 9), ("tc4800", 10), ("tc9600", 11), ("tc19200", 12), ("tc48000", 13), ("tcReserved13", 14), ("tcReserved14", 15), ("tcReserved15", 16)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnRemMaxThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRemMaxThruPutClass.setDescription('The maximum value of the throughput class Quality of Service parameter which is supported. According to ISO 8208 this parameter is bounded in the range >=3 and <=12 corresponding to a range 75 to 48000 bits/second. The range supported here is 0 to 15 for non-standard X.25 implementations, which use the Throughput Class Window/Packet Parameters (Group II). Default=12.') ux25AdmnLocDefThruPutClass = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=NamedValues(("tcReserved0", 1), ("tcReserved1", 2), ("tcReserved2", 3), ("tc75", 4), ("tc150", 5), ("tc300", 6), ("tc600", 7), ("tc1200", 8), ("tc2400", 9), ("tc4800", 10), ("tc9600", 11), ("tc19200", 12), ("tc48000", 13), ("tcReserved13", 14), ("tcReserved14", 15), ("tcReserved15", 16)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnLocDefThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnLocDefThruPutClass.setDescription('The default throughput class that is defined for the local-to-remote direction. In some networks, such as TELENET, negotiation of throughput class is constrained to be towards a configured default throughput class. In other PSDNs, this value should be set equal to the value of the Maximum Local Throughput Class. Default=12.') ux25AdmnRemDefThruPutClass = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=NamedValues(("tcReserved0", 1), ("tcReserved1", 2), ("tcReserved2", 3), ("tc75", 4), ("tc150", 5), ("tc300", 6), ("tc600", 7), ("tc1200", 8), ("tc2400", 9), ("tc4800", 10), ("tc9600", 11), ("tc19200", 12), ("tc48000", 13), ("tcReserved13", 14), ("tcReserved14", 15), ("tcReserved15", 16)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnRemDefThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRemDefThruPutClass.setDescription('The default throughput class value defined for remote-to-local direction. In some networks, such as TELENET, negotiation of throughput class is constrained to be towards a configured default throughput class. In other PSDNs, this value should be set equal to the value of the Maximum Remote Throughput Class. Default=12.') ux25AdmnLocMinThruPutClass = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=NamedValues(("tcReserved0", 1), ("tcReserved1", 2), ("tcReserved2", 3), ("tc75", 4), ("tc150", 5), ("tc300", 6), ("tc600", 7), ("tc1200", 8), ("tc2400", 9), ("tc4800", 10), ("tc9600", 11), ("tc19200", 12), ("tc48000", 13), ("tcReserved13", 14), ("tcReserved14", 15), ("tcReserved15", 16)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnLocMinThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnLocMinThruPutClass.setDescription('According to ISO 8208, the throughput class parameter is defined in the range of >=3 to <=12. Some PSDNs may provide different mapping, in which case, this parameter is the minimum value. Default=3.') ux25AdmnRemMinThruPutClass = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=NamedValues(("tcReserved0", 1), ("tcReserved1", 2), ("tcReserved2", 3), ("tc75", 4), ("tc150", 5), ("tc300", 6), ("tc600", 7), ("tc1200", 8), ("tc2400", 9), ("tc4800", 10), ("tc9600", 11), ("tc19200", 12), ("tc48000", 13), ("tcReserved13", 14), ("tcReserved14", 15), ("tcReserved15", 16)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnRemMinThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRemMinThruPutClass.setDescription('According to ISO 8208, the throughput class parameter is defined in the range of >=3 to <=12. Some PSDNs may provide different mapping, in which case, this parameter is the minimum value. Default=3.') ux25AdmnThclassNegToDef = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnThclassNegToDef.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnThclassNegToDef.setDescription('Determines if throughput class negotiation will be used for certain network procedures. Default=disable(1).') ux25AdmnThclassType = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("noTcType", 1), ("loNibble", 2), ("highNibble", 3), ("bothNibbles", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnThclassType.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnThclassType.setDescription('Defines which throughput class encodings can be used to assign packet and window sizes. Some implementations of X.25 do not use the X.25 packet and window negotiation and rely on mapping the throughput class to these parameters. Default=noTcType(1).') ux25AdmnThclassWinMap = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(31, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnThclassWinMap.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnThclassWinMap.setDescription('The mapping between throughput class and a window parameter. Each number has a range of 1 to 127. Default=3.3.3.3.3.3.3.3.3.3.3.3.3.3.3.3') ux25AdmnThclassPackMap = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(31, 47))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnThclassPackMap.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnThclassPackMap.setDescription('The mapping between the throughput class and a packet parameter. Each number has a range of 4 to 12. Default=7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7') ux25AdmnPacketTable = MibTable((1, 3, 6, 1, 4, 1, 429, 1, 10, 3), ) if mibBuilder.loadTexts: ux25AdmnPacketTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnPacketTable.setDescription('Defines objects for the parameters of an X.25 interface which the administrator can read and set.') ux25AdmnPacketEntry = MibTableRow((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1), ).setIndexNames((0, "UX25-MIB", "ux25AdmnPacketIndex")) if mibBuilder.loadTexts: ux25AdmnPacketEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnPacketEntry.setDescription('Entries of ux25AdmnPacketTable.') ux25AdmnPacketIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25AdmnPacketIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnPacketIndex.setDescription('A unique value for each X.25 subnetwork entity in the chassis. The value of this object matches the value of the index of the corresponding X.25 subnetwork entity entry in the entity table of the chassis MIB.') ux25AdmnPktSequencing = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(16, 32))).clone(namedValues=NamedValues(("pktSeq8", 16), ("pktSeq128", 32)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnPktSequencing.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnPktSequencing.setDescription('Indicates whether modulo 8 or 128 sequence numbering operates on the network. Default=pktSeq8(16).') ux25AdmnLocMaxPktSize = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(7, 8, 9))).clone(namedValues=NamedValues(("maxPktSz128", 7), ("maxPktSz256", 8), ("maxPktSz512", 9)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnLocMaxPktSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnLocMaxPktSize.setDescription('Maximum acceptable size of packets in the local-to-remote direction. On an incoming call, a value for the packet size parameter greater than this value will be negotiated down to an acceptable size when the call is accepted. Default=maxPktSz256(8).') ux25AdmnRemMaxPktSize = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(7, 8, 9))).clone(namedValues=NamedValues(("maxPktSz128", 7), ("maxPktSz256", 8), ("maxPktSz512", 9)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnRemMaxPktSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRemMaxPktSize.setDescription('Maximum acceptable size of packets in the remote-to-local direction. On an incoming call, a value for the packet size parameter greater than this value will be negotiated down to an acceptable size when the call is accepted. Default=maxPktSz256(8).') ux25AdmnLocDefPktSize = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("defPktSz16", 4), ("defPktSz32", 5), ("defPktSz64", 6), ("defPktSz128", 7), ("defPktSz256", 8), ("defPktSz512", 9)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnLocDefPktSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnLocDefPktSize.setDescription('Specifies the value of the default packet size for the direction local-to-remote, which may be nonstandard, provided the value is agreed between the communicating parties on the LAN or between the DTE and DCE. Default=defPktSz256(8).') ux25AdmnRemDefPktSize = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("defPktSz16", 4), ("defPktSz32", 5), ("defPktSz64", 6), ("defPktSz128", 7), ("defPktSz256", 8), ("defPktSz512", 9)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnRemDefPktSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRemDefPktSize.setDescription('Specifies the value of the default packet size for the direction remote-to-local, which may be nonstandard, provided the value is agreed between the communicating parties on the LAN or between the DTE and DCE. Default=defPktSz256(8).') ux25AdmnLocMaxWinSize = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 127))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnLocMaxWinSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnLocMaxWinSize.setDescription('Specifies the maximum local window size. NOTE: 127 allowed only for modulo 128 networks. Default=7.') ux25AdmnRemMaxWinSize = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 127))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnRemMaxWinSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRemMaxWinSize.setDescription('Specifies the maximum remote window size. NOTE: 127 allowed only for modulo 128 networks. Default=7.') ux25AdmnLocDefWinSize = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 127))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnLocDefWinSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnLocDefWinSize.setDescription('Specifies the value of the default window size, which may be nonstandard, provided the value is agreed on by all parties on the LAN between the DTE and DCE. NOTE: The sequence numbering scheme affects the range of this parameter. Default=2.') ux25AdmnRemDefWinSize = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 127))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnRemDefWinSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRemDefWinSize.setDescription('Specifies the value of the default window size, which may be nonstandard, provided the value is agreed on by all parties on the LAN between the DTE and DCE. NOTE: The sequence numbering scheme affects the range of this parameter. Default=2.') ux25AdmnMaxNSDULimit = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnMaxNSDULimit.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnMaxNSDULimit.setDescription('The default maximum length beyond which concatenation is stopped and data currently held is passed to the Network Service user. Default=256.') ux25AdmnAccNoDiagnostic = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnAccNoDiagnostic.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnAccNoDiagnostic.setDescription('Allow the omission of the diagnostic byte in incoming RESTART, CLEAR and RESET INDICATION packets. Default=disable(1).') ux25AdmnUseDiagnosticPacket = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnUseDiagnosticPacket.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnUseDiagnosticPacket.setDescription('Use diagnostic packets. Default=disable(1).') ux25AdmnItutClearLen = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnItutClearLen.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnItutClearLen.setDescription('Restrict the length of a CLEAR INDICATION to 5 bytes and a CLEAR CONFIRM to 3 bytes. Default=disable(1).') ux25AdmnBarDiagnosticPacket = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnBarDiagnosticPacket.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnBarDiagnosticPacket.setDescription('Bar diagnostic packets. Default=disable(1).') ux25AdmnDiscNzDiagnostic = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnDiscNzDiagnostic.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnDiscNzDiagnostic.setDescription('Discard all diagnostic packets on a non-zero LCN. Default=disable(1).') ux25AdmnAcceptHexAdd = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnAcceptHexAdd.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnAcceptHexAdd.setDescription('Allow DTE addresses to contain hexadecimal digits. Default=disable(1).') ux25AdmnBarNonPrivilegeListen = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnBarNonPrivilegeListen.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnBarNonPrivilegeListen.setDescription('Disallow a non-privileged user (i.e without superuser privilege) from listening for incoming calls. Default=enable(2).') ux25AdmnIntlAddrRecognition = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("notDistinguished", 1), ("examineDnic", 2), ("prefix1", 3), ("prefix0", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnIntlAddrRecognition.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnIntlAddrRecognition.setDescription("Determine whether outgoing international calls are to be accepted. The values and their interpretation are: 1 - International calls are not distinguished. 2 - The DNIC of the called DTE address is examined and compared to that held in the psdn_local members dnic1 and dnic2. A mismatch implies an international call. 3 - International calls are distinguished by having a '1' prefix on the DTE address. 4 - International calls are distinguished by having a '0' prefix on the DTE address. Default=notDistinguished(1).") ux25AdmnDnic = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 20), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnDnic.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnDnic.setDescription('This field contains the first four digits of DNIC and is only used when ux25AdmnIntlAddrRecognition is set to examineDnic(2). Note this field must contain exactly four BCD digits. Default=0000.') ux25AdmnIntlPrioritized = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnIntlPrioritized.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnIntlPrioritized.setDescription('Determine whether some prioritizing method is to used for international calls and is used in conjuction with ux25AdmnPrtyEncodeCtrl and ux25AdmnPrtyPktForced value. Default=disable(1).') ux25AdmnPrtyEncodeCtrl = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("x2588", 1), ("datapacPriority76", 2), ("datapacTraffic80", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnPrtyEncodeCtrl.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnPrtyEncodeCtrl.setDescription('Describes how the priority request is to be encoded for this PSDN. Default=x2588(1).') ux25AdmnPrtyPktForcedVal = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 5, 6, 7, 8, 9, 10, 11, 12, 13))).clone(namedValues=NamedValues(("prioPktSz0", 1), ("prioPktSz4", 5), ("prioPktSz5", 6), ("prioPktSz6", 7), ("prioPktSz7", 8), ("prioPktSz8", 9), ("prioPktSz9", 10), ("prioPktSz10", 11), ("prioPktSz11", 12), ("prioPktSz12", 13)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnPrtyPktForcedVal.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnPrtyPktForcedVal.setDescription('If this entry is other than prioPktSz1(1) all priority call requests and incoming calls should have the associated packet size parameter forced to this value. Note that the actual packet size is 2 to the power of this parameter. Default=prioPktSz1(1).') ux25AdmnSrcAddrCtrl = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("noSaCntrl", 1), ("omitDte", 2), ("useLocal", 3), ("forceLocal", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnSrcAddrCtrl.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSrcAddrCtrl.setDescription('Provide a means to override or set the calling address in outgoing call requests for this PSDN. Default=noSaCntrl(1).') ux25AdmnDbitInAccept = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("leaveDbit", 1), ("zeroDbit", 2), ("clearCall", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnDbitInAccept.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnDbitInAccept.setDescription('Defines the action to take when a Call Accept is received with the D-bit set and there is no local D-bit support. Default=clearCall(3).') ux25AdmnDbitOutAccept = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("leaveDbit", 1), ("zeroDbit", 2), ("clearCall", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnDbitOutAccept.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnDbitOutAccept.setDescription('Defines the action to take when the remote user sends a Call Accept with the D-bit set when the local user did not request use of the D-bit. Default=clearCall(3).') ux25AdmnDbitInData = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("leaveDbit", 1), ("zeroDbit", 2), ("clearCall", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnDbitInData.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnDbitInData.setDescription('Defines the action to take when a data packet is received with the D-bit set and the local user did not request use of the D-bit. Default=clearCall(3).') ux25AdmnDbitOutData = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("leaveDbit", 1), ("zeroDbit", 2), ("clearCall", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnDbitOutData.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnDbitOutData.setDescription('Defines the action when the local user send a data packet with the D-bit set, but the remote party has not indicated D-bit support. Default=clearCall(3).') ux25AdmnSubscriberTable = MibTable((1, 3, 6, 1, 4, 1, 429, 1, 10, 4), ) if mibBuilder.loadTexts: ux25AdmnSubscriberTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubscriberTable.setDescription('Defines objects for the parameters of an X.25 interface which the administrator can read and set.') ux25AdmnSubscriberEntry = MibTableRow((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1), ).setIndexNames((0, "UX25-MIB", "ux25AdmnSubscriberIndex")) if mibBuilder.loadTexts: ux25AdmnSubscriberEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubscriberEntry.setDescription('Entries of ux25AdmnSubscriberTable.') ux25AdmnSubscriberIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25AdmnSubscriberIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubscriberIndex.setDescription('A unique value for each X.25 subnetwork entity in the chassis. The value of this object matches the value of the index of the corresponding X.25 subnetwork entity entry in the entity table of the chassis MIB.') ux25AdmnSubCugIaoa = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnSubCugIaoa.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubCugIaoa.setDescription('Specifies if this DTE subscribes to Closed User Groups with Incoming or Outgoing access. Default=enable(2).') ux25AdmnSubCugPref = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnSubCugPref.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubCugPref.setDescription('Specifies if this DTE subscribes to a Preferential Closed User Groups. Default=disable(1).') ux25AdmnSubCugoa = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnSubCugoa.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubCugoa.setDescription('Specifies if this DTE subscribes to Closed User Groups with Outgoing access. Default=disable(1).') ux25AdmnSubCugia = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnSubCugia.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubCugia.setDescription('Specifies whether or not this DTE subscribes to Closed User Groups with Incoming Access. Default=disable(1).') ux25AdmnCugFormat = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("basic", 1), ("extended", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnCugFormat.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnCugFormat.setDescription('The maximum number of Closed User Groups that this DTE subscribes to. This will be one of two ranges: Basic (100 or fewer) or Extended (between 101 and 10000). Default=basic(1).') ux25AdmnBarInCug = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnBarInCug.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnBarInCug.setDescription('Provides the means to force rejection of any incoming calls carrying the Closed User Group optional facility (which is necessary in some networks, such as DDN. When enabled, such calls will be rejected, otherwise incoming Closed User Group facilities are ignored. Default=disable(1).') ux25AdmnSubExtended = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnSubExtended.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubExtended.setDescription('Subscribe to extended call packets (Window and Packet size negotiation is permitted). Default=enable(2).') ux25AdmnBarExtended = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnBarExtended.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnBarExtended.setDescription('Treat window and packet size negotiation in incoming packets as a procedure error. Default=disable(1).') ux25AdmnSubFstSelNoRstrct = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnSubFstSelNoRstrct.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubFstSelNoRstrct.setDescription('Subscribe to fast select with no restriction on response. Default=enable(2).') ux25AdmnSubFstSelWthRstrct = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnSubFstSelWthRstrct.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubFstSelWthRstrct.setDescription('Subscribe to fast select with restriction on response. Default=disable(1).') ux25AdmnAccptRvsChrgng = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnAccptRvsChrgng.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnAccptRvsChrgng.setDescription('Allow incoming calls to specify the reverse charging facility. Default=disable(1).') ux25AdmnSubLocChargePrevent = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnSubLocChargePrevent.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubLocChargePrevent.setDescription('Subscribe to local charging prevention. Default=disable(1).') ux25AdmnSubToaNpiFormat = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnSubToaNpiFormat.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubToaNpiFormat.setDescription('Subscribe to TOA/NPI Address Format. Default=disable(1).') ux25AdmnBarToaNpiFormat = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnBarToaNpiFormat.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnBarToaNpiFormat.setDescription('Bar incoming call set-up and clearing packets which use the TOA/NPI Address Format. Default=disable(1).') ux25AdmnSubNuiOverride = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnSubNuiOverride.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubNuiOverride.setDescription('Subscribe to NUI override. Deafult=disable(1).') ux25AdmnBarInCall = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnBarInCall.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnBarInCall.setDescription('Bar incoming calls. Default=disable(1).') ux25AdmnBarOutCall = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnBarOutCall.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnBarOutCall.setDescription('Bar outgoing calls. Default=disable(1).') ux25AdmnTimerTable = MibTable((1, 3, 6, 1, 4, 1, 429, 1, 10, 5), ) if mibBuilder.loadTexts: ux25AdmnTimerTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnTimerTable.setDescription('Defines objects for the parameters of an X.25 interface which the administrator can read and set.') ux25AdmnTimerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1), ).setIndexNames((0, "UX25-MIB", "ux25AdmnTimerIndex")) if mibBuilder.loadTexts: ux25AdmnTimerEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnTimerEntry.setDescription('Entries of ux25AdmnTimerTable.') ux25AdmnTimerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25AdmnTimerIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnTimerIndex.setDescription('A unique value for each X.25 subnetwork entity in the chassis. The value of this object matches the value of the index of the corresponding X.25 subnetwork entity entry in the entity table of the chassis MIB.') ux25AdmnAckDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnAckDelay.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnAckDelay.setDescription('The maximum number of ticks (0.1 second units) over which a pending acknowledgement is withheld. Default=5.') ux25AdmnRstrtTime = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnRstrtTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRstrtTime.setDescription('The number of ticks (0.1 second units) for the DTE timer parameter T20, the Restart Request Response Timer. Default=1800.') ux25AdmnCallTime = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnCallTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnCallTime.setDescription('The number of ticks (0.1 second units) for the DTE timer parameter T21, the Call Request Response Timer. Default=2000.') ux25AdmnRstTime = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnRstTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRstTime.setDescription('The number of ticks (0.1 second units) for the DTE timer parameter T22, the Reset Request Response Timer. Default=1800.') ux25AdmnClrTime = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnClrTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnClrTime.setDescription('The number of ticks (0.1 second units) for the DTE timer parameter T23, the Clear Request Response Timer. Default=1800.') ux25AdmnWinStatTime = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnWinStatTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnWinStatTime.setDescription('Related, but does not correspond exactly to the DTE Window Status Transmission Timer, T24. Specifies the number of ticks (0.1 second units) for the maximum time that acknowledgments of data received from the remote transmitter will be witheld. At timer expiration, any witheld acknowledgments will be carried by a X.25 level 3 RNR packet. Default=750.') ux25AdmnWinRotTime = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnWinRotTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnWinRotTime.setDescription('The number of ticks (0.1 second units) for the DTE timer parameter T25, the Window Rotation Timer. Default=1500.') ux25AdmnIntrptTime = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnIntrptTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnIntrptTime.setDescription('The number of ticks (0.1 second units) for the DTE timer parameter T26, the Interrupt Response Timer. Default=1800.') ux25AdmnIdleValue = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnIdleValue.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnIdleValue.setDescription('The number of ticks (0.1 second units) during which a link level connection associated with no connections will be maintained. If the link is to a WAN then this value should be zero (infinity). This timer is only used with X.25 on a LAN. Default=0.') ux25AdmnConnectValue = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnConnectValue.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnConnectValue.setDescription('Specifies the number of ticks (0.1 second units), over which the DTE/DCE resolution phase be completely implemented in order to prevent the unlikely event that two packet level entities cannot resolve their DTE/DCE nature. When this expires, the link connection will be disconnected and all pending connections aborted. Default=2000.') ux25AdmnRstrtCnt = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnRstrtCnt.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRstrtCnt.setDescription('The number of ticks (0.1 second units) for the DTE Restart Request Retransmission Count. Default=1.') ux25AdmnRstCnt = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnRstCnt.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRstCnt.setDescription('The number of ticks (0.1 second units) for the DTE Reset Request Retransmission Count. Default=1.') ux25AdmnClrCnt = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnClrCnt.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnClrCnt.setDescription('The number of ticks (0.1 second units) for the DTE Clear Request Retransmission Count. Default=1.') ux25AdmnLocalDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnLocalDelay.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnLocalDelay.setDescription('The transit delay (in 0.1 second units) attributed to internal processing. Default=5.') ux25AdmnAccessDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: ux25AdmnAccessDelay.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnAccessDelay.setDescription('The transit delay (in 0.1 second units) attributed to the effect of the line transmission rate. Default=5.') ux25OperChannelTable = MibTable((1, 3, 6, 1, 4, 1, 429, 1, 10, 6), ) if mibBuilder.loadTexts: ux25OperChannelTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperChannelTable.setDescription('Defines objects that report the current parameters used by a running interface. These objects are read only.') ux25OperChannelEntry = MibTableRow((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1), ).setIndexNames((0, "UX25-MIB", "ux25OperChannelIndex")) if mibBuilder.loadTexts: ux25OperChannelEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperChannelEntry.setDescription('Entries of ux25OperChannelTable.') ux25OperChannelIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperChannelIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperChannelIndex.setDescription('') ux25OperNetMode = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24))).clone(namedValues=NamedValues(("x25Llc", 1), ("x2588", 2), ("x2584", 3), ("x2580", 4), ("pss", 5), ("austpac", 6), ("datapac", 7), ("ddn", 8), ("telenet", 9), ("transpac", 10), ("tymnet", 11), ("datexP", 12), ("ddxP", 13), ("venusP", 14), ("accunet", 15), ("itapac", 16), ("datapak", 17), ("datanet", 18), ("dcs", 19), ("telepac", 20), ("fDatapac", 21), ("finpac", 22), ("pacnet", 23), ("luxpac", 24)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperNetMode.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperNetMode.setDescription('') ux25OperProtocolVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("x25ver80", 1), ("x25ver84", 2), ("x25ver88", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperProtocolVersion.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperProtocolVersion.setDescription('') ux25OperInterfaceMode = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("dceMode", 1), ("dteMode", 2), ("dxeMode", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperInterfaceMode.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperInterfaceMode.setDescription('') ux25OperLowestPVCVal = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperLowestPVCVal.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperLowestPVCVal.setDescription('') ux25OperHighestPVCVal = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperHighestPVCVal.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperHighestPVCVal.setDescription('') ux25OperChannelLIC = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperChannelLIC.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperChannelLIC.setDescription('') ux25OperChannelHIC = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperChannelHIC.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperChannelHIC.setDescription('') ux25OperChannelLTC = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperChannelLTC.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperChannelLTC.setDescription('') ux25OperChannelHTC = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperChannelHTC.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperChannelHTC.setDescription('') ux25OperChannelLOC = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperChannelLOC.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperChannelLOC.setDescription('') ux25OperChannelHOC = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperChannelHOC.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperChannelHOC.setDescription('') ux25OperClassTable = MibTable((1, 3, 6, 1, 4, 1, 429, 1, 10, 7), ) if mibBuilder.loadTexts: ux25OperClassTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperClassTable.setDescription('Defines objects that report the current parameters used by a running interface. These objects are read only.') ux25OperClassEntry = MibTableRow((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1), ).setIndexNames((0, "UX25-MIB", "ux25OperClassIndex")) if mibBuilder.loadTexts: ux25OperClassEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperClassEntry.setDescription('Entries of ux25OperTable.') ux25OperClassIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperClassIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperClassIndex.setDescription('') ux25OperLocMaxThruPutClass = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=NamedValues(("tcReserved0", 1), ("tcReserved1", 2), ("tcReserved2", 3), ("tc75", 4), ("tc150", 5), ("tc300", 6), ("tc600", 7), ("tc1200", 8), ("tc2400", 9), ("tc4800", 10), ("tc9600", 11), ("tc19200", 12), ("tc48000", 13), ("tcReserved13", 14), ("tcReserved14", 15), ("tcReserved15", 16)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperLocMaxThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperLocMaxThruPutClass.setDescription('') ux25OperRemMaxThruPutClass = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=NamedValues(("tcReserved0", 1), ("tcReserved1", 2), ("tcReserved2", 3), ("tc75", 4), ("tc150", 5), ("tc300", 6), ("tc600", 7), ("tc1200", 8), ("tc2400", 9), ("tc4800", 10), ("tc9600", 11), ("tc19200", 12), ("tc48000", 13), ("tcReserved13", 14), ("tcReserved14", 15), ("tcReserved15", 16)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperRemMaxThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRemMaxThruPutClass.setDescription('') ux25OperLocDefThruPutClass = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=NamedValues(("tcReserved0", 1), ("tcReserved1", 2), ("tcReserved2", 3), ("tc75", 4), ("tc150", 5), ("tc300", 6), ("tc600", 7), ("tc1200", 8), ("tc2400", 9), ("tc4800", 10), ("tc9600", 11), ("tc19200", 12), ("tc48000", 13), ("tcReserved13", 14), ("tcReserved14", 15), ("tcReserved15", 16)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperLocDefThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperLocDefThruPutClass.setDescription('') ux25OperRemDefThruPutClass = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=NamedValues(("tcReserved0", 1), ("tcReserved1", 2), ("tcReserved2", 3), ("tc75", 4), ("tc150", 5), ("tc300", 6), ("tc600", 7), ("tc1200", 8), ("tc2400", 9), ("tc4800", 10), ("tc9600", 11), ("tc19200", 12), ("tc48000", 13), ("tcReserved13", 14), ("tcReserved14", 15), ("tcReserved15", 16)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperRemDefThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRemDefThruPutClass.setDescription('') ux25OperLocMinThruPutClass = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=NamedValues(("tcReserved0", 1), ("tcReserved1", 2), ("tcReserved2", 3), ("tc75", 4), ("tc150", 5), ("tc300", 6), ("tc600", 7), ("tc1200", 8), ("tc2400", 9), ("tc4800", 10), ("tc9600", 11), ("tc19200", 12), ("tc48000", 13), ("tcReserved13", 14), ("tcReserved14", 15), ("tcReserved15", 16)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperLocMinThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperLocMinThruPutClass.setDescription('') ux25OperRemMinThruPutClass = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=NamedValues(("tcReserved0", 1), ("tcReserved1", 2), ("tcReserved2", 3), ("tc75", 4), ("tc150", 5), ("tc300", 6), ("tc600", 7), ("tc1200", 8), ("tc2400", 9), ("tc4800", 10), ("tc9600", 11), ("tc19200", 12), ("tc48000", 13), ("tcReserved13", 14), ("tcReserved14", 15), ("tcReserved15", 16)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperRemMinThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRemMinThruPutClass.setDescription('') ux25OperThclassNegToDef = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperThclassNegToDef.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperThclassNegToDef.setDescription('') ux25OperThclassType = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("noTcType", 1), ("loNibble", 2), ("highNibble", 3), ("bothNibbles", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperThclassType.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperThclassType.setDescription('') ux25OperThclassWinMap = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(31, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperThclassWinMap.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperThclassWinMap.setDescription('') ux25OperThclassPackMap = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(31, 47))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperThclassPackMap.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperThclassPackMap.setDescription('') ux25OperPacketTable = MibTable((1, 3, 6, 1, 4, 1, 429, 1, 10, 8), ) if mibBuilder.loadTexts: ux25OperPacketTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperPacketTable.setDescription('Defines objects that report the current parameters used by a running interface. These objects are read only.') ux25OperPacketEntry = MibTableRow((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1), ).setIndexNames((0, "UX25-MIB", "ux25OperPacketIndex")) if mibBuilder.loadTexts: ux25OperPacketEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperPacketEntry.setDescription('Entries of ux25OperPacketTable.') ux25OperPacketIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperPacketIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperPacketIndex.setDescription('') ux25OperPktSequencing = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(16, 32))).clone(namedValues=NamedValues(("pktSeq8", 16), ("pktSeq128", 32)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperPktSequencing.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperPktSequencing.setDescription('') ux25OperLocMaxPktSize = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(7, 8, 9))).clone(namedValues=NamedValues(("maxPktSz128", 7), ("maxPktSz256", 8), ("maxPktSz512", 9)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperLocMaxPktSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperLocMaxPktSize.setDescription('') ux25OperRemMaxPktSize = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(7, 8, 9))).clone(namedValues=NamedValues(("maxPktSz128", 7), ("maxPktSz256", 8), ("maxPktSz512", 9)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperRemMaxPktSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRemMaxPktSize.setDescription('') ux25OperLocDefPktSize = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("defPktSz16", 4), ("defPktSz32", 5), ("defPktSz64", 6), ("defPktSz128", 7), ("defPktSz256", 8), ("defPktSz512", 9)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperLocDefPktSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperLocDefPktSize.setDescription('') ux25OperRemDefPktSize = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("defPktSz16", 4), ("defPktSz32", 5), ("defPktSz64", 6), ("defPktSz128", 7), ("defPktSz256", 8), ("defPktSz512", 9)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperRemDefPktSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRemDefPktSize.setDescription('') ux25OperLocMaxWinSize = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperLocMaxWinSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperLocMaxWinSize.setDescription('') ux25OperRemMaxWinSize = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperRemMaxWinSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRemMaxWinSize.setDescription('') ux25OperLocDefWinSize = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperLocDefWinSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperLocDefWinSize.setDescription('') ux25OperRemDefWinSize = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 127))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperRemDefWinSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRemDefWinSize.setDescription('') ux25OperMaxNSDULimit = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperMaxNSDULimit.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperMaxNSDULimit.setDescription('') ux25OperAccNoDiagnostic = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperAccNoDiagnostic.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperAccNoDiagnostic.setDescription('') ux25OperUseDiagnosticPacket = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperUseDiagnosticPacket.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperUseDiagnosticPacket.setDescription('') ux25OperItutClearLen = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperItutClearLen.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperItutClearLen.setDescription('') ux25OperBarDiagnosticPacket = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperBarDiagnosticPacket.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperBarDiagnosticPacket.setDescription('') ux25OperDiscNzDiagnostic = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperDiscNzDiagnostic.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperDiscNzDiagnostic.setDescription('') ux25OperAcceptHexAdd = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperAcceptHexAdd.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperAcceptHexAdd.setDescription('') ux25OperBarNonPrivilegeListen = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperBarNonPrivilegeListen.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperBarNonPrivilegeListen.setDescription('') ux25OperIntlAddrRecognition = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("notDistinguished", 1), ("examineDnic", 2), ("prefix1", 3), ("prefix0", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperIntlAddrRecognition.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperIntlAddrRecognition.setDescription('') ux25OperDnic = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 20), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperDnic.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperDnic.setDescription('') ux25OperIntlPrioritized = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperIntlPrioritized.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperIntlPrioritized.setDescription('') ux25OperPrtyEncodeCtrl = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("x2588", 1), ("datapacPriority76", 2), ("datapacTraffic80", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperPrtyEncodeCtrl.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperPrtyEncodeCtrl.setDescription('') ux25OperPrtyPktForcedVal = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 5, 6, 7, 8, 9, 10, 11, 12, 13))).clone(namedValues=NamedValues(("prioPktSz0", 1), ("prioPktSz4", 5), ("prioPktSz5", 6), ("prioPktSz6", 7), ("prioPktSz7", 8), ("prioPktSz8", 9), ("prioPktSz9", 10), ("prioPktSz10", 11), ("prioPktSz11", 12), ("prioPktSz12", 13)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperPrtyPktForcedVal.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperPrtyPktForcedVal.setDescription('') ux25OperSrcAddrCtrl = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("noSaCntrl", 1), ("omitDte", 2), ("useLocal", 3), ("forceLocal", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperSrcAddrCtrl.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSrcAddrCtrl.setDescription('') ux25OperDbitInAccept = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("leaveDbit", 1), ("zeroDbit", 2), ("clearCall", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperDbitInAccept.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperDbitInAccept.setDescription('') ux25OperDbitOutAccept = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("leaveDbit", 1), ("zeroDbit", 2), ("clearCall", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperDbitOutAccept.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperDbitOutAccept.setDescription('') ux25OperDbitInData = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("leaveDbit", 1), ("zeroDbit", 2), ("clearCall", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperDbitInData.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperDbitInData.setDescription('') ux25OperDbitOutData = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("leaveDbit", 1), ("zeroDbit", 2), ("clearCall", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperDbitOutData.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperDbitOutData.setDescription('') ux25OperSubscriberTable = MibTable((1, 3, 6, 1, 4, 1, 429, 1, 10, 9), ) if mibBuilder.loadTexts: ux25OperSubscriberTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubscriberTable.setDescription('Defines objects that report the current parameters used by a running interface. These objects are read only.') ux25OperSubscriberEntry = MibTableRow((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1), ).setIndexNames((0, "UX25-MIB", "ux25OperSubscriberIndex")) if mibBuilder.loadTexts: ux25OperSubscriberEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubscriberEntry.setDescription('Entries of ux25OperSubscriberTable.') ux25OperSubscriberIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperSubscriberIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubscriberIndex.setDescription('') ux25OperSubCugIaoa = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperSubCugIaoa.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubCugIaoa.setDescription('') ux25OperSubCugPref = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperSubCugPref.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubCugPref.setDescription('') ux25OperSubCugoa = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperSubCugoa.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubCugoa.setDescription('') ux25OperSubCugia = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperSubCugia.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubCugia.setDescription('') ux25OperCugFormat = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("basic", 1), ("extended", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperCugFormat.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperCugFormat.setDescription('') ux25OperBarInCug = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperBarInCug.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperBarInCug.setDescription('') ux25OperSubExtended = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperSubExtended.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubExtended.setDescription('') ux25OperBarExtended = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperBarExtended.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperBarExtended.setDescription('') ux25OperSubFstSelNoRstrct = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperSubFstSelNoRstrct.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubFstSelNoRstrct.setDescription('') ux25OperSubFstSelWthRstrct = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperSubFstSelWthRstrct.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubFstSelWthRstrct.setDescription('') ux25OperAccptRvsChrgng = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperAccptRvsChrgng.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperAccptRvsChrgng.setDescription('') ux25OperSubLocChargePrevent = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperSubLocChargePrevent.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubLocChargePrevent.setDescription('') ux25OperSubToaNpiFormat = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperSubToaNpiFormat.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubToaNpiFormat.setDescription('') ux25OperBarToaNpiFormat = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperBarToaNpiFormat.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperBarToaNpiFormat.setDescription('') ux25OperSubNuiOverride = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperSubNuiOverride.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubNuiOverride.setDescription('') ux25OperBarInCall = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperBarInCall.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperBarInCall.setDescription('') ux25OperBarOutCall = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperBarOutCall.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperBarOutCall.setDescription('') ux25OperTimerTable = MibTable((1, 3, 6, 1, 4, 1, 429, 1, 10, 10), ) if mibBuilder.loadTexts: ux25OperTimerTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperTimerTable.setDescription('Defines objects that report the current parameters used by a running interface. These objects are read only.') ux25OperTimerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1), ).setIndexNames((0, "UX25-MIB", "ux25OperTimerIndex")) if mibBuilder.loadTexts: ux25OperTimerEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperTimerEntry.setDescription('Entries of ux25OperTimerTable.') ux25OperTimerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperTimerIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperTimerIndex.setDescription('') ux25OperAckDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperAckDelay.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperAckDelay.setDescription('') ux25OperRstrtTime = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperRstrtTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRstrtTime.setDescription('') ux25OperCallTime = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperCallTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperCallTime.setDescription('') ux25OperRstTime = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperRstTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRstTime.setDescription('') ux25OperClrTime = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperClrTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperClrTime.setDescription('') ux25OperWinStatTime = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperWinStatTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperWinStatTime.setDescription('') ux25OperWinRotTime = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperWinRotTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperWinRotTime.setDescription('') ux25OperIntrptTime = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperIntrptTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperIntrptTime.setDescription('') ux25OperIdleValue = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperIdleValue.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperIdleValue.setDescription('') ux25OperConnectValue = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperConnectValue.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperConnectValue.setDescription('') ux25OperRstrtCnt = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperRstrtCnt.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRstrtCnt.setDescription('') ux25OperRstCnt = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperRstCnt.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRstCnt.setDescription('') ux25OperClrCnt = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperClrCnt.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperClrCnt.setDescription('') ux25OperLocalDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperLocalDelay.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperLocalDelay.setDescription('') ux25OperAccessDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32000))).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25OperAccessDelay.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperAccessDelay.setDescription('') ux25StatTable = MibTable((1, 3, 6, 1, 4, 1, 429, 1, 10, 11), ) if mibBuilder.loadTexts: ux25StatTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatTable.setDescription('Defines objects that report operational statistics for an X.25 interface.') ux25StatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1), ).setIndexNames((0, "UX25-MIB", "ux25StatIndex")) if mibBuilder.loadTexts: ux25StatEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatEntry.setDescription('Entries of ux25StatTable.') ux25StatIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25StatIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatIndex.setDescription('A unique value for each X.25 subnetwork entity in the chassis. The value of this object matches the value of the index of the corresponding X.25 subnetwork entity entry in the entity table of the chassis MIB.') ux25StatCallsRcvd = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25StatCallsRcvd.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatCallsRcvd.setDescription('Number of incoming calls.') ux25StatCallsSent = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25StatCallsSent.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatCallsSent.setDescription('Number of outgoing calls.') ux25StatCallsRcvdEstab = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25StatCallsRcvdEstab.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatCallsRcvdEstab.setDescription('Number of incoming calls established.') ux25StatCallsSentEstab = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25StatCallsSentEstab.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatCallsSentEstab.setDescription('Number of outgoing calls established.') ux25StatDataPktsRcvd = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25StatDataPktsRcvd.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatDataPktsRcvd.setDescription('Number of data packets received.') ux25StatDataPktsSent = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25StatDataPktsSent.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatDataPktsSent.setDescription('Number of data packets sent.') ux25StatRestartsRcvd = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25StatRestartsRcvd.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatRestartsRcvd.setDescription('Number of restarts received.') ux25StatRestartsSent = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25StatRestartsSent.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatRestartsSent.setDescription('Number of restarts sent.') ux25StatRcvrNotRdyRcvd = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25StatRcvrNotRdyRcvd.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatRcvrNotRdyRcvd.setDescription('Number of receiver not ready received.') ux25StatRcvrNotRdySent = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25StatRcvrNotRdySent.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatRcvrNotRdySent.setDescription('Number of receiver not ready sent.') ux25StatRcvrRdyRcvd = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 12), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25StatRcvrRdyRcvd.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatRcvrRdyRcvd.setDescription('Number of receiver ready received.') ux25StatRcvrRdySent = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 13), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25StatRcvrRdySent.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatRcvrRdySent.setDescription('Number of receiver ready sent.') ux25StatResetsRcvd = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 14), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25StatResetsRcvd.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatResetsRcvd.setDescription('Number of resets received.') ux25StatResetsSent = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 15), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25StatResetsSent.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatResetsSent.setDescription('Number of resets sent.') ux25StatDiagPktsRcvd = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 16), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25StatDiagPktsRcvd.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatDiagPktsRcvd.setDescription('Number of diagnostic packets received.') ux25StatDiagPktsSent = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 17), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25StatDiagPktsSent.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatDiagPktsSent.setDescription('Number of diagnostic packets sent.') ux25StatIntrptPktsRcvd = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 18), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25StatIntrptPktsRcvd.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatIntrptPktsRcvd.setDescription('Number of interrupt packets received.') ux25StatIntrptPktsSent = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 19), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25StatIntrptPktsSent.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatIntrptPktsSent.setDescription('Number of interrupt packets sent.') ux25StatPVCsInDatTrnsfrState = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 20), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25StatPVCsInDatTrnsfrState.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatPVCsInDatTrnsfrState.setDescription('Number of PVCs in Data Transfer State.') ux25StatSVCsInDatTrnsfrState = MibTableColumn((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 21), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ux25StatSVCsInDatTrnsfrState.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatSVCsInDatTrnsfrState.setDescription('Number of SVCs in Data Transfer State.') mibBuilder.exportSymbols("UX25-MIB", ux25AdmnClassTable=ux25AdmnClassTable, ux25AdmnPacketTable=ux25AdmnPacketTable, ux25AdmnPacketEntry=ux25AdmnPacketEntry, ux25AdmnChanneIndex=ux25AdmnChanneIndex, ux25OperPacketEntry=ux25OperPacketEntry, ux25AdmnBarInCall=ux25AdmnBarInCall, ux25AdmnSubExtended=ux25AdmnSubExtended, ux25OperPacketIndex=ux25OperPacketIndex, ux25OperBarToaNpiFormat=ux25OperBarToaNpiFormat, ux25StatEntry=ux25StatEntry, ux25AdmnHighestPVCVal=ux25AdmnHighestPVCVal, ux25OperSubCugia=ux25OperSubCugia, ux25AdmnSubNuiOverride=ux25AdmnSubNuiOverride, ux25AdmnLowestPVCVal=ux25AdmnLowestPVCVal, ux25OperChannelLIC=ux25OperChannelLIC, ux25AdmnAckDelay=ux25AdmnAckDelay, ux25OperThclassNegToDef=ux25OperThclassNegToDef, ux25OperBarOutCall=ux25OperBarOutCall, ux25AdmnChannelHIC=ux25AdmnChannelHIC, ux25StatResetsSent=ux25StatResetsSent, ux25AdmnUseDiagnosticPacket=ux25AdmnUseDiagnosticPacket, ux25OperRstrtCnt=ux25OperRstrtCnt, ux25StatCallsRcvdEstab=ux25StatCallsRcvdEstab, ux25OperSubscriberIndex=ux25OperSubscriberIndex, ux25AdmnLocalDelay=ux25AdmnLocalDelay, ux25OperCugFormat=ux25OperCugFormat, ux25OperLocDefPktSize=ux25OperLocDefPktSize, ux25AdmnPrtyEncodeCtrl=ux25AdmnPrtyEncodeCtrl, ux25OperDbitOutAccept=ux25OperDbitOutAccept, ux25OperNetMode=ux25OperNetMode, ux25OperClrTime=ux25OperClrTime, ux25AdmnChannelEntry=ux25AdmnChannelEntry, ux25OperTimerIndex=ux25OperTimerIndex, ux25AdmnRstTime=ux25AdmnRstTime, ux25AdmnIntlAddrRecognition=ux25AdmnIntlAddrRecognition, ux25AdmnBarNonPrivilegeListen=ux25AdmnBarNonPrivilegeListen, ux25OperLocMaxPktSize=ux25OperLocMaxPktSize, ux25StatPVCsInDatTrnsfrState=ux25StatPVCsInDatTrnsfrState, ux25AdmnItutClearLen=ux25AdmnItutClearLen, ux25OperChannelTable=ux25OperChannelTable, ux25AdmnSubLocChargePrevent=ux25AdmnSubLocChargePrevent, ux25OperLowestPVCVal=ux25OperLowestPVCVal, ux25StatTable=ux25StatTable, ux25OperRemMaxPktSize=ux25OperRemMaxPktSize, ux25OperSubNuiOverride=ux25OperSubNuiOverride, ux25AdmnLocMaxPktSize=ux25AdmnLocMaxPktSize, usr=usr, ux25AdmnRemMaxThruPutClass=ux25AdmnRemMaxThruPutClass, ux25OperChannelLTC=ux25OperChannelLTC, ux25AdmnBarInCug=ux25AdmnBarInCug, ux25OperClassIndex=ux25OperClassIndex, ux25OperAccNoDiagnostic=ux25OperAccNoDiagnostic, ux25AdmnWinRotTime=ux25AdmnWinRotTime, ux25OperItutClearLen=ux25OperItutClearLen, ux25OperLocMinThruPutClass=ux25OperLocMinThruPutClass, ux25OperDbitInData=ux25OperDbitInData, ux25AdmnTimerEntry=ux25AdmnTimerEntry, ux25AdmnDbitOutData=ux25AdmnDbitOutData, ux25StatSVCsInDatTrnsfrState=ux25StatSVCsInDatTrnsfrState, ux25OperIntlAddrRecognition=ux25OperIntlAddrRecognition, ux25AdmnDiscNzDiagnostic=ux25AdmnDiscNzDiagnostic, ux25OperLocalDelay=ux25OperLocalDelay, ux25OperPktSequencing=ux25OperPktSequencing, ux25OperRemDefPktSize=ux25OperRemDefPktSize, ux25OperRstrtTime=ux25OperRstrtTime, ux25StatRestartsRcvd=ux25StatRestartsRcvd, ux25AdmnAcceptHexAdd=ux25AdmnAcceptHexAdd, ux25StatDiagPktsSent=ux25StatDiagPktsSent, ux25AdmnChannelLTC=ux25AdmnChannelLTC, ux25OperPrtyPktForcedVal=ux25OperPrtyPktForcedVal, ux25OperThclassType=ux25OperThclassType, ux25OperRstCnt=ux25OperRstCnt, ux25AdmnSubCugIaoa=ux25AdmnSubCugIaoa, ux25AdmnChannelTable=ux25AdmnChannelTable, ux25AdmnRemMinThruPutClass=ux25AdmnRemMinThruPutClass, ux25AdmnChannelLOC=ux25AdmnChannelLOC, ux25AdmnBarDiagnosticPacket=ux25AdmnBarDiagnosticPacket, ux25OperIntrptTime=ux25OperIntrptTime, ux25AdmnSubCugPref=ux25AdmnSubCugPref, ux25OperDiscNzDiagnostic=ux25OperDiscNzDiagnostic, ux25AdmnConnectValue=ux25AdmnConnectValue, ux25OperChannelHOC=ux25OperChannelHOC, ux25AdmnSubscriberEntry=ux25AdmnSubscriberEntry, ux25OperLocDefWinSize=ux25OperLocDefWinSize, ux25AdmnRemDefWinSize=ux25AdmnRemDefWinSize, ux25OperThclassPackMap=ux25OperThclassPackMap, ux25OperSubCugIaoa=ux25OperSubCugIaoa, ux25OperSubLocChargePrevent=ux25OperSubLocChargePrevent, ux25OperRemDefThruPutClass=ux25OperRemDefThruPutClass, ux25AdmnProtocolVersion=ux25AdmnProtocolVersion, ux25OperRstTime=ux25OperRstTime, ux25AdmnNetMode=ux25AdmnNetMode, ux25AdmnClassIndex=ux25AdmnClassIndex, ux25OperSrcAddrCtrl=ux25OperSrcAddrCtrl, ux25AdmnIntlPrioritized=ux25AdmnIntlPrioritized, ux25OperBarInCug=ux25OperBarInCug, ux25AdmnRemMaxWinSize=ux25AdmnRemMaxWinSize, ux25StatRcvrNotRdySent=ux25StatRcvrNotRdySent, ux25AdmnDbitOutAccept=ux25AdmnDbitOutAccept, ux25OperAccessDelay=ux25OperAccessDelay, ux25AdmnRstrtCnt=ux25AdmnRstrtCnt, ux25StatIntrptPktsSent=ux25StatIntrptPktsSent, ux25StatDataPktsSent=ux25StatDataPktsSent, ux25AdmnTimerTable=ux25AdmnTimerTable, ux25OperTimerTable=ux25OperTimerTable, ux25AdmnThclassType=ux25AdmnThclassType, ux25AdmnMaxNSDULimit=ux25AdmnMaxNSDULimit, ux25OperMaxNSDULimit=ux25OperMaxNSDULimit, ux25OperBarDiagnosticPacket=ux25OperBarDiagnosticPacket, ux25OperWinStatTime=ux25OperWinStatTime, ux25AdmnChannelHOC=ux25AdmnChannelHOC, ux25StatResetsRcvd=ux25StatResetsRcvd, ux25StatRestartsSent=ux25StatRestartsSent, ux25StatCallsRcvd=ux25StatCallsRcvd, ux25OperBarExtended=ux25OperBarExtended, ux25AdmnLocDefWinSize=ux25AdmnLocDefWinSize, ux25OperAcceptHexAdd=ux25OperAcceptHexAdd, ux25OperSubToaNpiFormat=ux25OperSubToaNpiFormat, ux25OperDbitInAccept=ux25OperDbitInAccept, ux25OperSubCugPref=ux25OperSubCugPref, ux25AdmnDbitInAccept=ux25AdmnDbitInAccept, ux25OperConnectValue=ux25OperConnectValue, ux25StatDiagPktsRcvd=ux25StatDiagPktsRcvd, ux25OperIdleValue=ux25OperIdleValue, ux25OperSubscriberTable=ux25OperSubscriberTable, ux25StatRcvrRdyRcvd=ux25StatRcvrRdyRcvd, ux25OperClassTable=ux25OperClassTable, ux25OperThclassWinMap=ux25OperThclassWinMap, ux25OperDnic=ux25OperDnic, ux25AdmnSubscriberIndex=ux25AdmnSubscriberIndex, ux25AdmnIdleValue=ux25AdmnIdleValue, ux25AdmnClassEntry=ux25AdmnClassEntry, ux25OperWinRotTime=ux25OperWinRotTime, ux25AdmnTimerIndex=ux25AdmnTimerIndex, ux25AdmnClrCnt=ux25AdmnClrCnt, ux25AdmnLocMaxThruPutClass=ux25AdmnLocMaxThruPutClass, ux25StatIntrptPktsRcvd=ux25StatIntrptPktsRcvd, ux25AdmnRstrtTime=ux25AdmnRstrtTime, ux25AdmnSubToaNpiFormat=ux25AdmnSubToaNpiFormat, ux25OperChannelIndex=ux25OperChannelIndex, ux25AdmnSubFstSelNoRstrct=ux25AdmnSubFstSelNoRstrct, ux25OperSubCugoa=ux25OperSubCugoa, ux25OperAccptRvsChrgng=ux25OperAccptRvsChrgng, ux25StatRcvrRdySent=ux25StatRcvrRdySent, ux25OperHighestPVCVal=ux25OperHighestPVCVal, ux25AdmnAccNoDiagnostic=ux25AdmnAccNoDiagnostic, ux25OperPacketTable=ux25OperPacketTable, ux25AdmnInterfaceMode=ux25AdmnInterfaceMode, ux25OperUseDiagnosticPacket=ux25OperUseDiagnosticPacket, ux25AdmnWinStatTime=ux25AdmnWinStatTime, ux25StatDataPktsRcvd=ux25StatDataPktsRcvd, ux25OperChannelLOC=ux25OperChannelLOC, ux25AdmnDbitInData=ux25AdmnDbitInData, ux25StatCallsSent=ux25StatCallsSent, ux25AdmnLocMinThruPutClass=ux25AdmnLocMinThruPutClass, ux25AdmnPktSequencing=ux25AdmnPktSequencing, ux25OperBarNonPrivilegeListen=ux25OperBarNonPrivilegeListen, ux25OperInterfaceMode=ux25OperInterfaceMode, ux25AdmnIntrptTime=ux25AdmnIntrptTime, ux25AdmnBarOutCall=ux25AdmnBarOutCall, ux25OperProtocolVersion=ux25OperProtocolVersion, ux25OperBarInCall=ux25OperBarInCall, ux25AdmnBarExtended=ux25AdmnBarExtended, ux25OperIntlPrioritized=ux25OperIntlPrioritized, ux25AdmnPacketIndex=ux25AdmnPacketIndex, ux25OperDbitOutData=ux25OperDbitOutData, ux25AdmnRemDefPktSize=ux25AdmnRemDefPktSize, ux25OperSubscriberEntry=ux25OperSubscriberEntry, ux25OperClassEntry=ux25OperClassEntry, ux25OperPrtyEncodeCtrl=ux25OperPrtyEncodeCtrl, ux25OperRemMaxWinSize=ux25OperRemMaxWinSize, ux25AdmnCallTime=ux25AdmnCallTime, ux25AdmnPrtyPktForcedVal=ux25AdmnPrtyPktForcedVal, ux25AdmnAccptRvsChrgng=ux25AdmnAccptRvsChrgng, ux25OperRemMinThruPutClass=ux25OperRemMinThruPutClass, ux25OperClrCnt=ux25OperClrCnt, ux25AdmnSrcAddrCtrl=ux25AdmnSrcAddrCtrl, ux25StatRcvrNotRdyRcvd=ux25StatRcvrNotRdyRcvd, ux25OperSubExtended=ux25OperSubExtended, ux25OperSubFstSelNoRstrct=ux25OperSubFstSelNoRstrct, ux25OperSubFstSelWthRstrct=ux25OperSubFstSelWthRstrct, ux25OperChannelHTC=ux25OperChannelHTC, ux25OperCallTime=ux25OperCallTime, ux25AdmnBarToaNpiFormat=ux25AdmnBarToaNpiFormat, ux25AdmnLocMaxWinSize=ux25AdmnLocMaxWinSize, ux25AdmnLocDefThruPutClass=ux25AdmnLocDefThruPutClass, ux25OperLocMaxWinSize=ux25OperLocMaxWinSize, ux25OperRemDefWinSize=ux25OperRemDefWinSize, ux25AdmnChannelHTC=ux25AdmnChannelHTC, ux25AdmnRemMaxPktSize=ux25AdmnRemMaxPktSize, ux25AdmnSubFstSelWthRstrct=ux25AdmnSubFstSelWthRstrct, ux25AdmnClrTime=ux25AdmnClrTime, ux25OperLocDefThruPutClass=ux25OperLocDefThruPutClass, ux25OperChannelEntry=ux25OperChannelEntry, ux25=ux25, ux25OperChannelHIC=ux25OperChannelHIC, ux25OperRemMaxThruPutClass=ux25OperRemMaxThruPutClass, ux25AdmnRemDefThruPutClass=ux25AdmnRemDefThruPutClass, ux25AdmnThclassNegToDef=ux25AdmnThclassNegToDef, ux25AdmnThclassWinMap=ux25AdmnThclassWinMap, ux25AdmnSubCugoa=ux25AdmnSubCugoa, ux25AdmnDnic=ux25AdmnDnic, ux25AdmnSubCugia=ux25AdmnSubCugia, ux25AdmnCugFormat=ux25AdmnCugFormat, nas=nas, ux25AdmnChannelLIC=ux25AdmnChannelLIC, ux25AdmnLocDefPktSize=ux25AdmnLocDefPktSize, ux25AdmnAccessDelay=ux25AdmnAccessDelay, ux25OperAckDelay=ux25OperAckDelay, ux25StatCallsSentEstab=ux25StatCallsSentEstab, ux25AdmnSubscriberTable=ux25AdmnSubscriberTable, ux25AdmnRstCnt=ux25AdmnRstCnt, ux25AdmnThclassPackMap=ux25AdmnThclassPackMap, ux25OperLocMaxThruPutClass=ux25OperLocMaxThruPutClass, ux25StatIndex=ux25StatIndex, ux25OperTimerEntry=ux25OperTimerEntry)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, constraints_intersection, single_value_constraint, value_range_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueRangeConstraint', 'ValueSizeConstraint') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (gauge32, enterprises, ip_address, counter64, module_identity, unsigned32, bits, mib_scalar, mib_table, mib_table_row, mib_table_column, object_identity, integer32, counter32, iso, experimental, mib_identifier, time_ticks, notification_type) = mibBuilder.importSymbols('SNMPv2-SMI', 'Gauge32', 'enterprises', 'IpAddress', 'Counter64', 'ModuleIdentity', 'Unsigned32', 'Bits', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'ObjectIdentity', 'Integer32', 'Counter32', 'iso', 'experimental', 'MibIdentifier', 'TimeTicks', 'NotificationType') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') usr = mib_identifier((1, 3, 6, 1, 4, 1, 429)) nas = mib_identifier((1, 3, 6, 1, 4, 1, 429, 1)) ux25 = mib_identifier((1, 3, 6, 1, 4, 1, 429, 1, 10)) ux25_admn_channel_table = mib_table((1, 3, 6, 1, 4, 1, 429, 1, 10, 1)) if mibBuilder.loadTexts: ux25AdmnChannelTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnChannelTable.setDescription('Defines objects for the parameters of an X.25 interface which the administrator can read and set.') ux25_admn_channel_entry = mib_table_row((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1)).setIndexNames((0, 'UX25-MIB', 'ux25AdmnChanneIndex')) if mibBuilder.loadTexts: ux25AdmnChannelEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnChannelEntry.setDescription('Entries of ux25AdmnChannelTable.') ux25_admn_channe_index = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25AdmnChanneIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnChanneIndex.setDescription('A unique value for each X.25 subnetwork entity in the chassis. The value of this object matches the value of the index of the corresponding X.25 subnetwork entity entry in the entity table of the chassis MIB.') ux25_admn_net_mode = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24))).clone(namedValues=named_values(('x25Llc', 1), ('x2588', 2), ('x2584', 3), ('x2580', 4), ('pss', 5), ('austpac', 6), ('datapac', 7), ('ddn', 8), ('telenet', 9), ('transpac', 10), ('tymnet', 11), ('datexP', 12), ('ddxP', 13), ('venusP', 14), ('accunet', 15), ('itapac', 16), ('datapak', 17), ('datanet', 18), ('dcs', 19), ('telepac', 20), ('fDatapac', 21), ('finpac', 22), ('pacnet', 23), ('luxpac', 24)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnNetMode.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnNetMode.setDescription('Selects the network protocol to be used. Default=x2584(3).') ux25_admn_protocol_version = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('x25ver80', 1), ('x25ver84', 2), ('x25ver88', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnProtocolVersion.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnProtocolVersion.setDescription('Determines the X.25 protocol version being used on the network. A network mode of X25_LLC overides this field to the 1984 standard. Default=x25ver84(3).') ux25_admn_interface_mode = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('dceMode', 1), ('dteMode', 2), ('dxeMode', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnInterfaceMode.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnInterfaceMode.setDescription('Indicates the DTE/DCE nature of the link. The DXE parameter is resolved using ISO 8208 for DTE-DTE operation. Default=dteMode(2).') ux25_admn_lowest_pvc_val = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnLowestPVCVal.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnLowestPVCVal.setDescription('Low end of the Permanent Virtual Circuit range. If both the Low and High ends of the range are set to 0 there are no PVCs. Default=0.') ux25_admn_highest_pvc_val = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnHighestPVCVal.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnHighestPVCVal.setDescription('High end of the Permanent Virtual Circuit range. If both the Low and High ends of the range are set to 0 there are no PVCs. Default=0.') ux25_admn_channel_lic = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnChannelLIC.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnChannelLIC.setDescription('Low end of the one-way incoming logical channel. If both Low and High ends of the channel are set to 0, there are no one-way incoming channels. Default=0.') ux25_admn_channel_hic = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnChannelHIC.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnChannelHIC.setDescription('High end of the one-way incoming logical channel. If both Low and High ends of the channel are set to 0, there are no one-way incoming channels. Default=0.') ux25_admn_channel_ltc = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnChannelLTC.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnChannelLTC.setDescription('Low end of the two-way incoming logical channel. If both Low and High ends of the channel are set to 0, there are no two-way incoming channels. Default=1024.') ux25_admn_channel_htc = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnChannelHTC.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnChannelHTC.setDescription('High end of the two-way incoming logical channel. If both Low and High ends of the channel are set to 0, there are no two-way incoming channels. Default=1087.') ux25_admn_channel_loc = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnChannelLOC.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnChannelLOC.setDescription('Low end of the one-way outgoing logical channel. If both Low and High ends of the channel are set to 0, there are no one-way outgoing channels. Default=0.') ux25_admn_channel_hoc = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 1, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnChannelHOC.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnChannelHOC.setDescription('High end of the one-way outgoing logical channel. If both Low and High ends of the channel are set to 0, there are no one-way outgoing channels. Default=0.') ux25_admn_class_table = mib_table((1, 3, 6, 1, 4, 1, 429, 1, 10, 2)) if mibBuilder.loadTexts: ux25AdmnClassTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnClassTable.setDescription('Defines objects for the parameters of an X.25 interface which the administrator can read and set.') ux25_admn_class_entry = mib_table_row((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1)).setIndexNames((0, 'UX25-MIB', 'ux25AdmnClassIndex')) if mibBuilder.loadTexts: ux25AdmnClassEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnClassEntry.setDescription('Entries of ux25AdmnClassTable.') ux25_admn_class_index = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25AdmnClassIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnClassIndex.setDescription('A unique value for each X.25 subnetwork entity in the chassis. The value of this object matches the value of the index of the corresponding X.25 subnetwork entity entry in the entity table of the chassis MIB.') ux25_admn_loc_max_thru_put_class = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=named_values(('tcReserved0', 1), ('tcReserved1', 2), ('tcReserved2', 3), ('tc75', 4), ('tc150', 5), ('tc300', 6), ('tc600', 7), ('tc1200', 8), ('tc2400', 9), ('tc4800', 10), ('tc9600', 11), ('tc19200', 12), ('tc48000', 13), ('tcReserved13', 14), ('tcReserved14', 15), ('tcReserved15', 16)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnLocMaxThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnLocMaxThruPutClass.setDescription('The maximum value of the throughput class Quality of Service parameter which is supported. According to ISO 8208 this parameter is bounded in the range >=3 and <=12 corresponding to a range 75 to 48000 bits/second. The range supported here is 0 to 15 for non-standard X.25 implementations, which use the Throughput Class Window/Packet Parameters (Group II). Default=12.') ux25_admn_rem_max_thru_put_class = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=named_values(('tcReserved0', 1), ('tcReserved1', 2), ('tcReserved2', 3), ('tc75', 4), ('tc150', 5), ('tc300', 6), ('tc600', 7), ('tc1200', 8), ('tc2400', 9), ('tc4800', 10), ('tc9600', 11), ('tc19200', 12), ('tc48000', 13), ('tcReserved13', 14), ('tcReserved14', 15), ('tcReserved15', 16)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnRemMaxThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRemMaxThruPutClass.setDescription('The maximum value of the throughput class Quality of Service parameter which is supported. According to ISO 8208 this parameter is bounded in the range >=3 and <=12 corresponding to a range 75 to 48000 bits/second. The range supported here is 0 to 15 for non-standard X.25 implementations, which use the Throughput Class Window/Packet Parameters (Group II). Default=12.') ux25_admn_loc_def_thru_put_class = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=named_values(('tcReserved0', 1), ('tcReserved1', 2), ('tcReserved2', 3), ('tc75', 4), ('tc150', 5), ('tc300', 6), ('tc600', 7), ('tc1200', 8), ('tc2400', 9), ('tc4800', 10), ('tc9600', 11), ('tc19200', 12), ('tc48000', 13), ('tcReserved13', 14), ('tcReserved14', 15), ('tcReserved15', 16)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnLocDefThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnLocDefThruPutClass.setDescription('The default throughput class that is defined for the local-to-remote direction. In some networks, such as TELENET, negotiation of throughput class is constrained to be towards a configured default throughput class. In other PSDNs, this value should be set equal to the value of the Maximum Local Throughput Class. Default=12.') ux25_admn_rem_def_thru_put_class = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=named_values(('tcReserved0', 1), ('tcReserved1', 2), ('tcReserved2', 3), ('tc75', 4), ('tc150', 5), ('tc300', 6), ('tc600', 7), ('tc1200', 8), ('tc2400', 9), ('tc4800', 10), ('tc9600', 11), ('tc19200', 12), ('tc48000', 13), ('tcReserved13', 14), ('tcReserved14', 15), ('tcReserved15', 16)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnRemDefThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRemDefThruPutClass.setDescription('The default throughput class value defined for remote-to-local direction. In some networks, such as TELENET, negotiation of throughput class is constrained to be towards a configured default throughput class. In other PSDNs, this value should be set equal to the value of the Maximum Remote Throughput Class. Default=12.') ux25_admn_loc_min_thru_put_class = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=named_values(('tcReserved0', 1), ('tcReserved1', 2), ('tcReserved2', 3), ('tc75', 4), ('tc150', 5), ('tc300', 6), ('tc600', 7), ('tc1200', 8), ('tc2400', 9), ('tc4800', 10), ('tc9600', 11), ('tc19200', 12), ('tc48000', 13), ('tcReserved13', 14), ('tcReserved14', 15), ('tcReserved15', 16)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnLocMinThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnLocMinThruPutClass.setDescription('According to ISO 8208, the throughput class parameter is defined in the range of >=3 to <=12. Some PSDNs may provide different mapping, in which case, this parameter is the minimum value. Default=3.') ux25_admn_rem_min_thru_put_class = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=named_values(('tcReserved0', 1), ('tcReserved1', 2), ('tcReserved2', 3), ('tc75', 4), ('tc150', 5), ('tc300', 6), ('tc600', 7), ('tc1200', 8), ('tc2400', 9), ('tc4800', 10), ('tc9600', 11), ('tc19200', 12), ('tc48000', 13), ('tcReserved13', 14), ('tcReserved14', 15), ('tcReserved15', 16)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnRemMinThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRemMinThruPutClass.setDescription('According to ISO 8208, the throughput class parameter is defined in the range of >=3 to <=12. Some PSDNs may provide different mapping, in which case, this parameter is the minimum value. Default=3.') ux25_admn_thclass_neg_to_def = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnThclassNegToDef.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnThclassNegToDef.setDescription('Determines if throughput class negotiation will be used for certain network procedures. Default=disable(1).') ux25_admn_thclass_type = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('noTcType', 1), ('loNibble', 2), ('highNibble', 3), ('bothNibbles', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnThclassType.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnThclassType.setDescription('Defines which throughput class encodings can be used to assign packet and window sizes. Some implementations of X.25 do not use the X.25 packet and window negotiation and rely on mapping the throughput class to these parameters. Default=noTcType(1).') ux25_admn_thclass_win_map = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 10), display_string().subtype(subtypeSpec=value_size_constraint(31, 63))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnThclassWinMap.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnThclassWinMap.setDescription('The mapping between throughput class and a window parameter. Each number has a range of 1 to 127. Default=3.3.3.3.3.3.3.3.3.3.3.3.3.3.3.3') ux25_admn_thclass_pack_map = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 2, 1, 11), display_string().subtype(subtypeSpec=value_size_constraint(31, 47))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnThclassPackMap.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnThclassPackMap.setDescription('The mapping between the throughput class and a packet parameter. Each number has a range of 4 to 12. Default=7.7.7.7.7.7.7.7.7.7.7.7.7.7.7.7') ux25_admn_packet_table = mib_table((1, 3, 6, 1, 4, 1, 429, 1, 10, 3)) if mibBuilder.loadTexts: ux25AdmnPacketTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnPacketTable.setDescription('Defines objects for the parameters of an X.25 interface which the administrator can read and set.') ux25_admn_packet_entry = mib_table_row((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1)).setIndexNames((0, 'UX25-MIB', 'ux25AdmnPacketIndex')) if mibBuilder.loadTexts: ux25AdmnPacketEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnPacketEntry.setDescription('Entries of ux25AdmnPacketTable.') ux25_admn_packet_index = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25AdmnPacketIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnPacketIndex.setDescription('A unique value for each X.25 subnetwork entity in the chassis. The value of this object matches the value of the index of the corresponding X.25 subnetwork entity entry in the entity table of the chassis MIB.') ux25_admn_pkt_sequencing = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(16, 32))).clone(namedValues=named_values(('pktSeq8', 16), ('pktSeq128', 32)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnPktSequencing.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnPktSequencing.setDescription('Indicates whether modulo 8 or 128 sequence numbering operates on the network. Default=pktSeq8(16).') ux25_admn_loc_max_pkt_size = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(7, 8, 9))).clone(namedValues=named_values(('maxPktSz128', 7), ('maxPktSz256', 8), ('maxPktSz512', 9)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnLocMaxPktSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnLocMaxPktSize.setDescription('Maximum acceptable size of packets in the local-to-remote direction. On an incoming call, a value for the packet size parameter greater than this value will be negotiated down to an acceptable size when the call is accepted. Default=maxPktSz256(8).') ux25_admn_rem_max_pkt_size = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(7, 8, 9))).clone(namedValues=named_values(('maxPktSz128', 7), ('maxPktSz256', 8), ('maxPktSz512', 9)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnRemMaxPktSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRemMaxPktSize.setDescription('Maximum acceptable size of packets in the remote-to-local direction. On an incoming call, a value for the packet size parameter greater than this value will be negotiated down to an acceptable size when the call is accepted. Default=maxPktSz256(8).') ux25_admn_loc_def_pkt_size = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('defPktSz16', 4), ('defPktSz32', 5), ('defPktSz64', 6), ('defPktSz128', 7), ('defPktSz256', 8), ('defPktSz512', 9)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnLocDefPktSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnLocDefPktSize.setDescription('Specifies the value of the default packet size for the direction local-to-remote, which may be nonstandard, provided the value is agreed between the communicating parties on the LAN or between the DTE and DCE. Default=defPktSz256(8).') ux25_admn_rem_def_pkt_size = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('defPktSz16', 4), ('defPktSz32', 5), ('defPktSz64', 6), ('defPktSz128', 7), ('defPktSz256', 8), ('defPktSz512', 9)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnRemDefPktSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRemDefPktSize.setDescription('Specifies the value of the default packet size for the direction remote-to-local, which may be nonstandard, provided the value is agreed between the communicating parties on the LAN or between the DTE and DCE. Default=defPktSz256(8).') ux25_admn_loc_max_win_size = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(2, 127))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnLocMaxWinSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnLocMaxWinSize.setDescription('Specifies the maximum local window size. NOTE: 127 allowed only for modulo 128 networks. Default=7.') ux25_admn_rem_max_win_size = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(2, 127))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnRemMaxWinSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRemMaxWinSize.setDescription('Specifies the maximum remote window size. NOTE: 127 allowed only for modulo 128 networks. Default=7.') ux25_admn_loc_def_win_size = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(1, 127))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnLocDefWinSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnLocDefWinSize.setDescription('Specifies the value of the default window size, which may be nonstandard, provided the value is agreed on by all parties on the LAN between the DTE and DCE. NOTE: The sequence numbering scheme affects the range of this parameter. Default=2.') ux25_admn_rem_def_win_size = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(1, 127))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnRemDefWinSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRemDefWinSize.setDescription('Specifies the value of the default window size, which may be nonstandard, provided the value is agreed on by all parties on the LAN between the DTE and DCE. NOTE: The sequence numbering scheme affects the range of this parameter. Default=2.') ux25_admn_max_nsdu_limit = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnMaxNSDULimit.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnMaxNSDULimit.setDescription('The default maximum length beyond which concatenation is stopped and data currently held is passed to the Network Service user. Default=256.') ux25_admn_acc_no_diagnostic = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnAccNoDiagnostic.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnAccNoDiagnostic.setDescription('Allow the omission of the diagnostic byte in incoming RESTART, CLEAR and RESET INDICATION packets. Default=disable(1).') ux25_admn_use_diagnostic_packet = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnUseDiagnosticPacket.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnUseDiagnosticPacket.setDescription('Use diagnostic packets. Default=disable(1).') ux25_admn_itut_clear_len = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnItutClearLen.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnItutClearLen.setDescription('Restrict the length of a CLEAR INDICATION to 5 bytes and a CLEAR CONFIRM to 3 bytes. Default=disable(1).') ux25_admn_bar_diagnostic_packet = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnBarDiagnosticPacket.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnBarDiagnosticPacket.setDescription('Bar diagnostic packets. Default=disable(1).') ux25_admn_disc_nz_diagnostic = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnDiscNzDiagnostic.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnDiscNzDiagnostic.setDescription('Discard all diagnostic packets on a non-zero LCN. Default=disable(1).') ux25_admn_accept_hex_add = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnAcceptHexAdd.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnAcceptHexAdd.setDescription('Allow DTE addresses to contain hexadecimal digits. Default=disable(1).') ux25_admn_bar_non_privilege_listen = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnBarNonPrivilegeListen.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnBarNonPrivilegeListen.setDescription('Disallow a non-privileged user (i.e without superuser privilege) from listening for incoming calls. Default=enable(2).') ux25_admn_intl_addr_recognition = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('notDistinguished', 1), ('examineDnic', 2), ('prefix1', 3), ('prefix0', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnIntlAddrRecognition.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnIntlAddrRecognition.setDescription("Determine whether outgoing international calls are to be accepted. The values and their interpretation are: 1 - International calls are not distinguished. 2 - The DNIC of the called DTE address is examined and compared to that held in the psdn_local members dnic1 and dnic2. A mismatch implies an international call. 3 - International calls are distinguished by having a '1' prefix on the DTE address. 4 - International calls are distinguished by having a '0' prefix on the DTE address. Default=notDistinguished(1).") ux25_admn_dnic = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 20), display_string().subtype(subtypeSpec=value_size_constraint(4, 4)).setFixedLength(4)).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnDnic.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnDnic.setDescription('This field contains the first four digits of DNIC and is only used when ux25AdmnIntlAddrRecognition is set to examineDnic(2). Note this field must contain exactly four BCD digits. Default=0000.') ux25_admn_intl_prioritized = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnIntlPrioritized.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnIntlPrioritized.setDescription('Determine whether some prioritizing method is to used for international calls and is used in conjuction with ux25AdmnPrtyEncodeCtrl and ux25AdmnPrtyPktForced value. Default=disable(1).') ux25_admn_prty_encode_ctrl = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('x2588', 1), ('datapacPriority76', 2), ('datapacTraffic80', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnPrtyEncodeCtrl.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnPrtyEncodeCtrl.setDescription('Describes how the priority request is to be encoded for this PSDN. Default=x2588(1).') ux25_admn_prty_pkt_forced_val = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 5, 6, 7, 8, 9, 10, 11, 12, 13))).clone(namedValues=named_values(('prioPktSz0', 1), ('prioPktSz4', 5), ('prioPktSz5', 6), ('prioPktSz6', 7), ('prioPktSz7', 8), ('prioPktSz8', 9), ('prioPktSz9', 10), ('prioPktSz10', 11), ('prioPktSz11', 12), ('prioPktSz12', 13)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnPrtyPktForcedVal.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnPrtyPktForcedVal.setDescription('If this entry is other than prioPktSz1(1) all priority call requests and incoming calls should have the associated packet size parameter forced to this value. Note that the actual packet size is 2 to the power of this parameter. Default=prioPktSz1(1).') ux25_admn_src_addr_ctrl = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('noSaCntrl', 1), ('omitDte', 2), ('useLocal', 3), ('forceLocal', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnSrcAddrCtrl.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSrcAddrCtrl.setDescription('Provide a means to override or set the calling address in outgoing call requests for this PSDN. Default=noSaCntrl(1).') ux25_admn_dbit_in_accept = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 25), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('leaveDbit', 1), ('zeroDbit', 2), ('clearCall', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnDbitInAccept.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnDbitInAccept.setDescription('Defines the action to take when a Call Accept is received with the D-bit set and there is no local D-bit support. Default=clearCall(3).') ux25_admn_dbit_out_accept = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 26), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('leaveDbit', 1), ('zeroDbit', 2), ('clearCall', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnDbitOutAccept.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnDbitOutAccept.setDescription('Defines the action to take when the remote user sends a Call Accept with the D-bit set when the local user did not request use of the D-bit. Default=clearCall(3).') ux25_admn_dbit_in_data = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('leaveDbit', 1), ('zeroDbit', 2), ('clearCall', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnDbitInData.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnDbitInData.setDescription('Defines the action to take when a data packet is received with the D-bit set and the local user did not request use of the D-bit. Default=clearCall(3).') ux25_admn_dbit_out_data = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 3, 1, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('leaveDbit', 1), ('zeroDbit', 2), ('clearCall', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnDbitOutData.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnDbitOutData.setDescription('Defines the action when the local user send a data packet with the D-bit set, but the remote party has not indicated D-bit support. Default=clearCall(3).') ux25_admn_subscriber_table = mib_table((1, 3, 6, 1, 4, 1, 429, 1, 10, 4)) if mibBuilder.loadTexts: ux25AdmnSubscriberTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubscriberTable.setDescription('Defines objects for the parameters of an X.25 interface which the administrator can read and set.') ux25_admn_subscriber_entry = mib_table_row((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1)).setIndexNames((0, 'UX25-MIB', 'ux25AdmnSubscriberIndex')) if mibBuilder.loadTexts: ux25AdmnSubscriberEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubscriberEntry.setDescription('Entries of ux25AdmnSubscriberTable.') ux25_admn_subscriber_index = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25AdmnSubscriberIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubscriberIndex.setDescription('A unique value for each X.25 subnetwork entity in the chassis. The value of this object matches the value of the index of the corresponding X.25 subnetwork entity entry in the entity table of the chassis MIB.') ux25_admn_sub_cug_iaoa = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnSubCugIaoa.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubCugIaoa.setDescription('Specifies if this DTE subscribes to Closed User Groups with Incoming or Outgoing access. Default=enable(2).') ux25_admn_sub_cug_pref = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnSubCugPref.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubCugPref.setDescription('Specifies if this DTE subscribes to a Preferential Closed User Groups. Default=disable(1).') ux25_admn_sub_cugoa = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnSubCugoa.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubCugoa.setDescription('Specifies if this DTE subscribes to Closed User Groups with Outgoing access. Default=disable(1).') ux25_admn_sub_cugia = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnSubCugia.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubCugia.setDescription('Specifies whether or not this DTE subscribes to Closed User Groups with Incoming Access. Default=disable(1).') ux25_admn_cug_format = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('basic', 1), ('extended', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnCugFormat.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnCugFormat.setDescription('The maximum number of Closed User Groups that this DTE subscribes to. This will be one of two ranges: Basic (100 or fewer) or Extended (between 101 and 10000). Default=basic(1).') ux25_admn_bar_in_cug = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnBarInCug.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnBarInCug.setDescription('Provides the means to force rejection of any incoming calls carrying the Closed User Group optional facility (which is necessary in some networks, such as DDN. When enabled, such calls will be rejected, otherwise incoming Closed User Group facilities are ignored. Default=disable(1).') ux25_admn_sub_extended = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnSubExtended.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubExtended.setDescription('Subscribe to extended call packets (Window and Packet size negotiation is permitted). Default=enable(2).') ux25_admn_bar_extended = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnBarExtended.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnBarExtended.setDescription('Treat window and packet size negotiation in incoming packets as a procedure error. Default=disable(1).') ux25_admn_sub_fst_sel_no_rstrct = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnSubFstSelNoRstrct.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubFstSelNoRstrct.setDescription('Subscribe to fast select with no restriction on response. Default=enable(2).') ux25_admn_sub_fst_sel_wth_rstrct = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnSubFstSelWthRstrct.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubFstSelWthRstrct.setDescription('Subscribe to fast select with restriction on response. Default=disable(1).') ux25_admn_accpt_rvs_chrgng = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnAccptRvsChrgng.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnAccptRvsChrgng.setDescription('Allow incoming calls to specify the reverse charging facility. Default=disable(1).') ux25_admn_sub_loc_charge_prevent = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnSubLocChargePrevent.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubLocChargePrevent.setDescription('Subscribe to local charging prevention. Default=disable(1).') ux25_admn_sub_toa_npi_format = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnSubToaNpiFormat.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubToaNpiFormat.setDescription('Subscribe to TOA/NPI Address Format. Default=disable(1).') ux25_admn_bar_toa_npi_format = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnBarToaNpiFormat.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnBarToaNpiFormat.setDescription('Bar incoming call set-up and clearing packets which use the TOA/NPI Address Format. Default=disable(1).') ux25_admn_sub_nui_override = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnSubNuiOverride.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnSubNuiOverride.setDescription('Subscribe to NUI override. Deafult=disable(1).') ux25_admn_bar_in_call = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnBarInCall.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnBarInCall.setDescription('Bar incoming calls. Default=disable(1).') ux25_admn_bar_out_call = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 4, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnBarOutCall.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnBarOutCall.setDescription('Bar outgoing calls. Default=disable(1).') ux25_admn_timer_table = mib_table((1, 3, 6, 1, 4, 1, 429, 1, 10, 5)) if mibBuilder.loadTexts: ux25AdmnTimerTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnTimerTable.setDescription('Defines objects for the parameters of an X.25 interface which the administrator can read and set.') ux25_admn_timer_entry = mib_table_row((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1)).setIndexNames((0, 'UX25-MIB', 'ux25AdmnTimerIndex')) if mibBuilder.loadTexts: ux25AdmnTimerEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnTimerEntry.setDescription('Entries of ux25AdmnTimerTable.') ux25_admn_timer_index = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25AdmnTimerIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnTimerIndex.setDescription('A unique value for each X.25 subnetwork entity in the chassis. The value of this object matches the value of the index of the corresponding X.25 subnetwork entity entry in the entity table of the chassis MIB.') ux25_admn_ack_delay = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnAckDelay.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnAckDelay.setDescription('The maximum number of ticks (0.1 second units) over which a pending acknowledgement is withheld. Default=5.') ux25_admn_rstrt_time = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnRstrtTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRstrtTime.setDescription('The number of ticks (0.1 second units) for the DTE timer parameter T20, the Restart Request Response Timer. Default=1800.') ux25_admn_call_time = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnCallTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnCallTime.setDescription('The number of ticks (0.1 second units) for the DTE timer parameter T21, the Call Request Response Timer. Default=2000.') ux25_admn_rst_time = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnRstTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRstTime.setDescription('The number of ticks (0.1 second units) for the DTE timer parameter T22, the Reset Request Response Timer. Default=1800.') ux25_admn_clr_time = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnClrTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnClrTime.setDescription('The number of ticks (0.1 second units) for the DTE timer parameter T23, the Clear Request Response Timer. Default=1800.') ux25_admn_win_stat_time = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnWinStatTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnWinStatTime.setDescription('Related, but does not correspond exactly to the DTE Window Status Transmission Timer, T24. Specifies the number of ticks (0.1 second units) for the maximum time that acknowledgments of data received from the remote transmitter will be witheld. At timer expiration, any witheld acknowledgments will be carried by a X.25 level 3 RNR packet. Default=750.') ux25_admn_win_rot_time = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnWinRotTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnWinRotTime.setDescription('The number of ticks (0.1 second units) for the DTE timer parameter T25, the Window Rotation Timer. Default=1500.') ux25_admn_intrpt_time = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnIntrptTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnIntrptTime.setDescription('The number of ticks (0.1 second units) for the DTE timer parameter T26, the Interrupt Response Timer. Default=1800.') ux25_admn_idle_value = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnIdleValue.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnIdleValue.setDescription('The number of ticks (0.1 second units) during which a link level connection associated with no connections will be maintained. If the link is to a WAN then this value should be zero (infinity). This timer is only used with X.25 on a LAN. Default=0.') ux25_admn_connect_value = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnConnectValue.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnConnectValue.setDescription('Specifies the number of ticks (0.1 second units), over which the DTE/DCE resolution phase be completely implemented in order to prevent the unlikely event that two packet level entities cannot resolve their DTE/DCE nature. When this expires, the link connection will be disconnected and all pending connections aborted. Default=2000.') ux25_admn_rstrt_cnt = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnRstrtCnt.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRstrtCnt.setDescription('The number of ticks (0.1 second units) for the DTE Restart Request Retransmission Count. Default=1.') ux25_admn_rst_cnt = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnRstCnt.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnRstCnt.setDescription('The number of ticks (0.1 second units) for the DTE Reset Request Retransmission Count. Default=1.') ux25_admn_clr_cnt = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 14), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnClrCnt.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnClrCnt.setDescription('The number of ticks (0.1 second units) for the DTE Clear Request Retransmission Count. Default=1.') ux25_admn_local_delay = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 15), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnLocalDelay.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnLocalDelay.setDescription('The transit delay (in 0.1 second units) attributed to internal processing. Default=5.') ux25_admn_access_delay = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 5, 1, 16), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: ux25AdmnAccessDelay.setStatus('mandatory') if mibBuilder.loadTexts: ux25AdmnAccessDelay.setDescription('The transit delay (in 0.1 second units) attributed to the effect of the line transmission rate. Default=5.') ux25_oper_channel_table = mib_table((1, 3, 6, 1, 4, 1, 429, 1, 10, 6)) if mibBuilder.loadTexts: ux25OperChannelTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperChannelTable.setDescription('Defines objects that report the current parameters used by a running interface. These objects are read only.') ux25_oper_channel_entry = mib_table_row((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1)).setIndexNames((0, 'UX25-MIB', 'ux25OperChannelIndex')) if mibBuilder.loadTexts: ux25OperChannelEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperChannelEntry.setDescription('Entries of ux25OperChannelTable.') ux25_oper_channel_index = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperChannelIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperChannelIndex.setDescription('') ux25_oper_net_mode = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24))).clone(namedValues=named_values(('x25Llc', 1), ('x2588', 2), ('x2584', 3), ('x2580', 4), ('pss', 5), ('austpac', 6), ('datapac', 7), ('ddn', 8), ('telenet', 9), ('transpac', 10), ('tymnet', 11), ('datexP', 12), ('ddxP', 13), ('venusP', 14), ('accunet', 15), ('itapac', 16), ('datapak', 17), ('datanet', 18), ('dcs', 19), ('telepac', 20), ('fDatapac', 21), ('finpac', 22), ('pacnet', 23), ('luxpac', 24)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperNetMode.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperNetMode.setDescription('') ux25_oper_protocol_version = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('x25ver80', 1), ('x25ver84', 2), ('x25ver88', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperProtocolVersion.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperProtocolVersion.setDescription('') ux25_oper_interface_mode = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('dceMode', 1), ('dteMode', 2), ('dxeMode', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperInterfaceMode.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperInterfaceMode.setDescription('') ux25_oper_lowest_pvc_val = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperLowestPVCVal.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperLowestPVCVal.setDescription('') ux25_oper_highest_pvc_val = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperHighestPVCVal.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperHighestPVCVal.setDescription('') ux25_oper_channel_lic = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperChannelLIC.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperChannelLIC.setDescription('') ux25_oper_channel_hic = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperChannelHIC.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperChannelHIC.setDescription('') ux25_oper_channel_ltc = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperChannelLTC.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperChannelLTC.setDescription('') ux25_oper_channel_htc = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperChannelHTC.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperChannelHTC.setDescription('') ux25_oper_channel_loc = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperChannelLOC.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperChannelLOC.setDescription('') ux25_oper_channel_hoc = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 6, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperChannelHOC.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperChannelHOC.setDescription('') ux25_oper_class_table = mib_table((1, 3, 6, 1, 4, 1, 429, 1, 10, 7)) if mibBuilder.loadTexts: ux25OperClassTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperClassTable.setDescription('Defines objects that report the current parameters used by a running interface. These objects are read only.') ux25_oper_class_entry = mib_table_row((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1)).setIndexNames((0, 'UX25-MIB', 'ux25OperClassIndex')) if mibBuilder.loadTexts: ux25OperClassEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperClassEntry.setDescription('Entries of ux25OperTable.') ux25_oper_class_index = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperClassIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperClassIndex.setDescription('') ux25_oper_loc_max_thru_put_class = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=named_values(('tcReserved0', 1), ('tcReserved1', 2), ('tcReserved2', 3), ('tc75', 4), ('tc150', 5), ('tc300', 6), ('tc600', 7), ('tc1200', 8), ('tc2400', 9), ('tc4800', 10), ('tc9600', 11), ('tc19200', 12), ('tc48000', 13), ('tcReserved13', 14), ('tcReserved14', 15), ('tcReserved15', 16)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperLocMaxThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperLocMaxThruPutClass.setDescription('') ux25_oper_rem_max_thru_put_class = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=named_values(('tcReserved0', 1), ('tcReserved1', 2), ('tcReserved2', 3), ('tc75', 4), ('tc150', 5), ('tc300', 6), ('tc600', 7), ('tc1200', 8), ('tc2400', 9), ('tc4800', 10), ('tc9600', 11), ('tc19200', 12), ('tc48000', 13), ('tcReserved13', 14), ('tcReserved14', 15), ('tcReserved15', 16)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperRemMaxThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRemMaxThruPutClass.setDescription('') ux25_oper_loc_def_thru_put_class = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=named_values(('tcReserved0', 1), ('tcReserved1', 2), ('tcReserved2', 3), ('tc75', 4), ('tc150', 5), ('tc300', 6), ('tc600', 7), ('tc1200', 8), ('tc2400', 9), ('tc4800', 10), ('tc9600', 11), ('tc19200', 12), ('tc48000', 13), ('tcReserved13', 14), ('tcReserved14', 15), ('tcReserved15', 16)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperLocDefThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperLocDefThruPutClass.setDescription('') ux25_oper_rem_def_thru_put_class = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=named_values(('tcReserved0', 1), ('tcReserved1', 2), ('tcReserved2', 3), ('tc75', 4), ('tc150', 5), ('tc300', 6), ('tc600', 7), ('tc1200', 8), ('tc2400', 9), ('tc4800', 10), ('tc9600', 11), ('tc19200', 12), ('tc48000', 13), ('tcReserved13', 14), ('tcReserved14', 15), ('tcReserved15', 16)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperRemDefThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRemDefThruPutClass.setDescription('') ux25_oper_loc_min_thru_put_class = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=named_values(('tcReserved0', 1), ('tcReserved1', 2), ('tcReserved2', 3), ('tc75', 4), ('tc150', 5), ('tc300', 6), ('tc600', 7), ('tc1200', 8), ('tc2400', 9), ('tc4800', 10), ('tc9600', 11), ('tc19200', 12), ('tc48000', 13), ('tcReserved13', 14), ('tcReserved14', 15), ('tcReserved15', 16)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperLocMinThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperLocMinThruPutClass.setDescription('') ux25_oper_rem_min_thru_put_class = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=named_values(('tcReserved0', 1), ('tcReserved1', 2), ('tcReserved2', 3), ('tc75', 4), ('tc150', 5), ('tc300', 6), ('tc600', 7), ('tc1200', 8), ('tc2400', 9), ('tc4800', 10), ('tc9600', 11), ('tc19200', 12), ('tc48000', 13), ('tcReserved13', 14), ('tcReserved14', 15), ('tcReserved15', 16)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperRemMinThruPutClass.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRemMinThruPutClass.setDescription('') ux25_oper_thclass_neg_to_def = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperThclassNegToDef.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperThclassNegToDef.setDescription('') ux25_oper_thclass_type = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('noTcType', 1), ('loNibble', 2), ('highNibble', 3), ('bothNibbles', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperThclassType.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperThclassType.setDescription('') ux25_oper_thclass_win_map = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 10), display_string().subtype(subtypeSpec=value_size_constraint(31, 63))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperThclassWinMap.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperThclassWinMap.setDescription('') ux25_oper_thclass_pack_map = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 7, 1, 11), display_string().subtype(subtypeSpec=value_size_constraint(31, 47))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperThclassPackMap.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperThclassPackMap.setDescription('') ux25_oper_packet_table = mib_table((1, 3, 6, 1, 4, 1, 429, 1, 10, 8)) if mibBuilder.loadTexts: ux25OperPacketTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperPacketTable.setDescription('Defines objects that report the current parameters used by a running interface. These objects are read only.') ux25_oper_packet_entry = mib_table_row((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1)).setIndexNames((0, 'UX25-MIB', 'ux25OperPacketIndex')) if mibBuilder.loadTexts: ux25OperPacketEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperPacketEntry.setDescription('Entries of ux25OperPacketTable.') ux25_oper_packet_index = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperPacketIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperPacketIndex.setDescription('') ux25_oper_pkt_sequencing = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(16, 32))).clone(namedValues=named_values(('pktSeq8', 16), ('pktSeq128', 32)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperPktSequencing.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperPktSequencing.setDescription('') ux25_oper_loc_max_pkt_size = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(7, 8, 9))).clone(namedValues=named_values(('maxPktSz128', 7), ('maxPktSz256', 8), ('maxPktSz512', 9)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperLocMaxPktSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperLocMaxPktSize.setDescription('') ux25_oper_rem_max_pkt_size = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(7, 8, 9))).clone(namedValues=named_values(('maxPktSz128', 7), ('maxPktSz256', 8), ('maxPktSz512', 9)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperRemMaxPktSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRemMaxPktSize.setDescription('') ux25_oper_loc_def_pkt_size = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('defPktSz16', 4), ('defPktSz32', 5), ('defPktSz64', 6), ('defPktSz128', 7), ('defPktSz256', 8), ('defPktSz512', 9)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperLocDefPktSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperLocDefPktSize.setDescription('') ux25_oper_rem_def_pkt_size = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('defPktSz16', 4), ('defPktSz32', 5), ('defPktSz64', 6), ('defPktSz128', 7), ('defPktSz256', 8), ('defPktSz512', 9)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperRemDefPktSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRemDefPktSize.setDescription('') ux25_oper_loc_max_win_size = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(2, 127))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperLocMaxWinSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperLocMaxWinSize.setDescription('') ux25_oper_rem_max_win_size = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(2, 127))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperRemMaxWinSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRemMaxWinSize.setDescription('') ux25_oper_loc_def_win_size = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(1, 127))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperLocDefWinSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperLocDefWinSize.setDescription('') ux25_oper_rem_def_win_size = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(1, 127))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperRemDefWinSize.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRemDefWinSize.setDescription('') ux25_oper_max_nsdu_limit = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperMaxNSDULimit.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperMaxNSDULimit.setDescription('') ux25_oper_acc_no_diagnostic = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperAccNoDiagnostic.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperAccNoDiagnostic.setDescription('') ux25_oper_use_diagnostic_packet = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperUseDiagnosticPacket.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperUseDiagnosticPacket.setDescription('') ux25_oper_itut_clear_len = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperItutClearLen.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperItutClearLen.setDescription('') ux25_oper_bar_diagnostic_packet = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperBarDiagnosticPacket.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperBarDiagnosticPacket.setDescription('') ux25_oper_disc_nz_diagnostic = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperDiscNzDiagnostic.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperDiscNzDiagnostic.setDescription('') ux25_oper_accept_hex_add = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperAcceptHexAdd.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperAcceptHexAdd.setDescription('') ux25_oper_bar_non_privilege_listen = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperBarNonPrivilegeListen.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperBarNonPrivilegeListen.setDescription('') ux25_oper_intl_addr_recognition = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('notDistinguished', 1), ('examineDnic', 2), ('prefix1', 3), ('prefix0', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperIntlAddrRecognition.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperIntlAddrRecognition.setDescription('') ux25_oper_dnic = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 20), display_string().subtype(subtypeSpec=value_size_constraint(4, 4)).setFixedLength(4)).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperDnic.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperDnic.setDescription('') ux25_oper_intl_prioritized = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperIntlPrioritized.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperIntlPrioritized.setDescription('') ux25_oper_prty_encode_ctrl = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('x2588', 1), ('datapacPriority76', 2), ('datapacTraffic80', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperPrtyEncodeCtrl.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperPrtyEncodeCtrl.setDescription('') ux25_oper_prty_pkt_forced_val = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 5, 6, 7, 8, 9, 10, 11, 12, 13))).clone(namedValues=named_values(('prioPktSz0', 1), ('prioPktSz4', 5), ('prioPktSz5', 6), ('prioPktSz6', 7), ('prioPktSz7', 8), ('prioPktSz8', 9), ('prioPktSz9', 10), ('prioPktSz10', 11), ('prioPktSz11', 12), ('prioPktSz12', 13)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperPrtyPktForcedVal.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperPrtyPktForcedVal.setDescription('') ux25_oper_src_addr_ctrl = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('noSaCntrl', 1), ('omitDte', 2), ('useLocal', 3), ('forceLocal', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperSrcAddrCtrl.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSrcAddrCtrl.setDescription('') ux25_oper_dbit_in_accept = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 25), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('leaveDbit', 1), ('zeroDbit', 2), ('clearCall', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperDbitInAccept.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperDbitInAccept.setDescription('') ux25_oper_dbit_out_accept = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 26), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('leaveDbit', 1), ('zeroDbit', 2), ('clearCall', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperDbitOutAccept.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperDbitOutAccept.setDescription('') ux25_oper_dbit_in_data = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('leaveDbit', 1), ('zeroDbit', 2), ('clearCall', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperDbitInData.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperDbitInData.setDescription('') ux25_oper_dbit_out_data = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 8, 1, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('leaveDbit', 1), ('zeroDbit', 2), ('clearCall', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperDbitOutData.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperDbitOutData.setDescription('') ux25_oper_subscriber_table = mib_table((1, 3, 6, 1, 4, 1, 429, 1, 10, 9)) if mibBuilder.loadTexts: ux25OperSubscriberTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubscriberTable.setDescription('Defines objects that report the current parameters used by a running interface. These objects are read only.') ux25_oper_subscriber_entry = mib_table_row((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1)).setIndexNames((0, 'UX25-MIB', 'ux25OperSubscriberIndex')) if mibBuilder.loadTexts: ux25OperSubscriberEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubscriberEntry.setDescription('Entries of ux25OperSubscriberTable.') ux25_oper_subscriber_index = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperSubscriberIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubscriberIndex.setDescription('') ux25_oper_sub_cug_iaoa = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperSubCugIaoa.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubCugIaoa.setDescription('') ux25_oper_sub_cug_pref = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperSubCugPref.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubCugPref.setDescription('') ux25_oper_sub_cugoa = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperSubCugoa.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubCugoa.setDescription('') ux25_oper_sub_cugia = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperSubCugia.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubCugia.setDescription('') ux25_oper_cug_format = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('basic', 1), ('extended', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperCugFormat.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperCugFormat.setDescription('') ux25_oper_bar_in_cug = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperBarInCug.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperBarInCug.setDescription('') ux25_oper_sub_extended = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperSubExtended.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubExtended.setDescription('') ux25_oper_bar_extended = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperBarExtended.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperBarExtended.setDescription('') ux25_oper_sub_fst_sel_no_rstrct = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperSubFstSelNoRstrct.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubFstSelNoRstrct.setDescription('') ux25_oper_sub_fst_sel_wth_rstrct = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperSubFstSelWthRstrct.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubFstSelWthRstrct.setDescription('') ux25_oper_accpt_rvs_chrgng = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperAccptRvsChrgng.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperAccptRvsChrgng.setDescription('') ux25_oper_sub_loc_charge_prevent = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperSubLocChargePrevent.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubLocChargePrevent.setDescription('') ux25_oper_sub_toa_npi_format = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperSubToaNpiFormat.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubToaNpiFormat.setDescription('') ux25_oper_bar_toa_npi_format = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperBarToaNpiFormat.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperBarToaNpiFormat.setDescription('') ux25_oper_sub_nui_override = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperSubNuiOverride.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperSubNuiOverride.setDescription('') ux25_oper_bar_in_call = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperBarInCall.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperBarInCall.setDescription('') ux25_oper_bar_out_call = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 9, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperBarOutCall.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperBarOutCall.setDescription('') ux25_oper_timer_table = mib_table((1, 3, 6, 1, 4, 1, 429, 1, 10, 10)) if mibBuilder.loadTexts: ux25OperTimerTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperTimerTable.setDescription('Defines objects that report the current parameters used by a running interface. These objects are read only.') ux25_oper_timer_entry = mib_table_row((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1)).setIndexNames((0, 'UX25-MIB', 'ux25OperTimerIndex')) if mibBuilder.loadTexts: ux25OperTimerEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperTimerEntry.setDescription('Entries of ux25OperTimerTable.') ux25_oper_timer_index = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperTimerIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperTimerIndex.setDescription('') ux25_oper_ack_delay = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperAckDelay.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperAckDelay.setDescription('') ux25_oper_rstrt_time = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperRstrtTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRstrtTime.setDescription('') ux25_oper_call_time = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperCallTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperCallTime.setDescription('') ux25_oper_rst_time = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperRstTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRstTime.setDescription('') ux25_oper_clr_time = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperClrTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperClrTime.setDescription('') ux25_oper_win_stat_time = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperWinStatTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperWinStatTime.setDescription('') ux25_oper_win_rot_time = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperWinRotTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperWinRotTime.setDescription('') ux25_oper_intrpt_time = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperIntrptTime.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperIntrptTime.setDescription('') ux25_oper_idle_value = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperIdleValue.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperIdleValue.setDescription('') ux25_oper_connect_value = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperConnectValue.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperConnectValue.setDescription('') ux25_oper_rstrt_cnt = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperRstrtCnt.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRstrtCnt.setDescription('') ux25_oper_rst_cnt = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperRstCnt.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperRstCnt.setDescription('') ux25_oper_clr_cnt = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 14), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperClrCnt.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperClrCnt.setDescription('') ux25_oper_local_delay = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 15), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperLocalDelay.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperLocalDelay.setDescription('') ux25_oper_access_delay = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 10, 1, 16), integer32().subtype(subtypeSpec=value_range_constraint(0, 32000))).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25OperAccessDelay.setStatus('mandatory') if mibBuilder.loadTexts: ux25OperAccessDelay.setDescription('') ux25_stat_table = mib_table((1, 3, 6, 1, 4, 1, 429, 1, 10, 11)) if mibBuilder.loadTexts: ux25StatTable.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatTable.setDescription('Defines objects that report operational statistics for an X.25 interface.') ux25_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1)).setIndexNames((0, 'UX25-MIB', 'ux25StatIndex')) if mibBuilder.loadTexts: ux25StatEntry.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatEntry.setDescription('Entries of ux25StatTable.') ux25_stat_index = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25StatIndex.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatIndex.setDescription('A unique value for each X.25 subnetwork entity in the chassis. The value of this object matches the value of the index of the corresponding X.25 subnetwork entity entry in the entity table of the chassis MIB.') ux25_stat_calls_rcvd = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25StatCallsRcvd.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatCallsRcvd.setDescription('Number of incoming calls.') ux25_stat_calls_sent = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25StatCallsSent.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatCallsSent.setDescription('Number of outgoing calls.') ux25_stat_calls_rcvd_estab = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25StatCallsRcvdEstab.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatCallsRcvdEstab.setDescription('Number of incoming calls established.') ux25_stat_calls_sent_estab = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25StatCallsSentEstab.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatCallsSentEstab.setDescription('Number of outgoing calls established.') ux25_stat_data_pkts_rcvd = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25StatDataPktsRcvd.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatDataPktsRcvd.setDescription('Number of data packets received.') ux25_stat_data_pkts_sent = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25StatDataPktsSent.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatDataPktsSent.setDescription('Number of data packets sent.') ux25_stat_restarts_rcvd = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25StatRestartsRcvd.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatRestartsRcvd.setDescription('Number of restarts received.') ux25_stat_restarts_sent = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25StatRestartsSent.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatRestartsSent.setDescription('Number of restarts sent.') ux25_stat_rcvr_not_rdy_rcvd = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 10), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25StatRcvrNotRdyRcvd.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatRcvrNotRdyRcvd.setDescription('Number of receiver not ready received.') ux25_stat_rcvr_not_rdy_sent = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 11), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25StatRcvrNotRdySent.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatRcvrNotRdySent.setDescription('Number of receiver not ready sent.') ux25_stat_rcvr_rdy_rcvd = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 12), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25StatRcvrRdyRcvd.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatRcvrRdyRcvd.setDescription('Number of receiver ready received.') ux25_stat_rcvr_rdy_sent = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 13), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25StatRcvrRdySent.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatRcvrRdySent.setDescription('Number of receiver ready sent.') ux25_stat_resets_rcvd = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 14), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25StatResetsRcvd.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatResetsRcvd.setDescription('Number of resets received.') ux25_stat_resets_sent = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 15), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25StatResetsSent.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatResetsSent.setDescription('Number of resets sent.') ux25_stat_diag_pkts_rcvd = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 16), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25StatDiagPktsRcvd.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatDiagPktsRcvd.setDescription('Number of diagnostic packets received.') ux25_stat_diag_pkts_sent = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 17), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25StatDiagPktsSent.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatDiagPktsSent.setDescription('Number of diagnostic packets sent.') ux25_stat_intrpt_pkts_rcvd = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 18), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25StatIntrptPktsRcvd.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatIntrptPktsRcvd.setDescription('Number of interrupt packets received.') ux25_stat_intrpt_pkts_sent = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 19), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25StatIntrptPktsSent.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatIntrptPktsSent.setDescription('Number of interrupt packets sent.') ux25_stat_pv_cs_in_dat_trnsfr_state = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 20), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25StatPVCsInDatTrnsfrState.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatPVCsInDatTrnsfrState.setDescription('Number of PVCs in Data Transfer State.') ux25_stat_sv_cs_in_dat_trnsfr_state = mib_table_column((1, 3, 6, 1, 4, 1, 429, 1, 10, 11, 1, 21), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ux25StatSVCsInDatTrnsfrState.setStatus('mandatory') if mibBuilder.loadTexts: ux25StatSVCsInDatTrnsfrState.setDescription('Number of SVCs in Data Transfer State.') mibBuilder.exportSymbols('UX25-MIB', ux25AdmnClassTable=ux25AdmnClassTable, ux25AdmnPacketTable=ux25AdmnPacketTable, ux25AdmnPacketEntry=ux25AdmnPacketEntry, ux25AdmnChanneIndex=ux25AdmnChanneIndex, ux25OperPacketEntry=ux25OperPacketEntry, ux25AdmnBarInCall=ux25AdmnBarInCall, ux25AdmnSubExtended=ux25AdmnSubExtended, ux25OperPacketIndex=ux25OperPacketIndex, ux25OperBarToaNpiFormat=ux25OperBarToaNpiFormat, ux25StatEntry=ux25StatEntry, ux25AdmnHighestPVCVal=ux25AdmnHighestPVCVal, ux25OperSubCugia=ux25OperSubCugia, ux25AdmnSubNuiOverride=ux25AdmnSubNuiOverride, ux25AdmnLowestPVCVal=ux25AdmnLowestPVCVal, ux25OperChannelLIC=ux25OperChannelLIC, ux25AdmnAckDelay=ux25AdmnAckDelay, ux25OperThclassNegToDef=ux25OperThclassNegToDef, ux25OperBarOutCall=ux25OperBarOutCall, ux25AdmnChannelHIC=ux25AdmnChannelHIC, ux25StatResetsSent=ux25StatResetsSent, ux25AdmnUseDiagnosticPacket=ux25AdmnUseDiagnosticPacket, ux25OperRstrtCnt=ux25OperRstrtCnt, ux25StatCallsRcvdEstab=ux25StatCallsRcvdEstab, ux25OperSubscriberIndex=ux25OperSubscriberIndex, ux25AdmnLocalDelay=ux25AdmnLocalDelay, ux25OperCugFormat=ux25OperCugFormat, ux25OperLocDefPktSize=ux25OperLocDefPktSize, ux25AdmnPrtyEncodeCtrl=ux25AdmnPrtyEncodeCtrl, ux25OperDbitOutAccept=ux25OperDbitOutAccept, ux25OperNetMode=ux25OperNetMode, ux25OperClrTime=ux25OperClrTime, ux25AdmnChannelEntry=ux25AdmnChannelEntry, ux25OperTimerIndex=ux25OperTimerIndex, ux25AdmnRstTime=ux25AdmnRstTime, ux25AdmnIntlAddrRecognition=ux25AdmnIntlAddrRecognition, ux25AdmnBarNonPrivilegeListen=ux25AdmnBarNonPrivilegeListen, ux25OperLocMaxPktSize=ux25OperLocMaxPktSize, ux25StatPVCsInDatTrnsfrState=ux25StatPVCsInDatTrnsfrState, ux25AdmnItutClearLen=ux25AdmnItutClearLen, ux25OperChannelTable=ux25OperChannelTable, ux25AdmnSubLocChargePrevent=ux25AdmnSubLocChargePrevent, ux25OperLowestPVCVal=ux25OperLowestPVCVal, ux25StatTable=ux25StatTable, ux25OperRemMaxPktSize=ux25OperRemMaxPktSize, ux25OperSubNuiOverride=ux25OperSubNuiOverride, ux25AdmnLocMaxPktSize=ux25AdmnLocMaxPktSize, usr=usr, ux25AdmnRemMaxThruPutClass=ux25AdmnRemMaxThruPutClass, ux25OperChannelLTC=ux25OperChannelLTC, ux25AdmnBarInCug=ux25AdmnBarInCug, ux25OperClassIndex=ux25OperClassIndex, ux25OperAccNoDiagnostic=ux25OperAccNoDiagnostic, ux25AdmnWinRotTime=ux25AdmnWinRotTime, ux25OperItutClearLen=ux25OperItutClearLen, ux25OperLocMinThruPutClass=ux25OperLocMinThruPutClass, ux25OperDbitInData=ux25OperDbitInData, ux25AdmnTimerEntry=ux25AdmnTimerEntry, ux25AdmnDbitOutData=ux25AdmnDbitOutData, ux25StatSVCsInDatTrnsfrState=ux25StatSVCsInDatTrnsfrState, ux25OperIntlAddrRecognition=ux25OperIntlAddrRecognition, ux25AdmnDiscNzDiagnostic=ux25AdmnDiscNzDiagnostic, ux25OperLocalDelay=ux25OperLocalDelay, ux25OperPktSequencing=ux25OperPktSequencing, ux25OperRemDefPktSize=ux25OperRemDefPktSize, ux25OperRstrtTime=ux25OperRstrtTime, ux25StatRestartsRcvd=ux25StatRestartsRcvd, ux25AdmnAcceptHexAdd=ux25AdmnAcceptHexAdd, ux25StatDiagPktsSent=ux25StatDiagPktsSent, ux25AdmnChannelLTC=ux25AdmnChannelLTC, ux25OperPrtyPktForcedVal=ux25OperPrtyPktForcedVal, ux25OperThclassType=ux25OperThclassType, ux25OperRstCnt=ux25OperRstCnt, ux25AdmnSubCugIaoa=ux25AdmnSubCugIaoa, ux25AdmnChannelTable=ux25AdmnChannelTable, ux25AdmnRemMinThruPutClass=ux25AdmnRemMinThruPutClass, ux25AdmnChannelLOC=ux25AdmnChannelLOC, ux25AdmnBarDiagnosticPacket=ux25AdmnBarDiagnosticPacket, ux25OperIntrptTime=ux25OperIntrptTime, ux25AdmnSubCugPref=ux25AdmnSubCugPref, ux25OperDiscNzDiagnostic=ux25OperDiscNzDiagnostic, ux25AdmnConnectValue=ux25AdmnConnectValue, ux25OperChannelHOC=ux25OperChannelHOC, ux25AdmnSubscriberEntry=ux25AdmnSubscriberEntry, ux25OperLocDefWinSize=ux25OperLocDefWinSize, ux25AdmnRemDefWinSize=ux25AdmnRemDefWinSize, ux25OperThclassPackMap=ux25OperThclassPackMap, ux25OperSubCugIaoa=ux25OperSubCugIaoa, ux25OperSubLocChargePrevent=ux25OperSubLocChargePrevent, ux25OperRemDefThruPutClass=ux25OperRemDefThruPutClass, ux25AdmnProtocolVersion=ux25AdmnProtocolVersion, ux25OperRstTime=ux25OperRstTime, ux25AdmnNetMode=ux25AdmnNetMode, ux25AdmnClassIndex=ux25AdmnClassIndex, ux25OperSrcAddrCtrl=ux25OperSrcAddrCtrl, ux25AdmnIntlPrioritized=ux25AdmnIntlPrioritized, ux25OperBarInCug=ux25OperBarInCug, ux25AdmnRemMaxWinSize=ux25AdmnRemMaxWinSize, ux25StatRcvrNotRdySent=ux25StatRcvrNotRdySent, ux25AdmnDbitOutAccept=ux25AdmnDbitOutAccept, ux25OperAccessDelay=ux25OperAccessDelay, ux25AdmnRstrtCnt=ux25AdmnRstrtCnt, ux25StatIntrptPktsSent=ux25StatIntrptPktsSent, ux25StatDataPktsSent=ux25StatDataPktsSent, ux25AdmnTimerTable=ux25AdmnTimerTable, ux25OperTimerTable=ux25OperTimerTable, ux25AdmnThclassType=ux25AdmnThclassType, ux25AdmnMaxNSDULimit=ux25AdmnMaxNSDULimit, ux25OperMaxNSDULimit=ux25OperMaxNSDULimit, ux25OperBarDiagnosticPacket=ux25OperBarDiagnosticPacket, ux25OperWinStatTime=ux25OperWinStatTime, ux25AdmnChannelHOC=ux25AdmnChannelHOC, ux25StatResetsRcvd=ux25StatResetsRcvd, ux25StatRestartsSent=ux25StatRestartsSent, ux25StatCallsRcvd=ux25StatCallsRcvd, ux25OperBarExtended=ux25OperBarExtended, ux25AdmnLocDefWinSize=ux25AdmnLocDefWinSize, ux25OperAcceptHexAdd=ux25OperAcceptHexAdd, ux25OperSubToaNpiFormat=ux25OperSubToaNpiFormat, ux25OperDbitInAccept=ux25OperDbitInAccept, ux25OperSubCugPref=ux25OperSubCugPref, ux25AdmnDbitInAccept=ux25AdmnDbitInAccept, ux25OperConnectValue=ux25OperConnectValue, ux25StatDiagPktsRcvd=ux25StatDiagPktsRcvd, ux25OperIdleValue=ux25OperIdleValue, ux25OperSubscriberTable=ux25OperSubscriberTable, ux25StatRcvrRdyRcvd=ux25StatRcvrRdyRcvd, ux25OperClassTable=ux25OperClassTable, ux25OperThclassWinMap=ux25OperThclassWinMap, ux25OperDnic=ux25OperDnic, ux25AdmnSubscriberIndex=ux25AdmnSubscriberIndex, ux25AdmnIdleValue=ux25AdmnIdleValue, ux25AdmnClassEntry=ux25AdmnClassEntry, ux25OperWinRotTime=ux25OperWinRotTime, ux25AdmnTimerIndex=ux25AdmnTimerIndex, ux25AdmnClrCnt=ux25AdmnClrCnt, ux25AdmnLocMaxThruPutClass=ux25AdmnLocMaxThruPutClass, ux25StatIntrptPktsRcvd=ux25StatIntrptPktsRcvd, ux25AdmnRstrtTime=ux25AdmnRstrtTime, ux25AdmnSubToaNpiFormat=ux25AdmnSubToaNpiFormat, ux25OperChannelIndex=ux25OperChannelIndex, ux25AdmnSubFstSelNoRstrct=ux25AdmnSubFstSelNoRstrct, ux25OperSubCugoa=ux25OperSubCugoa, ux25OperAccptRvsChrgng=ux25OperAccptRvsChrgng, ux25StatRcvrRdySent=ux25StatRcvrRdySent, ux25OperHighestPVCVal=ux25OperHighestPVCVal, ux25AdmnAccNoDiagnostic=ux25AdmnAccNoDiagnostic, ux25OperPacketTable=ux25OperPacketTable, ux25AdmnInterfaceMode=ux25AdmnInterfaceMode, ux25OperUseDiagnosticPacket=ux25OperUseDiagnosticPacket, ux25AdmnWinStatTime=ux25AdmnWinStatTime, ux25StatDataPktsRcvd=ux25StatDataPktsRcvd, ux25OperChannelLOC=ux25OperChannelLOC, ux25AdmnDbitInData=ux25AdmnDbitInData, ux25StatCallsSent=ux25StatCallsSent, ux25AdmnLocMinThruPutClass=ux25AdmnLocMinThruPutClass, ux25AdmnPktSequencing=ux25AdmnPktSequencing, ux25OperBarNonPrivilegeListen=ux25OperBarNonPrivilegeListen, ux25OperInterfaceMode=ux25OperInterfaceMode, ux25AdmnIntrptTime=ux25AdmnIntrptTime, ux25AdmnBarOutCall=ux25AdmnBarOutCall, ux25OperProtocolVersion=ux25OperProtocolVersion, ux25OperBarInCall=ux25OperBarInCall, ux25AdmnBarExtended=ux25AdmnBarExtended, ux25OperIntlPrioritized=ux25OperIntlPrioritized, ux25AdmnPacketIndex=ux25AdmnPacketIndex, ux25OperDbitOutData=ux25OperDbitOutData, ux25AdmnRemDefPktSize=ux25AdmnRemDefPktSize, ux25OperSubscriberEntry=ux25OperSubscriberEntry, ux25OperClassEntry=ux25OperClassEntry, ux25OperPrtyEncodeCtrl=ux25OperPrtyEncodeCtrl, ux25OperRemMaxWinSize=ux25OperRemMaxWinSize, ux25AdmnCallTime=ux25AdmnCallTime, ux25AdmnPrtyPktForcedVal=ux25AdmnPrtyPktForcedVal, ux25AdmnAccptRvsChrgng=ux25AdmnAccptRvsChrgng, ux25OperRemMinThruPutClass=ux25OperRemMinThruPutClass, ux25OperClrCnt=ux25OperClrCnt, ux25AdmnSrcAddrCtrl=ux25AdmnSrcAddrCtrl, ux25StatRcvrNotRdyRcvd=ux25StatRcvrNotRdyRcvd, ux25OperSubExtended=ux25OperSubExtended, ux25OperSubFstSelNoRstrct=ux25OperSubFstSelNoRstrct, ux25OperSubFstSelWthRstrct=ux25OperSubFstSelWthRstrct, ux25OperChannelHTC=ux25OperChannelHTC, ux25OperCallTime=ux25OperCallTime, ux25AdmnBarToaNpiFormat=ux25AdmnBarToaNpiFormat, ux25AdmnLocMaxWinSize=ux25AdmnLocMaxWinSize, ux25AdmnLocDefThruPutClass=ux25AdmnLocDefThruPutClass, ux25OperLocMaxWinSize=ux25OperLocMaxWinSize, ux25OperRemDefWinSize=ux25OperRemDefWinSize, ux25AdmnChannelHTC=ux25AdmnChannelHTC, ux25AdmnRemMaxPktSize=ux25AdmnRemMaxPktSize, ux25AdmnSubFstSelWthRstrct=ux25AdmnSubFstSelWthRstrct, ux25AdmnClrTime=ux25AdmnClrTime, ux25OperLocDefThruPutClass=ux25OperLocDefThruPutClass, ux25OperChannelEntry=ux25OperChannelEntry, ux25=ux25, ux25OperChannelHIC=ux25OperChannelHIC, ux25OperRemMaxThruPutClass=ux25OperRemMaxThruPutClass, ux25AdmnRemDefThruPutClass=ux25AdmnRemDefThruPutClass, ux25AdmnThclassNegToDef=ux25AdmnThclassNegToDef, ux25AdmnThclassWinMap=ux25AdmnThclassWinMap, ux25AdmnSubCugoa=ux25AdmnSubCugoa, ux25AdmnDnic=ux25AdmnDnic, ux25AdmnSubCugia=ux25AdmnSubCugia, ux25AdmnCugFormat=ux25AdmnCugFormat, nas=nas, ux25AdmnChannelLIC=ux25AdmnChannelLIC, ux25AdmnLocDefPktSize=ux25AdmnLocDefPktSize, ux25AdmnAccessDelay=ux25AdmnAccessDelay, ux25OperAckDelay=ux25OperAckDelay, ux25StatCallsSentEstab=ux25StatCallsSentEstab, ux25AdmnSubscriberTable=ux25AdmnSubscriberTable, ux25AdmnRstCnt=ux25AdmnRstCnt, ux25AdmnThclassPackMap=ux25AdmnThclassPackMap, ux25OperLocMaxThruPutClass=ux25OperLocMaxThruPutClass, ux25StatIndex=ux25StatIndex, ux25OperTimerEntry=ux25OperTimerEntry)
if __name__ == '__main__': # with open("input/12.test") as f: with open("input/12.txt") as f: lines = f.read().split("\n") pots = lines[0].split(":")[1].strip() rules = dict() for line in lines[2:]: [k, v] = line.split("=>") k = k.strip() v = v.strip() rules[k] = v print(rules) ngen = 20 print(pots) pots = list("..." + pots + "............................................") for n in range(ngen): npots = list(pots) for i in range(0, len(pots)-5): if i == 0: sub = [".", "."] + pots[:3] elif i == 1: sub = ["."] + pots[0:4] else: sub = pots[i-2:i+3] npots[i] = rules.get("".join(sub), ".") pots = npots print("%2d:" % (n+1), "".join(pots)) ans = 0 for i in range(len(pots)): ans += (i-3) if pots[i] == "#" else 0 print(ans)
if __name__ == '__main__': with open('input/12.txt') as f: lines = f.read().split('\n') pots = lines[0].split(':')[1].strip() rules = dict() for line in lines[2:]: [k, v] = line.split('=>') k = k.strip() v = v.strip() rules[k] = v print(rules) ngen = 20 print(pots) pots = list('...' + pots + '............................................') for n in range(ngen): npots = list(pots) for i in range(0, len(pots) - 5): if i == 0: sub = ['.', '.'] + pots[:3] elif i == 1: sub = ['.'] + pots[0:4] else: sub = pots[i - 2:i + 3] npots[i] = rules.get(''.join(sub), '.') pots = npots print('%2d:' % (n + 1), ''.join(pots)) ans = 0 for i in range(len(pots)): ans += i - 3 if pots[i] == '#' else 0 print(ans)
expected_output = { "ACL_TEST": { "aces": { "80": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.7.0 0.0.0.255": { "source_network": "10.4.7.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "80", }, "50": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.4.0 0.0.0.255": { "source_network": "10.4.4.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "50", }, "10": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.69.188.0 0.0.0.255": { "source_network": "10.69.188.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "10", }, "130": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.12.0 0.0.0.255": { "source_network": "10.4.12.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "130", }, "90": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.8.0 0.0.0.255": { "source_network": "10.4.8.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "90", }, "40": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.3.0 0.0.0.255": { "source_network": "10.4.3.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "40", }, "150": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.14.0 0.0.0.255": { "source_network": "10.4.14.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "150", }, "30": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.2.0 0.0.0.255": { "source_network": "10.4.2.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "30", }, "120": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.11.0 0.0.0.255": { "source_network": "10.4.11.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "120", }, "100": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.9.0 0.0.0.255": { "source_network": "10.4.9.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "100", }, "170": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.16.0 0.0.0.255": { "source_network": "10.4.16.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "170", }, "160": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.15.0 0.0.0.255": { "source_network": "10.4.15.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "160", }, "20": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.1.0 0.0.0.255": { "source_network": "10.4.1.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "20", }, "70": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.6.0 0.0.0.255": { "source_network": "10.4.6.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "70", }, "110": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.10.0 0.0.0.255": { "source_network": "10.4.10.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "110", }, "140": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.13.0 0.0.0.255": { "source_network": "10.4.13.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "140", }, "60": { "actions": {"forwarding": "deny", "logging": "log-none"}, "matches": { "l3": { "ipv4": { "source_network": { "10.4.5.0 0.0.0.255": { "source_network": "10.4.5.0 0.0.0.255" } }, "protocol": "tcp", "destination_network": { "host 192.168.16.1": { "destination_network": "host 192.168.16.1" } }, } }, "l4": { "tcp": { "destination_port": { "operator": {"operator": "eq", "port": 80} }, "established": False, } }, }, "name": "60", }, }, "type": "ipv4-acl-type", "acl_type": "extended", "name": "ACL_TEST", } }
expected_output = {'ACL_TEST': {'aces': {'80': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.7.0 0.0.0.255': {'source_network': '10.4.7.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '80'}, '50': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.4.0 0.0.0.255': {'source_network': '10.4.4.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '50'}, '10': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.69.188.0 0.0.0.255': {'source_network': '10.69.188.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '10'}, '130': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.12.0 0.0.0.255': {'source_network': '10.4.12.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '130'}, '90': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.8.0 0.0.0.255': {'source_network': '10.4.8.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '90'}, '40': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.3.0 0.0.0.255': {'source_network': '10.4.3.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '40'}, '150': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.14.0 0.0.0.255': {'source_network': '10.4.14.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '150'}, '30': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.2.0 0.0.0.255': {'source_network': '10.4.2.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '30'}, '120': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.11.0 0.0.0.255': {'source_network': '10.4.11.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '120'}, '100': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.9.0 0.0.0.255': {'source_network': '10.4.9.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '100'}, '170': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.16.0 0.0.0.255': {'source_network': '10.4.16.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '170'}, '160': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.15.0 0.0.0.255': {'source_network': '10.4.15.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '160'}, '20': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.1.0 0.0.0.255': {'source_network': '10.4.1.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '20'}, '70': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.6.0 0.0.0.255': {'source_network': '10.4.6.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '70'}, '110': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.10.0 0.0.0.255': {'source_network': '10.4.10.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '110'}, '140': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.13.0 0.0.0.255': {'source_network': '10.4.13.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '140'}, '60': {'actions': {'forwarding': 'deny', 'logging': 'log-none'}, 'matches': {'l3': {'ipv4': {'source_network': {'10.4.5.0 0.0.0.255': {'source_network': '10.4.5.0 0.0.0.255'}}, 'protocol': 'tcp', 'destination_network': {'host 192.168.16.1': {'destination_network': 'host 192.168.16.1'}}}}, 'l4': {'tcp': {'destination_port': {'operator': {'operator': 'eq', 'port': 80}}, 'established': False}}}, 'name': '60'}}, 'type': 'ipv4-acl-type', 'acl_type': 'extended', 'name': 'ACL_TEST'}}
# %% ####################################### def dict_creation_demo(): print( "We can convert a list of tuples into Dictionary Items: dict( [('key1','val1'), ('key2', 'val2')] " ) was_tuple = dict([("key1", "val1"), ("key2", "val2")]) print(f"This was a list of Tuples: {was_tuple}\n") print( "We can convert a list of lists into Dictionary Items: dict( [['key1','val1'], ['key2', 'val2']] " ) was_list = dict([["key1", "val1"], ["key2", "val2"]]) print(f"This was a list of Lists: {was_list} ")
def dict_creation_demo(): print("We can convert a list of tuples into Dictionary Items: dict( [('key1','val1'), ('key2', 'val2')] ") was_tuple = dict([('key1', 'val1'), ('key2', 'val2')]) print(f'This was a list of Tuples: {was_tuple}\n') print("We can convert a list of lists into Dictionary Items: dict( [['key1','val1'], ['key2', 'val2']] ") was_list = dict([['key1', 'val1'], ['key2', 'val2']]) print(f'This was a list of Lists: {was_list} ')
def gcd(a,b): assert a>= a and b >= 0 and a + b > 0 while a > 0 and b > 0: if a >= b: a = a % b else: b = b % a return max(a,b) def egcd(a, b): x,y, u,v = 0,1, 1,0 while a != 0: q, r = b//a, b%a m, n = x-u*q, y-v*q b,a, x,y, u,v = a,r, u,v, m,n gcd = b return gcd, x, y def diophantine(a,b,c): assert c % gcd(a, b) == 0 (d, u, v) = egcd(a,b) x = u * (c // gcd(a,b)) y = v * (c//gcd(a,b)) return (x,y) def divide(a,b,n): assert n > 1 and a > 0 and gcd(a,n) == 1 t,s = diophantine(n,a,1) for i in range(n): if b * s % n == i % n: return i def ChineseRemainderTheorem(n1, r1, n2, r2): (r,x, y) = egcd(n1, n2) n = (r1 * n2 * y + r2 * n1 * x) n = n % (n1 * n2) return n
def gcd(a, b): assert a >= a and b >= 0 and (a + b > 0) while a > 0 and b > 0: if a >= b: a = a % b else: b = b % a return max(a, b) def egcd(a, b): (x, y, u, v) = (0, 1, 1, 0) while a != 0: (q, r) = (b // a, b % a) (m, n) = (x - u * q, y - v * q) (b, a, x, y, u, v) = (a, r, u, v, m, n) gcd = b return (gcd, x, y) def diophantine(a, b, c): assert c % gcd(a, b) == 0 (d, u, v) = egcd(a, b) x = u * (c // gcd(a, b)) y = v * (c // gcd(a, b)) return (x, y) def divide(a, b, n): assert n > 1 and a > 0 and (gcd(a, n) == 1) (t, s) = diophantine(n, a, 1) for i in range(n): if b * s % n == i % n: return i def chinese_remainder_theorem(n1, r1, n2, r2): (r, x, y) = egcd(n1, n2) n = r1 * n2 * y + r2 * n1 * x n = n % (n1 * n2) return n
asSignedInt = lambda s: -int(0x7fffffff&int(s)) if bool(0x80000000&int(s)) else int(0x7fffffff&int(s)) # TODO: swig'ged HIPS I/O unsigned int -> PyInt_AsLong vice PyLong_AsInt; OverflowError: long int too large to convert to int ZERO_STATUS = 0x00000000 def SeparatePathFromPVDL(pathToPVDL,normalizeStrs=False): # normalize --> '/' delimiter and all lowercase letters if pathToPVDL.find('\\')!=-1: # get path delimiter dsep='\\' pathToPVDL=pathToPVDL.replace('\\','/') #in the off chance there are mixed delimiters - standardize on '/' for the split else: dsep='/' pathToPVDLlist=pathToPVDL.split('/') if len(pathToPVDLlist) > 4: # check for at least a <prefix>/p/v/d/l if normalizeStrs: # [pathTo,p,v,d,l] (pathTo w/fwd-slashes & all lower case) pathToAndPVDL=map(lambda dirStr: dirStr.lower(), pathToPVDLlist[-4:]) pathToAndPVDL.insert(0,'/'.join(pathToPVDLlist[:-4]).lower()) else: pathToAndPVDL=pathToPVDLlist[-4:] # [pathTo,p,v,d,l] (pathTo w/no change in slash type & mixed case) pathToAndPVDL.insert(0,dsep.join(pathToPVDLlist[:-4])) else: # no container directory for p/v/d/l directory; invalid HDCS_DATA_PATH pathToAndPVDL=None return pathToAndPVDL
as_signed_int = lambda s: -int(2147483647 & int(s)) if bool(2147483648 & int(s)) else int(2147483647 & int(s)) zero_status = 0 def separate_path_from_pvdl(pathToPVDL, normalizeStrs=False): if pathToPVDL.find('\\') != -1: dsep = '\\' path_to_pvdl = pathToPVDL.replace('\\', '/') else: dsep = '/' path_to_pvd_llist = pathToPVDL.split('/') if len(pathToPVDLlist) > 4: if normalizeStrs: path_to_and_pvdl = map(lambda dirStr: dirStr.lower(), pathToPVDLlist[-4:]) pathToAndPVDL.insert(0, '/'.join(pathToPVDLlist[:-4]).lower()) else: path_to_and_pvdl = pathToPVDLlist[-4:] pathToAndPVDL.insert(0, dsep.join(pathToPVDLlist[:-4])) else: path_to_and_pvdl = None return pathToAndPVDL
df12.interaction(['A','B'], pairwise=False, max_factors=3, min_occurrence=1) # A_B # ------- # foo_one # bar_one # foo_two # other # foo_two # other # foo_one # other # # [8 rows x 1 column]
df12.interaction(['A', 'B'], pairwise=False, max_factors=3, min_occurrence=1)
def read(text_path): texts = [] with open(text_path) as f: for line in f.readlines(): texts.append(line.strip()) return texts def corpus_perplexity(corpus_path, model): texts = read(corpus_path) N = sum(len(x.split()) for x in texts) corpus_perp = 1 for text in texts: sen_perp = model.perplexity(text) sen_perp_normed = sen_perp ** (len(text.split())/N) corpus_perp *= sen_perp_normed return corpus_perp
def read(text_path): texts = [] with open(text_path) as f: for line in f.readlines(): texts.append(line.strip()) return texts def corpus_perplexity(corpus_path, model): texts = read(corpus_path) n = sum((len(x.split()) for x in texts)) corpus_perp = 1 for text in texts: sen_perp = model.perplexity(text) sen_perp_normed = sen_perp ** (len(text.split()) / N) corpus_perp *= sen_perp_normed return corpus_perp
################################################ # result postprocessing utils def divide_list_chunks(list, size_list): assert(sum(size_list) >= len(list)) if sum(size_list) < len(list): size_list.append(len(list) - sum(size_list)) for j in range(len(size_list)): cur_id = sum(size_list[0:j]) yield list[cur_id:cur_id+size_list[j]] # temp... really ugly... def divide_nested_list_chunks(list, size_lists): # assert(sum(size_list) >= len(list)) cur_id = 0 output_list = [] for sl in size_lists: sub_list = {} for proc_name, jt_num in sl.items(): sub_list[proc_name] = list[cur_id:cur_id+jt_num] cur_id += jt_num output_list.append(sub_list) return output_list
def divide_list_chunks(list, size_list): assert sum(size_list) >= len(list) if sum(size_list) < len(list): size_list.append(len(list) - sum(size_list)) for j in range(len(size_list)): cur_id = sum(size_list[0:j]) yield list[cur_id:cur_id + size_list[j]] def divide_nested_list_chunks(list, size_lists): cur_id = 0 output_list = [] for sl in size_lists: sub_list = {} for (proc_name, jt_num) in sl.items(): sub_list[proc_name] = list[cur_id:cur_id + jt_num] cur_id += jt_num output_list.append(sub_list) return output_list
class Hash: def __init__(self): self.m = 5 # cantidad de posiciones iniciales self.min = 20 # porcentaje minimo a ocupar self.max = 80 # porcentaje maximo a ocupar self.n = 0 self.h = [] self.init() def division(self, k): return int(k % self.m) def linear(self, k): return ((k + 1) % self.m) def init(self): self.n = 0 self.h = [] for i in range(int(self.m)): self.h.append(None) for i in range(int(self.m)): self.h[i] = -1 i += 1 def insert(self, k): i = int(self.division(k)) while (self.h[int(i)] != -1): i = self.linear(i) self.h[int(i)] = k self.n += 1 self.rehashing() def rehashing(self): if ((self.n * 100 / self.m) >= self.max): # array copy temp = self.h self.print() # rehashing mprev = self.m self.m = self.n * 100 / self.min self.init() for i in range(int(mprev)): if (temp[i] != -1): self.insert(temp[i]) i += 1 else: self.print() def print(self): cadena = "" cadena += "[" for i in range(int(self.m)): cadena += " " + str(self.h[i]) i += 1 cadena += " ] " + str((self.n * 100 / self.m)) + "%" print(cadena) t = Hash() t.insert(5) t.insert(10) t.insert(15) t.insert(20) t.insert(25) t.insert(30) t.insert(35) t.insert(40) t.insert(45) t.insert(50) t.insert(55) t.insert(60) t.insert(65) t.insert(70) t.insert(75) t.insert(80)
class Hash: def __init__(self): self.m = 5 self.min = 20 self.max = 80 self.n = 0 self.h = [] self.init() def division(self, k): return int(k % self.m) def linear(self, k): return (k + 1) % self.m def init(self): self.n = 0 self.h = [] for i in range(int(self.m)): self.h.append(None) for i in range(int(self.m)): self.h[i] = -1 i += 1 def insert(self, k): i = int(self.division(k)) while self.h[int(i)] != -1: i = self.linear(i) self.h[int(i)] = k self.n += 1 self.rehashing() def rehashing(self): if self.n * 100 / self.m >= self.max: temp = self.h self.print() mprev = self.m self.m = self.n * 100 / self.min self.init() for i in range(int(mprev)): if temp[i] != -1: self.insert(temp[i]) i += 1 else: self.print() def print(self): cadena = '' cadena += '[' for i in range(int(self.m)): cadena += ' ' + str(self.h[i]) i += 1 cadena += ' ] ' + str(self.n * 100 / self.m) + '%' print(cadena) t = hash() t.insert(5) t.insert(10) t.insert(15) t.insert(20) t.insert(25) t.insert(30) t.insert(35) t.insert(40) t.insert(45) t.insert(50) t.insert(55) t.insert(60) t.insert(65) t.insert(70) t.insert(75) t.insert(80)
with open("English dictionary.txt", "r") as input_file, open("English dictionary.out", "w") as output_file: row_id = 2 for line in input_file: line = line.strip() output_file.write("%d,%s\n" % (row_id, line.split(",")[1])) row_id += 1
with open('English dictionary.txt', 'r') as input_file, open('English dictionary.out', 'w') as output_file: row_id = 2 for line in input_file: line = line.strip() output_file.write('%d,%s\n' % (row_id, line.split(',')[1])) row_id += 1
def test_cat1(): assert True def test_cat2(): assert True def test_cat3(): assert True def test_cat4(): assert True def test_cat5(): assert True def test_cat6(): assert True def test_cat7(): assert True def test_cat8(): assert True
def test_cat1(): assert True def test_cat2(): assert True def test_cat3(): assert True def test_cat4(): assert True def test_cat5(): assert True def test_cat6(): assert True def test_cat7(): assert True def test_cat8(): assert True
# print("Hello") # print("Hello") # print("Hello") # i = 1 # so caller iterator, or index if you will # while i < 5: # while loops are for indeterminate time # print("Hello No.", i) # print(f"Hello Number {i}") # i += 1 # i = i + 1 # we will have a infinite loop without i += 1, there is no i++ # # print("Always happens once loop is finished") # print("i is now", i) # # i = 10 # while i >= 0: # print("Going down the floor:", i) # # i could do more stuff # if i == 0: # print("Cool we reached the garage") # i -= 1 # i = i - 1 # print("Whew we are done with this i:", i) # # # total = 0 # do not use sum as name for variable # i = 20 # print(f"BEFORE loop i is {i} total is {total}") # while i <= 30: # total += i # total = total + i # print(f"After adding {i} total is {total}") # i += 2 # step will be 2 here # print(f"i is {i} total is {total}") # # # start = 25 # end = 400 # step = 25 # we do have a for loop for this type of looping but step here can be a float # i = start # initialization # while i <= end: # print(f"i is {i}") # i += step # # print("i is ", i) # start = 10 # end = 500 # step = 1 # increase = 30 # # i = start # while i <= end: # print(f"i is {i}") # step += increase # increasing the increase # print("Step is now", step) # i += step # in general while loops are best suited for loops when we are not 100 % sure of when they will end # so sort of indeterminate # # # # i = 10 # while True: # so i am saying here that this loop should run forever .. unless I have something inside to break out # print("i is",i) # this line will always happen at least once # # could add more lines which will run at least once # # in a while True loop it is typical to check for exit condition # if i >= 14: # similar to while i < 28: # print("Ready to break out i is", i) # break # with break with break out of loop # i += 2 # # # above is simulating do while looping functionality # print("Whew AFTER BREAK out", i) # # # i = 20 # active = True # is_raining = True # # while active or is_raining: # careful here so for while loop to keep running here JUST ONE of the conditions here have to be true # while active and is_raining: # so for while loop to keep running here BOTH conditions here have to be true # print(f"Doing stuff with {i}") # i += 3 # # TODO update weather conditions # if i > 30: # active = False # # # # while True: # res = input("Enter number or q to quit ") # # if res.lower().startswith("q"): # more lenient any word starting with Q or q will work to quit # if res == "q": # print("No more calculations today. I am breaking out of the loop.") # break # elif len(res) == 0: # so i had an empty string here... # print("Hey! You just pressed Enter, please enter something...") # continue # we go back to line 83 and start over # # elif res == "a": # TODO check if if the input is text # elif res[0].isalpha(): # we are checking here for the first symbol of our input # print("I can't cube a letter ") # continue # means we are not going to try to convert "a" to float # # in other words we are not going to do the below 4 instructions # num = float(res) # cube = num**3 # cube = round(cube, 2) # 2 digits after comma # print(f"My calculator says cube of {num} is {cube}") # # # print("All done whew!") # # # outer_flag = True # # inner_flag = True # # i = 10 # # while outer_flag: # # print(i) # # while inner_flag: # # res = input("Enter q to quit") # # if res == 'q': # # print("got q lets break from inside") # # break # # i += 1 # # if i > 14: # # print("outer break about to happen") # # break # # # # # # # # # # # # # i = 5 while i < 10: print(i) i += 1 # this will be bugged think about the even case.... if i % 2 == 0: # i am testing whether some number has a reminder of 0 when divided by 2 print("Even number", i) # continue # we skip the following loop instructions else: # this will perform just like continue print("Doing something with odd number", i) # i += 1 # this will be bugged think about the even case... print("We do something here") # with continue this would not run
i = 5 while i < 10: print(i) i += 1 if i % 2 == 0: print('Even number', i) else: print('Doing something with odd number', i) print('We do something here')
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/xtark/ros_ws/devel/include;/home/xtark/ros_ws/src/third_packages/ar_track_alvar/ar_track_alvar/include".split(';') if "/home/xtark/ros_ws/devel/include;/home/xtark/ros_ws/src/third_packages/ar_track_alvar/ar_track_alvar/include" != "" else [] PROJECT_CATKIN_DEPENDS = "ar_track_alvar_msgs;std_msgs;roscpp;tf;tf2;message_runtime;image_transport;sensor_msgs;geometry_msgs;visualization_msgs;resource_retriever;cv_bridge;pcl_ros;pcl_conversions;dynamic_reconfigure".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "-lar_track_alvar".split(';') if "-lar_track_alvar" != "" else [] PROJECT_NAME = "ar_track_alvar" PROJECT_SPACE_DIR = "/home/xtark/ros_ws/devel" PROJECT_VERSION = "0.7.1"
catkin_package_prefix = '' project_pkg_config_include_dirs = '/home/xtark/ros_ws/devel/include;/home/xtark/ros_ws/src/third_packages/ar_track_alvar/ar_track_alvar/include'.split(';') if '/home/xtark/ros_ws/devel/include;/home/xtark/ros_ws/src/third_packages/ar_track_alvar/ar_track_alvar/include' != '' else [] project_catkin_depends = 'ar_track_alvar_msgs;std_msgs;roscpp;tf;tf2;message_runtime;image_transport;sensor_msgs;geometry_msgs;visualization_msgs;resource_retriever;cv_bridge;pcl_ros;pcl_conversions;dynamic_reconfigure'.replace(';', ' ') pkg_config_libraries_with_prefix = '-lar_track_alvar'.split(';') if '-lar_track_alvar' != '' else [] project_name = 'ar_track_alvar' project_space_dir = '/home/xtark/ros_ws/devel' project_version = '0.7.1'
def maxfun(l, *arr): maxn = 0 maxsum = 0 for k, i in enumerate(arr): s = 0 for t in l: s += i(t) if s >= maxsum: maxn = k maxsum = s return arr[maxn]
def maxfun(l, *arr): maxn = 0 maxsum = 0 for (k, i) in enumerate(arr): s = 0 for t in l: s += i(t) if s >= maxsum: maxn = k maxsum = s return arr[maxn]
class EngineParams(object): def __init__(self, **kwargs): # Iterates over provided arguments and sets the provided arguments as class properties for key, value in kwargs.items(): setattr(self, key, value)
class Engineparams(object): def __init__(self, **kwargs): for (key, value) in kwargs.items(): setattr(self, key, value)
colours = {} # Regular colours["Black"]="\033[0;30m" colours["Red"]="\033[0;31m" colours["Green"]="\033[0;32m" colours["Yellow"]="\033[0;33m" colours["Blue"]="\033[0;34m" colours["Purple"]="\033[0;35m" colours["Cyan"]="\033[0;36m" colours["White"]="\033[0;37m" #Bold colours["BBlack"]="\033[1;30m" colours["BRed"]="\033[1;31m" colours["BGreen"]="\033[1;32m" colours["BYellow"]="\033[1;33m" colours["BBlue"]="\033[1;34m" colours["BPurple"]="\033[1;35m" colours["BCyan"]="\033[1;36m" colours["BWhite"]="\033[1;37m" # High Intensity colours["IBlack"]="\033[0;90m" colours["IRed"]="\033[0;91m" colours["IGreen"]="\033[0;92m" colours["IYellow"]="\033[0;93m" colours["IBlue"]="\033[0;94m" colours["IPurple"]="\033[0;95m" colours["ICyan"]="\033[0;96m" colours["IWhite"]="\033[0;97m" # Bold High Intensity colours["BIBlack"]="\033[1;90m" colours["BIRed"]="\033[1;91m" colours["BIGreen"]="\033[1;92m" colours["BIYellow"]="\033[1;93m" colours["BIBlue"]="\033[1;94m" colours["BIPurple"]="\033[1;95m" colours["BICyan"]="\033[1;96m" colours["BIWhite"]="\033[1;97m" colour_close = "\033[0m" colour_list = ['BRed', 'BGreen', 'BYellow', 'BBlue', 'BPurple', 'BCyan', 'IRed', 'IGreen', 'IYellow', 'IBlue', 'IPurple', 'ICyan']
colours = {} colours['Black'] = '\x1b[0;30m' colours['Red'] = '\x1b[0;31m' colours['Green'] = '\x1b[0;32m' colours['Yellow'] = '\x1b[0;33m' colours['Blue'] = '\x1b[0;34m' colours['Purple'] = '\x1b[0;35m' colours['Cyan'] = '\x1b[0;36m' colours['White'] = '\x1b[0;37m' colours['BBlack'] = '\x1b[1;30m' colours['BRed'] = '\x1b[1;31m' colours['BGreen'] = '\x1b[1;32m' colours['BYellow'] = '\x1b[1;33m' colours['BBlue'] = '\x1b[1;34m' colours['BPurple'] = '\x1b[1;35m' colours['BCyan'] = '\x1b[1;36m' colours['BWhite'] = '\x1b[1;37m' colours['IBlack'] = '\x1b[0;90m' colours['IRed'] = '\x1b[0;91m' colours['IGreen'] = '\x1b[0;92m' colours['IYellow'] = '\x1b[0;93m' colours['IBlue'] = '\x1b[0;94m' colours['IPurple'] = '\x1b[0;95m' colours['ICyan'] = '\x1b[0;96m' colours['IWhite'] = '\x1b[0;97m' colours['BIBlack'] = '\x1b[1;90m' colours['BIRed'] = '\x1b[1;91m' colours['BIGreen'] = '\x1b[1;92m' colours['BIYellow'] = '\x1b[1;93m' colours['BIBlue'] = '\x1b[1;94m' colours['BIPurple'] = '\x1b[1;95m' colours['BICyan'] = '\x1b[1;96m' colours['BIWhite'] = '\x1b[1;97m' colour_close = '\x1b[0m' colour_list = ['BRed', 'BGreen', 'BYellow', 'BBlue', 'BPurple', 'BCyan', 'IRed', 'IGreen', 'IYellow', 'IBlue', 'IPurple', 'ICyan']
class A(object): x:int = 1 def foo(): print(1) print(A) print(foo()) #ok print(foo) #error
class A(object): x: int = 1 def foo(): print(1) print(A) print(foo()) print(foo)
# The path to the Webdriver (for Chrome/Chromium) CHROMEDRIVER_PATH = 'C:\\WebDriver\\bin\\chromedriver.exe' # Tell the browser to ignore invalid/insecure https connections BROWSER_INSECURE_CERTS = True # The URL pointing to the Franka Control Webinterface (Desk) DESK_URL = 'robot.franka.de' # Expect a login page when calling Desk DESK_LOGIN_REQUIRED = True # The ADS Id of the PLC (defaults to localhost) PLC_ID = '127.0.0.1.1.1' # Boolean flag on the PLC, set TRUE to start the web browser PLC_START_FLAG = 'GVL.bStartBlockly' # Blocklenium sets this flag TRUE if it terminates due to an exception PLC_ERROR_FLAG = 'GVL.bBlockleniumError' # Blocklenium sets this to it's terminating error message PLC_ERROR_MSG = 'GVL.sBlockleniumErrorMsg' # Set the Username for Desk on the PLC PLC_DESK_USER = 'GVL.sDeskUsername' # Set the Password for Desk on the PLC PLC_DESK_PW = 'GVL.sDeskPassword'
chromedriver_path = 'C:\\WebDriver\\bin\\chromedriver.exe' browser_insecure_certs = True desk_url = 'robot.franka.de' desk_login_required = True plc_id = '127.0.0.1.1.1' plc_start_flag = 'GVL.bStartBlockly' plc_error_flag = 'GVL.bBlockleniumError' plc_error_msg = 'GVL.sBlockleniumErrorMsg' plc_desk_user = 'GVL.sDeskUsername' plc_desk_pw = 'GVL.sDeskPassword'
def print_division(a,b): try: result = a / b print(f"result: {result}") except: # It catches ALL errors print("error occurred") print_division(10,5) print_division(10,0) print_division(10,2) str_line = input("please enter two numbers to divide:") a = int(str_line.split(" ")[0]) b = int(str_line.split(" ")[1]) print_division(a,b)
def print_division(a, b): try: result = a / b print(f'result: {result}') except: print('error occurred') print_division(10, 5) print_division(10, 0) print_division(10, 2) str_line = input('please enter two numbers to divide:') a = int(str_line.split(' ')[0]) b = int(str_line.split(' ')[1]) print_division(a, b)
t = int(input()) while t: arr = [] S = input().split() if(len(S)==1): print(S[0].capitalize()) else: for i in range(len(S)): arr.append(S[i].capitalize()) for i in range(len(S)-1): print(arr[i][0]+'.',end=' ') print(S[len(S)-1].capitalize()) t = t-1
t = int(input()) while t: arr = [] s = input().split() if len(S) == 1: print(S[0].capitalize()) else: for i in range(len(S)): arr.append(S[i].capitalize()) for i in range(len(S) - 1): print(arr[i][0] + '.', end=' ') print(S[len(S) - 1].capitalize()) t = t - 1
class Image_SVG(): def Stmp(self): return
class Image_Svg: def stmp(self): return
def crack(value,g,mod): for i in range(mod): if ((g**i) % mod == value): return i # print("X = ", crack(57, 13, 59)) # print("Y = ", crack(44,13,59)) # print("Alice computes", (44**20)%59) # print("Bob computes", (57**47)%59) def find_num(target): for i in range(target): for j in range(target): if(i * j == target): print(i,j) find_num(5561) def lcm(x,y): orig_x = x orig_y = y while True: if x < y: x = x + orig_x elif y < x: y = y + orig_y else: return x print(lcm(66,82)) def find_db(eb,mod): for i in range(100000): if ((eb*i) % mod == 1): return i print(find_db(13,2706)) def gcd_check(x,y): greater = max(x,y) for i in range(2,greater): if ((x%i) == 0 and (y%i) == 0): return False return True print(gcd_check(2706,13)) # compute ydB mod nB def decrypt(list, db, nb): decrypted = [] for i in range(len(list)): decrypted.append((list[i]**db) % nb) return decrypted def to_ASCII(list): message = "" for letter in list: message += chr(letter) return message encrypted_list = [1516, 3860, 2891, 570, 3483, 4022, 3437, 299,570, 843, 3433, 5450, 653, 570, 3860, 482, 3860, 4851, 570, 2187, 4022, 3075, 653, 3860, 570, 3433, 1511, 2442, 4851, 570, 2187, 3860, 570, 3433, 1511, 4022, 3411, 5139, 1511, 3433, 4180, 570, 4169, 4022, 3411, 3075, 570, 3000, 2442, 2458, 4759, 570, 2863, 2458, 3455, 1106, 3860, 299, 570, 1511, 3433, 3433, 3000, 653, 3269, 4951, 4951, 2187, 2187, 2187, 299, 653, 1106, 1511, 4851, 3860, 3455, 3860, 3075, 299, 1106, 4022, 3194, 4951, 3437, 2458, 4022, 5139, 4951, 2442, 3075, 1106, 1511, 3455, 482, 3860, 653, 4951, 2875, 3668, 2875, 2875, 4951, 3668, 4063, 4951, 2442, 3455, 3075, 3433, 2442, 5139, 653, 5077, 2442, 3075, 3860, 5077, 3411, 653, 3860, 1165, 5077, 2713, 4022, 3075, 5077, 653, 3433, 2442, 2458, 3409, 3455, 4851, 5139, 5077, 2713, 2442, 3075, 5077, 3194, 4022, 3075, 3860, 5077, 3433, 1511, 2442, 4851, 5077, 3000, 3075, 3860, 482, 3455, 4022, 3411, 653, 2458, 2891, 5077, 3075, 3860, 3000, 4022, 3075, 3433, 3860, 1165, 299, 1511, 3433, 3194, 2458] print(decrypt(encrypted_list, 1249, 5561)) decrypted = decrypt(encrypted_list, 1249, 5561) print(to_ASCII(decrypted))
def crack(value, g, mod): for i in range(mod): if g ** i % mod == value: return i def find_num(target): for i in range(target): for j in range(target): if i * j == target: print(i, j) find_num(5561) def lcm(x, y): orig_x = x orig_y = y while True: if x < y: x = x + orig_x elif y < x: y = y + orig_y else: return x print(lcm(66, 82)) def find_db(eb, mod): for i in range(100000): if eb * i % mod == 1: return i print(find_db(13, 2706)) def gcd_check(x, y): greater = max(x, y) for i in range(2, greater): if x % i == 0 and y % i == 0: return False return True print(gcd_check(2706, 13)) def decrypt(list, db, nb): decrypted = [] for i in range(len(list)): decrypted.append(list[i] ** db % nb) return decrypted def to_ascii(list): message = '' for letter in list: message += chr(letter) return message encrypted_list = [1516, 3860, 2891, 570, 3483, 4022, 3437, 299, 570, 843, 3433, 5450, 653, 570, 3860, 482, 3860, 4851, 570, 2187, 4022, 3075, 653, 3860, 570, 3433, 1511, 2442, 4851, 570, 2187, 3860, 570, 3433, 1511, 4022, 3411, 5139, 1511, 3433, 4180, 570, 4169, 4022, 3411, 3075, 570, 3000, 2442, 2458, 4759, 570, 2863, 2458, 3455, 1106, 3860, 299, 570, 1511, 3433, 3433, 3000, 653, 3269, 4951, 4951, 2187, 2187, 2187, 299, 653, 1106, 1511, 4851, 3860, 3455, 3860, 3075, 299, 1106, 4022, 3194, 4951, 3437, 2458, 4022, 5139, 4951, 2442, 3075, 1106, 1511, 3455, 482, 3860, 653, 4951, 2875, 3668, 2875, 2875, 4951, 3668, 4063, 4951, 2442, 3455, 3075, 3433, 2442, 5139, 653, 5077, 2442, 3075, 3860, 5077, 3411, 653, 3860, 1165, 5077, 2713, 4022, 3075, 5077, 653, 3433, 2442, 2458, 3409, 3455, 4851, 5139, 5077, 2713, 2442, 3075, 5077, 3194, 4022, 3075, 3860, 5077, 3433, 1511, 2442, 4851, 5077, 3000, 3075, 3860, 482, 3455, 4022, 3411, 653, 2458, 2891, 5077, 3075, 3860, 3000, 4022, 3075, 3433, 3860, 1165, 299, 1511, 3433, 3194, 2458] print(decrypt(encrypted_list, 1249, 5561)) decrypted = decrypt(encrypted_list, 1249, 5561) print(to_ascii(decrypted))
__version__ = '1.0.3.5' if __name__ == '__main__': print(__version__) # ****************************************************************************** # MIT License # # Copyright (c) 2020 Jianlin Shi # # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation # files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, # modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the # Software is furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE # WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR # COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # ******************************************************************************
__version__ = '1.0.3.5' if __name__ == '__main__': print(__version__)
#tests if passed-in number is a prime number def is_prime(num): if num < 2: return False for i in range(2, num): if num % i == 0: return False return True #takes in a number and returns a list of prime numbers for zero to the number def generate_prime_numbers(number): primes = [] try: isinstance(number, int) if number > 0: for num in range(2, number+1): if is_prime(num): primes.append(num) return primes else: return 'number should be a positive integer greater than 0' except TypeError: raise TypeError
def is_prime(num): if num < 2: return False for i in range(2, num): if num % i == 0: return False return True def generate_prime_numbers(number): primes = [] try: isinstance(number, int) if number > 0: for num in range(2, number + 1): if is_prime(num): primes.append(num) return primes else: return 'number should be a positive integer greater than 0' except TypeError: raise TypeError
# time O(nlogn) # space O(1) def minimumWaitingTime(queries): queries.sort() total = 0 prev_sum = 0 for i in queries[:-1]: prev_sum += i total += prev_sum return total # time O(nlogn) # space O(1) def minimumWaitingTime(queries): queries.sort() total = 0 for idx, wait_time in enumerate(queries, start=1): queries_left = len(queries) - idx total += queries_left * wait_time return total
def minimum_waiting_time(queries): queries.sort() total = 0 prev_sum = 0 for i in queries[:-1]: prev_sum += i total += prev_sum return total def minimum_waiting_time(queries): queries.sort() total = 0 for (idx, wait_time) in enumerate(queries, start=1): queries_left = len(queries) - idx total += queries_left * wait_time return total
for _ in range(int(input())): n, m, k = map(int, input().split()) req = 0 req = 1*(m-1) + m*(n-1) if req == k: print("YES") else: print("NO")
for _ in range(int(input())): (n, m, k) = map(int, input().split()) req = 0 req = 1 * (m - 1) + m * (n - 1) if req == k: print('YES') else: print('NO')
#/*********************************************************\ # * File: 44ScriptOOP.py * # * # * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) # * # * This file is part of PixelLight. # * # * Permission is hereby granted, free of charge, to any person obtaining a copy of this software # * and associated documentation files (the "Software"), to deal in the Software without # * restriction, including without limitation the rights to use, copy, modify, merge, publish, # * distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the # * Software is furnished to do so, subject to the following conditions: # * # * The above copyright notice and this permission notice shall be included in all copies or # * substantial portions of the Software. # * # * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING # * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND # * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, # * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING # * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #\*********************************************************/ #[-------------------------------------------------------] #[ Classes ] #[-------------------------------------------------------] # The "MyScriptClass"-class declaration class MyScriptClass(object): "My script class" # The default constructor - In Python, we can only have one constructor # Destructor def __del__(this): PL['System']['Console']['Print']("MyScriptClass::~MyScriptClass() - a=" + str(this.a) + "\n") # Another constructor def __init__(this, a): # (most people are using the name "self" for this purpose, I stick with "this" to have as comparable as possible example scripts) # A public class attribute this.a = a PL['System']['Console']['Print']("MyScriptClass::MyScriptClass(a) - a=" + str(this.a) + "\n") # A public class method def DoSomething(this): this.a *= 2 PL['System']['Console']['Print']("MyScriptClass::DoSomething() - a=" + str(this.a) + "\n") # A derived class named "MyDerivedScriptClass" class MyDerivedScriptClass(MyScriptClass): "My derived script class" # The default constructor def __init__(this): # Calling the non-default constructor of the base class MyScriptClass.__init__(this, 10) # A public class attribute this.b = 0 # A private class attribute (actually, Python doesn't support private stuff, it's just a name convention!) this._privateX = 0 PL['System']['Console']['Print']("MyDerivedScriptClass::MyDerivedScriptClass() - b=" + str(this.b) + "\n") PL['System']['Console']['Print']("MyDerivedScriptClass::MyDerivedScriptClass() - _privateX=" + str(this._privateX) + "\n") # Overloading a public virtual method def DoSomething(this): # Call the base class implementation MyScriptClass.DoSomething(this) # Do something more this.b = this.a PL['System']['Console']['Print']("MyDerivedScriptClass::DoSomething() - b=" + str(this.b) + "\n") # Call the private class method this._PrivateDoSomething() # A public class method def GetPrivateX(this): return this._privateX # A private class method (actually, Python doesn't support private stuff, it's just a name convention!) def _PrivateDoSomething(this): # Increment the private attribute this._privateX = this._privateX + 1 PL['System']['Console']['Print']("MyDerivedScriptClass::PrivateDoSomething() - _privateX=" + str(this._privateX) + "\n") #[-------------------------------------------------------] #[ Global functions ] #[-------------------------------------------------------] def OOP(): # Create an instance of MyScriptClass firstObject = MyScriptClass(5) firstObject.a = 1 firstObject.DoSomething() # Create an instance of MyDerivedScriptClass secondObject = MyDerivedScriptClass() secondObject.DoSomething() secondObject.a = firstObject.a secondObject.b = 2 PL['System']['Console']['Print']("secondObject.GetPrivateX() = " + str(secondObject.GetPrivateX()) + "\n")
class Myscriptclass(object): """My script class""" def __del__(this): PL['System']['Console']['Print']('MyScriptClass::~MyScriptClass() - a=' + str(this.a) + '\n') def __init__(this, a): this.a = a PL['System']['Console']['Print']('MyScriptClass::MyScriptClass(a) - a=' + str(this.a) + '\n') def do_something(this): this.a *= 2 PL['System']['Console']['Print']('MyScriptClass::DoSomething() - a=' + str(this.a) + '\n') class Myderivedscriptclass(MyScriptClass): """My derived script class""" def __init__(this): MyScriptClass.__init__(this, 10) this.b = 0 this._privateX = 0 PL['System']['Console']['Print']('MyDerivedScriptClass::MyDerivedScriptClass() - b=' + str(this.b) + '\n') PL['System']['Console']['Print']('MyDerivedScriptClass::MyDerivedScriptClass() - _privateX=' + str(this._privateX) + '\n') def do_something(this): MyScriptClass.DoSomething(this) this.b = this.a PL['System']['Console']['Print']('MyDerivedScriptClass::DoSomething() - b=' + str(this.b) + '\n') this._PrivateDoSomething() def get_private_x(this): return this._privateX def __private_do_something(this): this._privateX = this._privateX + 1 PL['System']['Console']['Print']('MyDerivedScriptClass::PrivateDoSomething() - _privateX=' + str(this._privateX) + '\n') def oop(): first_object = my_script_class(5) firstObject.a = 1 firstObject.DoSomething() second_object = my_derived_script_class() secondObject.DoSomething() secondObject.a = firstObject.a secondObject.b = 2 PL['System']['Console']['Print']('secondObject.GetPrivateX() = ' + str(secondObject.GetPrivateX()) + '\n')
orig = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" num = int(input()) for i in range(num): alpha = list(orig) key = input() cipher = input() tl = list(key) letters = [] newAlpha = [] for l in tl: if l not in letters: letters.append(l) alpha.remove(l) length = len(letters) count = 0 t = [] for y in range(length): t.insert(y, "") t[y] += letters[y] count = y; while count < len(alpha): t[y] += alpha[count] count += length t.sort() for tt in t: for ttt in tt: newAlpha.append(ttt) count = 0 for c in cipher: if(c != " "): print(orig[newAlpha.index(c)], end="") count += 1 if(count == 5): count = 0 print(" ", end="") print(" ")
orig = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' num = int(input()) for i in range(num): alpha = list(orig) key = input() cipher = input() tl = list(key) letters = [] new_alpha = [] for l in tl: if l not in letters: letters.append(l) alpha.remove(l) length = len(letters) count = 0 t = [] for y in range(length): t.insert(y, '') t[y] += letters[y] count = y while count < len(alpha): t[y] += alpha[count] count += length t.sort() for tt in t: for ttt in tt: newAlpha.append(ttt) count = 0 for c in cipher: if c != ' ': print(orig[newAlpha.index(c)], end='') count += 1 if count == 5: count = 0 print(' ', end='') print(' ')
def get_inplane(inplanes, idx): if isinstance(inplanes, list): return inplanes[idx] else: return inplanes
def get_inplane(inplanes, idx): if isinstance(inplanes, list): return inplanes[idx] else: return inplanes
def linearsearch(_list, _v): if len(_list) == 0: return False for i, item in enumerate(_list): if item == _v: return i return False
def linearsearch(_list, _v): if len(_list) == 0: return False for (i, item) in enumerate(_list): if item == _v: return i return False
images = [ "https://demo.com/imgs/1.jpg", "https://demo.com/imgs/2.jpg", "https://demo.com/imgs/3.jpg", ]
images = ['https://demo.com/imgs/1.jpg', 'https://demo.com/imgs/2.jpg', 'https://demo.com/imgs/3.jpg']
INITIAL_CAROUSEL_DATA = [ { "title": "New Feature", "description": "Explore", "graphic": "/images/homepage/map-explorer.png", "url": "/explore" }, { "title": "Data Visualization", "description": "Yemen - WFP mVAM, Food Security Monitoring", "graphic": "/images/homepage/mVAM.png", "url": "//data.humdata.org/visualization/wfp-indicators/" }, { "title": "Data Visualization", "description": "South Sudan - OCHA, Who is doing What Where (3W)", "graphic": "/images/homepage/south-sudan.png", "url": "//data.humdata.org/organization/ocha-south-sudan" }, { "title": "Blog Post", "description": "New Features", "graphic": "/images/homepage/membership.jpg", "url": "https://centre.humdata.org/new-features-contact-the-contributor-and-group-message/", "buttonText": "Read", "newTab": True }, { "title": "Data Visualization", "description": "Global - WFP, Food Market Prices", "graphic": "/images/homepage/WFP.png", "url": "//data.humdata.org/organization/wfp" }, { "title": "Data Visualization", "description": "Kenya, Kakuma Refugee Camp - UNHCR, Who is doing What Where", "graphic": "/images/homepage/KakumaRefugee.png", "url": "//data.humdata.org/organization/unhcr-kenya" }, { "title": "Data Visualization", "description": "Somalia - Adeso, Who is doing What, Where and When (4W)", "graphic": "/images/homepage/Adeso.png", "url": "//data.humdata.org/organization/adeso" }, { "title": "Film", "description": "Making the Invisible Visible", "graphic": "/images/homepage/movie_small.png", "embed": True, "url": "//youtu.be/7QX5Ji5gl9g" } ]
initial_carousel_data = [{'title': 'New Feature', 'description': 'Explore', 'graphic': '/images/homepage/map-explorer.png', 'url': '/explore'}, {'title': 'Data Visualization', 'description': 'Yemen - WFP mVAM, Food Security Monitoring', 'graphic': '/images/homepage/mVAM.png', 'url': '//data.humdata.org/visualization/wfp-indicators/'}, {'title': 'Data Visualization', 'description': 'South Sudan - OCHA, Who is doing What Where (3W)', 'graphic': '/images/homepage/south-sudan.png', 'url': '//data.humdata.org/organization/ocha-south-sudan'}, {'title': 'Blog Post', 'description': 'New Features', 'graphic': '/images/homepage/membership.jpg', 'url': 'https://centre.humdata.org/new-features-contact-the-contributor-and-group-message/', 'buttonText': 'Read', 'newTab': True}, {'title': 'Data Visualization', 'description': 'Global - WFP, Food Market Prices', 'graphic': '/images/homepage/WFP.png', 'url': '//data.humdata.org/organization/wfp'}, {'title': 'Data Visualization', 'description': 'Kenya, Kakuma Refugee Camp - UNHCR, Who is doing What Where', 'graphic': '/images/homepage/KakumaRefugee.png', 'url': '//data.humdata.org/organization/unhcr-kenya'}, {'title': 'Data Visualization', 'description': 'Somalia - Adeso, Who is doing What, Where and When (4W)', 'graphic': '/images/homepage/Adeso.png', 'url': '//data.humdata.org/organization/adeso'}, {'title': 'Film', 'description': 'Making the Invisible Visible', 'graphic': '/images/homepage/movie_small.png', 'embed': True, 'url': '//youtu.be/7QX5Ji5gl9g'}]
"optimize with in-place list operations" class error(Exception): pass # when imported: local exception class Stack: def __init__(self, start=[]): # self is the instance object self.stack = [] # start is any sequence: stack... for x in start: self.push(x) def push(self, obj): # methods: like module + self self.stack.append(obj) # top is end of list def pop(self): if not self.stack: raise error('underflow') return self.stack.pop() # like fetch and delete stack[-1] def top(self): if not self.stack: raise error('underflow') return self.stack[-1] def empty(self): return not self.stack # instance.empty() def __len__(self): return len(self.stack) # len(instance), not instance def __getitem__(self, offset): return self.stack[offset] # instance[offset], in, for def __repr__(self): return '[Stack:%s]' % self.stack
"""optimize with in-place list operations""" class Error(Exception): pass class Stack: def __init__(self, start=[]): self.stack = [] for x in start: self.push(x) def push(self, obj): self.stack.append(obj) def pop(self): if not self.stack: raise error('underflow') return self.stack.pop() def top(self): if not self.stack: raise error('underflow') return self.stack[-1] def empty(self): return not self.stack def __len__(self): return len(self.stack) def __getitem__(self, offset): return self.stack[offset] def __repr__(self): return '[Stack:%s]' % self.stack
''' A Simple nested if ''' # Can you eat chicken? a = input("Are you veg or non veg?\n") day = input("Which day is today?\n") if(a == "nonveg"): if(day == "sunday"): print("You can eat chicken") else: print("It is not sunday! You cannot eat chicken..") else: print("you are vegitarian! you cannot eat chicken!")
""" A Simple nested if """ a = input('Are you veg or non veg?\n') day = input('Which day is today?\n') if a == 'nonveg': if day == 'sunday': print('You can eat chicken') else: print('It is not sunday! You cannot eat chicken..') else: print('you are vegitarian! you cannot eat chicken!')
languages = {} banned = [] results = {} data = input().split("-") while "exam finished" not in data: if "banned" in data: banned.append(data[0]) data = input().split("-") continue name = data[0] language = data[1] points = int(data[2]) current_points = 0 if language in languages: languages[language] += 1 if name in results: if points > results[name]: results[name] = points else: results[name] = points else: languages[language] = 1 results[name] = points data = input().split("-") results = dict(sorted(results.items(), key=lambda x: (-x[1], x[0]))) languages = dict(sorted(languages.items(), key=lambda x: (-x[1], x[0]))) print("Results:") for name in results: if name in banned: continue else: print(f"{name} | {results[name]}") print("Submissions:") [print(f"{language} - {languages[language]}") for language in languages]
languages = {} banned = [] results = {} data = input().split('-') while 'exam finished' not in data: if 'banned' in data: banned.append(data[0]) data = input().split('-') continue name = data[0] language = data[1] points = int(data[2]) current_points = 0 if language in languages: languages[language] += 1 if name in results: if points > results[name]: results[name] = points else: results[name] = points else: languages[language] = 1 results[name] = points data = input().split('-') results = dict(sorted(results.items(), key=lambda x: (-x[1], x[0]))) languages = dict(sorted(languages.items(), key=lambda x: (-x[1], x[0]))) print('Results:') for name in results: if name in banned: continue else: print(f'{name} | {results[name]}') print('Submissions:') [print(f'{language} - {languages[language]}') for language in languages]
''' Generic functions for files ''' class FileOps: def open(self, name): ''' Open the file and return a string ''' with open(name, 'rb') as f: return f.read()
""" Generic functions for files """ class Fileops: def open(self, name): """ Open the file and return a string """ with open(name, 'rb') as f: return f.read()
''' Caesar Cypher, by Jackson Urquhart - 19 February 2022 @ 22:47 ''' in_str = str(input("\nEnter phrase: \n")) # Gets in_string from user key = int(input("\nEnter key: \n")) # Gets key from user keep_upper = str(input("\nMaintain case? y/n\n")) # Determines whether user wants to maintiain case values def encrypt(in_str, key): # Def encrypt out_str = '' # Object to be returned for letter in in_str: # For string in in_str if 96 < ord(letter.lower()) < 123: # If letter is a letter if keep_upper=='y' and letter.isupper(): # If letter is upper upper_status = True # Set upper_status to True letter=letter.lower() char=ord(letter) # Set char to ascii of letter char += key # Add key to ascii of letter if char>122: # If char with key is > 122 (z) print(char) char = 97+(123-char) # Subtract 123 from char and add additional value to 97 (a) print(char) if upper_status is True: # If letter is upper char -= 32 # Make char ASCII for uppper letter upper_status = False # Reset upper status out_str += chr(char) # Add str value of char to out_str else: # If letter is not a letter out_str += letter # Add letter return(out_str) # Return out_str out_str=encrypt(in_str, key) # Defines out_str as the reslt of main print(out_str) # Print out_str
""" Caesar Cypher, by Jackson Urquhart - 19 February 2022 @ 22:47 """ in_str = str(input('\nEnter phrase: \n')) key = int(input('\nEnter key: \n')) keep_upper = str(input('\nMaintain case? y/n\n')) def encrypt(in_str, key): out_str = '' for letter in in_str: if 96 < ord(letter.lower()) < 123: if keep_upper == 'y' and letter.isupper(): upper_status = True letter = letter.lower() char = ord(letter) char += key if char > 122: print(char) char = 97 + (123 - char) print(char) if upper_status is True: char -= 32 upper_status = False out_str += chr(char) else: out_str += letter return out_str out_str = encrypt(in_str, key) print(out_str)
# # PySNMP MIB module ETHER-WIS (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ETHER-WIS # Produced by pysmi-0.3.4 at Wed May 1 13:06:45 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ValueRangeConstraint, ConstraintsIntersection, ConstraintsUnion, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueRangeConstraint", "ConstraintsIntersection", "ConstraintsUnion", "ValueSizeConstraint") ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex") NotificationGroup, ObjectGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup", "ModuleCompliance") Integer32, transmission, ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, Bits, IpAddress, MibIdentifier, Counter64, Unsigned32, ObjectIdentity, NotificationType, iso, Counter32, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "transmission", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "Bits", "IpAddress", "MibIdentifier", "Counter64", "Unsigned32", "ObjectIdentity", "NotificationType", "iso", "Counter32", "TimeTicks") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") sonetMediumLineType, sonetFarEndPathStuff2, sonetSESthresholdSet, sonetMediumStuff2, sonetSectionStuff2, sonetPathCurrentWidth, sonetPathStuff2, sonetMediumCircuitIdentifier, sonetMediumLoopbackConfig, sonetFarEndLineStuff2, sonetLineStuff2, sonetMediumLineCoding, sonetMediumType = mibBuilder.importSymbols("SONET-MIB", "sonetMediumLineType", "sonetFarEndPathStuff2", "sonetSESthresholdSet", "sonetMediumStuff2", "sonetSectionStuff2", "sonetPathCurrentWidth", "sonetPathStuff2", "sonetMediumCircuitIdentifier", "sonetMediumLoopbackConfig", "sonetFarEndLineStuff2", "sonetLineStuff2", "sonetMediumLineCoding", "sonetMediumType") etherWisMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 10, 134)) etherWisMIB.setRevisions(('2003-09-19 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: etherWisMIB.setRevisionsDescriptions(('Initial version, published as RFC 3637.',)) if mibBuilder.loadTexts: etherWisMIB.setLastUpdated('200309190000Z') if mibBuilder.loadTexts: etherWisMIB.setOrganization('IETF Ethernet Interfaces and Hub MIB Working Group') if mibBuilder.loadTexts: etherWisMIB.setContactInfo('WG charter: http://www.ietf.org/html.charters/hubmib-charter.html Mailing Lists: General Discussion: hubmib@ietf.org To Subscribe: hubmib-request@ietf.org In Body: subscribe your_email_address Chair: Dan Romascanu Postal: Avaya Inc. Atidim Technology Park, Bldg. 3 Tel Aviv 61131 Israel Tel: +972 3 645 8414 E-mail: dromasca@avaya.com Editor: C. M. Heard Postal: 600 Rainbow Dr. #141 Mountain View, CA 94041-2542 USA Tel: +1 650-964-8391 E-mail: heard@pobox.com') if mibBuilder.loadTexts: etherWisMIB.setDescription("The objects in this MIB module are used in conjunction with objects in the SONET-MIB and the MAU-MIB to manage the Ethernet WAN Interface Sublayer (WIS). The following reference is used throughout this MIB module: [IEEE 802.3 Std] refers to: IEEE Std 802.3, 2000 Edition: 'IEEE Standard for Information technology - Telecommunications and information exchange between systems - Local and metropolitan area networks - Specific requirements - Part 3: Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specifications', as amended by IEEE Std 802.3ae-2002, 'IEEE Standard for Carrier Sense Multiple Access with Collision Detection (CSMA/CD) Access Method and Physical Layer Specifications - Media Access Control (MAC) Parameters, Physical Layer and Management Parameters for 10 Gb/s Operation', 30 August 2002. Of particular interest are Clause 50, 'WAN Interface Sublayer (WIS), type 10GBASE-W', Clause 30, '10Mb/s, 100Mb/s, 1000Mb/s, and 10Gb/s MAC Control, and Link Aggregation Management', and Clause 45, 'Management Data Input/Output (MDIO) Interface'. Copyright (C) The Internet Society (2003). This version of this MIB module is part of RFC 3637; see the RFC itself for full legal notices.") etherWisObjects = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 1)) etherWisObjectsPath = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 2)) etherWisConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 3)) etherWisDevice = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 1, 1)) etherWisSection = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 1, 2)) etherWisPath = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 2, 1)) etherWisFarEndPath = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 2, 2)) etherWisDeviceTable = MibTable((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1), ) if mibBuilder.loadTexts: etherWisDeviceTable.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceTable.setDescription('The table for Ethernet WIS devices') etherWisDeviceEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: etherWisDeviceEntry.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceEntry.setDescription('An entry in the Ethernet WIS device table. For each instance of this object there MUST be a corresponding instance of sonetMediumEntry.') etherWisDeviceTxTestPatternMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("none", 1), ("squareWave", 2), ("prbs31", 3), ("mixedFrequency", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherWisDeviceTxTestPatternMode.setReference('[IEEE 802.3 Std.], 50.3.8, WIS test pattern generator and checker, 45.2.2.6, 10G WIS control 2 register (2.7), and 45.2.2.7.2, PRBS31 pattern testing ability (2.8.1).') if mibBuilder.loadTexts: etherWisDeviceTxTestPatternMode.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceTxTestPatternMode.setDescription('This variable controls the transmit test pattern mode. The value none(1) puts the the WIS transmit path into the normal operating mode. The value squareWave(2) puts the WIS transmit path into the square wave test pattern mode described in [IEEE 802.3 Std.] subclause 50.3.8.1. The value prbs31(3) puts the WIS transmit path into the PRBS31 test pattern mode described in [IEEE 802.3 Std.] subclause 50.3.8.2. The value mixedFrequency(4) puts the WIS transmit path into the mixed frequency test pattern mode described in [IEEE 802.3 Std.] subclause 50.3.8.3. Any attempt to set this object to a value other than none(1) when the corresponding instance of ifAdminStatus has the value up(1) MUST be rejected with the error inconsistentValue, and any attempt to set the corresponding instance of ifAdminStatus to the value up(1) when an instance of this object has a value other than none(1) MUST be rejected with the error inconsistentValue.') etherWisDeviceRxTestPatternMode = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 3, 4))).clone(namedValues=NamedValues(("none", 1), ("prbs31", 3), ("mixedFrequency", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherWisDeviceRxTestPatternMode.setReference('[IEEE 802.3 Std.], 50.3.8, WIS test pattern generator and checker, 45.2.2.6, 10G WIS control 2 register (2.7), and 45.2.2.7.2, PRBS31 pattern testing ability (2.8.1).') if mibBuilder.loadTexts: etherWisDeviceRxTestPatternMode.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceRxTestPatternMode.setDescription('This variable controls the receive test pattern mode. The value none(1) puts the the WIS receive path into the normal operating mode. The value prbs31(3) puts the WIS receive path into the PRBS31 test pattern mode described in [IEEE 802.3 Std.] subclause 50.3.8.2. The value mixedFrequency(4) puts the WIS receive path into the mixed frequency test pattern mode described in [IEEE 802.3 Std.] subclause 50.3.8.3. Any attempt to set this object to a value other than none(1) when the corresponding instance of ifAdminStatus has the value up(1) MUST be rejected with the error inconsistentValue, and any attempt to set the corresponding instance of ifAdminStatus to the value up(1) when an instance of this object has a value other than none(1) MUST be rejected with the error inconsistentValue.') etherWisDeviceRxTestPatternErrors = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1, 1, 3), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherWisDeviceRxTestPatternErrors.setReference('[IEEE 802.3 Std.], 50.3.8, WIS test pattern generator and checker, 45.2.2.7.2, PRBS31 pattern testing ability (2.8.1), and 45.2.2.8, 10G WIS test pattern error counter register (2.9).') if mibBuilder.loadTexts: etherWisDeviceRxTestPatternErrors.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceRxTestPatternErrors.setDescription('This object counts the number of errors detected when the WIS receive path is operating in the PRBS31 test pattern mode. It is reset to zero when the WIS receive path initially enters that mode, and it increments each time the PRBS pattern checker detects an error as described in [IEEE 802.3 Std.] subclause 50.3.8.2 unless its value is 65535, in which case it remains unchanged. This object is writeable so that it may be reset upon explicit request of a command generator application while the WIS receive path continues to operate in PRBS31 test pattern mode.') etherWisSectionCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 134, 1, 2, 1), ) if mibBuilder.loadTexts: etherWisSectionCurrentTable.setStatus('current') if mibBuilder.loadTexts: etherWisSectionCurrentTable.setDescription('The table for the current state of Ethernet WIS sections.') etherWisSectionCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 134, 1, 2, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: etherWisSectionCurrentEntry.setStatus('current') if mibBuilder.loadTexts: etherWisSectionCurrentEntry.setDescription('An entry in the etherWisSectionCurrentTable. For each instance of this object there MUST be a corresponding instance of sonetSectionCurrentEntry.') etherWisSectionCurrentJ0Transmitted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 1, 2, 1, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherWisSectionCurrentJ0Transmitted.setReference('[IEEE 802.3 Std.], 30.8.1.1.8, aJ0ValueTX.') if mibBuilder.loadTexts: etherWisSectionCurrentJ0Transmitted.setStatus('current') if mibBuilder.loadTexts: etherWisSectionCurrentJ0Transmitted.setDescription("This is the 16-octet section trace message that is transmitted in the J0 byte. The value SHOULD be '89'h followed by fifteen octets of '00'h (or some cyclic shift thereof) when the section trace function is not used, and the implementation SHOULD use that value (or a cyclic shift thereof) as a default if no other value has been set.") etherWisSectionCurrentJ0Received = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 1, 2, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readonly") if mibBuilder.loadTexts: etherWisSectionCurrentJ0Received.setReference('[IEEE 802.3 Std.], 30.8.1.1.9, aJ0ValueRX.') if mibBuilder.loadTexts: etherWisSectionCurrentJ0Received.setStatus('current') if mibBuilder.loadTexts: etherWisSectionCurrentJ0Received.setDescription('This is the 16-octet section trace message that was most recently received in the J0 byte.') etherWisPathCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1), ) if mibBuilder.loadTexts: etherWisPathCurrentTable.setStatus('current') if mibBuilder.loadTexts: etherWisPathCurrentTable.setDescription('The table for the current state of Ethernet WIS paths.') etherWisPathCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: etherWisPathCurrentEntry.setStatus('current') if mibBuilder.loadTexts: etherWisPathCurrentEntry.setDescription('An entry in the etherWisPathCurrentTable. For each instance of this object there MUST be a corresponding instance of sonetPathCurrentEntry.') etherWisPathCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1, 1, 1), Bits().clone(namedValues=NamedValues(("etherWisPathLOP", 0), ("etherWisPathAIS", 1), ("etherWisPathPLM", 2), ("etherWisPathLCD", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: etherWisPathCurrentStatus.setReference('[IEEE 802.3 Std.], 30.8.1.1.18, aPathStatus.') if mibBuilder.loadTexts: etherWisPathCurrentStatus.setStatus('current') if mibBuilder.loadTexts: etherWisPathCurrentStatus.setDescription('This variable indicates the current status of the path payload with a bit map that can indicate multiple defects at once. The bit positions are assigned as follows: etherWisPathLOP(0) This bit is set to indicate that an LOP-P (Loss of Pointer - Path) defect is being experienced. Note: when this bit is set, sonetPathSTSLOP MUST be set in the corresponding instance of sonetPathCurrentStatus. etherWisPathAIS(1) This bit is set to indicate that an AIS-P (Alarm Indication Signal - Path) defect is being experienced. Note: when this bit is set, sonetPathSTSAIS MUST be set in the corresponding instance of sonetPathCurrentStatus. etherWisPathPLM(1) This bit is set to indicate that a PLM-P (Payload Label Mismatch - Path) defect is being experienced. Note: when this bit is set, sonetPathSignalLabelMismatch MUST be set in the corresponding instance of sonetPathCurrentStatus. etherWisPathLCD(3) This bit is set to indicate that an LCD-P (Loss of Codegroup Delination - Path) defect is being experienced. Since this defect is detected by the PCS and not by the path layer itself, there is no corresponding bit in sonetPathCurrentStatus.') etherWisPathCurrentJ1Transmitted = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readwrite") if mibBuilder.loadTexts: etherWisPathCurrentJ1Transmitted.setReference('[IEEE 802.3 Std.], 30.8.1.1.23, aJ1ValueTX.') if mibBuilder.loadTexts: etherWisPathCurrentJ1Transmitted.setStatus('current') if mibBuilder.loadTexts: etherWisPathCurrentJ1Transmitted.setDescription("This is the 16-octet path trace message that is transmitted in the J1 byte. The value SHOULD be '89'h followed by fifteen octets of '00'h (or some cyclic shift thereof) when the path trace function is not used, and the implementation SHOULD use that value (or a cyclic shift thereof) as a default if no other value has been set.") etherWisPathCurrentJ1Received = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readonly") if mibBuilder.loadTexts: etherWisPathCurrentJ1Received.setReference('[IEEE 802.3 Std.], 30.8.1.1.24, aJ1ValueRX.') if mibBuilder.loadTexts: etherWisPathCurrentJ1Received.setStatus('current') if mibBuilder.loadTexts: etherWisPathCurrentJ1Received.setDescription('This is the 16-octet path trace message that was most recently received in the J1 byte.') etherWisFarEndPathCurrentTable = MibTable((1, 3, 6, 1, 2, 1, 10, 134, 2, 2, 1), ) if mibBuilder.loadTexts: etherWisFarEndPathCurrentTable.setStatus('current') if mibBuilder.loadTexts: etherWisFarEndPathCurrentTable.setDescription('The table for the current far-end state of Ethernet WIS paths.') etherWisFarEndPathCurrentEntry = MibTableRow((1, 3, 6, 1, 2, 1, 10, 134, 2, 2, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: etherWisFarEndPathCurrentEntry.setStatus('current') if mibBuilder.loadTexts: etherWisFarEndPathCurrentEntry.setDescription('An entry in the etherWisFarEndPathCurrentTable. For each instance of this object there MUST be a corresponding instance of sonetFarEndPathCurrentEntry.') etherWisFarEndPathCurrentStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 10, 134, 2, 2, 1, 1, 1), Bits().clone(namedValues=NamedValues(("etherWisFarEndPayloadDefect", 0), ("etherWisFarEndServerDefect", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: etherWisFarEndPathCurrentStatus.setReference('[IEEE 802.3 Std.], 30.8.1.1.25, aFarEndPathStatus.') if mibBuilder.loadTexts: etherWisFarEndPathCurrentStatus.setStatus('current') if mibBuilder.loadTexts: etherWisFarEndPathCurrentStatus.setDescription('This variable indicates the current status at the far end of the path using a bit map that can indicate multiple defects at once. The bit positions are assigned as follows: etherWisFarEndPayloadDefect(0) A far end payload defect (i.e., far end PLM-P or LCD-P) is currently being signaled in G1 bits 5-7. etherWisFarEndServerDefect(1) A far end server defect (i.e., far end LOP-P or AIS-P) is currently being signaled in G1 bits 5-7. Note: when this bit is set, sonetPathSTSRDI MUST be set in the corresponding instance of sonetPathCurrentStatus.') etherWisGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 3, 1)) etherWisCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 10, 134, 3, 2)) etherWisDeviceGroupBasic = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 1)).setObjects(("ETHER-WIS", "etherWisDeviceTxTestPatternMode"), ("ETHER-WIS", "etherWisDeviceRxTestPatternMode")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etherWisDeviceGroupBasic = etherWisDeviceGroupBasic.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceGroupBasic.setDescription('A collection of objects that support test features required of all WIS devices.') etherWisDeviceGroupExtra = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 2)).setObjects(("ETHER-WIS", "etherWisDeviceRxTestPatternErrors")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etherWisDeviceGroupExtra = etherWisDeviceGroupExtra.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceGroupExtra.setDescription('A collection of objects that support optional WIS device test features.') etherWisSectionGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 3)).setObjects(("ETHER-WIS", "etherWisSectionCurrentJ0Transmitted"), ("ETHER-WIS", "etherWisSectionCurrentJ0Received")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etherWisSectionGroup = etherWisSectionGroup.setStatus('current') if mibBuilder.loadTexts: etherWisSectionGroup.setDescription('A collection of objects that provide required information about a WIS section.') etherWisPathGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 4)).setObjects(("ETHER-WIS", "etherWisPathCurrentStatus"), ("ETHER-WIS", "etherWisPathCurrentJ1Transmitted"), ("ETHER-WIS", "etherWisPathCurrentJ1Received")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etherWisPathGroup = etherWisPathGroup.setStatus('current') if mibBuilder.loadTexts: etherWisPathGroup.setDescription('A collection of objects that provide required information about a WIS path.') etherWisFarEndPathGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 5)).setObjects(("ETHER-WIS", "etherWisFarEndPathCurrentStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etherWisFarEndPathGroup = etherWisFarEndPathGroup.setStatus('current') if mibBuilder.loadTexts: etherWisFarEndPathGroup.setDescription('A collection of objects that provide required information about the far end of a WIS path.') etherWisCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 10, 134, 3, 2, 1)).setObjects(("ETHER-WIS", "etherWisDeviceGroupBasic"), ("ETHER-WIS", "etherWisSectionGroup"), ("ETHER-WIS", "etherWisPathGroup"), ("ETHER-WIS", "etherWisFarEndPathGroup"), ("SONET-MIB", "sonetMediumStuff2"), ("SONET-MIB", "sonetSectionStuff2"), ("SONET-MIB", "sonetLineStuff2"), ("SONET-MIB", "sonetFarEndLineStuff2"), ("SONET-MIB", "sonetPathStuff2"), ("SONET-MIB", "sonetFarEndPathStuff2")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): etherWisCompliance = etherWisCompliance.setStatus('current') if mibBuilder.loadTexts: etherWisCompliance.setDescription('The compliance statement for interfaces that include the Ethernet WIS. Compliance with the following external compliance statements is prerequisite: MIB Module Compliance Statement ---------- -------------------- IF-MIB ifCompliance3 IF-INVERTED-STACK-MIB ifInvCompliance EtherLike-MIB dot3Compliance2 MAU-MIB mauModIfCompl3') mibBuilder.exportSymbols("ETHER-WIS", etherWisDevice=etherWisDevice, etherWisPathCurrentEntry=etherWisPathCurrentEntry, PYSNMP_MODULE_ID=etherWisMIB, etherWisObjectsPath=etherWisObjectsPath, etherWisPathCurrentStatus=etherWisPathCurrentStatus, etherWisDeviceGroupExtra=etherWisDeviceGroupExtra, etherWisDeviceRxTestPatternErrors=etherWisDeviceRxTestPatternErrors, etherWisMIB=etherWisMIB, etherWisPathCurrentJ1Transmitted=etherWisPathCurrentJ1Transmitted, etherWisDeviceRxTestPatternMode=etherWisDeviceRxTestPatternMode, etherWisSectionCurrentJ0Received=etherWisSectionCurrentJ0Received, etherWisSectionCurrentJ0Transmitted=etherWisSectionCurrentJ0Transmitted, etherWisFarEndPathCurrentStatus=etherWisFarEndPathCurrentStatus, etherWisFarEndPath=etherWisFarEndPath, etherWisPath=etherWisPath, etherWisSectionCurrentEntry=etherWisSectionCurrentEntry, etherWisGroups=etherWisGroups, etherWisDeviceGroupBasic=etherWisDeviceGroupBasic, etherWisPathGroup=etherWisPathGroup, etherWisPathCurrentTable=etherWisPathCurrentTable, etherWisDeviceTxTestPatternMode=etherWisDeviceTxTestPatternMode, etherWisObjects=etherWisObjects, etherWisPathCurrentJ1Received=etherWisPathCurrentJ1Received, etherWisDeviceEntry=etherWisDeviceEntry, etherWisFarEndPathCurrentTable=etherWisFarEndPathCurrentTable, etherWisSectionGroup=etherWisSectionGroup, etherWisCompliances=etherWisCompliances, etherWisSection=etherWisSection, etherWisFarEndPathGroup=etherWisFarEndPathGroup, etherWisFarEndPathCurrentEntry=etherWisFarEndPathCurrentEntry, etherWisSectionCurrentTable=etherWisSectionCurrentTable, etherWisCompliance=etherWisCompliance, etherWisConformance=etherWisConformance, etherWisDeviceTable=etherWisDeviceTable)
(octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, value_range_constraint, constraints_intersection, constraints_union, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ConstraintsUnion', 'ValueSizeConstraint') (if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex') (notification_group, object_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ObjectGroup', 'ModuleCompliance') (integer32, transmission, module_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, gauge32, bits, ip_address, mib_identifier, counter64, unsigned32, object_identity, notification_type, iso, counter32, time_ticks) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'transmission', 'ModuleIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Gauge32', 'Bits', 'IpAddress', 'MibIdentifier', 'Counter64', 'Unsigned32', 'ObjectIdentity', 'NotificationType', 'iso', 'Counter32', 'TimeTicks') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') (sonet_medium_line_type, sonet_far_end_path_stuff2, sonet_se_sthreshold_set, sonet_medium_stuff2, sonet_section_stuff2, sonet_path_current_width, sonet_path_stuff2, sonet_medium_circuit_identifier, sonet_medium_loopback_config, sonet_far_end_line_stuff2, sonet_line_stuff2, sonet_medium_line_coding, sonet_medium_type) = mibBuilder.importSymbols('SONET-MIB', 'sonetMediumLineType', 'sonetFarEndPathStuff2', 'sonetSESthresholdSet', 'sonetMediumStuff2', 'sonetSectionStuff2', 'sonetPathCurrentWidth', 'sonetPathStuff2', 'sonetMediumCircuitIdentifier', 'sonetMediumLoopbackConfig', 'sonetFarEndLineStuff2', 'sonetLineStuff2', 'sonetMediumLineCoding', 'sonetMediumType') ether_wis_mib = module_identity((1, 3, 6, 1, 2, 1, 10, 134)) etherWisMIB.setRevisions(('2003-09-19 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: etherWisMIB.setRevisionsDescriptions(('Initial version, published as RFC 3637.',)) if mibBuilder.loadTexts: etherWisMIB.setLastUpdated('200309190000Z') if mibBuilder.loadTexts: etherWisMIB.setOrganization('IETF Ethernet Interfaces and Hub MIB Working Group') if mibBuilder.loadTexts: etherWisMIB.setContactInfo('WG charter: http://www.ietf.org/html.charters/hubmib-charter.html Mailing Lists: General Discussion: hubmib@ietf.org To Subscribe: hubmib-request@ietf.org In Body: subscribe your_email_address Chair: Dan Romascanu Postal: Avaya Inc. Atidim Technology Park, Bldg. 3 Tel Aviv 61131 Israel Tel: +972 3 645 8414 E-mail: dromasca@avaya.com Editor: C. M. Heard Postal: 600 Rainbow Dr. #141 Mountain View, CA 94041-2542 USA Tel: +1 650-964-8391 E-mail: heard@pobox.com') if mibBuilder.loadTexts: etherWisMIB.setDescription("The objects in this MIB module are used in conjunction with objects in the SONET-MIB and the MAU-MIB to manage the Ethernet WAN Interface Sublayer (WIS). The following reference is used throughout this MIB module: [IEEE 802.3 Std] refers to: IEEE Std 802.3, 2000 Edition: 'IEEE Standard for Information technology - Telecommunications and information exchange between systems - Local and metropolitan area networks - Specific requirements - Part 3: Carrier sense multiple access with collision detection (CSMA/CD) access method and physical layer specifications', as amended by IEEE Std 802.3ae-2002, 'IEEE Standard for Carrier Sense Multiple Access with Collision Detection (CSMA/CD) Access Method and Physical Layer Specifications - Media Access Control (MAC) Parameters, Physical Layer and Management Parameters for 10 Gb/s Operation', 30 August 2002. Of particular interest are Clause 50, 'WAN Interface Sublayer (WIS), type 10GBASE-W', Clause 30, '10Mb/s, 100Mb/s, 1000Mb/s, and 10Gb/s MAC Control, and Link Aggregation Management', and Clause 45, 'Management Data Input/Output (MDIO) Interface'. Copyright (C) The Internet Society (2003). This version of this MIB module is part of RFC 3637; see the RFC itself for full legal notices.") ether_wis_objects = mib_identifier((1, 3, 6, 1, 2, 1, 10, 134, 1)) ether_wis_objects_path = mib_identifier((1, 3, 6, 1, 2, 1, 10, 134, 2)) ether_wis_conformance = mib_identifier((1, 3, 6, 1, 2, 1, 10, 134, 3)) ether_wis_device = mib_identifier((1, 3, 6, 1, 2, 1, 10, 134, 1, 1)) ether_wis_section = mib_identifier((1, 3, 6, 1, 2, 1, 10, 134, 1, 2)) ether_wis_path = mib_identifier((1, 3, 6, 1, 2, 1, 10, 134, 2, 1)) ether_wis_far_end_path = mib_identifier((1, 3, 6, 1, 2, 1, 10, 134, 2, 2)) ether_wis_device_table = mib_table((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1)) if mibBuilder.loadTexts: etherWisDeviceTable.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceTable.setDescription('The table for Ethernet WIS devices') ether_wis_device_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: etherWisDeviceEntry.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceEntry.setDescription('An entry in the Ethernet WIS device table. For each instance of this object there MUST be a corresponding instance of sonetMediumEntry.') ether_wis_device_tx_test_pattern_mode = mib_table_column((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('none', 1), ('squareWave', 2), ('prbs31', 3), ('mixedFrequency', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: etherWisDeviceTxTestPatternMode.setReference('[IEEE 802.3 Std.], 50.3.8, WIS test pattern generator and checker, 45.2.2.6, 10G WIS control 2 register (2.7), and 45.2.2.7.2, PRBS31 pattern testing ability (2.8.1).') if mibBuilder.loadTexts: etherWisDeviceTxTestPatternMode.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceTxTestPatternMode.setDescription('This variable controls the transmit test pattern mode. The value none(1) puts the the WIS transmit path into the normal operating mode. The value squareWave(2) puts the WIS transmit path into the square wave test pattern mode described in [IEEE 802.3 Std.] subclause 50.3.8.1. The value prbs31(3) puts the WIS transmit path into the PRBS31 test pattern mode described in [IEEE 802.3 Std.] subclause 50.3.8.2. The value mixedFrequency(4) puts the WIS transmit path into the mixed frequency test pattern mode described in [IEEE 802.3 Std.] subclause 50.3.8.3. Any attempt to set this object to a value other than none(1) when the corresponding instance of ifAdminStatus has the value up(1) MUST be rejected with the error inconsistentValue, and any attempt to set the corresponding instance of ifAdminStatus to the value up(1) when an instance of this object has a value other than none(1) MUST be rejected with the error inconsistentValue.') ether_wis_device_rx_test_pattern_mode = mib_table_column((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 3, 4))).clone(namedValues=named_values(('none', 1), ('prbs31', 3), ('mixedFrequency', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: etherWisDeviceRxTestPatternMode.setReference('[IEEE 802.3 Std.], 50.3.8, WIS test pattern generator and checker, 45.2.2.6, 10G WIS control 2 register (2.7), and 45.2.2.7.2, PRBS31 pattern testing ability (2.8.1).') if mibBuilder.loadTexts: etherWisDeviceRxTestPatternMode.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceRxTestPatternMode.setDescription('This variable controls the receive test pattern mode. The value none(1) puts the the WIS receive path into the normal operating mode. The value prbs31(3) puts the WIS receive path into the PRBS31 test pattern mode described in [IEEE 802.3 Std.] subclause 50.3.8.2. The value mixedFrequency(4) puts the WIS receive path into the mixed frequency test pattern mode described in [IEEE 802.3 Std.] subclause 50.3.8.3. Any attempt to set this object to a value other than none(1) when the corresponding instance of ifAdminStatus has the value up(1) MUST be rejected with the error inconsistentValue, and any attempt to set the corresponding instance of ifAdminStatus to the value up(1) when an instance of this object has a value other than none(1) MUST be rejected with the error inconsistentValue.') ether_wis_device_rx_test_pattern_errors = mib_table_column((1, 3, 6, 1, 2, 1, 10, 134, 1, 1, 1, 1, 3), gauge32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: etherWisDeviceRxTestPatternErrors.setReference('[IEEE 802.3 Std.], 50.3.8, WIS test pattern generator and checker, 45.2.2.7.2, PRBS31 pattern testing ability (2.8.1), and 45.2.2.8, 10G WIS test pattern error counter register (2.9).') if mibBuilder.loadTexts: etherWisDeviceRxTestPatternErrors.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceRxTestPatternErrors.setDescription('This object counts the number of errors detected when the WIS receive path is operating in the PRBS31 test pattern mode. It is reset to zero when the WIS receive path initially enters that mode, and it increments each time the PRBS pattern checker detects an error as described in [IEEE 802.3 Std.] subclause 50.3.8.2 unless its value is 65535, in which case it remains unchanged. This object is writeable so that it may be reset upon explicit request of a command generator application while the WIS receive path continues to operate in PRBS31 test pattern mode.') ether_wis_section_current_table = mib_table((1, 3, 6, 1, 2, 1, 10, 134, 1, 2, 1)) if mibBuilder.loadTexts: etherWisSectionCurrentTable.setStatus('current') if mibBuilder.loadTexts: etherWisSectionCurrentTable.setDescription('The table for the current state of Ethernet WIS sections.') ether_wis_section_current_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 134, 1, 2, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: etherWisSectionCurrentEntry.setStatus('current') if mibBuilder.loadTexts: etherWisSectionCurrentEntry.setDescription('An entry in the etherWisSectionCurrentTable. For each instance of this object there MUST be a corresponding instance of sonetSectionCurrentEntry.') ether_wis_section_current_j0_transmitted = mib_table_column((1, 3, 6, 1, 2, 1, 10, 134, 1, 2, 1, 1, 1), octet_string().subtype(subtypeSpec=value_size_constraint(16, 16)).setFixedLength(16)).setMaxAccess('readwrite') if mibBuilder.loadTexts: etherWisSectionCurrentJ0Transmitted.setReference('[IEEE 802.3 Std.], 30.8.1.1.8, aJ0ValueTX.') if mibBuilder.loadTexts: etherWisSectionCurrentJ0Transmitted.setStatus('current') if mibBuilder.loadTexts: etherWisSectionCurrentJ0Transmitted.setDescription("This is the 16-octet section trace message that is transmitted in the J0 byte. The value SHOULD be '89'h followed by fifteen octets of '00'h (or some cyclic shift thereof) when the section trace function is not used, and the implementation SHOULD use that value (or a cyclic shift thereof) as a default if no other value has been set.") ether_wis_section_current_j0_received = mib_table_column((1, 3, 6, 1, 2, 1, 10, 134, 1, 2, 1, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(16, 16)).setFixedLength(16)).setMaxAccess('readonly') if mibBuilder.loadTexts: etherWisSectionCurrentJ0Received.setReference('[IEEE 802.3 Std.], 30.8.1.1.9, aJ0ValueRX.') if mibBuilder.loadTexts: etherWisSectionCurrentJ0Received.setStatus('current') if mibBuilder.loadTexts: etherWisSectionCurrentJ0Received.setDescription('This is the 16-octet section trace message that was most recently received in the J0 byte.') ether_wis_path_current_table = mib_table((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1)) if mibBuilder.loadTexts: etherWisPathCurrentTable.setStatus('current') if mibBuilder.loadTexts: etherWisPathCurrentTable.setDescription('The table for the current state of Ethernet WIS paths.') ether_wis_path_current_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: etherWisPathCurrentEntry.setStatus('current') if mibBuilder.loadTexts: etherWisPathCurrentEntry.setDescription('An entry in the etherWisPathCurrentTable. For each instance of this object there MUST be a corresponding instance of sonetPathCurrentEntry.') ether_wis_path_current_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1, 1, 1), bits().clone(namedValues=named_values(('etherWisPathLOP', 0), ('etherWisPathAIS', 1), ('etherWisPathPLM', 2), ('etherWisPathLCD', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: etherWisPathCurrentStatus.setReference('[IEEE 802.3 Std.], 30.8.1.1.18, aPathStatus.') if mibBuilder.loadTexts: etherWisPathCurrentStatus.setStatus('current') if mibBuilder.loadTexts: etherWisPathCurrentStatus.setDescription('This variable indicates the current status of the path payload with a bit map that can indicate multiple defects at once. The bit positions are assigned as follows: etherWisPathLOP(0) This bit is set to indicate that an LOP-P (Loss of Pointer - Path) defect is being experienced. Note: when this bit is set, sonetPathSTSLOP MUST be set in the corresponding instance of sonetPathCurrentStatus. etherWisPathAIS(1) This bit is set to indicate that an AIS-P (Alarm Indication Signal - Path) defect is being experienced. Note: when this bit is set, sonetPathSTSAIS MUST be set in the corresponding instance of sonetPathCurrentStatus. etherWisPathPLM(1) This bit is set to indicate that a PLM-P (Payload Label Mismatch - Path) defect is being experienced. Note: when this bit is set, sonetPathSignalLabelMismatch MUST be set in the corresponding instance of sonetPathCurrentStatus. etherWisPathLCD(3) This bit is set to indicate that an LCD-P (Loss of Codegroup Delination - Path) defect is being experienced. Since this defect is detected by the PCS and not by the path layer itself, there is no corresponding bit in sonetPathCurrentStatus.') ether_wis_path_current_j1_transmitted = mib_table_column((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(16, 16)).setFixedLength(16)).setMaxAccess('readwrite') if mibBuilder.loadTexts: etherWisPathCurrentJ1Transmitted.setReference('[IEEE 802.3 Std.], 30.8.1.1.23, aJ1ValueTX.') if mibBuilder.loadTexts: etherWisPathCurrentJ1Transmitted.setStatus('current') if mibBuilder.loadTexts: etherWisPathCurrentJ1Transmitted.setDescription("This is the 16-octet path trace message that is transmitted in the J1 byte. The value SHOULD be '89'h followed by fifteen octets of '00'h (or some cyclic shift thereof) when the path trace function is not used, and the implementation SHOULD use that value (or a cyclic shift thereof) as a default if no other value has been set.") ether_wis_path_current_j1_received = mib_table_column((1, 3, 6, 1, 2, 1, 10, 134, 2, 1, 1, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(16, 16)).setFixedLength(16)).setMaxAccess('readonly') if mibBuilder.loadTexts: etherWisPathCurrentJ1Received.setReference('[IEEE 802.3 Std.], 30.8.1.1.24, aJ1ValueRX.') if mibBuilder.loadTexts: etherWisPathCurrentJ1Received.setStatus('current') if mibBuilder.loadTexts: etherWisPathCurrentJ1Received.setDescription('This is the 16-octet path trace message that was most recently received in the J1 byte.') ether_wis_far_end_path_current_table = mib_table((1, 3, 6, 1, 2, 1, 10, 134, 2, 2, 1)) if mibBuilder.loadTexts: etherWisFarEndPathCurrentTable.setStatus('current') if mibBuilder.loadTexts: etherWisFarEndPathCurrentTable.setDescription('The table for the current far-end state of Ethernet WIS paths.') ether_wis_far_end_path_current_entry = mib_table_row((1, 3, 6, 1, 2, 1, 10, 134, 2, 2, 1, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: etherWisFarEndPathCurrentEntry.setStatus('current') if mibBuilder.loadTexts: etherWisFarEndPathCurrentEntry.setDescription('An entry in the etherWisFarEndPathCurrentTable. For each instance of this object there MUST be a corresponding instance of sonetFarEndPathCurrentEntry.') ether_wis_far_end_path_current_status = mib_table_column((1, 3, 6, 1, 2, 1, 10, 134, 2, 2, 1, 1, 1), bits().clone(namedValues=named_values(('etherWisFarEndPayloadDefect', 0), ('etherWisFarEndServerDefect', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: etherWisFarEndPathCurrentStatus.setReference('[IEEE 802.3 Std.], 30.8.1.1.25, aFarEndPathStatus.') if mibBuilder.loadTexts: etherWisFarEndPathCurrentStatus.setStatus('current') if mibBuilder.loadTexts: etherWisFarEndPathCurrentStatus.setDescription('This variable indicates the current status at the far end of the path using a bit map that can indicate multiple defects at once. The bit positions are assigned as follows: etherWisFarEndPayloadDefect(0) A far end payload defect (i.e., far end PLM-P or LCD-P) is currently being signaled in G1 bits 5-7. etherWisFarEndServerDefect(1) A far end server defect (i.e., far end LOP-P or AIS-P) is currently being signaled in G1 bits 5-7. Note: when this bit is set, sonetPathSTSRDI MUST be set in the corresponding instance of sonetPathCurrentStatus.') ether_wis_groups = mib_identifier((1, 3, 6, 1, 2, 1, 10, 134, 3, 1)) ether_wis_compliances = mib_identifier((1, 3, 6, 1, 2, 1, 10, 134, 3, 2)) ether_wis_device_group_basic = object_group((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 1)).setObjects(('ETHER-WIS', 'etherWisDeviceTxTestPatternMode'), ('ETHER-WIS', 'etherWisDeviceRxTestPatternMode')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ether_wis_device_group_basic = etherWisDeviceGroupBasic.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceGroupBasic.setDescription('A collection of objects that support test features required of all WIS devices.') ether_wis_device_group_extra = object_group((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 2)).setObjects(('ETHER-WIS', 'etherWisDeviceRxTestPatternErrors')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ether_wis_device_group_extra = etherWisDeviceGroupExtra.setStatus('current') if mibBuilder.loadTexts: etherWisDeviceGroupExtra.setDescription('A collection of objects that support optional WIS device test features.') ether_wis_section_group = object_group((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 3)).setObjects(('ETHER-WIS', 'etherWisSectionCurrentJ0Transmitted'), ('ETHER-WIS', 'etherWisSectionCurrentJ0Received')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ether_wis_section_group = etherWisSectionGroup.setStatus('current') if mibBuilder.loadTexts: etherWisSectionGroup.setDescription('A collection of objects that provide required information about a WIS section.') ether_wis_path_group = object_group((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 4)).setObjects(('ETHER-WIS', 'etherWisPathCurrentStatus'), ('ETHER-WIS', 'etherWisPathCurrentJ1Transmitted'), ('ETHER-WIS', 'etherWisPathCurrentJ1Received')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ether_wis_path_group = etherWisPathGroup.setStatus('current') if mibBuilder.loadTexts: etherWisPathGroup.setDescription('A collection of objects that provide required information about a WIS path.') ether_wis_far_end_path_group = object_group((1, 3, 6, 1, 2, 1, 10, 134, 3, 1, 5)).setObjects(('ETHER-WIS', 'etherWisFarEndPathCurrentStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ether_wis_far_end_path_group = etherWisFarEndPathGroup.setStatus('current') if mibBuilder.loadTexts: etherWisFarEndPathGroup.setDescription('A collection of objects that provide required information about the far end of a WIS path.') ether_wis_compliance = module_compliance((1, 3, 6, 1, 2, 1, 10, 134, 3, 2, 1)).setObjects(('ETHER-WIS', 'etherWisDeviceGroupBasic'), ('ETHER-WIS', 'etherWisSectionGroup'), ('ETHER-WIS', 'etherWisPathGroup'), ('ETHER-WIS', 'etherWisFarEndPathGroup'), ('SONET-MIB', 'sonetMediumStuff2'), ('SONET-MIB', 'sonetSectionStuff2'), ('SONET-MIB', 'sonetLineStuff2'), ('SONET-MIB', 'sonetFarEndLineStuff2'), ('SONET-MIB', 'sonetPathStuff2'), ('SONET-MIB', 'sonetFarEndPathStuff2')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ether_wis_compliance = etherWisCompliance.setStatus('current') if mibBuilder.loadTexts: etherWisCompliance.setDescription('The compliance statement for interfaces that include the Ethernet WIS. Compliance with the following external compliance statements is prerequisite: MIB Module Compliance Statement ---------- -------------------- IF-MIB ifCompliance3 IF-INVERTED-STACK-MIB ifInvCompliance EtherLike-MIB dot3Compliance2 MAU-MIB mauModIfCompl3') mibBuilder.exportSymbols('ETHER-WIS', etherWisDevice=etherWisDevice, etherWisPathCurrentEntry=etherWisPathCurrentEntry, PYSNMP_MODULE_ID=etherWisMIB, etherWisObjectsPath=etherWisObjectsPath, etherWisPathCurrentStatus=etherWisPathCurrentStatus, etherWisDeviceGroupExtra=etherWisDeviceGroupExtra, etherWisDeviceRxTestPatternErrors=etherWisDeviceRxTestPatternErrors, etherWisMIB=etherWisMIB, etherWisPathCurrentJ1Transmitted=etherWisPathCurrentJ1Transmitted, etherWisDeviceRxTestPatternMode=etherWisDeviceRxTestPatternMode, etherWisSectionCurrentJ0Received=etherWisSectionCurrentJ0Received, etherWisSectionCurrentJ0Transmitted=etherWisSectionCurrentJ0Transmitted, etherWisFarEndPathCurrentStatus=etherWisFarEndPathCurrentStatus, etherWisFarEndPath=etherWisFarEndPath, etherWisPath=etherWisPath, etherWisSectionCurrentEntry=etherWisSectionCurrentEntry, etherWisGroups=etherWisGroups, etherWisDeviceGroupBasic=etherWisDeviceGroupBasic, etherWisPathGroup=etherWisPathGroup, etherWisPathCurrentTable=etherWisPathCurrentTable, etherWisDeviceTxTestPatternMode=etherWisDeviceTxTestPatternMode, etherWisObjects=etherWisObjects, etherWisPathCurrentJ1Received=etherWisPathCurrentJ1Received, etherWisDeviceEntry=etherWisDeviceEntry, etherWisFarEndPathCurrentTable=etherWisFarEndPathCurrentTable, etherWisSectionGroup=etherWisSectionGroup, etherWisCompliances=etherWisCompliances, etherWisSection=etherWisSection, etherWisFarEndPathGroup=etherWisFarEndPathGroup, etherWisFarEndPathCurrentEntry=etherWisFarEndPathCurrentEntry, etherWisSectionCurrentTable=etherWisSectionCurrentTable, etherWisCompliance=etherWisCompliance, etherWisConformance=etherWisConformance, etherWisDeviceTable=etherWisDeviceTable)
print("hello world") #prin("how are you") def fa(): return fb() def fb(): return fc() def fc(): return 1 def suma(a, b): return a + b
print('hello world') def fa(): return fb() def fb(): return fc() def fc(): return 1 def suma(a, b): return a + b
# # PySNMP MIB module Nortel-Magellan-Passport-BaseRoutingMIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-Magellan-Passport-BaseRoutingMIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:16:59 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ValueSizeConstraint, ConstraintsIntersection, SingleValueConstraint, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueSizeConstraint", "ConstraintsIntersection", "SingleValueConstraint", "ValueRangeConstraint") RowStatus, Unsigned32, Gauge32, RowPointer, StorageType, Counter32, Integer32, DisplayString = mibBuilder.importSymbols("Nortel-Magellan-Passport-StandardTextualConventionsMIB", "RowStatus", "Unsigned32", "Gauge32", "RowPointer", "StorageType", "Counter32", "Integer32", "DisplayString") FixedPoint1, NonReplicated, DigitString, AsciiStringIndex = mibBuilder.importSymbols("Nortel-Magellan-Passport-TextualConventionsMIB", "FixedPoint1", "NonReplicated", "DigitString", "AsciiStringIndex") components, passportMIBs = mibBuilder.importSymbols("Nortel-Magellan-Passport-UsefulDefinitionsMIB", "components", "passportMIBs") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") TimeTicks, MibIdentifier, Unsigned32, Bits, NotificationType, ModuleIdentity, Counter64, Gauge32, iso, ObjectIdentity, IpAddress, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32, Integer32 = mibBuilder.importSymbols("SNMPv2-SMI", "TimeTicks", "MibIdentifier", "Unsigned32", "Bits", "NotificationType", "ModuleIdentity", "Counter64", "Gauge32", "iso", "ObjectIdentity", "IpAddress", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32", "Integer32") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") baseRoutingMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18)) rtg = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40)) rtgRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1), ) if mibBuilder.loadTexts: rtgRowStatusTable.setStatus('mandatory') rtgRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex")) if mibBuilder.loadTexts: rtgRowStatusEntry.setStatus('mandatory') rtgRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rtgRowStatus.setStatus('mandatory') rtgComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgComponentName.setStatus('mandatory') rtgStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgStorageType.setStatus('mandatory') rtgIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: rtgIndex.setStatus('mandatory') rtgProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 12), ) if mibBuilder.loadTexts: rtgProvTable.setStatus('mandatory') rtgProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 12, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex")) if mibBuilder.loadTexts: rtgProvEntry.setStatus('mandatory') rtgTandemTraffic = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 12, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("allowed", 0), ("denied", 1))).clone('allowed')).setMaxAccess("readwrite") if mibBuilder.loadTexts: rtgTandemTraffic.setStatus('mandatory') rtgSplittingRegionIdsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 407), ) if mibBuilder.loadTexts: rtgSplittingRegionIdsTable.setStatus('mandatory') rtgSplittingRegionIdsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 407, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgSplittingRegionIdsValue")) if mibBuilder.loadTexts: rtgSplittingRegionIdsEntry.setStatus('mandatory') rtgSplittingRegionIdsValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 407, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 126))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rtgSplittingRegionIdsValue.setStatus('mandatory') rtgSplittingRegionIdsRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 407, 1, 2), RowStatus()).setMaxAccess("writeonly") if mibBuilder.loadTexts: rtgSplittingRegionIdsRowStatus.setStatus('mandatory') rtgTop = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5)) rtgTopRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1), ) if mibBuilder.loadTexts: rtgTopRowStatusTable.setStatus('mandatory') rtgTopRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopIndex")) if mibBuilder.loadTexts: rtgTopRowStatusEntry.setStatus('mandatory') rtgTopRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopRowStatus.setStatus('mandatory') rtgTopComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopComponentName.setStatus('mandatory') rtgTopStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopStorageType.setStatus('mandatory') rtgTopIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: rtgTopIndex.setStatus('mandatory') rtgTopStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11), ) if mibBuilder.loadTexts: rtgTopStatsTable.setStatus('mandatory') rtgTopStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopIndex")) if mibBuilder.loadTexts: rtgTopStatsEntry.setStatus('mandatory') rtgTopControlPktRx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopControlPktRx.setStatus('mandatory') rtgTopControlBytesRx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopControlBytesRx.setStatus('mandatory') rtgTopControlPktTx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopControlPktTx.setStatus('mandatory') rtgTopControlBytesTx = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopControlBytesTx.setStatus('mandatory') rtgTopNode = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2)) rtgTopNodeRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1), ) if mibBuilder.loadTexts: rtgTopNodeRowStatusTable.setStatus('mandatory') rtgTopNodeRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeIndex")) if mibBuilder.loadTexts: rtgTopNodeRowStatusEntry.setStatus('mandatory') rtgTopNodeRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeRowStatus.setStatus('mandatory') rtgTopNodeComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeComponentName.setStatus('mandatory') rtgTopNodeStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeStorageType.setStatus('mandatory') rtgTopNodeIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1, 1, 10), AsciiStringIndex().subtype(subtypeSpec=ValueSizeConstraint(1, 12))) if mibBuilder.loadTexts: rtgTopNodeIndex.setStatus('mandatory') rtgTopNodeOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 10), ) if mibBuilder.loadTexts: rtgTopNodeOperTable.setStatus('mandatory') rtgTopNodeOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeIndex")) if mibBuilder.loadTexts: rtgTopNodeOperEntry.setStatus('mandatory') rtgTopNodeNodeId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 10, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeNodeId.setStatus('mandatory') rtgTopNodeLg = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2)) rtgTopNodeLgRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1), ) if mibBuilder.loadTexts: rtgTopNodeLgRowStatusTable.setStatus('mandatory') rtgTopNodeLgRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgIndex")) if mibBuilder.loadTexts: rtgTopNodeLgRowStatusEntry.setStatus('mandatory') rtgTopNodeLgRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgRowStatus.setStatus('mandatory') rtgTopNodeLgComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgComponentName.setStatus('mandatory') rtgTopNodeLgStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgStorageType.setStatus('mandatory') rtgTopNodeLgIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1, 1, 10), AsciiStringIndex().subtype(subtypeSpec=ValueSizeConstraint(1, 12))) if mibBuilder.loadTexts: rtgTopNodeLgIndex.setStatus('mandatory') rtgTopNodeLgOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 10), ) if mibBuilder.loadTexts: rtgTopNodeLgOperTable.setStatus('mandatory') rtgTopNodeLgOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgIndex")) if mibBuilder.loadTexts: rtgTopNodeLgOperEntry.setStatus('mandatory') rtgTopNodeLgDelayMetric = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 10, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgDelayMetric.setStatus('mandatory') rtgTopNodeLgTputMetric = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 10, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTputMetric.setStatus('mandatory') rtgTopNodeLgLnnTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 235), ) if mibBuilder.loadTexts: rtgTopNodeLgLnnTable.setStatus('mandatory') rtgTopNodeLgLnnEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 235, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgLnnValue")) if mibBuilder.loadTexts: rtgTopNodeLgLnnEntry.setStatus('mandatory') rtgTopNodeLgLnnValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 235, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2047))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgLnnValue.setStatus('mandatory') rtgTopNodeLgTrkObj = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2)) rtgTopNodeLgTrkObjRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1), ) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjRowStatusTable.setStatus('mandatory') rtgTopNodeLgTrkObjRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgTrkObjIndex")) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjRowStatusEntry.setStatus('mandatory') rtgTopNodeLgTrkObjRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjRowStatus.setStatus('mandatory') rtgTopNodeLgTrkObjComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjComponentName.setStatus('mandatory') rtgTopNodeLgTrkObjStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjStorageType.setStatus('mandatory') rtgTopNodeLgTrkObjIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1023))) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjIndex.setStatus('mandatory') rtgTopNodeLgTrkObjOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10), ) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjOperTable.setStatus('mandatory') rtgTopNodeLgTrkObjOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgTrkObjIndex")) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjOperEntry.setStatus('mandatory') rtgTopNodeLgTrkObjMaxReservableBwOut = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 1), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjMaxReservableBwOut.setStatus('mandatory') rtgTopNodeLgTrkObjTrunkCost = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjTrunkCost.setStatus('mandatory') rtgTopNodeLgTrkObjTrunkDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjTrunkDelay.setStatus('mandatory') rtgTopNodeLgTrkObjTrunkSecurity = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjTrunkSecurity.setStatus('mandatory') rtgTopNodeLgTrkObjSupportedTrafficTypes = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjSupportedTrafficTypes.setStatus('mandatory') rtgTopNodeLgTrkObjTrunkType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("terrestrial", 0), ("satellite", 1), ("trunkType1", 2), ("trunkType2", 3), ("trunkType3", 4), ("trunkType4", 5), ("trunkType5", 6), ("trunkType6", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjTrunkType.setStatus('mandatory') rtgTopNodeLgTrkObjCustomerParameter = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjCustomerParameter.setStatus('mandatory') rtgTopNodeLgTrkObjFarEndTrmLkInstance = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 1023))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjFarEndTrmLkInstance.setStatus('mandatory') rtgTopNodeLgTrkObjUnresTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 234), ) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjUnresTable.setStatus('mandatory') rtgTopNodeLgTrkObjUnresEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 234, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgTrkObjIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgTrkObjUnresSetupPriorityIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "rtgTopNodeLgTrkObjUnresUnreservedBwPartsIndex")) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjUnresEntry.setStatus('mandatory') rtgTopNodeLgTrkObjUnresSetupPriorityIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 234, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0))).clone(namedValues=NamedValues(("bwPartOver255", 0)))) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjUnresSetupPriorityIndex.setStatus('mandatory') rtgTopNodeLgTrkObjUnresUnreservedBwPartsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 234, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4))) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjUnresUnreservedBwPartsIndex.setStatus('mandatory') rtgTopNodeLgTrkObjUnresValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 234, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: rtgTopNodeLgTrkObjUnresValue.setStatus('mandatory') trm = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41)) trmRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1), ) if mibBuilder.loadTexts: trmRowStatusTable.setStatus('mandatory') trmRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex")) if mibBuilder.loadTexts: trmRowStatusEntry.setStatus('mandatory') trmRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmRowStatus.setStatus('mandatory') trmComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmComponentName.setStatus('mandatory') trmStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmStorageType.setStatus('mandatory') trmIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: trmIndex.setStatus('mandatory') trmLk = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2)) trmLkRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1), ) if mibBuilder.loadTexts: trmLkRowStatusTable.setStatus('mandatory') trmLkRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLkIndex")) if mibBuilder.loadTexts: trmLkRowStatusEntry.setStatus('mandatory') trmLkRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkRowStatus.setStatus('mandatory') trmLkComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkComponentName.setStatus('mandatory') trmLkStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkStorageType.setStatus('mandatory') trmLkIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1023))) if mibBuilder.loadTexts: trmLkIndex.setStatus('mandatory') trmLkOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10), ) if mibBuilder.loadTexts: trmLkOperTable.setStatus('mandatory') trmLkOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLkIndex")) if mibBuilder.loadTexts: trmLkOperEntry.setStatus('mandatory') trmLkStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("inactive", 1), ("joining", 2), ("online", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkStatus.setStatus('mandatory') trmLkThroughput = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 2), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(1, 640000000))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkThroughput.setStatus('mandatory') trmLkDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 3), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(1, 1500))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkDelay.setStatus('obsolete') trmLkMaxTxUnit = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkMaxTxUnit.setStatus('mandatory') trmLkLinkComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 5), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkLinkComponentName.setStatus('mandatory') trmLkDelayUsec = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 6), FixedPoint1().subtype(subtypeSpec=ValueRangeConstraint(10, 15000))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkDelayUsec.setStatus('mandatory') trmLkFwdStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 11), ) if mibBuilder.loadTexts: trmLkFwdStatsTable.setStatus('mandatory') trmLkFwdStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 11, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLkIndex")) if mibBuilder.loadTexts: trmLkFwdStatsEntry.setStatus('mandatory') trmLkFciSet = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 11, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkFciSet.setStatus('mandatory') trmLkOverflowAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 11, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkOverflowAttempts.setStatus('mandatory') trmLkPathOverflowAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 11, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkPathOverflowAttempts.setStatus('mandatory') trmLkDiscardCongestedTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 280), ) if mibBuilder.loadTexts: trmLkDiscardCongestedTable.setStatus('mandatory') trmLkDiscardCongestedEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 280, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLkIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLkDiscardCongestedIndex")) if mibBuilder.loadTexts: trmLkDiscardCongestedEntry.setStatus('mandatory') trmLkDiscardCongestedIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 280, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("discardPriority1", 0), ("discardPriority2", 1), ("discardPriority3", 2)))) if mibBuilder.loadTexts: trmLkDiscardCongestedIndex.setStatus('mandatory') trmLkDiscardCongestedValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 280, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLkDiscardCongestedValue.setStatus('mandatory') trmLg = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3)) trmLgRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1), ) if mibBuilder.loadTexts: trmLgRowStatusTable.setStatus('mandatory') trmLgRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgIndex")) if mibBuilder.loadTexts: trmLgRowStatusEntry.setStatus('mandatory') trmLgRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgRowStatus.setStatus('mandatory') trmLgComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgComponentName.setStatus('mandatory') trmLgStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgStorageType.setStatus('mandatory') trmLgIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1, 1, 10), AsciiStringIndex().subtype(subtypeSpec=ValueSizeConstraint(1, 12))) if mibBuilder.loadTexts: trmLgIndex.setStatus('mandatory') trmLgLk = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2)) trmLgLkRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1), ) if mibBuilder.loadTexts: trmLgLkRowStatusTable.setStatus('mandatory') trmLgLkRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgLkIndex")) if mibBuilder.loadTexts: trmLgLkRowStatusEntry.setStatus('mandatory') trmLgLkRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkRowStatus.setStatus('mandatory') trmLgLkComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkComponentName.setStatus('mandatory') trmLgLkStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkStorageType.setStatus('mandatory') trmLgLkIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1023))) if mibBuilder.loadTexts: trmLgLkIndex.setStatus('mandatory') trmLgLkOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10), ) if mibBuilder.loadTexts: trmLgLkOperTable.setStatus('mandatory') trmLgLkOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgLkIndex")) if mibBuilder.loadTexts: trmLgLkOperEntry.setStatus('mandatory') trmLgLkStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("inactive", 1), ("joining", 2), ("online", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkStatus.setStatus('mandatory') trmLgLkThroughput = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 2), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(1, 640000000))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkThroughput.setStatus('mandatory') trmLgLkDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 3), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(1, 1500))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkDelay.setStatus('obsolete') trmLgLkMaxTxUnit = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkMaxTxUnit.setStatus('mandatory') trmLgLkLinkComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 5), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkLinkComponentName.setStatus('mandatory') trmLgLkDelayUsec = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 6), FixedPoint1().subtype(subtypeSpec=ValueRangeConstraint(10, 15000))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkDelayUsec.setStatus('mandatory') trmLgLkFwdStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 11), ) if mibBuilder.loadTexts: trmLgLkFwdStatsTable.setStatus('mandatory') trmLgLkFwdStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 11, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgLkIndex")) if mibBuilder.loadTexts: trmLgLkFwdStatsEntry.setStatus('mandatory') trmLgLkFciSet = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 11, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkFciSet.setStatus('mandatory') trmLgLkOverflowAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 11, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkOverflowAttempts.setStatus('mandatory') trmLgLkPathOverflowAttempts = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 11, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkPathOverflowAttempts.setStatus('mandatory') trmLgLkDiscardCongestedTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 280), ) if mibBuilder.loadTexts: trmLgLkDiscardCongestedTable.setStatus('mandatory') trmLgLkDiscardCongestedEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 280, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgLkIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgLkDiscardCongestedIndex")) if mibBuilder.loadTexts: trmLgLkDiscardCongestedEntry.setStatus('mandatory') trmLgLkDiscardCongestedIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 280, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("discardPriority1", 0), ("discardPriority2", 1), ("discardPriority3", 2)))) if mibBuilder.loadTexts: trmLgLkDiscardCongestedIndex.setStatus('mandatory') trmLgLkDiscardCongestedValue = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 280, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLkDiscardCongestedValue.setStatus('mandatory') trmLgLNN = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3)) trmLgLNNRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1), ) if mibBuilder.loadTexts: trmLgLNNRowStatusTable.setStatus('mandatory') trmLgLNNRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgLNNIndex")) if mibBuilder.loadTexts: trmLgLNNRowStatusEntry.setStatus('mandatory') trmLgLNNRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLNNRowStatus.setStatus('mandatory') trmLgLNNComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLNNComponentName.setStatus('mandatory') trmLgLNNStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLNNStorageType.setStatus('mandatory') trmLgLNNIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2047))) if mibBuilder.loadTexts: trmLgLNNIndex.setStatus('mandatory') trmLgLNNOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 10), ) if mibBuilder.loadTexts: trmLgLNNOperTable.setStatus('mandatory') trmLgLNNOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "trmLgLNNIndex")) if mibBuilder.loadTexts: trmLgLNNOperEntry.setStatus('mandatory') trmLgLNNLinkType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 10, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("trunk", 0), ("internalGateway", 1), ("externalGateway", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLNNLinkType.setStatus('mandatory') trmLgLNNAddressPlanComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 10, 1, 2), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: trmLgLNNAddressPlanComponentName.setStatus('mandatory') npi = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43)) npiRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1), ) if mibBuilder.loadTexts: npiRowStatusTable.setStatus('mandatory') npiRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "npiIndex")) if mibBuilder.loadTexts: npiRowStatusEntry.setStatus('mandatory') npiRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: npiRowStatus.setStatus('mandatory') npiComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: npiComponentName.setStatus('mandatory') npiStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: npiStorageType.setStatus('mandatory') npiIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("x121", 0), ("e164", 1)))) if mibBuilder.loadTexts: npiIndex.setStatus('mandatory') npiStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 10), ) if mibBuilder.loadTexts: npiStatsTable.setStatus('mandatory') npiStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "npiIndex")) if mibBuilder.loadTexts: npiStatsEntry.setStatus('mandatory') npiTotalDnas = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 10, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: npiTotalDnas.setStatus('mandatory') npiDna = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2)) npiDnaRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1), ) if mibBuilder.loadTexts: npiDnaRowStatusTable.setStatus('mandatory') npiDnaRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "npiIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "npiDnaIndex")) if mibBuilder.loadTexts: npiDnaRowStatusEntry.setStatus('mandatory') npiDnaRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: npiDnaRowStatus.setStatus('mandatory') npiDnaComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: npiDnaComponentName.setStatus('mandatory') npiDnaStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: npiDnaStorageType.setStatus('mandatory') npiDnaIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1, 1, 10), DigitString().subtype(subtypeSpec=ValueSizeConstraint(1, 15))) if mibBuilder.loadTexts: npiDnaIndex.setStatus('mandatory') npiDnaInfoTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 10), ) if mibBuilder.loadTexts: npiDnaInfoTable.setStatus('mandatory') npiDnaInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 10, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-BaseRoutingMIB", "npiIndex"), (0, "Nortel-Magellan-Passport-BaseRoutingMIB", "npiDnaIndex")) if mibBuilder.loadTexts: npiDnaInfoEntry.setStatus('mandatory') npiDnaDestinationName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 10, 1, 1), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: npiDnaDestinationName.setStatus('mandatory') baseRoutingGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 1)) baseRoutingGroupBE = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 1, 5)) baseRoutingGroupBE00 = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 1, 5, 1)) baseRoutingGroupBE00A = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 1, 5, 1, 2)) baseRoutingCapabilities = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 3)) baseRoutingCapabilitiesBE = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 3, 5)) baseRoutingCapabilitiesBE00 = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 3, 5, 1)) baseRoutingCapabilitiesBE00A = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 3, 5, 1, 2)) mibBuilder.exportSymbols("Nortel-Magellan-Passport-BaseRoutingMIB", rtgTopNodeLgIndex=rtgTopNodeLgIndex, rtgTopNodeLgRowStatus=rtgTopNodeLgRowStatus, rtgIndex=rtgIndex, trmLgLkFwdStatsTable=trmLgLkFwdStatsTable, npiDnaInfoTable=npiDnaInfoTable, trmRowStatusEntry=trmRowStatusEntry, trmLgLkDiscardCongestedTable=trmLgLkDiscardCongestedTable, npiDna=npiDna, trmLkComponentName=trmLkComponentName, rtgTopNodeLgTrkObjFarEndTrmLkInstance=rtgTopNodeLgTrkObjFarEndTrmLkInstance, trmLgLkRowStatusEntry=trmLgLkRowStatusEntry, rtgTopStatsTable=rtgTopStatsTable, trmLkLinkComponentName=trmLkLinkComponentName, trmLgLNNRowStatus=trmLgLNNRowStatus, rtgTopNodeIndex=rtgTopNodeIndex, trmLgLkDelayUsec=trmLgLkDelayUsec, trmLgLkRowStatusTable=trmLgLkRowStatusTable, npiRowStatusTable=npiRowStatusTable, trmLkDiscardCongestedTable=trmLkDiscardCongestedTable, trmLgLNNAddressPlanComponentName=trmLgLNNAddressPlanComponentName, rtgTopNodeStorageType=rtgTopNodeStorageType, rtgTopControlBytesRx=rtgTopControlBytesRx, trmLkPathOverflowAttempts=trmLkPathOverflowAttempts, baseRoutingCapabilities=baseRoutingCapabilities, trmRowStatus=trmRowStatus, trmLkRowStatus=trmLkRowStatus, baseRoutingMIB=baseRoutingMIB, rtgTopNodeLgTrkObjOperTable=rtgTopNodeLgTrkObjOperTable, trmLgLkThroughput=trmLgLkThroughput, npiTotalDnas=npiTotalDnas, rtgTopNodeLgStorageType=rtgTopNodeLgStorageType, rtgRowStatusEntry=rtgRowStatusEntry, rtgProvTable=rtgProvTable, rtgSplittingRegionIdsTable=rtgSplittingRegionIdsTable, npiDnaComponentName=npiDnaComponentName, rtgTopNodeLgTputMetric=rtgTopNodeLgTputMetric, npi=npi, trmLgRowStatus=trmLgRowStatus, rtgTopNodeLgTrkObjCustomerParameter=rtgTopNodeLgTrkObjCustomerParameter, trmLkThroughput=trmLkThroughput, rtgTopNodeLgRowStatusEntry=rtgTopNodeLgRowStatusEntry, rtgTopControlPktTx=rtgTopControlPktTx, rtgTopComponentName=rtgTopComponentName, trmLgComponentName=trmLgComponentName, trmLgLkMaxTxUnit=trmLgLkMaxTxUnit, rtgTopNodeLgTrkObjUnresSetupPriorityIndex=rtgTopNodeLgTrkObjUnresSetupPriorityIndex, baseRoutingGroupBE00=baseRoutingGroupBE00, rtgTopNodeLgTrkObjIndex=rtgTopNodeLgTrkObjIndex, trmComponentName=trmComponentName, rtgTopStatsEntry=rtgTopStatsEntry, baseRoutingGroupBE=baseRoutingGroupBE, trmStorageType=trmStorageType, rtgTopRowStatusEntry=rtgTopRowStatusEntry, rtgTopNodeLgTrkObjSupportedTrafficTypes=rtgTopNodeLgTrkObjSupportedTrafficTypes, rtgStorageType=rtgStorageType, rtgTopNode=rtgTopNode, npiDnaRowStatusEntry=npiDnaRowStatusEntry, rtgTopNodeLgOperEntry=rtgTopNodeLgOperEntry, npiStorageType=npiStorageType, rtgTopNodeLgTrkObjTrunkDelay=rtgTopNodeLgTrkObjTrunkDelay, rtgTopNodeLgTrkObjRowStatus=rtgTopNodeLgTrkObjRowStatus, rtgTopNodeOperEntry=rtgTopNodeOperEntry, rtgTopNodeLgTrkObjUnresTable=rtgTopNodeLgTrkObjUnresTable, trmLkStatus=trmLkStatus, trmLkDiscardCongestedEntry=trmLkDiscardCongestedEntry, trm=trm, trmLkDiscardCongestedValue=trmLkDiscardCongestedValue, trmIndex=trmIndex, rtgTopNodeLgTrkObjUnresUnreservedBwPartsIndex=rtgTopNodeLgTrkObjUnresUnreservedBwPartsIndex, trmLkRowStatusEntry=trmLkRowStatusEntry, rtgTopNodeLgTrkObjTrunkType=rtgTopNodeLgTrkObjTrunkType, trmLgLNNIndex=trmLgLNNIndex, trmLgLkStatus=trmLgLkStatus, rtgTopNodeLgLnnTable=rtgTopNodeLgLnnTable, rtgTopNodeLgLnnEntry=rtgTopNodeLgLnnEntry, npiStatsEntry=npiStatsEntry, trmLgLkOverflowAttempts=trmLgLkOverflowAttempts, trmLgLNN=trmLgLNN, trmLgIndex=trmLgIndex, trmLgLkPathOverflowAttempts=trmLgLkPathOverflowAttempts, trmRowStatusTable=trmRowStatusTable, npiComponentName=npiComponentName, trmLkRowStatusTable=trmLkRowStatusTable, rtgTopNodeRowStatusEntry=rtgTopNodeRowStatusEntry, rtgTopStorageType=rtgTopStorageType, trmLgLNNRowStatusTable=trmLgLNNRowStatusTable, trmLgLNNRowStatusEntry=trmLgLNNRowStatusEntry, baseRoutingGroup=baseRoutingGroup, trmLkDiscardCongestedIndex=trmLkDiscardCongestedIndex, trmLkOverflowAttempts=trmLkOverflowAttempts, baseRoutingGroupBE00A=baseRoutingGroupBE00A, npiDnaStorageType=npiDnaStorageType, rtgComponentName=rtgComponentName, rtgTopNodeComponentName=rtgTopNodeComponentName, trmLgLkStorageType=trmLgLkStorageType, npiRowStatus=npiRowStatus, trmLk=trmLk, trmLgLkFciSet=trmLgLkFciSet, rtgTop=rtgTop, rtgTopNodeLgTrkObjMaxReservableBwOut=rtgTopNodeLgTrkObjMaxReservableBwOut, trmLgLkDiscardCongestedValue=trmLgLkDiscardCongestedValue, npiRowStatusEntry=npiRowStatusEntry, trmLkFwdStatsTable=trmLkFwdStatsTable, rtgTopNodeLgTrkObjUnresValue=rtgTopNodeLgTrkObjUnresValue, trmLgLNNOperTable=trmLgLNNOperTable, trmLgRowStatusEntry=trmLgRowStatusEntry, trmLgLkLinkComponentName=trmLgLkLinkComponentName, npiDnaRowStatusTable=npiDnaRowStatusTable, rtgTopNodeLgRowStatusTable=rtgTopNodeLgRowStatusTable, rtgTopNodeLgTrkObj=rtgTopNodeLgTrkObj, trmLkStorageType=trmLkStorageType, trmLgLk=trmLgLk, npiIndex=npiIndex, trmLgStorageType=trmLgStorageType, npiDnaIndex=npiDnaIndex, rtg=rtg, rtgTopIndex=rtgTopIndex, rtgTopNodeLg=rtgTopNodeLg, rtgTopNodeLgDelayMetric=rtgTopNodeLgDelayMetric, rtgTopRowStatus=rtgTopRowStatus, rtgRowStatusTable=rtgRowStatusTable, rtgTopNodeLgOperTable=rtgTopNodeLgOperTable, rtgTopNodeLgTrkObjStorageType=rtgTopNodeLgTrkObjStorageType, trmLkFwdStatsEntry=trmLkFwdStatsEntry, trmLgLkIndex=trmLgLkIndex, baseRoutingCapabilitiesBE00A=baseRoutingCapabilitiesBE00A, npiDnaRowStatus=npiDnaRowStatus, rtgTopNodeLgComponentName=rtgTopNodeLgComponentName, trmLgLNNStorageType=trmLgLNNStorageType, rtgTandemTraffic=rtgTandemTraffic, rtgTopNodeOperTable=rtgTopNodeOperTable, npiDnaInfoEntry=npiDnaInfoEntry, rtgRowStatus=rtgRowStatus, trmLkFciSet=trmLkFciSet, trmLgLNNComponentName=trmLgLNNComponentName, rtgTopNodeLgTrkObjComponentName=rtgTopNodeLgTrkObjComponentName, trmLkOperTable=trmLkOperTable, rtgTopNodeRowStatus=rtgTopNodeRowStatus, rtgSplittingRegionIdsEntry=rtgSplittingRegionIdsEntry, npiStatsTable=npiStatsTable, trmLgLkOperTable=trmLgLkOperTable, trmLkIndex=trmLkIndex, trmLkOperEntry=trmLkOperEntry, trmLgLkOperEntry=trmLgLkOperEntry, rtgTopNodeNodeId=rtgTopNodeNodeId, trmLkDelay=trmLkDelay, rtgTopNodeLgTrkObjTrunkCost=rtgTopNodeLgTrkObjTrunkCost, trmLkMaxTxUnit=trmLkMaxTxUnit, trmLgLkDiscardCongestedEntry=trmLgLkDiscardCongestedEntry, trmLgLkDiscardCongestedIndex=trmLgLkDiscardCongestedIndex, rtgTopRowStatusTable=rtgTopRowStatusTable, rtgSplittingRegionIdsRowStatus=rtgSplittingRegionIdsRowStatus, trmLkDelayUsec=trmLkDelayUsec, trmLgLkDelay=trmLgLkDelay, rtgTopNodeLgTrkObjOperEntry=rtgTopNodeLgTrkObjOperEntry, trmLg=trmLg, rtgProvEntry=rtgProvEntry, rtgTopNodeLgTrkObjUnresEntry=rtgTopNodeLgTrkObjUnresEntry, rtgTopNodeLgTrkObjTrunkSecurity=rtgTopNodeLgTrkObjTrunkSecurity, trmLgLNNOperEntry=trmLgLNNOperEntry, npiDnaDestinationName=npiDnaDestinationName, baseRoutingCapabilitiesBE00=baseRoutingCapabilitiesBE00, rtgTopNodeRowStatusTable=rtgTopNodeRowStatusTable, baseRoutingCapabilitiesBE=baseRoutingCapabilitiesBE, trmLgLkComponentName=trmLgLkComponentName, trmLgLkRowStatus=trmLgLkRowStatus, rtgTopControlBytesTx=rtgTopControlBytesTx, trmLgRowStatusTable=trmLgRowStatusTable, rtgTopNodeLgLnnValue=rtgTopNodeLgLnnValue, rtgTopNodeLgTrkObjRowStatusTable=rtgTopNodeLgTrkObjRowStatusTable, trmLgLkFwdStatsEntry=trmLgLkFwdStatsEntry, rtgSplittingRegionIdsValue=rtgSplittingRegionIdsValue, rtgTopNodeLgTrkObjRowStatusEntry=rtgTopNodeLgTrkObjRowStatusEntry, trmLgLNNLinkType=trmLgLNNLinkType, rtgTopControlPktRx=rtgTopControlPktRx)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, value_size_constraint, constraints_intersection, single_value_constraint, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueSizeConstraint', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueRangeConstraint') (row_status, unsigned32, gauge32, row_pointer, storage_type, counter32, integer32, display_string) = mibBuilder.importSymbols('Nortel-Magellan-Passport-StandardTextualConventionsMIB', 'RowStatus', 'Unsigned32', 'Gauge32', 'RowPointer', 'StorageType', 'Counter32', 'Integer32', 'DisplayString') (fixed_point1, non_replicated, digit_string, ascii_string_index) = mibBuilder.importSymbols('Nortel-Magellan-Passport-TextualConventionsMIB', 'FixedPoint1', 'NonReplicated', 'DigitString', 'AsciiStringIndex') (components, passport_mi_bs) = mibBuilder.importSymbols('Nortel-Magellan-Passport-UsefulDefinitionsMIB', 'components', 'passportMIBs') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (time_ticks, mib_identifier, unsigned32, bits, notification_type, module_identity, counter64, gauge32, iso, object_identity, ip_address, mib_scalar, mib_table, mib_table_row, mib_table_column, counter32, integer32) = mibBuilder.importSymbols('SNMPv2-SMI', 'TimeTicks', 'MibIdentifier', 'Unsigned32', 'Bits', 'NotificationType', 'ModuleIdentity', 'Counter64', 'Gauge32', 'iso', 'ObjectIdentity', 'IpAddress', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter32', 'Integer32') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') base_routing_mib = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18)) rtg = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40)) rtg_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1)) if mibBuilder.loadTexts: rtgRowStatusTable.setStatus('mandatory') rtg_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex')) if mibBuilder.loadTexts: rtgRowStatusEntry.setStatus('mandatory') rtg_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1, 1, 1), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rtgRowStatus.setStatus('mandatory') rtg_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgComponentName.setStatus('mandatory') rtg_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgStorageType.setStatus('mandatory') rtg_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: rtgIndex.setStatus('mandatory') rtg_prov_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 12)) if mibBuilder.loadTexts: rtgProvTable.setStatus('mandatory') rtg_prov_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 12, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex')) if mibBuilder.loadTexts: rtgProvEntry.setStatus('mandatory') rtg_tandem_traffic = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 12, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('allowed', 0), ('denied', 1))).clone('allowed')).setMaxAccess('readwrite') if mibBuilder.loadTexts: rtgTandemTraffic.setStatus('mandatory') rtg_splitting_region_ids_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 407)) if mibBuilder.loadTexts: rtgSplittingRegionIdsTable.setStatus('mandatory') rtg_splitting_region_ids_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 407, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgSplittingRegionIdsValue')) if mibBuilder.loadTexts: rtgSplittingRegionIdsEntry.setStatus('mandatory') rtg_splitting_region_ids_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 407, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 126))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rtgSplittingRegionIdsValue.setStatus('mandatory') rtg_splitting_region_ids_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 407, 1, 2), row_status()).setMaxAccess('writeonly') if mibBuilder.loadTexts: rtgSplittingRegionIdsRowStatus.setStatus('mandatory') rtg_top = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5)) rtg_top_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1)) if mibBuilder.loadTexts: rtgTopRowStatusTable.setStatus('mandatory') rtg_top_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopIndex')) if mibBuilder.loadTexts: rtgTopRowStatusEntry.setStatus('mandatory') rtg_top_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopRowStatus.setStatus('mandatory') rtg_top_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopComponentName.setStatus('mandatory') rtg_top_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopStorageType.setStatus('mandatory') rtg_top_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: rtgTopIndex.setStatus('mandatory') rtg_top_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11)) if mibBuilder.loadTexts: rtgTopStatsTable.setStatus('mandatory') rtg_top_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopIndex')) if mibBuilder.loadTexts: rtgTopStatsEntry.setStatus('mandatory') rtg_top_control_pkt_rx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopControlPktRx.setStatus('mandatory') rtg_top_control_bytes_rx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopControlBytesRx.setStatus('mandatory') rtg_top_control_pkt_tx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopControlPktTx.setStatus('mandatory') rtg_top_control_bytes_tx = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 11, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopControlBytesTx.setStatus('mandatory') rtg_top_node = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2)) rtg_top_node_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1)) if mibBuilder.loadTexts: rtgTopNodeRowStatusTable.setStatus('mandatory') rtg_top_node_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeIndex')) if mibBuilder.loadTexts: rtgTopNodeRowStatusEntry.setStatus('mandatory') rtg_top_node_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeRowStatus.setStatus('mandatory') rtg_top_node_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeComponentName.setStatus('mandatory') rtg_top_node_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeStorageType.setStatus('mandatory') rtg_top_node_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 1, 1, 10), ascii_string_index().subtype(subtypeSpec=value_size_constraint(1, 12))) if mibBuilder.loadTexts: rtgTopNodeIndex.setStatus('mandatory') rtg_top_node_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 10)) if mibBuilder.loadTexts: rtgTopNodeOperTable.setStatus('mandatory') rtg_top_node_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeIndex')) if mibBuilder.loadTexts: rtgTopNodeOperEntry.setStatus('mandatory') rtg_top_node_node_id = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 10, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeNodeId.setStatus('mandatory') rtg_top_node_lg = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2)) rtg_top_node_lg_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1)) if mibBuilder.loadTexts: rtgTopNodeLgRowStatusTable.setStatus('mandatory') rtg_top_node_lg_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgIndex')) if mibBuilder.loadTexts: rtgTopNodeLgRowStatusEntry.setStatus('mandatory') rtg_top_node_lg_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgRowStatus.setStatus('mandatory') rtg_top_node_lg_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgComponentName.setStatus('mandatory') rtg_top_node_lg_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgStorageType.setStatus('mandatory') rtg_top_node_lg_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 1, 1, 10), ascii_string_index().subtype(subtypeSpec=value_size_constraint(1, 12))) if mibBuilder.loadTexts: rtgTopNodeLgIndex.setStatus('mandatory') rtg_top_node_lg_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 10)) if mibBuilder.loadTexts: rtgTopNodeLgOperTable.setStatus('mandatory') rtg_top_node_lg_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgIndex')) if mibBuilder.loadTexts: rtgTopNodeLgOperEntry.setStatus('mandatory') rtg_top_node_lg_delay_metric = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 10, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgDelayMetric.setStatus('mandatory') rtg_top_node_lg_tput_metric = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 10, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTputMetric.setStatus('mandatory') rtg_top_node_lg_lnn_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 235)) if mibBuilder.loadTexts: rtgTopNodeLgLnnTable.setStatus('mandatory') rtg_top_node_lg_lnn_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 235, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgLnnValue')) if mibBuilder.loadTexts: rtgTopNodeLgLnnEntry.setStatus('mandatory') rtg_top_node_lg_lnn_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 235, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2047))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgLnnValue.setStatus('mandatory') rtg_top_node_lg_trk_obj = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2)) rtg_top_node_lg_trk_obj_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1)) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjRowStatusTable.setStatus('mandatory') rtg_top_node_lg_trk_obj_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgTrkObjIndex')) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjRowStatusEntry.setStatus('mandatory') rtg_top_node_lg_trk_obj_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjRowStatus.setStatus('mandatory') rtg_top_node_lg_trk_obj_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjComponentName.setStatus('mandatory') rtg_top_node_lg_trk_obj_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjStorageType.setStatus('mandatory') rtg_top_node_lg_trk_obj_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(1, 1023))) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjIndex.setStatus('mandatory') rtg_top_node_lg_trk_obj_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10)) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjOperTable.setStatus('mandatory') rtg_top_node_lg_trk_obj_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgTrkObjIndex')) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjOperEntry.setStatus('mandatory') rtg_top_node_lg_trk_obj_max_reservable_bw_out = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 1), gauge32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjMaxReservableBwOut.setStatus('mandatory') rtg_top_node_lg_trk_obj_trunk_cost = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjTrunkCost.setStatus('mandatory') rtg_top_node_lg_trk_obj_trunk_delay = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjTrunkDelay.setStatus('mandatory') rtg_top_node_lg_trk_obj_trunk_security = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjTrunkSecurity.setStatus('mandatory') rtg_top_node_lg_trk_obj_supported_traffic_types = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 5), octet_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1)).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjSupportedTrafficTypes.setStatus('mandatory') rtg_top_node_lg_trk_obj_trunk_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('terrestrial', 0), ('satellite', 1), ('trunkType1', 2), ('trunkType2', 3), ('trunkType3', 4), ('trunkType4', 5), ('trunkType5', 6), ('trunkType6', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjTrunkType.setStatus('mandatory') rtg_top_node_lg_trk_obj_customer_parameter = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 7), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjCustomerParameter.setStatus('mandatory') rtg_top_node_lg_trk_obj_far_end_trm_lk_instance = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 10, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 1023))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjFarEndTrmLkInstance.setStatus('mandatory') rtg_top_node_lg_trk_obj_unres_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 234)) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjUnresTable.setStatus('mandatory') rtg_top_node_lg_trk_obj_unres_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 234, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgTrkObjIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgTrkObjUnresSetupPriorityIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'rtgTopNodeLgTrkObjUnresUnreservedBwPartsIndex')) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjUnresEntry.setStatus('mandatory') rtg_top_node_lg_trk_obj_unres_setup_priority_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 234, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0))).clone(namedValues=named_values(('bwPartOver255', 0)))) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjUnresSetupPriorityIndex.setStatus('mandatory') rtg_top_node_lg_trk_obj_unres_unreserved_bw_parts_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 234, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 4))) if mibBuilder.loadTexts: rtgTopNodeLgTrkObjUnresUnreservedBwPartsIndex.setStatus('mandatory') rtg_top_node_lg_trk_obj_unres_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 40, 5, 2, 2, 2, 234, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: rtgTopNodeLgTrkObjUnresValue.setStatus('mandatory') trm = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41)) trm_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1)) if mibBuilder.loadTexts: trmRowStatusTable.setStatus('mandatory') trm_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex')) if mibBuilder.loadTexts: trmRowStatusEntry.setStatus('mandatory') trm_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmRowStatus.setStatus('mandatory') trm_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmComponentName.setStatus('mandatory') trm_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmStorageType.setStatus('mandatory') trm_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 1, 1, 10), non_replicated()) if mibBuilder.loadTexts: trmIndex.setStatus('mandatory') trm_lk = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2)) trm_lk_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1)) if mibBuilder.loadTexts: trmLkRowStatusTable.setStatus('mandatory') trm_lk_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLkIndex')) if mibBuilder.loadTexts: trmLkRowStatusEntry.setStatus('mandatory') trm_lk_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkRowStatus.setStatus('mandatory') trm_lk_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkComponentName.setStatus('mandatory') trm_lk_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkStorageType.setStatus('mandatory') trm_lk_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(1, 1023))) if mibBuilder.loadTexts: trmLkIndex.setStatus('mandatory') trm_lk_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10)) if mibBuilder.loadTexts: trmLkOperTable.setStatus('mandatory') trm_lk_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLkIndex')) if mibBuilder.loadTexts: trmLkOperEntry.setStatus('mandatory') trm_lk_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('inactive', 1), ('joining', 2), ('online', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkStatus.setStatus('mandatory') trm_lk_throughput = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 2), gauge32().subtype(subtypeSpec=value_range_constraint(1, 640000000))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkThroughput.setStatus('mandatory') trm_lk_delay = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 3), gauge32().subtype(subtypeSpec=value_range_constraint(1, 1500))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkDelay.setStatus('obsolete') trm_lk_max_tx_unit = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkMaxTxUnit.setStatus('mandatory') trm_lk_link_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 5), row_pointer()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkLinkComponentName.setStatus('mandatory') trm_lk_delay_usec = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 10, 1, 6), fixed_point1().subtype(subtypeSpec=value_range_constraint(10, 15000))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkDelayUsec.setStatus('mandatory') trm_lk_fwd_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 11)) if mibBuilder.loadTexts: trmLkFwdStatsTable.setStatus('mandatory') trm_lk_fwd_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 11, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLkIndex')) if mibBuilder.loadTexts: trmLkFwdStatsEntry.setStatus('mandatory') trm_lk_fci_set = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 11, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkFciSet.setStatus('mandatory') trm_lk_overflow_attempts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 11, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkOverflowAttempts.setStatus('mandatory') trm_lk_path_overflow_attempts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 11, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkPathOverflowAttempts.setStatus('mandatory') trm_lk_discard_congested_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 280)) if mibBuilder.loadTexts: trmLkDiscardCongestedTable.setStatus('mandatory') trm_lk_discard_congested_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 280, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLkIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLkDiscardCongestedIndex')) if mibBuilder.loadTexts: trmLkDiscardCongestedEntry.setStatus('mandatory') trm_lk_discard_congested_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 280, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('discardPriority1', 0), ('discardPriority2', 1), ('discardPriority3', 2)))) if mibBuilder.loadTexts: trmLkDiscardCongestedIndex.setStatus('mandatory') trm_lk_discard_congested_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 2, 280, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLkDiscardCongestedValue.setStatus('mandatory') trm_lg = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3)) trm_lg_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1)) if mibBuilder.loadTexts: trmLgRowStatusTable.setStatus('mandatory') trm_lg_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgIndex')) if mibBuilder.loadTexts: trmLgRowStatusEntry.setStatus('mandatory') trm_lg_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgRowStatus.setStatus('mandatory') trm_lg_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgComponentName.setStatus('mandatory') trm_lg_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgStorageType.setStatus('mandatory') trm_lg_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 1, 1, 10), ascii_string_index().subtype(subtypeSpec=value_size_constraint(1, 12))) if mibBuilder.loadTexts: trmLgIndex.setStatus('mandatory') trm_lg_lk = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2)) trm_lg_lk_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1)) if mibBuilder.loadTexts: trmLgLkRowStatusTable.setStatus('mandatory') trm_lg_lk_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgLkIndex')) if mibBuilder.loadTexts: trmLgLkRowStatusEntry.setStatus('mandatory') trm_lg_lk_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkRowStatus.setStatus('mandatory') trm_lg_lk_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkComponentName.setStatus('mandatory') trm_lg_lk_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkStorageType.setStatus('mandatory') trm_lg_lk_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(1, 1023))) if mibBuilder.loadTexts: trmLgLkIndex.setStatus('mandatory') trm_lg_lk_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10)) if mibBuilder.loadTexts: trmLgLkOperTable.setStatus('mandatory') trm_lg_lk_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgLkIndex')) if mibBuilder.loadTexts: trmLgLkOperEntry.setStatus('mandatory') trm_lg_lk_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('inactive', 1), ('joining', 2), ('online', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkStatus.setStatus('mandatory') trm_lg_lk_throughput = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 2), gauge32().subtype(subtypeSpec=value_range_constraint(1, 640000000))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkThroughput.setStatus('mandatory') trm_lg_lk_delay = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 3), gauge32().subtype(subtypeSpec=value_range_constraint(1, 1500))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkDelay.setStatus('obsolete') trm_lg_lk_max_tx_unit = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkMaxTxUnit.setStatus('mandatory') trm_lg_lk_link_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 5), row_pointer()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkLinkComponentName.setStatus('mandatory') trm_lg_lk_delay_usec = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 10, 1, 6), fixed_point1().subtype(subtypeSpec=value_range_constraint(10, 15000))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkDelayUsec.setStatus('mandatory') trm_lg_lk_fwd_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 11)) if mibBuilder.loadTexts: trmLgLkFwdStatsTable.setStatus('mandatory') trm_lg_lk_fwd_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 11, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgLkIndex')) if mibBuilder.loadTexts: trmLgLkFwdStatsEntry.setStatus('mandatory') trm_lg_lk_fci_set = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 11, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkFciSet.setStatus('mandatory') trm_lg_lk_overflow_attempts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 11, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkOverflowAttempts.setStatus('mandatory') trm_lg_lk_path_overflow_attempts = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 11, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkPathOverflowAttempts.setStatus('mandatory') trm_lg_lk_discard_congested_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 280)) if mibBuilder.loadTexts: trmLgLkDiscardCongestedTable.setStatus('mandatory') trm_lg_lk_discard_congested_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 280, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgLkIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgLkDiscardCongestedIndex')) if mibBuilder.loadTexts: trmLgLkDiscardCongestedEntry.setStatus('mandatory') trm_lg_lk_discard_congested_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 280, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('discardPriority1', 0), ('discardPriority2', 1), ('discardPriority3', 2)))) if mibBuilder.loadTexts: trmLgLkDiscardCongestedIndex.setStatus('mandatory') trm_lg_lk_discard_congested_value = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 2, 280, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLkDiscardCongestedValue.setStatus('mandatory') trm_lg_lnn = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3)) trm_lg_lnn_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1)) if mibBuilder.loadTexts: trmLgLNNRowStatusTable.setStatus('mandatory') trm_lg_lnn_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgLNNIndex')) if mibBuilder.loadTexts: trmLgLNNRowStatusEntry.setStatus('mandatory') trm_lg_lnn_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLNNRowStatus.setStatus('mandatory') trm_lg_lnn_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLNNComponentName.setStatus('mandatory') trm_lg_lnn_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLNNStorageType.setStatus('mandatory') trm_lg_lnn_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 1, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 2047))) if mibBuilder.loadTexts: trmLgLNNIndex.setStatus('mandatory') trm_lg_lnn_oper_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 10)) if mibBuilder.loadTexts: trmLgLNNOperTable.setStatus('mandatory') trm_lg_lnn_oper_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'trmLgLNNIndex')) if mibBuilder.loadTexts: trmLgLNNOperEntry.setStatus('mandatory') trm_lg_lnn_link_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 10, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('trunk', 0), ('internalGateway', 1), ('externalGateway', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLNNLinkType.setStatus('mandatory') trm_lg_lnn_address_plan_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 41, 3, 3, 10, 1, 2), row_pointer()).setMaxAccess('readonly') if mibBuilder.loadTexts: trmLgLNNAddressPlanComponentName.setStatus('mandatory') npi = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43)) npi_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1)) if mibBuilder.loadTexts: npiRowStatusTable.setStatus('mandatory') npi_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'npiIndex')) if mibBuilder.loadTexts: npiRowStatusEntry.setStatus('mandatory') npi_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: npiRowStatus.setStatus('mandatory') npi_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: npiComponentName.setStatus('mandatory') npi_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: npiStorageType.setStatus('mandatory') npi_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('x121', 0), ('e164', 1)))) if mibBuilder.loadTexts: npiIndex.setStatus('mandatory') npi_stats_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 10)) if mibBuilder.loadTexts: npiStatsTable.setStatus('mandatory') npi_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'npiIndex')) if mibBuilder.loadTexts: npiStatsEntry.setStatus('mandatory') npi_total_dnas = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 10, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: npiTotalDnas.setStatus('mandatory') npi_dna = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2)) npi_dna_row_status_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1)) if mibBuilder.loadTexts: npiDnaRowStatusTable.setStatus('mandatory') npi_dna_row_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'npiIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'npiDnaIndex')) if mibBuilder.loadTexts: npiDnaRowStatusEntry.setStatus('mandatory') npi_dna_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1, 1, 1), row_status()).setMaxAccess('readonly') if mibBuilder.loadTexts: npiDnaRowStatus.setStatus('mandatory') npi_dna_component_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: npiDnaComponentName.setStatus('mandatory') npi_dna_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1, 1, 4), storage_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: npiDnaStorageType.setStatus('mandatory') npi_dna_index = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 1, 1, 10), digit_string().subtype(subtypeSpec=value_size_constraint(1, 15))) if mibBuilder.loadTexts: npiDnaIndex.setStatus('mandatory') npi_dna_info_table = mib_table((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 10)) if mibBuilder.loadTexts: npiDnaInfoTable.setStatus('mandatory') npi_dna_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 10, 1)).setIndexNames((0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'npiIndex'), (0, 'Nortel-Magellan-Passport-BaseRoutingMIB', 'npiDnaIndex')) if mibBuilder.loadTexts: npiDnaInfoEntry.setStatus('mandatory') npi_dna_destination_name = mib_table_column((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 43, 2, 10, 1, 1), row_pointer()).setMaxAccess('readonly') if mibBuilder.loadTexts: npiDnaDestinationName.setStatus('mandatory') base_routing_group = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 1)) base_routing_group_be = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 1, 5)) base_routing_group_be00 = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 1, 5, 1)) base_routing_group_be00_a = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 1, 5, 1, 2)) base_routing_capabilities = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 3)) base_routing_capabilities_be = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 3, 5)) base_routing_capabilities_be00 = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 3, 5, 1)) base_routing_capabilities_be00_a = mib_identifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 18, 3, 5, 1, 2)) mibBuilder.exportSymbols('Nortel-Magellan-Passport-BaseRoutingMIB', rtgTopNodeLgIndex=rtgTopNodeLgIndex, rtgTopNodeLgRowStatus=rtgTopNodeLgRowStatus, rtgIndex=rtgIndex, trmLgLkFwdStatsTable=trmLgLkFwdStatsTable, npiDnaInfoTable=npiDnaInfoTable, trmRowStatusEntry=trmRowStatusEntry, trmLgLkDiscardCongestedTable=trmLgLkDiscardCongestedTable, npiDna=npiDna, trmLkComponentName=trmLkComponentName, rtgTopNodeLgTrkObjFarEndTrmLkInstance=rtgTopNodeLgTrkObjFarEndTrmLkInstance, trmLgLkRowStatusEntry=trmLgLkRowStatusEntry, rtgTopStatsTable=rtgTopStatsTable, trmLkLinkComponentName=trmLkLinkComponentName, trmLgLNNRowStatus=trmLgLNNRowStatus, rtgTopNodeIndex=rtgTopNodeIndex, trmLgLkDelayUsec=trmLgLkDelayUsec, trmLgLkRowStatusTable=trmLgLkRowStatusTable, npiRowStatusTable=npiRowStatusTable, trmLkDiscardCongestedTable=trmLkDiscardCongestedTable, trmLgLNNAddressPlanComponentName=trmLgLNNAddressPlanComponentName, rtgTopNodeStorageType=rtgTopNodeStorageType, rtgTopControlBytesRx=rtgTopControlBytesRx, trmLkPathOverflowAttempts=trmLkPathOverflowAttempts, baseRoutingCapabilities=baseRoutingCapabilities, trmRowStatus=trmRowStatus, trmLkRowStatus=trmLkRowStatus, baseRoutingMIB=baseRoutingMIB, rtgTopNodeLgTrkObjOperTable=rtgTopNodeLgTrkObjOperTable, trmLgLkThroughput=trmLgLkThroughput, npiTotalDnas=npiTotalDnas, rtgTopNodeLgStorageType=rtgTopNodeLgStorageType, rtgRowStatusEntry=rtgRowStatusEntry, rtgProvTable=rtgProvTable, rtgSplittingRegionIdsTable=rtgSplittingRegionIdsTable, npiDnaComponentName=npiDnaComponentName, rtgTopNodeLgTputMetric=rtgTopNodeLgTputMetric, npi=npi, trmLgRowStatus=trmLgRowStatus, rtgTopNodeLgTrkObjCustomerParameter=rtgTopNodeLgTrkObjCustomerParameter, trmLkThroughput=trmLkThroughput, rtgTopNodeLgRowStatusEntry=rtgTopNodeLgRowStatusEntry, rtgTopControlPktTx=rtgTopControlPktTx, rtgTopComponentName=rtgTopComponentName, trmLgComponentName=trmLgComponentName, trmLgLkMaxTxUnit=trmLgLkMaxTxUnit, rtgTopNodeLgTrkObjUnresSetupPriorityIndex=rtgTopNodeLgTrkObjUnresSetupPriorityIndex, baseRoutingGroupBE00=baseRoutingGroupBE00, rtgTopNodeLgTrkObjIndex=rtgTopNodeLgTrkObjIndex, trmComponentName=trmComponentName, rtgTopStatsEntry=rtgTopStatsEntry, baseRoutingGroupBE=baseRoutingGroupBE, trmStorageType=trmStorageType, rtgTopRowStatusEntry=rtgTopRowStatusEntry, rtgTopNodeLgTrkObjSupportedTrafficTypes=rtgTopNodeLgTrkObjSupportedTrafficTypes, rtgStorageType=rtgStorageType, rtgTopNode=rtgTopNode, npiDnaRowStatusEntry=npiDnaRowStatusEntry, rtgTopNodeLgOperEntry=rtgTopNodeLgOperEntry, npiStorageType=npiStorageType, rtgTopNodeLgTrkObjTrunkDelay=rtgTopNodeLgTrkObjTrunkDelay, rtgTopNodeLgTrkObjRowStatus=rtgTopNodeLgTrkObjRowStatus, rtgTopNodeOperEntry=rtgTopNodeOperEntry, rtgTopNodeLgTrkObjUnresTable=rtgTopNodeLgTrkObjUnresTable, trmLkStatus=trmLkStatus, trmLkDiscardCongestedEntry=trmLkDiscardCongestedEntry, trm=trm, trmLkDiscardCongestedValue=trmLkDiscardCongestedValue, trmIndex=trmIndex, rtgTopNodeLgTrkObjUnresUnreservedBwPartsIndex=rtgTopNodeLgTrkObjUnresUnreservedBwPartsIndex, trmLkRowStatusEntry=trmLkRowStatusEntry, rtgTopNodeLgTrkObjTrunkType=rtgTopNodeLgTrkObjTrunkType, trmLgLNNIndex=trmLgLNNIndex, trmLgLkStatus=trmLgLkStatus, rtgTopNodeLgLnnTable=rtgTopNodeLgLnnTable, rtgTopNodeLgLnnEntry=rtgTopNodeLgLnnEntry, npiStatsEntry=npiStatsEntry, trmLgLkOverflowAttempts=trmLgLkOverflowAttempts, trmLgLNN=trmLgLNN, trmLgIndex=trmLgIndex, trmLgLkPathOverflowAttempts=trmLgLkPathOverflowAttempts, trmRowStatusTable=trmRowStatusTable, npiComponentName=npiComponentName, trmLkRowStatusTable=trmLkRowStatusTable, rtgTopNodeRowStatusEntry=rtgTopNodeRowStatusEntry, rtgTopStorageType=rtgTopStorageType, trmLgLNNRowStatusTable=trmLgLNNRowStatusTable, trmLgLNNRowStatusEntry=trmLgLNNRowStatusEntry, baseRoutingGroup=baseRoutingGroup, trmLkDiscardCongestedIndex=trmLkDiscardCongestedIndex, trmLkOverflowAttempts=trmLkOverflowAttempts, baseRoutingGroupBE00A=baseRoutingGroupBE00A, npiDnaStorageType=npiDnaStorageType, rtgComponentName=rtgComponentName, rtgTopNodeComponentName=rtgTopNodeComponentName, trmLgLkStorageType=trmLgLkStorageType, npiRowStatus=npiRowStatus, trmLk=trmLk, trmLgLkFciSet=trmLgLkFciSet, rtgTop=rtgTop, rtgTopNodeLgTrkObjMaxReservableBwOut=rtgTopNodeLgTrkObjMaxReservableBwOut, trmLgLkDiscardCongestedValue=trmLgLkDiscardCongestedValue, npiRowStatusEntry=npiRowStatusEntry, trmLkFwdStatsTable=trmLkFwdStatsTable, rtgTopNodeLgTrkObjUnresValue=rtgTopNodeLgTrkObjUnresValue, trmLgLNNOperTable=trmLgLNNOperTable, trmLgRowStatusEntry=trmLgRowStatusEntry, trmLgLkLinkComponentName=trmLgLkLinkComponentName, npiDnaRowStatusTable=npiDnaRowStatusTable, rtgTopNodeLgRowStatusTable=rtgTopNodeLgRowStatusTable, rtgTopNodeLgTrkObj=rtgTopNodeLgTrkObj, trmLkStorageType=trmLkStorageType, trmLgLk=trmLgLk, npiIndex=npiIndex, trmLgStorageType=trmLgStorageType, npiDnaIndex=npiDnaIndex, rtg=rtg, rtgTopIndex=rtgTopIndex, rtgTopNodeLg=rtgTopNodeLg, rtgTopNodeLgDelayMetric=rtgTopNodeLgDelayMetric, rtgTopRowStatus=rtgTopRowStatus, rtgRowStatusTable=rtgRowStatusTable, rtgTopNodeLgOperTable=rtgTopNodeLgOperTable, rtgTopNodeLgTrkObjStorageType=rtgTopNodeLgTrkObjStorageType, trmLkFwdStatsEntry=trmLkFwdStatsEntry, trmLgLkIndex=trmLgLkIndex, baseRoutingCapabilitiesBE00A=baseRoutingCapabilitiesBE00A, npiDnaRowStatus=npiDnaRowStatus, rtgTopNodeLgComponentName=rtgTopNodeLgComponentName, trmLgLNNStorageType=trmLgLNNStorageType, rtgTandemTraffic=rtgTandemTraffic, rtgTopNodeOperTable=rtgTopNodeOperTable, npiDnaInfoEntry=npiDnaInfoEntry, rtgRowStatus=rtgRowStatus, trmLkFciSet=trmLkFciSet, trmLgLNNComponentName=trmLgLNNComponentName, rtgTopNodeLgTrkObjComponentName=rtgTopNodeLgTrkObjComponentName, trmLkOperTable=trmLkOperTable, rtgTopNodeRowStatus=rtgTopNodeRowStatus, rtgSplittingRegionIdsEntry=rtgSplittingRegionIdsEntry, npiStatsTable=npiStatsTable, trmLgLkOperTable=trmLgLkOperTable, trmLkIndex=trmLkIndex, trmLkOperEntry=trmLkOperEntry, trmLgLkOperEntry=trmLgLkOperEntry, rtgTopNodeNodeId=rtgTopNodeNodeId, trmLkDelay=trmLkDelay, rtgTopNodeLgTrkObjTrunkCost=rtgTopNodeLgTrkObjTrunkCost, trmLkMaxTxUnit=trmLkMaxTxUnit, trmLgLkDiscardCongestedEntry=trmLgLkDiscardCongestedEntry, trmLgLkDiscardCongestedIndex=trmLgLkDiscardCongestedIndex, rtgTopRowStatusTable=rtgTopRowStatusTable, rtgSplittingRegionIdsRowStatus=rtgSplittingRegionIdsRowStatus, trmLkDelayUsec=trmLkDelayUsec, trmLgLkDelay=trmLgLkDelay, rtgTopNodeLgTrkObjOperEntry=rtgTopNodeLgTrkObjOperEntry, trmLg=trmLg, rtgProvEntry=rtgProvEntry, rtgTopNodeLgTrkObjUnresEntry=rtgTopNodeLgTrkObjUnresEntry, rtgTopNodeLgTrkObjTrunkSecurity=rtgTopNodeLgTrkObjTrunkSecurity, trmLgLNNOperEntry=trmLgLNNOperEntry, npiDnaDestinationName=npiDnaDestinationName, baseRoutingCapabilitiesBE00=baseRoutingCapabilitiesBE00, rtgTopNodeRowStatusTable=rtgTopNodeRowStatusTable, baseRoutingCapabilitiesBE=baseRoutingCapabilitiesBE, trmLgLkComponentName=trmLgLkComponentName, trmLgLkRowStatus=trmLgLkRowStatus, rtgTopControlBytesTx=rtgTopControlBytesTx, trmLgRowStatusTable=trmLgRowStatusTable, rtgTopNodeLgLnnValue=rtgTopNodeLgLnnValue, rtgTopNodeLgTrkObjRowStatusTable=rtgTopNodeLgTrkObjRowStatusTable, trmLgLkFwdStatsEntry=trmLgLkFwdStatsEntry, rtgSplittingRegionIdsValue=rtgSplittingRegionIdsValue, rtgTopNodeLgTrkObjRowStatusEntry=rtgTopNodeLgTrkObjRowStatusEntry, trmLgLNNLinkType=trmLgLNNLinkType, rtgTopControlPktRx=rtgTopControlPktRx)
def denumerate(enum_list): try: nums = dict(enum_list) maximum = max(nums) + 1 result = ''.join(nums[a] for a in xrange(maximum)) if result.isalnum() and len(result) == maximum: return result except (KeyError, TypeError, ValueError): pass return False
def denumerate(enum_list): try: nums = dict(enum_list) maximum = max(nums) + 1 result = ''.join((nums[a] for a in xrange(maximum))) if result.isalnum() and len(result) == maximum: return result except (KeyError, TypeError, ValueError): pass return False
lines = open('input.txt', 'r').readlines() timestamp = int(lines[0].strip()) buses = lines[1].strip().split(',') m, x = [], [] for i, bus in enumerate(buses): if bus == 'x': continue bus = int(bus) m.append(bus) x.append((bus - i) % bus) def extended_euclidean(a, b): if a == 0: return b, 0, 1 else: g, y, x = extended_euclidean(b % a, a) return g, x - (b // a) * y, y def modinv(a, m): return extended_euclidean(a, m)[1] % m def crt(m, x): while True: temp1 = modinv(m[1], m[0]) * x[0] * m[1] + modinv(m[0], m[1]) * x[1] * m[0] temp2 = m[0] * m[1] m, x = [temp2] + m[2:], [temp1 % temp2] + x[2:] if len(x) == 1: break return x[0] print(crt(m, x))
lines = open('input.txt', 'r').readlines() timestamp = int(lines[0].strip()) buses = lines[1].strip().split(',') (m, x) = ([], []) for (i, bus) in enumerate(buses): if bus == 'x': continue bus = int(bus) m.append(bus) x.append((bus - i) % bus) def extended_euclidean(a, b): if a == 0: return (b, 0, 1) else: (g, y, x) = extended_euclidean(b % a, a) return (g, x - b // a * y, y) def modinv(a, m): return extended_euclidean(a, m)[1] % m def crt(m, x): while True: temp1 = modinv(m[1], m[0]) * x[0] * m[1] + modinv(m[0], m[1]) * x[1] * m[0] temp2 = m[0] * m[1] (m, x) = ([temp2] + m[2:], [temp1 % temp2] + x[2:]) if len(x) == 1: break return x[0] print(crt(m, x))
#!/usr/bin/env python # -*- coding: utf-8 -*- # def is_whitespaces_str(s): return True if len(s.strip(" \t\n\r\f\v")) == 0 else False
def is_whitespaces_str(s): return True if len(s.strip(' \t\n\r\x0c\x0b')) == 0 else False
command = '/usr/bin/gunicorn' pythonpath = '/usr/share/webapps/netbox' bind = '127.0.0.1:8001' workers = 3 user = 'netbox'
command = '/usr/bin/gunicorn' pythonpath = '/usr/share/webapps/netbox' bind = '127.0.0.1:8001' workers = 3 user = 'netbox'
# This one's a bit different, representing an unusual (and honestly, # not recommended) strategy for tracking users that sign up for a service. class User: # An (intentionally shared) collection storing users who sign up for some hypothetical service. # There's only one set of members, so it lives at the class level! members = {} names = set() def __init__(self, name): if not self.names: self.names.add(name) else: self.names = set(name) if self.members == {}: self.members = set() # Not signed up to begin with. def sign_up(self): self.members.add(self.name) # Change the code above so that the following lines work: # sarah = User('sarah') heather = User('heather') cristina = User('cristina') print(User.members) # {} heather.sign_up() cristina.sign_up() print(User.members) # {'heather', 'cristina'}
class User: members = {} names = set() def __init__(self, name): if not self.names: self.names.add(name) else: self.names = set(name) if self.members == {}: self.members = set() def sign_up(self): self.members.add(self.name) sarah = user('sarah') heather = user('heather') cristina = user('cristina') print(User.members) heather.sign_up() cristina.sign_up() print(User.members)
def is_knight_removed(matrix: list, row: int, col: int): if row not in range(rows) or col not in range(rows): return False return matrix[row][col] == "K" def affected_knights(matrix: list, row: int, col: int): result = 0 if is_knight_removed(matrix, row - 2, col + 1): result += 1 if is_knight_removed(matrix, row - 1, col + 2): result += 1 if is_knight_removed(matrix, row + 1, col + 2): result += 1 if is_knight_removed(matrix, row + 2, col + 1): result += 1 if is_knight_removed(matrix, row + 2 , col - 1): result += 1 if is_knight_removed(matrix, row + 1, col - 2): result += 1 if is_knight_removed(matrix, row - 1, col - 2): result += 1 if is_knight_removed(matrix, row - 2, col - 1): result += 1 return result rows = int(input()) matrix = [] knights_removed = 0 for row in range(rows): matrix.append(list(input())) while True: pass max_knights_removed, row_knight, col_knight = 0, 0, 0 for row in range(rows): for col in range(rows): if matrix[row][col] == "0": continue elif matrix[row][col] == "K": removed_knights = affected_knights(matrix, row, col) if removed_knights > max_knights_removed: max_knights_removed, row_knight, col_knight = removed_knights, row, col if max_knights_removed == 0: break matrix[row_knight][col_knight] = "0" knights_removed += 1 print(knights_removed)
def is_knight_removed(matrix: list, row: int, col: int): if row not in range(rows) or col not in range(rows): return False return matrix[row][col] == 'K' def affected_knights(matrix: list, row: int, col: int): result = 0 if is_knight_removed(matrix, row - 2, col + 1): result += 1 if is_knight_removed(matrix, row - 1, col + 2): result += 1 if is_knight_removed(matrix, row + 1, col + 2): result += 1 if is_knight_removed(matrix, row + 2, col + 1): result += 1 if is_knight_removed(matrix, row + 2, col - 1): result += 1 if is_knight_removed(matrix, row + 1, col - 2): result += 1 if is_knight_removed(matrix, row - 1, col - 2): result += 1 if is_knight_removed(matrix, row - 2, col - 1): result += 1 return result rows = int(input()) matrix = [] knights_removed = 0 for row in range(rows): matrix.append(list(input())) while True: pass (max_knights_removed, row_knight, col_knight) = (0, 0, 0) for row in range(rows): for col in range(rows): if matrix[row][col] == '0': continue elif matrix[row][col] == 'K': removed_knights = affected_knights(matrix, row, col) if removed_knights > max_knights_removed: (max_knights_removed, row_knight, col_knight) = (removed_knights, row, col) if max_knights_removed == 0: break matrix[row_knight][col_knight] = '0' knights_removed += 1 print(knights_removed)
def dight(n): sum=0 while n>0: sum=sum+n%10 n=n//10 return sum k=0 l=[] for i in range(2,100): for j in range(2,100): t=i**j d=dight(t) if d==i: k+=1 l.append(t) l=sorted(l) print(l[29])
def dight(n): sum = 0 while n > 0: sum = sum + n % 10 n = n // 10 return sum k = 0 l = [] for i in range(2, 100): for j in range(2, 100): t = i ** j d = dight(t) if d == i: k += 1 l.append(t) l = sorted(l) print(l[29])
load("//cuda:providers.bzl", "CudaInfo") def is_dynamic_input(src): return src.extension in ["so", "dll", "dylib"] def is_object_file(src): return src.extension in ["obj", "o"] def is_static_input(src): return src.extension in ["a", "lib", "lo"] def is_source_file(src): return src.extension in ["c", "cc", "cpp", "cxx", "c++", "C", "cu"] def is_header_file(src): return src.extension in ["h", "hh", "hpp", "hxx", "inc", "inl", "H", "cuh"] def _process_srcs(srcs, source_files, header_files, object_files, static_inputs, dynamic_inputs): for src in srcs: if is_source_file(src): source_files.append(src) if is_header_file(src): header_files.append(src) if is_static_input(src): static_inputs.append(src) if is_dynamic_input(src): dynamic_inputs.append(src) if is_object_file(src): object_files.append(src) def _resolve_include_prefixes( ctx, rule_kind, input_private_header_files, output_private_header_files, input_public_header_files, output_public_header_files, strip_include_prefix, include_prefix, local_include_paths, include_paths, ): if strip_include_prefix == "" and include_prefix == "": # Private headers for header_file in input_private_header_files: output_private_header_files.append(header_file) # Public headers for header_file in input_public_header_files: output_public_header_files.append(header_file) # Public include path if input_public_header_files: include_paths.append(ctx.build_file_path.replace('/BUILD.bazel', '')) return if strip_include_prefix != "": strip_include_prefix = strip_include_prefix[1:] if strip_include_prefix[0] == "/" else strip_include_prefix strip_include_prefix = strip_include_prefix[:-1] if strip_include_prefix[-1] == "/" else strip_include_prefix strip_path = ctx.build_file_path.replace('BUILD.bazel', strip_include_prefix) if include_prefix != "": include_prefix = include_prefix[1:] if include_prefix[0] == "/" else include_prefix include_prefix = include_prefix[:-1] if include_prefix[-1] == "/" else include_prefix add_path = "_virtual_includes/{}/{}".format(ctx.attr.name, include_prefix) # Calculate new include path include_path = ctx.bin_dir.path + "/" + ctx.build_file_path.replace('BUILD.bazel', add_path) # Add include path to private includes local_include_paths.append(include_path) # Add include path to public includes if input_public_header_files: include_paths.append(include_path) # Private headers for header_file in input_private_header_files: if strip_path not in header_file.path: fail("in {} rule {}: header {} is not under the specified strip prefix {}".format( rule_kind, ctx.label, header_file.path, strip_path )) new_header_file = ctx.actions.declare_file(header_file.path.replace(strip_path, add_path)) ctx.actions.symlink( output = new_header_file, target_file = header_file, ) output_private_header_files.append(new_header_file) # Public headers for header_file in input_public_header_files: if strip_path not in header_file.path: fail("in {} rule {}: header {} is not under the specified strip prefix {}".format( ctx.rule.kind, ctx.label, header_file.path, strip_path )) new_header_file = ctx.actions.declare_file(header_file.path.replace(strip_path, add_path)) ctx.actions.symlink( output = new_header_file, target_file = header_file, ) output_public_header_files.append(new_header_file) def _process_deps( deps, object_files, static_inputs, dynamic_inputs, private_header_files, local_include_paths, local_quote_include_paths, local_system_include_paths, local_defines, ): for dep in deps: if CcInfo in dep: ctx = dep[CcInfo].compilation_context private_header_files.extend( ctx.direct_public_headers + ctx.direct_textual_headers + ctx.headers.to_list() ) local_include_paths.extend(ctx.includes.to_list()) local_quote_include_paths.extend(ctx.quote_includes.to_list()) local_system_include_paths.extend(ctx.system_includes.to_list()) local_defines.extend(ctx.defines.to_list()) if CudaInfo in dep: object_files.extend(dep[CudaInfo].linking_context.object_files) static_inputs.extend(dep[CudaInfo].linking_context.static_libraries) dynamic_inputs.extend(dep[CudaInfo].linking_context.dynamic_libraries) def preprocess_inputs(ctx, rule_kind): source_files = [] private_header_files = [] public_header_files = [] object_files = [] static_inputs = [] dynamic_inputs = [] # Include paths local_include_paths = [] local_quote_include_paths = [ ".", ctx.bin_dir.path, ] local_system_include_paths = [] include_paths = [] quote_include_paths = [] system_include_paths = list(ctx.attr.includes) # Defines local_defines = list(ctx.attr.local_defines) defines = list(ctx.attr.defines) # Extract different types of inputs from srcs private_header_files_tmp = [] _process_srcs( ctx.files.srcs, source_files, private_header_files_tmp, object_files, static_inputs, dynamic_inputs ) # Resolve source header paths _resolve_include_prefixes( ctx, rule_kind, private_header_files_tmp, private_header_files, ctx.files.hdrs, public_header_files, ctx.attr.strip_include_prefix, ctx.attr.include_prefix, local_include_paths, include_paths, ) # Resolve compile depenedecies _process_deps( ctx.attr.deps, object_files, static_inputs, dynamic_inputs, private_header_files, local_include_paths, local_quote_include_paths, local_system_include_paths, local_defines, ) return struct( source_files = source_files, private_header_files = private_header_files, public_header_files = public_header_files, object_files = object_files, static_inputs = static_inputs, dynamic_inputs = dynamic_inputs, local_include_paths = local_include_paths, local_quote_include_paths = local_quote_include_paths, local_system_include_paths = local_system_include_paths, include_paths = include_paths, quote_include_paths = quote_include_paths, system_include_paths = system_include_paths, local_defines = local_defines, defines = defines, ) def process_features(features): requested_features = [] unsupported_features = [] for feature in features: if feature[0] == '-': unsupported_features.append(feature[1:]) else: requested_features.append(feature) return struct( requested_features = requested_features, unsupported_features = unsupported_features, ) def combine_env(ctx, host_env, device_env): host_path = host_env.get("PATH", "").split(ctx.configuration.host_path_separator) host_ld_library_path = host_env.get("LD_LIBRARY_PATH", "").split(ctx.configuration.host_path_separator) device_path = host_env.get("PATH", "").split(ctx.configuration.host_path_separator) device_ld_library_path = host_env.get("LD_LIBRARY_PATH", "").split(ctx.configuration.host_path_separator) update_values = dict(device_env) env = dict(host_env) if host_path or device_path: path = host_path for value in device_path: if value not in path: path.append(value) update_values["PATH"] = ctx.configuration.host_path_separator.join(path) if host_ld_library_path or device_ld_library_path: ld_library_path = host_ld_library_path for value in device_ld_library_path: if value not in ld_library_path: ld_library_path.append(value) update_values["LD_LIBRARY_PATH"] = ctx.configuration.host_path_separator.join(ld_library_path) env.update(update_values) return env def expand_make_variables(ctx, value): for key, value in ctx.var.items(): value = value.replace('$({})'.format(key), value) return value
load('//cuda:providers.bzl', 'CudaInfo') def is_dynamic_input(src): return src.extension in ['so', 'dll', 'dylib'] def is_object_file(src): return src.extension in ['obj', 'o'] def is_static_input(src): return src.extension in ['a', 'lib', 'lo'] def is_source_file(src): return src.extension in ['c', 'cc', 'cpp', 'cxx', 'c++', 'C', 'cu'] def is_header_file(src): return src.extension in ['h', 'hh', 'hpp', 'hxx', 'inc', 'inl', 'H', 'cuh'] def _process_srcs(srcs, source_files, header_files, object_files, static_inputs, dynamic_inputs): for src in srcs: if is_source_file(src): source_files.append(src) if is_header_file(src): header_files.append(src) if is_static_input(src): static_inputs.append(src) if is_dynamic_input(src): dynamic_inputs.append(src) if is_object_file(src): object_files.append(src) def _resolve_include_prefixes(ctx, rule_kind, input_private_header_files, output_private_header_files, input_public_header_files, output_public_header_files, strip_include_prefix, include_prefix, local_include_paths, include_paths): if strip_include_prefix == '' and include_prefix == '': for header_file in input_private_header_files: output_private_header_files.append(header_file) for header_file in input_public_header_files: output_public_header_files.append(header_file) if input_public_header_files: include_paths.append(ctx.build_file_path.replace('/BUILD.bazel', '')) return if strip_include_prefix != '': strip_include_prefix = strip_include_prefix[1:] if strip_include_prefix[0] == '/' else strip_include_prefix strip_include_prefix = strip_include_prefix[:-1] if strip_include_prefix[-1] == '/' else strip_include_prefix strip_path = ctx.build_file_path.replace('BUILD.bazel', strip_include_prefix) if include_prefix != '': include_prefix = include_prefix[1:] if include_prefix[0] == '/' else include_prefix include_prefix = include_prefix[:-1] if include_prefix[-1] == '/' else include_prefix add_path = '_virtual_includes/{}/{}'.format(ctx.attr.name, include_prefix) include_path = ctx.bin_dir.path + '/' + ctx.build_file_path.replace('BUILD.bazel', add_path) local_include_paths.append(include_path) if input_public_header_files: include_paths.append(include_path) for header_file in input_private_header_files: if strip_path not in header_file.path: fail('in {} rule {}: header {} is not under the specified strip prefix {}'.format(rule_kind, ctx.label, header_file.path, strip_path)) new_header_file = ctx.actions.declare_file(header_file.path.replace(strip_path, add_path)) ctx.actions.symlink(output=new_header_file, target_file=header_file) output_private_header_files.append(new_header_file) for header_file in input_public_header_files: if strip_path not in header_file.path: fail('in {} rule {}: header {} is not under the specified strip prefix {}'.format(ctx.rule.kind, ctx.label, header_file.path, strip_path)) new_header_file = ctx.actions.declare_file(header_file.path.replace(strip_path, add_path)) ctx.actions.symlink(output=new_header_file, target_file=header_file) output_public_header_files.append(new_header_file) def _process_deps(deps, object_files, static_inputs, dynamic_inputs, private_header_files, local_include_paths, local_quote_include_paths, local_system_include_paths, local_defines): for dep in deps: if CcInfo in dep: ctx = dep[CcInfo].compilation_context private_header_files.extend(ctx.direct_public_headers + ctx.direct_textual_headers + ctx.headers.to_list()) local_include_paths.extend(ctx.includes.to_list()) local_quote_include_paths.extend(ctx.quote_includes.to_list()) local_system_include_paths.extend(ctx.system_includes.to_list()) local_defines.extend(ctx.defines.to_list()) if CudaInfo in dep: object_files.extend(dep[CudaInfo].linking_context.object_files) static_inputs.extend(dep[CudaInfo].linking_context.static_libraries) dynamic_inputs.extend(dep[CudaInfo].linking_context.dynamic_libraries) def preprocess_inputs(ctx, rule_kind): source_files = [] private_header_files = [] public_header_files = [] object_files = [] static_inputs = [] dynamic_inputs = [] local_include_paths = [] local_quote_include_paths = ['.', ctx.bin_dir.path] local_system_include_paths = [] include_paths = [] quote_include_paths = [] system_include_paths = list(ctx.attr.includes) local_defines = list(ctx.attr.local_defines) defines = list(ctx.attr.defines) private_header_files_tmp = [] _process_srcs(ctx.files.srcs, source_files, private_header_files_tmp, object_files, static_inputs, dynamic_inputs) _resolve_include_prefixes(ctx, rule_kind, private_header_files_tmp, private_header_files, ctx.files.hdrs, public_header_files, ctx.attr.strip_include_prefix, ctx.attr.include_prefix, local_include_paths, include_paths) _process_deps(ctx.attr.deps, object_files, static_inputs, dynamic_inputs, private_header_files, local_include_paths, local_quote_include_paths, local_system_include_paths, local_defines) return struct(source_files=source_files, private_header_files=private_header_files, public_header_files=public_header_files, object_files=object_files, static_inputs=static_inputs, dynamic_inputs=dynamic_inputs, local_include_paths=local_include_paths, local_quote_include_paths=local_quote_include_paths, local_system_include_paths=local_system_include_paths, include_paths=include_paths, quote_include_paths=quote_include_paths, system_include_paths=system_include_paths, local_defines=local_defines, defines=defines) def process_features(features): requested_features = [] unsupported_features = [] for feature in features: if feature[0] == '-': unsupported_features.append(feature[1:]) else: requested_features.append(feature) return struct(requested_features=requested_features, unsupported_features=unsupported_features) def combine_env(ctx, host_env, device_env): host_path = host_env.get('PATH', '').split(ctx.configuration.host_path_separator) host_ld_library_path = host_env.get('LD_LIBRARY_PATH', '').split(ctx.configuration.host_path_separator) device_path = host_env.get('PATH', '').split(ctx.configuration.host_path_separator) device_ld_library_path = host_env.get('LD_LIBRARY_PATH', '').split(ctx.configuration.host_path_separator) update_values = dict(device_env) env = dict(host_env) if host_path or device_path: path = host_path for value in device_path: if value not in path: path.append(value) update_values['PATH'] = ctx.configuration.host_path_separator.join(path) if host_ld_library_path or device_ld_library_path: ld_library_path = host_ld_library_path for value in device_ld_library_path: if value not in ld_library_path: ld_library_path.append(value) update_values['LD_LIBRARY_PATH'] = ctx.configuration.host_path_separator.join(ld_library_path) env.update(update_values) return env def expand_make_variables(ctx, value): for (key, value) in ctx.var.items(): value = value.replace('$({})'.format(key), value) return value
def custMin(paramList): n = len(paramList)-1 for pos in range(n): if paramList[pos] < paramList[pos+1]: paramList[pos], paramList[pos+1] = paramList[pos+1], paramList[pos] return paramList[n] print(custMin([5, 2, 9, 10, -2, 90]))
def cust_min(paramList): n = len(paramList) - 1 for pos in range(n): if paramList[pos] < paramList[pos + 1]: (paramList[pos], paramList[pos + 1]) = (paramList[pos + 1], paramList[pos]) return paramList[n] print(cust_min([5, 2, 9, 10, -2, 90]))
# Copyright (c) 2018, WSO2 Inc. (http://wso2.com) 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. INTEGRATOR = "bin/integrator" ANALYTICS = "wso2/analytics/wso2/worker/bin/carbon" BROKER = "wso2/broker/bin/wso2server" BP = "wso2/business-process/bin/wso2server" MICRO_INTG = "wso2/micro-integrator/bin/wso2server" DATASOURCE_PATHS = {"product-apim": {}, "product-is": {}, "product-ei": {"CORE": ["conf/datasources/master-datasources.xml"], "BROKER": ["wso2/broker/conf/datasources/master-datasources.xml", "wso2/broker/conf/datasources/metrics-datasources.xml"], "BPS": ["wso2/business-process/conf/datasources/master-datasources.xml", "wso2/business-process/conf/datasources/bps-datasources.xml", "wso2/business-process/conf/datasources/activiti-datasources.xml"]}, } M2_PATH = {"product-is": "is/wso2is", "product-apim": "am/wso2am", "product-ei": "ei/wso2ei"} DIST_POM_PATH = {"product-is": "modules/distribution/pom.xml", "product-apim": "modules/distribution/product/pom.xml", "product-ei": "distribution/pom.xml"} LIB_PATH = {"product-apim": "", "product-is": "", "product-ei": "lib"} DISTRIBUTION_PATH = {"product-apim": "modules/distribution/product/target", "product-is": "modules/distribution/target", "product-ei": "distribution/target"} INTEGRATION_PATH = {"product-apim": "modules/integration", "product-is": "modules/integration", "product-ei": "integration/mediation-tests/tests-mediator-1/"} POM_FILE_PATHS = {"product-is": "", "product-apim": "", "product-ei": ""} # Add testng files to be replaced. E.g "integration/mediation-tests/tests-mediator-1/src/test/resources/testng.xml" TESTNG_DIST_XML_PATHS = {"integration/business-process-tests/pom.xml", "integration/business-process-tests/tests-integration/bpel/src/test/resources/testng-server-mgt.xml", "integration/business-process-tests/tests-integration/bpel/src/test/resources/testng.xml", "integration/business-process-tests/tests-integration/bpmn/src/test/resources/testng.xml", "integration/business-process-tests/tests-integration/humantasks/src/test/resources/testng.xml", "integration/business-process-tests/tests-integration/pom.xml", "integration/mediation-tests/pom.xml", "integration/mediation-tests/tests-mediator-2/src/test/resources/testng.xml", "integration/mediation-tests/tests-patches/src/test/resources/testng.xml", "integration/mediation-tests/tests-service/src/test/resources/testng.xml", "integration/mediation-tests/tests-transport/src/test/resources/testng.xml", "integration/pom.xml"} ARTIFACT_REPORTS_PATHS = {"product-apim": [], "product-is": [], "product-ei": {"mediation-tests-mediator-1": ["integration/mediation-tests/tests-mediator-1/target/surefire-reports", "integration/mediation-tests/tests-mediator-1/target/logs/automation.log"] } } IGNORE_DIR_TYPES = {"product-apim": [], "product-is": [], "product-ei": ["ESBTestSuite","junitreports","BPS Test Suite","bps-server-startup","BPS HumanTask TestSuite","BPS HumanTask Coordination TestSuite","DssTestSuite"] } DB_META_DATA = { "MYSQL": {"prefix": "jdbc:mysql://", "driverClassName": "com.mysql.jdbc.Driver", "jarName": "mysql.jar", "DB_SETUP": { "product-apim": {}, "product-is": {}, "product-ei": {"WSO2_CARBON_DB_CORE": ['dbscripts/mysql5.7.sql'], "WSO2_CARBON_DB_BROKER": ['wso2/broker/dbscripts/mysql5.7.sql'], "WSO2_CARBON_DB_BPS": ['wso2/business-process/dbscripts/mysql5.7.sql'], "WSO2_MB_STORE_DB_BROKER": ['wso2/broker/dbscripts/mb-store/mysql-mb.sql'], "WSO2_METRICS_DB_BROKER": ['wso2/broker/dbscripts/metrics/mysql.sql'], "BPS_DS_BPS": ['wso2/business-process/dbscripts/bps/bpel/create/mysql.sql'], "ACTIVITI_DB_BPS": [ 'wso2/business-process/dbscripts/bps/bpmn/create/activiti.mysql.create.identity.sql'] }}}, "SQLSERVER-SE": {"prefix": "jdbc:sqlserver://", "driverClassName": "com.microsoft.sqlserver.jdbc.SQLServerDriver", "jarName": "sqlserver-ex.jar", "DB_SETUP": { "product-apim": {}, "product-is": {}, "product-ei": {"WSO2_CARBON_DB_CORE": ['dbscripts/mssql.sql'], "WSO2_CARBON_DB_BROKER": ['wso2/broker/dbscripts/mssql.sql'], "WSO2_CARBON_DB_BPS": ['wso2/business-process/dbscripts/mssql.sql'], "WSO2_MB_STORE_DB_BROKER": ['wso2/broker/dbscripts/mb-store/mssql-mb.sql'], "WSO2_METRICS_DB_BROKER": ['wso2/broker/dbscripts/metrics/mssql.sql'], "BPS_DS_BPS": ['wso2/business-process/dbscripts/bps/bpel/create/mssql.sql'], "ACTIVITI_DB_BPS": [ 'wso2/business-process/dbscripts/bps/bpmn/create/activiti.mssql.create.identity.sql']}}}, "ORACLE-SE2": {"prefix": "jdbc:oracle:thin:@", "driverClassName": "oracle.jdbc.OracleDriver", "jarName": "oracle-se.jar", "DB_SETUP": { "product-apim": {}, "product-is": {}, "product-ei": {"WSO2_CARBON_DB_CORE": ['dbscripts/oracle.sql'], "WSO2_CARBON_DB_BROKER": ['wso2/broker/dbscripts/oracle.sql'], "WSO2_CARBON_DB_BPS": ['wso2/business-process/dbscripts/oracle.sql'], "WSO2_MB_STORE_DB_BROKER": ['wso2/broker/dbscripts/mb-store/oracle-mb.sql'], "WSO2_METRICS_DB_BROKER": ['wso2/broker/dbscripts/metrics/oracle.sql'], "BPS_DS_BPS": ['wso2/business-process/dbscripts/bps/bpel/create/oracle.sql'], "ACTIVITI_DB_BPS": [ 'wso2/business-process/dbscripts/bps/bpmn/create/activiti.oracle.create.identity.sql']}}}, "POSTGRESQL": {"prefix": "jdbc:postgresql://", "driverClassName": "org.postgresql.Driver", "jarName": "postgres.jar", "DB_SETUP": {"product-apim": {}, "product-is": {}, "product-ei": {}} }}
integrator = 'bin/integrator' analytics = 'wso2/analytics/wso2/worker/bin/carbon' broker = 'wso2/broker/bin/wso2server' bp = 'wso2/business-process/bin/wso2server' micro_intg = 'wso2/micro-integrator/bin/wso2server' datasource_paths = {'product-apim': {}, 'product-is': {}, 'product-ei': {'CORE': ['conf/datasources/master-datasources.xml'], 'BROKER': ['wso2/broker/conf/datasources/master-datasources.xml', 'wso2/broker/conf/datasources/metrics-datasources.xml'], 'BPS': ['wso2/business-process/conf/datasources/master-datasources.xml', 'wso2/business-process/conf/datasources/bps-datasources.xml', 'wso2/business-process/conf/datasources/activiti-datasources.xml']}} m2_path = {'product-is': 'is/wso2is', 'product-apim': 'am/wso2am', 'product-ei': 'ei/wso2ei'} dist_pom_path = {'product-is': 'modules/distribution/pom.xml', 'product-apim': 'modules/distribution/product/pom.xml', 'product-ei': 'distribution/pom.xml'} lib_path = {'product-apim': '', 'product-is': '', 'product-ei': 'lib'} distribution_path = {'product-apim': 'modules/distribution/product/target', 'product-is': 'modules/distribution/target', 'product-ei': 'distribution/target'} integration_path = {'product-apim': 'modules/integration', 'product-is': 'modules/integration', 'product-ei': 'integration/mediation-tests/tests-mediator-1/'} pom_file_paths = {'product-is': '', 'product-apim': '', 'product-ei': ''} testng_dist_xml_paths = {'integration/business-process-tests/pom.xml', 'integration/business-process-tests/tests-integration/bpel/src/test/resources/testng-server-mgt.xml', 'integration/business-process-tests/tests-integration/bpel/src/test/resources/testng.xml', 'integration/business-process-tests/tests-integration/bpmn/src/test/resources/testng.xml', 'integration/business-process-tests/tests-integration/humantasks/src/test/resources/testng.xml', 'integration/business-process-tests/tests-integration/pom.xml', 'integration/mediation-tests/pom.xml', 'integration/mediation-tests/tests-mediator-2/src/test/resources/testng.xml', 'integration/mediation-tests/tests-patches/src/test/resources/testng.xml', 'integration/mediation-tests/tests-service/src/test/resources/testng.xml', 'integration/mediation-tests/tests-transport/src/test/resources/testng.xml', 'integration/pom.xml'} artifact_reports_paths = {'product-apim': [], 'product-is': [], 'product-ei': {'mediation-tests-mediator-1': ['integration/mediation-tests/tests-mediator-1/target/surefire-reports', 'integration/mediation-tests/tests-mediator-1/target/logs/automation.log']}} ignore_dir_types = {'product-apim': [], 'product-is': [], 'product-ei': ['ESBTestSuite', 'junitreports', 'BPS Test Suite', 'bps-server-startup', 'BPS HumanTask TestSuite', 'BPS HumanTask Coordination TestSuite', 'DssTestSuite']} db_meta_data = {'MYSQL': {'prefix': 'jdbc:mysql://', 'driverClassName': 'com.mysql.jdbc.Driver', 'jarName': 'mysql.jar', 'DB_SETUP': {'product-apim': {}, 'product-is': {}, 'product-ei': {'WSO2_CARBON_DB_CORE': ['dbscripts/mysql5.7.sql'], 'WSO2_CARBON_DB_BROKER': ['wso2/broker/dbscripts/mysql5.7.sql'], 'WSO2_CARBON_DB_BPS': ['wso2/business-process/dbscripts/mysql5.7.sql'], 'WSO2_MB_STORE_DB_BROKER': ['wso2/broker/dbscripts/mb-store/mysql-mb.sql'], 'WSO2_METRICS_DB_BROKER': ['wso2/broker/dbscripts/metrics/mysql.sql'], 'BPS_DS_BPS': ['wso2/business-process/dbscripts/bps/bpel/create/mysql.sql'], 'ACTIVITI_DB_BPS': ['wso2/business-process/dbscripts/bps/bpmn/create/activiti.mysql.create.identity.sql']}}}, 'SQLSERVER-SE': {'prefix': 'jdbc:sqlserver://', 'driverClassName': 'com.microsoft.sqlserver.jdbc.SQLServerDriver', 'jarName': 'sqlserver-ex.jar', 'DB_SETUP': {'product-apim': {}, 'product-is': {}, 'product-ei': {'WSO2_CARBON_DB_CORE': ['dbscripts/mssql.sql'], 'WSO2_CARBON_DB_BROKER': ['wso2/broker/dbscripts/mssql.sql'], 'WSO2_CARBON_DB_BPS': ['wso2/business-process/dbscripts/mssql.sql'], 'WSO2_MB_STORE_DB_BROKER': ['wso2/broker/dbscripts/mb-store/mssql-mb.sql'], 'WSO2_METRICS_DB_BROKER': ['wso2/broker/dbscripts/metrics/mssql.sql'], 'BPS_DS_BPS': ['wso2/business-process/dbscripts/bps/bpel/create/mssql.sql'], 'ACTIVITI_DB_BPS': ['wso2/business-process/dbscripts/bps/bpmn/create/activiti.mssql.create.identity.sql']}}}, 'ORACLE-SE2': {'prefix': 'jdbc:oracle:thin:@', 'driverClassName': 'oracle.jdbc.OracleDriver', 'jarName': 'oracle-se.jar', 'DB_SETUP': {'product-apim': {}, 'product-is': {}, 'product-ei': {'WSO2_CARBON_DB_CORE': ['dbscripts/oracle.sql'], 'WSO2_CARBON_DB_BROKER': ['wso2/broker/dbscripts/oracle.sql'], 'WSO2_CARBON_DB_BPS': ['wso2/business-process/dbscripts/oracle.sql'], 'WSO2_MB_STORE_DB_BROKER': ['wso2/broker/dbscripts/mb-store/oracle-mb.sql'], 'WSO2_METRICS_DB_BROKER': ['wso2/broker/dbscripts/metrics/oracle.sql'], 'BPS_DS_BPS': ['wso2/business-process/dbscripts/bps/bpel/create/oracle.sql'], 'ACTIVITI_DB_BPS': ['wso2/business-process/dbscripts/bps/bpmn/create/activiti.oracle.create.identity.sql']}}}, 'POSTGRESQL': {'prefix': 'jdbc:postgresql://', 'driverClassName': 'org.postgresql.Driver', 'jarName': 'postgres.jar', 'DB_SETUP': {'product-apim': {}, 'product-is': {}, 'product-ei': {}}}}
def get_digit(num): root = num ** 0.5 if root % 1 == 0: return counting = [] b = (root // 1) c = 1 while True: d = (c / (root - b)) // 1 e = num - b ** 2 if e % c == 0: c = e / c else: c = e b = (c * d - b) if [b, c] in counting: return counting else: counting.append([b, c]) result = 0 for i in range(10001): token = get_digit(i) if token != None and len(token) % 2 == 1: result += 1 print(result)
def get_digit(num): root = num ** 0.5 if root % 1 == 0: return counting = [] b = root // 1 c = 1 while True: d = c / (root - b) // 1 e = num - b ** 2 if e % c == 0: c = e / c else: c = e b = c * d - b if [b, c] in counting: return counting else: counting.append([b, c]) result = 0 for i in range(10001): token = get_digit(i) if token != None and len(token) % 2 == 1: result += 1 print(result)
# https://youtu.be/wNVCJj642n4?list=PLAB1DA9F452D9466C def binary_search(items, target): low = 0 high = len(items) while (high - low) > 1: middle = (low + high) // 2 if target < items[middle]: high = middle if target >= items[middle]: low = middle if items[low] == target: return low raise ValueError("{} was not found in the list".format(target))
def binary_search(items, target): low = 0 high = len(items) while high - low > 1: middle = (low + high) // 2 if target < items[middle]: high = middle if target >= items[middle]: low = middle if items[low] == target: return low raise value_error('{} was not found in the list'.format(target))
# https://www.hackerrank.com/challenges/count-luck/problem def findMove(matrix,now,gone): x,y = now moves = list() moves.append((x+1,y)) if(x!=len(matrix)-1 and matrix[x+1][y]!='X' ) else None moves.append((x,y+1)) if(y!=len(matrix[0])-1 and matrix[x][y+1]!='X') else None moves.append((x-1,y)) if(x!=0 and matrix[x-1][y]!='X') else None moves.append((x,y-1)) if(y!=0 and matrix[x][y-1]!='X') else None for move in moves: if(move in gone): moves.remove(move) return moves def findPath(matrix,now): wave=0 gone = [now] stack= [] moves =[now] while(True): gone.append(moves[0]) if(matrix[moves[0][0]][moves[0][1]]=='*'): return wave moves = findMove(matrix,moves[0],gone) if(len(moves)>1): wave +=1 for i in range(1,len(moves)): stack.append(moves[i]) elif(len(moves)<1): moves = [stack.pop()] def countLuck(matrix, k): for m in range(len(matrix)): if('M' in matrix[m]): start = (m,matrix[m].index('M')) print('Impressed' if findPath(matrix,start)==k else 'Oops!') def main(): t = int(input()) for t_itr in range(t): nm = input().split() n = int(nm[0]) m = int(nm[1]) matrix = [] for _ in range(n): matrix_item = input() matrix.append(matrix_item) k = int(input()) countLuck(matrix, k) if __name__ == '__main__': main()
def find_move(matrix, now, gone): (x, y) = now moves = list() moves.append((x + 1, y)) if x != len(matrix) - 1 and matrix[x + 1][y] != 'X' else None moves.append((x, y + 1)) if y != len(matrix[0]) - 1 and matrix[x][y + 1] != 'X' else None moves.append((x - 1, y)) if x != 0 and matrix[x - 1][y] != 'X' else None moves.append((x, y - 1)) if y != 0 and matrix[x][y - 1] != 'X' else None for move in moves: if move in gone: moves.remove(move) return moves def find_path(matrix, now): wave = 0 gone = [now] stack = [] moves = [now] while True: gone.append(moves[0]) if matrix[moves[0][0]][moves[0][1]] == '*': return wave moves = find_move(matrix, moves[0], gone) if len(moves) > 1: wave += 1 for i in range(1, len(moves)): stack.append(moves[i]) elif len(moves) < 1: moves = [stack.pop()] def count_luck(matrix, k): for m in range(len(matrix)): if 'M' in matrix[m]: start = (m, matrix[m].index('M')) print('Impressed' if find_path(matrix, start) == k else 'Oops!') def main(): t = int(input()) for t_itr in range(t): nm = input().split() n = int(nm[0]) m = int(nm[1]) matrix = [] for _ in range(n): matrix_item = input() matrix.append(matrix_item) k = int(input()) count_luck(matrix, k) if __name__ == '__main__': main()
# # PySNMP MIB module CISCO-LWAPP-DOT11-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-LWAPP-DOT11-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:47: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, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ValueSizeConstraint, ConstraintsUnion, ValueRangeConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ValueRangeConstraint", "ConstraintsIntersection") CLDot11ChannelBandwidth, CLDot11Band = mibBuilder.importSymbols("CISCO-LWAPP-TC-MIB", "CLDot11ChannelBandwidth", "CLDot11Band") ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt") SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ObjectGroup, ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup") MibScalar, MibTable, MibTableRow, MibTableColumn, Bits, ModuleIdentity, NotificationType, Integer32, iso, TimeTicks, Counter32, Counter64, ObjectIdentity, IpAddress, MibIdentifier, Gauge32, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Bits", "ModuleIdentity", "NotificationType", "Integer32", "iso", "TimeTicks", "Counter32", "Counter64", "ObjectIdentity", "IpAddress", "MibIdentifier", "Gauge32", "Unsigned32") DisplayString, TextualConvention, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention", "TruthValue") ciscoLwappDot11MIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 612)) ciscoLwappDot11MIB.setRevisions(('2010-05-06 00:00', '2007-01-04 00:00',)) if mibBuilder.loadTexts: ciscoLwappDot11MIB.setLastUpdated('201005060000Z') if mibBuilder.loadTexts: ciscoLwappDot11MIB.setOrganization('Cisco Systems Inc.') ciscoLwappDot11MIBNotifs = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 0)) ciscoLwappDot11MIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1)) ciscoLwappDot11MIBConform = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 2)) cldConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1)) cldStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2)) cldHtMacOperationsTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1), ) if mibBuilder.loadTexts: cldHtMacOperationsTable.setStatus('current') cldHtMacOperationsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1), ).setIndexNames((0, "CISCO-LWAPP-DOT11-MIB", "cldHtDot11nBand")) if mibBuilder.loadTexts: cldHtMacOperationsEntry.setStatus('current') cldHtDot11nBand = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 1), CLDot11Band()) if mibBuilder.loadTexts: cldHtDot11nBand.setStatus('current') cldHtDot11nChannelBandwidth = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 2), CLDot11ChannelBandwidth().clone('twenty')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldHtDot11nChannelBandwidth.setStatus('current') cldHtDot11nRifsEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 3), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldHtDot11nRifsEnable.setStatus('current') cldHtDot11nAmsduEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 4), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldHtDot11nAmsduEnable.setStatus('current') cldHtDot11nAmpduEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 5), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldHtDot11nAmpduEnable.setStatus('current') cldHtDot11nGuardIntervalEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 6), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldHtDot11nGuardIntervalEnable.setStatus('current') cldHtDot11nEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 7), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldHtDot11nEnable.setStatus('current') cldMultipleCountryCode = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 2), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldMultipleCountryCode.setStatus('current') cldRegulatoryDomain = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: cldRegulatoryDomain.setStatus('current') cld11nMcsTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4), ) if mibBuilder.loadTexts: cld11nMcsTable.setStatus('current') cld11nMcsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1), ).setIndexNames((0, "CISCO-LWAPP-DOT11-MIB", "cld11nMcsBand"), (0, "CISCO-LWAPP-DOT11-MIB", "cld11nMcsDataRateIndex")) if mibBuilder.loadTexts: cld11nMcsEntry.setStatus('current') cld11nMcsBand = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 1), CLDot11Band()) if mibBuilder.loadTexts: cld11nMcsBand.setStatus('current') cld11nMcsDataRateIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 2), Unsigned32()) if mibBuilder.loadTexts: cld11nMcsDataRateIndex.setStatus('current') cld11nMcsDataRate = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cld11nMcsDataRate.setStatus('current') cld11nMcsSupportEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 4), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cld11nMcsSupportEnable.setStatus('current') cld11nMcsChannelWidth = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 5), Unsigned32()).setUnits('MHz').setMaxAccess("readonly") if mibBuilder.loadTexts: cld11nMcsChannelWidth.setStatus('current') cld11nMcsGuardInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 6), Unsigned32()).setUnits('ns').setMaxAccess("readonly") if mibBuilder.loadTexts: cld11nMcsGuardInterval.setStatus('current') cld11nMcsModulation = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: cld11nMcsModulation.setStatus('current') cld11acMcsTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 6), ) if mibBuilder.loadTexts: cld11acMcsTable.setStatus('current') cld11acMcsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 6, 1), ).setIndexNames((0, "CISCO-LWAPP-DOT11-MIB", "cld11acMcsSpatialStreamIndex"), (0, "CISCO-LWAPP-DOT11-MIB", "cld11acMcsDataRateIndex")) if mibBuilder.loadTexts: cld11acMcsEntry.setStatus('current') cld11acMcsSpatialStreamIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 6, 1, 1), Unsigned32()) if mibBuilder.loadTexts: cld11acMcsSpatialStreamIndex.setStatus('current') cld11acMcsDataRateIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 6, 1, 2), Unsigned32()) if mibBuilder.loadTexts: cld11acMcsDataRateIndex.setStatus('current') cld11acMcsSupportEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 6, 1, 3), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cld11acMcsSupportEnable.setStatus('current') cld11acConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 5)) cldVhtDot11acEnable = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 5, 1), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldVhtDot11acEnable.setStatus('current') cldLoadBalancing = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 8)) cldLoadBalancingEnable = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 8, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readonly") if mibBuilder.loadTexts: cldLoadBalancingEnable.setStatus('current') cldLoadBalancingWindowSize = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 8, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 20)).clone(5)).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldLoadBalancingWindowSize.setStatus('current') cldLoadBalancingDenialCount = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 8, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldLoadBalancingDenialCount.setStatus('current') cldLoadBalancingTrafficThreshold = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 8, 4), Unsigned32().clone(50)).setUnits('Percent').setMaxAccess("readwrite") if mibBuilder.loadTexts: cldLoadBalancingTrafficThreshold.setStatus('current') cldBandSelect = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9)) cldBandSelectEnable = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readonly") if mibBuilder.loadTexts: cldBandSelectEnable.setStatus('current') cldBandSelectCycleCount = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldBandSelectCycleCount.setStatus('current') cldBandSelectCycleThreshold = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1000)).clone(200)).setUnits('milliseconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: cldBandSelectCycleThreshold.setStatus('current') cldBandSelectAgeOutSuppression = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 200)).clone(20)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: cldBandSelectAgeOutSuppression.setStatus('current') cldBandSelectAgeOutDualBand = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 300)).clone(60)).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: cldBandSelectAgeOutDualBand.setStatus('current') cldBandSelectClientRssi = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(-90, -20)).clone(-80)).setUnits('dBm').setMaxAccess("readwrite") if mibBuilder.loadTexts: cldBandSelectClientRssi.setStatus('current') cldCountryTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1), ) if mibBuilder.loadTexts: cldCountryTable.setStatus('current') cldCountryEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1), ).setIndexNames((0, "CISCO-LWAPP-DOT11-MIB", "cldCountryCode")) if mibBuilder.loadTexts: cldCountryEntry.setStatus('current') cldCountryCode = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))) if mibBuilder.loadTexts: cldCountryCode.setStatus('current') cldCountryName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cldCountryName.setStatus('current') cldCountryDot11aChannels = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 3), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cldCountryDot11aChannels.setStatus('current') cldCountryDot11bChannels = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cldCountryDot11bChannels.setStatus('current') cldCountryDot11aDcaChannels = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cldCountryDot11aDcaChannels.setStatus('current') cldCountryDot11bDcaChannels = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cldCountryDot11bDcaChannels.setStatus('current') cldCountryChangeNotifEnable = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 7), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: cldCountryChangeNotifEnable.setStatus('current') ciscoLwappDot11CountryChangeNotif = NotificationType((1, 3, 6, 1, 4, 1, 9, 9, 612, 0, 1)).setObjects(("CISCO-LWAPP-DOT11-MIB", "cldMultipleCountryCode")) if mibBuilder.loadTexts: ciscoLwappDot11CountryChangeNotif.setStatus('current') ciscoLwappDot11MIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 1)) ciscoLwappDot11MIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 2)) ciscoLwappDot11MIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 1, 1)).setObjects(("CISCO-LWAPP-DOT11-MIB", "ciscoLwappDot11MIBMacOperGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappDot11MIBCompliance = ciscoLwappDot11MIBCompliance.setStatus('deprecated') ciscoLwappDot11MIBComplianceRev1 = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 1, 2)).setObjects(("CISCO-LWAPP-DOT11-MIB", "ciscoLwappDot11MIBMacOperGroup"), ("CISCO-LWAPP-DOT11-MIB", "ciscoLwappDot11MIBConfigGroup"), ("CISCO-LWAPP-DOT11-MIB", "ciscoLwappDot11MIBNotifsGroup"), ("CISCO-LWAPP-DOT11-MIB", "ciscoLwappDot11MIBStatusGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappDot11MIBComplianceRev1 = ciscoLwappDot11MIBComplianceRev1.setStatus('current') ciscoLwappDot11MIBMacOperGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 2, 1)).setObjects(("CISCO-LWAPP-DOT11-MIB", "cldHtDot11nChannelBandwidth"), ("CISCO-LWAPP-DOT11-MIB", "cldHtDot11nRifsEnable"), ("CISCO-LWAPP-DOT11-MIB", "cldHtDot11nAmsduEnable"), ("CISCO-LWAPP-DOT11-MIB", "cldHtDot11nAmpduEnable"), ("CISCO-LWAPP-DOT11-MIB", "cldHtDot11nGuardIntervalEnable")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappDot11MIBMacOperGroup = ciscoLwappDot11MIBMacOperGroup.setStatus('current') ciscoLwappDot11MIBConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 2, 2)).setObjects(("CISCO-LWAPP-DOT11-MIB", "cldHtDot11nEnable"), ("CISCO-LWAPP-DOT11-MIB", "cldMultipleCountryCode"), ("CISCO-LWAPP-DOT11-MIB", "cldRegulatoryDomain"), ("CISCO-LWAPP-DOT11-MIB", "cld11nMcsDataRate"), ("CISCO-LWAPP-DOT11-MIB", "cld11nMcsSupportEnable"), ("CISCO-LWAPP-DOT11-MIB", "cldCountryChangeNotifEnable"), ("CISCO-LWAPP-DOT11-MIB", "cldLoadBalancingEnable"), ("CISCO-LWAPP-DOT11-MIB", "cldLoadBalancingWindowSize"), ("CISCO-LWAPP-DOT11-MIB", "cldLoadBalancingDenialCount"), ("CISCO-LWAPP-DOT11-MIB", "cldBandSelectEnable"), ("CISCO-LWAPP-DOT11-MIB", "cldBandSelectCycleCount"), ("CISCO-LWAPP-DOT11-MIB", "cldBandSelectCycleThreshold"), ("CISCO-LWAPP-DOT11-MIB", "cldBandSelectAgeOutSuppression"), ("CISCO-LWAPP-DOT11-MIB", "cldBandSelectAgeOutDualBand"), ("CISCO-LWAPP-DOT11-MIB", "cldBandSelectClientRssi"), ("CISCO-LWAPP-DOT11-MIB", "cld11nMcsChannelWidth"), ("CISCO-LWAPP-DOT11-MIB", "cld11nMcsGuardInterval"), ("CISCO-LWAPP-DOT11-MIB", "cld11nMcsModulation")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappDot11MIBConfigGroup = ciscoLwappDot11MIBConfigGroup.setStatus('current') ciscoLwappDot11MIBNotifsGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 2, 3)).setObjects(("CISCO-LWAPP-DOT11-MIB", "ciscoLwappDot11CountryChangeNotif")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappDot11MIBNotifsGroup = ciscoLwappDot11MIBNotifsGroup.setStatus('current') ciscoLwappDot11MIBStatusGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 2, 4)).setObjects(("CISCO-LWAPP-DOT11-MIB", "cldCountryName"), ("CISCO-LWAPP-DOT11-MIB", "cldCountryDot11aChannels"), ("CISCO-LWAPP-DOT11-MIB", "cldCountryDot11bChannels"), ("CISCO-LWAPP-DOT11-MIB", "cldCountryDot11aDcaChannels"), ("CISCO-LWAPP-DOT11-MIB", "cldCountryDot11bDcaChannels")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoLwappDot11MIBStatusGroup = ciscoLwappDot11MIBStatusGroup.setStatus('current') mibBuilder.exportSymbols("CISCO-LWAPP-DOT11-MIB", cld11nMcsGuardInterval=cld11nMcsGuardInterval, cld11nMcsEntry=cld11nMcsEntry, cldBandSelectCycleThreshold=cldBandSelectCycleThreshold, cldBandSelectEnable=cldBandSelectEnable, cldConfig=cldConfig, cldMultipleCountryCode=cldMultipleCountryCode, cld11acMcsSpatialStreamIndex=cld11acMcsSpatialStreamIndex, ciscoLwappDot11MIBCompliances=ciscoLwappDot11MIBCompliances, ciscoLwappDot11MIBMacOperGroup=ciscoLwappDot11MIBMacOperGroup, ciscoLwappDot11MIBConfigGroup=ciscoLwappDot11MIBConfigGroup, cldBandSelectAgeOutSuppression=cldBandSelectAgeOutSuppression, ciscoLwappDot11MIBNotifs=ciscoLwappDot11MIBNotifs, cldHtDot11nEnable=cldHtDot11nEnable, cldLoadBalancingEnable=cldLoadBalancingEnable, cldHtDot11nRifsEnable=cldHtDot11nRifsEnable, cld11acMcsSupportEnable=cld11acMcsSupportEnable, ciscoLwappDot11MIBConform=ciscoLwappDot11MIBConform, ciscoLwappDot11MIBComplianceRev1=ciscoLwappDot11MIBComplianceRev1, ciscoLwappDot11CountryChangeNotif=ciscoLwappDot11CountryChangeNotif, cldHtMacOperationsTable=cldHtMacOperationsTable, ciscoLwappDot11MIBObjects=ciscoLwappDot11MIBObjects, cld11acConfig=cld11acConfig, ciscoLwappDot11MIBCompliance=ciscoLwappDot11MIBCompliance, cld11acMcsTable=cld11acMcsTable, cld11acMcsEntry=cld11acMcsEntry, cldCountryCode=cldCountryCode, cld11acMcsDataRateIndex=cld11acMcsDataRateIndex, ciscoLwappDot11MIBGroups=ciscoLwappDot11MIBGroups, cldRegulatoryDomain=cldRegulatoryDomain, cldStatus=cldStatus, cldLoadBalancingWindowSize=cldLoadBalancingWindowSize, cld11nMcsModulation=cld11nMcsModulation, cldBandSelect=cldBandSelect, cldLoadBalancing=cldLoadBalancing, cldVhtDot11acEnable=cldVhtDot11acEnable, cldBandSelectCycleCount=cldBandSelectCycleCount, cldBandSelectAgeOutDualBand=cldBandSelectAgeOutDualBand, cldCountryDot11aChannels=cldCountryDot11aChannels, cldCountryDot11aDcaChannels=cldCountryDot11aDcaChannels, cldCountryChangeNotifEnable=cldCountryChangeNotifEnable, cldBandSelectClientRssi=cldBandSelectClientRssi, cldHtDot11nBand=cldHtDot11nBand, cld11nMcsDataRateIndex=cld11nMcsDataRateIndex, cldCountryTable=cldCountryTable, cldHtMacOperationsEntry=cldHtMacOperationsEntry, cldHtDot11nAmsduEnable=cldHtDot11nAmsduEnable, PYSNMP_MODULE_ID=ciscoLwappDot11MIB, cldHtDot11nGuardIntervalEnable=cldHtDot11nGuardIntervalEnable, cldCountryName=cldCountryName, cldCountryEntry=cldCountryEntry, cldLoadBalancingTrafficThreshold=cldLoadBalancingTrafficThreshold, cld11nMcsTable=cld11nMcsTable, cldCountryDot11bChannels=cldCountryDot11bChannels, cld11nMcsDataRate=cld11nMcsDataRate, cldHtDot11nAmpduEnable=cldHtDot11nAmpduEnable, cld11nMcsBand=cld11nMcsBand, cldCountryDot11bDcaChannels=cldCountryDot11bDcaChannels, cld11nMcsSupportEnable=cld11nMcsSupportEnable, ciscoLwappDot11MIBNotifsGroup=ciscoLwappDot11MIBNotifsGroup, ciscoLwappDot11MIBStatusGroup=ciscoLwappDot11MIBStatusGroup, ciscoLwappDot11MIB=ciscoLwappDot11MIB, cld11nMcsChannelWidth=cld11nMcsChannelWidth, cldLoadBalancingDenialCount=cldLoadBalancingDenialCount, cldHtDot11nChannelBandwidth=cldHtDot11nChannelBandwidth)
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, value_size_constraint, constraints_union, value_range_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsUnion', 'ValueRangeConstraint', 'ConstraintsIntersection') (cl_dot11_channel_bandwidth, cl_dot11_band) = mibBuilder.importSymbols('CISCO-LWAPP-TC-MIB', 'CLDot11ChannelBandwidth', 'CLDot11Band') (cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt') (snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString') (object_group, module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'ModuleCompliance', 'NotificationGroup') (mib_scalar, mib_table, mib_table_row, mib_table_column, bits, module_identity, notification_type, integer32, iso, time_ticks, counter32, counter64, object_identity, ip_address, mib_identifier, gauge32, unsigned32) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Bits', 'ModuleIdentity', 'NotificationType', 'Integer32', 'iso', 'TimeTicks', 'Counter32', 'Counter64', 'ObjectIdentity', 'IpAddress', 'MibIdentifier', 'Gauge32', 'Unsigned32') (display_string, textual_convention, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention', 'TruthValue') cisco_lwapp_dot11_mib = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 612)) ciscoLwappDot11MIB.setRevisions(('2010-05-06 00:00', '2007-01-04 00:00')) if mibBuilder.loadTexts: ciscoLwappDot11MIB.setLastUpdated('201005060000Z') if mibBuilder.loadTexts: ciscoLwappDot11MIB.setOrganization('Cisco Systems Inc.') cisco_lwapp_dot11_mib_notifs = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 0)) cisco_lwapp_dot11_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1)) cisco_lwapp_dot11_mib_conform = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 2)) cld_config = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1)) cld_status = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2)) cld_ht_mac_operations_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1)) if mibBuilder.loadTexts: cldHtMacOperationsTable.setStatus('current') cld_ht_mac_operations_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1)).setIndexNames((0, 'CISCO-LWAPP-DOT11-MIB', 'cldHtDot11nBand')) if mibBuilder.loadTexts: cldHtMacOperationsEntry.setStatus('current') cld_ht_dot11n_band = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 1), cl_dot11_band()) if mibBuilder.loadTexts: cldHtDot11nBand.setStatus('current') cld_ht_dot11n_channel_bandwidth = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 2), cl_dot11_channel_bandwidth().clone('twenty')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldHtDot11nChannelBandwidth.setStatus('current') cld_ht_dot11n_rifs_enable = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 3), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldHtDot11nRifsEnable.setStatus('current') cld_ht_dot11n_amsdu_enable = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 4), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldHtDot11nAmsduEnable.setStatus('current') cld_ht_dot11n_ampdu_enable = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 5), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldHtDot11nAmpduEnable.setStatus('current') cld_ht_dot11n_guard_interval_enable = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 6), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldHtDot11nGuardIntervalEnable.setStatus('current') cld_ht_dot11n_enable = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 1, 1, 7), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldHtDot11nEnable.setStatus('current') cld_multiple_country_code = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 2), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldMultipleCountryCode.setStatus('current') cld_regulatory_domain = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 3), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: cldRegulatoryDomain.setStatus('current') cld11n_mcs_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4)) if mibBuilder.loadTexts: cld11nMcsTable.setStatus('current') cld11n_mcs_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1)).setIndexNames((0, 'CISCO-LWAPP-DOT11-MIB', 'cld11nMcsBand'), (0, 'CISCO-LWAPP-DOT11-MIB', 'cld11nMcsDataRateIndex')) if mibBuilder.loadTexts: cld11nMcsEntry.setStatus('current') cld11n_mcs_band = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 1), cl_dot11_band()) if mibBuilder.loadTexts: cld11nMcsBand.setStatus('current') cld11n_mcs_data_rate_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 2), unsigned32()) if mibBuilder.loadTexts: cld11nMcsDataRateIndex.setStatus('current') cld11n_mcs_data_rate = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cld11nMcsDataRate.setStatus('current') cld11n_mcs_support_enable = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 4), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cld11nMcsSupportEnable.setStatus('current') cld11n_mcs_channel_width = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 5), unsigned32()).setUnits('MHz').setMaxAccess('readonly') if mibBuilder.loadTexts: cld11nMcsChannelWidth.setStatus('current') cld11n_mcs_guard_interval = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 6), unsigned32()).setUnits('ns').setMaxAccess('readonly') if mibBuilder.loadTexts: cld11nMcsGuardInterval.setStatus('current') cld11n_mcs_modulation = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 4, 1, 7), octet_string().subtype(subtypeSpec=value_size_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: cld11nMcsModulation.setStatus('current') cld11ac_mcs_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 6)) if mibBuilder.loadTexts: cld11acMcsTable.setStatus('current') cld11ac_mcs_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 6, 1)).setIndexNames((0, 'CISCO-LWAPP-DOT11-MIB', 'cld11acMcsSpatialStreamIndex'), (0, 'CISCO-LWAPP-DOT11-MIB', 'cld11acMcsDataRateIndex')) if mibBuilder.loadTexts: cld11acMcsEntry.setStatus('current') cld11ac_mcs_spatial_stream_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 6, 1, 1), unsigned32()) if mibBuilder.loadTexts: cld11acMcsSpatialStreamIndex.setStatus('current') cld11ac_mcs_data_rate_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 6, 1, 2), unsigned32()) if mibBuilder.loadTexts: cld11acMcsDataRateIndex.setStatus('current') cld11ac_mcs_support_enable = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 6, 1, 3), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cld11acMcsSupportEnable.setStatus('current') cld11ac_config = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 5)) cld_vht_dot11ac_enable = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 5, 1), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldVhtDot11acEnable.setStatus('current') cld_load_balancing = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 8)) cld_load_balancing_enable = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 8, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readonly') if mibBuilder.loadTexts: cldLoadBalancingEnable.setStatus('current') cld_load_balancing_window_size = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 8, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 20)).clone(5)).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldLoadBalancingWindowSize.setStatus('current') cld_load_balancing_denial_count = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 8, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 10)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldLoadBalancingDenialCount.setStatus('current') cld_load_balancing_traffic_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 8, 4), unsigned32().clone(50)).setUnits('Percent').setMaxAccess('readwrite') if mibBuilder.loadTexts: cldLoadBalancingTrafficThreshold.setStatus('current') cld_band_select = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9)) cld_band_select_enable = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2))).clone('enable')).setMaxAccess('readonly') if mibBuilder.loadTexts: cldBandSelectEnable.setStatus('current') cld_band_select_cycle_count = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 10)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldBandSelectCycleCount.setStatus('current') cld_band_select_cycle_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 1000)).clone(200)).setUnits('milliseconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: cldBandSelectCycleThreshold.setStatus('current') cld_band_select_age_out_suppression = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 4), integer32().subtype(subtypeSpec=value_range_constraint(10, 200)).clone(20)).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: cldBandSelectAgeOutSuppression.setStatus('current') cld_band_select_age_out_dual_band = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 5), integer32().subtype(subtypeSpec=value_range_constraint(10, 300)).clone(60)).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: cldBandSelectAgeOutDualBand.setStatus('current') cld_band_select_client_rssi = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 9, 6), integer32().subtype(subtypeSpec=value_range_constraint(-90, -20)).clone(-80)).setUnits('dBm').setMaxAccess('readwrite') if mibBuilder.loadTexts: cldBandSelectClientRssi.setStatus('current') cld_country_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1)) if mibBuilder.loadTexts: cldCountryTable.setStatus('current') cld_country_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1)).setIndexNames((0, 'CISCO-LWAPP-DOT11-MIB', 'cldCountryCode')) if mibBuilder.loadTexts: cldCountryEntry.setStatus('current') cld_country_code = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 1), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(1, 255))) if mibBuilder.loadTexts: cldCountryCode.setStatus('current') cld_country_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 2), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cldCountryName.setStatus('current') cld_country_dot11a_channels = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 3), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cldCountryDot11aChannels.setStatus('current') cld_country_dot11b_channels = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 4), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cldCountryDot11bChannels.setStatus('current') cld_country_dot11a_dca_channels = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 5), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cldCountryDot11aDcaChannels.setStatus('current') cld_country_dot11b_dca_channels = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 2, 1, 1, 6), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cldCountryDot11bDcaChannels.setStatus('current') cld_country_change_notif_enable = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 612, 1, 1, 7), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: cldCountryChangeNotifEnable.setStatus('current') cisco_lwapp_dot11_country_change_notif = notification_type((1, 3, 6, 1, 4, 1, 9, 9, 612, 0, 1)).setObjects(('CISCO-LWAPP-DOT11-MIB', 'cldMultipleCountryCode')) if mibBuilder.loadTexts: ciscoLwappDot11CountryChangeNotif.setStatus('current') cisco_lwapp_dot11_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 1)) cisco_lwapp_dot11_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 2)) cisco_lwapp_dot11_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 1, 1)).setObjects(('CISCO-LWAPP-DOT11-MIB', 'ciscoLwappDot11MIBMacOperGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_dot11_mib_compliance = ciscoLwappDot11MIBCompliance.setStatus('deprecated') cisco_lwapp_dot11_mib_compliance_rev1 = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 1, 2)).setObjects(('CISCO-LWAPP-DOT11-MIB', 'ciscoLwappDot11MIBMacOperGroup'), ('CISCO-LWAPP-DOT11-MIB', 'ciscoLwappDot11MIBConfigGroup'), ('CISCO-LWAPP-DOT11-MIB', 'ciscoLwappDot11MIBNotifsGroup'), ('CISCO-LWAPP-DOT11-MIB', 'ciscoLwappDot11MIBStatusGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_dot11_mib_compliance_rev1 = ciscoLwappDot11MIBComplianceRev1.setStatus('current') cisco_lwapp_dot11_mib_mac_oper_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 2, 1)).setObjects(('CISCO-LWAPP-DOT11-MIB', 'cldHtDot11nChannelBandwidth'), ('CISCO-LWAPP-DOT11-MIB', 'cldHtDot11nRifsEnable'), ('CISCO-LWAPP-DOT11-MIB', 'cldHtDot11nAmsduEnable'), ('CISCO-LWAPP-DOT11-MIB', 'cldHtDot11nAmpduEnable'), ('CISCO-LWAPP-DOT11-MIB', 'cldHtDot11nGuardIntervalEnable')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_dot11_mib_mac_oper_group = ciscoLwappDot11MIBMacOperGroup.setStatus('current') cisco_lwapp_dot11_mib_config_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 2, 2)).setObjects(('CISCO-LWAPP-DOT11-MIB', 'cldHtDot11nEnable'), ('CISCO-LWAPP-DOT11-MIB', 'cldMultipleCountryCode'), ('CISCO-LWAPP-DOT11-MIB', 'cldRegulatoryDomain'), ('CISCO-LWAPP-DOT11-MIB', 'cld11nMcsDataRate'), ('CISCO-LWAPP-DOT11-MIB', 'cld11nMcsSupportEnable'), ('CISCO-LWAPP-DOT11-MIB', 'cldCountryChangeNotifEnable'), ('CISCO-LWAPP-DOT11-MIB', 'cldLoadBalancingEnable'), ('CISCO-LWAPP-DOT11-MIB', 'cldLoadBalancingWindowSize'), ('CISCO-LWAPP-DOT11-MIB', 'cldLoadBalancingDenialCount'), ('CISCO-LWAPP-DOT11-MIB', 'cldBandSelectEnable'), ('CISCO-LWAPP-DOT11-MIB', 'cldBandSelectCycleCount'), ('CISCO-LWAPP-DOT11-MIB', 'cldBandSelectCycleThreshold'), ('CISCO-LWAPP-DOT11-MIB', 'cldBandSelectAgeOutSuppression'), ('CISCO-LWAPP-DOT11-MIB', 'cldBandSelectAgeOutDualBand'), ('CISCO-LWAPP-DOT11-MIB', 'cldBandSelectClientRssi'), ('CISCO-LWAPP-DOT11-MIB', 'cld11nMcsChannelWidth'), ('CISCO-LWAPP-DOT11-MIB', 'cld11nMcsGuardInterval'), ('CISCO-LWAPP-DOT11-MIB', 'cld11nMcsModulation')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_dot11_mib_config_group = ciscoLwappDot11MIBConfigGroup.setStatus('current') cisco_lwapp_dot11_mib_notifs_group = notification_group((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 2, 3)).setObjects(('CISCO-LWAPP-DOT11-MIB', 'ciscoLwappDot11CountryChangeNotif')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_dot11_mib_notifs_group = ciscoLwappDot11MIBNotifsGroup.setStatus('current') cisco_lwapp_dot11_mib_status_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 612, 2, 2, 4)).setObjects(('CISCO-LWAPP-DOT11-MIB', 'cldCountryName'), ('CISCO-LWAPP-DOT11-MIB', 'cldCountryDot11aChannels'), ('CISCO-LWAPP-DOT11-MIB', 'cldCountryDot11bChannels'), ('CISCO-LWAPP-DOT11-MIB', 'cldCountryDot11aDcaChannels'), ('CISCO-LWAPP-DOT11-MIB', 'cldCountryDot11bDcaChannels')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_lwapp_dot11_mib_status_group = ciscoLwappDot11MIBStatusGroup.setStatus('current') mibBuilder.exportSymbols('CISCO-LWAPP-DOT11-MIB', cld11nMcsGuardInterval=cld11nMcsGuardInterval, cld11nMcsEntry=cld11nMcsEntry, cldBandSelectCycleThreshold=cldBandSelectCycleThreshold, cldBandSelectEnable=cldBandSelectEnable, cldConfig=cldConfig, cldMultipleCountryCode=cldMultipleCountryCode, cld11acMcsSpatialStreamIndex=cld11acMcsSpatialStreamIndex, ciscoLwappDot11MIBCompliances=ciscoLwappDot11MIBCompliances, ciscoLwappDot11MIBMacOperGroup=ciscoLwappDot11MIBMacOperGroup, ciscoLwappDot11MIBConfigGroup=ciscoLwappDot11MIBConfigGroup, cldBandSelectAgeOutSuppression=cldBandSelectAgeOutSuppression, ciscoLwappDot11MIBNotifs=ciscoLwappDot11MIBNotifs, cldHtDot11nEnable=cldHtDot11nEnable, cldLoadBalancingEnable=cldLoadBalancingEnable, cldHtDot11nRifsEnable=cldHtDot11nRifsEnable, cld11acMcsSupportEnable=cld11acMcsSupportEnable, ciscoLwappDot11MIBConform=ciscoLwappDot11MIBConform, ciscoLwappDot11MIBComplianceRev1=ciscoLwappDot11MIBComplianceRev1, ciscoLwappDot11CountryChangeNotif=ciscoLwappDot11CountryChangeNotif, cldHtMacOperationsTable=cldHtMacOperationsTable, ciscoLwappDot11MIBObjects=ciscoLwappDot11MIBObjects, cld11acConfig=cld11acConfig, ciscoLwappDot11MIBCompliance=ciscoLwappDot11MIBCompliance, cld11acMcsTable=cld11acMcsTable, cld11acMcsEntry=cld11acMcsEntry, cldCountryCode=cldCountryCode, cld11acMcsDataRateIndex=cld11acMcsDataRateIndex, ciscoLwappDot11MIBGroups=ciscoLwappDot11MIBGroups, cldRegulatoryDomain=cldRegulatoryDomain, cldStatus=cldStatus, cldLoadBalancingWindowSize=cldLoadBalancingWindowSize, cld11nMcsModulation=cld11nMcsModulation, cldBandSelect=cldBandSelect, cldLoadBalancing=cldLoadBalancing, cldVhtDot11acEnable=cldVhtDot11acEnable, cldBandSelectCycleCount=cldBandSelectCycleCount, cldBandSelectAgeOutDualBand=cldBandSelectAgeOutDualBand, cldCountryDot11aChannels=cldCountryDot11aChannels, cldCountryDot11aDcaChannels=cldCountryDot11aDcaChannels, cldCountryChangeNotifEnable=cldCountryChangeNotifEnable, cldBandSelectClientRssi=cldBandSelectClientRssi, cldHtDot11nBand=cldHtDot11nBand, cld11nMcsDataRateIndex=cld11nMcsDataRateIndex, cldCountryTable=cldCountryTable, cldHtMacOperationsEntry=cldHtMacOperationsEntry, cldHtDot11nAmsduEnable=cldHtDot11nAmsduEnable, PYSNMP_MODULE_ID=ciscoLwappDot11MIB, cldHtDot11nGuardIntervalEnable=cldHtDot11nGuardIntervalEnable, cldCountryName=cldCountryName, cldCountryEntry=cldCountryEntry, cldLoadBalancingTrafficThreshold=cldLoadBalancingTrafficThreshold, cld11nMcsTable=cld11nMcsTable, cldCountryDot11bChannels=cldCountryDot11bChannels, cld11nMcsDataRate=cld11nMcsDataRate, cldHtDot11nAmpduEnable=cldHtDot11nAmpduEnable, cld11nMcsBand=cld11nMcsBand, cldCountryDot11bDcaChannels=cldCountryDot11bDcaChannels, cld11nMcsSupportEnable=cld11nMcsSupportEnable, ciscoLwappDot11MIBNotifsGroup=ciscoLwappDot11MIBNotifsGroup, ciscoLwappDot11MIBStatusGroup=ciscoLwappDot11MIBStatusGroup, ciscoLwappDot11MIB=ciscoLwappDot11MIB, cld11nMcsChannelWidth=cld11nMcsChannelWidth, cldLoadBalancingDenialCount=cldLoadBalancingDenialCount, cldHtDot11nChannelBandwidth=cldHtDot11nChannelBandwidth)
#!/usr/bin/env python3 __version__ = (0, 5, 2) __version_info__ = ".".join(map(str, __version__)) APP_NAME = 'pseudo-interpreter' APP_AUTHOR = 'bell345' APP_VERSION = __version_info__
__version__ = (0, 5, 2) __version_info__ = '.'.join(map(str, __version__)) app_name = 'pseudo-interpreter' app_author = 'bell345' app_version = __version_info__
class DiagonalDisproportion: def getDisproportion(self, matrix): r = 0 for i, s in enumerate(matrix): r += int(s[i]) - int(s[-i-1]) return r
class Diagonaldisproportion: def get_disproportion(self, matrix): r = 0 for (i, s) in enumerate(matrix): r += int(s[i]) - int(s[-i - 1]) return r
for num in range(101): div = 0 for x in range(1, num+1): resto = num % x if resto == 0: div += 1 if div == 2: print(num)
for num in range(101): div = 0 for x in range(1, num + 1): resto = num % x if resto == 0: div += 1 if div == 2: print(num)