content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
# -*- coding: utf-8 -*- """ 1954. Minimum Garden Perimeter to Collect Enough Apples https://leetcode.com/problems/minimum-garden-perimeter-to-collect-enough-apples/ Example 1: Input: neededApples = 1 Output: 8 Explanation: A square plot of side length 1 does not contain any apples. However, a square plot of side length 2 has 12 apples inside (as depicted in the image above). The perimeter is 2 * 4 = 8. Example 2: Input: neededApples = 13 Output: 16 Example 3: Input: neededApples = 1000000000 Output: 5040 """ class Solution: def minimumPerimeter(self, neededApples: int) -> int: """ TC: O(neededApples^(1/3)) / SC: O(1) """ i = 1 summedApples = 0 while True: currentApples = 12 * i * i summedApples += currentApples if summedApples >= neededApples: return i * 2 * 4 i += 1
""" 1954. Minimum Garden Perimeter to Collect Enough Apples https://leetcode.com/problems/minimum-garden-perimeter-to-collect-enough-apples/ Example 1: Input: neededApples = 1 Output: 8 Explanation: A square plot of side length 1 does not contain any apples. However, a square plot of side length 2 has 12 apples inside (as depicted in the image above). The perimeter is 2 * 4 = 8. Example 2: Input: neededApples = 13 Output: 16 Example 3: Input: neededApples = 1000000000 Output: 5040 """ class Solution: def minimum_perimeter(self, neededApples: int) -> int: """ TC: O(neededApples^(1/3)) / SC: O(1) """ i = 1 summed_apples = 0 while True: current_apples = 12 * i * i summed_apples += currentApples if summedApples >= neededApples: return i * 2 * 4 i += 1
donate_msg = """{name} is an open source project, created with the intention of sharing a simple and easy-to-use application for the care of information integrity, through the use of hash table files. If you like {name}, feel free to make a donation if you think so. Any kind of support will be immensely grateful."""
donate_msg = '{name} is an open source project, created with the intention\nof sharing a simple and easy-to-use application for the care of\ninformation integrity, through the use of hash table files.\n\nIf you like {name}, feel free to make a donation if you think so.\nAny kind of support will be immensely grateful.'
# -*- coding: utf-8 -*- # * ********************************************************************* * # * Copyright (C) 2018 by xmz * # * ********************************************************************* * __author__ = "Marcin Zelek (marcin.zelek@gmail.com)" __copyright__ = "Copyright (C) xmz. All Rights Reserved." ############################################################################### # Class # ############################################################################### class JscSection: """ The JSC section data container. """ SECTION_GLUE = "." GLOBAL_SECTION_NAME = "__GLOBAL__" def __init__(self, name=GLOBAL_SECTION_NAME): self.__section = [] self.__section.append(name) def __append(self, name): self.__section.append('"' + str(name) + '"') @property def data(self): return self.__section def go_up(self, name): """ Move level up for current section Parameters ---------- name : string Section name """ if len(self.__section) == 1 and JscSection.GLOBAL_SECTION_NAME in self.__section: self.__section = [] self.__append(name) def go_down(self): """ Move level down for current section """ if len(self.__section) == 1: self.__section = [] self.__section.append(JscSection.GLOBAL_SECTION_NAME) else: del self.__section[-1] def str(self): """ Get JSC data section as string Returns ------- string JSC data section as string. """ if len(self.__section) == 1 and JscSection.GLOBAL_SECTION_NAME in self.__section: section_name = None else: section_name = JscSection.SECTION_GLUE.join(self.__section) return section_name ############################################################################### # End of file # ###############################################################################
__author__ = 'Marcin Zelek (marcin.zelek@gmail.com)' __copyright__ = 'Copyright (C) xmz. All Rights Reserved.' class Jscsection: """ The JSC section data container. """ section_glue = '.' global_section_name = '__GLOBAL__' def __init__(self, name=GLOBAL_SECTION_NAME): self.__section = [] self.__section.append(name) def __append(self, name): self.__section.append('"' + str(name) + '"') @property def data(self): return self.__section def go_up(self, name): """ Move level up for current section Parameters ---------- name : string Section name """ if len(self.__section) == 1 and JscSection.GLOBAL_SECTION_NAME in self.__section: self.__section = [] self.__append(name) def go_down(self): """ Move level down for current section """ if len(self.__section) == 1: self.__section = [] self.__section.append(JscSection.GLOBAL_SECTION_NAME) else: del self.__section[-1] def str(self): """ Get JSC data section as string Returns ------- string JSC data section as string. """ if len(self.__section) == 1 and JscSection.GLOBAL_SECTION_NAME in self.__section: section_name = None else: section_name = JscSection.SECTION_GLUE.join(self.__section) return section_name
# The below function calculates the BMI or Body Mass Index of a person # Created by Agamdeep Singh / CodeWithAgam # Youtube: CodeWithAgam # Github: CodeWithAgam # Instagram: @agamdeep_21, @coderagam001 # Twitter: @CoderAgam001 # Linkdin: Agamdeep Singh def calculate_BMI(): # Get the inputs from the user height = float(input("Enter your height in M: ")) weight = float(input("Enter your weight in KG: ")) # Calculate the BMI or Body Mass Index # The formula is, weight(kg) / height^2(m^2) BMI = int(weight / height**2) # Check for the conditions and tell which category their BMI is. if BMI < 18.5: print(f"Your BMI is {BMI}, you are underweight!") elif BMI < 25: print(f"Your BMI is {BMI}, you have a normal weight!") elif BMI < 30: print(f"Your BMI is {BMI}, you are slightly overweight!") elif BMI < 35: print(f"Your BMI is {BMI}, you are obese!") else: print(f"Your BMI is {BMI}, you are clinically obese!") print("Calculate the BMI or Body Mass Index") calculate_BMI()
def calculate_bmi(): height = float(input('Enter your height in M: ')) weight = float(input('Enter your weight in KG: ')) bmi = int(weight / height ** 2) if BMI < 18.5: print(f'Your BMI is {BMI}, you are underweight!') elif BMI < 25: print(f'Your BMI is {BMI}, you have a normal weight!') elif BMI < 30: print(f'Your BMI is {BMI}, you are slightly overweight!') elif BMI < 35: print(f'Your BMI is {BMI}, you are obese!') else: print(f'Your BMI is {BMI}, you are clinically obese!') print('Calculate the BMI or Body Mass Index') calculate_bmi()
{ "includes": [ "common.gypi", ], "targets": [ { "target_name": "colony-lua", "product_name": "colony-lua", "type": "static_library", "defines": [ 'LUA_USELONGLONG', ], "sources": [ '<(colony_lua_path)/src/lapi.c', '<(colony_lua_path)/src/lauxlib.c', '<(colony_lua_path)/src/lbaselib.c', '<(colony_lua_path)/src/lcode.c', '<(colony_lua_path)/src/ldblib.c', '<(colony_lua_path)/src/ldebug.c', '<(colony_lua_path)/src/ldo.c', '<(colony_lua_path)/src/ldump.c', '<(colony_lua_path)/src/lfunc.c', '<(colony_lua_path)/src/lgc.c', '<(colony_lua_path)/src/linit.c', '<(colony_lua_path)/src/liolib.c', '<(colony_lua_path)/src/llex.c', '<(colony_lua_path)/src/lmathlib.c', '<(colony_lua_path)/src/lmem.c', '<(colony_lua_path)/src/loadlib.c', '<(colony_lua_path)/src/lobject.c', '<(colony_lua_path)/src/lopcodes.c', '<(colony_lua_path)/src/loslib.c', '<(colony_lua_path)/src/lparser.c', '<(colony_lua_path)/src/lstate.c', '<(colony_lua_path)/src/lstring.c', '<(colony_lua_path)/src/lstrlib.c', '<(colony_lua_path)/src/ltable.c', '<(colony_lua_path)/src/ltablib.c', '<(colony_lua_path)/src/ltm.c', '<(colony_lua_path)/src/lundump.c', '<(colony_lua_path)/src/lvm.c', '<(colony_lua_path)/src/lzio.c', '<(colony_lua_path)/src/print.c', '<(lua_bitop_path)/bit.c' ], # Lua uses tmpname and has empty bodies and doesn't use some vars 'cflags': [ '-Wno-deprecated-declarations', '-Wno-empty-body', '-Wno-unused-but-set-variable', '-Wno-unused-value', '-Wno-unused-variable', '-Wno-unknown-warning-option', ], 'xcode_settings': { 'OTHER_CFLAGS': [ '-Wno-deprecated-declarations', '-Wno-empty-body', '-Wno-unused-but-set-variable', '-Wno-unused-value', '-Wno-unknown-warning-option', ], }, "include_dirs": [ "<(colony_lua_path)/src", "<(lua_bitop_path)/", ], 'direct_dependent_settings': { 'defines': [ 'COLONY_LUA', 'LUA_USELONGLONG', ], 'include_dirs': [ "<(colony_lua_path)/src", ], 'link_settings': { 'libraries': [ '-lm' ] } } }, { "target_name": "colony-luajit", "product_name": "colony-luajit", "type": "static_library", 'sources': [ # generated by the action below '<(INTERMEDIATE_DIR)/libluajit.o', ], 'actions': [ { 'action_name': 'luajit-build', 'inputs': [ '<(colony_luajit_path)/Makefile', ], 'outputs': [ '<(INTERMEDIATE_DIR)/libluajit.o', ], 'action': ['<(tools_path)/luajit-build.sh', '<(OS)', '<@(_outputs)'], }, ], 'direct_dependent_settings': { 'defines': [ 'COLONY_LUA', ], 'include_dirs': [ "<(colony_luajit_path)/src", ], 'link_settings': { 'libraries': [ '-lm' ] } } }, { 'target_name': 'dir_builtin', 'type': 'none', 'sources': [ '<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c' ], 'actions': [ { 'action_name': '<(_target_name)_compile', 'inputs': [ '<(node_libs_path)/_stream_duplex.js', '<(node_libs_path)/_stream_passthrough.js', '<(node_libs_path)/_stream_readable.js', '<(node_libs_path)/_stream_transform.js', '<(node_libs_path)/_stream_writable.js', '<(runtime_path)/colony/modules/_structured_clone.js', '<(node_libs_path)/assert.js', '<(runtime_path)/colony/modules/buffer.js', '<(runtime_path)/colony/modules/child_process.js', '<(runtime_path)/colony/modules/console.js', '<(runtime_path)/colony/modules/crypto.js', '<(runtime_path)/colony/modules/dgram.js', '<(runtime_path)/colony/modules/domain.js', '<(runtime_path)/colony/modules/dns.js', '<(node_libs_path)/events.js', '<(runtime_path)/colony/modules/fs.js', '<(runtime_path)/colony/modules/http.js', '<(runtime_path)/colony/modules/https.js', '<(runtime_path)/colony/modules/net.js', '<(runtime_path)/colony/modules/os.js', '<(node_libs_path)/path.js', '<(node_libs_path)/punycode.js', '<(node_libs_path)/querystring.js', '<(runtime_path)/colony/modules/repl.js', '<(node_libs_path)/stream.js', '<(node_libs_path)/string_decoder.js', '<(runtime_path)/colony/modules/tls.js', '<(runtime_path)/colony/modules/tty.js', '<(node_libs_path)/url.js', '<(runtime_path)/colony/modules/util.js', '<(runtime_path)/colony/modules/zlib.js', ], 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c', ], 'action': [ '<(tools_path)/compile_folder.sh', '<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c', '<(_target_name)', '<(enable_luajit)', '<@(_inputs)' ], }, ] }, { 'target_name': 'dir_runtime_lib', 'type': 'none', 'sources': [ '<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c' ], 'actions': [ { 'action_name': '<(_target_name)_compile', 'inputs': [ '<(runtime_path)/colony/lua/cli.lua', '<(runtime_path)/colony/lua/colony-init.lua', '<(runtime_path)/colony/lua/colony-js.lua', '<(runtime_path)/colony/lua/colony-node.lua', '<(runtime_path)/colony/lua/colony.lua', '<(runtime_path)/colony/lua/preload.lua', ], 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c', ], 'action': [ '<(tools_path)/compile_folder.sh', '<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c', '<(_target_name)', '<(enable_luajit)', '<@(_inputs)' ], }, ] }, { "target_name": "libcolony", "product_name": "libcolony", "type": "static_library", 'cflags': [ '-Wall', '-Wextra', '-Werror' ], 'defines': [ 'COLONY_COMPILER_PATH=<(compiler_path)', 'COLONY_NODE_VERSION=<(node_version)', '__TESSEL_RUNTIME_SEMVER__=<!(node -p \"require(\\\"../package.json\\\").version")', ], "sources": [ '<(runtime_path)/tm_event.c', '<(runtime_path)/tm_timer.c', '<(runtime_path)/colony/lua_hsregex.c', '<(runtime_path)/colony/lua_tm.c', '<(runtime_path)/colony/lua_rapidjson.c', '<(runtime_path)/colony/colony.c', '<(runtime_path)/colony/colony_init.c', '<(runtime_path)/colony/colony_runtime.c', '<(runtime_path)/colony/lua_http_parser.c', '<(SHARED_INTERMEDIATE_DIR)/dir_builtin.c', '<(SHARED_INTERMEDIATE_DIR)/dir_runtime_lib.c', ], "include_dirs": [ '<(runtime_path)/', '<(runtime_path)/colony/', "<(colony_lua_path)/src", ], "dependencies": [ 'dir_builtin', 'dir_runtime_lib', 'libtm.gyp:hsregex', 'libtm.gyp:fortuna', 'libtm.gyp:dlmalloc', 'libtm.gyp:libtm', 'libtm.gyp:approxidate', 'libtm.gyp:http_parser', ], "direct_dependent_settings": { "include_dirs": [ '<(runtime_path)/colony/' ] }, 'conditions': [ ['enable_luajit!=1', { "dependencies": [ 'colony-lua', ] }], ['enable_luajit==1', { "dependencies": [ 'colony-luajit', ] }], ['OS=="linux"', { "link_settings": { "libraries": [ "-ldl" ], }, }], ['OS!="arm"', { "sources": [ '<(runtime_path)/posix/tm_uptime.c', '<(runtime_path)/posix/tm_timestamp.c', ], }], ['enable_ssl==1', { 'dependencies': [ "libtm.gyp:axtls", "libtm.gyp:tm-ssl", ], }], ['enable_net==1', { 'sources': [ '<(runtime_path)/colony/lua_cares.c', ], 'dependencies': [ 'libtm.gyp:c-ares', ], }], ], } ] }
{'includes': ['common.gypi'], 'targets': [{'target_name': 'colony-lua', 'product_name': 'colony-lua', 'type': 'static_library', 'defines': ['LUA_USELONGLONG'], 'sources': ['<(colony_lua_path)/src/lapi.c', '<(colony_lua_path)/src/lauxlib.c', '<(colony_lua_path)/src/lbaselib.c', '<(colony_lua_path)/src/lcode.c', '<(colony_lua_path)/src/ldblib.c', '<(colony_lua_path)/src/ldebug.c', '<(colony_lua_path)/src/ldo.c', '<(colony_lua_path)/src/ldump.c', '<(colony_lua_path)/src/lfunc.c', '<(colony_lua_path)/src/lgc.c', '<(colony_lua_path)/src/linit.c', '<(colony_lua_path)/src/liolib.c', '<(colony_lua_path)/src/llex.c', '<(colony_lua_path)/src/lmathlib.c', '<(colony_lua_path)/src/lmem.c', '<(colony_lua_path)/src/loadlib.c', '<(colony_lua_path)/src/lobject.c', '<(colony_lua_path)/src/lopcodes.c', '<(colony_lua_path)/src/loslib.c', '<(colony_lua_path)/src/lparser.c', '<(colony_lua_path)/src/lstate.c', '<(colony_lua_path)/src/lstring.c', '<(colony_lua_path)/src/lstrlib.c', '<(colony_lua_path)/src/ltable.c', '<(colony_lua_path)/src/ltablib.c', '<(colony_lua_path)/src/ltm.c', '<(colony_lua_path)/src/lundump.c', '<(colony_lua_path)/src/lvm.c', '<(colony_lua_path)/src/lzio.c', '<(colony_lua_path)/src/print.c', '<(lua_bitop_path)/bit.c'], 'cflags': ['-Wno-deprecated-declarations', '-Wno-empty-body', '-Wno-unused-but-set-variable', '-Wno-unused-value', '-Wno-unused-variable', '-Wno-unknown-warning-option'], 'xcode_settings': {'OTHER_CFLAGS': ['-Wno-deprecated-declarations', '-Wno-empty-body', '-Wno-unused-but-set-variable', '-Wno-unused-value', '-Wno-unknown-warning-option']}, 'include_dirs': ['<(colony_lua_path)/src', '<(lua_bitop_path)/'], 'direct_dependent_settings': {'defines': ['COLONY_LUA', 'LUA_USELONGLONG'], 'include_dirs': ['<(colony_lua_path)/src'], 'link_settings': {'libraries': ['-lm']}}}, {'target_name': 'colony-luajit', 'product_name': 'colony-luajit', 'type': 'static_library', 'sources': ['<(INTERMEDIATE_DIR)/libluajit.o'], 'actions': [{'action_name': 'luajit-build', 'inputs': ['<(colony_luajit_path)/Makefile'], 'outputs': ['<(INTERMEDIATE_DIR)/libluajit.o'], 'action': ['<(tools_path)/luajit-build.sh', '<(OS)', '<@(_outputs)']}], 'direct_dependent_settings': {'defines': ['COLONY_LUA'], 'include_dirs': ['<(colony_luajit_path)/src'], 'link_settings': {'libraries': ['-lm']}}}, {'target_name': 'dir_builtin', 'type': 'none', 'sources': ['<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c'], 'actions': [{'action_name': '<(_target_name)_compile', 'inputs': ['<(node_libs_path)/_stream_duplex.js', '<(node_libs_path)/_stream_passthrough.js', '<(node_libs_path)/_stream_readable.js', '<(node_libs_path)/_stream_transform.js', '<(node_libs_path)/_stream_writable.js', '<(runtime_path)/colony/modules/_structured_clone.js', '<(node_libs_path)/assert.js', '<(runtime_path)/colony/modules/buffer.js', '<(runtime_path)/colony/modules/child_process.js', '<(runtime_path)/colony/modules/console.js', '<(runtime_path)/colony/modules/crypto.js', '<(runtime_path)/colony/modules/dgram.js', '<(runtime_path)/colony/modules/domain.js', '<(runtime_path)/colony/modules/dns.js', '<(node_libs_path)/events.js', '<(runtime_path)/colony/modules/fs.js', '<(runtime_path)/colony/modules/http.js', '<(runtime_path)/colony/modules/https.js', '<(runtime_path)/colony/modules/net.js', '<(runtime_path)/colony/modules/os.js', '<(node_libs_path)/path.js', '<(node_libs_path)/punycode.js', '<(node_libs_path)/querystring.js', '<(runtime_path)/colony/modules/repl.js', '<(node_libs_path)/stream.js', '<(node_libs_path)/string_decoder.js', '<(runtime_path)/colony/modules/tls.js', '<(runtime_path)/colony/modules/tty.js', '<(node_libs_path)/url.js', '<(runtime_path)/colony/modules/util.js', '<(runtime_path)/colony/modules/zlib.js'], 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c'], 'action': ['<(tools_path)/compile_folder.sh', '<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c', '<(_target_name)', '<(enable_luajit)', '<@(_inputs)']}]}, {'target_name': 'dir_runtime_lib', 'type': 'none', 'sources': ['<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c'], 'actions': [{'action_name': '<(_target_name)_compile', 'inputs': ['<(runtime_path)/colony/lua/cli.lua', '<(runtime_path)/colony/lua/colony-init.lua', '<(runtime_path)/colony/lua/colony-js.lua', '<(runtime_path)/colony/lua/colony-node.lua', '<(runtime_path)/colony/lua/colony.lua', '<(runtime_path)/colony/lua/preload.lua'], 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c'], 'action': ['<(tools_path)/compile_folder.sh', '<(SHARED_INTERMEDIATE_DIR)/<(_target_name).c', '<(_target_name)', '<(enable_luajit)', '<@(_inputs)']}]}, {'target_name': 'libcolony', 'product_name': 'libcolony', 'type': 'static_library', 'cflags': ['-Wall', '-Wextra', '-Werror'], 'defines': ['COLONY_COMPILER_PATH=<(compiler_path)', 'COLONY_NODE_VERSION=<(node_version)', '__TESSEL_RUNTIME_SEMVER__=<!(node -p "require(\\"../package.json\\").version")'], 'sources': ['<(runtime_path)/tm_event.c', '<(runtime_path)/tm_timer.c', '<(runtime_path)/colony/lua_hsregex.c', '<(runtime_path)/colony/lua_tm.c', '<(runtime_path)/colony/lua_rapidjson.c', '<(runtime_path)/colony/colony.c', '<(runtime_path)/colony/colony_init.c', '<(runtime_path)/colony/colony_runtime.c', '<(runtime_path)/colony/lua_http_parser.c', '<(SHARED_INTERMEDIATE_DIR)/dir_builtin.c', '<(SHARED_INTERMEDIATE_DIR)/dir_runtime_lib.c'], 'include_dirs': ['<(runtime_path)/', '<(runtime_path)/colony/', '<(colony_lua_path)/src'], 'dependencies': ['dir_builtin', 'dir_runtime_lib', 'libtm.gyp:hsregex', 'libtm.gyp:fortuna', 'libtm.gyp:dlmalloc', 'libtm.gyp:libtm', 'libtm.gyp:approxidate', 'libtm.gyp:http_parser'], 'direct_dependent_settings': {'include_dirs': ['<(runtime_path)/colony/']}, 'conditions': [['enable_luajit!=1', {'dependencies': ['colony-lua']}], ['enable_luajit==1', {'dependencies': ['colony-luajit']}], ['OS=="linux"', {'link_settings': {'libraries': ['-ldl']}}], ['OS!="arm"', {'sources': ['<(runtime_path)/posix/tm_uptime.c', '<(runtime_path)/posix/tm_timestamp.c']}], ['enable_ssl==1', {'dependencies': ['libtm.gyp:axtls', 'libtm.gyp:tm-ssl']}], ['enable_net==1', {'sources': ['<(runtime_path)/colony/lua_cares.c'], 'dependencies': ['libtm.gyp:c-ares']}]]}]}
awnser = 5 print('Enter a number between 1 and 10') for i in range(0, 4): guess = int(input(f'You have {4-i} guesses left: ')) if guess == 5 or guess == 10: print('You guessed correct!') break else: print(f'The guess of {guess} was not correct') if guess > awnser: print('Your guess was too large') elif 4-i == 1: print('Youre out of chances :(') break else: print('Your guess was too small')
awnser = 5 print('Enter a number between 1 and 10') for i in range(0, 4): guess = int(input(f'You have {4 - i} guesses left: ')) if guess == 5 or guess == 10: print('You guessed correct!') break else: print(f'The guess of {guess} was not correct') if guess > awnser: print('Your guess was too large') elif 4 - i == 1: print('Youre out of chances :(') break else: print('Your guess was too small')
""" 0606. Construct String from Binary Tree You need to construct a string consists of parenthesis and integers from a binary tree with the preorder traversing way. The null node needs to be represented by empty parenthesis pair "()". And you need to omit all the empty parenthesis pairs that don't affect the one-to-one mapping relationship between the string and the original binary tree. Example 1: Input: Binary tree: [1,2,3,4] 1 / \ 2 3 / 4 Output: "1(2(4))(3)" Explanation: Originallay it needs to be "1(2(4)())(3()())", but you need to omit all the unnecessary empty parenthesis pairs. And it will be "1(2(4))(3)". Example 2: Input: Binary tree: [1,2,3,null,4] 1 / \ 2 3 \ 4 Output: "1(2()(4))(3)" Explanation: Almost the same as the first example, except we can't omit the first parenthesis pair to break the one-to-one mapping relationship between the input and the output. """ # Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def tree2str(self, t: TreeNode): if not t: return '' left = '(' + self.tree2str(t.left) + ')' if (t.left or t.right) else '' right = '(' + self.tree2str(t.right) + ')' if t.right else '' return str(t.val) + left + right
""" 0606. Construct String from Binary Tree You need to construct a string consists of parenthesis and integers from a binary tree with the preorder traversing way. The null node needs to be represented by empty parenthesis pair "()". And you need to omit all the empty parenthesis pairs that don't affect the one-to-one mapping relationship between the string and the original binary tree. Example 1: Input: Binary tree: [1,2,3,4] 1 / 2 3 / 4 Output: "1(2(4))(3)" Explanation: Originallay it needs to be "1(2(4)())(3()())", but you need to omit all the unnecessary empty parenthesis pairs. And it will be "1(2(4))(3)". Example 2: Input: Binary tree: [1,2,3,null,4] 1 / 2 3 \\ 4 Output: "1(2()(4))(3)" Explanation: Almost the same as the first example, except we can't omit the first parenthesis pair to break the one-to-one mapping relationship between the input and the output. """ class Solution: def tree2str(self, t: TreeNode): if not t: return '' left = '(' + self.tree2str(t.left) + ')' if t.left or t.right else '' right = '(' + self.tree2str(t.right) + ')' if t.right else '' return str(t.val) + left + right
class WrongInputDataType(Exception): def __init__(self, message="Input data must be a pandas.Series."): self.message = message super().__init__(self.message) class NotFittedError(Exception): def __init__(self, message="Please call fit() before detect().", tip=""): self.message = " ".join([message, tip]) super().__init__(self.message) class NoRangeDefinedError(NotFittedError): def __init__(self, message="Or specify min/max range when instantiating detector object."): super().__init__(message) class InvalidArgument(Exception): def __init__(self, argument_name, requirement): self.message = f"{argument_name} must be {requirement}." super().__init__(self.message) class NotInteger(InvalidArgument): def __init__(self, argument_name): super().__init__(argument_name, "an integer") class NonUniqueTimeStamps(Exception): def __init__(self, message="Found multiple values at the same time stamp."): self.message = message super().__init__(self.message)
class Wronginputdatatype(Exception): def __init__(self, message='Input data must be a pandas.Series.'): self.message = message super().__init__(self.message) class Notfittederror(Exception): def __init__(self, message='Please call fit() before detect().', tip=''): self.message = ' '.join([message, tip]) super().__init__(self.message) class Norangedefinederror(NotFittedError): def __init__(self, message='Or specify min/max range when instantiating detector object.'): super().__init__(message) class Invalidargument(Exception): def __init__(self, argument_name, requirement): self.message = f'{argument_name} must be {requirement}.' super().__init__(self.message) class Notinteger(InvalidArgument): def __init__(self, argument_name): super().__init__(argument_name, 'an integer') class Nonuniquetimestamps(Exception): def __init__(self, message='Found multiple values at the same time stamp.'): self.message = message super().__init__(self.message)
alpha = "abcdefghijklmnopqrstuvwxyz" key = "xznlwebgjhqdyvtkfuompciasr" message = input("enter the message : ") cipher = "" for i in message: cipher+=key[alpha.index(i)] print(cipher)
alpha = 'abcdefghijklmnopqrstuvwxyz' key = 'xznlwebgjhqdyvtkfuompciasr' message = input('enter the message : ') cipher = '' for i in message: cipher += key[alpha.index(i)] print(cipher)
def keep(sequence, predicate): pass def discard(sequence, predicate): pass
def keep(sequence, predicate): pass def discard(sequence, predicate): pass
class Solution(object): """ A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the squares of its digits, and repeat the process until the number equals 1 (where it will stay), or it loops endlessly in a cycle which does not include 1. Those numbers for which this process ends in 1 are happy numbers. """ def is_happy(self, n): """ :type n: int :rtype: bool """ check_list = set() while n != 1: n = sum([int(e) ** 2 for e in str(n)]) if n in check_list: return False else: check_list.add(n) else: return True s = Solution() print(s.is_happy(19))
class Solution(object): """ A happy number is a number defined by the following process: Starting with any positive integer, replace the number by the sum of the squares of its digits, and repeat the process until the number equals 1 (where it will stay), or it loops endlessly in a cycle which does not include 1. Those numbers for which this process ends in 1 are happy numbers. """ def is_happy(self, n): """ :type n: int :rtype: bool """ check_list = set() while n != 1: n = sum([int(e) ** 2 for e in str(n)]) if n in check_list: return False else: check_list.add(n) else: return True s = solution() print(s.is_happy(19))
# coding: utf-8 # create by tongshiwei on 2018/4/27 class Solution: def subsetsWithDup(self, nums): """ :type nums: List[int] :rtype: List[List[int]] """ num_rec = {} for n in nums: if n not in num_rec: num_rec[n] = 0 num_rec[n] += 1 num_times = list(num_rec.items()) end = len(num_times) def get_res(final_res, res, pointer): if pointer == end: final_res += [res] return val, times = num_times[pointer] for i in range(1, times + 1): get_res(final_res, res + [val] * i, pointer + 1) get_res(final_res, res, pointer + 1) final_res = [] get_res(final_res, [], 0) return final_res if __name__ == '__main__': s = Solution() print(s.subsetsWithDup([1, 2, 2]))
class Solution: def subsets_with_dup(self, nums): """ :type nums: List[int] :rtype: List[List[int]] """ num_rec = {} for n in nums: if n not in num_rec: num_rec[n] = 0 num_rec[n] += 1 num_times = list(num_rec.items()) end = len(num_times) def get_res(final_res, res, pointer): if pointer == end: final_res += [res] return (val, times) = num_times[pointer] for i in range(1, times + 1): get_res(final_res, res + [val] * i, pointer + 1) get_res(final_res, res, pointer + 1) final_res = [] get_res(final_res, [], 0) return final_res if __name__ == '__main__': s = solution() print(s.subsetsWithDup([1, 2, 2]))
n1=int(input('Digite a idade da primeira pessoa:')) n2=int(input('Digite a idade da segunda pessoa:')) n3=int(input('Digite a idade da terceira pessoa:')) #Maior ou igual a 100 #menor que 100 soma = n1+ n2+ n3 if soma > 100 or soma == 100: print('Maior ou igual a 100') else: print('Menor que 100')
n1 = int(input('Digite a idade da primeira pessoa:')) n2 = int(input('Digite a idade da segunda pessoa:')) n3 = int(input('Digite a idade da terceira pessoa:')) soma = n1 + n2 + n3 if soma > 100 or soma == 100: print('Maior ou igual a 100') else: print('Menor que 100')
class Solution: """ @param grid: a 2D array @return: the maximum area of an island in the given 2D array """ def maxAreaOfIsland(self, grid): # Write your code here maxArea = 0 m = len(grid) n = len(grid[0]) def dfs(r, c): if grid[r][c] == 0: return 0 total = 1 grid[r][c] = 0 for nr, nc in ((r-1, c), (r+1, c), (r, c-1), (r, c+1)): if 0 <= nr < m and 0 <= nc < n: total += dfs(nr, nc) return total for i, row in enumerate(grid): for j, val in enumerate(row): if val == 1: maxArea = max(maxArea, dfs(i, j)) return maxArea
class Solution: """ @param grid: a 2D array @return: the maximum area of an island in the given 2D array """ def max_area_of_island(self, grid): max_area = 0 m = len(grid) n = len(grid[0]) def dfs(r, c): if grid[r][c] == 0: return 0 total = 1 grid[r][c] = 0 for (nr, nc) in ((r - 1, c), (r + 1, c), (r, c - 1), (r, c + 1)): if 0 <= nr < m and 0 <= nc < n: total += dfs(nr, nc) return total for (i, row) in enumerate(grid): for (j, val) in enumerate(row): if val == 1: max_area = max(maxArea, dfs(i, j)) return maxArea
print ("Angka Pertama : ") a = int(input()) print ("Angka Kedua : ") b = int (input()) print (hasil = a * b)
print('Angka Pertama : ') a = int(input()) print('Angka Kedua : ') b = int(input()) print(hasil=a * b)
# Stop words STOP_WORDS = set( """ ke gareng ga selekanyo tlhwatlhwa yo mongwe se sengwe fa go le jalo gongwe ba na mo tikologong jaaka kwa morago nna gonne ka sa pele nako teng tlase fela ntle magareng tsona feta bobedi kgabaganya moo gape kgatlhanong botlhe tsotlhe bokana e esi setseng mororo dinako golo kgolo nnye wena gago o ntse ntle tla goreng gangwe mang yotlhe gore eo yona tseraganyo eng ne sentle re rona thata godimo fitlha pedi masomamabedi lesomepedi mmogo tharo tseo boraro tseno yone jaanong bobona bona lesome tsaya tsamaiso nngwe masomethataro thataro tsa mmatota tota sale thoko supa dira tshwanetse di mmalwa masisi bonala e tshwanang bogolo tsenya tsweetswee karolo sepe tlhalosa dirwa robedi robongwe lesomenngwe gaisa tlhano lesometlhano botlalo lekgolo """.split() )
stop_words = set('\nke gareng ga selekanyo tlhwatlhwa yo mongwe se\nsengwe fa go le jalo gongwe ba na mo tikologong\njaaka kwa morago nna gonne ka sa pele nako teng\ntlase fela ntle magareng tsona feta bobedi kgabaganya\nmoo gape kgatlhanong botlhe tsotlhe bokana e esi\nsetseng mororo dinako golo kgolo nnye wena gago\no ntse ntle tla goreng gangwe mang yotlhe gore\neo yona tseraganyo eng ne sentle re rona thata\ngodimo fitlha pedi masomamabedi lesomepedi mmogo\ntharo tseo boraro tseno yone jaanong bobona bona\nlesome tsaya tsamaiso nngwe masomethataro thataro\ntsa mmatota tota sale thoko supa dira tshwanetse di mmalwa masisi\nbonala e tshwanang bogolo tsenya tsweetswee karolo\nsepe tlhalosa dirwa robedi robongwe lesomenngwe gaisa\ntlhano lesometlhano botlalo lekgolo\n'.split())
class Solution: def canConstruct(self, ransomNote, magazine): """ :type ransomNote: str :type magazine: str :rtype: bool """ ransomNote = list(ransomNote) magazine = list(magazine) r_len = len(ransomNote) m_len = len(magazine) if r_len > m_len: return False if r_len == 0: return True i = 0 k = 0 while i < r_len and k < m_len: if ransomNote[i] == magazine[k]: magazine.pop(k) m_len -= 1 k = 0 i += 1 else: k += 1 return i == r_len if __name__ == '__main__': solution = Solution() print(solution.canConstruct("a", "b")) print(solution.canConstruct("aa", "ab")) print(solution.canConstruct("aa", "aa")) print(solution.canConstruct("bjaajgea", \ "affhiiicabhbdchbidghccijjbfjfhjeddgggbajhidhjchiedhdibgeaecffbbbefiabjdhggihccec")) else: pass
class Solution: def can_construct(self, ransomNote, magazine): """ :type ransomNote: str :type magazine: str :rtype: bool """ ransom_note = list(ransomNote) magazine = list(magazine) r_len = len(ransomNote) m_len = len(magazine) if r_len > m_len: return False if r_len == 0: return True i = 0 k = 0 while i < r_len and k < m_len: if ransomNote[i] == magazine[k]: magazine.pop(k) m_len -= 1 k = 0 i += 1 else: k += 1 return i == r_len if __name__ == '__main__': solution = solution() print(solution.canConstruct('a', 'b')) print(solution.canConstruct('aa', 'ab')) print(solution.canConstruct('aa', 'aa')) print(solution.canConstruct('bjaajgea', 'affhiiicabhbdchbidghccijjbfjfhjeddgggbajhidhjchiedhdibgeaecffbbbefiabjdhggihccec')) else: pass
''' LC1413: Minimum Value to Get Positive Step by Step Sum Given an array of integers nums, you start with an initial positive value startValue. In each iteration, you calculate the step by step sum of startValue plus elements in nums (from left to right). Return the minimum positive value of startValue such that the step by step sum is never less than 1. Example 1: Input: nums = [-3,2,-3,4,2] Output: 5 Explanation: If you choose startValue = 4, in the third iteration your step by step sum is less than 1. Example 2: Input: nums = [1,2] Output: 1 Explanation: Minimum start value should be positive. Example 3: Input: nums = [1,-2,-3] Output: 5 Process1: Simulate starting at 0, and let's say the minimum value you attain during the process is m. If say, m = -4, then you should choose the starting value start = 5, because it would just shift all the intermediate values up by 5. While if m = 100, then we just choose the minimum possible starting value start = 1. In general, the answer is max(1, 1 - m).''' class Solution(object): def minStartValue(self, nums): prefix = [0] for x in nums: prefix.append(prefix[-1] + x) return max(1, 1 - min(prefix))
""" LC1413: Minimum Value to Get Positive Step by Step Sum Given an array of integers nums, you start with an initial positive value startValue. In each iteration, you calculate the step by step sum of startValue plus elements in nums (from left to right). Return the minimum positive value of startValue such that the step by step sum is never less than 1. Example 1: Input: nums = [-3,2,-3,4,2] Output: 5 Explanation: If you choose startValue = 4, in the third iteration your step by step sum is less than 1. Example 2: Input: nums = [1,2] Output: 1 Explanation: Minimum start value should be positive. Example 3: Input: nums = [1,-2,-3] Output: 5 Process1: Simulate starting at 0, and let's say the minimum value you attain during the process is m. If say, m = -4, then you should choose the starting value start = 5, because it would just shift all the intermediate values up by 5. While if m = 100, then we just choose the minimum possible starting value start = 1. In general, the answer is max(1, 1 - m).""" class Solution(object): def min_start_value(self, nums): prefix = [0] for x in nums: prefix.append(prefix[-1] + x) return max(1, 1 - min(prefix))
def solve_part_one(puzzle: list) -> int: turn = 1 numbers = [] while turn <= 2020: if turn <= len(puzzle): numbers.append(puzzle[turn - 1]) turn += 1 continue # We finished the initial list. Look at the last number last_num = numbers[-1] if last_num in numbers[:len(numbers) - 1]: previous_turn = find_index(numbers[:len(numbers) - 1], last_num) numbers.append(turn - 1 - previous_turn) else: numbers.append(0) turn += 1 return numbers[-1] def find_index(numbers: list, number_to_find: int) -> int: index = 0 for pos in range(0, len(numbers)): if number_to_find == numbers[pos]: index = pos return index + 1 def solve_part_two(puzzle: list) -> int: turn = 1 numbers = [] mem_helper = {} while turn <= 30000000: if turn <= len(puzzle): numbers.append(puzzle[turn - 1]) if turn < len(puzzle): mem_helper[puzzle[turn - 1]] = turn turn += 1 continue # We finished the initial list. Look at the last number last_num = numbers[-1] if last_num in mem_helper: numbers.append(turn - 1 - mem_helper[last_num]) mem_helper[last_num] = turn - 1 else: numbers.append(0) mem_helper[last_num] = turn - 1 turn += 1 return numbers[-1] if __name__ == '__main__': puzzle_input = [15, 12, 0, 14, 3, 1] solve_part_one(puzzle_input) solve_part_two(puzzle_input)
def solve_part_one(puzzle: list) -> int: turn = 1 numbers = [] while turn <= 2020: if turn <= len(puzzle): numbers.append(puzzle[turn - 1]) turn += 1 continue last_num = numbers[-1] if last_num in numbers[:len(numbers) - 1]: previous_turn = find_index(numbers[:len(numbers) - 1], last_num) numbers.append(turn - 1 - previous_turn) else: numbers.append(0) turn += 1 return numbers[-1] def find_index(numbers: list, number_to_find: int) -> int: index = 0 for pos in range(0, len(numbers)): if number_to_find == numbers[pos]: index = pos return index + 1 def solve_part_two(puzzle: list) -> int: turn = 1 numbers = [] mem_helper = {} while turn <= 30000000: if turn <= len(puzzle): numbers.append(puzzle[turn - 1]) if turn < len(puzzle): mem_helper[puzzle[turn - 1]] = turn turn += 1 continue last_num = numbers[-1] if last_num in mem_helper: numbers.append(turn - 1 - mem_helper[last_num]) mem_helper[last_num] = turn - 1 else: numbers.append(0) mem_helper[last_num] = turn - 1 turn += 1 return numbers[-1] if __name__ == '__main__': puzzle_input = [15, 12, 0, 14, 3, 1] solve_part_one(puzzle_input) solve_part_two(puzzle_input)
# # PySNMP MIB module BNET-ATM-ATOM-AUG-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/BNET-ATM-ATOM-AUG-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:40:04 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsUnion") atmVclVci, atmVclVpi = mibBuilder.importSymbols("ATM-MIB", "atmVclVci", "atmVclVpi") atmSoftPVccLeafReference, = mibBuilder.importSymbols("ATM-SOFT-PVC-MIB", "atmSoftPVccLeafReference") AtmAddr, = mibBuilder.importSymbols("ATM-TC-MIB", "AtmAddr") ifIndex, = mibBuilder.importSymbols("IF-MIB", "ifIndex") s5AtmTop, = mibBuilder.importSymbols("S5-ROOT-MIB", "s5AtmTop") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") Integer32, iso, MibScalar, MibTable, MibTableRow, MibTableColumn, Bits, NotificationType, Counter32, ModuleIdentity, MibIdentifier, ObjectIdentity, IpAddress, Gauge32, Unsigned32, TimeTicks, Counter64 = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "iso", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Bits", "NotificationType", "Counter32", "ModuleIdentity", "MibIdentifier", "ObjectIdentity", "IpAddress", "Gauge32", "Unsigned32", "TimeTicks", "Counter64") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") bnetAtmAug = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3)) bnetAtmDeviceAtmAddr = MibScalar((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 1), AtmAddr()).setMaxAccess("readonly") if mibBuilder.loadTexts: bnetAtmDeviceAtmAddr.setStatus('mandatory') if mibBuilder.loadTexts: bnetAtmDeviceAtmAddr.setDescription('The ATM address which applies for this particular device. Where multiple addresses apply, include only primary one.') bnetAtmLearnAddrs = MibScalar((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("learnAddrs", 2), ("forgetAddrs", 3))).clone('learnAddrs')).setMaxAccess("readwrite") if mibBuilder.loadTexts: bnetAtmLearnAddrs.setStatus('mandatory') if mibBuilder.loadTexts: bnetAtmLearnAddrs.setDescription('When set to learnAddrs, atmAddrVcl and atmVclAddrBind tables will keep track of ATM Addresses.') atmfAddressClientTable = MibTable((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3), ) if mibBuilder.loadTexts: atmfAddressClientTable.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressClientTable.setDescription('Provides additional detail about each ATM client.') atmfAddressClientEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3, 1), ).setIndexNames((0, "BNET-ATM-ATOM-AUG-MIB", "atmfAddressPort"), (0, "BNET-ATM-ATOM-AUG-MIB", "atmfAddressAtmAddress")) if mibBuilder.loadTexts: atmfAddressClientEntry.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressClientEntry.setDescription('An entry with information about an ATM client.') atmfAddressPort = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmfAddressPort.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressPort.setDescription(' Uni Port ') atmfAddressAtmAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3, 1, 2), AtmAddr()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmfAddressAtmAddress.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressAtmAddress.setDescription('ATM Address') atmfAddressClientType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=NamedValues(("other", 1), ("cnTurbo", 2), ("cnCircuitSaver", 3), ("laneTurbo", 4), ("laneCircuitSaver", 5), ("external", 6), ("les", 7), ("bus", 8), ("les-bus", 9), ("lecs", 10), ("spvc", 11))).clone('external')).setMaxAccess("readonly") if mibBuilder.loadTexts: atmfAddressClientType.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressClientType.setDescription('Indicates the type of client.') atmfAddressClientCallCount = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atmfAddressClientCallCount.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressClientCallCount.setDescription('Indicates number of calls currently up, which involve this particular client address.') bnetAtmSoftPVccExtnTable = MibTable((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 4), ) if mibBuilder.loadTexts: bnetAtmSoftPVccExtnTable.setStatus('mandatory') if mibBuilder.loadTexts: bnetAtmSoftPVccExtnTable.setDescription('The table used to maintain Soft Permanent Virtual Channel Connection (Soft PVCCs) circuit ids. The Soft PVCC table is applicable only to switches.') bnetAtmSoftPVccExtnEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 4, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "ATM-MIB", "atmVclVpi"), (0, "ATM-MIB", "atmVclVci"), (0, "ATM-SOFT-PVC-MIB", "atmSoftPVccLeafReference")) if mibBuilder.loadTexts: bnetAtmSoftPVccExtnEntry.setStatus('mandatory') if mibBuilder.loadTexts: bnetAtmSoftPVccExtnEntry.setDescription('Each entry in this table represents the circuit id of a Soft Permanent Virtual Channel Connection (Soft PVCC).') bnetAtmSoftPVccCircuitId = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bnetAtmSoftPVccCircuitId.setStatus('mandatory') if mibBuilder.loadTexts: bnetAtmSoftPVccCircuitId.setDescription('This is the circuit id for a Soft PVCC.') mibBuilder.exportSymbols("BNET-ATM-ATOM-AUG-MIB", atmfAddressClientType=atmfAddressClientType, bnetAtmSoftPVccCircuitId=bnetAtmSoftPVccCircuitId, bnetAtmDeviceAtmAddr=bnetAtmDeviceAtmAddr, bnetAtmSoftPVccExtnEntry=bnetAtmSoftPVccExtnEntry, bnetAtmAug=bnetAtmAug, bnetAtmSoftPVccExtnTable=bnetAtmSoftPVccExtnTable, atmfAddressClientTable=atmfAddressClientTable, atmfAddressPort=atmfAddressPort, atmfAddressClientCallCount=atmfAddressClientCallCount, atmfAddressAtmAddress=atmfAddressAtmAddress, bnetAtmLearnAddrs=bnetAtmLearnAddrs, atmfAddressClientEntry=atmfAddressClientEntry)
(integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, single_value_constraint, value_range_constraint, value_size_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueRangeConstraint', 'ValueSizeConstraint', 'ConstraintsUnion') (atm_vcl_vci, atm_vcl_vpi) = mibBuilder.importSymbols('ATM-MIB', 'atmVclVci', 'atmVclVpi') (atm_soft_p_vcc_leaf_reference,) = mibBuilder.importSymbols('ATM-SOFT-PVC-MIB', 'atmSoftPVccLeafReference') (atm_addr,) = mibBuilder.importSymbols('ATM-TC-MIB', 'AtmAddr') (if_index,) = mibBuilder.importSymbols('IF-MIB', 'ifIndex') (s5_atm_top,) = mibBuilder.importSymbols('S5-ROOT-MIB', 's5AtmTop') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (integer32, iso, mib_scalar, mib_table, mib_table_row, mib_table_column, bits, notification_type, counter32, module_identity, mib_identifier, object_identity, ip_address, gauge32, unsigned32, time_ticks, counter64) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'iso', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Bits', 'NotificationType', 'Counter32', 'ModuleIdentity', 'MibIdentifier', 'ObjectIdentity', 'IpAddress', 'Gauge32', 'Unsigned32', 'TimeTicks', 'Counter64') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') bnet_atm_aug = mib_identifier((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3)) bnet_atm_device_atm_addr = mib_scalar((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 1), atm_addr()).setMaxAccess('readonly') if mibBuilder.loadTexts: bnetAtmDeviceAtmAddr.setStatus('mandatory') if mibBuilder.loadTexts: bnetAtmDeviceAtmAddr.setDescription('The ATM address which applies for this particular device. Where multiple addresses apply, include only primary one.') bnet_atm_learn_addrs = mib_scalar((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('learnAddrs', 2), ('forgetAddrs', 3))).clone('learnAddrs')).setMaxAccess('readwrite') if mibBuilder.loadTexts: bnetAtmLearnAddrs.setStatus('mandatory') if mibBuilder.loadTexts: bnetAtmLearnAddrs.setDescription('When set to learnAddrs, atmAddrVcl and atmVclAddrBind tables will keep track of ATM Addresses.') atmf_address_client_table = mib_table((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3)) if mibBuilder.loadTexts: atmfAddressClientTable.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressClientTable.setDescription('Provides additional detail about each ATM client.') atmf_address_client_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3, 1)).setIndexNames((0, 'BNET-ATM-ATOM-AUG-MIB', 'atmfAddressPort'), (0, 'BNET-ATM-ATOM-AUG-MIB', 'atmfAddressAtmAddress')) if mibBuilder.loadTexts: atmfAddressClientEntry.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressClientEntry.setDescription('An entry with information about an ATM client.') atmf_address_port = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atmfAddressPort.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressPort.setDescription(' Uni Port ') atmf_address_atm_address = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3, 1, 2), atm_addr()).setMaxAccess('readonly') if mibBuilder.loadTexts: atmfAddressAtmAddress.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressAtmAddress.setDescription('ATM Address') atmf_address_client_type = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))).clone(namedValues=named_values(('other', 1), ('cnTurbo', 2), ('cnCircuitSaver', 3), ('laneTurbo', 4), ('laneCircuitSaver', 5), ('external', 6), ('les', 7), ('bus', 8), ('les-bus', 9), ('lecs', 10), ('spvc', 11))).clone('external')).setMaxAccess('readonly') if mibBuilder.loadTexts: atmfAddressClientType.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressClientType.setDescription('Indicates the type of client.') atmf_address_client_call_count = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 3, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atmfAddressClientCallCount.setStatus('mandatory') if mibBuilder.loadTexts: atmfAddressClientCallCount.setDescription('Indicates number of calls currently up, which involve this particular client address.') bnet_atm_soft_p_vcc_extn_table = mib_table((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 4)) if mibBuilder.loadTexts: bnetAtmSoftPVccExtnTable.setStatus('mandatory') if mibBuilder.loadTexts: bnetAtmSoftPVccExtnTable.setDescription('The table used to maintain Soft Permanent Virtual Channel Connection (Soft PVCCs) circuit ids. The Soft PVCC table is applicable only to switches.') bnet_atm_soft_p_vcc_extn_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 4, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'ATM-MIB', 'atmVclVpi'), (0, 'ATM-MIB', 'atmVclVci'), (0, 'ATM-SOFT-PVC-MIB', 'atmSoftPVccLeafReference')) if mibBuilder.loadTexts: bnetAtmSoftPVccExtnEntry.setStatus('mandatory') if mibBuilder.loadTexts: bnetAtmSoftPVccExtnEntry.setDescription('Each entry in this table represents the circuit id of a Soft Permanent Virtual Channel Connection (Soft PVCC).') bnet_atm_soft_p_vcc_circuit_id = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 14, 3, 4, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bnetAtmSoftPVccCircuitId.setStatus('mandatory') if mibBuilder.loadTexts: bnetAtmSoftPVccCircuitId.setDescription('This is the circuit id for a Soft PVCC.') mibBuilder.exportSymbols('BNET-ATM-ATOM-AUG-MIB', atmfAddressClientType=atmfAddressClientType, bnetAtmSoftPVccCircuitId=bnetAtmSoftPVccCircuitId, bnetAtmDeviceAtmAddr=bnetAtmDeviceAtmAddr, bnetAtmSoftPVccExtnEntry=bnetAtmSoftPVccExtnEntry, bnetAtmAug=bnetAtmAug, bnetAtmSoftPVccExtnTable=bnetAtmSoftPVccExtnTable, atmfAddressClientTable=atmfAddressClientTable, atmfAddressPort=atmfAddressPort, atmfAddressClientCallCount=atmfAddressClientCallCount, atmfAddressAtmAddress=atmfAddressAtmAddress, bnetAtmLearnAddrs=bnetAtmLearnAddrs, atmfAddressClientEntry=atmfAddressClientEntry)
UP_KEY = 16777235 DOWN_KEY = 16777237 TAB_KEY = 16777217
up_key = 16777235 down_key = 16777237 tab_key = 16777217
#author Kollen Gruizenga #function to return all words in list L who start with letter "let" def beginWith(L, let): result = [] for x in L: if (x[0] == let): result += [x] return result
def begin_with(L, let): result = [] for x in L: if x[0] == let: result += [x] return result
#!/usr/bin/env python3 """ Check if a given number is a prime number """ def prime_checker(number): if number <= 1: return False for i in range(2, number - 1): if number % i == 0: # not reminder, is not a prime return False return True n = int(input("Check this number: ")) result = prime_checker(number=n) print(result)
""" Check if a given number is a prime number """ def prime_checker(number): if number <= 1: return False for i in range(2, number - 1): if number % i == 0: return False return True n = int(input('Check this number: ')) result = prime_checker(number=n) print(result)
CAMPAIGN_INCIDENT_CONTEXT = { "EmailCampaign": { "firstIncidentDate": "2021-11-21T14:00:07.425185+00:00", "incidents": [ { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example.com", "id": "1", "name": "Verify your example account 798", "occurred": "2021-11-21T14:00:07.119800133Z", "recipients": [ "victim-test6@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 0, "similarity": 1, "status": 1 }, { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example2.com", "id": "2", "name": "Verify your example account 798", "occurred": "2021-11-21T14:59:01.690685509Z", "recipients": [ "victim-test1@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 0, "similarity": 0.9999999999999999, "status": 1 }, { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example.com", "id": "3", "name": "Verify your example account 798", "occurred": "2021-11-21T15:00:07.425185504Z", "recipients": [ "victim-test7@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 3, "similarity": 1, "status": 1 } ], "indicators": [ { "id": "1263", "value": "http://www.example.com" } ], "involvedIncidentsCount": 3, "isCampaignFound": True }, "ExistingCampaignID": [ "809" ] } NEW_INCIDENT_CONTEXT = { "EmailCampaign": { "firstIncidentDate": "2021-11-21T14:00:07.425185+00:00", "incidents": [ { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example.com", "id": "5", "name": "Verify your example account 798", "occurred": "2021-11-21T15:01:07.119800133Z", "recipients": [ "victim-test6@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 0, "similarity": 1, "status": 1 }, { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example.com", "id": "1", "name": "Verify your example account 798", "occurred": "2021-11-21T14:00:07.119800133Z", "recipients": [ "victim-test6@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 0, "similarity": 0.99, "status": 1 }, { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example2.com", "id": "2", "name": "Verify your example account 798", "occurred": "2021-11-21T14:59:01.690685509Z", "recipients": [ "victim-test1@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 0, "similarity": 0.98, "status": 1 }, { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example.com", "id": "3", "name": "Verify your example account 798", "occurred": "2021-11-21T15:00:07.425185504Z", "recipients": [ "victim-test7@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 3, "similarity": 0.85, "status": 1 } ], "indicators": [ { "id": "1263", "value": "http://www.example.com" } ], "involvedIncidentsCount": 4, "isCampaignFound": True }, "ExistingCampaignID": [ "809" ] } NEW_INCIDENT_2_CONTEXT = { "EmailCampaign": { "firstIncidentDate": "2021-11-21T14:00:07.425185+00:00", "incidents": [ { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example.com", "id": "4", "name": "Verify your example account 798", "occurred": "2021-11-21T16:00:00.119800133Z", "recipients": [ "victim-test6@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 0, "similarity": 1, "status": 1 }, { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example.com", "id": "1", "name": "Verify your example account 798", "occurred": "2021-11-21T14:00:07.119800133Z", "recipients": [ "victim-test6@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 0, "similarity": 0.98, "status": 1 }, { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example2.com", "id": "2", "name": "Verify your example account 798", "occurred": "2021-11-21T14:59:01.690685509Z", "recipients": [ "victim-test1@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 0, "similarity": 0.97, "status": 1 }, { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example.com", "id": "3", "name": "Verify your example account 798", "occurred": "2021-11-21T15:00:07.425185504Z", "recipients": [ "victim-test7@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 3, "similarity": 0.86, "status": 1 } ], "indicators": [ { "id": "1263", "value": "http://www.example.com" } ], "involvedIncidentsCount": 4, "isCampaignFound": True }, "ExistingCampaignID": [ "809" ] } OLD_INCIDENT_CONTEXT = { "EmailCampaign": { "firstIncidentDate": "2021-11-21T14:00:07.425185+00:00", "incidents": [ { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example.com", "id": "1", "name": "Verify your example account 798", "occurred": "2021-11-21T14:00:07.119800133Z", "recipients": [ "victim-test6@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 0, "similarity": 1, "status": 1 }, { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example2.com", "id": "2", "name": "Verify your example account 798", "occurred": "2021-11-21T14:59:01.690685509Z", "recipients": [ "victim-test1@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 0, "similarity": 0.9999999999999999, "status": 1 }, { "emailfrom": "examplesupport@example2.com", "emailfromdomain": "example.com", "id": "3", "name": "Verify your example account 798", "occurred": "2021-11-21T15:00:07.425185504Z", "recipients": [ "victim-test7@demistodev.onmicrosoft.com" ], "recipientsdomain": [ "onmicrosoft.com" ], "severity": 3, "similarity": 1, "status": 1 } ], "indicators": [ { "id": "1263", "value": "http://www.example.com" } ], "involvedIncidentsCount": 3, "isCampaignFound": True }, "ExistingCampaignID": [ "809" ] } NEW_EMPTY_CAMPAIGN = {} INCIDENTS_BY_ID = {'0': CAMPAIGN_INCIDENT_CONTEXT, '1': NEW_EMPTY_CAMPAIGN, '3': OLD_INCIDENT_CONTEXT, '4': NEW_INCIDENT_2_CONTEXT, '5': NEW_INCIDENT_CONTEXT}
campaign_incident_context = {'EmailCampaign': {'firstIncidentDate': '2021-11-21T14:00:07.425185+00:00', 'incidents': [{'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example.com', 'id': '1', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T14:00:07.119800133Z', 'recipients': ['victim-test6@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 0, 'similarity': 1, 'status': 1}, {'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example2.com', 'id': '2', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T14:59:01.690685509Z', 'recipients': ['victim-test1@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 0, 'similarity': 0.9999999999999999, 'status': 1}, {'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example.com', 'id': '3', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T15:00:07.425185504Z', 'recipients': ['victim-test7@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 3, 'similarity': 1, 'status': 1}], 'indicators': [{'id': '1263', 'value': 'http://www.example.com'}], 'involvedIncidentsCount': 3, 'isCampaignFound': True}, 'ExistingCampaignID': ['809']} new_incident_context = {'EmailCampaign': {'firstIncidentDate': '2021-11-21T14:00:07.425185+00:00', 'incidents': [{'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example.com', 'id': '5', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T15:01:07.119800133Z', 'recipients': ['victim-test6@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 0, 'similarity': 1, 'status': 1}, {'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example.com', 'id': '1', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T14:00:07.119800133Z', 'recipients': ['victim-test6@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 0, 'similarity': 0.99, 'status': 1}, {'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example2.com', 'id': '2', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T14:59:01.690685509Z', 'recipients': ['victim-test1@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 0, 'similarity': 0.98, 'status': 1}, {'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example.com', 'id': '3', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T15:00:07.425185504Z', 'recipients': ['victim-test7@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 3, 'similarity': 0.85, 'status': 1}], 'indicators': [{'id': '1263', 'value': 'http://www.example.com'}], 'involvedIncidentsCount': 4, 'isCampaignFound': True}, 'ExistingCampaignID': ['809']} new_incident_2_context = {'EmailCampaign': {'firstIncidentDate': '2021-11-21T14:00:07.425185+00:00', 'incidents': [{'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example.com', 'id': '4', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T16:00:00.119800133Z', 'recipients': ['victim-test6@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 0, 'similarity': 1, 'status': 1}, {'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example.com', 'id': '1', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T14:00:07.119800133Z', 'recipients': ['victim-test6@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 0, 'similarity': 0.98, 'status': 1}, {'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example2.com', 'id': '2', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T14:59:01.690685509Z', 'recipients': ['victim-test1@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 0, 'similarity': 0.97, 'status': 1}, {'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example.com', 'id': '3', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T15:00:07.425185504Z', 'recipients': ['victim-test7@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 3, 'similarity': 0.86, 'status': 1}], 'indicators': [{'id': '1263', 'value': 'http://www.example.com'}], 'involvedIncidentsCount': 4, 'isCampaignFound': True}, 'ExistingCampaignID': ['809']} old_incident_context = {'EmailCampaign': {'firstIncidentDate': '2021-11-21T14:00:07.425185+00:00', 'incidents': [{'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example.com', 'id': '1', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T14:00:07.119800133Z', 'recipients': ['victim-test6@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 0, 'similarity': 1, 'status': 1}, {'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example2.com', 'id': '2', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T14:59:01.690685509Z', 'recipients': ['victim-test1@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 0, 'similarity': 0.9999999999999999, 'status': 1}, {'emailfrom': 'examplesupport@example2.com', 'emailfromdomain': 'example.com', 'id': '3', 'name': 'Verify your example account 798', 'occurred': '2021-11-21T15:00:07.425185504Z', 'recipients': ['victim-test7@demistodev.onmicrosoft.com'], 'recipientsdomain': ['onmicrosoft.com'], 'severity': 3, 'similarity': 1, 'status': 1}], 'indicators': [{'id': '1263', 'value': 'http://www.example.com'}], 'involvedIncidentsCount': 3, 'isCampaignFound': True}, 'ExistingCampaignID': ['809']} new_empty_campaign = {} incidents_by_id = {'0': CAMPAIGN_INCIDENT_CONTEXT, '1': NEW_EMPTY_CAMPAIGN, '3': OLD_INCIDENT_CONTEXT, '4': NEW_INCIDENT_2_CONTEXT, '5': NEW_INCIDENT_CONTEXT}
''' Class to represent plant care. ''' class Plant_Care: ''' General representation of abstract plant care. ''' def __init__(self, times_monthly=2, plant_type='Cacti', soil_moisutre='Arid'): self.times_monthly = times_monthly self.plant_type = plant_type self.soil_moisture = soil_moisutre def print_times_monthly(self): ''' Print how many times you should water monthly. ''' print('water {} times monthly'.format(self.times_monthly)) def what_soil(self): ''' Print what type of soil you have ''' print('The soil type is {}'.format(self.soil_moisture))
""" Class to represent plant care. """ class Plant_Care: """ General representation of abstract plant care. """ def __init__(self, times_monthly=2, plant_type='Cacti', soil_moisutre='Arid'): self.times_monthly = times_monthly self.plant_type = plant_type self.soil_moisture = soil_moisutre def print_times_monthly(self): """ Print how many times you should water monthly. """ print('water {} times monthly'.format(self.times_monthly)) def what_soil(self): """ Print what type of soil you have """ print('The soil type is {}'.format(self.soil_moisture))
# Defaults ansi_colors = """ RESTORE=$(echo -en '\033[0m') RED=$(echo -en '\033[00;31m') GREEN=$(echo -en '\033[00;32m') YELLOW=$(echo -en '\033[00;33m') BLUE=$(echo -en '\033[00;34m') MAGENTA=$(echo -en '\033[00;35m') PURPLE=$(echo -en '\033[00;35m') CYAN=$(echo -en '\033[00;36m') LIGHTGRAY=$(echo -en '\033[00;37m') """ logging_format = "[%(asctime)s] {%(pathname)s:%(lineno)d} %(levelname)s - %(message)s" def reindent(s, numSpaces): """Remove leading spaces from string see: Python Cookbook by David Ascher, Alex Martelli""" s = s.split('\n') s = [(numSpaces * ' ') + line.lstrip() for line in s] s = '\n'.join(s) return s class Struct: def __init__(self, **entries): self.__dict__.update(entries) def get(self, _key): return self.__dict__.get(_key)
ansi_colors = "\nRESTORE=$(echo -en '\x1b[0m')\nRED=$(echo -en '\x1b[00;31m')\nGREEN=$(echo -en '\x1b[00;32m')\nYELLOW=$(echo -en '\x1b[00;33m')\nBLUE=$(echo -en '\x1b[00;34m')\nMAGENTA=$(echo -en '\x1b[00;35m')\nPURPLE=$(echo -en '\x1b[00;35m')\nCYAN=$(echo -en '\x1b[00;36m')\nLIGHTGRAY=$(echo -en '\x1b[00;37m')\n" logging_format = '[%(asctime)s] {%(pathname)s:%(lineno)d} %(levelname)s - %(message)s' def reindent(s, numSpaces): """Remove leading spaces from string see: Python Cookbook by David Ascher, Alex Martelli""" s = s.split('\n') s = [numSpaces * ' ' + line.lstrip() for line in s] s = '\n'.join(s) return s class Struct: def __init__(self, **entries): self.__dict__.update(entries) def get(self, _key): return self.__dict__.get(_key)
# # PySNMP MIB module NTWS-AP-CONFIG-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NTWS-AP-CONFIG-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:25:33 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") ValueSizeConstraint, SingleValueConstraint, ConstraintsUnion, ConstraintsIntersection, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint") NtwsChannelNum, NtwsApFingerprint, NtwsApSerialNum, NtwsApRadioIndex, NtwsApPowerMode, NtwsApLedMode, NtwsPowerLevel, NtwsRadioMode, NtwsRadioAntennaLocation, NtwsRadioType, NtwsRadioChannelWidth, NtwsApBias, NtwsApNum, NtwsApAttachType = mibBuilder.importSymbols("NTWS-AP-TC", "NtwsChannelNum", "NtwsApFingerprint", "NtwsApSerialNum", "NtwsApRadioIndex", "NtwsApPowerMode", "NtwsApLedMode", "NtwsPowerLevel", "NtwsRadioMode", "NtwsRadioAntennaLocation", "NtwsRadioType", "NtwsRadioChannelWidth", "NtwsApBias", "NtwsApNum", "NtwsApAttachType") NtwsPhysPortNumberOrZero, = mibBuilder.importSymbols("NTWS-BASIC-TC", "NtwsPhysPortNumberOrZero") ntwsMibs, = mibBuilder.importSymbols("NTWS-ROOT-MIB", "ntwsMibs") NotificationGroup, ObjectGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup", "ModuleCompliance") MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, Counter64, ObjectIdentity, Gauge32, Unsigned32, NotificationType, Counter32, Integer32, MibIdentifier, TimeTicks, Bits, ModuleIdentity, iso = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "Counter64", "ObjectIdentity", "Gauge32", "Unsigned32", "NotificationType", "Counter32", "Integer32", "MibIdentifier", "TimeTicks", "Bits", "ModuleIdentity", "iso") RowStatus, TruthValue, DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TruthValue", "DisplayString", "TextualConvention") ntwsApConfigMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14)) ntwsApConfigMib.setRevisions(('2009-11-19 01:08',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ntwsApConfigMib.setRevisionsDescriptions(('v1.0.8: Initial version',)) if mibBuilder.loadTexts: ntwsApConfigMib.setLastUpdated('200911190108Z') if mibBuilder.loadTexts: ntwsApConfigMib.setOrganization('Nortel Networks') if mibBuilder.loadTexts: ntwsApConfigMib.setContactInfo('www.nortelnetworks.com') if mibBuilder.loadTexts: ntwsApConfigMib.setDescription("AP Configuration objects for Nortel Networks wireless switches. AP = Access Point; AC = Access Controller (wireless switch), the device that runs a SNMP Agent implementing this MIB. Copyright 2009 Nortel Networks. All rights reserved. This Nortel Networks SNMP Management Information Base Specification (Specification) embodies Nortel Networks' confidential and proprietary intellectual property. This Specification is supplied 'AS IS' and Nortel Networks makes no warranty, either express or implied, as to the use, operation, condition, or performance of the Specification.") class NtwsApTemplateName(TextualConvention, OctetString): description = 'AP Template Name, consists of printable ASCII characters between 0x21 (!), and 0x7d (}) with no leading, embedded, or trailing space. Cannot be a zero length string.' status = 'current' displayHint = '255a' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(1, 32) class NtwsRadioProfileName(TextualConvention, OctetString): description = 'Radio Profile Name, consists of printable ASCII characters between 0x21 (!), and 0x7d (}) with no leading, embedded, or trailing space. Cannot be a zero length string.' status = 'current' displayHint = '255a' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(1, 16) class NtwsServiceProfileName(TextualConvention, OctetString): description = 'Service Profile Name, consists of printable ASCII characters between 0x21 (!), and 0x7d (}) with no leading, embedded, or trailing space. Cannot be a zero length string.' status = 'current' displayHint = '255a' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(1, 32) class NtwsSnoopFilterName(TextualConvention, OctetString): description = 'Snoop Filter Name, consists of printable ASCII characters between 0x21 (!), and 0x7d (}) with no leading, embedded, or trailing space. Cannot be a zero length string.' status = 'current' displayHint = '255a' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(1, 15) class NtwsServiceProfileSsidType(TextualConvention, Integer32): description = 'Enumeration of Service Types provided on a service profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("clear", 1), ("crypto", 2)) class NtwsServiceProfile11nMode(TextualConvention, Integer32): description = 'Enumeration of 802.11n modes for a service profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3)) namedValues = NamedValues(("enable", 1), ("disable", 2), ("required", 3)) class NtwsServiceProfile11nFrameAggregationType(TextualConvention, Integer32): description = 'Enumeration of 802.11n frame aggregation types for a service profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4)) namedValues = NamedValues(("msdu", 1), ("mpdu", 2), ("all", 3), ("disable", 4)) class NtwsServiceProfile11nMsduMaxLength(TextualConvention, Integer32): description = 'Enumeration of 802.11n A-MSDU maximum lengths for a service profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("msdu-4k", 1), ("msdu-8k", 2)) class NtwsServiceProfile11nMpduMaxLength(TextualConvention, Integer32): description = 'Enumeration of 802.11n A-MPDU maximum lengths for a service profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4)) namedValues = NamedValues(("mpdu-8k", 1), ("mpdu-16k", 2), ("mpdu-32k", 3), ("mpdu-64k", 4)) class NtwsServiceProfileAuthFallthruType(TextualConvention, Integer32): description = 'Enumeration of Authentication Fallthrough types for a service profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4)) namedValues = NamedValues(("none", 1), ("web-auth", 2), ("web-aaa-portal", 3), ("last-resort", 4)) class NtwsServiceProfileCacMode(TextualConvention, Integer32): description = 'Enumeration of Call Admission Control types for a service profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3)) namedValues = NamedValues(("none", 1), ("session", 2), ("vendor", 3)) class NtwsRadioProfileCountermeasuresMode(TextualConvention, Integer32): description = 'Enumeration of the Countermeasure modes for a radio profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4)) namedValues = NamedValues(("none", 1), ("all", 2), ("rogue", 3), ("configured", 4)) class NtwsRadioProfileRFScanChannelScope(TextualConvention, Integer32): description = 'Enumeration of RF scanning channel scopes for a radio profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3)) namedValues = NamedValues(("operating", 1), ("regulatory", 2), ("all", 3)) class NtwsRadioProfileAutoTuneChannelRange(TextualConvention, Integer32): description = 'Enumeration of Auto-Tune channel ranges for a radio profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("all-bands", 1), ("lower-bands", 2)) class NtwsRadioProfileRFScanMode(TextualConvention, Integer32): description = 'Enumeration of RF scanning modes for a radio profile.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("active", 1), ("passive", 2)) ntwsApConfigMibObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1)) ntwsApConfApConfigTable = MibTable((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2), ) if mibBuilder.loadTexts: ntwsApConfApConfigTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigTable.setDescription('A table describing all the APs currently configured on this AC.') ntwsApConfApConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1), ).setIndexNames((0, "NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigApNum")) if mibBuilder.loadTexts: ntwsApConfApConfigEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigEntry.setDescription('Configuration for a particular AP that could be attached to the AC.') ntwsApConfApConfigApNum = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 1), NtwsApNum()) if mibBuilder.loadTexts: ntwsApConfApConfigApNum.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApNum.setDescription('The Number of this AP (administratively assigned).') ntwsApConfApConfigApAttachType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 2), NtwsApAttachType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigApAttachType.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApAttachType.setDescription('How this AP is attached to the AC (directly or via L2/L3 network).') ntwsApConfApConfigPhysPortNum = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 3), NtwsPhysPortNumberOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigPhysPortNum.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigPhysPortNum.setDescription('Identifies the physical port used to attach this AP. Only valid for directly attached APs, otherwise will be zero.') ntwsApConfApConfigApSerialNum = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 4), NtwsApSerialNum()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigApSerialNum.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApSerialNum.setDescription('The Serial Number used to identify this AP. Only valid for network attached APs, otherwise will be a zero length string.') ntwsApConfApConfigApModelName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 24))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigApModelName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApModelName.setDescription('The Model name of this AP.') ntwsApConfApConfigFingerprint = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 6), NtwsApFingerprint()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigFingerprint.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigFingerprint.setDescription('The RSA key fingerprint configured on this AP (binary value: it is the MD5 hash of the public key of the RSA key pair). For directly attached APs the fingerprint is a zero length string.') ntwsApConfApConfigBias = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 7), NtwsApBias()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigBias.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigBias.setDescription('Bias (high/low/sticky).') ntwsApConfApConfigApTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigApTimeout.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApTimeout.setDescription('The communication timeout for this AP, in seconds.') ntwsApConfApConfigApName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigApName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApName.setDescription('The configured Name for this AP.') ntwsApConfApConfigContact = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigContact.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigContact.setDescription('The Contact information for this AP.') ntwsApConfApConfigLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigLocation.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigLocation.setDescription('The Location information for this AP.') ntwsApConfApConfigBlinkEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 12), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigBlinkEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigBlinkEnabled.setDescription('Indicates whether the LED blink mode is enabled on this AP.') ntwsApConfApConfigForceImageDownloadEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 13), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigForceImageDownloadEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigForceImageDownloadEnabled.setDescription('Indicates whether this AP is forced to always download an image from the AC upon boot.') ntwsApConfApConfigFirmwareUpgradeEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 14), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigFirmwareUpgradeEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigFirmwareUpgradeEnabled.setDescription('Indicates whether automatic boot firmware upgrade is enabled on this AP.') ntwsApConfApConfigLocalSwitchingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 15), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigLocalSwitchingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigLocalSwitchingEnabled.setDescription('Indicates whether local switching is enabled on this AP.') ntwsApConfApConfigPowerMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 16), NtwsApPowerMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigPowerMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigPowerMode.setDescription('The mode in which this AP is supplying power to its radios.') ntwsApConfApConfigLedMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 17), NtwsApLedMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigLedMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigLedMode.setDescription('LED Mode (auto/static/off).') ntwsApConfApConfigDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 18), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApConfigDescription.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigDescription.setDescription('The configured Description for this AP.') ntwsApConfRadioConfigTable = MibTable((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3), ) if mibBuilder.loadTexts: ntwsApConfRadioConfigTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigTable.setDescription('A table describing the radios on all the APs currently configured on this AC.') ntwsApConfRadioConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1), ).setIndexNames((0, "NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigApNum"), (0, "NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigRadioIndex")) if mibBuilder.loadTexts: ntwsApConfRadioConfigEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigEntry.setDescription('Configuration for a particular Radio on a particular AP that could be attached to the AC.') ntwsApConfRadioConfigApNum = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 1), NtwsApNum()) if mibBuilder.loadTexts: ntwsApConfRadioConfigApNum.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigApNum.setDescription('The Number of the AP (administratively assigned).') ntwsApConfRadioConfigRadioIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 2), NtwsApRadioIndex()) if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioIndex.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioIndex.setDescription('The number of this Radio on the AP.') ntwsApConfRadioConfigRadioType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 3), NtwsRadioType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioType.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioType.setDescription('The configured Type of this radio (typeA, typeB, typeG, typeNA, typeNG)') ntwsApConfRadioConfigRadioMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 4), NtwsRadioMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioMode.setDescription('The configured Mode of this radio (enabled/disabled/sentry)') ntwsApConfRadioConfigRadioProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 5), NtwsRadioProfileName()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioProfileName.setDescription('Identifies the Radio Profile to be applied to this radio') ntwsApConfRadioConfigChannel = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 6), NtwsChannelNum()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigChannel.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigChannel.setDescription('The configured Channel Number of this radio.') ntwsApConfRadioConfigTxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 7), NtwsPowerLevel()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigTxPower.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigTxPower.setDescription('The configured Tx Power level of this radio.') ntwsApConfRadioConfigAutoTuneMaxTxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 8), NtwsPowerLevel()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigAutoTuneMaxTxPower.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigAutoTuneMaxTxPower.setDescription('The Maximum Tx Power that Auto Tune is allowed to set for this radio.') ntwsApConfRadioConfigAntennaType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigAntennaType.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigAntennaType.setDescription('The configured Antenna Type for this radio.') ntwsApConfRadioConfigAntennaLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 10), NtwsRadioAntennaLocation()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigAntennaLocation.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigAntennaLocation.setDescription('The configured Antenna Location for this radio.') ntwsApConfRadioConfigLoadBalancingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 11), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadBalancingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadBalancingEnabled.setDescription('Indicates whether RF Load Balancing is enabled on this radio.') ntwsApConfRadioConfigLoadBalancingGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadBalancingGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadBalancingGroup.setDescription('Indicates the RF Load Balancing group that this radio is assigned to.') ntwsApConfRadioConfigLoadRebalancingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 13), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadRebalancingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadRebalancingEnabled.setDescription('Indicates whether RF Load Rebalancing is enabled for this radio.') ntwsApConfApTemplateConfigTable = MibTable((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4), ) if mibBuilder.loadTexts: ntwsApConfApTemplateConfigTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateConfigTable.setDescription('A table describing all the AP Templates currently configured on this AC.') ntwsApConfApTemplateConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1), ).setIndexNames((0, "NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplConfApTemplateName")) if mibBuilder.loadTexts: ntwsApConfApTemplateConfigEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateConfigEntry.setDescription('Template configuration for APs that could be attached to the AC.') ntwsApConfApTemplConfApTemplateName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 1), NtwsApTemplateName()) if mibBuilder.loadTexts: ntwsApConfApTemplConfApTemplateName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfApTemplateName.setDescription('AP Template Name.') ntwsApConfApTemplConfApTemplateEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemplConfApTemplateEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfApTemplateEnabled.setDescription('Indicates whether this AP Template is Enabled (can be used for bringing up APs).') ntwsApConfApTemplConfBias = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 3), NtwsApBias()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemplConfBias.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfBias.setDescription('Bias (high/low/sticky).') ntwsApConfApTemplConfApTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemplConfApTimeout.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfApTimeout.setDescription('The communication timeout for this AP Template, in seconds.') ntwsApConfApTemplConfBlinkEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 5), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemplConfBlinkEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfBlinkEnabled.setDescription('Indicates whether the LED blink mode is enabled on this AP Template.') ntwsApConfApTemplConfForceImageDownloadEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemplConfForceImageDownloadEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfForceImageDownloadEnabled.setDescription('Indicates whether this AP is forced to always download an image from the AC upon boot.') ntwsApConfApTemplConfFirmwareUpgradeEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 7), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemplConfFirmwareUpgradeEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfFirmwareUpgradeEnabled.setDescription('Indicates whether automatic boot firmware upgrade is enabled on this AP Template.') ntwsApConfApTemplConfLocalSwitchingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemplConfLocalSwitchingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfLocalSwitchingEnabled.setDescription('Indicates whether local switching is enabled on this AP Template.') ntwsApConfApTemplConfPowerMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 9), NtwsApPowerMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemplConfPowerMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfPowerMode.setDescription('The mode in which an AP using this Template will be supplying power to its radios.') ntwsApConfApTemplConfLedMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 10), NtwsApLedMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemplConfLedMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfLedMode.setDescription('The LED Mode (auto/static/off) for an AP using this Template.') ntwsApConfApTemplateRadioConfigTable = MibTable((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5), ) if mibBuilder.loadTexts: ntwsApConfApTemplateRadioConfigTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateRadioConfigTable.setDescription('A table describing the radios for all the AP Templates currently configured on this AC.') ntwsApConfApTemplateRadioConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1), ).setIndexNames((0, "NTWS-AP-CONFIG-MIB", "ntwsApConfApTemRadioConfApTemplateName"), (0, "NTWS-AP-CONFIG-MIB", "ntwsApConfApTemRadioConfRadioIndex")) if mibBuilder.loadTexts: ntwsApConfApTemplateRadioConfigEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateRadioConfigEntry.setDescription('Template configuration for a particular Radio index on an AP Template configured on this AC.') ntwsApConfApTemRadioConfApTemplateName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 1), NtwsApTemplateName()) if mibBuilder.loadTexts: ntwsApConfApTemRadioConfApTemplateName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfApTemplateName.setDescription('AP Template Name.') ntwsApConfApTemRadioConfRadioIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 2), NtwsApRadioIndex()) if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioIndex.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioIndex.setDescription('The number of this Radio on the AP Template.') ntwsApConfApTemRadioConfRadioMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 3), NtwsRadioMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioMode.setDescription('The configured mode of a radio using this Template (enabled/disabled/sentry)') ntwsApConfApTemRadioConfRadioProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 4), NtwsRadioProfileName()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioProfileName.setDescription('Identifies the Radio Profile to be applied to a radio using this Template') ntwsApConfApTemRadioConfAutoTuneMaxTxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 5), NtwsPowerLevel()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemRadioConfAutoTuneMaxTxPower.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfAutoTuneMaxTxPower.setDescription('The Maximum Tx Power that Auto Tune will be allowed to set for a radio using this Template.') ntwsApConfApTemRadioConfLoadBalancingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadBalancingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadBalancingEnabled.setDescription('Indicates whether RF Load Balancing will be enabled on a radio using this Template.') ntwsApConfApTemRadioConfLoadBalancingGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadBalancingGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadBalancingGroup.setDescription('Indicates the RF Load Balancing group that a radio using this Template will be assigned to.') ntwsApConfApTemRadioConfLoadRebalancingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 8), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadRebalancingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadRebalancingEnabled.setDescription('Indicates whether RF Load Rebalancing will be enabled for a radio using this Template.') ntwsApConfRadioProfileTable = MibTable((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6), ) if mibBuilder.loadTexts: ntwsApConfRadioProfileTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfileTable.setDescription('A table describing the Radio Profiles currently configured on this AC.') ntwsApConfRadioProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1), ).setIndexNames((0, "NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfRadioProfileName")) if mibBuilder.loadTexts: ntwsApConfRadioProfileEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfileEntry.setDescription('Configuration for a particular Radio Profile.') ntwsApConfRadioProfRadioProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 1), NtwsRadioProfileName()) if mibBuilder.loadTexts: ntwsApConfRadioProfRadioProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRadioProfileName.setDescription('Name of this radio profile.') ntwsApConfRadioProfBeaconInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfBeaconInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfBeaconInterval.setDescription('Beacon Interval, time in thousandths of a second, for this radio profile.') ntwsApConfRadioProfDtimInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfDtimInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfDtimInterval.setDescription('The number of times after every beacon that each AP radio in a radio profile sends a delivery traffic indication map (DTIM), for the AP radios using this radio profile.') ntwsApConfRadioProfChannelWidth11na = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 4), NtwsRadioChannelWidth()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfChannelWidth11na.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfChannelWidth11na.setDescription('802.11n Channel Width for the AP radios using this radio profile.') ntwsApConfRadioProfMaxTxLifetime = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfMaxTxLifetime.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfMaxTxLifetime.setDescription('The maximum transmit threshold for the AP radios using this radio profile.') ntwsApConfRadioProfMaxRxLifetime = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfMaxRxLifetime.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfMaxRxLifetime.setDescription('The maximum receive threshold for the AP radios using this radio profile.') ntwsApConfRadioProfRtsThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfRtsThreshold.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRtsThreshold.setDescription('The RTS threshold for the AP radios using this radio profile.') ntwsApConfRadioProfFragThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfFragThreshold.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfFragThreshold.setDescription('The fragmentation threshold for the AP radios using this radio profile.') ntwsApConfRadioProfLongXmitPreambleEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 9), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfLongXmitPreambleEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfLongXmitPreambleEnabled.setDescription('Indicates whether an 802.11b/g AP radio using this radio profile transmits Long Preamble.') ntwsApConfRadioProfCountermeasuresMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 10), NtwsRadioProfileCountermeasuresMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCountermeasuresMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCountermeasuresMode.setDescription('Countermeasures Mode for the AP radios using this radio profile.') ntwsApConfRadioProfRFScanMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 11), NtwsRadioProfileRFScanMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanMode.setDescription('RF Scanning Mode for the AP radios using this radio profile.') ntwsApConfRadioProfRFScanChannelScope = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 12), NtwsRadioProfileRFScanChannelScope()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanChannelScope.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanChannelScope.setDescription('RF scanning Channel Scope for the AP radios using this radio profile.') ntwsApConfRadioProfRFScanCTSEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 13), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanCTSEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanCTSEnabled.setDescription('Indicates whether the AP radios using this radio profile send CTS To Self packet before going off channel.') ntwsApConfRadioProfAutoTune11aChannelRange = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 14), NtwsRadioProfileAutoTuneChannelRange()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTune11aChannelRange.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTune11aChannelRange.setDescription('The allowable 802.11a Channel Range used by Auto-Tune for the AP radios using this radio profile.') ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 15), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled.setDescription('Indicates whether the AP radios using this radio profile Ignore Client connections in Auto-Tune channel selections.') ntwsApConfRadioProfAutoTuneChannelEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 16), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelEnabled.setDescription('Indicates whether Channel Auto-Tuning is enabled for the AP radios using this radio profile.') ntwsApConfRadioProfAutoTuneChannelHolddownInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 17), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelHolddownInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelHolddownInterval.setDescription('Minimum Interval (in seconds) between Channel changes due to Auto-Tuning, for the AP radios using this radio profile.') ntwsApConfRadioProfAutoTuneChannelChangeInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 18), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelChangeInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelChangeInterval.setDescription('The interval (in seconds) at which RF Auto-Tuning decides whether to Change the Channel for the AP radios using this radio profile.') ntwsApConfRadioProfAutoTunePowerEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 19), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerEnabled.setDescription('Indicates whether Power Auto-Tuning is enabled for the AP radios using this radio profile.') ntwsApConfRadioProfAutoTunePowerRampInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 20), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerRampInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerRampInterval.setDescription('Minimum Interval (in seconds) between Power changes due to Auto-Tuning, for the AP radios using this radio profile.') ntwsApConfRadioProfAutoTunePowerChangeInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 21), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerChangeInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerChangeInterval.setDescription('The interval (in seconds) at which RF Auto-Tuning decides whether to Change the Power for the AP radios using this radio profile.') ntwsApConfRadioProfFairQueuingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 22), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfFairQueuingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfFairQueuingEnabled.setDescription('Indicates whether weighted Fair Queuing is enabled for this radio profile.') ntwsApConfRadioProfCacBackgroundACMandatory = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 23), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundACMandatory.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundACMandatory.setDescription('Indicates whether Admission Control for Background traffic is Mandatory for the AP radios using this radio profile.') ntwsApConfRadioProfCacBackgroundMaxUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 24), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundMaxUtilization.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundMaxUtilization.setDescription('Maximum admission control limit for Background traffic, for the AP radios using this radio profile.') ntwsApConfRadioProfCacBackgroundPolicingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 25), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundPolicingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundPolicingEnabled.setDescription('Indicates that admission control Policing for Background traffic is enabled, for the AP radios using this radio profile.') ntwsApConfRadioProfCacBestEffortACMandatory = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 26), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortACMandatory.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortACMandatory.setDescription('Indicates that Admission Control for Best Effort traffic is Mandatory for the AP radios using this radio profile.') ntwsApConfRadioProfCacBestEffortMaxUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 27), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortMaxUtilization.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortMaxUtilization.setDescription('Maximum admission control limit for Best Effort traffic, for the AP radios using this radio profile.') ntwsApConfRadioProfCacBestEffortPolicingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 28), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortPolicingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortPolicingEnabled.setDescription('Indicates that admission control Policing for Best Effort traffic is enabled, for the AP radios using this radio profile.') ntwsApConfRadioProfCacVideoACMandatory = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 29), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoACMandatory.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoACMandatory.setDescription('Indicates that Admission Control for Video traffic is Mandatory for the AP radios using this radio profile.') ntwsApConfRadioProfCacVideoMaxUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 30), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoMaxUtilization.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoMaxUtilization.setDescription('Maximum admission control limit for Video traffic, for the AP radios using this radio profile.') ntwsApConfRadioProfCacVideoPolicingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 31), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoPolicingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoPolicingEnabled.setDescription('Indicates that admission control Policing for Video traffic is enabled, for the AP radios using this radio profile.') ntwsApConfRadioProfCacVoiceACMandatory = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 32), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoiceACMandatory.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoiceACMandatory.setDescription('Indicates that Admission Control for Voice traffic is Mandatory for the AP radios using this radio profile.') ntwsApConfRadioProfCacVoiceMaxUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 33), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoiceMaxUtilization.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoiceMaxUtilization.setDescription('Maximum admission control limit for Voice traffic, for the AP radios using this radio profile.') ntwsApConfRadioProfCacVoicePolicingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 34), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoicePolicingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoicePolicingEnabled.setDescription('Indicates that admission control Policing for Voice traffic is enabled, for the AP radios using this radio profile.') ntwsApConfRadioProfRfidTagEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 35), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfRfidTagEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRfidTagEnabled.setDescription('Indicates whether an AP radio using this radio profile is enabled to function as location receivers in an AeroScout Visibility System.') ntwsApConfRadioProfWmmPowerSaveEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 36), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfWmmPowerSaveEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfWmmPowerSaveEnabled.setDescription('Indicates whether the AP radios using this radio profile enable power save mode on WMM clients.') ntwsApConfRadioProfRateEnforcementEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 37), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfRateEnforcementEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRateEnforcementEnabled.setDescription('Indicates whether data rates are enforced for the AP radios using this radio profile, which means that a connecting client must transmit at one of the mandatory or standard rates in order to associate with the AP.') ntwsApConfRadioProfDfsChannelsEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 38), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfRadioProfDfsChannelsEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfDfsChannelsEnabled.setDescription('Indicates that the AP radios using this radio profile use DFS channels to meet regulatory requirements.') ntwsApConfRadioProfServiceProfileTable = MibTable((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 7), ) if mibBuilder.loadTexts: ntwsApConfRadioProfServiceProfileTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfServiceProfileTable.setDescription('A table describing the currently configured connections between Radio Profiles and Service Profiles.') ntwsApConfRadioProfServiceProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 7, 1), ).setIndexNames((0, "NTWS-AP-CONFIG-MIB", "ntwsApConfRpServpRadioProfileName"), (0, "NTWS-AP-CONFIG-MIB", "ntwsApConfRpServpServiceProfileName")) if mibBuilder.loadTexts: ntwsApConfRadioProfServiceProfileEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfServiceProfileEntry.setDescription('Connection between a Radio Profile and a Service Profile, currently configured on the AC.') ntwsApConfRpServpRadioProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 7, 1, 1), NtwsRadioProfileName()) if mibBuilder.loadTexts: ntwsApConfRpServpRadioProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpServpRadioProfileName.setDescription('Name of this Radio Profile.') ntwsApConfRpServpServiceProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 7, 1, 2), NtwsServiceProfileName()) if mibBuilder.loadTexts: ntwsApConfRpServpServiceProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpServpServiceProfileName.setDescription('Name of a Service Profile connected to this Radio Profile.') ntwsApConfRpServpRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 7, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ntwsApConfRpServpRowStatus.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpServpRowStatus.setDescription("This object is used to create a new row or delete an existing row in this table. To create a row, set this object to 'createAndGo'. To delete a row, set this object to 'destroy'. Only these two values 'createAndGo' and 'destroy' will be accepted.") ntwsApConfRadioProfSnoopFilterTable = MibTable((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 8), ) if mibBuilder.loadTexts: ntwsApConfRadioProfSnoopFilterTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfSnoopFilterTable.setDescription('A table describing the currently configured connections between Radio Profiles and Snoop Filters.') ntwsApConfRadioProfSnoopFilterEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 8, 1), ).setIndexNames((0, "NTWS-AP-CONFIG-MIB", "ntwsApConfRpSnoopfRadioProfileName"), (0, "NTWS-AP-CONFIG-MIB", "ntwsApConfRpSnoopfSnoopFilterName")) if mibBuilder.loadTexts: ntwsApConfRadioProfSnoopFilterEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfSnoopFilterEntry.setDescription('Connection between a Radio Profile and a Snoop Filter, currently configured on the AC.') ntwsApConfRpSnoopfRadioProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 8, 1, 1), NtwsRadioProfileName()) if mibBuilder.loadTexts: ntwsApConfRpSnoopfRadioProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpSnoopfRadioProfileName.setDescription('Name of this Radio Profile.') ntwsApConfRpSnoopfSnoopFilterName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 8, 1, 2), NtwsSnoopFilterName()) if mibBuilder.loadTexts: ntwsApConfRpSnoopfSnoopFilterName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpSnoopfSnoopFilterName.setDescription('Name of a Snoop Filter connected to this Radio Profile.') ntwsApConfRpSnoopfRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 8, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: ntwsApConfRpSnoopfRowStatus.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpSnoopfRowStatus.setDescription("This object is used to create a new row or delete an existing row in this table. To create a row, set this object to 'createAndGo'. To delete a row, set this object to 'destroy'. Only these two values 'createAndGo' and 'destroy' will be accepted.") ntwsApConfServiceProfileTable = MibTable((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9), ) if mibBuilder.loadTexts: ntwsApConfServiceProfileTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServiceProfileTable.setDescription('A table describing the Service Profiles currently configured on this AC.') ntwsApConfServiceProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1), ).setIndexNames((0, "NTWS-AP-CONFIG-MIB", "ntwsApConfServProfServiceProfileName")) if mibBuilder.loadTexts: ntwsApConfServiceProfileEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServiceProfileEntry.setDescription('Configuration for a particular Service Profile.') ntwsApConfServProfServiceProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 1), NtwsServiceProfileName()) if mibBuilder.loadTexts: ntwsApConfServProfServiceProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfServiceProfileName.setDescription('Name of this service profile') ntwsApConfServProfSsidType = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 2), NtwsServiceProfileSsidType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfSsidType.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSsidType.setDescription('The type of this service profile (clear/crypto).') ntwsApConfServProfBeaconEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfBeaconEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfBeaconEnabled.setDescription('Indicates whether beacons are enabled for this service profile.') ntwsApConfServProf11naMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 4), NtwsServiceProfile11nMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProf11naMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11naMode.setDescription('Indicates the 802.11n (na) mode for this service profile.') ntwsApConfServProf11ngMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 5), NtwsServiceProfile11nMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProf11ngMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11ngMode.setDescription('Indicates the 802.11n (ng) mode for this service profile.') ntwsApConfServProf11nShortGuardIntervalEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProf11nShortGuardIntervalEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11nShortGuardIntervalEnabled.setDescription('Indicates whether short guard interval is enabled for this service profile.') ntwsApConfServProf11nFrameAggregation = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 7), NtwsServiceProfile11nFrameAggregationType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProf11nFrameAggregation.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11nFrameAggregation.setDescription('Indicates the Frame Aggregation mode for this service profile.') ntwsApConfServProf11nMsduMaxLength = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 8), NtwsServiceProfile11nMsduMaxLength()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProf11nMsduMaxLength.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11nMsduMaxLength.setDescription('The maximum MSDU length for this service profile.') ntwsApConfServProf11nMpduMaxLength = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 9), NtwsServiceProfile11nMpduMaxLength()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProf11nMpduMaxLength.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11nMpduMaxLength.setDescription('The maximum MPDU length for this service profile.') ntwsApConfServProfAuthFallthru = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 10), NtwsServiceProfileAuthFallthruType()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfAuthFallthru.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfAuthFallthru.setDescription('The authentication type to be attempted for users who do not match a 802.1X or MAC authentication rule, for this service profile.') ntwsApConfServProfWebAAAForm = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWebAAAForm.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWebAAAForm.setDescription('The custom login page that loads for WebAAA users, for this service profile.') ntwsApConfServProfSharedKeyAuthEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 12), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfSharedKeyAuthEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSharedKeyAuthEnabled.setDescription('Indicates whether shared-key authentication is enabled for this service profile.') ntwsApConfServProfWpaIeEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 13), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWpaIeEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeEnabled.setDescription('Indicates whether WPA IE beaconing is enabled for this service profile.') ntwsApConfServProfWpaIeCipherTkipEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 14), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherTkipEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherTkipEnabled.setDescription('Indicates whether TKIP cipher is advertised in WPA IE, for this service profile.') ntwsApConfServProfWpaIeCipherCcmpEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 15), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherCcmpEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherCcmpEnabled.setDescription('Indicates whether CCMP cipher is advertised in WPA IE, for this service profile.') ntwsApConfServProfWpaIeCipherWep40Enabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 16), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherWep40Enabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherWep40Enabled.setDescription('Indicates whether WEP-40 cipher is advertised in WPA IE, for this service profile.') ntwsApConfServProfWpaIeCipherWep104Enabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 17), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherWep104Enabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherWep104Enabled.setDescription('Indicates whether WEP-104 cipher is advertised in WPA IE, for this service profile.') ntwsApConfServProfWpaIeAuthDot1xEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 18), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWpaIeAuthDot1xEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeAuthDot1xEnabled.setDescription('Indicates whether 802.1X authentication is advertised in WPA IE, for this service profile.') ntwsApConfServProfWpaIeAuthPskEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 19), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWpaIeAuthPskEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeAuthPskEnabled.setDescription('Indicates whether Pre-Shared Key authentication is advertised in WPA IE, for this service profile.') ntwsApConfServProfRsnIeEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 20), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfRsnIeEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeEnabled.setDescription('Indicates whether RSN IE beaconing is enabled for this service profile.') ntwsApConfServProfRsnIeCipherTkipEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 21), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherTkipEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherTkipEnabled.setDescription('Indicates whether TKIP cipher is advertised in RSN IE, for this service profile.') ntwsApConfServProfRsnIeCipherCcmpEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 22), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherCcmpEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherCcmpEnabled.setDescription('Indicates whether CCMP cipher is advertised in RSN IE, for this service profile.') ntwsApConfServProfRsnIeCipherWep40Enabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 23), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherWep40Enabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherWep40Enabled.setDescription('Indicates whether WEP-40 cipher is advertised in RSN IE, for this service profile.') ntwsApConfServProfRsnIeCipherWep104Enabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 24), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherWep104Enabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherWep104Enabled.setDescription('Indicates whether WEP-104 cipher is advertised in RSN IE, for this service profile.') ntwsApConfServProfRsnIeAuthDot1xEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 25), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfRsnIeAuthDot1xEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeAuthDot1xEnabled.setDescription('Indicates whether 802.1X authentication is advertised in RSN IE, for this service profile.') ntwsApConfServProfRsnIeAuthPskEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 26), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfRsnIeAuthPskEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeAuthPskEnabled.setDescription('Indicates whether Pre-Shared Key authentication is advertised in RSN IE, for this service profile.') ntwsApConfServProfTkipMicCountermeasuresTime = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 27), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfTkipMicCountermeasuresTime.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfTkipMicCountermeasuresTime.setDescription('Indicates the TKIP MIC countermeasures time in milliseconds for this service profile. This is the length of time that AP radios use countermeasures if two Message Integrity Code (MIC) failures occur within 60 seconds.') ntwsApConfServProfMaxBandwidthKbps = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 28), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfMaxBandwidthKbps.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfMaxBandwidthKbps.setDescription('The bandwidth limit for this service profile, in Kbits/second. A value of zero means unlimited.') ntwsApConfServProfCacMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 29), NtwsServiceProfileCacMode()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfCacMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfCacMode.setDescription('The Call Admission Control (CAC) mode, for this service profile.') ntwsApConfServProfCacSessCount = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 30), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfCacSessCount.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfCacSessCount.setDescription('The maximum number of active sessions a radio can have when session-based CAC is enabled, for this service profile.') ntwsApConfServProfUserIdleTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 31), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfUserIdleTimeout.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfUserIdleTimeout.setDescription('The number of seconds MSS has a session available for a client not sending data and is not responding to keepalives (idle-client probes). If the timer expires, the client session is changed to the Dissociated state, for this service profile.') ntwsApConfServProfIdleClientProbingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 32), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfIdleClientProbingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfIdleClientProbingEnabled.setDescription('Indicates whether the AC radio sends a unicast null-data frame to each client every 10 seconds, for this service profile.') ntwsApConfServProfShortRetryCount = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 33), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfShortRetryCount.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfShortRetryCount.setDescription('The number of times a radio can send a short unicast frame without receiving an acknowledgment, for this service profile.') ntwsApConfServProfLongRetryCount = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 34), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfLongRetryCount.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfLongRetryCount.setDescription('The number of times a radio can send a long unicast frame without receiving an acknowledgment, for this service profile.') ntwsApConfServProfProxyArpEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 35), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfProxyArpEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfProxyArpEnabled.setDescription('Indicates whether proxy ARP is enabled for this service profile.') ntwsApConfServProfDhcpRestrictEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 36), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfDhcpRestrictEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfDhcpRestrictEnabled.setDescription('Indicates whether only DHCP traffic is allowed until a newly associated client has been authenticated and authorized, for this service profile.') ntwsApConfServProfNoBroadcastEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 37), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfNoBroadcastEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfNoBroadcastEnabled.setDescription('Indicates whether broadcast ARP and DHCP packets are converted to unicast for this service profile.') ntwsApConfServProfSygateOnDemandEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 38), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfSygateOnDemandEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSygateOnDemandEnabled.setDescription('Indicates whether Sygate On-Demand Manager (SODA Manager) is enabled for this service profile.') ntwsApConfServProfEnforceChecksEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 39), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfEnforceChecksEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfEnforceChecksEnabled.setDescription('Indicates whether Enforcement of the SODA security checks is enabled for this service profile.') ntwsApConfServProfSodaRemediationAcl = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 40), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfSodaRemediationAcl.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSodaRemediationAcl.setDescription('Remediation page ACL to apply to the client when the failure page is loaded, for this service profile.') ntwsApConfServProfSodaSuccessPage = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 41), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfSodaSuccessPage.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSodaSuccessPage.setDescription('Success page that is displayed on the client when a client successfully runs the checks performed by the SODA agent, for this service profile.') ntwsApConfServProfSodaFailurePage = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 42), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfSodaFailurePage.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSodaFailurePage.setDescription('Failure page that is displayed on the client when the SODA agent checks fail, for this service profile.') ntwsApConfServProfSodaLogoutPage = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 43), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfSodaLogoutPage.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSodaLogoutPage.setDescription('The page to load when a client closes the SODA virtual desktop and logs out of the network, for this service profile.') ntwsApConfServProfSodaAgentDirectory = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 44), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfSodaAgentDirectory.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSodaAgentDirectory.setDescription('Specifies a different directory for the SODA agent files used for this service profile.') ntwsApConfServProfWebPortalSessionTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 45), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWebPortalSessionTimeout.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalSessionTimeout.setDescription('Time interval, in seconds, for which a Web Portal WebAAA session remains in the Deassociated state before being terminated automatically, for this service profile.') ntwsApConfServProfWebPortalAcl = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 46), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWebPortalAcl.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalAcl.setDescription('Name of ACL used for filtering traffic for Web Portal users during authentication, for this service profile.') ntwsApConfServProfWebPortalLogoutEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 47), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWebPortalLogoutEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalLogoutEnabled.setDescription('Indicates whether the Web Portal logout functionality is enabled for this service profile.') ntwsApConfServProfWebPortalLogoutUrl = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 48), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfWebPortalLogoutUrl.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalLogoutUrl.setDescription('Indicates the Web Portal Logout URL for this service profile.') ntwsApConfServProfKeepInitialVlanEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 49), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfKeepInitialVlanEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfKeepInitialVlanEnabled.setDescription('Indicates whether, after roaming, the user keeps the VLAN assigned from the first connection, for this service profile.') ntwsApConfServProfMeshModeEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 50), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfMeshModeEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfMeshModeEnabled.setDescription('Indicates whether wireless mesh between APs is enabled for this service profile.') ntwsApConfServProfBridgingEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 51), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfBridgingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfBridgingEnabled.setDescription('Indicates whether wireless bridging of traffic between APs is enabled for this service profile.') ntwsApConfServProfLoadBalanceExemptEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 52), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfServProfLoadBalanceExemptEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfLoadBalanceExemptEnabled.setDescription('Indicates whether this service profile is exempted from load balancing.') ntwsApConfSnoopFilterTable = MibTable((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 10), ) if mibBuilder.loadTexts: ntwsApConfSnoopFilterTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfSnoopFilterTable.setDescription('A table describing the Snoop Filters currently configured on this AC.') ntwsApConfSnoopFilterEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 10, 1), ).setIndexNames((0, "NTWS-AP-CONFIG-MIB", "ntwsApConfSnoopFilterName")) if mibBuilder.loadTexts: ntwsApConfSnoopFilterEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfSnoopFilterEntry.setDescription('Configuration for a particular Snoop Filter.') ntwsApConfSnoopFilterName = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 10, 1, 1), NtwsSnoopFilterName()) if mibBuilder.loadTexts: ntwsApConfSnoopFilterName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfSnoopFilterName.setDescription('Name of this snoop filter.') ntwsApConfSnoopFilterEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 10, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ntwsApConfSnoopFilterEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfSnoopFilterEnabled.setDescription('Indicates whether this snoop filter is enabled.') ntwsApConfigConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2)) ntwsApConfigCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 1)) ntwsApConfigGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2)) ntwsApConfigCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 1, 1)).setObjects(("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigTableGroup"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigTableGroup"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplateConfigTableGroup"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplateRadioConfigTableGroup"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfileTableGroup"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfServiceProfileTableGroup"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfSnoopFilterTableGroup"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServiceProfileTableGroup"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfSnoopFilterTableGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntwsApConfigCompliance = ntwsApConfigCompliance.setStatus('current') if mibBuilder.loadTexts: ntwsApConfigCompliance.setDescription('The compliance statement for devices that implement AP Config MIB.') ntwsApConfApConfigTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 1)).setObjects(("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigApAttachType"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigPhysPortNum"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigApSerialNum"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigApModelName"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigFingerprint"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigBias"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigApTimeout"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigApName"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigContact"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigLocation"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigBlinkEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigForceImageDownloadEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigFirmwareUpgradeEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigLocalSwitchingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigPowerMode"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigLedMode"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApConfigDescription")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntwsApConfApConfigTableGroup = ntwsApConfApConfigTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigTableGroup.setDescription('Group of columnar objects implemented to provide AP Configuration info in releases 7.1 and greater.') ntwsApConfRadioConfigTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 2)).setObjects(("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigRadioType"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigRadioMode"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigRadioProfileName"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigChannel"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigTxPower"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigAutoTuneMaxTxPower"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigAntennaType"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigAntennaLocation"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigLoadBalancingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigLoadBalancingGroup"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioConfigLoadRebalancingEnabled")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntwsApConfRadioConfigTableGroup = ntwsApConfRadioConfigTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigTableGroup.setDescription('Group of columnar objects implemented to provide Radio Configuration info in releases 7.1 and greater.') ntwsApConfApTemplateConfigTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 3)).setObjects(("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplConfApTemplateEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplConfBias"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplConfApTimeout"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplConfBlinkEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplConfForceImageDownloadEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplConfFirmwareUpgradeEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplConfLocalSwitchingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplConfPowerMode"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemplConfLedMode")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntwsApConfApTemplateConfigTableGroup = ntwsApConfApTemplateConfigTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateConfigTableGroup.setDescription('Group of columnar objects implemented to provide AP Configuration Template info in releases 7.1 and greater.') ntwsApConfApTemplateRadioConfigTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 4)).setObjects(("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemRadioConfRadioMode"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemRadioConfRadioProfileName"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemRadioConfAutoTuneMaxTxPower"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemRadioConfLoadBalancingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemRadioConfLoadBalancingGroup"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfApTemRadioConfLoadRebalancingEnabled")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntwsApConfApTemplateRadioConfigTableGroup = ntwsApConfApTemplateRadioConfigTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateRadioConfigTableGroup.setDescription('Group of columnar objects implemented to provide Radio Configuration Template info in releases 7.1 and greater.') ntwsApConfRadioProfileTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 5)).setObjects(("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfBeaconInterval"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfDtimInterval"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfChannelWidth11na"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfMaxTxLifetime"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfMaxRxLifetime"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfRtsThreshold"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfFragThreshold"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfLongXmitPreambleEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCountermeasuresMode"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfRFScanMode"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfRFScanChannelScope"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfRFScanCTSEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfAutoTune11aChannelRange"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfAutoTuneChannelEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfAutoTuneChannelHolddownInterval"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfAutoTuneChannelChangeInterval"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfAutoTunePowerEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfAutoTunePowerRampInterval"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfAutoTunePowerChangeInterval"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfFairQueuingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacBackgroundACMandatory"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacBackgroundMaxUtilization"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacBackgroundPolicingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacBestEffortACMandatory"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacBestEffortMaxUtilization"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacBestEffortPolicingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacVideoACMandatory"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacVideoMaxUtilization"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacVideoPolicingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacVoiceACMandatory"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacVoiceMaxUtilization"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfCacVoicePolicingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfRfidTagEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfWmmPowerSaveEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfRateEnforcementEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfRadioProfDfsChannelsEnabled")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntwsApConfRadioProfileTableGroup = ntwsApConfRadioProfileTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfileTableGroup.setDescription('Group of columnar objects implemented to provide Radio Profile configuration info in releases 7.1 and greater.') ntwsApConfRadioProfServiceProfileTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 6)).setObjects(("NTWS-AP-CONFIG-MIB", "ntwsApConfRpServpRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntwsApConfRadioProfServiceProfileTableGroup = ntwsApConfRadioProfServiceProfileTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfServiceProfileTableGroup.setDescription('Group of columnar objects implemented to provide Service Profiles associated to each Radio Profile in releases 7.1 and greater.') ntwsApConfRadioProfSnoopFilterTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 7)).setObjects(("NTWS-AP-CONFIG-MIB", "ntwsApConfRpSnoopfRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntwsApConfRadioProfSnoopFilterTableGroup = ntwsApConfRadioProfSnoopFilterTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfSnoopFilterTableGroup.setDescription('Group of columnar objects implemented to provide Snoop Filters associated to each Radio Profile in releases 7.1 and greater.') ntwsApConfServiceProfileTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 8)).setObjects(("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfSsidType"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfBeaconEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProf11naMode"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProf11ngMode"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProf11nShortGuardIntervalEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProf11nFrameAggregation"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProf11nMsduMaxLength"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProf11nMpduMaxLength"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfAuthFallthru"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWebAAAForm"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfSharedKeyAuthEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWpaIeEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWpaIeCipherTkipEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWpaIeCipherCcmpEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWpaIeCipherWep40Enabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWpaIeCipherWep104Enabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWpaIeAuthDot1xEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWpaIeAuthPskEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfRsnIeEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfRsnIeCipherTkipEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfRsnIeCipherCcmpEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfRsnIeCipherWep40Enabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfRsnIeCipherWep104Enabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfRsnIeAuthDot1xEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfRsnIeAuthPskEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfTkipMicCountermeasuresTime"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfMaxBandwidthKbps"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfCacMode"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfCacSessCount"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfUserIdleTimeout"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfIdleClientProbingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfShortRetryCount"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfLongRetryCount"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfProxyArpEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfDhcpRestrictEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfNoBroadcastEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfSygateOnDemandEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfEnforceChecksEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfSodaRemediationAcl"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfSodaSuccessPage"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfSodaFailurePage"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfSodaLogoutPage"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfSodaAgentDirectory"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWebPortalSessionTimeout"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWebPortalAcl"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWebPortalLogoutEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfWebPortalLogoutUrl"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfKeepInitialVlanEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfMeshModeEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfBridgingEnabled"), ("NTWS-AP-CONFIG-MIB", "ntwsApConfServProfLoadBalanceExemptEnabled")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntwsApConfServiceProfileTableGroup = ntwsApConfServiceProfileTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServiceProfileTableGroup.setDescription('Group of columnar objects implemented to provide Service Profile configuration info in releases 7.1 and greater.') ntwsApConfSnoopFilterTableGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 9)).setObjects(("NTWS-AP-CONFIG-MIB", "ntwsApConfSnoopFilterEnabled")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntwsApConfSnoopFilterTableGroup = ntwsApConfSnoopFilterTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfSnoopFilterTableGroup.setDescription('Group of columnar objects implemented to provide Snoop Filter configuration info in releases 7.1 and greater.') mibBuilder.exportSymbols("NTWS-AP-CONFIG-MIB", ntwsApConfServProfWebPortalLogoutEnabled=ntwsApConfServProfWebPortalLogoutEnabled, ntwsApConfApConfigApSerialNum=ntwsApConfApConfigApSerialNum, ntwsApConfRadioConfigApNum=ntwsApConfRadioConfigApNum, NtwsRadioProfileRFScanChannelScope=NtwsRadioProfileRFScanChannelScope, ntwsApConfRadioProfRFScanMode=ntwsApConfRadioProfRFScanMode, NtwsRadioProfileRFScanMode=NtwsRadioProfileRFScanMode, ntwsApConfApTemplConfLocalSwitchingEnabled=ntwsApConfApTemplConfLocalSwitchingEnabled, ntwsApConfigCompliances=ntwsApConfigCompliances, ntwsApConfApConfigPhysPortNum=ntwsApConfApConfigPhysPortNum, ntwsApConfRadioConfigRadioMode=ntwsApConfRadioConfigRadioMode, ntwsApConfServProfEnforceChecksEnabled=ntwsApConfServProfEnforceChecksEnabled, ntwsApConfApTemplConfApTemplateName=ntwsApConfApTemplConfApTemplateName, ntwsApConfRadioProfSnoopFilterTableGroup=ntwsApConfRadioProfSnoopFilterTableGroup, ntwsApConfApConfigLedMode=ntwsApConfApConfigLedMode, ntwsApConfRadioConfigLoadBalancingGroup=ntwsApConfRadioConfigLoadBalancingGroup, ntwsApConfApTemRadioConfRadioIndex=ntwsApConfApTemRadioConfRadioIndex, ntwsApConfRadioProfLongXmitPreambleEnabled=ntwsApConfRadioProfLongXmitPreambleEnabled, ntwsApConfServProfWebPortalLogoutUrl=ntwsApConfServProfWebPortalLogoutUrl, ntwsApConfApTemRadioConfLoadBalancingEnabled=ntwsApConfApTemRadioConfLoadBalancingEnabled, ntwsApConfServProf11naMode=ntwsApConfServProf11naMode, ntwsApConfRpServpRowStatus=ntwsApConfRpServpRowStatus, ntwsApConfRadioProfAutoTunePowerEnabled=ntwsApConfRadioProfAutoTunePowerEnabled, ntwsApConfRadioConfigRadioIndex=ntwsApConfRadioConfigRadioIndex, ntwsApConfRadioProfRFScanCTSEnabled=ntwsApConfRadioProfRFScanCTSEnabled, ntwsApConfApTemplateConfigTableGroup=ntwsApConfApTemplateConfigTableGroup, NtwsRadioProfileAutoTuneChannelRange=NtwsRadioProfileAutoTuneChannelRange, NtwsApTemplateName=NtwsApTemplateName, ntwsApConfRadioProfAutoTuneChannelEnabled=ntwsApConfRadioProfAutoTuneChannelEnabled, ntwsApConfigMib=ntwsApConfigMib, ntwsApConfApTemplateConfigEntry=ntwsApConfApTemplateConfigEntry, ntwsApConfRadioConfigTable=ntwsApConfRadioConfigTable, ntwsApConfRadioProfCacBestEffortACMandatory=ntwsApConfRadioProfCacBestEffortACMandatory, ntwsApConfigConformance=ntwsApConfigConformance, ntwsApConfSnoopFilterTableGroup=ntwsApConfSnoopFilterTableGroup, ntwsApConfRadioProfCountermeasuresMode=ntwsApConfRadioProfCountermeasuresMode, ntwsApConfRadioProfAutoTune11aChannelRange=ntwsApConfRadioProfAutoTune11aChannelRange, ntwsApConfServProfWpaIeEnabled=ntwsApConfServProfWpaIeEnabled, ntwsApConfRadioProfServiceProfileTableGroup=ntwsApConfRadioProfServiceProfileTableGroup, ntwsApConfRadioConfigAntennaLocation=ntwsApConfRadioConfigAntennaLocation, ntwsApConfRadioProfCacVoiceMaxUtilization=ntwsApConfRadioProfCacVoiceMaxUtilization, ntwsApConfApTemplConfBlinkEnabled=ntwsApConfApTemplConfBlinkEnabled, ntwsApConfApTemplConfForceImageDownloadEnabled=ntwsApConfApTemplConfForceImageDownloadEnabled, NtwsServiceProfile11nMode=NtwsServiceProfile11nMode, ntwsApConfServProfSodaLogoutPage=ntwsApConfServProfSodaLogoutPage, ntwsApConfRadioProfCacVideoMaxUtilization=ntwsApConfRadioProfCacVideoMaxUtilization, ntwsApConfServProfRsnIeCipherTkipEnabled=ntwsApConfServProfRsnIeCipherTkipEnabled, ntwsApConfServProfMaxBandwidthKbps=ntwsApConfServProfMaxBandwidthKbps, NtwsServiceProfile11nFrameAggregationType=NtwsServiceProfile11nFrameAggregationType, ntwsApConfRadioProfAutoTunePowerRampInterval=ntwsApConfRadioProfAutoTunePowerRampInterval, ntwsApConfServProfWpaIeCipherWep40Enabled=ntwsApConfServProfWpaIeCipherWep40Enabled, ntwsApConfRadioConfigTableGroup=ntwsApConfRadioConfigTableGroup, ntwsApConfRadioProfRFScanChannelScope=ntwsApConfRadioProfRFScanChannelScope, NtwsRadioProfileName=NtwsRadioProfileName, ntwsApConfServProf11nFrameAggregation=ntwsApConfServProf11nFrameAggregation, ntwsApConfServProfBridgingEnabled=ntwsApConfServProfBridgingEnabled, ntwsApConfRadioProfCacBestEffortPolicingEnabled=ntwsApConfRadioProfCacBestEffortPolicingEnabled, ntwsApConfRadioProfAutoTunePowerChangeInterval=ntwsApConfRadioProfAutoTunePowerChangeInterval, ntwsApConfRadioProfBeaconInterval=ntwsApConfRadioProfBeaconInterval, ntwsApConfRadioProfServiceProfileEntry=ntwsApConfRadioProfServiceProfileEntry, ntwsApConfServProfRsnIeCipherCcmpEnabled=ntwsApConfServProfRsnIeCipherCcmpEnabled, ntwsApConfServProfWebAAAForm=ntwsApConfServProfWebAAAForm, ntwsApConfApConfigTable=ntwsApConfApConfigTable, ntwsApConfApConfigApModelName=ntwsApConfApConfigApModelName, ntwsApConfRadioConfigEntry=ntwsApConfRadioConfigEntry, ntwsApConfServProfKeepInitialVlanEnabled=ntwsApConfServProfKeepInitialVlanEnabled, ntwsApConfServProfWpaIeCipherTkipEnabled=ntwsApConfServProfWpaIeCipherTkipEnabled, ntwsApConfApTemplConfApTimeout=ntwsApConfApTemplConfApTimeout, ntwsApConfServProfProxyArpEnabled=ntwsApConfServProfProxyArpEnabled, ntwsApConfServProfUserIdleTimeout=ntwsApConfServProfUserIdleTimeout, ntwsApConfApTemplateRadioConfigTableGroup=ntwsApConfApTemplateRadioConfigTableGroup, ntwsApConfServProf11ngMode=ntwsApConfServProf11ngMode, ntwsApConfServProfSygateOnDemandEnabled=ntwsApConfServProfSygateOnDemandEnabled, ntwsApConfigCompliance=ntwsApConfigCompliance, ntwsApConfRadioProfCacBestEffortMaxUtilization=ntwsApConfRadioProfCacBestEffortMaxUtilization, ntwsApConfRadioProfCacBackgroundPolicingEnabled=ntwsApConfRadioProfCacBackgroundPolicingEnabled, ntwsApConfServProf11nMsduMaxLength=ntwsApConfServProf11nMsduMaxLength, ntwsApConfServProfWebPortalSessionTimeout=ntwsApConfServProfWebPortalSessionTimeout, ntwsApConfServProfWpaIeCipherCcmpEnabled=ntwsApConfServProfWpaIeCipherCcmpEnabled, ntwsApConfApConfigApName=ntwsApConfApConfigApName, ntwsApConfServProfRsnIeCipherWep40Enabled=ntwsApConfServProfRsnIeCipherWep40Enabled, ntwsApConfServProfIdleClientProbingEnabled=ntwsApConfServProfIdleClientProbingEnabled, ntwsApConfApTemplateRadioConfigEntry=ntwsApConfApTemplateRadioConfigEntry, ntwsApConfSnoopFilterEntry=ntwsApConfSnoopFilterEntry, ntwsApConfServProfRsnIeEnabled=ntwsApConfServProfRsnIeEnabled, NtwsServiceProfile11nMpduMaxLength=NtwsServiceProfile11nMpduMaxLength, ntwsApConfRadioProfFairQueuingEnabled=ntwsApConfRadioProfFairQueuingEnabled, ntwsApConfServProfLoadBalanceExemptEnabled=ntwsApConfServProfLoadBalanceExemptEnabled, ntwsApConfServProf11nShortGuardIntervalEnabled=ntwsApConfServProf11nShortGuardIntervalEnabled, ntwsApConfApConfigLocation=ntwsApConfApConfigLocation, ntwsApConfRadioProfChannelWidth11na=ntwsApConfRadioProfChannelWidth11na, ntwsApConfRadioProfCacBackgroundACMandatory=ntwsApConfRadioProfCacBackgroundACMandatory, ntwsApConfRpSnoopfRadioProfileName=ntwsApConfRpSnoopfRadioProfileName, ntwsApConfApConfigForceImageDownloadEnabled=ntwsApConfApConfigForceImageDownloadEnabled, ntwsApConfRadioProfRfidTagEnabled=ntwsApConfRadioProfRfidTagEnabled, ntwsApConfRpServpServiceProfileName=ntwsApConfRpServpServiceProfileName, ntwsApConfServProfSharedKeyAuthEnabled=ntwsApConfServProfSharedKeyAuthEnabled, ntwsApConfRadioProfCacVoiceACMandatory=ntwsApConfRadioProfCacVoiceACMandatory, ntwsApConfApConfigLocalSwitchingEnabled=ntwsApConfApConfigLocalSwitchingEnabled, ntwsApConfApConfigBias=ntwsApConfApConfigBias, ntwsApConfServProfWpaIeAuthPskEnabled=ntwsApConfServProfWpaIeAuthPskEnabled, ntwsApConfRpSnoopfSnoopFilterName=ntwsApConfRpSnoopfSnoopFilterName, ntwsApConfApConfigFirmwareUpgradeEnabled=ntwsApConfApConfigFirmwareUpgradeEnabled, ntwsApConfRadioConfigRadioProfileName=ntwsApConfRadioConfigRadioProfileName, ntwsApConfServProfSodaSuccessPage=ntwsApConfServProfSodaSuccessPage, ntwsApConfServProf11nMpduMaxLength=ntwsApConfServProf11nMpduMaxLength, ntwsApConfServProfCacMode=ntwsApConfServProfCacMode, ntwsApConfApTemplConfLedMode=ntwsApConfApTemplConfLedMode, ntwsApConfRadioProfCacVideoPolicingEnabled=ntwsApConfRadioProfCacVideoPolicingEnabled, ntwsApConfRpServpRadioProfileName=ntwsApConfRpServpRadioProfileName, NtwsServiceProfileName=NtwsServiceProfileName, ntwsApConfRadioProfMaxTxLifetime=ntwsApConfRadioProfMaxTxLifetime, ntwsApConfServiceProfileTable=ntwsApConfServiceProfileTable, ntwsApConfServProfAuthFallthru=ntwsApConfServProfAuthFallthru, ntwsApConfServProfServiceProfileName=ntwsApConfServProfServiceProfileName, ntwsApConfServiceProfileEntry=ntwsApConfServiceProfileEntry, ntwsApConfApTemplConfBias=ntwsApConfApTemplConfBias, ntwsApConfServProfSsidType=ntwsApConfServProfSsidType, ntwsApConfServProfTkipMicCountermeasuresTime=ntwsApConfServProfTkipMicCountermeasuresTime, NtwsServiceProfile11nMsduMaxLength=NtwsServiceProfile11nMsduMaxLength, ntwsApConfApConfigTableGroup=ntwsApConfApConfigTableGroup, ntwsApConfRadioProfDtimInterval=ntwsApConfRadioProfDtimInterval, ntwsApConfApConfigBlinkEnabled=ntwsApConfApConfigBlinkEnabled, ntwsApConfRadioProfileTable=ntwsApConfRadioProfileTable, ntwsApConfServProfRsnIeCipherWep104Enabled=ntwsApConfServProfRsnIeCipherWep104Enabled, ntwsApConfApConfigDescription=ntwsApConfApConfigDescription, ntwsApConfApTemRadioConfLoadBalancingGroup=ntwsApConfApTemRadioConfLoadBalancingGroup, ntwsApConfRadioProfFragThreshold=ntwsApConfRadioProfFragThreshold, ntwsApConfRadioProfServiceProfileTable=ntwsApConfRadioProfServiceProfileTable, ntwsApConfRadioProfDfsChannelsEnabled=ntwsApConfRadioProfDfsChannelsEnabled, NtwsServiceProfileCacMode=NtwsServiceProfileCacMode, ntwsApConfRpSnoopfRowStatus=ntwsApConfRpSnoopfRowStatus, ntwsApConfServProfSodaFailurePage=ntwsApConfServProfSodaFailurePage, ntwsApConfSnoopFilterTable=ntwsApConfSnoopFilterTable, ntwsApConfRadioConfigChannel=ntwsApConfRadioConfigChannel, ntwsApConfApTemRadioConfRadioMode=ntwsApConfApTemRadioConfRadioMode, ntwsApConfigGroups=ntwsApConfigGroups, ntwsApConfApConfigApTimeout=ntwsApConfApConfigApTimeout, ntwsApConfApConfigContact=ntwsApConfApConfigContact, ntwsApConfRadioProfRadioProfileName=ntwsApConfRadioProfRadioProfileName, ntwsApConfServProfRsnIeAuthDot1xEnabled=ntwsApConfServProfRsnIeAuthDot1xEnabled, ntwsApConfApTemRadioConfAutoTuneMaxTxPower=ntwsApConfApTemRadioConfAutoTuneMaxTxPower, ntwsApConfServProfDhcpRestrictEnabled=ntwsApConfServProfDhcpRestrictEnabled, ntwsApConfigMibObjects=ntwsApConfigMibObjects, PYSNMP_MODULE_ID=ntwsApConfigMib, ntwsApConfApTemRadioConfLoadRebalancingEnabled=ntwsApConfApTemRadioConfLoadRebalancingEnabled, ntwsApConfRadioProfMaxRxLifetime=ntwsApConfRadioProfMaxRxLifetime, ntwsApConfSnoopFilterEnabled=ntwsApConfSnoopFilterEnabled, ntwsApConfServiceProfileTableGroup=ntwsApConfServiceProfileTableGroup, ntwsApConfRadioProfCacVideoACMandatory=ntwsApConfRadioProfCacVideoACMandatory, NtwsServiceProfileSsidType=NtwsServiceProfileSsidType, ntwsApConfServProfMeshModeEnabled=ntwsApConfServProfMeshModeEnabled, ntwsApConfApTemplConfFirmwareUpgradeEnabled=ntwsApConfApTemplConfFirmwareUpgradeEnabled, ntwsApConfRadioProfAutoTuneChannelHolddownInterval=ntwsApConfRadioProfAutoTuneChannelHolddownInterval, ntwsApConfRadioProfCacVoicePolicingEnabled=ntwsApConfRadioProfCacVoicePolicingEnabled, ntwsApConfRadioProfileEntry=ntwsApConfRadioProfileEntry, ntwsApConfRadioConfigAntennaType=ntwsApConfRadioConfigAntennaType, ntwsApConfApConfigFingerprint=ntwsApConfApConfigFingerprint, ntwsApConfServProfWpaIeCipherWep104Enabled=ntwsApConfServProfWpaIeCipherWep104Enabled, ntwsApConfServProfCacSessCount=ntwsApConfServProfCacSessCount, ntwsApConfApConfigEntry=ntwsApConfApConfigEntry, ntwsApConfRadioConfigLoadRebalancingEnabled=ntwsApConfRadioConfigLoadRebalancingEnabled, ntwsApConfApTemplConfPowerMode=ntwsApConfApTemplConfPowerMode, NtwsRadioProfileCountermeasuresMode=NtwsRadioProfileCountermeasuresMode, ntwsApConfRadioConfigTxPower=ntwsApConfRadioConfigTxPower, ntwsApConfServProfSodaRemediationAcl=ntwsApConfServProfSodaRemediationAcl, ntwsApConfServProfWpaIeAuthDot1xEnabled=ntwsApConfServProfWpaIeAuthDot1xEnabled, ntwsApConfApConfigApAttachType=ntwsApConfApConfigApAttachType, ntwsApConfApTemplateRadioConfigTable=ntwsApConfApTemplateRadioConfigTable, NtwsSnoopFilterName=NtwsSnoopFilterName, ntwsApConfServProfLongRetryCount=ntwsApConfServProfLongRetryCount, ntwsApConfServProfWebPortalAcl=ntwsApConfServProfWebPortalAcl, ntwsApConfRadioProfSnoopFilterEntry=ntwsApConfRadioProfSnoopFilterEntry, ntwsApConfRadioProfRateEnforcementEnabled=ntwsApConfRadioProfRateEnforcementEnabled, NtwsServiceProfileAuthFallthruType=NtwsServiceProfileAuthFallthruType, ntwsApConfRadioProfCacBackgroundMaxUtilization=ntwsApConfRadioProfCacBackgroundMaxUtilization, ntwsApConfRadioProfAutoTuneChannelChangeInterval=ntwsApConfRadioProfAutoTuneChannelChangeInterval, ntwsApConfRadioConfigLoadBalancingEnabled=ntwsApConfRadioConfigLoadBalancingEnabled, ntwsApConfRadioConfigAutoTuneMaxTxPower=ntwsApConfRadioConfigAutoTuneMaxTxPower, ntwsApConfSnoopFilterName=ntwsApConfSnoopFilterName, ntwsApConfApTemplConfApTemplateEnabled=ntwsApConfApTemplConfApTemplateEnabled, ntwsApConfApTemplateConfigTable=ntwsApConfApTemplateConfigTable, ntwsApConfApTemRadioConfRadioProfileName=ntwsApConfApTemRadioConfRadioProfileName, ntwsApConfRadioConfigRadioType=ntwsApConfRadioConfigRadioType, ntwsApConfRadioProfWmmPowerSaveEnabled=ntwsApConfRadioProfWmmPowerSaveEnabled, ntwsApConfServProfShortRetryCount=ntwsApConfServProfShortRetryCount, ntwsApConfServProfRsnIeAuthPskEnabled=ntwsApConfServProfRsnIeAuthPskEnabled, ntwsApConfServProfSodaAgentDirectory=ntwsApConfServProfSodaAgentDirectory, ntwsApConfRadioProfSnoopFilterTable=ntwsApConfRadioProfSnoopFilterTable, ntwsApConfRadioProfileTableGroup=ntwsApConfRadioProfileTableGroup, ntwsApConfRadioProfRtsThreshold=ntwsApConfRadioProfRtsThreshold, ntwsApConfApConfigApNum=ntwsApConfApConfigApNum, ntwsApConfApTemRadioConfApTemplateName=ntwsApConfApTemRadioConfApTemplateName, ntwsApConfServProfBeaconEnabled=ntwsApConfServProfBeaconEnabled, ntwsApConfApConfigPowerMode=ntwsApConfApConfigPowerMode, ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled=ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled, ntwsApConfServProfNoBroadcastEnabled=ntwsApConfServProfNoBroadcastEnabled)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_size_constraint, single_value_constraint, constraints_union, constraints_intersection, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueRangeConstraint') (ntws_channel_num, ntws_ap_fingerprint, ntws_ap_serial_num, ntws_ap_radio_index, ntws_ap_power_mode, ntws_ap_led_mode, ntws_power_level, ntws_radio_mode, ntws_radio_antenna_location, ntws_radio_type, ntws_radio_channel_width, ntws_ap_bias, ntws_ap_num, ntws_ap_attach_type) = mibBuilder.importSymbols('NTWS-AP-TC', 'NtwsChannelNum', 'NtwsApFingerprint', 'NtwsApSerialNum', 'NtwsApRadioIndex', 'NtwsApPowerMode', 'NtwsApLedMode', 'NtwsPowerLevel', 'NtwsRadioMode', 'NtwsRadioAntennaLocation', 'NtwsRadioType', 'NtwsRadioChannelWidth', 'NtwsApBias', 'NtwsApNum', 'NtwsApAttachType') (ntws_phys_port_number_or_zero,) = mibBuilder.importSymbols('NTWS-BASIC-TC', 'NtwsPhysPortNumberOrZero') (ntws_mibs,) = mibBuilder.importSymbols('NTWS-ROOT-MIB', 'ntwsMibs') (notification_group, object_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ObjectGroup', 'ModuleCompliance') (mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address, counter64, object_identity, gauge32, unsigned32, notification_type, counter32, integer32, mib_identifier, time_ticks, bits, module_identity, iso) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress', 'Counter64', 'ObjectIdentity', 'Gauge32', 'Unsigned32', 'NotificationType', 'Counter32', 'Integer32', 'MibIdentifier', 'TimeTicks', 'Bits', 'ModuleIdentity', 'iso') (row_status, truth_value, display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'RowStatus', 'TruthValue', 'DisplayString', 'TextualConvention') ntws_ap_config_mib = module_identity((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14)) ntwsApConfigMib.setRevisions(('2009-11-19 01:08',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ntwsApConfigMib.setRevisionsDescriptions(('v1.0.8: Initial version',)) if mibBuilder.loadTexts: ntwsApConfigMib.setLastUpdated('200911190108Z') if mibBuilder.loadTexts: ntwsApConfigMib.setOrganization('Nortel Networks') if mibBuilder.loadTexts: ntwsApConfigMib.setContactInfo('www.nortelnetworks.com') if mibBuilder.loadTexts: ntwsApConfigMib.setDescription("AP Configuration objects for Nortel Networks wireless switches. AP = Access Point; AC = Access Controller (wireless switch), the device that runs a SNMP Agent implementing this MIB. Copyright 2009 Nortel Networks. All rights reserved. This Nortel Networks SNMP Management Information Base Specification (Specification) embodies Nortel Networks' confidential and proprietary intellectual property. This Specification is supplied 'AS IS' and Nortel Networks makes no warranty, either express or implied, as to the use, operation, condition, or performance of the Specification.") class Ntwsaptemplatename(TextualConvention, OctetString): description = 'AP Template Name, consists of printable ASCII characters between 0x21 (!), and 0x7d (}) with no leading, embedded, or trailing space. Cannot be a zero length string.' status = 'current' display_hint = '255a' subtype_spec = OctetString.subtypeSpec + value_size_constraint(1, 32) class Ntwsradioprofilename(TextualConvention, OctetString): description = 'Radio Profile Name, consists of printable ASCII characters between 0x21 (!), and 0x7d (}) with no leading, embedded, or trailing space. Cannot be a zero length string.' status = 'current' display_hint = '255a' subtype_spec = OctetString.subtypeSpec + value_size_constraint(1, 16) class Ntwsserviceprofilename(TextualConvention, OctetString): description = 'Service Profile Name, consists of printable ASCII characters between 0x21 (!), and 0x7d (}) with no leading, embedded, or trailing space. Cannot be a zero length string.' status = 'current' display_hint = '255a' subtype_spec = OctetString.subtypeSpec + value_size_constraint(1, 32) class Ntwssnoopfiltername(TextualConvention, OctetString): description = 'Snoop Filter Name, consists of printable ASCII characters between 0x21 (!), and 0x7d (}) with no leading, embedded, or trailing space. Cannot be a zero length string.' status = 'current' display_hint = '255a' subtype_spec = OctetString.subtypeSpec + value_size_constraint(1, 15) class Ntwsserviceprofilessidtype(TextualConvention, Integer32): description = 'Enumeration of Service Types provided on a service profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2)) named_values = named_values(('clear', 1), ('crypto', 2)) class Ntwsserviceprofile11Nmode(TextualConvention, Integer32): description = 'Enumeration of 802.11n modes for a service profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3)) named_values = named_values(('enable', 1), ('disable', 2), ('required', 3)) class Ntwsserviceprofile11Nframeaggregationtype(TextualConvention, Integer32): description = 'Enumeration of 802.11n frame aggregation types for a service profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4)) named_values = named_values(('msdu', 1), ('mpdu', 2), ('all', 3), ('disable', 4)) class Ntwsserviceprofile11Nmsdumaxlength(TextualConvention, Integer32): description = 'Enumeration of 802.11n A-MSDU maximum lengths for a service profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2)) named_values = named_values(('msdu-4k', 1), ('msdu-8k', 2)) class Ntwsserviceprofile11Nmpdumaxlength(TextualConvention, Integer32): description = 'Enumeration of 802.11n A-MPDU maximum lengths for a service profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4)) named_values = named_values(('mpdu-8k', 1), ('mpdu-16k', 2), ('mpdu-32k', 3), ('mpdu-64k', 4)) class Ntwsserviceprofileauthfallthrutype(TextualConvention, Integer32): description = 'Enumeration of Authentication Fallthrough types for a service profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4)) named_values = named_values(('none', 1), ('web-auth', 2), ('web-aaa-portal', 3), ('last-resort', 4)) class Ntwsserviceprofilecacmode(TextualConvention, Integer32): description = 'Enumeration of Call Admission Control types for a service profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3)) named_values = named_values(('none', 1), ('session', 2), ('vendor', 3)) class Ntwsradioprofilecountermeasuresmode(TextualConvention, Integer32): description = 'Enumeration of the Countermeasure modes for a radio profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4)) named_values = named_values(('none', 1), ('all', 2), ('rogue', 3), ('configured', 4)) class Ntwsradioprofilerfscanchannelscope(TextualConvention, Integer32): description = 'Enumeration of RF scanning channel scopes for a radio profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3)) named_values = named_values(('operating', 1), ('regulatory', 2), ('all', 3)) class Ntwsradioprofileautotunechannelrange(TextualConvention, Integer32): description = 'Enumeration of Auto-Tune channel ranges for a radio profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2)) named_values = named_values(('all-bands', 1), ('lower-bands', 2)) class Ntwsradioprofilerfscanmode(TextualConvention, Integer32): description = 'Enumeration of RF scanning modes for a radio profile.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2)) named_values = named_values(('active', 1), ('passive', 2)) ntws_ap_config_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1)) ntws_ap_conf_ap_config_table = mib_table((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2)) if mibBuilder.loadTexts: ntwsApConfApConfigTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigTable.setDescription('A table describing all the APs currently configured on this AC.') ntws_ap_conf_ap_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1)).setIndexNames((0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigApNum')) if mibBuilder.loadTexts: ntwsApConfApConfigEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigEntry.setDescription('Configuration for a particular AP that could be attached to the AC.') ntws_ap_conf_ap_config_ap_num = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 1), ntws_ap_num()) if mibBuilder.loadTexts: ntwsApConfApConfigApNum.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApNum.setDescription('The Number of this AP (administratively assigned).') ntws_ap_conf_ap_config_ap_attach_type = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 2), ntws_ap_attach_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigApAttachType.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApAttachType.setDescription('How this AP is attached to the AC (directly or via L2/L3 network).') ntws_ap_conf_ap_config_phys_port_num = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 3), ntws_phys_port_number_or_zero()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigPhysPortNum.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigPhysPortNum.setDescription('Identifies the physical port used to attach this AP. Only valid for directly attached APs, otherwise will be zero.') ntws_ap_conf_ap_config_ap_serial_num = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 4), ntws_ap_serial_num()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigApSerialNum.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApSerialNum.setDescription('The Serial Number used to identify this AP. Only valid for network attached APs, otherwise will be a zero length string.') ntws_ap_conf_ap_config_ap_model_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 24))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigApModelName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApModelName.setDescription('The Model name of this AP.') ntws_ap_conf_ap_config_fingerprint = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 6), ntws_ap_fingerprint()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigFingerprint.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigFingerprint.setDescription('The RSA key fingerprint configured on this AP (binary value: it is the MD5 hash of the public key of the RSA key pair). For directly attached APs the fingerprint is a zero length string.') ntws_ap_conf_ap_config_bias = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 7), ntws_ap_bias()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigBias.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigBias.setDescription('Bias (high/low/sticky).') ntws_ap_conf_ap_config_ap_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 8), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigApTimeout.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApTimeout.setDescription('The communication timeout for this AP, in seconds.') ntws_ap_conf_ap_config_ap_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 9), display_string().subtype(subtypeSpec=value_size_constraint(0, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigApName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigApName.setDescription('The configured Name for this AP.') ntws_ap_conf_ap_config_contact = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 10), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigContact.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigContact.setDescription('The Contact information for this AP.') ntws_ap_conf_ap_config_location = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 11), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigLocation.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigLocation.setDescription('The Location information for this AP.') ntws_ap_conf_ap_config_blink_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 12), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigBlinkEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigBlinkEnabled.setDescription('Indicates whether the LED blink mode is enabled on this AP.') ntws_ap_conf_ap_config_force_image_download_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 13), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigForceImageDownloadEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigForceImageDownloadEnabled.setDescription('Indicates whether this AP is forced to always download an image from the AC upon boot.') ntws_ap_conf_ap_config_firmware_upgrade_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 14), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigFirmwareUpgradeEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigFirmwareUpgradeEnabled.setDescription('Indicates whether automatic boot firmware upgrade is enabled on this AP.') ntws_ap_conf_ap_config_local_switching_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 15), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigLocalSwitchingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigLocalSwitchingEnabled.setDescription('Indicates whether local switching is enabled on this AP.') ntws_ap_conf_ap_config_power_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 16), ntws_ap_power_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigPowerMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigPowerMode.setDescription('The mode in which this AP is supplying power to its radios.') ntws_ap_conf_ap_config_led_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 17), ntws_ap_led_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigLedMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigLedMode.setDescription('LED Mode (auto/static/off).') ntws_ap_conf_ap_config_description = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 2, 1, 18), display_string().subtype(subtypeSpec=value_size_constraint(0, 256))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApConfigDescription.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigDescription.setDescription('The configured Description for this AP.') ntws_ap_conf_radio_config_table = mib_table((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3)) if mibBuilder.loadTexts: ntwsApConfRadioConfigTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigTable.setDescription('A table describing the radios on all the APs currently configured on this AC.') ntws_ap_conf_radio_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1)).setIndexNames((0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigApNum'), (0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigRadioIndex')) if mibBuilder.loadTexts: ntwsApConfRadioConfigEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigEntry.setDescription('Configuration for a particular Radio on a particular AP that could be attached to the AC.') ntws_ap_conf_radio_config_ap_num = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 1), ntws_ap_num()) if mibBuilder.loadTexts: ntwsApConfRadioConfigApNum.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigApNum.setDescription('The Number of the AP (administratively assigned).') ntws_ap_conf_radio_config_radio_index = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 2), ntws_ap_radio_index()) if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioIndex.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioIndex.setDescription('The number of this Radio on the AP.') ntws_ap_conf_radio_config_radio_type = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 3), ntws_radio_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioType.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioType.setDescription('The configured Type of this radio (typeA, typeB, typeG, typeNA, typeNG)') ntws_ap_conf_radio_config_radio_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 4), ntws_radio_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioMode.setDescription('The configured Mode of this radio (enabled/disabled/sentry)') ntws_ap_conf_radio_config_radio_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 5), ntws_radio_profile_name()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigRadioProfileName.setDescription('Identifies the Radio Profile to be applied to this radio') ntws_ap_conf_radio_config_channel = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 6), ntws_channel_num()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigChannel.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigChannel.setDescription('The configured Channel Number of this radio.') ntws_ap_conf_radio_config_tx_power = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 7), ntws_power_level()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigTxPower.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigTxPower.setDescription('The configured Tx Power level of this radio.') ntws_ap_conf_radio_config_auto_tune_max_tx_power = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 8), ntws_power_level()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigAutoTuneMaxTxPower.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigAutoTuneMaxTxPower.setDescription('The Maximum Tx Power that Auto Tune is allowed to set for this radio.') ntws_ap_conf_radio_config_antenna_type = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 9), display_string().subtype(subtypeSpec=value_size_constraint(0, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigAntennaType.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigAntennaType.setDescription('The configured Antenna Type for this radio.') ntws_ap_conf_radio_config_antenna_location = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 10), ntws_radio_antenna_location()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigAntennaLocation.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigAntennaLocation.setDescription('The configured Antenna Location for this radio.') ntws_ap_conf_radio_config_load_balancing_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 11), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadBalancingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadBalancingEnabled.setDescription('Indicates whether RF Load Balancing is enabled on this radio.') ntws_ap_conf_radio_config_load_balancing_group = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 12), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadBalancingGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadBalancingGroup.setDescription('Indicates the RF Load Balancing group that this radio is assigned to.') ntws_ap_conf_radio_config_load_rebalancing_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 3, 1, 13), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadRebalancingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigLoadRebalancingEnabled.setDescription('Indicates whether RF Load Rebalancing is enabled for this radio.') ntws_ap_conf_ap_template_config_table = mib_table((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4)) if mibBuilder.loadTexts: ntwsApConfApTemplateConfigTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateConfigTable.setDescription('A table describing all the AP Templates currently configured on this AC.') ntws_ap_conf_ap_template_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1)).setIndexNames((0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplConfApTemplateName')) if mibBuilder.loadTexts: ntwsApConfApTemplateConfigEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateConfigEntry.setDescription('Template configuration for APs that could be attached to the AC.') ntws_ap_conf_ap_templ_conf_ap_template_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 1), ntws_ap_template_name()) if mibBuilder.loadTexts: ntwsApConfApTemplConfApTemplateName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfApTemplateName.setDescription('AP Template Name.') ntws_ap_conf_ap_templ_conf_ap_template_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 2), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemplConfApTemplateEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfApTemplateEnabled.setDescription('Indicates whether this AP Template is Enabled (can be used for bringing up APs).') ntws_ap_conf_ap_templ_conf_bias = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 3), ntws_ap_bias()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemplConfBias.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfBias.setDescription('Bias (high/low/sticky).') ntws_ap_conf_ap_templ_conf_ap_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 4), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemplConfApTimeout.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfApTimeout.setDescription('The communication timeout for this AP Template, in seconds.') ntws_ap_conf_ap_templ_conf_blink_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 5), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemplConfBlinkEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfBlinkEnabled.setDescription('Indicates whether the LED blink mode is enabled on this AP Template.') ntws_ap_conf_ap_templ_conf_force_image_download_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 6), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemplConfForceImageDownloadEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfForceImageDownloadEnabled.setDescription('Indicates whether this AP is forced to always download an image from the AC upon boot.') ntws_ap_conf_ap_templ_conf_firmware_upgrade_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 7), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemplConfFirmwareUpgradeEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfFirmwareUpgradeEnabled.setDescription('Indicates whether automatic boot firmware upgrade is enabled on this AP Template.') ntws_ap_conf_ap_templ_conf_local_switching_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 8), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemplConfLocalSwitchingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfLocalSwitchingEnabled.setDescription('Indicates whether local switching is enabled on this AP Template.') ntws_ap_conf_ap_templ_conf_power_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 9), ntws_ap_power_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemplConfPowerMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfPowerMode.setDescription('The mode in which an AP using this Template will be supplying power to its radios.') ntws_ap_conf_ap_templ_conf_led_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 4, 1, 10), ntws_ap_led_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemplConfLedMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplConfLedMode.setDescription('The LED Mode (auto/static/off) for an AP using this Template.') ntws_ap_conf_ap_template_radio_config_table = mib_table((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5)) if mibBuilder.loadTexts: ntwsApConfApTemplateRadioConfigTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateRadioConfigTable.setDescription('A table describing the radios for all the AP Templates currently configured on this AC.') ntws_ap_conf_ap_template_radio_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1)).setIndexNames((0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemRadioConfApTemplateName'), (0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemRadioConfRadioIndex')) if mibBuilder.loadTexts: ntwsApConfApTemplateRadioConfigEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateRadioConfigEntry.setDescription('Template configuration for a particular Radio index on an AP Template configured on this AC.') ntws_ap_conf_ap_tem_radio_conf_ap_template_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 1), ntws_ap_template_name()) if mibBuilder.loadTexts: ntwsApConfApTemRadioConfApTemplateName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfApTemplateName.setDescription('AP Template Name.') ntws_ap_conf_ap_tem_radio_conf_radio_index = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 2), ntws_ap_radio_index()) if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioIndex.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioIndex.setDescription('The number of this Radio on the AP Template.') ntws_ap_conf_ap_tem_radio_conf_radio_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 3), ntws_radio_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioMode.setDescription('The configured mode of a radio using this Template (enabled/disabled/sentry)') ntws_ap_conf_ap_tem_radio_conf_radio_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 4), ntws_radio_profile_name()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfRadioProfileName.setDescription('Identifies the Radio Profile to be applied to a radio using this Template') ntws_ap_conf_ap_tem_radio_conf_auto_tune_max_tx_power = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 5), ntws_power_level()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfAutoTuneMaxTxPower.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfAutoTuneMaxTxPower.setDescription('The Maximum Tx Power that Auto Tune will be allowed to set for a radio using this Template.') ntws_ap_conf_ap_tem_radio_conf_load_balancing_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 6), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadBalancingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadBalancingEnabled.setDescription('Indicates whether RF Load Balancing will be enabled on a radio using this Template.') ntws_ap_conf_ap_tem_radio_conf_load_balancing_group = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 7), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadBalancingGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadBalancingGroup.setDescription('Indicates the RF Load Balancing group that a radio using this Template will be assigned to.') ntws_ap_conf_ap_tem_radio_conf_load_rebalancing_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 5, 1, 8), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadRebalancingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemRadioConfLoadRebalancingEnabled.setDescription('Indicates whether RF Load Rebalancing will be enabled for a radio using this Template.') ntws_ap_conf_radio_profile_table = mib_table((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6)) if mibBuilder.loadTexts: ntwsApConfRadioProfileTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfileTable.setDescription('A table describing the Radio Profiles currently configured on this AC.') ntws_ap_conf_radio_profile_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1)).setIndexNames((0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfRadioProfileName')) if mibBuilder.loadTexts: ntwsApConfRadioProfileEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfileEntry.setDescription('Configuration for a particular Radio Profile.') ntws_ap_conf_radio_prof_radio_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 1), ntws_radio_profile_name()) if mibBuilder.loadTexts: ntwsApConfRadioProfRadioProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRadioProfileName.setDescription('Name of this radio profile.') ntws_ap_conf_radio_prof_beacon_interval = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 2), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfBeaconInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfBeaconInterval.setDescription('Beacon Interval, time in thousandths of a second, for this radio profile.') ntws_ap_conf_radio_prof_dtim_interval = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfDtimInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfDtimInterval.setDescription('The number of times after every beacon that each AP radio in a radio profile sends a delivery traffic indication map (DTIM), for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_channel_width11na = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 4), ntws_radio_channel_width()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfChannelWidth11na.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfChannelWidth11na.setDescription('802.11n Channel Width for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_max_tx_lifetime = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 5), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfMaxTxLifetime.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfMaxTxLifetime.setDescription('The maximum transmit threshold for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_max_rx_lifetime = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 6), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfMaxRxLifetime.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfMaxRxLifetime.setDescription('The maximum receive threshold for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_rts_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 7), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfRtsThreshold.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRtsThreshold.setDescription('The RTS threshold for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_frag_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 8), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfFragThreshold.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfFragThreshold.setDescription('The fragmentation threshold for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_long_xmit_preamble_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 9), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfLongXmitPreambleEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfLongXmitPreambleEnabled.setDescription('Indicates whether an 802.11b/g AP radio using this radio profile transmits Long Preamble.') ntws_ap_conf_radio_prof_countermeasures_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 10), ntws_radio_profile_countermeasures_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCountermeasuresMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCountermeasuresMode.setDescription('Countermeasures Mode for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_rf_scan_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 11), ntws_radio_profile_rf_scan_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanMode.setDescription('RF Scanning Mode for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_rf_scan_channel_scope = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 12), ntws_radio_profile_rf_scan_channel_scope()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanChannelScope.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanChannelScope.setDescription('RF scanning Channel Scope for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_rf_scan_cts_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 13), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanCTSEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRFScanCTSEnabled.setDescription('Indicates whether the AP radios using this radio profile send CTS To Self packet before going off channel.') ntws_ap_conf_radio_prof_auto_tune11a_channel_range = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 14), ntws_radio_profile_auto_tune_channel_range()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTune11aChannelRange.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTune11aChannelRange.setDescription('The allowable 802.11a Channel Range used by Auto-Tune for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_auto_tune_ignore_clients_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 15), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled.setDescription('Indicates whether the AP radios using this radio profile Ignore Client connections in Auto-Tune channel selections.') ntws_ap_conf_radio_prof_auto_tune_channel_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 16), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelEnabled.setDescription('Indicates whether Channel Auto-Tuning is enabled for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_auto_tune_channel_holddown_interval = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 17), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelHolddownInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelHolddownInterval.setDescription('Minimum Interval (in seconds) between Channel changes due to Auto-Tuning, for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_auto_tune_channel_change_interval = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 18), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelChangeInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTuneChannelChangeInterval.setDescription('The interval (in seconds) at which RF Auto-Tuning decides whether to Change the Channel for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_auto_tune_power_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 19), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerEnabled.setDescription('Indicates whether Power Auto-Tuning is enabled for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_auto_tune_power_ramp_interval = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 20), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerRampInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerRampInterval.setDescription('Minimum Interval (in seconds) between Power changes due to Auto-Tuning, for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_auto_tune_power_change_interval = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 21), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerChangeInterval.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfAutoTunePowerChangeInterval.setDescription('The interval (in seconds) at which RF Auto-Tuning decides whether to Change the Power for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_fair_queuing_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 22), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfFairQueuingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfFairQueuingEnabled.setDescription('Indicates whether weighted Fair Queuing is enabled for this radio profile.') ntws_ap_conf_radio_prof_cac_background_ac_mandatory = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 23), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundACMandatory.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundACMandatory.setDescription('Indicates whether Admission Control for Background traffic is Mandatory for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_background_max_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 24), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundMaxUtilization.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundMaxUtilization.setDescription('Maximum admission control limit for Background traffic, for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_background_policing_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 25), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundPolicingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBackgroundPolicingEnabled.setDescription('Indicates that admission control Policing for Background traffic is enabled, for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_best_effort_ac_mandatory = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 26), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortACMandatory.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortACMandatory.setDescription('Indicates that Admission Control for Best Effort traffic is Mandatory for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_best_effort_max_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 27), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortMaxUtilization.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortMaxUtilization.setDescription('Maximum admission control limit for Best Effort traffic, for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_best_effort_policing_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 28), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortPolicingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacBestEffortPolicingEnabled.setDescription('Indicates that admission control Policing for Best Effort traffic is enabled, for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_video_ac_mandatory = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 29), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoACMandatory.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoACMandatory.setDescription('Indicates that Admission Control for Video traffic is Mandatory for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_video_max_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 30), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoMaxUtilization.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoMaxUtilization.setDescription('Maximum admission control limit for Video traffic, for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_video_policing_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 31), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoPolicingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVideoPolicingEnabled.setDescription('Indicates that admission control Policing for Video traffic is enabled, for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_voice_ac_mandatory = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 32), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoiceACMandatory.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoiceACMandatory.setDescription('Indicates that Admission Control for Voice traffic is Mandatory for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_voice_max_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 33), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoiceMaxUtilization.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoiceMaxUtilization.setDescription('Maximum admission control limit for Voice traffic, for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_cac_voice_policing_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 34), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoicePolicingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfCacVoicePolicingEnabled.setDescription('Indicates that admission control Policing for Voice traffic is enabled, for the AP radios using this radio profile.') ntws_ap_conf_radio_prof_rfid_tag_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 35), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfRfidTagEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRfidTagEnabled.setDescription('Indicates whether an AP radio using this radio profile is enabled to function as location receivers in an AeroScout Visibility System.') ntws_ap_conf_radio_prof_wmm_power_save_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 36), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfWmmPowerSaveEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfWmmPowerSaveEnabled.setDescription('Indicates whether the AP radios using this radio profile enable power save mode on WMM clients.') ntws_ap_conf_radio_prof_rate_enforcement_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 37), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfRateEnforcementEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfRateEnforcementEnabled.setDescription('Indicates whether data rates are enforced for the AP radios using this radio profile, which means that a connecting client must transmit at one of the mandatory or standard rates in order to associate with the AP.') ntws_ap_conf_radio_prof_dfs_channels_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 6, 1, 38), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfRadioProfDfsChannelsEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfDfsChannelsEnabled.setDescription('Indicates that the AP radios using this radio profile use DFS channels to meet regulatory requirements.') ntws_ap_conf_radio_prof_service_profile_table = mib_table((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 7)) if mibBuilder.loadTexts: ntwsApConfRadioProfServiceProfileTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfServiceProfileTable.setDescription('A table describing the currently configured connections between Radio Profiles and Service Profiles.') ntws_ap_conf_radio_prof_service_profile_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 7, 1)).setIndexNames((0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfRpServpRadioProfileName'), (0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfRpServpServiceProfileName')) if mibBuilder.loadTexts: ntwsApConfRadioProfServiceProfileEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfServiceProfileEntry.setDescription('Connection between a Radio Profile and a Service Profile, currently configured on the AC.') ntws_ap_conf_rp_servp_radio_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 7, 1, 1), ntws_radio_profile_name()) if mibBuilder.loadTexts: ntwsApConfRpServpRadioProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpServpRadioProfileName.setDescription('Name of this Radio Profile.') ntws_ap_conf_rp_servp_service_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 7, 1, 2), ntws_service_profile_name()) if mibBuilder.loadTexts: ntwsApConfRpServpServiceProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpServpServiceProfileName.setDescription('Name of a Service Profile connected to this Radio Profile.') ntws_ap_conf_rp_servp_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 7, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: ntwsApConfRpServpRowStatus.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpServpRowStatus.setDescription("This object is used to create a new row or delete an existing row in this table. To create a row, set this object to 'createAndGo'. To delete a row, set this object to 'destroy'. Only these two values 'createAndGo' and 'destroy' will be accepted.") ntws_ap_conf_radio_prof_snoop_filter_table = mib_table((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 8)) if mibBuilder.loadTexts: ntwsApConfRadioProfSnoopFilterTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfSnoopFilterTable.setDescription('A table describing the currently configured connections between Radio Profiles and Snoop Filters.') ntws_ap_conf_radio_prof_snoop_filter_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 8, 1)).setIndexNames((0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfRpSnoopfRadioProfileName'), (0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfRpSnoopfSnoopFilterName')) if mibBuilder.loadTexts: ntwsApConfRadioProfSnoopFilterEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfSnoopFilterEntry.setDescription('Connection between a Radio Profile and a Snoop Filter, currently configured on the AC.') ntws_ap_conf_rp_snoopf_radio_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 8, 1, 1), ntws_radio_profile_name()) if mibBuilder.loadTexts: ntwsApConfRpSnoopfRadioProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpSnoopfRadioProfileName.setDescription('Name of this Radio Profile.') ntws_ap_conf_rp_snoopf_snoop_filter_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 8, 1, 2), ntws_snoop_filter_name()) if mibBuilder.loadTexts: ntwsApConfRpSnoopfSnoopFilterName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpSnoopfSnoopFilterName.setDescription('Name of a Snoop Filter connected to this Radio Profile.') ntws_ap_conf_rp_snoopf_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 8, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: ntwsApConfRpSnoopfRowStatus.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRpSnoopfRowStatus.setDescription("This object is used to create a new row or delete an existing row in this table. To create a row, set this object to 'createAndGo'. To delete a row, set this object to 'destroy'. Only these two values 'createAndGo' and 'destroy' will be accepted.") ntws_ap_conf_service_profile_table = mib_table((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9)) if mibBuilder.loadTexts: ntwsApConfServiceProfileTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServiceProfileTable.setDescription('A table describing the Service Profiles currently configured on this AC.') ntws_ap_conf_service_profile_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1)).setIndexNames((0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfServiceProfileName')) if mibBuilder.loadTexts: ntwsApConfServiceProfileEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServiceProfileEntry.setDescription('Configuration for a particular Service Profile.') ntws_ap_conf_serv_prof_service_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 1), ntws_service_profile_name()) if mibBuilder.loadTexts: ntwsApConfServProfServiceProfileName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfServiceProfileName.setDescription('Name of this service profile') ntws_ap_conf_serv_prof_ssid_type = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 2), ntws_service_profile_ssid_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfSsidType.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSsidType.setDescription('The type of this service profile (clear/crypto).') ntws_ap_conf_serv_prof_beacon_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 3), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfBeaconEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfBeaconEnabled.setDescription('Indicates whether beacons are enabled for this service profile.') ntws_ap_conf_serv_prof11na_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 4), ntws_service_profile11n_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProf11naMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11naMode.setDescription('Indicates the 802.11n (na) mode for this service profile.') ntws_ap_conf_serv_prof11ng_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 5), ntws_service_profile11n_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProf11ngMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11ngMode.setDescription('Indicates the 802.11n (ng) mode for this service profile.') ntws_ap_conf_serv_prof11n_short_guard_interval_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 6), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProf11nShortGuardIntervalEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11nShortGuardIntervalEnabled.setDescription('Indicates whether short guard interval is enabled for this service profile.') ntws_ap_conf_serv_prof11n_frame_aggregation = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 7), ntws_service_profile11n_frame_aggregation_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProf11nFrameAggregation.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11nFrameAggregation.setDescription('Indicates the Frame Aggregation mode for this service profile.') ntws_ap_conf_serv_prof11n_msdu_max_length = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 8), ntws_service_profile11n_msdu_max_length()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProf11nMsduMaxLength.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11nMsduMaxLength.setDescription('The maximum MSDU length for this service profile.') ntws_ap_conf_serv_prof11n_mpdu_max_length = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 9), ntws_service_profile11n_mpdu_max_length()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProf11nMpduMaxLength.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProf11nMpduMaxLength.setDescription('The maximum MPDU length for this service profile.') ntws_ap_conf_serv_prof_auth_fallthru = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 10), ntws_service_profile_auth_fallthru_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfAuthFallthru.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfAuthFallthru.setDescription('The authentication type to be attempted for users who do not match a 802.1X or MAC authentication rule, for this service profile.') ntws_ap_conf_serv_prof_web_aaa_form = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 11), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWebAAAForm.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWebAAAForm.setDescription('The custom login page that loads for WebAAA users, for this service profile.') ntws_ap_conf_serv_prof_shared_key_auth_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 12), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfSharedKeyAuthEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSharedKeyAuthEnabled.setDescription('Indicates whether shared-key authentication is enabled for this service profile.') ntws_ap_conf_serv_prof_wpa_ie_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 13), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeEnabled.setDescription('Indicates whether WPA IE beaconing is enabled for this service profile.') ntws_ap_conf_serv_prof_wpa_ie_cipher_tkip_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 14), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherTkipEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherTkipEnabled.setDescription('Indicates whether TKIP cipher is advertised in WPA IE, for this service profile.') ntws_ap_conf_serv_prof_wpa_ie_cipher_ccmp_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 15), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherCcmpEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherCcmpEnabled.setDescription('Indicates whether CCMP cipher is advertised in WPA IE, for this service profile.') ntws_ap_conf_serv_prof_wpa_ie_cipher_wep40_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 16), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherWep40Enabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherWep40Enabled.setDescription('Indicates whether WEP-40 cipher is advertised in WPA IE, for this service profile.') ntws_ap_conf_serv_prof_wpa_ie_cipher_wep104_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 17), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherWep104Enabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeCipherWep104Enabled.setDescription('Indicates whether WEP-104 cipher is advertised in WPA IE, for this service profile.') ntws_ap_conf_serv_prof_wpa_ie_auth_dot1x_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 18), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeAuthDot1xEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeAuthDot1xEnabled.setDescription('Indicates whether 802.1X authentication is advertised in WPA IE, for this service profile.') ntws_ap_conf_serv_prof_wpa_ie_auth_psk_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 19), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeAuthPskEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWpaIeAuthPskEnabled.setDescription('Indicates whether Pre-Shared Key authentication is advertised in WPA IE, for this service profile.') ntws_ap_conf_serv_prof_rsn_ie_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 20), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeEnabled.setDescription('Indicates whether RSN IE beaconing is enabled for this service profile.') ntws_ap_conf_serv_prof_rsn_ie_cipher_tkip_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 21), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherTkipEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherTkipEnabled.setDescription('Indicates whether TKIP cipher is advertised in RSN IE, for this service profile.') ntws_ap_conf_serv_prof_rsn_ie_cipher_ccmp_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 22), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherCcmpEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherCcmpEnabled.setDescription('Indicates whether CCMP cipher is advertised in RSN IE, for this service profile.') ntws_ap_conf_serv_prof_rsn_ie_cipher_wep40_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 23), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherWep40Enabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherWep40Enabled.setDescription('Indicates whether WEP-40 cipher is advertised in RSN IE, for this service profile.') ntws_ap_conf_serv_prof_rsn_ie_cipher_wep104_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 24), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherWep104Enabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeCipherWep104Enabled.setDescription('Indicates whether WEP-104 cipher is advertised in RSN IE, for this service profile.') ntws_ap_conf_serv_prof_rsn_ie_auth_dot1x_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 25), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeAuthDot1xEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeAuthDot1xEnabled.setDescription('Indicates whether 802.1X authentication is advertised in RSN IE, for this service profile.') ntws_ap_conf_serv_prof_rsn_ie_auth_psk_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 26), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeAuthPskEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfRsnIeAuthPskEnabled.setDescription('Indicates whether Pre-Shared Key authentication is advertised in RSN IE, for this service profile.') ntws_ap_conf_serv_prof_tkip_mic_countermeasures_time = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 27), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfTkipMicCountermeasuresTime.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfTkipMicCountermeasuresTime.setDescription('Indicates the TKIP MIC countermeasures time in milliseconds for this service profile. This is the length of time that AP radios use countermeasures if two Message Integrity Code (MIC) failures occur within 60 seconds.') ntws_ap_conf_serv_prof_max_bandwidth_kbps = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 28), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfMaxBandwidthKbps.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfMaxBandwidthKbps.setDescription('The bandwidth limit for this service profile, in Kbits/second. A value of zero means unlimited.') ntws_ap_conf_serv_prof_cac_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 29), ntws_service_profile_cac_mode()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfCacMode.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfCacMode.setDescription('The Call Admission Control (CAC) mode, for this service profile.') ntws_ap_conf_serv_prof_cac_sess_count = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 30), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfCacSessCount.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfCacSessCount.setDescription('The maximum number of active sessions a radio can have when session-based CAC is enabled, for this service profile.') ntws_ap_conf_serv_prof_user_idle_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 31), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfUserIdleTimeout.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfUserIdleTimeout.setDescription('The number of seconds MSS has a session available for a client not sending data and is not responding to keepalives (idle-client probes). If the timer expires, the client session is changed to the Dissociated state, for this service profile.') ntws_ap_conf_serv_prof_idle_client_probing_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 32), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfIdleClientProbingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfIdleClientProbingEnabled.setDescription('Indicates whether the AC radio sends a unicast null-data frame to each client every 10 seconds, for this service profile.') ntws_ap_conf_serv_prof_short_retry_count = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 33), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfShortRetryCount.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfShortRetryCount.setDescription('The number of times a radio can send a short unicast frame without receiving an acknowledgment, for this service profile.') ntws_ap_conf_serv_prof_long_retry_count = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 34), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfLongRetryCount.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfLongRetryCount.setDescription('The number of times a radio can send a long unicast frame without receiving an acknowledgment, for this service profile.') ntws_ap_conf_serv_prof_proxy_arp_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 35), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfProxyArpEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfProxyArpEnabled.setDescription('Indicates whether proxy ARP is enabled for this service profile.') ntws_ap_conf_serv_prof_dhcp_restrict_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 36), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfDhcpRestrictEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfDhcpRestrictEnabled.setDescription('Indicates whether only DHCP traffic is allowed until a newly associated client has been authenticated and authorized, for this service profile.') ntws_ap_conf_serv_prof_no_broadcast_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 37), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfNoBroadcastEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfNoBroadcastEnabled.setDescription('Indicates whether broadcast ARP and DHCP packets are converted to unicast for this service profile.') ntws_ap_conf_serv_prof_sygate_on_demand_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 38), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfSygateOnDemandEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSygateOnDemandEnabled.setDescription('Indicates whether Sygate On-Demand Manager (SODA Manager) is enabled for this service profile.') ntws_ap_conf_serv_prof_enforce_checks_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 39), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfEnforceChecksEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfEnforceChecksEnabled.setDescription('Indicates whether Enforcement of the SODA security checks is enabled for this service profile.') ntws_ap_conf_serv_prof_soda_remediation_acl = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 40), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfSodaRemediationAcl.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSodaRemediationAcl.setDescription('Remediation page ACL to apply to the client when the failure page is loaded, for this service profile.') ntws_ap_conf_serv_prof_soda_success_page = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 41), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfSodaSuccessPage.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSodaSuccessPage.setDescription('Success page that is displayed on the client when a client successfully runs the checks performed by the SODA agent, for this service profile.') ntws_ap_conf_serv_prof_soda_failure_page = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 42), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfSodaFailurePage.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSodaFailurePage.setDescription('Failure page that is displayed on the client when the SODA agent checks fail, for this service profile.') ntws_ap_conf_serv_prof_soda_logout_page = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 43), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfSodaLogoutPage.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSodaLogoutPage.setDescription('The page to load when a client closes the SODA virtual desktop and logs out of the network, for this service profile.') ntws_ap_conf_serv_prof_soda_agent_directory = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 44), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfSodaAgentDirectory.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfSodaAgentDirectory.setDescription('Specifies a different directory for the SODA agent files used for this service profile.') ntws_ap_conf_serv_prof_web_portal_session_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 45), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalSessionTimeout.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalSessionTimeout.setDescription('Time interval, in seconds, for which a Web Portal WebAAA session remains in the Deassociated state before being terminated automatically, for this service profile.') ntws_ap_conf_serv_prof_web_portal_acl = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 46), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalAcl.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalAcl.setDescription('Name of ACL used for filtering traffic for Web Portal users during authentication, for this service profile.') ntws_ap_conf_serv_prof_web_portal_logout_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 47), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalLogoutEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalLogoutEnabled.setDescription('Indicates whether the Web Portal logout functionality is enabled for this service profile.') ntws_ap_conf_serv_prof_web_portal_logout_url = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 48), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalLogoutUrl.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfWebPortalLogoutUrl.setDescription('Indicates the Web Portal Logout URL for this service profile.') ntws_ap_conf_serv_prof_keep_initial_vlan_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 49), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfKeepInitialVlanEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfKeepInitialVlanEnabled.setDescription('Indicates whether, after roaming, the user keeps the VLAN assigned from the first connection, for this service profile.') ntws_ap_conf_serv_prof_mesh_mode_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 50), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfMeshModeEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfMeshModeEnabled.setDescription('Indicates whether wireless mesh between APs is enabled for this service profile.') ntws_ap_conf_serv_prof_bridging_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 51), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfBridgingEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfBridgingEnabled.setDescription('Indicates whether wireless bridging of traffic between APs is enabled for this service profile.') ntws_ap_conf_serv_prof_load_balance_exempt_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 9, 1, 52), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfServProfLoadBalanceExemptEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServProfLoadBalanceExemptEnabled.setDescription('Indicates whether this service profile is exempted from load balancing.') ntws_ap_conf_snoop_filter_table = mib_table((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 10)) if mibBuilder.loadTexts: ntwsApConfSnoopFilterTable.setStatus('current') if mibBuilder.loadTexts: ntwsApConfSnoopFilterTable.setDescription('A table describing the Snoop Filters currently configured on this AC.') ntws_ap_conf_snoop_filter_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 10, 1)).setIndexNames((0, 'NTWS-AP-CONFIG-MIB', 'ntwsApConfSnoopFilterName')) if mibBuilder.loadTexts: ntwsApConfSnoopFilterEntry.setStatus('current') if mibBuilder.loadTexts: ntwsApConfSnoopFilterEntry.setDescription('Configuration for a particular Snoop Filter.') ntws_ap_conf_snoop_filter_name = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 10, 1, 1), ntws_snoop_filter_name()) if mibBuilder.loadTexts: ntwsApConfSnoopFilterName.setStatus('current') if mibBuilder.loadTexts: ntwsApConfSnoopFilterName.setDescription('Name of this snoop filter.') ntws_ap_conf_snoop_filter_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 1, 10, 1, 2), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ntwsApConfSnoopFilterEnabled.setStatus('current') if mibBuilder.loadTexts: ntwsApConfSnoopFilterEnabled.setDescription('Indicates whether this snoop filter is enabled.') ntws_ap_config_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2)) ntws_ap_config_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 1)) ntws_ap_config_groups = mib_identifier((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2)) ntws_ap_config_compliance = module_compliance((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 1, 1)).setObjects(('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigTableGroup'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigTableGroup'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplateConfigTableGroup'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplateRadioConfigTableGroup'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfileTableGroup'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfServiceProfileTableGroup'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfSnoopFilterTableGroup'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServiceProfileTableGroup'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfSnoopFilterTableGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntws_ap_config_compliance = ntwsApConfigCompliance.setStatus('current') if mibBuilder.loadTexts: ntwsApConfigCompliance.setDescription('The compliance statement for devices that implement AP Config MIB.') ntws_ap_conf_ap_config_table_group = object_group((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 1)).setObjects(('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigApAttachType'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigPhysPortNum'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigApSerialNum'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigApModelName'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigFingerprint'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigBias'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigApTimeout'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigApName'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigContact'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigLocation'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigBlinkEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigForceImageDownloadEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigFirmwareUpgradeEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigLocalSwitchingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigPowerMode'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigLedMode'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApConfigDescription')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntws_ap_conf_ap_config_table_group = ntwsApConfApConfigTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApConfigTableGroup.setDescription('Group of columnar objects implemented to provide AP Configuration info in releases 7.1 and greater.') ntws_ap_conf_radio_config_table_group = object_group((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 2)).setObjects(('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigRadioType'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigRadioMode'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigRadioProfileName'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigChannel'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigTxPower'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigAutoTuneMaxTxPower'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigAntennaType'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigAntennaLocation'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigLoadBalancingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigLoadBalancingGroup'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioConfigLoadRebalancingEnabled')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntws_ap_conf_radio_config_table_group = ntwsApConfRadioConfigTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioConfigTableGroup.setDescription('Group of columnar objects implemented to provide Radio Configuration info in releases 7.1 and greater.') ntws_ap_conf_ap_template_config_table_group = object_group((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 3)).setObjects(('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplConfApTemplateEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplConfBias'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplConfApTimeout'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplConfBlinkEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplConfForceImageDownloadEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplConfFirmwareUpgradeEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplConfLocalSwitchingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplConfPowerMode'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemplConfLedMode')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntws_ap_conf_ap_template_config_table_group = ntwsApConfApTemplateConfigTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateConfigTableGroup.setDescription('Group of columnar objects implemented to provide AP Configuration Template info in releases 7.1 and greater.') ntws_ap_conf_ap_template_radio_config_table_group = object_group((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 4)).setObjects(('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemRadioConfRadioMode'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemRadioConfRadioProfileName'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemRadioConfAutoTuneMaxTxPower'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemRadioConfLoadBalancingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemRadioConfLoadBalancingGroup'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfApTemRadioConfLoadRebalancingEnabled')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntws_ap_conf_ap_template_radio_config_table_group = ntwsApConfApTemplateRadioConfigTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfApTemplateRadioConfigTableGroup.setDescription('Group of columnar objects implemented to provide Radio Configuration Template info in releases 7.1 and greater.') ntws_ap_conf_radio_profile_table_group = object_group((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 5)).setObjects(('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfBeaconInterval'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfDtimInterval'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfChannelWidth11na'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfMaxTxLifetime'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfMaxRxLifetime'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfRtsThreshold'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfFragThreshold'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfLongXmitPreambleEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCountermeasuresMode'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfRFScanMode'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfRFScanChannelScope'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfRFScanCTSEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfAutoTune11aChannelRange'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfAutoTuneChannelEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfAutoTuneChannelHolddownInterval'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfAutoTuneChannelChangeInterval'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfAutoTunePowerEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfAutoTunePowerRampInterval'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfAutoTunePowerChangeInterval'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfFairQueuingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacBackgroundACMandatory'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacBackgroundMaxUtilization'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacBackgroundPolicingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacBestEffortACMandatory'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacBestEffortMaxUtilization'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacBestEffortPolicingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacVideoACMandatory'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacVideoMaxUtilization'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacVideoPolicingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacVoiceACMandatory'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacVoiceMaxUtilization'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfCacVoicePolicingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfRfidTagEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfWmmPowerSaveEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfRateEnforcementEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfRadioProfDfsChannelsEnabled')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntws_ap_conf_radio_profile_table_group = ntwsApConfRadioProfileTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfileTableGroup.setDescription('Group of columnar objects implemented to provide Radio Profile configuration info in releases 7.1 and greater.') ntws_ap_conf_radio_prof_service_profile_table_group = object_group((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 6)).setObjects(('NTWS-AP-CONFIG-MIB', 'ntwsApConfRpServpRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntws_ap_conf_radio_prof_service_profile_table_group = ntwsApConfRadioProfServiceProfileTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfServiceProfileTableGroup.setDescription('Group of columnar objects implemented to provide Service Profiles associated to each Radio Profile in releases 7.1 and greater.') ntws_ap_conf_radio_prof_snoop_filter_table_group = object_group((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 7)).setObjects(('NTWS-AP-CONFIG-MIB', 'ntwsApConfRpSnoopfRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntws_ap_conf_radio_prof_snoop_filter_table_group = ntwsApConfRadioProfSnoopFilterTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfRadioProfSnoopFilterTableGroup.setDescription('Group of columnar objects implemented to provide Snoop Filters associated to each Radio Profile in releases 7.1 and greater.') ntws_ap_conf_service_profile_table_group = object_group((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 8)).setObjects(('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfSsidType'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfBeaconEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProf11naMode'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProf11ngMode'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProf11nShortGuardIntervalEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProf11nFrameAggregation'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProf11nMsduMaxLength'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProf11nMpduMaxLength'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfAuthFallthru'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWebAAAForm'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfSharedKeyAuthEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWpaIeEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWpaIeCipherTkipEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWpaIeCipherCcmpEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWpaIeCipherWep40Enabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWpaIeCipherWep104Enabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWpaIeAuthDot1xEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWpaIeAuthPskEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfRsnIeEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfRsnIeCipherTkipEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfRsnIeCipherCcmpEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfRsnIeCipherWep40Enabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfRsnIeCipherWep104Enabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfRsnIeAuthDot1xEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfRsnIeAuthPskEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfTkipMicCountermeasuresTime'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfMaxBandwidthKbps'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfCacMode'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfCacSessCount'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfUserIdleTimeout'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfIdleClientProbingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfShortRetryCount'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfLongRetryCount'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfProxyArpEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfDhcpRestrictEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfNoBroadcastEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfSygateOnDemandEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfEnforceChecksEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfSodaRemediationAcl'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfSodaSuccessPage'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfSodaFailurePage'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfSodaLogoutPage'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfSodaAgentDirectory'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWebPortalSessionTimeout'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWebPortalAcl'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWebPortalLogoutEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfWebPortalLogoutUrl'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfKeepInitialVlanEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfMeshModeEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfBridgingEnabled'), ('NTWS-AP-CONFIG-MIB', 'ntwsApConfServProfLoadBalanceExemptEnabled')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntws_ap_conf_service_profile_table_group = ntwsApConfServiceProfileTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfServiceProfileTableGroup.setDescription('Group of columnar objects implemented to provide Service Profile configuration info in releases 7.1 and greater.') ntws_ap_conf_snoop_filter_table_group = object_group((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 14, 2, 2, 9)).setObjects(('NTWS-AP-CONFIG-MIB', 'ntwsApConfSnoopFilterEnabled')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ntws_ap_conf_snoop_filter_table_group = ntwsApConfSnoopFilterTableGroup.setStatus('current') if mibBuilder.loadTexts: ntwsApConfSnoopFilterTableGroup.setDescription('Group of columnar objects implemented to provide Snoop Filter configuration info in releases 7.1 and greater.') mibBuilder.exportSymbols('NTWS-AP-CONFIG-MIB', ntwsApConfServProfWebPortalLogoutEnabled=ntwsApConfServProfWebPortalLogoutEnabled, ntwsApConfApConfigApSerialNum=ntwsApConfApConfigApSerialNum, ntwsApConfRadioConfigApNum=ntwsApConfRadioConfigApNum, NtwsRadioProfileRFScanChannelScope=NtwsRadioProfileRFScanChannelScope, ntwsApConfRadioProfRFScanMode=ntwsApConfRadioProfRFScanMode, NtwsRadioProfileRFScanMode=NtwsRadioProfileRFScanMode, ntwsApConfApTemplConfLocalSwitchingEnabled=ntwsApConfApTemplConfLocalSwitchingEnabled, ntwsApConfigCompliances=ntwsApConfigCompliances, ntwsApConfApConfigPhysPortNum=ntwsApConfApConfigPhysPortNum, ntwsApConfRadioConfigRadioMode=ntwsApConfRadioConfigRadioMode, ntwsApConfServProfEnforceChecksEnabled=ntwsApConfServProfEnforceChecksEnabled, ntwsApConfApTemplConfApTemplateName=ntwsApConfApTemplConfApTemplateName, ntwsApConfRadioProfSnoopFilterTableGroup=ntwsApConfRadioProfSnoopFilterTableGroup, ntwsApConfApConfigLedMode=ntwsApConfApConfigLedMode, ntwsApConfRadioConfigLoadBalancingGroup=ntwsApConfRadioConfigLoadBalancingGroup, ntwsApConfApTemRadioConfRadioIndex=ntwsApConfApTemRadioConfRadioIndex, ntwsApConfRadioProfLongXmitPreambleEnabled=ntwsApConfRadioProfLongXmitPreambleEnabled, ntwsApConfServProfWebPortalLogoutUrl=ntwsApConfServProfWebPortalLogoutUrl, ntwsApConfApTemRadioConfLoadBalancingEnabled=ntwsApConfApTemRadioConfLoadBalancingEnabled, ntwsApConfServProf11naMode=ntwsApConfServProf11naMode, ntwsApConfRpServpRowStatus=ntwsApConfRpServpRowStatus, ntwsApConfRadioProfAutoTunePowerEnabled=ntwsApConfRadioProfAutoTunePowerEnabled, ntwsApConfRadioConfigRadioIndex=ntwsApConfRadioConfigRadioIndex, ntwsApConfRadioProfRFScanCTSEnabled=ntwsApConfRadioProfRFScanCTSEnabled, ntwsApConfApTemplateConfigTableGroup=ntwsApConfApTemplateConfigTableGroup, NtwsRadioProfileAutoTuneChannelRange=NtwsRadioProfileAutoTuneChannelRange, NtwsApTemplateName=NtwsApTemplateName, ntwsApConfRadioProfAutoTuneChannelEnabled=ntwsApConfRadioProfAutoTuneChannelEnabled, ntwsApConfigMib=ntwsApConfigMib, ntwsApConfApTemplateConfigEntry=ntwsApConfApTemplateConfigEntry, ntwsApConfRadioConfigTable=ntwsApConfRadioConfigTable, ntwsApConfRadioProfCacBestEffortACMandatory=ntwsApConfRadioProfCacBestEffortACMandatory, ntwsApConfigConformance=ntwsApConfigConformance, ntwsApConfSnoopFilterTableGroup=ntwsApConfSnoopFilterTableGroup, ntwsApConfRadioProfCountermeasuresMode=ntwsApConfRadioProfCountermeasuresMode, ntwsApConfRadioProfAutoTune11aChannelRange=ntwsApConfRadioProfAutoTune11aChannelRange, ntwsApConfServProfWpaIeEnabled=ntwsApConfServProfWpaIeEnabled, ntwsApConfRadioProfServiceProfileTableGroup=ntwsApConfRadioProfServiceProfileTableGroup, ntwsApConfRadioConfigAntennaLocation=ntwsApConfRadioConfigAntennaLocation, ntwsApConfRadioProfCacVoiceMaxUtilization=ntwsApConfRadioProfCacVoiceMaxUtilization, ntwsApConfApTemplConfBlinkEnabled=ntwsApConfApTemplConfBlinkEnabled, ntwsApConfApTemplConfForceImageDownloadEnabled=ntwsApConfApTemplConfForceImageDownloadEnabled, NtwsServiceProfile11nMode=NtwsServiceProfile11nMode, ntwsApConfServProfSodaLogoutPage=ntwsApConfServProfSodaLogoutPage, ntwsApConfRadioProfCacVideoMaxUtilization=ntwsApConfRadioProfCacVideoMaxUtilization, ntwsApConfServProfRsnIeCipherTkipEnabled=ntwsApConfServProfRsnIeCipherTkipEnabled, ntwsApConfServProfMaxBandwidthKbps=ntwsApConfServProfMaxBandwidthKbps, NtwsServiceProfile11nFrameAggregationType=NtwsServiceProfile11nFrameAggregationType, ntwsApConfRadioProfAutoTunePowerRampInterval=ntwsApConfRadioProfAutoTunePowerRampInterval, ntwsApConfServProfWpaIeCipherWep40Enabled=ntwsApConfServProfWpaIeCipherWep40Enabled, ntwsApConfRadioConfigTableGroup=ntwsApConfRadioConfigTableGroup, ntwsApConfRadioProfRFScanChannelScope=ntwsApConfRadioProfRFScanChannelScope, NtwsRadioProfileName=NtwsRadioProfileName, ntwsApConfServProf11nFrameAggregation=ntwsApConfServProf11nFrameAggregation, ntwsApConfServProfBridgingEnabled=ntwsApConfServProfBridgingEnabled, ntwsApConfRadioProfCacBestEffortPolicingEnabled=ntwsApConfRadioProfCacBestEffortPolicingEnabled, ntwsApConfRadioProfAutoTunePowerChangeInterval=ntwsApConfRadioProfAutoTunePowerChangeInterval, ntwsApConfRadioProfBeaconInterval=ntwsApConfRadioProfBeaconInterval, ntwsApConfRadioProfServiceProfileEntry=ntwsApConfRadioProfServiceProfileEntry, ntwsApConfServProfRsnIeCipherCcmpEnabled=ntwsApConfServProfRsnIeCipherCcmpEnabled, ntwsApConfServProfWebAAAForm=ntwsApConfServProfWebAAAForm, ntwsApConfApConfigTable=ntwsApConfApConfigTable, ntwsApConfApConfigApModelName=ntwsApConfApConfigApModelName, ntwsApConfRadioConfigEntry=ntwsApConfRadioConfigEntry, ntwsApConfServProfKeepInitialVlanEnabled=ntwsApConfServProfKeepInitialVlanEnabled, ntwsApConfServProfWpaIeCipherTkipEnabled=ntwsApConfServProfWpaIeCipherTkipEnabled, ntwsApConfApTemplConfApTimeout=ntwsApConfApTemplConfApTimeout, ntwsApConfServProfProxyArpEnabled=ntwsApConfServProfProxyArpEnabled, ntwsApConfServProfUserIdleTimeout=ntwsApConfServProfUserIdleTimeout, ntwsApConfApTemplateRadioConfigTableGroup=ntwsApConfApTemplateRadioConfigTableGroup, ntwsApConfServProf11ngMode=ntwsApConfServProf11ngMode, ntwsApConfServProfSygateOnDemandEnabled=ntwsApConfServProfSygateOnDemandEnabled, ntwsApConfigCompliance=ntwsApConfigCompliance, ntwsApConfRadioProfCacBestEffortMaxUtilization=ntwsApConfRadioProfCacBestEffortMaxUtilization, ntwsApConfRadioProfCacBackgroundPolicingEnabled=ntwsApConfRadioProfCacBackgroundPolicingEnabled, ntwsApConfServProf11nMsduMaxLength=ntwsApConfServProf11nMsduMaxLength, ntwsApConfServProfWebPortalSessionTimeout=ntwsApConfServProfWebPortalSessionTimeout, ntwsApConfServProfWpaIeCipherCcmpEnabled=ntwsApConfServProfWpaIeCipherCcmpEnabled, ntwsApConfApConfigApName=ntwsApConfApConfigApName, ntwsApConfServProfRsnIeCipherWep40Enabled=ntwsApConfServProfRsnIeCipherWep40Enabled, ntwsApConfServProfIdleClientProbingEnabled=ntwsApConfServProfIdleClientProbingEnabled, ntwsApConfApTemplateRadioConfigEntry=ntwsApConfApTemplateRadioConfigEntry, ntwsApConfSnoopFilterEntry=ntwsApConfSnoopFilterEntry, ntwsApConfServProfRsnIeEnabled=ntwsApConfServProfRsnIeEnabled, NtwsServiceProfile11nMpduMaxLength=NtwsServiceProfile11nMpduMaxLength, ntwsApConfRadioProfFairQueuingEnabled=ntwsApConfRadioProfFairQueuingEnabled, ntwsApConfServProfLoadBalanceExemptEnabled=ntwsApConfServProfLoadBalanceExemptEnabled, ntwsApConfServProf11nShortGuardIntervalEnabled=ntwsApConfServProf11nShortGuardIntervalEnabled, ntwsApConfApConfigLocation=ntwsApConfApConfigLocation, ntwsApConfRadioProfChannelWidth11na=ntwsApConfRadioProfChannelWidth11na, ntwsApConfRadioProfCacBackgroundACMandatory=ntwsApConfRadioProfCacBackgroundACMandatory, ntwsApConfRpSnoopfRadioProfileName=ntwsApConfRpSnoopfRadioProfileName, ntwsApConfApConfigForceImageDownloadEnabled=ntwsApConfApConfigForceImageDownloadEnabled, ntwsApConfRadioProfRfidTagEnabled=ntwsApConfRadioProfRfidTagEnabled, ntwsApConfRpServpServiceProfileName=ntwsApConfRpServpServiceProfileName, ntwsApConfServProfSharedKeyAuthEnabled=ntwsApConfServProfSharedKeyAuthEnabled, ntwsApConfRadioProfCacVoiceACMandatory=ntwsApConfRadioProfCacVoiceACMandatory, ntwsApConfApConfigLocalSwitchingEnabled=ntwsApConfApConfigLocalSwitchingEnabled, ntwsApConfApConfigBias=ntwsApConfApConfigBias, ntwsApConfServProfWpaIeAuthPskEnabled=ntwsApConfServProfWpaIeAuthPskEnabled, ntwsApConfRpSnoopfSnoopFilterName=ntwsApConfRpSnoopfSnoopFilterName, ntwsApConfApConfigFirmwareUpgradeEnabled=ntwsApConfApConfigFirmwareUpgradeEnabled, ntwsApConfRadioConfigRadioProfileName=ntwsApConfRadioConfigRadioProfileName, ntwsApConfServProfSodaSuccessPage=ntwsApConfServProfSodaSuccessPage, ntwsApConfServProf11nMpduMaxLength=ntwsApConfServProf11nMpduMaxLength, ntwsApConfServProfCacMode=ntwsApConfServProfCacMode, ntwsApConfApTemplConfLedMode=ntwsApConfApTemplConfLedMode, ntwsApConfRadioProfCacVideoPolicingEnabled=ntwsApConfRadioProfCacVideoPolicingEnabled, ntwsApConfRpServpRadioProfileName=ntwsApConfRpServpRadioProfileName, NtwsServiceProfileName=NtwsServiceProfileName, ntwsApConfRadioProfMaxTxLifetime=ntwsApConfRadioProfMaxTxLifetime, ntwsApConfServiceProfileTable=ntwsApConfServiceProfileTable, ntwsApConfServProfAuthFallthru=ntwsApConfServProfAuthFallthru, ntwsApConfServProfServiceProfileName=ntwsApConfServProfServiceProfileName, ntwsApConfServiceProfileEntry=ntwsApConfServiceProfileEntry, ntwsApConfApTemplConfBias=ntwsApConfApTemplConfBias, ntwsApConfServProfSsidType=ntwsApConfServProfSsidType, ntwsApConfServProfTkipMicCountermeasuresTime=ntwsApConfServProfTkipMicCountermeasuresTime, NtwsServiceProfile11nMsduMaxLength=NtwsServiceProfile11nMsduMaxLength, ntwsApConfApConfigTableGroup=ntwsApConfApConfigTableGroup, ntwsApConfRadioProfDtimInterval=ntwsApConfRadioProfDtimInterval, ntwsApConfApConfigBlinkEnabled=ntwsApConfApConfigBlinkEnabled, ntwsApConfRadioProfileTable=ntwsApConfRadioProfileTable, ntwsApConfServProfRsnIeCipherWep104Enabled=ntwsApConfServProfRsnIeCipherWep104Enabled, ntwsApConfApConfigDescription=ntwsApConfApConfigDescription, ntwsApConfApTemRadioConfLoadBalancingGroup=ntwsApConfApTemRadioConfLoadBalancingGroup, ntwsApConfRadioProfFragThreshold=ntwsApConfRadioProfFragThreshold, ntwsApConfRadioProfServiceProfileTable=ntwsApConfRadioProfServiceProfileTable, ntwsApConfRadioProfDfsChannelsEnabled=ntwsApConfRadioProfDfsChannelsEnabled, NtwsServiceProfileCacMode=NtwsServiceProfileCacMode, ntwsApConfRpSnoopfRowStatus=ntwsApConfRpSnoopfRowStatus, ntwsApConfServProfSodaFailurePage=ntwsApConfServProfSodaFailurePage, ntwsApConfSnoopFilterTable=ntwsApConfSnoopFilterTable, ntwsApConfRadioConfigChannel=ntwsApConfRadioConfigChannel, ntwsApConfApTemRadioConfRadioMode=ntwsApConfApTemRadioConfRadioMode, ntwsApConfigGroups=ntwsApConfigGroups, ntwsApConfApConfigApTimeout=ntwsApConfApConfigApTimeout, ntwsApConfApConfigContact=ntwsApConfApConfigContact, ntwsApConfRadioProfRadioProfileName=ntwsApConfRadioProfRadioProfileName, ntwsApConfServProfRsnIeAuthDot1xEnabled=ntwsApConfServProfRsnIeAuthDot1xEnabled, ntwsApConfApTemRadioConfAutoTuneMaxTxPower=ntwsApConfApTemRadioConfAutoTuneMaxTxPower, ntwsApConfServProfDhcpRestrictEnabled=ntwsApConfServProfDhcpRestrictEnabled, ntwsApConfigMibObjects=ntwsApConfigMibObjects, PYSNMP_MODULE_ID=ntwsApConfigMib, ntwsApConfApTemRadioConfLoadRebalancingEnabled=ntwsApConfApTemRadioConfLoadRebalancingEnabled, ntwsApConfRadioProfMaxRxLifetime=ntwsApConfRadioProfMaxRxLifetime, ntwsApConfSnoopFilterEnabled=ntwsApConfSnoopFilterEnabled, ntwsApConfServiceProfileTableGroup=ntwsApConfServiceProfileTableGroup, ntwsApConfRadioProfCacVideoACMandatory=ntwsApConfRadioProfCacVideoACMandatory, NtwsServiceProfileSsidType=NtwsServiceProfileSsidType, ntwsApConfServProfMeshModeEnabled=ntwsApConfServProfMeshModeEnabled, ntwsApConfApTemplConfFirmwareUpgradeEnabled=ntwsApConfApTemplConfFirmwareUpgradeEnabled, ntwsApConfRadioProfAutoTuneChannelHolddownInterval=ntwsApConfRadioProfAutoTuneChannelHolddownInterval, ntwsApConfRadioProfCacVoicePolicingEnabled=ntwsApConfRadioProfCacVoicePolicingEnabled, ntwsApConfRadioProfileEntry=ntwsApConfRadioProfileEntry, ntwsApConfRadioConfigAntennaType=ntwsApConfRadioConfigAntennaType, ntwsApConfApConfigFingerprint=ntwsApConfApConfigFingerprint, ntwsApConfServProfWpaIeCipherWep104Enabled=ntwsApConfServProfWpaIeCipherWep104Enabled, ntwsApConfServProfCacSessCount=ntwsApConfServProfCacSessCount, ntwsApConfApConfigEntry=ntwsApConfApConfigEntry, ntwsApConfRadioConfigLoadRebalancingEnabled=ntwsApConfRadioConfigLoadRebalancingEnabled, ntwsApConfApTemplConfPowerMode=ntwsApConfApTemplConfPowerMode, NtwsRadioProfileCountermeasuresMode=NtwsRadioProfileCountermeasuresMode, ntwsApConfRadioConfigTxPower=ntwsApConfRadioConfigTxPower, ntwsApConfServProfSodaRemediationAcl=ntwsApConfServProfSodaRemediationAcl, ntwsApConfServProfWpaIeAuthDot1xEnabled=ntwsApConfServProfWpaIeAuthDot1xEnabled, ntwsApConfApConfigApAttachType=ntwsApConfApConfigApAttachType, ntwsApConfApTemplateRadioConfigTable=ntwsApConfApTemplateRadioConfigTable, NtwsSnoopFilterName=NtwsSnoopFilterName, ntwsApConfServProfLongRetryCount=ntwsApConfServProfLongRetryCount, ntwsApConfServProfWebPortalAcl=ntwsApConfServProfWebPortalAcl, ntwsApConfRadioProfSnoopFilterEntry=ntwsApConfRadioProfSnoopFilterEntry, ntwsApConfRadioProfRateEnforcementEnabled=ntwsApConfRadioProfRateEnforcementEnabled, NtwsServiceProfileAuthFallthruType=NtwsServiceProfileAuthFallthruType, ntwsApConfRadioProfCacBackgroundMaxUtilization=ntwsApConfRadioProfCacBackgroundMaxUtilization, ntwsApConfRadioProfAutoTuneChannelChangeInterval=ntwsApConfRadioProfAutoTuneChannelChangeInterval, ntwsApConfRadioConfigLoadBalancingEnabled=ntwsApConfRadioConfigLoadBalancingEnabled, ntwsApConfRadioConfigAutoTuneMaxTxPower=ntwsApConfRadioConfigAutoTuneMaxTxPower, ntwsApConfSnoopFilterName=ntwsApConfSnoopFilterName, ntwsApConfApTemplConfApTemplateEnabled=ntwsApConfApTemplConfApTemplateEnabled, ntwsApConfApTemplateConfigTable=ntwsApConfApTemplateConfigTable, ntwsApConfApTemRadioConfRadioProfileName=ntwsApConfApTemRadioConfRadioProfileName, ntwsApConfRadioConfigRadioType=ntwsApConfRadioConfigRadioType, ntwsApConfRadioProfWmmPowerSaveEnabled=ntwsApConfRadioProfWmmPowerSaveEnabled, ntwsApConfServProfShortRetryCount=ntwsApConfServProfShortRetryCount, ntwsApConfServProfRsnIeAuthPskEnabled=ntwsApConfServProfRsnIeAuthPskEnabled, ntwsApConfServProfSodaAgentDirectory=ntwsApConfServProfSodaAgentDirectory, ntwsApConfRadioProfSnoopFilterTable=ntwsApConfRadioProfSnoopFilterTable, ntwsApConfRadioProfileTableGroup=ntwsApConfRadioProfileTableGroup, ntwsApConfRadioProfRtsThreshold=ntwsApConfRadioProfRtsThreshold, ntwsApConfApConfigApNum=ntwsApConfApConfigApNum, ntwsApConfApTemRadioConfApTemplateName=ntwsApConfApTemRadioConfApTemplateName, ntwsApConfServProfBeaconEnabled=ntwsApConfServProfBeaconEnabled, ntwsApConfApConfigPowerMode=ntwsApConfApConfigPowerMode, ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled=ntwsApConfRadioProfAutoTuneIgnoreClientsEnabled, ntwsApConfServProfNoBroadcastEnabled=ntwsApConfServProfNoBroadcastEnabled)
class CarTablePage(Page): add_car_form = AddCarForm() car_table = CarTable() def add_car(self, car: Car): self.add_car_form.add_car(car) def remove_car(self, car: Car): self.car_table.remove_car(car) @property def cars(self) -> List[Car]: return self.car_table.cars
class Cartablepage(Page): add_car_form = add_car_form() car_table = car_table() def add_car(self, car: Car): self.add_car_form.add_car(car) def remove_car(self, car: Car): self.car_table.remove_car(car) @property def cars(self) -> List[Car]: return self.car_table.cars
r_0_0=[[0,1,2,3,4],[15,16,17,18,5],[14,23,34,19,6],[13,22,21,20,7],[12,11,10,9, 8]] r_4_0=[[4,5,6,7,8],[ 3,18,19,20,9],[2,17,24,21,10],[1,16,23,22,11],[0,15,14,13,12]] def index(s,pos): def espelho_linhas(lst): """ Pega numa chave e inverte cada linha, mantendo a sua ordem na chave """ res=[] for linha in lst: linha_res= linha[::-1] res+= [linha_res] return res def espelho_colunas(lst): """ Pega numa chave e inverte a ordem das linhas na chave """ res=[] for linha in lst: res= [linha]+res return res def linha_pos(p): """ -Seletor da componente 'linha' do tipo abstrato posicao Input: -p: um elemento do tipo posicao Output: -Valor numerico entre 0 e 4 correspondente ao componente 'linha' de <p> Funcoes externas ao Python usadas: -- """ return p[0] def coluna_pos(p): """ -Seletor da componente 'coluna' do tipo abstrato posicao Input: -p: um elemento do tipo posicao Output: -Valor numerico entre 0 e 4 correspondente ao componente 'coluna' de <p> Funcoes externas ao Python usadas: -- """ return p[1] if s=='r': if coluna_pos(pos)==0: if linha_pos(pos)== 0: #'r', (0,0) chave=r_0_0 else: #'r', (4,0) chave=r_4_0 else: if linha_pos(pos)==4: #'r', (4,4) chave=espelho_linhas(espelho_colunas(r_0_0)) else: #'r', (4,0) chave=espelho_linhas(espelho_colunas(r_4_0)) elif s=='c': if coluna_pos(pos)==4: if linha_pos(pos)==0: #'c', (0,4) chave= espelho_linhas(r_0_0) else: #'c', (4,4) chave= espelho_linhas(r_4_0) else: if linha_pos(pos)==4: #'c',(4,0) chave= espelho_colunas(r_0_0) else: #'c',(0,0) chave= espelho_colunas(r_4_0) return chave
r_0_0 = [[0, 1, 2, 3, 4], [15, 16, 17, 18, 5], [14, 23, 34, 19, 6], [13, 22, 21, 20, 7], [12, 11, 10, 9, 8]] r_4_0 = [[4, 5, 6, 7, 8], [3, 18, 19, 20, 9], [2, 17, 24, 21, 10], [1, 16, 23, 22, 11], [0, 15, 14, 13, 12]] def index(s, pos): def espelho_linhas(lst): """ Pega numa chave e inverte cada linha, mantendo a sua ordem na chave """ res = [] for linha in lst: linha_res = linha[::-1] res += [linha_res] return res def espelho_colunas(lst): """ Pega numa chave e inverte a ordem das linhas na chave """ res = [] for linha in lst: res = [linha] + res return res def linha_pos(p): """ -Seletor da componente 'linha' do tipo abstrato posicao Input: -p: um elemento do tipo posicao Output: -Valor numerico entre 0 e 4 correspondente ao componente 'linha' de <p> Funcoes externas ao Python usadas: -- """ return p[0] def coluna_pos(p): """ -Seletor da componente 'coluna' do tipo abstrato posicao Input: -p: um elemento do tipo posicao Output: -Valor numerico entre 0 e 4 correspondente ao componente 'coluna' de <p> Funcoes externas ao Python usadas: -- """ return p[1] if s == 'r': if coluna_pos(pos) == 0: if linha_pos(pos) == 0: chave = r_0_0 else: chave = r_4_0 elif linha_pos(pos) == 4: chave = espelho_linhas(espelho_colunas(r_0_0)) else: chave = espelho_linhas(espelho_colunas(r_4_0)) elif s == 'c': if coluna_pos(pos) == 4: if linha_pos(pos) == 0: chave = espelho_linhas(r_0_0) else: chave = espelho_linhas(r_4_0) elif linha_pos(pos) == 4: chave = espelho_colunas(r_0_0) else: chave = espelho_colunas(r_4_0) return chave
# # PySNMP MIB module UBNT-AirMAX-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/UBNT-AirMAX-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:28:21 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ConstraintsUnion, ConstraintsIntersection, ValueRangeConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsUnion", "ConstraintsIntersection", "ValueRangeConstraint", "ValueSizeConstraint") ModuleCompliance, ObjectGroup, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup", "NotificationGroup") Counter32, Gauge32, ModuleIdentity, Counter64, ObjectIdentity, IpAddress, Bits, NotificationType, Integer32, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, MibIdentifier, iso, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "Counter32", "Gauge32", "ModuleIdentity", "Counter64", "ObjectIdentity", "IpAddress", "Bits", "NotificationType", "Integer32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "MibIdentifier", "iso", "Unsigned32") MacAddress, TextualConvention, DisplayString, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "MacAddress", "TextualConvention", "DisplayString", "TruthValue") ubntMIB, ubntAirosGroups = mibBuilder.importSymbols("UBNT-MIB", "ubntMIB", "ubntAirosGroups") ubntAirMAX = ModuleIdentity((1, 3, 6, 1, 4, 1, 41112, 1, 4)) ubntAirMAX.setRevisions(('2015-09-17 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ubntAirMAX.setRevisionsDescriptions(('ubntAirMAX revision',)) if mibBuilder.loadTexts: ubntAirMAX.setLastUpdated('201509170000Z') if mibBuilder.loadTexts: ubntAirMAX.setOrganization('Ubiquiti Networks, Inc.') if mibBuilder.loadTexts: ubntAirMAX.setContactInfo('support@ubnt.com') if mibBuilder.loadTexts: ubntAirMAX.setDescription('The AirMAX MIB module for Ubiquiti Networks, Inc. entities') ubntRadioTable = MibTable((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1), ) if mibBuilder.loadTexts: ubntRadioTable.setStatus('current') if mibBuilder.loadTexts: ubntRadioTable.setDescription('Radio status & statistics') ubntRadioEntry = MibTableRow((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1), ).setIndexNames((0, "UBNT-AirMAX-MIB", "ubntRadioIndex")) if mibBuilder.loadTexts: ubntRadioEntry.setStatus('current') if mibBuilder.loadTexts: ubntRadioEntry.setDescription('An entry in the ubntRadioTable') ubntRadioIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))) if mibBuilder.loadTexts: ubntRadioIndex.setStatus('current') if mibBuilder.loadTexts: ubntRadioIndex.setDescription('Index for the ubntRadioTable') ubntRadioMode = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("sta", 1), ("ap", 2), ("aprepeater", 3), ("apwds", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioMode.setStatus('current') if mibBuilder.loadTexts: ubntRadioMode.setDescription('Radio mode') ubntRadioCCode = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioCCode.setStatus('current') if mibBuilder.loadTexts: ubntRadioCCode.setDescription('Country code') ubntRadioFreq = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioFreq.setStatus('current') if mibBuilder.loadTexts: ubntRadioFreq.setDescription('Operating frequency') ubntRadioDfsEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 5), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioDfsEnabled.setStatus('current') if mibBuilder.loadTexts: ubntRadioDfsEnabled.setDescription('DFS status') ubntRadioTxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioTxPower.setStatus('current') if mibBuilder.loadTexts: ubntRadioTxPower.setDescription('Transmit power') ubntRadioDistance = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioDistance.setStatus('current') if mibBuilder.loadTexts: ubntRadioDistance.setDescription('Distance') ubntRadioChainmask = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioChainmask.setStatus('current') if mibBuilder.loadTexts: ubntRadioChainmask.setDescription('Chainmask') ubntRadioAntenna = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 9), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioAntenna.setStatus('current') if mibBuilder.loadTexts: ubntRadioAntenna.setDescription('Antenna') ubntRadioRssiTable = MibTable((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2), ) if mibBuilder.loadTexts: ubntRadioRssiTable.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssiTable.setDescription('Radio RSSI per chain') ubntRadioRssiEntry = MibTableRow((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2, 1), ).setIndexNames((0, "UBNT-AirMAX-MIB", "ubntRadioIndex"), (0, "UBNT-AirMAX-MIB", "ubntRadioRssiIndex")) if mibBuilder.loadTexts: ubntRadioRssiEntry.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssiEntry.setDescription('An entry in the ubntRadioRssiTable') ubntRadioRssiIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))) if mibBuilder.loadTexts: ubntRadioRssiIndex.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssiIndex.setDescription('Index for the ubntRadioRssiTable') ubntRadioRssi = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioRssi.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssi.setDescription('Data frames rssi per chain') ubntRadioRssiMgmt = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioRssiMgmt.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssiMgmt.setDescription('Management frames rssi per chain') ubntRadioRssiExt = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntRadioRssiExt.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssiExt.setDescription('Extension channel rssi per chain') ubntAirMaxTable = MibTable((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6), ) if mibBuilder.loadTexts: ubntAirMaxTable.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxTable.setDescription('airMAX protocol statistics') ubntAirMaxEntry = MibTableRow((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1), ).setIndexNames((0, "UBNT-AirMAX-MIB", "ubntAirMaxIfIndex")) if mibBuilder.loadTexts: ubntAirMaxEntry.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxEntry.setDescription('An entry in the ubntAirMaxTable') ubntAirMaxIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))) if mibBuilder.loadTexts: ubntAirMaxIfIndex.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxIfIndex.setDescription('Index for the ubntAirMaxTable') ubntAirMaxEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirMaxEnabled.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxEnabled.setDescription('airMAX status - on/off') ubntAirMaxQuality = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirMaxQuality.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxQuality.setDescription('airMAX quality - percentage') ubntAirMaxCapacity = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirMaxCapacity.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxCapacity.setDescription('airMAX capacity - percentage') ubntAirMaxPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("high", 0), ("medium", 1), ("low", 2), ("none", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirMaxPriority.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxPriority.setDescription('airMAX priority - none/high/low/medium') ubntAirMaxNoAck = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirMaxNoAck.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxNoAck.setDescription('airMAX NoACK mode - on/off') ubntAirSyncTable = MibTable((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3), ) if mibBuilder.loadTexts: ubntAirSyncTable.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncTable.setDescription('airSync protocol statistics') ubntAirSyncEntry = MibTableRow((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1), ).setIndexNames((0, "UBNT-AirMAX-MIB", "ubntAirSyncIfIndex")) if mibBuilder.loadTexts: ubntAirSyncEntry.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncEntry.setDescription('An entry in the ubntAirSyncTable') ubntAirSyncIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))) if mibBuilder.loadTexts: ubntAirSyncIfIndex.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncIfIndex.setDescription('Index for the ubntAirSyncTable') ubntAirSyncMode = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disabled", 0), ("master", 1), ("slave", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirSyncMode.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncMode.setDescription('airSync mode - master/slave') ubntAirSyncCount = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirSyncCount.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncCount.setDescription('airSync client count') ubntAirSyncDownUtil = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirSyncDownUtil.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncDownUtil.setDescription('airSync down utilization') ubntAirSyncUpUtil = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirSyncUpUtil.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncUpUtil.setDescription('airSync up utilization') ubntAirSelTable = MibTable((1, 3, 6, 1, 4, 1, 41112, 1, 4, 4), ) if mibBuilder.loadTexts: ubntAirSelTable.setStatus('current') if mibBuilder.loadTexts: ubntAirSelTable.setDescription('airSelect protocol statistics') ubntAirSelEntry = MibTableRow((1, 3, 6, 1, 4, 1, 41112, 1, 4, 4, 1), ).setIndexNames((0, "UBNT-AirMAX-MIB", "ubntAirSelIfIndex")) if mibBuilder.loadTexts: ubntAirSelEntry.setStatus('current') if mibBuilder.loadTexts: ubntAirSelEntry.setDescription('An entry in the ubntAirSelTable') ubntAirSelIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))) if mibBuilder.loadTexts: ubntAirSelIfIndex.setStatus('current') if mibBuilder.loadTexts: ubntAirSelIfIndex.setDescription('Index for the ubntAirSelTable') ubntAirSelEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 4, 1, 2), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirSelEnabled.setStatus('current') if mibBuilder.loadTexts: ubntAirSelEnabled.setDescription('airSelect status - on/off') ubntAirSelInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntAirSelInterval.setStatus('current') if mibBuilder.loadTexts: ubntAirSelInterval.setDescription('airSelect hop interval (miliseconds)') ubntWlStatTable = MibTable((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5), ) if mibBuilder.loadTexts: ubntWlStatTable.setStatus('current') if mibBuilder.loadTexts: ubntWlStatTable.setDescription('Wireless statistics') ubntWlStatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1), ).setIndexNames((0, "UBNT-AirMAX-MIB", "ubntWlStatIndex")) if mibBuilder.loadTexts: ubntWlStatEntry.setStatus('current') if mibBuilder.loadTexts: ubntWlStatEntry.setDescription('An entry in the ubntWlStatTable') ubntWlStatIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))) if mibBuilder.loadTexts: ubntWlStatIndex.setStatus('current') if mibBuilder.loadTexts: ubntWlStatIndex.setDescription('Index for the ubntWlStatTable') ubntWlStatSsid = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatSsid.setStatus('current') if mibBuilder.loadTexts: ubntWlStatSsid.setDescription('SSID') ubntWlStatHideSsid = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 3), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatHideSsid.setStatus('current') if mibBuilder.loadTexts: ubntWlStatHideSsid.setDescription('Hide SSID - on/off') ubntWlStatApMac = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 4), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatApMac.setStatus('current') if mibBuilder.loadTexts: ubntWlStatApMac.setDescription('AP MAC address') ubntWlStatSignal = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatSignal.setStatus('current') if mibBuilder.loadTexts: ubntWlStatSignal.setDescription('Signal strength, dBm') ubntWlStatRssi = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatRssi.setStatus('current') if mibBuilder.loadTexts: ubntWlStatRssi.setDescription('RSSI, dBm') ubntWlStatCcq = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatCcq.setStatus('current') if mibBuilder.loadTexts: ubntWlStatCcq.setDescription('CCQ in %') ubntWlStatNoiseFloor = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatNoiseFloor.setStatus('current') if mibBuilder.loadTexts: ubntWlStatNoiseFloor.setDescription('Noise floor') ubntWlStatTxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatTxRate.setStatus('current') if mibBuilder.loadTexts: ubntWlStatTxRate.setDescription('TX rate') ubntWlStatRxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatRxRate.setStatus('current') if mibBuilder.loadTexts: ubntWlStatRxRate.setDescription('RX rate') ubntWlStatSecurity = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 11), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatSecurity.setStatus('current') if mibBuilder.loadTexts: ubntWlStatSecurity.setDescription('Wireless security mode') ubntWlStatWdsEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 12), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatWdsEnabled.setStatus('current') if mibBuilder.loadTexts: ubntWlStatWdsEnabled.setDescription('WDS - on/off') ubntWlStatApRepeater = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 13), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatApRepeater.setStatus('current') if mibBuilder.loadTexts: ubntWlStatApRepeater.setDescription('AP repeater - on/off') ubntWlStatChanWidth = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 14), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatChanWidth.setStatus('current') if mibBuilder.loadTexts: ubntWlStatChanWidth.setDescription('Channel Width') ubntWlStatStaCount = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 15), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntWlStatStaCount.setStatus('current') if mibBuilder.loadTexts: ubntWlStatStaCount.setDescription('Station count') ubntStaTable = MibTable((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7), ) if mibBuilder.loadTexts: ubntStaTable.setStatus('current') if mibBuilder.loadTexts: ubntStaTable.setDescription('Station list') ubntStaEntry = MibTableRow((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1), ).setIndexNames((0, "UBNT-AirMAX-MIB", "ubntWlStatIndex"), (0, "UBNT-AirMAX-MIB", "ubntStaMac")) if mibBuilder.loadTexts: ubntStaEntry.setStatus('current') if mibBuilder.loadTexts: ubntStaEntry.setDescription('An entry in the ubntStaEntry') ubntStaMac = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 1), MacAddress()) if mibBuilder.loadTexts: ubntStaMac.setStatus('current') if mibBuilder.loadTexts: ubntStaMac.setDescription('Station MAC address') ubntStaName = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaName.setStatus('current') if mibBuilder.loadTexts: ubntStaName.setDescription('Station name') ubntStaSignal = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaSignal.setStatus('current') if mibBuilder.loadTexts: ubntStaSignal.setDescription('Signal strength, dBm') ubntStaNoiseFloor = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaNoiseFloor.setStatus('current') if mibBuilder.loadTexts: ubntStaNoiseFloor.setDescription('Noise floor') ubntStaDistance = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaDistance.setStatus('current') if mibBuilder.loadTexts: ubntStaDistance.setDescription('Distance') ubntStaCcq = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaCcq.setStatus('current') if mibBuilder.loadTexts: ubntStaCcq.setDescription('CCQ in %') ubntStaAmp = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaAmp.setStatus('current') if mibBuilder.loadTexts: ubntStaAmp.setDescription('airMAX priority') ubntStaAmq = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaAmq.setStatus('current') if mibBuilder.loadTexts: ubntStaAmq.setDescription('airMAX quality') ubntStaAmc = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaAmc.setStatus('current') if mibBuilder.loadTexts: ubntStaAmc.setDescription('airMAX capacity') ubntStaLastIp = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 10), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaLastIp.setStatus('current') if mibBuilder.loadTexts: ubntStaLastIp.setDescription('Last known IP address') ubntStaTxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaTxRate.setStatus('current') if mibBuilder.loadTexts: ubntStaTxRate.setDescription('TX rate') ubntStaRxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 12), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaRxRate.setStatus('current') if mibBuilder.loadTexts: ubntStaRxRate.setDescription('RX rate') ubntStaTxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaTxBytes.setStatus('current') if mibBuilder.loadTexts: ubntStaTxBytes.setDescription('TX bytes') ubntStaRxBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 14), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaRxBytes.setStatus('current') if mibBuilder.loadTexts: ubntStaRxBytes.setDescription('TX rate') ubntStaConnTime = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 15), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaConnTime.setStatus('current') if mibBuilder.loadTexts: ubntStaConnTime.setDescription('Connection Time in seconds') ubntStaLocalCINR = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 16), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaLocalCINR.setStatus('current') if mibBuilder.loadTexts: ubntStaLocalCINR.setDescription('Local CINR') ubntStaTxCapacity = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 17), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaTxCapacity.setStatus('current') if mibBuilder.loadTexts: ubntStaTxCapacity.setDescription('Uplink Capacity in Kbps') ubntStaRxCapacity = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 18), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaRxCapacity.setStatus('current') if mibBuilder.loadTexts: ubntStaRxCapacity.setDescription('Downlink Capacity in Kbps') ubntStaTxAirtime = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 19), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaTxAirtime.setStatus('current') if mibBuilder.loadTexts: ubntStaTxAirtime.setDescription('Uplink Airtime in % multiplied by 10') ubntStaRxAirtime = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 20), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaRxAirtime.setStatus('current') if mibBuilder.loadTexts: ubntStaRxAirtime.setDescription('Downlink Airtime in % multiplied by 10') ubntStaTxLatency = MibTableColumn((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 21), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: ubntStaTxLatency.setStatus('current') if mibBuilder.loadTexts: ubntStaTxLatency.setDescription('Uplink Latency in milliseconds') ubntAirMAXStatusGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 41112, 1, 2, 2, 1)).setObjects(("UBNT-AirMAX-MIB", "ubntStaName"), ("UBNT-AirMAX-MIB", "ubntStaSignal"), ("UBNT-AirMAX-MIB", "ubntStaNoiseFloor"), ("UBNT-AirMAX-MIB", "ubntStaDistance"), ("UBNT-AirMAX-MIB", "ubntStaCcq"), ("UBNT-AirMAX-MIB", "ubntStaAmp"), ("UBNT-AirMAX-MIB", "ubntStaAmq"), ("UBNT-AirMAX-MIB", "ubntStaAmc"), ("UBNT-AirMAX-MIB", "ubntStaLastIp"), ("UBNT-AirMAX-MIB", "ubntStaTxRate"), ("UBNT-AirMAX-MIB", "ubntStaRxRate"), ("UBNT-AirMAX-MIB", "ubntStaTxBytes"), ("UBNT-AirMAX-MIB", "ubntStaRxBytes"), ("UBNT-AirMAX-MIB", "ubntStaConnTime"), ("UBNT-AirMAX-MIB", "ubntStaLocalCINR"), ("UBNT-AirMAX-MIB", "ubntStaTxCapacity"), ("UBNT-AirMAX-MIB", "ubntStaRxCapacity"), ("UBNT-AirMAX-MIB", "ubntStaTxAirtime"), ("UBNT-AirMAX-MIB", "ubntStaRxAirtime"), ("UBNT-AirMAX-MIB", "ubntStaTxLatency"), ("UBNT-AirMAX-MIB", "ubntRadioMode"), ("UBNT-AirMAX-MIB", "ubntRadioCCode"), ("UBNT-AirMAX-MIB", "ubntRadioFreq"), ("UBNT-AirMAX-MIB", "ubntRadioDfsEnabled"), ("UBNT-AirMAX-MIB", "ubntRadioTxPower"), ("UBNT-AirMAX-MIB", "ubntRadioDistance"), ("UBNT-AirMAX-MIB", "ubntRadioChainmask"), ("UBNT-AirMAX-MIB", "ubntRadioAntenna"), ("UBNT-AirMAX-MIB", "ubntRadioRssi"), ("UBNT-AirMAX-MIB", "ubntRadioRssiMgmt"), ("UBNT-AirMAX-MIB", "ubntRadioRssiExt"), ("UBNT-AirMAX-MIB", "ubntAirMaxEnabled"), ("UBNT-AirMAX-MIB", "ubntAirMaxQuality"), ("UBNT-AirMAX-MIB", "ubntAirMaxCapacity"), ("UBNT-AirMAX-MIB", "ubntAirMaxPriority"), ("UBNT-AirMAX-MIB", "ubntAirMaxNoAck"), ("UBNT-AirMAX-MIB", "ubntAirSyncMode"), ("UBNT-AirMAX-MIB", "ubntAirSyncCount"), ("UBNT-AirMAX-MIB", "ubntAirSyncDownUtil"), ("UBNT-AirMAX-MIB", "ubntAirSyncUpUtil"), ("UBNT-AirMAX-MIB", "ubntAirSelEnabled"), ("UBNT-AirMAX-MIB", "ubntAirSelInterval"), ("UBNT-AirMAX-MIB", "ubntWlStatSsid"), ("UBNT-AirMAX-MIB", "ubntWlStatHideSsid"), ("UBNT-AirMAX-MIB", "ubntWlStatApMac"), ("UBNT-AirMAX-MIB", "ubntWlStatSignal"), ("UBNT-AirMAX-MIB", "ubntWlStatRssi"), ("UBNT-AirMAX-MIB", "ubntWlStatCcq"), ("UBNT-AirMAX-MIB", "ubntWlStatNoiseFloor"), ("UBNT-AirMAX-MIB", "ubntWlStatTxRate"), ("UBNT-AirMAX-MIB", "ubntWlStatRxRate"), ("UBNT-AirMAX-MIB", "ubntWlStatSecurity"), ("UBNT-AirMAX-MIB", "ubntWlStatWdsEnabled"), ("UBNT-AirMAX-MIB", "ubntWlStatApRepeater"), ("UBNT-AirMAX-MIB", "ubntWlStatChanWidth"), ("UBNT-AirMAX-MIB", "ubntWlStatStaCount")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ubntAirMAXStatusGroup = ubntAirMAXStatusGroup.setStatus('current') if mibBuilder.loadTexts: ubntAirMAXStatusGroup.setDescription('Status and statistics for AirMax monitoring') ubntAirMAXStatusCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 41112, 1, 2, 2, 2)).setObjects(("UBNT-AirMAX-MIB", "ubntAirMAXStatusGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ubntAirMAXStatusCompliance = ubntAirMAXStatusCompliance.setStatus('current') if mibBuilder.loadTexts: ubntAirMAXStatusCompliance.setDescription('The compliance statement for Ubiquiti AirMax entities.') mibBuilder.exportSymbols("UBNT-AirMAX-MIB", ubntStaRxBytes=ubntStaRxBytes, ubntWlStatIndex=ubntWlStatIndex, ubntWlStatNoiseFloor=ubntWlStatNoiseFloor, ubntStaName=ubntStaName, ubntStaTxLatency=ubntStaTxLatency, ubntAirMAX=ubntAirMAX, ubntStaAmp=ubntStaAmp, ubntWlStatStaCount=ubntWlStatStaCount, ubntRadioChainmask=ubntRadioChainmask, ubntAirSyncDownUtil=ubntAirSyncDownUtil, ubntRadioTxPower=ubntRadioTxPower, ubntWlStatSecurity=ubntWlStatSecurity, ubntStaDistance=ubntStaDistance, ubntStaNoiseFloor=ubntStaNoiseFloor, ubntWlStatTxRate=ubntWlStatTxRate, ubntStaRxCapacity=ubntStaRxCapacity, ubntWlStatHideSsid=ubntWlStatHideSsid, ubntRadioRssiMgmt=ubntRadioRssiMgmt, ubntAirSyncIfIndex=ubntAirSyncIfIndex, ubntRadioEntry=ubntRadioEntry, ubntStaEntry=ubntStaEntry, ubntAirSyncUpUtil=ubntAirSyncUpUtil, ubntStaRxAirtime=ubntStaRxAirtime, ubntAirSelEntry=ubntAirSelEntry, ubntRadioRssiExt=ubntRadioRssiExt, ubntWlStatRssi=ubntWlStatRssi, ubntRadioTable=ubntRadioTable, ubntRadioAntenna=ubntRadioAntenna, ubntStaTxCapacity=ubntStaTxCapacity, ubntRadioFreq=ubntRadioFreq, ubntWlStatEntry=ubntWlStatEntry, ubntStaTxRate=ubntStaTxRate, ubntAirMaxNoAck=ubntAirMaxNoAck, ubntStaSignal=ubntStaSignal, ubntAirSelInterval=ubntAirSelInterval, ubntWlStatRxRate=ubntWlStatRxRate, ubntRadioRssi=ubntRadioRssi, ubntAirMaxEnabled=ubntAirMaxEnabled, ubntWlStatApRepeater=ubntWlStatApRepeater, ubntWlStatChanWidth=ubntWlStatChanWidth, ubntRadioIndex=ubntRadioIndex, ubntAirSyncCount=ubntAirSyncCount, ubntAirMaxQuality=ubntAirMaxQuality, ubntAirMaxTable=ubntAirMaxTable, ubntStaTxBytes=ubntStaTxBytes, ubntRadioCCode=ubntRadioCCode, ubntAirMaxCapacity=ubntAirMaxCapacity, ubntRadioDistance=ubntRadioDistance, ubntStaConnTime=ubntStaConnTime, ubntAirMaxIfIndex=ubntAirMaxIfIndex, ubntStaAmq=ubntStaAmq, ubntAirSyncMode=ubntAirSyncMode, ubntRadioRssiTable=ubntRadioRssiTable, ubntStaLocalCINR=ubntStaLocalCINR, ubntWlStatWdsEnabled=ubntWlStatWdsEnabled, ubntStaAmc=ubntStaAmc, ubntRadioMode=ubntRadioMode, ubntWlStatTable=ubntWlStatTable, ubntAirSyncEntry=ubntAirSyncEntry, ubntWlStatCcq=ubntWlStatCcq, PYSNMP_MODULE_ID=ubntAirMAX, ubntAirMAXStatusGroup=ubntAirMAXStatusGroup, ubntWlStatSignal=ubntWlStatSignal, ubntAirMaxEntry=ubntAirMaxEntry, ubntStaMac=ubntStaMac, ubntAirSyncTable=ubntAirSyncTable, ubntWlStatSsid=ubntWlStatSsid, ubntWlStatApMac=ubntWlStatApMac, ubntStaRxRate=ubntStaRxRate, ubntRadioRssiEntry=ubntRadioRssiEntry, ubntAirSelIfIndex=ubntAirSelIfIndex, ubntRadioDfsEnabled=ubntRadioDfsEnabled, ubntRadioRssiIndex=ubntRadioRssiIndex, ubntAirSelTable=ubntAirSelTable, ubntStaLastIp=ubntStaLastIp, ubntAirMaxPriority=ubntAirMaxPriority, ubntStaTxAirtime=ubntStaTxAirtime, ubntAirSelEnabled=ubntAirSelEnabled, ubntAirMAXStatusCompliance=ubntAirMAXStatusCompliance, ubntStaCcq=ubntStaCcq, ubntStaTable=ubntStaTable)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, constraints_union, constraints_intersection, value_range_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ValueSizeConstraint') (module_compliance, object_group, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'ObjectGroup', 'NotificationGroup') (counter32, gauge32, module_identity, counter64, object_identity, ip_address, bits, notification_type, integer32, mib_scalar, mib_table, mib_table_row, mib_table_column, time_ticks, mib_identifier, iso, unsigned32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter32', 'Gauge32', 'ModuleIdentity', 'Counter64', 'ObjectIdentity', 'IpAddress', 'Bits', 'NotificationType', 'Integer32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'TimeTicks', 'MibIdentifier', 'iso', 'Unsigned32') (mac_address, textual_convention, display_string, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'MacAddress', 'TextualConvention', 'DisplayString', 'TruthValue') (ubnt_mib, ubnt_airos_groups) = mibBuilder.importSymbols('UBNT-MIB', 'ubntMIB', 'ubntAirosGroups') ubnt_air_max = module_identity((1, 3, 6, 1, 4, 1, 41112, 1, 4)) ubntAirMAX.setRevisions(('2015-09-17 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ubntAirMAX.setRevisionsDescriptions(('ubntAirMAX revision',)) if mibBuilder.loadTexts: ubntAirMAX.setLastUpdated('201509170000Z') if mibBuilder.loadTexts: ubntAirMAX.setOrganization('Ubiquiti Networks, Inc.') if mibBuilder.loadTexts: ubntAirMAX.setContactInfo('support@ubnt.com') if mibBuilder.loadTexts: ubntAirMAX.setDescription('The AirMAX MIB module for Ubiquiti Networks, Inc. entities') ubnt_radio_table = mib_table((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1)) if mibBuilder.loadTexts: ubntRadioTable.setStatus('current') if mibBuilder.loadTexts: ubntRadioTable.setDescription('Radio status & statistics') ubnt_radio_entry = mib_table_row((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1)).setIndexNames((0, 'UBNT-AirMAX-MIB', 'ubntRadioIndex')) if mibBuilder.loadTexts: ubntRadioEntry.setStatus('current') if mibBuilder.loadTexts: ubntRadioEntry.setDescription('An entry in the ubntRadioTable') ubnt_radio_index = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))) if mibBuilder.loadTexts: ubntRadioIndex.setStatus('current') if mibBuilder.loadTexts: ubntRadioIndex.setDescription('Index for the ubntRadioTable') ubnt_radio_mode = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('sta', 1), ('ap', 2), ('aprepeater', 3), ('apwds', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioMode.setStatus('current') if mibBuilder.loadTexts: ubntRadioMode.setDescription('Radio mode') ubnt_radio_c_code = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioCCode.setStatus('current') if mibBuilder.loadTexts: ubntRadioCCode.setDescription('Country code') ubnt_radio_freq = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioFreq.setStatus('current') if mibBuilder.loadTexts: ubntRadioFreq.setDescription('Operating frequency') ubnt_radio_dfs_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 5), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioDfsEnabled.setStatus('current') if mibBuilder.loadTexts: ubntRadioDfsEnabled.setDescription('DFS status') ubnt_radio_tx_power = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioTxPower.setStatus('current') if mibBuilder.loadTexts: ubntRadioTxPower.setDescription('Transmit power') ubnt_radio_distance = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioDistance.setStatus('current') if mibBuilder.loadTexts: ubntRadioDistance.setDescription('Distance') ubnt_radio_chainmask = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioChainmask.setStatus('current') if mibBuilder.loadTexts: ubntRadioChainmask.setDescription('Chainmask') ubnt_radio_antenna = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 1, 1, 9), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioAntenna.setStatus('current') if mibBuilder.loadTexts: ubntRadioAntenna.setDescription('Antenna') ubnt_radio_rssi_table = mib_table((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2)) if mibBuilder.loadTexts: ubntRadioRssiTable.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssiTable.setDescription('Radio RSSI per chain') ubnt_radio_rssi_entry = mib_table_row((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2, 1)).setIndexNames((0, 'UBNT-AirMAX-MIB', 'ubntRadioIndex'), (0, 'UBNT-AirMAX-MIB', 'ubntRadioRssiIndex')) if mibBuilder.loadTexts: ubntRadioRssiEntry.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssiEntry.setDescription('An entry in the ubntRadioRssiTable') ubnt_radio_rssi_index = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))) if mibBuilder.loadTexts: ubntRadioRssiIndex.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssiIndex.setDescription('Index for the ubntRadioRssiTable') ubnt_radio_rssi = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioRssi.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssi.setDescription('Data frames rssi per chain') ubnt_radio_rssi_mgmt = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioRssiMgmt.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssiMgmt.setDescription('Management frames rssi per chain') ubnt_radio_rssi_ext = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 2, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntRadioRssiExt.setStatus('current') if mibBuilder.loadTexts: ubntRadioRssiExt.setDescription('Extension channel rssi per chain') ubnt_air_max_table = mib_table((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6)) if mibBuilder.loadTexts: ubntAirMaxTable.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxTable.setDescription('airMAX protocol statistics') ubnt_air_max_entry = mib_table_row((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1)).setIndexNames((0, 'UBNT-AirMAX-MIB', 'ubntAirMaxIfIndex')) if mibBuilder.loadTexts: ubntAirMaxEntry.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxEntry.setDescription('An entry in the ubntAirMaxTable') ubnt_air_max_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))) if mibBuilder.loadTexts: ubntAirMaxIfIndex.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxIfIndex.setDescription('Index for the ubntAirMaxTable') ubnt_air_max_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 2), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirMaxEnabled.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxEnabled.setDescription('airMAX status - on/off') ubnt_air_max_quality = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirMaxQuality.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxQuality.setDescription('airMAX quality - percentage') ubnt_air_max_capacity = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirMaxCapacity.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxCapacity.setDescription('airMAX capacity - percentage') ubnt_air_max_priority = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('high', 0), ('medium', 1), ('low', 2), ('none', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirMaxPriority.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxPriority.setDescription('airMAX priority - none/high/low/medium') ubnt_air_max_no_ack = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 6, 1, 6), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirMaxNoAck.setStatus('current') if mibBuilder.loadTexts: ubntAirMaxNoAck.setDescription('airMAX NoACK mode - on/off') ubnt_air_sync_table = mib_table((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3)) if mibBuilder.loadTexts: ubntAirSyncTable.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncTable.setDescription('airSync protocol statistics') ubnt_air_sync_entry = mib_table_row((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1)).setIndexNames((0, 'UBNT-AirMAX-MIB', 'ubntAirSyncIfIndex')) if mibBuilder.loadTexts: ubntAirSyncEntry.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncEntry.setDescription('An entry in the ubntAirSyncTable') ubnt_air_sync_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))) if mibBuilder.loadTexts: ubntAirSyncIfIndex.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncIfIndex.setDescription('Index for the ubntAirSyncTable') ubnt_air_sync_mode = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('disabled', 0), ('master', 1), ('slave', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirSyncMode.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncMode.setDescription('airSync mode - master/slave') ubnt_air_sync_count = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirSyncCount.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncCount.setDescription('airSync client count') ubnt_air_sync_down_util = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirSyncDownUtil.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncDownUtil.setDescription('airSync down utilization') ubnt_air_sync_up_util = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 3, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirSyncUpUtil.setStatus('current') if mibBuilder.loadTexts: ubntAirSyncUpUtil.setDescription('airSync up utilization') ubnt_air_sel_table = mib_table((1, 3, 6, 1, 4, 1, 41112, 1, 4, 4)) if mibBuilder.loadTexts: ubntAirSelTable.setStatus('current') if mibBuilder.loadTexts: ubntAirSelTable.setDescription('airSelect protocol statistics') ubnt_air_sel_entry = mib_table_row((1, 3, 6, 1, 4, 1, 41112, 1, 4, 4, 1)).setIndexNames((0, 'UBNT-AirMAX-MIB', 'ubntAirSelIfIndex')) if mibBuilder.loadTexts: ubntAirSelEntry.setStatus('current') if mibBuilder.loadTexts: ubntAirSelEntry.setDescription('An entry in the ubntAirSelTable') ubnt_air_sel_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))) if mibBuilder.loadTexts: ubntAirSelIfIndex.setStatus('current') if mibBuilder.loadTexts: ubntAirSelIfIndex.setDescription('Index for the ubntAirSelTable') ubnt_air_sel_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 4, 1, 2), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirSelEnabled.setStatus('current') if mibBuilder.loadTexts: ubntAirSelEnabled.setDescription('airSelect status - on/off') ubnt_air_sel_interval = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 4, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntAirSelInterval.setStatus('current') if mibBuilder.loadTexts: ubntAirSelInterval.setDescription('airSelect hop interval (miliseconds)') ubnt_wl_stat_table = mib_table((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5)) if mibBuilder.loadTexts: ubntWlStatTable.setStatus('current') if mibBuilder.loadTexts: ubntWlStatTable.setDescription('Wireless statistics') ubnt_wl_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1)).setIndexNames((0, 'UBNT-AirMAX-MIB', 'ubntWlStatIndex')) if mibBuilder.loadTexts: ubntWlStatEntry.setStatus('current') if mibBuilder.loadTexts: ubntWlStatEntry.setDescription('An entry in the ubntWlStatTable') ubnt_wl_stat_index = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))) if mibBuilder.loadTexts: ubntWlStatIndex.setStatus('current') if mibBuilder.loadTexts: ubntWlStatIndex.setDescription('Index for the ubntWlStatTable') ubnt_wl_stat_ssid = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatSsid.setStatus('current') if mibBuilder.loadTexts: ubntWlStatSsid.setDescription('SSID') ubnt_wl_stat_hide_ssid = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 3), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatHideSsid.setStatus('current') if mibBuilder.loadTexts: ubntWlStatHideSsid.setDescription('Hide SSID - on/off') ubnt_wl_stat_ap_mac = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 4), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatApMac.setStatus('current') if mibBuilder.loadTexts: ubntWlStatApMac.setDescription('AP MAC address') ubnt_wl_stat_signal = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatSignal.setStatus('current') if mibBuilder.loadTexts: ubntWlStatSignal.setDescription('Signal strength, dBm') ubnt_wl_stat_rssi = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatRssi.setStatus('current') if mibBuilder.loadTexts: ubntWlStatRssi.setDescription('RSSI, dBm') ubnt_wl_stat_ccq = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatCcq.setStatus('current') if mibBuilder.loadTexts: ubntWlStatCcq.setDescription('CCQ in %') ubnt_wl_stat_noise_floor = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatNoiseFloor.setStatus('current') if mibBuilder.loadTexts: ubntWlStatNoiseFloor.setDescription('Noise floor') ubnt_wl_stat_tx_rate = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatTxRate.setStatus('current') if mibBuilder.loadTexts: ubntWlStatTxRate.setDescription('TX rate') ubnt_wl_stat_rx_rate = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 10), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatRxRate.setStatus('current') if mibBuilder.loadTexts: ubntWlStatRxRate.setDescription('RX rate') ubnt_wl_stat_security = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 11), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatSecurity.setStatus('current') if mibBuilder.loadTexts: ubntWlStatSecurity.setDescription('Wireless security mode') ubnt_wl_stat_wds_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 12), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatWdsEnabled.setStatus('current') if mibBuilder.loadTexts: ubntWlStatWdsEnabled.setDescription('WDS - on/off') ubnt_wl_stat_ap_repeater = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 13), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatApRepeater.setStatus('current') if mibBuilder.loadTexts: ubntWlStatApRepeater.setDescription('AP repeater - on/off') ubnt_wl_stat_chan_width = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 14), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatChanWidth.setStatus('current') if mibBuilder.loadTexts: ubntWlStatChanWidth.setDescription('Channel Width') ubnt_wl_stat_sta_count = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 5, 1, 15), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntWlStatStaCount.setStatus('current') if mibBuilder.loadTexts: ubntWlStatStaCount.setDescription('Station count') ubnt_sta_table = mib_table((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7)) if mibBuilder.loadTexts: ubntStaTable.setStatus('current') if mibBuilder.loadTexts: ubntStaTable.setDescription('Station list') ubnt_sta_entry = mib_table_row((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1)).setIndexNames((0, 'UBNT-AirMAX-MIB', 'ubntWlStatIndex'), (0, 'UBNT-AirMAX-MIB', 'ubntStaMac')) if mibBuilder.loadTexts: ubntStaEntry.setStatus('current') if mibBuilder.loadTexts: ubntStaEntry.setDescription('An entry in the ubntStaEntry') ubnt_sta_mac = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 1), mac_address()) if mibBuilder.loadTexts: ubntStaMac.setStatus('current') if mibBuilder.loadTexts: ubntStaMac.setDescription('Station MAC address') ubnt_sta_name = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaName.setStatus('current') if mibBuilder.loadTexts: ubntStaName.setDescription('Station name') ubnt_sta_signal = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaSignal.setStatus('current') if mibBuilder.loadTexts: ubntStaSignal.setDescription('Signal strength, dBm') ubnt_sta_noise_floor = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaNoiseFloor.setStatus('current') if mibBuilder.loadTexts: ubntStaNoiseFloor.setDescription('Noise floor') ubnt_sta_distance = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaDistance.setStatus('current') if mibBuilder.loadTexts: ubntStaDistance.setDescription('Distance') ubnt_sta_ccq = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaCcq.setStatus('current') if mibBuilder.loadTexts: ubntStaCcq.setDescription('CCQ in %') ubnt_sta_amp = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaAmp.setStatus('current') if mibBuilder.loadTexts: ubntStaAmp.setDescription('airMAX priority') ubnt_sta_amq = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaAmq.setStatus('current') if mibBuilder.loadTexts: ubntStaAmq.setDescription('airMAX quality') ubnt_sta_amc = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaAmc.setStatus('current') if mibBuilder.loadTexts: ubntStaAmc.setDescription('airMAX capacity') ubnt_sta_last_ip = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 10), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaLastIp.setStatus('current') if mibBuilder.loadTexts: ubntStaLastIp.setDescription('Last known IP address') ubnt_sta_tx_rate = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 11), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaTxRate.setStatus('current') if mibBuilder.loadTexts: ubntStaTxRate.setDescription('TX rate') ubnt_sta_rx_rate = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 12), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaRxRate.setStatus('current') if mibBuilder.loadTexts: ubntStaRxRate.setDescription('RX rate') ubnt_sta_tx_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 13), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaTxBytes.setStatus('current') if mibBuilder.loadTexts: ubntStaTxBytes.setDescription('TX bytes') ubnt_sta_rx_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 14), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaRxBytes.setStatus('current') if mibBuilder.loadTexts: ubntStaRxBytes.setDescription('TX rate') ubnt_sta_conn_time = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 15), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaConnTime.setStatus('current') if mibBuilder.loadTexts: ubntStaConnTime.setDescription('Connection Time in seconds') ubnt_sta_local_cinr = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 16), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaLocalCINR.setStatus('current') if mibBuilder.loadTexts: ubntStaLocalCINR.setDescription('Local CINR') ubnt_sta_tx_capacity = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 17), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaTxCapacity.setStatus('current') if mibBuilder.loadTexts: ubntStaTxCapacity.setDescription('Uplink Capacity in Kbps') ubnt_sta_rx_capacity = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 18), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaRxCapacity.setStatus('current') if mibBuilder.loadTexts: ubntStaRxCapacity.setDescription('Downlink Capacity in Kbps') ubnt_sta_tx_airtime = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 19), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaTxAirtime.setStatus('current') if mibBuilder.loadTexts: ubntStaTxAirtime.setDescription('Uplink Airtime in % multiplied by 10') ubnt_sta_rx_airtime = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 20), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaRxAirtime.setStatus('current') if mibBuilder.loadTexts: ubntStaRxAirtime.setDescription('Downlink Airtime in % multiplied by 10') ubnt_sta_tx_latency = mib_table_column((1, 3, 6, 1, 4, 1, 41112, 1, 4, 7, 1, 21), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: ubntStaTxLatency.setStatus('current') if mibBuilder.loadTexts: ubntStaTxLatency.setDescription('Uplink Latency in milliseconds') ubnt_air_max_status_group = object_group((1, 3, 6, 1, 4, 1, 41112, 1, 2, 2, 1)).setObjects(('UBNT-AirMAX-MIB', 'ubntStaName'), ('UBNT-AirMAX-MIB', 'ubntStaSignal'), ('UBNT-AirMAX-MIB', 'ubntStaNoiseFloor'), ('UBNT-AirMAX-MIB', 'ubntStaDistance'), ('UBNT-AirMAX-MIB', 'ubntStaCcq'), ('UBNT-AirMAX-MIB', 'ubntStaAmp'), ('UBNT-AirMAX-MIB', 'ubntStaAmq'), ('UBNT-AirMAX-MIB', 'ubntStaAmc'), ('UBNT-AirMAX-MIB', 'ubntStaLastIp'), ('UBNT-AirMAX-MIB', 'ubntStaTxRate'), ('UBNT-AirMAX-MIB', 'ubntStaRxRate'), ('UBNT-AirMAX-MIB', 'ubntStaTxBytes'), ('UBNT-AirMAX-MIB', 'ubntStaRxBytes'), ('UBNT-AirMAX-MIB', 'ubntStaConnTime'), ('UBNT-AirMAX-MIB', 'ubntStaLocalCINR'), ('UBNT-AirMAX-MIB', 'ubntStaTxCapacity'), ('UBNT-AirMAX-MIB', 'ubntStaRxCapacity'), ('UBNT-AirMAX-MIB', 'ubntStaTxAirtime'), ('UBNT-AirMAX-MIB', 'ubntStaRxAirtime'), ('UBNT-AirMAX-MIB', 'ubntStaTxLatency'), ('UBNT-AirMAX-MIB', 'ubntRadioMode'), ('UBNT-AirMAX-MIB', 'ubntRadioCCode'), ('UBNT-AirMAX-MIB', 'ubntRadioFreq'), ('UBNT-AirMAX-MIB', 'ubntRadioDfsEnabled'), ('UBNT-AirMAX-MIB', 'ubntRadioTxPower'), ('UBNT-AirMAX-MIB', 'ubntRadioDistance'), ('UBNT-AirMAX-MIB', 'ubntRadioChainmask'), ('UBNT-AirMAX-MIB', 'ubntRadioAntenna'), ('UBNT-AirMAX-MIB', 'ubntRadioRssi'), ('UBNT-AirMAX-MIB', 'ubntRadioRssiMgmt'), ('UBNT-AirMAX-MIB', 'ubntRadioRssiExt'), ('UBNT-AirMAX-MIB', 'ubntAirMaxEnabled'), ('UBNT-AirMAX-MIB', 'ubntAirMaxQuality'), ('UBNT-AirMAX-MIB', 'ubntAirMaxCapacity'), ('UBNT-AirMAX-MIB', 'ubntAirMaxPriority'), ('UBNT-AirMAX-MIB', 'ubntAirMaxNoAck'), ('UBNT-AirMAX-MIB', 'ubntAirSyncMode'), ('UBNT-AirMAX-MIB', 'ubntAirSyncCount'), ('UBNT-AirMAX-MIB', 'ubntAirSyncDownUtil'), ('UBNT-AirMAX-MIB', 'ubntAirSyncUpUtil'), ('UBNT-AirMAX-MIB', 'ubntAirSelEnabled'), ('UBNT-AirMAX-MIB', 'ubntAirSelInterval'), ('UBNT-AirMAX-MIB', 'ubntWlStatSsid'), ('UBNT-AirMAX-MIB', 'ubntWlStatHideSsid'), ('UBNT-AirMAX-MIB', 'ubntWlStatApMac'), ('UBNT-AirMAX-MIB', 'ubntWlStatSignal'), ('UBNT-AirMAX-MIB', 'ubntWlStatRssi'), ('UBNT-AirMAX-MIB', 'ubntWlStatCcq'), ('UBNT-AirMAX-MIB', 'ubntWlStatNoiseFloor'), ('UBNT-AirMAX-MIB', 'ubntWlStatTxRate'), ('UBNT-AirMAX-MIB', 'ubntWlStatRxRate'), ('UBNT-AirMAX-MIB', 'ubntWlStatSecurity'), ('UBNT-AirMAX-MIB', 'ubntWlStatWdsEnabled'), ('UBNT-AirMAX-MIB', 'ubntWlStatApRepeater'), ('UBNT-AirMAX-MIB', 'ubntWlStatChanWidth'), ('UBNT-AirMAX-MIB', 'ubntWlStatStaCount')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ubnt_air_max_status_group = ubntAirMAXStatusGroup.setStatus('current') if mibBuilder.loadTexts: ubntAirMAXStatusGroup.setDescription('Status and statistics for AirMax monitoring') ubnt_air_max_status_compliance = module_compliance((1, 3, 6, 1, 4, 1, 41112, 1, 2, 2, 2)).setObjects(('UBNT-AirMAX-MIB', 'ubntAirMAXStatusGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ubnt_air_max_status_compliance = ubntAirMAXStatusCompliance.setStatus('current') if mibBuilder.loadTexts: ubntAirMAXStatusCompliance.setDescription('The compliance statement for Ubiquiti AirMax entities.') mibBuilder.exportSymbols('UBNT-AirMAX-MIB', ubntStaRxBytes=ubntStaRxBytes, ubntWlStatIndex=ubntWlStatIndex, ubntWlStatNoiseFloor=ubntWlStatNoiseFloor, ubntStaName=ubntStaName, ubntStaTxLatency=ubntStaTxLatency, ubntAirMAX=ubntAirMAX, ubntStaAmp=ubntStaAmp, ubntWlStatStaCount=ubntWlStatStaCount, ubntRadioChainmask=ubntRadioChainmask, ubntAirSyncDownUtil=ubntAirSyncDownUtil, ubntRadioTxPower=ubntRadioTxPower, ubntWlStatSecurity=ubntWlStatSecurity, ubntStaDistance=ubntStaDistance, ubntStaNoiseFloor=ubntStaNoiseFloor, ubntWlStatTxRate=ubntWlStatTxRate, ubntStaRxCapacity=ubntStaRxCapacity, ubntWlStatHideSsid=ubntWlStatHideSsid, ubntRadioRssiMgmt=ubntRadioRssiMgmt, ubntAirSyncIfIndex=ubntAirSyncIfIndex, ubntRadioEntry=ubntRadioEntry, ubntStaEntry=ubntStaEntry, ubntAirSyncUpUtil=ubntAirSyncUpUtil, ubntStaRxAirtime=ubntStaRxAirtime, ubntAirSelEntry=ubntAirSelEntry, ubntRadioRssiExt=ubntRadioRssiExt, ubntWlStatRssi=ubntWlStatRssi, ubntRadioTable=ubntRadioTable, ubntRadioAntenna=ubntRadioAntenna, ubntStaTxCapacity=ubntStaTxCapacity, ubntRadioFreq=ubntRadioFreq, ubntWlStatEntry=ubntWlStatEntry, ubntStaTxRate=ubntStaTxRate, ubntAirMaxNoAck=ubntAirMaxNoAck, ubntStaSignal=ubntStaSignal, ubntAirSelInterval=ubntAirSelInterval, ubntWlStatRxRate=ubntWlStatRxRate, ubntRadioRssi=ubntRadioRssi, ubntAirMaxEnabled=ubntAirMaxEnabled, ubntWlStatApRepeater=ubntWlStatApRepeater, ubntWlStatChanWidth=ubntWlStatChanWidth, ubntRadioIndex=ubntRadioIndex, ubntAirSyncCount=ubntAirSyncCount, ubntAirMaxQuality=ubntAirMaxQuality, ubntAirMaxTable=ubntAirMaxTable, ubntStaTxBytes=ubntStaTxBytes, ubntRadioCCode=ubntRadioCCode, ubntAirMaxCapacity=ubntAirMaxCapacity, ubntRadioDistance=ubntRadioDistance, ubntStaConnTime=ubntStaConnTime, ubntAirMaxIfIndex=ubntAirMaxIfIndex, ubntStaAmq=ubntStaAmq, ubntAirSyncMode=ubntAirSyncMode, ubntRadioRssiTable=ubntRadioRssiTable, ubntStaLocalCINR=ubntStaLocalCINR, ubntWlStatWdsEnabled=ubntWlStatWdsEnabled, ubntStaAmc=ubntStaAmc, ubntRadioMode=ubntRadioMode, ubntWlStatTable=ubntWlStatTable, ubntAirSyncEntry=ubntAirSyncEntry, ubntWlStatCcq=ubntWlStatCcq, PYSNMP_MODULE_ID=ubntAirMAX, ubntAirMAXStatusGroup=ubntAirMAXStatusGroup, ubntWlStatSignal=ubntWlStatSignal, ubntAirMaxEntry=ubntAirMaxEntry, ubntStaMac=ubntStaMac, ubntAirSyncTable=ubntAirSyncTable, ubntWlStatSsid=ubntWlStatSsid, ubntWlStatApMac=ubntWlStatApMac, ubntStaRxRate=ubntStaRxRate, ubntRadioRssiEntry=ubntRadioRssiEntry, ubntAirSelIfIndex=ubntAirSelIfIndex, ubntRadioDfsEnabled=ubntRadioDfsEnabled, ubntRadioRssiIndex=ubntRadioRssiIndex, ubntAirSelTable=ubntAirSelTable, ubntStaLastIp=ubntStaLastIp, ubntAirMaxPriority=ubntAirMaxPriority, ubntStaTxAirtime=ubntStaTxAirtime, ubntAirSelEnabled=ubntAirSelEnabled, ubntAirMAXStatusCompliance=ubntAirMAXStatusCompliance, ubntStaCcq=ubntStaCcq, ubntStaTable=ubntStaTable)
# https://leetcode.com/explore/interview/card/top-interview-questions-easy/102/math/745/ # https://leetcode.com/problems/power-of-three/description/ # Power of Three # # Given an integer, write a function to determine if it is a power of three. # ie, 45 % 3 is 0, but 45 is not power of 3 # so it is not simply "n % 3 == 0" haha class Solution: def isPowerOfThree(self, n): """ :type n: int :rtype: bool """ return self.check1_divide(n) # option1: loop iteration: keep divide by 3 until 1 def check1_divide(self, n): if n < 1: return False while n % 3 == 0: n //= 3 return n == 1 # option2: convert to base 3, and ensure it is like 10000... # option3, log(n)/log(3) should be integer, tricky to implement # option4: integer limitation def check4_int_limit(self, n): # 1162261467 = pow(3, 19), or 3^19, the highest n power of n for 32bit int return n > 0 and 1162261467 % n == 0
class Solution: def is_power_of_three(self, n): """ :type n: int :rtype: bool """ return self.check1_divide(n) def check1_divide(self, n): if n < 1: return False while n % 3 == 0: n //= 3 return n == 1 def check4_int_limit(self, n): return n > 0 and 1162261467 % n == 0
def handle_annotations(annotations): new_global = {} new_local = {} if 'global' in annotations: for key in annotations['global']: key_new = key.replace('__EQUALS__', '=') new_global[key_new] = annotations['global'][key] if 'local' in annotations: for key in annotations['local']: key_new = key.replace('__EQUALS__', '=') new_local[key_new] = annotations['local'][key] return {'global': new_global, 'local': new_local}
def handle_annotations(annotations): new_global = {} new_local = {} if 'global' in annotations: for key in annotations['global']: key_new = key.replace('__EQUALS__', '=') new_global[key_new] = annotations['global'][key] if 'local' in annotations: for key in annotations['local']: key_new = key.replace('__EQUALS__', '=') new_local[key_new] = annotations['local'][key] return {'global': new_global, 'local': new_local}
# Fields NAME = 'name' NUMBER = 'number' SET = 'set' TYPE = 'type' IS_INSTANT = 'is-instant' MEDICINE = 'medicine' PLUS_DIG = 'plus-dig' PLUS_HUNT = 'plus-hunt' PLUS_FIGHT = 'plus-fight' ABILITY = 'ability' TEXT = 'text' # Set values BASE = 'base' HQ_EXP = 'hq' RECON_EXP = 'recon' # Type values JUNKYARD = 'junkyard' CONTESTED_RESOURCE = 'contested-resource' # Ability values RECON = 'recon' class Items: ALL_ITEMS = [ { NAME: 'Junk', SET: BASE, NUMBER: 7, TYPE: JUNKYARD }, { NAME: 'Pills', SET: BASE, NUMBER: 9, TYPE: JUNKYARD, MEDICINE: 1 }, { NAME: 'Medkit', SET: BASE, NUMBER: 6, TYPE: JUNKYARD, MEDICINE: 2 }, { NAME: 'Net', SET: BASE, NUMBER: 4, TYPE: JUNKYARD, PLUS_HUNT: 2, PLUS_FIGHT: 1 }, { NAME: 'Pickaxe', SET: BASE, NUMBER: 4, TYPE: JUNKYARD, PLUS_DIG: 1, PLUS_FIGHT: 2 }, { NAME: 'Multitool', SET: BASE, NUMBER: 4, TYPE: JUNKYARD, PLUS_DIG: 1, PLUS_HUNT: 1, PLUS_FIGHT: 1 }, { NAME: 'Shovel', SET: BASE, NUMBER: 6, TYPE: JUNKYARD, PLUS_DIG: 1, PLUS_FIGHT: 1 }, { NAME: 'Spear', SET: BASE, NUMBER: 6, TYPE: JUNKYARD, PLUS_HUNT: 1, PLUS_FIGHT: 2 }, { NAME: 'Grenade', SET: BASE, NUMBER: 2, TYPE: CONTESTED_RESOURCE, PLUS_FIGHT: 3 }, { NAME: 'Wolf Pack', SET: BASE, NUMBER: 2, TYPE: CONTESTED_RESOURCE, PLUS_HUNT: 3, PLUS_FIGHT: 2 }, { NAME: 'Rifle', SET: HQ_EXP, NUMBER: 4, TYPE: JUNKYARD, PLUS_HUNT: 2, PLUS_FIGHT: 2 }, { NAME: 'Toolkit', SET: HQ_EXP, NUMBER: 4, TYPE: JUNKYARD, PLUS_DIG: 2, TEXT: 'Increases a tribe member\'s build by +2 cards.' }, { NAME: 'Map', SET: RECON_EXP, NUMBER: 4, TYPE: JUNKYARD, IS_INSTANT: True, TEXT: 'Return 1 tribe member to your hand after performing a non-skirmish action.' }, { NAME: 'Binoculars', SET: RECON_EXP, NUMBER: 4, TYPE: JUNKYARD, IS_INSTANT: True, ABILITY: RECON, TEXT: 'May peek at the top card from all piles in play, OR, recon +2' }, { NAME: 'Cargo Sled', SET: RECON_EXP, NUMBER: 2, TYPE: CONTESTED_RESOURCE, PLUS_DIG: 2, PLUS_HUNT: 2, TEXT: 'When digging in the Junkyard, you may keep 1 additional tool or medicine.' }, { NAME: 'Tear Gas', SET: RECON_EXP, NUMBER: 2, TYPE: CONTESTED_RESOURCE, IS_INSTANT: True, TEXT: 'Select 1 opponent tribe member and reduce its fight (or bonus to fight) to 0.' } ]
name = 'name' number = 'number' set = 'set' type = 'type' is_instant = 'is-instant' medicine = 'medicine' plus_dig = 'plus-dig' plus_hunt = 'plus-hunt' plus_fight = 'plus-fight' ability = 'ability' text = 'text' base = 'base' hq_exp = 'hq' recon_exp = 'recon' junkyard = 'junkyard' contested_resource = 'contested-resource' recon = 'recon' class Items: all_items = [{NAME: 'Junk', SET: BASE, NUMBER: 7, TYPE: JUNKYARD}, {NAME: 'Pills', SET: BASE, NUMBER: 9, TYPE: JUNKYARD, MEDICINE: 1}, {NAME: 'Medkit', SET: BASE, NUMBER: 6, TYPE: JUNKYARD, MEDICINE: 2}, {NAME: 'Net', SET: BASE, NUMBER: 4, TYPE: JUNKYARD, PLUS_HUNT: 2, PLUS_FIGHT: 1}, {NAME: 'Pickaxe', SET: BASE, NUMBER: 4, TYPE: JUNKYARD, PLUS_DIG: 1, PLUS_FIGHT: 2}, {NAME: 'Multitool', SET: BASE, NUMBER: 4, TYPE: JUNKYARD, PLUS_DIG: 1, PLUS_HUNT: 1, PLUS_FIGHT: 1}, {NAME: 'Shovel', SET: BASE, NUMBER: 6, TYPE: JUNKYARD, PLUS_DIG: 1, PLUS_FIGHT: 1}, {NAME: 'Spear', SET: BASE, NUMBER: 6, TYPE: JUNKYARD, PLUS_HUNT: 1, PLUS_FIGHT: 2}, {NAME: 'Grenade', SET: BASE, NUMBER: 2, TYPE: CONTESTED_RESOURCE, PLUS_FIGHT: 3}, {NAME: 'Wolf Pack', SET: BASE, NUMBER: 2, TYPE: CONTESTED_RESOURCE, PLUS_HUNT: 3, PLUS_FIGHT: 2}, {NAME: 'Rifle', SET: HQ_EXP, NUMBER: 4, TYPE: JUNKYARD, PLUS_HUNT: 2, PLUS_FIGHT: 2}, {NAME: 'Toolkit', SET: HQ_EXP, NUMBER: 4, TYPE: JUNKYARD, PLUS_DIG: 2, TEXT: "Increases a tribe member's build by +2 cards."}, {NAME: 'Map', SET: RECON_EXP, NUMBER: 4, TYPE: JUNKYARD, IS_INSTANT: True, TEXT: 'Return 1 tribe member to your hand after performing a non-skirmish action.'}, {NAME: 'Binoculars', SET: RECON_EXP, NUMBER: 4, TYPE: JUNKYARD, IS_INSTANT: True, ABILITY: RECON, TEXT: 'May peek at the top card from all piles in play, OR, recon +2'}, {NAME: 'Cargo Sled', SET: RECON_EXP, NUMBER: 2, TYPE: CONTESTED_RESOURCE, PLUS_DIG: 2, PLUS_HUNT: 2, TEXT: 'When digging in the Junkyard, you may keep 1 additional tool or medicine.'}, {NAME: 'Tear Gas', SET: RECON_EXP, NUMBER: 2, TYPE: CONTESTED_RESOURCE, IS_INSTANT: True, TEXT: 'Select 1 opponent tribe member and reduce its fight (or bonus to fight) to 0.'}]
class LocationFailureException(Exception): pass class BadLatitudeException(Exception): pass class BadLongitudeException(Exception): pass class BadAltitudeException(Exception): pass class BadNumberException(Exception): pass class GetPassesException(Exception): pass class AstronautFailureException(Exception): pass
class Locationfailureexception(Exception): pass class Badlatitudeexception(Exception): pass class Badlongitudeexception(Exception): pass class Badaltitudeexception(Exception): pass class Badnumberexception(Exception): pass class Getpassesexception(Exception): pass class Astronautfailureexception(Exception): pass
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def constructMaximumBinaryTree(self, nums: List[int]) -> TreeNode: def maxTree(nums): idx=nums.index(max(nums)) node = TreeNode(nums[idx]) if len(nums[idx+1:])>0: node.right = maxTree(nums[idx+1:]) if len(nums[:idx])>0: node.left = maxTree(nums[:idx]) return node return maxTree(nums)
class Solution: def construct_maximum_binary_tree(self, nums: List[int]) -> TreeNode: def max_tree(nums): idx = nums.index(max(nums)) node = tree_node(nums[idx]) if len(nums[idx + 1:]) > 0: node.right = max_tree(nums[idx + 1:]) if len(nums[:idx]) > 0: node.left = max_tree(nums[:idx]) return node return max_tree(nums)
# -*- coding: utf-8 -*- N = int(input()) A = list(map(int, input().split())) pre = [0]*len(A) pre[0] = A[0] aft = [0]*len(A) aft[-1] = A[-1] for pos, it in enumerate(A[1:], 1): pre[pos] = pre[pos-1]+it for pos in range(len(A)-2, -1, -1): aft[pos] = aft[pos+1]+A[pos] ans = 0; print(pre) print(aft) for pos in range(len(A)-1): if(pos == 0): ans = max(ans, 0+(A[pos]^A[pos+1])+aft[pos+2]) elif(pos == len(A)-2): ans = max(ans, pre[pos-1]+(A[pos]^A[pos+1])+0) else: ans = max(ans, pre[pos-1]+(A[pos]^A[pos+1])+aft[pos+2]) print(ans) print(ans)
n = int(input()) a = list(map(int, input().split())) pre = [0] * len(A) pre[0] = A[0] aft = [0] * len(A) aft[-1] = A[-1] for (pos, it) in enumerate(A[1:], 1): pre[pos] = pre[pos - 1] + it for pos in range(len(A) - 2, -1, -1): aft[pos] = aft[pos + 1] + A[pos] ans = 0 print(pre) print(aft) for pos in range(len(A) - 1): if pos == 0: ans = max(ans, 0 + (A[pos] ^ A[pos + 1]) + aft[pos + 2]) elif pos == len(A) - 2: ans = max(ans, pre[pos - 1] + (A[pos] ^ A[pos + 1]) + 0) else: ans = max(ans, pre[pos - 1] + (A[pos] ^ A[pos + 1]) + aft[pos + 2]) print(ans) print(ans)
def group(it, n): it = iter(it) block = [] for elem in it: block.append(elem) if len(block) == n: yield block block = [] if block: yield block
def group(it, n): it = iter(it) block = [] for elem in it: block.append(elem) if len(block) == n: yield block block = [] if block: yield block
""" Copyright 2014 VoterChat 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. """ ### FLASK CONFIG ### DEBUG = True SECRET_KEY = "development key" ### FLASK CONFIG ### ### REDIS CONFIG ### REDIS_HOST = "localhost" REDIS_PORT = 6379 REDIS_DB = 0 ### REDIS CONFIG ###
""" Copyright 2014 VoterChat 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. """ debug = True secret_key = 'development key' redis_host = 'localhost' redis_port = 6379 redis_db = 0
class CriteriaBuilder(): '''Defines the CriteriaBuilder class''' __and = None __where = None __or = None __criteria = None __cmd = None __sql = None @property def AND( self ): if self.__and is not None: return self.__and @property def WHERE( self ): if self.__where is not None: return self.__where @property def command( self ): if self.__cmd is not None: return str( self.__sql[ self.__cmd ] ) @command.setter def command( self, cmd ): if cmd is not None and cmd in self.__sql: self.__cmd = str( self.__sql[ cmd ] ) def create( self, pairs ): ''' builds criteria from dictionary of name value pairs''' if isinstance( pairs, dict ): self.__criteria = pairs def __init__( self, cmd = 'SELECT' ): self.__and = ' AND ' self.__where = ' WHERE ' self.__cmd = str( cmd ) self.__sql = [ 'SELECT', 'INSERT', 'UPDATE', 'DELETE', 'CREATE', 'ALTER', 'DROP', 'DETACH' ]
class Criteriabuilder: """Defines the CriteriaBuilder class""" __and = None __where = None __or = None __criteria = None __cmd = None __sql = None @property def and(self): if self.__and is not None: return self.__and @property def where(self): if self.__where is not None: return self.__where @property def command(self): if self.__cmd is not None: return str(self.__sql[self.__cmd]) @command.setter def command(self, cmd): if cmd is not None and cmd in self.__sql: self.__cmd = str(self.__sql[cmd]) def create(self, pairs): """ builds criteria from dictionary of name value pairs""" if isinstance(pairs, dict): self.__criteria = pairs def __init__(self, cmd='SELECT'): self.__and = ' AND ' self.__where = ' WHERE ' self.__cmd = str(cmd) self.__sql = ['SELECT', 'INSERT', 'UPDATE', 'DELETE', 'CREATE', 'ALTER', 'DROP', 'DETACH']
description = 'testing qmesydaq' group = 'optional' excludes = [] sysconfig = dict( datasinks = ['LiveViewSink'], ) tango_base = 'tango://localhost:10000/test/qmesydaq/' devices = dict( # RAWFileSaver = device('nicos.devices.datasinks.RawImageSink', # description = 'Saves image data in RAW format', # filenametemplate = [ # '%(proposal)s_%(pointcounter)06d.raw', # '%(proposal)s_%(scancounter)s_' # '%(pointcounter)s_%(pointnumber)s.raw'], # subdir = 'QMesyDAQ2', # lowlevel = True, # ), LiveViewSink = device('nicos.devices.datasinks.LiveViewSink', description = 'Sends image data to LiveViewWidget', ), qm_ctr0 = device('nicos.devices.entangle.CounterChannel', description = 'QMesyDAQ Counter0', tangodevice = tango_base + 'counter0', type = 'counter', lowlevel = True, ), qm_ctr1 = device('nicos.devices.entangle.CounterChannel', description = 'QMesyDAQ Counter1', tangodevice = tango_base + 'counter1', type = 'counter', lowlevel = True, ), qm_ctr2 = device('nicos.devices.entangle.CounterChannel', description = 'QMesyDAQ Counter2', tangodevice = tango_base + 'counter2', type = 'monitor', lowlevel = True, ), qm_ctr3 = device('nicos.devices.entangle.CounterChannel', description = 'QMesyDAQ Counter3', tangodevice = tango_base + 'counter3', type = 'monitor', lowlevel = True, ), qm_ev = device('nicos.devices.entangle.CounterChannel', description = 'QMesyDAQ Events channel', tangodevice = tango_base + 'events', type = 'counter', lowlevel = True, ), qm_timer = device('nicos.devices.entangle.TimerChannel', description = 'QMesyDAQ Timer', tangodevice = tango_base + 'timer', ), mesytec = device('nicos.devices.generic.Detector', description = 'QMesyDAQ Image type Detector', timers = ['qm_timer'], counters = [ 'qm_ev', # 'qm_ctr0', 'qm_ctr2' ], monitors = [ #'qm_ctr1', 'qm_ctr3' ], others = [], ), ) startupcode = ''' SetDetectors(mesytec) '''
description = 'testing qmesydaq' group = 'optional' excludes = [] sysconfig = dict(datasinks=['LiveViewSink']) tango_base = 'tango://localhost:10000/test/qmesydaq/' devices = dict(LiveViewSink=device('nicos.devices.datasinks.LiveViewSink', description='Sends image data to LiveViewWidget'), qm_ctr0=device('nicos.devices.entangle.CounterChannel', description='QMesyDAQ Counter0', tangodevice=tango_base + 'counter0', type='counter', lowlevel=True), qm_ctr1=device('nicos.devices.entangle.CounterChannel', description='QMesyDAQ Counter1', tangodevice=tango_base + 'counter1', type='counter', lowlevel=True), qm_ctr2=device('nicos.devices.entangle.CounterChannel', description='QMesyDAQ Counter2', tangodevice=tango_base + 'counter2', type='monitor', lowlevel=True), qm_ctr3=device('nicos.devices.entangle.CounterChannel', description='QMesyDAQ Counter3', tangodevice=tango_base + 'counter3', type='monitor', lowlevel=True), qm_ev=device('nicos.devices.entangle.CounterChannel', description='QMesyDAQ Events channel', tangodevice=tango_base + 'events', type='counter', lowlevel=True), qm_timer=device('nicos.devices.entangle.TimerChannel', description='QMesyDAQ Timer', tangodevice=tango_base + 'timer'), mesytec=device('nicos.devices.generic.Detector', description='QMesyDAQ Image type Detector', timers=['qm_timer'], counters=['qm_ev'], monitors=[], others=[])) startupcode = '\nSetDetectors(mesytec)\n'
NUMBER = (1 << 15) OPERATOR = (1 << 16) FUNCTION = (1 << 17) OTHER = (1 << 18) OPERATOR_PRIORITY_1 = (1 << 10) OPERATOR_PRIORITY_2 = (1 << 11) # Multiplication & Division OPERATOR_PRIORITY_3 = (1 << 12) # Implicit Multiplication (0.5/2x, a/b(c)) OPERATOR_PRIORITY_4 = (1 << 13) # Root & Exponent STUndefined = 0 STNumber = NUMBER | 1 STFactor = NUMBER | 2 # 2x, 3y STAddition = OPERATOR | OPERATOR_PRIORITY_1 | 2 STSubtraction = OPERATOR | OPERATOR_PRIORITY_1 | 3 STMultiplication = OPERATOR | OPERATOR_PRIORITY_2 | 4 STDivision = OPERATOR | OPERATOR_PRIORITY_2 | 5 STExponent = OPERATOR | OPERATOR_PRIORITY_4 | 6 STRoot = OPERATOR | OPERATOR_PRIORITY_4 | 7 STOpenParenthesis = OTHER | 1 STCloseParenthesis = OTHER | 2 class Symbol: def __init__(self, data: list, symbol_type: int, index: int, length: int): # All data of the symbol (e.g. : [] : operator, [value] : digit, [value, unknowns] for unknowns factor self.data = data self.type = symbol_type self.index_in_equation = index self.length_in_equation = length
number = 1 << 15 operator = 1 << 16 function = 1 << 17 other = 1 << 18 operator_priority_1 = 1 << 10 operator_priority_2 = 1 << 11 operator_priority_3 = 1 << 12 operator_priority_4 = 1 << 13 st_undefined = 0 st_number = NUMBER | 1 st_factor = NUMBER | 2 st_addition = OPERATOR | OPERATOR_PRIORITY_1 | 2 st_subtraction = OPERATOR | OPERATOR_PRIORITY_1 | 3 st_multiplication = OPERATOR | OPERATOR_PRIORITY_2 | 4 st_division = OPERATOR | OPERATOR_PRIORITY_2 | 5 st_exponent = OPERATOR | OPERATOR_PRIORITY_4 | 6 st_root = OPERATOR | OPERATOR_PRIORITY_4 | 7 st_open_parenthesis = OTHER | 1 st_close_parenthesis = OTHER | 2 class Symbol: def __init__(self, data: list, symbol_type: int, index: int, length: int): self.data = data self.type = symbol_type self.index_in_equation = index self.length_in_equation = length
# test for function notation def helloworld(txt:dict(type=str,help='input text')): print(txt) if __name__ == '__main__' : helloworld('hawken') print(helloworld.__annotations__)
def helloworld(txt: dict(type=str, help='input text')): print(txt) if __name__ == '__main__': helloworld('hawken') print(helloworld.__annotations__)
class Solution(object): def shortestDistance(self, words, word1, word2): """ :type words: List[str] :type word1: str :type word2: str :rtype: int """ d = {} d[word1] = -1 d[word2] = -1 minDist = 0x7fffffff for i,word in enumerate(words): if word == word1: d[word1] = i if d[word2] != -1: minDist = min(minDist, i - d[word2]) elif word == word2: d[word2] = i if d[word1] != -1: minDist = min(minDist, i - d[word1]) return minDist
class Solution(object): def shortest_distance(self, words, word1, word2): """ :type words: List[str] :type word1: str :type word2: str :rtype: int """ d = {} d[word1] = -1 d[word2] = -1 min_dist = 2147483647 for (i, word) in enumerate(words): if word == word1: d[word1] = i if d[word2] != -1: min_dist = min(minDist, i - d[word2]) elif word == word2: d[word2] = i if d[word1] != -1: min_dist = min(minDist, i - d[word1]) return minDist
""" Decorators provide a way to intercept a decorated function, method, or class. Ultimately, the decorator accepts the function as its only argument Decorators can then either return the original function, or another one """ # pattern 1: Decorator that returns the original function def change_default(func): """This decorator changes the default value of a single-argument function""" func.__defaults__ = ("changed",) return func @change_default def test_func(a=5): return a print(f"Calling test_func: {test_func()}") # pattern 2: Decorator that returns a new function def deprecate(func): """This decorator stops a function from running and prints a message""" def nothing(*args, **kwargs): print(f"{func.__name__} has been deprecated") return nothing @deprecate def old_func(): return "I'm and old function that shouldn't be used" print(f"Calling old_func: {old_func()}") # pattern 3: Decorator that accepts arguments and returns original function def add_attributes(**attributes): """This decorator adds specified attributes to a function""" def decorator(func): for key, value in attributes.items(): setattr(func, key, value) return func return decorator @add_attributes(something="else", another=True) def basic_func(): return print(f"Calling basic_func: {basic_func()}") print(f"basic_func.something: {basic_func.something}") print(f"basic_func.another: {basic_func.another}") # pattern 4: Decorator that accepts arguments and returns a new function def return_type(ret_type): def decorator(func): def runner(*args, **kwargs): result = func(*args, **kwargs) assert isinstance(result, ret_type) return result return runner return decorator @return_type(str) def loose_return(obj): print(f"I'm returning an object of type {type(obj)}") return obj print(f"Calling loose_return with a string: {loose_return('Test')}") # print(f"Calling loose_return with an integer: {loose_return(15)}") # Decorators can stack @add_attributes(something="else") @return_type(str) @change_default def very_decorated(argument=17): return argument print(f"Calling very_decorated: {very_decorated()}") print(f"very_decorated.something: {very_decorated.something}")
""" Decorators provide a way to intercept a decorated function, method, or class. Ultimately, the decorator accepts the function as its only argument Decorators can then either return the original function, or another one """ def change_default(func): """This decorator changes the default value of a single-argument function""" func.__defaults__ = ('changed',) return func @change_default def test_func(a=5): return a print(f'Calling test_func: {test_func()}') def deprecate(func): """This decorator stops a function from running and prints a message""" def nothing(*args, **kwargs): print(f'{func.__name__} has been deprecated') return nothing @deprecate def old_func(): return "I'm and old function that shouldn't be used" print(f'Calling old_func: {old_func()}') def add_attributes(**attributes): """This decorator adds specified attributes to a function""" def decorator(func): for (key, value) in attributes.items(): setattr(func, key, value) return func return decorator @add_attributes(something='else', another=True) def basic_func(): return print(f'Calling basic_func: {basic_func()}') print(f'basic_func.something: {basic_func.something}') print(f'basic_func.another: {basic_func.another}') def return_type(ret_type): def decorator(func): def runner(*args, **kwargs): result = func(*args, **kwargs) assert isinstance(result, ret_type) return result return runner return decorator @return_type(str) def loose_return(obj): print(f"I'm returning an object of type {type(obj)}") return obj print(f"Calling loose_return with a string: {loose_return('Test')}") @add_attributes(something='else') @return_type(str) @change_default def very_decorated(argument=17): return argument print(f'Calling very_decorated: {very_decorated()}') print(f'very_decorated.something: {very_decorated.something}')
ADMINS = () MANAGERS = ADMINS DATABASES = { "default": { "ENGINE": "django.db.backends.sqlite3", "NAME": ":memory:", } } REST_FRAMEWORK = { 'DEFAULT_PERMISSION_CLASSES': ( 'rest_framework.permissions.IsAuthenticated', ), 'DEFAULT_RENDERER_CLASSES': ( 'rest_framework.renderers.JSONRenderer', ), } ALLOWED_HOSTS = [] TIME_ZONE = "UTC" MEDIA_ROOT = "" MEDIA_URL = "" STATIC_ROOT = "" STATIC_URL = "/static/" STATICFILES_DIRS = () STATICFILES_FINDERS = ( "django.contrib.staticfiles.finders.FileSystemFinder", "django.contrib.staticfiles.finders.AppDirectoriesFinder", ) SECRET_KEY = "1234567890" TEMPLATES = [ { "BACKEND": "django.template.backends.django.DjangoTemplates", "DIRS": [], "APP_DIRS": True, "OPTIONS": { "debug": True, "context_processors": [ "django.contrib.auth.context_processors.auth", "django.template.context_processors.debug", "django.template.context_processors.i18n", "django.template.context_processors.media", "django.template.context_processors.static", "django.template.context_processors.tz", "django.contrib.messages.context_processors.messages", ], }, }, ] MIDDLEWARE = ( "django.middleware.common.CommonMiddleware", "django.contrib.sessions.middleware.SessionMiddleware", "django.middleware.csrf.CsrfViewMiddleware", "django.contrib.auth.middleware.AuthenticationMiddleware", "django.contrib.messages.middleware.MessageMiddleware", ) ROOT_URLCONF = "tests.urls" INSTALLED_APPS = ( "django.contrib.auth", "django.contrib.contenttypes", "django.contrib.sessions", "django.contrib.sites", "django.contrib.staticfiles", "django.contrib.admin", "django.contrib.messages", "rest_framework", "drf_stripe", "tests", ) USE_TZ = True
admins = () managers = ADMINS databases = {'default': {'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:'}} rest_framework = {'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',), 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',)} allowed_hosts = [] time_zone = 'UTC' media_root = '' media_url = '' static_root = '' static_url = '/static/' staticfiles_dirs = () staticfiles_finders = ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') secret_key = '1234567890' templates = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'APP_DIRS': True, 'OPTIONS': {'debug': True, 'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages']}}] middleware = ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') root_urlconf = 'tests.urls' installed_apps = ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.messages', 'rest_framework', 'drf_stripe', 'tests') use_tz = True
# Motor Controller class initialization constants ZERO_POWER = 309 # Value to set thrusters to 0 power NEG_MAX_POWER = 226 # Value to set thrusters to max negative power POS_MAX_POWER = 391 # Value to set thrusters to max positive power FREQUENCY = 49.5 # Frequency at which the i2c to pwm will be updated POWER_THRESH = 115 # Power threshold for each individual thruster in Watts # Tool Pin Placements MANIPULATOR_PIN = 15 OBS_TOOL_PIN = 14 REVERSE_POLARITY = []
zero_power = 309 neg_max_power = 226 pos_max_power = 391 frequency = 49.5 power_thresh = 115 manipulator_pin = 15 obs_tool_pin = 14 reverse_polarity = []
class Solution: def checkIfExist(self, arr: List[int]) -> bool: for i in range(len(arr)): for j in range(len(arr)): if i != j and arr[i] == 2*arr[j]: return True return False
class Solution: def check_if_exist(self, arr: List[int]) -> bool: for i in range(len(arr)): for j in range(len(arr)): if i != j and arr[i] == 2 * arr[j]: return True return False
""" Name : Even odd Author : [Mayank Goyal) [https://github.com/mayankgoyal-13] """ num = int(input("Enter your number: ")) if num % 2 == 0: print('The given number is even') else: print('The given number is odd')
""" Name : Even odd Author : [Mayank Goyal) [https://github.com/mayankgoyal-13] """ num = int(input('Enter your number: ')) if num % 2 == 0: print('The given number is even') else: print('The given number is odd')
def pattern(N): if(N==2): for i in range(N): print(("#"*1+" ")*N) if(N==3): for i in range(N-1): print(("#"*2+" ")*N) if(N==4): for i in range(N-2): print(("#"*3+" ")*N) pattern(2) pattern(3) pattern(4)
def pattern(N): if N == 2: for i in range(N): print(('#' * 1 + ' ') * N) if N == 3: for i in range(N - 1): print(('#' * 2 + ' ') * N) if N == 4: for i in range(N - 2): print(('#' * 3 + ' ') * N) pattern(2) pattern(3) pattern(4)
def addDataSource(doc, name, url): """ Add a DataSource to the given InterMine items XML Returns the item. """ dataSourceItem = doc.createItem('DataSource') dataSourceItem.addAttribute('name', name) dataSourceItem.addAttribute('url', url) doc.addItem(dataSourceItem) return dataSourceItem def addDataSet(doc, name, sourceItem): """ Add a DataSet to the given InterMine items XML :param doc: :param name: :param sourceItem: :return: the item added """ datasetItem = doc.createItem('DataSet') datasetItem.addAttribute('name', name) datasetItem.addAttribute('dataSource', sourceItem) doc.addItem(datasetItem) return datasetItem
def add_data_source(doc, name, url): """ Add a DataSource to the given InterMine items XML Returns the item. """ data_source_item = doc.createItem('DataSource') dataSourceItem.addAttribute('name', name) dataSourceItem.addAttribute('url', url) doc.addItem(dataSourceItem) return dataSourceItem def add_data_set(doc, name, sourceItem): """ Add a DataSet to the given InterMine items XML :param doc: :param name: :param sourceItem: :return: the item added """ dataset_item = doc.createItem('DataSet') datasetItem.addAttribute('name', name) datasetItem.addAttribute('dataSource', sourceItem) doc.addItem(datasetItem) return datasetItem
# import numpy as np # a = np.array([17,22,4,2,14,24,0,5,8,7,27,28,15,25,12,9,20,3,29,16,10,6,1,13,18,23,11,26,21,19]) # np.random.shuffle(a) # print(a.tolist()) # np.random.shuffle(a) # print(a.tolist()) # np.random.shuffle(a) # print(a.tolist()) need_rerun = [ {'bodies': [300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315], 'seed': 4, 'method': 'align'}, {'bodies': [300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315], 'seed': 6, 'method': 'random'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 0, 'method': 'align'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 4, 'method': 'align'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 6, 'method': 'align'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 0, 'method': 'random'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 3, 'method': 'random'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 5, 'method': 'random'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 6, 'method': 'random'}, {'bodies': [600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615], 'seed': 4, 'method': 'align'}, {'bodies': [600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615], 'seed': 6, 'method': 'align'}] print("\n"*2) for r in need_rerun: cmd = f"sbatch -J exp_010_rerun submit.sh python 1.train.py --seed={r['seed']} --train_bodies={','.join([str(x) for x in r['bodies']])} --test_bodies={','.join([str(x) for x in r['bodies']])}" if r["method"]=='random': cmd += " --random_align_obs" print(cmd) print("\n"*2)
need_rerun = [{'bodies': [300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315], 'seed': 4, 'method': 'align'}, {'bodies': [300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315], 'seed': 6, 'method': 'random'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 0, 'method': 'align'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 4, 'method': 'align'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 6, 'method': 'align'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 0, 'method': 'random'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 3, 'method': 'random'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 5, 'method': 'random'}, {'bodies': [500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515], 'seed': 6, 'method': 'random'}, {'bodies': [600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615], 'seed': 4, 'method': 'align'}, {'bodies': [600, 601, 602, 603, 604, 605, 606, 607, 608, 609, 610, 611, 612, 613, 614, 615], 'seed': 6, 'method': 'align'}] print('\n' * 2) for r in need_rerun: cmd = f"sbatch -J exp_010_rerun submit.sh python 1.train.py --seed={r['seed']} --train_bodies={','.join([str(x) for x in r['bodies']])} --test_bodies={','.join([str(x) for x in r['bodies']])}" if r['method'] == 'random': cmd += ' --random_align_obs' print(cmd) print('\n' * 2)
# Copyright (c) 2021 Jeff Irion and contributors # # This file is part of the adb-shell package. """ADB shell functionality. """ __version__ = '0.4.1'
"""ADB shell functionality. """ __version__ = '0.4.1'
class _Food: color = (107, 0, 0) def __init__(self, pos_x, pos_y, live = 100): self.pos_x = pos_x self.pos_y = pos_y self.live = live def get_pos_x(self): return self.pos_x def get_pos_y(self): return self.pos_y def live_decrement(self): self.live -=1
class _Food: color = (107, 0, 0) def __init__(self, pos_x, pos_y, live=100): self.pos_x = pos_x self.pos_y = pos_y self.live = live def get_pos_x(self): return self.pos_x def get_pos_y(self): return self.pos_y def live_decrement(self): self.live -= 1
""" Code to solve Lychrel number So this is a very popular math question The idea is to take any number as num and reverse it. Now add the reversed number to num and repeat the process unless a palindrome is obtained. The weird thing about this process is that for nearly every number ends with a palindrome except the number 196 noone is able to explain why:)""" """ DO NOT REMOVE THIS COMMENT AS THE CODE BELOW INCREASE THE RECUSION LIMIT THIS MAY ALSO RESULT TO TOTAL CRASH OF THE SYSTEM. IF YOUR PC IS STRONG ENOUGH TO TACKLE RECURSION, FEEL FREE TO USE THE CODE BY REMOVING THE COMMENTS. #import sys #sys.setrecursionlimit(1500) """ #function to solve the lychrel number def prob(num): temp=num rev=0 while(num>0): dig=num%10 rev=rev*10+dig num=num//10 if(temp==rev): print(f"At last! we found a palindrome which is {temp}") else: print(f"The number {temp} isn't a palindrome!") again = temp + reverse(temp) prob(again) #function to reverse a given number def reverse(num): reversed_num = 0 while num != 0: digit = num % 10 reversed_num = reversed_num * 10 + digit num //= 10 return reversed_num #driver code num = int(input("Enter a two digit number or more")) prob(num)
""" Code to solve Lychrel number So this is a very popular math question The idea is to take any number as num and reverse it. Now add the reversed number to num and repeat the process unless a palindrome is obtained. The weird thing about this process is that for nearly every number ends with a palindrome except the number 196 noone is able to explain why:)""" '\nDO NOT REMOVE THIS COMMENT AS THE CODE BELOW INCREASE THE RECUSION LIMIT\nTHIS MAY ALSO RESULT TO TOTAL CRASH OF THE SYSTEM. IF YOUR PC IS STRONG ENOUGH TO TACKLE\nRECURSION, FEEL FREE TO USE THE CODE BY REMOVING THE COMMENTS.\n\n#import sys\n#sys.setrecursionlimit(1500)\n' def prob(num): temp = num rev = 0 while num > 0: dig = num % 10 rev = rev * 10 + dig num = num // 10 if temp == rev: print(f'At last! we found a palindrome which is {temp}') else: print(f"The number {temp} isn't a palindrome!") again = temp + reverse(temp) prob(again) def reverse(num): reversed_num = 0 while num != 0: digit = num % 10 reversed_num = reversed_num * 10 + digit num //= 10 return reversed_num num = int(input('Enter a two digit number or more')) prob(num)
# -*- coding: utf-8 -*- """Test for autolag of adfuller, unitroot_adf Created on Wed May 30 21:39:46 2012 Author: Josef Perktold """ # The only test from this file has been moved to test_unit_root (2018-05-04)
"""Test for autolag of adfuller, unitroot_adf Created on Wed May 30 21:39:46 2012 Author: Josef Perktold """
while True: print('Enter you age: ') age = input() if age.isdecimal(): break print('Please enter a number for age') while True: print('Select a new password (letters and numbers only):') password = input() if password.isalnum(): break print('Passwords can only have letters and numbers')
while True: print('Enter you age: ') age = input() if age.isdecimal(): break print('Please enter a number for age') while True: print('Select a new password (letters and numbers only):') password = input() if password.isalnum(): break print('Passwords can only have letters and numbers')
# -*- coding: utf-8 -*- class ApiException(Exception): errors = [] def __init__(self, errors, code): self.errors = errors self.code = code
class Apiexception(Exception): errors = [] def __init__(self, errors, code): self.errors = errors self.code = code
# # PySNMP MIB module HP-ICF-DHCPv6-SNOOP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HP-ICF-DHCPv6-SNOOP-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:21:15 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, ValueSizeConstraint, ValueRangeConstraint, ConstraintsUnion, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsUnion", "SingleValueConstraint") hpSwitch, = mibBuilder.importSymbols("HP-ICF-OID", "hpSwitch") VidList, = mibBuilder.importSymbols("HP-ICF-TC", "VidList") hpicfSaviObjectsPortEntry, hpicfSaviObjectsBindingEntry = mibBuilder.importSymbols("HPICF-SAVI-MIB", "hpicfSaviObjectsPortEntry", "hpicfSaviObjectsBindingEntry") InterfaceIndex, = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") InetAddressType, InetAddress = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressType", "InetAddress") VlanIndex, = mibBuilder.importSymbols("Q-BRIDGE-MIB", "VlanIndex") SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ObjectGroup, NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "NotificationGroup", "ModuleCompliance") NotificationType, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Integer32, IpAddress, TimeTicks, iso, ModuleIdentity, Gauge32, Counter32, MibIdentifier, Bits, Unsigned32, Counter64 = mibBuilder.importSymbols("SNMPv2-SMI", "NotificationType", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Integer32", "IpAddress", "TimeTicks", "iso", "ModuleIdentity", "Gauge32", "Counter32", "MibIdentifier", "Bits", "Unsigned32", "Counter64") RowStatus, TruthValue, TextualConvention, DateAndTime, MacAddress, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TruthValue", "TextualConvention", "DateAndTime", "MacAddress", "DisplayString") hpicfDSnoopV6 = ModuleIdentity((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102)) hpicfDSnoopV6.setRevisions(('2017-11-08 00:00', '2015-01-28 00:00', '2013-10-06 00:00', '2013-04-30 00:00',)) if mibBuilder.loadTexts: hpicfDSnoopV6.setLastUpdated('201711080000Z') if mibBuilder.loadTexts: hpicfDSnoopV6.setOrganization('HP Networking') hpicfDSnoopV6Notifications = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0)) hpicfDSnoopV6Objects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1)) hpicfDSnoopV6Config = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1)) hpicfDSnoopV6GlobalCfg = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1)) hpicfDSnoopV6Enable = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 1), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6Enable.setStatus('current') hpicfDSnoopV6VlanEnable = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 2), VidList()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6VlanEnable.setStatus('current') hpicfDSnoopV6DatabaseFile = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 3), SnmpAdminString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseFile.setStatus('current') hpicfDSnoopV6DatabaseWriteDelay = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(15, 86400))).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseWriteDelay.setStatus('current') hpicfDSnoopV6DatabaseWriteTimeout = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 86400))).setUnits('seconds').setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseWriteTimeout.setStatus('current') hpicfDSnoopV6OutOfResourcesTrapCtrl = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6OutOfResourcesTrapCtrl.setStatus('current') hpicfDSnoopV6ErrantReplyTrapCtrl = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6ErrantReplyTrapCtrl.setStatus('current') hpicfDSnoopV6DatabaseFTPort = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseFTPort.setStatus('current') hpicfDSnoopV6DatabaseSFTPUsername = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 9), SnmpAdminString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseSFTPUsername.setStatus('current') hpicfDSnoopV6DatabaseSFTPPassword = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 10), SnmpAdminString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseSFTPPassword.setStatus('current') hpicfDSnoopV6DatabaseValidateSFTPServer = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseValidateSFTPServer.setStatus('current') hpicfDSnoopV6AuthorizedServerTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 2), ) if mibBuilder.loadTexts: hpicfDSnoopV6AuthorizedServerTable.setStatus('current') hpicfDSnoopV6AuthorizedServerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 2, 1), ).setIndexNames((0, "HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6AuthorizedServerAddrType"), (0, "HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6AuthorizedServerAddress")) if mibBuilder.loadTexts: hpicfDSnoopV6AuthorizedServerEntry.setStatus('current') hpicfDSnoopV6AuthorizedServerAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 2, 1, 1), InetAddressType()) if mibBuilder.loadTexts: hpicfDSnoopV6AuthorizedServerAddrType.setStatus('current') hpicfDSnoopV6AuthorizedServerAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 2, 1, 2), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(16, 16), ValueSizeConstraint(20, 20), ))) if mibBuilder.loadTexts: hpicfDSnoopV6AuthorizedServerAddress.setStatus('current') hpicfDSnoopV6AuthorizedServerStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 2, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hpicfDSnoopV6AuthorizedServerStatus.setStatus('current') hpicfDSnoopV6GlobalStats = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2)) hpicfDSnoopV6CSForwards = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6CSForwards.setStatus('current') hpicfDSnoopV6CSMACMismatches = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6CSMACMismatches.setStatus('current') hpicfDSnoopV6CSBadReleases = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6CSBadReleases.setStatus('current') hpicfDSnoopV6CSUntrustedDestPorts = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6CSUntrustedDestPorts.setStatus('current') hpicfDSnoopV6SCForwards = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6SCForwards.setStatus('current') hpicfDSnoopV6SCUntrustedPorts = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6SCUntrustedPorts.setStatus('current') hpicfDSnoopV6SCRelayReplyUntrustedPorts = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6SCRelayReplyUntrustedPorts.setStatus('current') hpicfDSnoopV6SCUnauthorizedServers = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6SCUnauthorizedServers.setStatus('current') hpicfDSnoopV6DBFileWriteAttempts = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6DBFileWriteAttempts.setStatus('current') hpicfDSnoopV6DBFileWriteFailures = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6DBFileWriteFailures.setStatus('current') hpicfDSnoopV6DBFileReadStatus = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("notConfigured", 1), ("inProgress", 2), ("succeeded", 3), ("failed", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6DBFileReadStatus.setStatus('current') hpicfDSnoopV6DBFileWriteStatus = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("notConfigured", 1), ("delaying", 2), ("inProgress", 3), ("succeeded", 4), ("failed", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6DBFileWriteStatus.setStatus('current') hpicfDSnoopV6DBFileLastWriteTime = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 13), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6DBFileLastWriteTime.setStatus('current') hpicfDSnoopV6MaxbindPktsDropped = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6MaxbindPktsDropped.setStatus('current') hpicfDSnoopV6ClearStatsOptions = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 3)) hpicfDSnoopV6ClearStats = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 3, 1), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6ClearStats.setStatus('current') hpicfDSnoopV6PortMaxBindingTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 3), ) if mibBuilder.loadTexts: hpicfDSnoopV6PortMaxBindingTable.setStatus('current') hpicfDSnoopV6PortMaxBindingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 3, 1), ) hpicfSaviObjectsPortEntry.registerAugmentions(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6PortMaxBindingEntry")) hpicfDSnoopV6PortMaxBindingEntry.setIndexNames(*hpicfSaviObjectsPortEntry.getIndexNames()) if mibBuilder.loadTexts: hpicfDSnoopV6PortMaxBindingEntry.setStatus('current') hpicfDSnoopV6PortStaticBinding = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 3, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 8192))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6PortStaticBinding.setStatus('current') hpicfDSnoopV6PortDynamicBinding = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 3, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 8192))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6PortDynamicBinding.setStatus('current') hpicfDSnoopV6StaticBindingTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 4), ) if mibBuilder.loadTexts: hpicfDSnoopV6StaticBindingTable.setStatus('current') hpicfDSnoopV6StaticBindingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 4, 1), ) hpicfSaviObjectsBindingEntry.registerAugmentions(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6StaticBindingEntry")) hpicfDSnoopV6StaticBindingEntry.setIndexNames(*hpicfSaviObjectsBindingEntry.getIndexNames()) if mibBuilder.loadTexts: hpicfDSnoopV6StaticBindingEntry.setStatus('current') hpicfDSnoopV6BindingVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 4, 1, 1), VlanIndex().subtype(subtypeSpec=ValueRangeConstraint(1, 4094))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6BindingVlanId.setStatus('current') hpicfDSnoopV6BindingLLAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 4, 1, 2), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4, 4), ValueSizeConstraint(16, 16), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hpicfDSnoopV6BindingLLAddress.setStatus('current') hpicfDSnoopV6BindingSecVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 4, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDSnoopV6BindingSecVlan.setStatus('current') hpicfDSnoopV6SourceBindingOutOfResources = NotificationType((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 1)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDsnoopV6SourceBindingPort"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDsnoopV6SourceBindingMacAddress"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDsnoopV6SourceBindingIpAddressType"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDsnoopV6SourceBindingIpAddress"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDsnoopV6SourceBindingVlan")) if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingOutOfResources.setStatus('current') hpicfDsnoopV6SourceBindingOutOfResourcesObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2)) hpicfDsnoopV6SourceBindingPort = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2, 1), InterfaceIndex()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpicfDsnoopV6SourceBindingPort.setStatus('current') hpicfDsnoopV6SourceBindingMacAddress = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2, 2), MacAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpicfDsnoopV6SourceBindingMacAddress.setStatus('current') hpicfDsnoopV6SourceBindingIpAddressType = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2, 3), InetAddressType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpicfDsnoopV6SourceBindingIpAddressType.setStatus('current') hpicfDsnoopV6SourceBindingIpAddress = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2, 4), InetAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpicfDsnoopV6SourceBindingIpAddress.setStatus('current') hpicfDsnoopV6SourceBindingVlan = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2, 5), VlanIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfDsnoopV6SourceBindingVlan.setStatus('current') hpicfDSnoopV6SourceBindingErrantReply = NotificationType((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 3)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SourceBindingNotifyCount"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SourceBindingErrantSrcMAC"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SourceBindingErrantSrcIPType"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SourceBindingErrantSrcIP")) if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingErrantReply.setStatus('current') hpicfDSnoopV6SourceBindingNotifyObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 4)) hpicfDSnoopV6SourceBindingNotifyCount = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 4, 1), Counter32()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingNotifyCount.setStatus('current') hpicfDSnoopV6SourceBindingErrantSrcMAC = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 4, 2), MacAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingErrantSrcMAC.setStatus('current') hpicfDSnoopV6SourceBindingErrantSrcIPType = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 4, 3), InetAddressType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingErrantSrcIPType.setStatus('current') hpicfDSnoopV6SourceBindingErrantSrcIP = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 4, 4), InetAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingErrantSrcIP.setStatus('current') hpicfDSnoopV6Conformance = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2)) hpicfDSnoopV6Groups = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1)) hpicfDSnoopV6BaseGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 1)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6Enable"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6VlanEnable"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6CSForwards"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6CSBadReleases"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6CSUntrustedDestPorts"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6CSMACMismatches"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SCForwards"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SCUnauthorizedServers"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SCUntrustedPorts"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SCRelayReplyUntrustedPorts")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6BaseGroup = hpicfDSnoopV6BaseGroup.setStatus('current') hpicfDSnoopV6ServersGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 2)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6AuthorizedServerStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6ServersGroup = hpicfDSnoopV6ServersGroup.setStatus('current') hpicfDSnoopV6DbaseFileGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 3)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DatabaseFile"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DatabaseWriteDelay"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DatabaseWriteTimeout"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DBFileWriteAttempts"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DBFileWriteFailures"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DBFileReadStatus"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DBFileWriteStatus"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DBFileLastWriteTime")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6DbaseFileGroup = hpicfDSnoopV6DbaseFileGroup.setStatus('deprecated') hpicfDSnoopV6MaxBindingsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 4)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6MaxbindPktsDropped"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6PortStaticBinding"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6PortDynamicBinding")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6MaxBindingsGroup = hpicfDSnoopV6MaxBindingsGroup.setStatus('current') hpicfDSnoopV6StaticBindingsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 5)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6BindingVlanId"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6BindingLLAddress"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6BindingSecVlan")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6StaticBindingsGroup = hpicfDSnoopV6StaticBindingsGroup.setStatus('current') hpicfDSnoopV6ClearStatsOptionsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 6)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6ClearStats")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6ClearStatsOptionsGroup = hpicfDSnoopV6ClearStatsOptionsGroup.setStatus('current') hpicfDSnoopV6TrapObjectsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 7)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SourceBindingNotifyCount"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SourceBindingErrantSrcMAC"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SourceBindingErrantSrcIPType"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SourceBindingErrantSrcIP"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDsnoopV6SourceBindingPort"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDsnoopV6SourceBindingMacAddress"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDsnoopV6SourceBindingIpAddressType"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDsnoopV6SourceBindingIpAddress"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDsnoopV6SourceBindingVlan"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6OutOfResourcesTrapCtrl"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6ErrantReplyTrapCtrl")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6TrapObjectsGroup = hpicfDSnoopV6TrapObjectsGroup.setStatus('current') hpicfDSnoopV6TrapsGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 8)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SourceBindingOutOfResources"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6SourceBindingErrantReply")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6TrapsGroup = hpicfDSnoopV6TrapsGroup.setStatus('current') hpicfDSnoopV6DbaseFileGroup1 = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 9)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DatabaseFile"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DatabaseWriteDelay"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DatabaseWriteTimeout"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DBFileWriteAttempts"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DBFileWriteFailures"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DBFileReadStatus"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DBFileWriteStatus"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DBFileLastWriteTime"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DatabaseFTPort"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DatabaseSFTPUsername"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DatabaseSFTPPassword"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DatabaseValidateSFTPServer")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6DbaseFileGroup1 = hpicfDSnoopV6DbaseFileGroup1.setStatus('current') hpicfDSnoopV6Compliances = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 3)) hpicfDSnoopV6Compliance2 = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 3, 1)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6BaseGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6ServersGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DbaseFileGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6MaxBindingsGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6StaticBindingsGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6ClearStatsOptionsGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6TrapObjectsGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6TrapsGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6Compliance2 = hpicfDSnoopV6Compliance2.setStatus('deprecated') hpicfDSnoopV6Compliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 3, 2)).setObjects(("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6BaseGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6ServersGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6MaxBindingsGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6StaticBindingsGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6ClearStatsOptionsGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6TrapObjectsGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6TrapsGroup"), ("HP-ICF-DHCPv6-SNOOP-MIB", "hpicfDSnoopV6DbaseFileGroup1")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfDSnoopV6Compliance = hpicfDSnoopV6Compliance.setStatus('current') mibBuilder.exportSymbols("HP-ICF-DHCPv6-SNOOP-MIB", hpicfDSnoopV6DatabaseWriteDelay=hpicfDSnoopV6DatabaseWriteDelay, hpicfDSnoopV6MaxbindPktsDropped=hpicfDSnoopV6MaxbindPktsDropped, hpicfDSnoopV6ClearStats=hpicfDSnoopV6ClearStats, hpicfDSnoopV6BindingVlanId=hpicfDSnoopV6BindingVlanId, hpicfDSnoopV6Compliance2=hpicfDSnoopV6Compliance2, hpicfDSnoopV6AuthorizedServerAddress=hpicfDSnoopV6AuthorizedServerAddress, hpicfDSnoopV6DBFileReadStatus=hpicfDSnoopV6DBFileReadStatus, hpicfDSnoopV6SourceBindingOutOfResources=hpicfDSnoopV6SourceBindingOutOfResources, hpicfDSnoopV6DatabaseSFTPPassword=hpicfDSnoopV6DatabaseSFTPPassword, hpicfDSnoopV6AuthorizedServerTable=hpicfDSnoopV6AuthorizedServerTable, hpicfDSnoopV6PortMaxBindingEntry=hpicfDSnoopV6PortMaxBindingEntry, hpicfDSnoopV6StaticBindingTable=hpicfDSnoopV6StaticBindingTable, hpicfDSnoopV6BindingSecVlan=hpicfDSnoopV6BindingSecVlan, hpicfDSnoopV6Objects=hpicfDSnoopV6Objects, hpicfDsnoopV6SourceBindingIpAddressType=hpicfDsnoopV6SourceBindingIpAddressType, hpicfDSnoopV6VlanEnable=hpicfDSnoopV6VlanEnable, hpicfDSnoopV6SourceBindingErrantSrcIPType=hpicfDSnoopV6SourceBindingErrantSrcIPType, hpicfDSnoopV6ClearStatsOptionsGroup=hpicfDSnoopV6ClearStatsOptionsGroup, hpicfDSnoopV6CSForwards=hpicfDSnoopV6CSForwards, hpicfDSnoopV6PortDynamicBinding=hpicfDSnoopV6PortDynamicBinding, hpicfDSnoopV6DatabaseWriteTimeout=hpicfDSnoopV6DatabaseWriteTimeout, hpicfDSnoopV6DBFileWriteStatus=hpicfDSnoopV6DBFileWriteStatus, hpicfDSnoopV6SourceBindingNotifyCount=hpicfDSnoopV6SourceBindingNotifyCount, hpicfDSnoopV6SourceBindingErrantSrcIP=hpicfDSnoopV6SourceBindingErrantSrcIP, hpicfDSnoopV6MaxBindingsGroup=hpicfDSnoopV6MaxBindingsGroup, hpicfDSnoopV6AuthorizedServerAddrType=hpicfDSnoopV6AuthorizedServerAddrType, hpicfDSnoopV6DbaseFileGroup=hpicfDSnoopV6DbaseFileGroup, hpicfDSnoopV6ErrantReplyTrapCtrl=hpicfDSnoopV6ErrantReplyTrapCtrl, hpicfDSnoopV6DatabaseSFTPUsername=hpicfDSnoopV6DatabaseSFTPUsername, hpicfDSnoopV6CSUntrustedDestPorts=hpicfDSnoopV6CSUntrustedDestPorts, hpicfDSnoopV6DBFileWriteFailures=hpicfDSnoopV6DBFileWriteFailures, hpicfDSnoopV6StaticBindingEntry=hpicfDSnoopV6StaticBindingEntry, hpicfDSnoopV6Groups=hpicfDSnoopV6Groups, hpicfDsnoopV6SourceBindingOutOfResourcesObjects=hpicfDsnoopV6SourceBindingOutOfResourcesObjects, hpicfDSnoopV6SourceBindingErrantSrcMAC=hpicfDSnoopV6SourceBindingErrantSrcMAC, hpicfDSnoopV6TrapObjectsGroup=hpicfDSnoopV6TrapObjectsGroup, hpicfDSnoopV6SCUntrustedPorts=hpicfDSnoopV6SCUntrustedPorts, hpicfDSnoopV6OutOfResourcesTrapCtrl=hpicfDSnoopV6OutOfResourcesTrapCtrl, hpicfDSnoopV6CSBadReleases=hpicfDSnoopV6CSBadReleases, hpicfDSnoopV6DbaseFileGroup1=hpicfDSnoopV6DbaseFileGroup1, hpicfDSnoopV6ClearStatsOptions=hpicfDSnoopV6ClearStatsOptions, hpicfDSnoopV6DBFileLastWriteTime=hpicfDSnoopV6DBFileLastWriteTime, hpicfDSnoopV6PortStaticBinding=hpicfDSnoopV6PortStaticBinding, hpicfDSnoopV6SCForwards=hpicfDSnoopV6SCForwards, PYSNMP_MODULE_ID=hpicfDSnoopV6, hpicfDSnoopV6PortMaxBindingTable=hpicfDSnoopV6PortMaxBindingTable, hpicfDSnoopV6BindingLLAddress=hpicfDSnoopV6BindingLLAddress, hpicfDsnoopV6SourceBindingMacAddress=hpicfDsnoopV6SourceBindingMacAddress, hpicfDSnoopV6AuthorizedServerEntry=hpicfDSnoopV6AuthorizedServerEntry, hpicfDSnoopV6AuthorizedServerStatus=hpicfDSnoopV6AuthorizedServerStatus, hpicfDSnoopV6SourceBindingNotifyObjects=hpicfDSnoopV6SourceBindingNotifyObjects, hpicfDSnoopV6Conformance=hpicfDSnoopV6Conformance, hpicfDSnoopV6BaseGroup=hpicfDSnoopV6BaseGroup, hpicfDsnoopV6SourceBindingPort=hpicfDsnoopV6SourceBindingPort, hpicfDSnoopV6Compliance=hpicfDSnoopV6Compliance, hpicfDSnoopV6Enable=hpicfDSnoopV6Enable, hpicfDSnoopV6SCUnauthorizedServers=hpicfDSnoopV6SCUnauthorizedServers, hpicfDSnoopV6CSMACMismatches=hpicfDSnoopV6CSMACMismatches, hpicfDsnoopV6SourceBindingIpAddress=hpicfDsnoopV6SourceBindingIpAddress, hpicfDSnoopV6SourceBindingErrantReply=hpicfDSnoopV6SourceBindingErrantReply, hpicfDSnoopV6GlobalStats=hpicfDSnoopV6GlobalStats, hpicfDSnoopV6StaticBindingsGroup=hpicfDSnoopV6StaticBindingsGroup, hpicfDSnoopV6DatabaseFile=hpicfDSnoopV6DatabaseFile, hpicfDSnoopV6Config=hpicfDSnoopV6Config, hpicfDSnoopV6DatabaseValidateSFTPServer=hpicfDSnoopV6DatabaseValidateSFTPServer, hpicfDSnoopV6SCRelayReplyUntrustedPorts=hpicfDSnoopV6SCRelayReplyUntrustedPorts, hpicfDSnoopV6ServersGroup=hpicfDSnoopV6ServersGroup, hpicfDSnoopV6Notifications=hpicfDSnoopV6Notifications, hpicfDSnoopV6TrapsGroup=hpicfDSnoopV6TrapsGroup, hpicfDSnoopV6DBFileWriteAttempts=hpicfDSnoopV6DBFileWriteAttempts, hpicfDSnoopV6Compliances=hpicfDSnoopV6Compliances, hpicfDsnoopV6SourceBindingVlan=hpicfDsnoopV6SourceBindingVlan, hpicfDSnoopV6=hpicfDSnoopV6, hpicfDSnoopV6DatabaseFTPort=hpicfDSnoopV6DatabaseFTPort, hpicfDSnoopV6GlobalCfg=hpicfDSnoopV6GlobalCfg)
(integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, value_size_constraint, value_range_constraint, constraints_union, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsUnion', 'SingleValueConstraint') (hp_switch,) = mibBuilder.importSymbols('HP-ICF-OID', 'hpSwitch') (vid_list,) = mibBuilder.importSymbols('HP-ICF-TC', 'VidList') (hpicf_savi_objects_port_entry, hpicf_savi_objects_binding_entry) = mibBuilder.importSymbols('HPICF-SAVI-MIB', 'hpicfSaviObjectsPortEntry', 'hpicfSaviObjectsBindingEntry') (interface_index,) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndex') (inet_address_type, inet_address) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddressType', 'InetAddress') (vlan_index,) = mibBuilder.importSymbols('Q-BRIDGE-MIB', 'VlanIndex') (snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString') (object_group, notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'NotificationGroup', 'ModuleCompliance') (notification_type, object_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, integer32, ip_address, time_ticks, iso, module_identity, gauge32, counter32, mib_identifier, bits, unsigned32, counter64) = mibBuilder.importSymbols('SNMPv2-SMI', 'NotificationType', 'ObjectIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Integer32', 'IpAddress', 'TimeTicks', 'iso', 'ModuleIdentity', 'Gauge32', 'Counter32', 'MibIdentifier', 'Bits', 'Unsigned32', 'Counter64') (row_status, truth_value, textual_convention, date_and_time, mac_address, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'RowStatus', 'TruthValue', 'TextualConvention', 'DateAndTime', 'MacAddress', 'DisplayString') hpicf_d_snoop_v6 = module_identity((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102)) hpicfDSnoopV6.setRevisions(('2017-11-08 00:00', '2015-01-28 00:00', '2013-10-06 00:00', '2013-04-30 00:00')) if mibBuilder.loadTexts: hpicfDSnoopV6.setLastUpdated('201711080000Z') if mibBuilder.loadTexts: hpicfDSnoopV6.setOrganization('HP Networking') hpicf_d_snoop_v6_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0)) hpicf_d_snoop_v6_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1)) hpicf_d_snoop_v6_config = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1)) hpicf_d_snoop_v6_global_cfg = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1)) hpicf_d_snoop_v6_enable = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 1), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6Enable.setStatus('current') hpicf_d_snoop_v6_vlan_enable = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 2), vid_list()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6VlanEnable.setStatus('current') hpicf_d_snoop_v6_database_file = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 3), snmp_admin_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseFile.setStatus('current') hpicf_d_snoop_v6_database_write_delay = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(15, 86400))).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseWriteDelay.setStatus('current') hpicf_d_snoop_v6_database_write_timeout = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 86400))).setUnits('seconds').setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseWriteTimeout.setStatus('current') hpicf_d_snoop_v6_out_of_resources_trap_ctrl = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6OutOfResourcesTrapCtrl.setStatus('current') hpicf_d_snoop_v6_errant_reply_trap_ctrl = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6ErrantReplyTrapCtrl.setStatus('current') hpicf_d_snoop_v6_database_ft_port = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseFTPort.setStatus('current') hpicf_d_snoop_v6_database_sftp_username = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 9), snmp_admin_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseSFTPUsername.setStatus('current') hpicf_d_snoop_v6_database_sftp_password = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 10), snmp_admin_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseSFTPPassword.setStatus('current') hpicf_d_snoop_v6_database_validate_sftp_server = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6DatabaseValidateSFTPServer.setStatus('current') hpicf_d_snoop_v6_authorized_server_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 2)) if mibBuilder.loadTexts: hpicfDSnoopV6AuthorizedServerTable.setStatus('current') hpicf_d_snoop_v6_authorized_server_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 2, 1)).setIndexNames((0, 'HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6AuthorizedServerAddrType'), (0, 'HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6AuthorizedServerAddress')) if mibBuilder.loadTexts: hpicfDSnoopV6AuthorizedServerEntry.setStatus('current') hpicf_d_snoop_v6_authorized_server_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 2, 1, 1), inet_address_type()) if mibBuilder.loadTexts: hpicfDSnoopV6AuthorizedServerAddrType.setStatus('current') hpicf_d_snoop_v6_authorized_server_address = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 2, 1, 2), inet_address().subtype(subtypeSpec=constraints_union(value_size_constraint(16, 16), value_size_constraint(20, 20)))) if mibBuilder.loadTexts: hpicfDSnoopV6AuthorizedServerAddress.setStatus('current') hpicf_d_snoop_v6_authorized_server_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 2, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hpicfDSnoopV6AuthorizedServerStatus.setStatus('current') hpicf_d_snoop_v6_global_stats = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2)) hpicf_d_snoop_v6_cs_forwards = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6CSForwards.setStatus('current') hpicf_d_snoop_v6_csmac_mismatches = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6CSMACMismatches.setStatus('current') hpicf_d_snoop_v6_cs_bad_releases = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6CSBadReleases.setStatus('current') hpicf_d_snoop_v6_cs_untrusted_dest_ports = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6CSUntrustedDestPorts.setStatus('current') hpicf_d_snoop_v6_sc_forwards = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6SCForwards.setStatus('current') hpicf_d_snoop_v6_sc_untrusted_ports = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6SCUntrustedPorts.setStatus('current') hpicf_d_snoop_v6_sc_relay_reply_untrusted_ports = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6SCRelayReplyUntrustedPorts.setStatus('current') hpicf_d_snoop_v6_sc_unauthorized_servers = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6SCUnauthorizedServers.setStatus('current') hpicf_d_snoop_v6_db_file_write_attempts = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6DBFileWriteAttempts.setStatus('current') hpicf_d_snoop_v6_db_file_write_failures = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6DBFileWriteFailures.setStatus('current') hpicf_d_snoop_v6_db_file_read_status = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('notConfigured', 1), ('inProgress', 2), ('succeeded', 3), ('failed', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6DBFileReadStatus.setStatus('current') hpicf_d_snoop_v6_db_file_write_status = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('notConfigured', 1), ('delaying', 2), ('inProgress', 3), ('succeeded', 4), ('failed', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6DBFileWriteStatus.setStatus('current') hpicf_d_snoop_v6_db_file_last_write_time = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 13), date_and_time()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6DBFileLastWriteTime.setStatus('current') hpicf_d_snoop_v6_maxbind_pkts_dropped = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 2, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6MaxbindPktsDropped.setStatus('current') hpicf_d_snoop_v6_clear_stats_options = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 3)) hpicf_d_snoop_v6_clear_stats = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 3, 1), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6ClearStats.setStatus('current') hpicf_d_snoop_v6_port_max_binding_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 3)) if mibBuilder.loadTexts: hpicfDSnoopV6PortMaxBindingTable.setStatus('current') hpicf_d_snoop_v6_port_max_binding_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 3, 1)) hpicfSaviObjectsPortEntry.registerAugmentions(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6PortMaxBindingEntry')) hpicfDSnoopV6PortMaxBindingEntry.setIndexNames(*hpicfSaviObjectsPortEntry.getIndexNames()) if mibBuilder.loadTexts: hpicfDSnoopV6PortMaxBindingEntry.setStatus('current') hpicf_d_snoop_v6_port_static_binding = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 3, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 8192))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6PortStaticBinding.setStatus('current') hpicf_d_snoop_v6_port_dynamic_binding = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 3, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 8192))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6PortDynamicBinding.setStatus('current') hpicf_d_snoop_v6_static_binding_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 4)) if mibBuilder.loadTexts: hpicfDSnoopV6StaticBindingTable.setStatus('current') hpicf_d_snoop_v6_static_binding_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 4, 1)) hpicfSaviObjectsBindingEntry.registerAugmentions(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6StaticBindingEntry')) hpicfDSnoopV6StaticBindingEntry.setIndexNames(*hpicfSaviObjectsBindingEntry.getIndexNames()) if mibBuilder.loadTexts: hpicfDSnoopV6StaticBindingEntry.setStatus('current') hpicf_d_snoop_v6_binding_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 4, 1, 1), vlan_index().subtype(subtypeSpec=value_range_constraint(1, 4094))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6BindingVlanId.setStatus('current') hpicf_d_snoop_v6_binding_ll_address = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 4, 1, 2), inet_address().subtype(subtypeSpec=constraints_union(value_size_constraint(4, 4), value_size_constraint(16, 16)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hpicfDSnoopV6BindingLLAddress.setStatus('current') hpicf_d_snoop_v6_binding_sec_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 1, 1, 4, 1, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDSnoopV6BindingSecVlan.setStatus('current') hpicf_d_snoop_v6_source_binding_out_of_resources = notification_type((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 1)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDsnoopV6SourceBindingPort'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDsnoopV6SourceBindingMacAddress'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDsnoopV6SourceBindingIpAddressType'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDsnoopV6SourceBindingIpAddress'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDsnoopV6SourceBindingVlan')) if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingOutOfResources.setStatus('current') hpicf_dsnoop_v6_source_binding_out_of_resources_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2)) hpicf_dsnoop_v6_source_binding_port = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2, 1), interface_index()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpicfDsnoopV6SourceBindingPort.setStatus('current') hpicf_dsnoop_v6_source_binding_mac_address = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2, 2), mac_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpicfDsnoopV6SourceBindingMacAddress.setStatus('current') hpicf_dsnoop_v6_source_binding_ip_address_type = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2, 3), inet_address_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpicfDsnoopV6SourceBindingIpAddressType.setStatus('current') hpicf_dsnoop_v6_source_binding_ip_address = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2, 4), inet_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpicfDsnoopV6SourceBindingIpAddress.setStatus('current') hpicf_dsnoop_v6_source_binding_vlan = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 2, 5), vlan_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfDsnoopV6SourceBindingVlan.setStatus('current') hpicf_d_snoop_v6_source_binding_errant_reply = notification_type((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 3)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SourceBindingNotifyCount'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SourceBindingErrantSrcMAC'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SourceBindingErrantSrcIPType'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SourceBindingErrantSrcIP')) if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingErrantReply.setStatus('current') hpicf_d_snoop_v6_source_binding_notify_objects = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 4)) hpicf_d_snoop_v6_source_binding_notify_count = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 4, 1), counter32()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingNotifyCount.setStatus('current') hpicf_d_snoop_v6_source_binding_errant_src_mac = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 4, 2), mac_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingErrantSrcMAC.setStatus('current') hpicf_d_snoop_v6_source_binding_errant_src_ip_type = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 4, 3), inet_address_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingErrantSrcIPType.setStatus('current') hpicf_d_snoop_v6_source_binding_errant_src_ip = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 0, 4, 4), inet_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: hpicfDSnoopV6SourceBindingErrantSrcIP.setStatus('current') hpicf_d_snoop_v6_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2)) hpicf_d_snoop_v6_groups = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1)) hpicf_d_snoop_v6_base_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 1)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6Enable'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6VlanEnable'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6CSForwards'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6CSBadReleases'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6CSUntrustedDestPorts'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6CSMACMismatches'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SCForwards'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SCUnauthorizedServers'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SCUntrustedPorts'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SCRelayReplyUntrustedPorts')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_base_group = hpicfDSnoopV6BaseGroup.setStatus('current') hpicf_d_snoop_v6_servers_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 2)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6AuthorizedServerStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_servers_group = hpicfDSnoopV6ServersGroup.setStatus('current') hpicf_d_snoop_v6_dbase_file_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 3)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DatabaseFile'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DatabaseWriteDelay'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DatabaseWriteTimeout'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DBFileWriteAttempts'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DBFileWriteFailures'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DBFileReadStatus'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DBFileWriteStatus'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DBFileLastWriteTime')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_dbase_file_group = hpicfDSnoopV6DbaseFileGroup.setStatus('deprecated') hpicf_d_snoop_v6_max_bindings_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 4)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6MaxbindPktsDropped'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6PortStaticBinding'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6PortDynamicBinding')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_max_bindings_group = hpicfDSnoopV6MaxBindingsGroup.setStatus('current') hpicf_d_snoop_v6_static_bindings_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 5)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6BindingVlanId'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6BindingLLAddress'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6BindingSecVlan')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_static_bindings_group = hpicfDSnoopV6StaticBindingsGroup.setStatus('current') hpicf_d_snoop_v6_clear_stats_options_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 6)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6ClearStats')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_clear_stats_options_group = hpicfDSnoopV6ClearStatsOptionsGroup.setStatus('current') hpicf_d_snoop_v6_trap_objects_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 7)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SourceBindingNotifyCount'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SourceBindingErrantSrcMAC'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SourceBindingErrantSrcIPType'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SourceBindingErrantSrcIP'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDsnoopV6SourceBindingPort'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDsnoopV6SourceBindingMacAddress'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDsnoopV6SourceBindingIpAddressType'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDsnoopV6SourceBindingIpAddress'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDsnoopV6SourceBindingVlan'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6OutOfResourcesTrapCtrl'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6ErrantReplyTrapCtrl')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_trap_objects_group = hpicfDSnoopV6TrapObjectsGroup.setStatus('current') hpicf_d_snoop_v6_traps_group = notification_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 8)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SourceBindingOutOfResources'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6SourceBindingErrantReply')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_traps_group = hpicfDSnoopV6TrapsGroup.setStatus('current') hpicf_d_snoop_v6_dbase_file_group1 = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 1, 9)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DatabaseFile'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DatabaseWriteDelay'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DatabaseWriteTimeout'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DBFileWriteAttempts'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DBFileWriteFailures'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DBFileReadStatus'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DBFileWriteStatus'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DBFileLastWriteTime'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DatabaseFTPort'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DatabaseSFTPUsername'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DatabaseSFTPPassword'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DatabaseValidateSFTPServer')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_dbase_file_group1 = hpicfDSnoopV6DbaseFileGroup1.setStatus('current') hpicf_d_snoop_v6_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 3)) hpicf_d_snoop_v6_compliance2 = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 3, 1)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6BaseGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6ServersGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DbaseFileGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6MaxBindingsGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6StaticBindingsGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6ClearStatsOptionsGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6TrapObjectsGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6TrapsGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_compliance2 = hpicfDSnoopV6Compliance2.setStatus('deprecated') hpicf_d_snoop_v6_compliance = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 5, 1, 102, 2, 3, 2)).setObjects(('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6BaseGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6ServersGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6MaxBindingsGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6StaticBindingsGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6ClearStatsOptionsGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6TrapObjectsGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6TrapsGroup'), ('HP-ICF-DHCPv6-SNOOP-MIB', 'hpicfDSnoopV6DbaseFileGroup1')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_d_snoop_v6_compliance = hpicfDSnoopV6Compliance.setStatus('current') mibBuilder.exportSymbols('HP-ICF-DHCPv6-SNOOP-MIB', hpicfDSnoopV6DatabaseWriteDelay=hpicfDSnoopV6DatabaseWriteDelay, hpicfDSnoopV6MaxbindPktsDropped=hpicfDSnoopV6MaxbindPktsDropped, hpicfDSnoopV6ClearStats=hpicfDSnoopV6ClearStats, hpicfDSnoopV6BindingVlanId=hpicfDSnoopV6BindingVlanId, hpicfDSnoopV6Compliance2=hpicfDSnoopV6Compliance2, hpicfDSnoopV6AuthorizedServerAddress=hpicfDSnoopV6AuthorizedServerAddress, hpicfDSnoopV6DBFileReadStatus=hpicfDSnoopV6DBFileReadStatus, hpicfDSnoopV6SourceBindingOutOfResources=hpicfDSnoopV6SourceBindingOutOfResources, hpicfDSnoopV6DatabaseSFTPPassword=hpicfDSnoopV6DatabaseSFTPPassword, hpicfDSnoopV6AuthorizedServerTable=hpicfDSnoopV6AuthorizedServerTable, hpicfDSnoopV6PortMaxBindingEntry=hpicfDSnoopV6PortMaxBindingEntry, hpicfDSnoopV6StaticBindingTable=hpicfDSnoopV6StaticBindingTable, hpicfDSnoopV6BindingSecVlan=hpicfDSnoopV6BindingSecVlan, hpicfDSnoopV6Objects=hpicfDSnoopV6Objects, hpicfDsnoopV6SourceBindingIpAddressType=hpicfDsnoopV6SourceBindingIpAddressType, hpicfDSnoopV6VlanEnable=hpicfDSnoopV6VlanEnable, hpicfDSnoopV6SourceBindingErrantSrcIPType=hpicfDSnoopV6SourceBindingErrantSrcIPType, hpicfDSnoopV6ClearStatsOptionsGroup=hpicfDSnoopV6ClearStatsOptionsGroup, hpicfDSnoopV6CSForwards=hpicfDSnoopV6CSForwards, hpicfDSnoopV6PortDynamicBinding=hpicfDSnoopV6PortDynamicBinding, hpicfDSnoopV6DatabaseWriteTimeout=hpicfDSnoopV6DatabaseWriteTimeout, hpicfDSnoopV6DBFileWriteStatus=hpicfDSnoopV6DBFileWriteStatus, hpicfDSnoopV6SourceBindingNotifyCount=hpicfDSnoopV6SourceBindingNotifyCount, hpicfDSnoopV6SourceBindingErrantSrcIP=hpicfDSnoopV6SourceBindingErrantSrcIP, hpicfDSnoopV6MaxBindingsGroup=hpicfDSnoopV6MaxBindingsGroup, hpicfDSnoopV6AuthorizedServerAddrType=hpicfDSnoopV6AuthorizedServerAddrType, hpicfDSnoopV6DbaseFileGroup=hpicfDSnoopV6DbaseFileGroup, hpicfDSnoopV6ErrantReplyTrapCtrl=hpicfDSnoopV6ErrantReplyTrapCtrl, hpicfDSnoopV6DatabaseSFTPUsername=hpicfDSnoopV6DatabaseSFTPUsername, hpicfDSnoopV6CSUntrustedDestPorts=hpicfDSnoopV6CSUntrustedDestPorts, hpicfDSnoopV6DBFileWriteFailures=hpicfDSnoopV6DBFileWriteFailures, hpicfDSnoopV6StaticBindingEntry=hpicfDSnoopV6StaticBindingEntry, hpicfDSnoopV6Groups=hpicfDSnoopV6Groups, hpicfDsnoopV6SourceBindingOutOfResourcesObjects=hpicfDsnoopV6SourceBindingOutOfResourcesObjects, hpicfDSnoopV6SourceBindingErrantSrcMAC=hpicfDSnoopV6SourceBindingErrantSrcMAC, hpicfDSnoopV6TrapObjectsGroup=hpicfDSnoopV6TrapObjectsGroup, hpicfDSnoopV6SCUntrustedPorts=hpicfDSnoopV6SCUntrustedPorts, hpicfDSnoopV6OutOfResourcesTrapCtrl=hpicfDSnoopV6OutOfResourcesTrapCtrl, hpicfDSnoopV6CSBadReleases=hpicfDSnoopV6CSBadReleases, hpicfDSnoopV6DbaseFileGroup1=hpicfDSnoopV6DbaseFileGroup1, hpicfDSnoopV6ClearStatsOptions=hpicfDSnoopV6ClearStatsOptions, hpicfDSnoopV6DBFileLastWriteTime=hpicfDSnoopV6DBFileLastWriteTime, hpicfDSnoopV6PortStaticBinding=hpicfDSnoopV6PortStaticBinding, hpicfDSnoopV6SCForwards=hpicfDSnoopV6SCForwards, PYSNMP_MODULE_ID=hpicfDSnoopV6, hpicfDSnoopV6PortMaxBindingTable=hpicfDSnoopV6PortMaxBindingTable, hpicfDSnoopV6BindingLLAddress=hpicfDSnoopV6BindingLLAddress, hpicfDsnoopV6SourceBindingMacAddress=hpicfDsnoopV6SourceBindingMacAddress, hpicfDSnoopV6AuthorizedServerEntry=hpicfDSnoopV6AuthorizedServerEntry, hpicfDSnoopV6AuthorizedServerStatus=hpicfDSnoopV6AuthorizedServerStatus, hpicfDSnoopV6SourceBindingNotifyObjects=hpicfDSnoopV6SourceBindingNotifyObjects, hpicfDSnoopV6Conformance=hpicfDSnoopV6Conformance, hpicfDSnoopV6BaseGroup=hpicfDSnoopV6BaseGroup, hpicfDsnoopV6SourceBindingPort=hpicfDsnoopV6SourceBindingPort, hpicfDSnoopV6Compliance=hpicfDSnoopV6Compliance, hpicfDSnoopV6Enable=hpicfDSnoopV6Enable, hpicfDSnoopV6SCUnauthorizedServers=hpicfDSnoopV6SCUnauthorizedServers, hpicfDSnoopV6CSMACMismatches=hpicfDSnoopV6CSMACMismatches, hpicfDsnoopV6SourceBindingIpAddress=hpicfDsnoopV6SourceBindingIpAddress, hpicfDSnoopV6SourceBindingErrantReply=hpicfDSnoopV6SourceBindingErrantReply, hpicfDSnoopV6GlobalStats=hpicfDSnoopV6GlobalStats, hpicfDSnoopV6StaticBindingsGroup=hpicfDSnoopV6StaticBindingsGroup, hpicfDSnoopV6DatabaseFile=hpicfDSnoopV6DatabaseFile, hpicfDSnoopV6Config=hpicfDSnoopV6Config, hpicfDSnoopV6DatabaseValidateSFTPServer=hpicfDSnoopV6DatabaseValidateSFTPServer, hpicfDSnoopV6SCRelayReplyUntrustedPorts=hpicfDSnoopV6SCRelayReplyUntrustedPorts, hpicfDSnoopV6ServersGroup=hpicfDSnoopV6ServersGroup, hpicfDSnoopV6Notifications=hpicfDSnoopV6Notifications, hpicfDSnoopV6TrapsGroup=hpicfDSnoopV6TrapsGroup, hpicfDSnoopV6DBFileWriteAttempts=hpicfDSnoopV6DBFileWriteAttempts, hpicfDSnoopV6Compliances=hpicfDSnoopV6Compliances, hpicfDsnoopV6SourceBindingVlan=hpicfDsnoopV6SourceBindingVlan, hpicfDSnoopV6=hpicfDSnoopV6, hpicfDSnoopV6DatabaseFTPort=hpicfDSnoopV6DatabaseFTPort, hpicfDSnoopV6GlobalCfg=hpicfDSnoopV6GlobalCfg)
# # PySNMP MIB module ESI-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ESI-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 18:52:21 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, ConstraintsIntersection, SingleValueConstraint, ValueSizeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsIntersection", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsUnion") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") iso, NotificationType, Counter64, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, Integer32, Counter32, ObjectIdentity, Unsigned32, MibIdentifier, enterprises, Bits, Gauge32, TimeTicks, ModuleIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "iso", "NotificationType", "Counter64", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "Integer32", "Counter32", "ObjectIdentity", "Unsigned32", "MibIdentifier", "enterprises", "Bits", "Gauge32", "TimeTicks", "ModuleIdentity") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") esi = MibIdentifier((1, 3, 6, 1, 4, 1, 683)) general = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 1)) commands = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 2)) esiSNMP = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 3)) esiSNMPCommands = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 3, 2)) driver = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 4)) tokenRing = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 5)) printServers = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6)) psGeneral = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 1)) psOutput = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 2)) psProtocols = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3)) genProtocols = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 1, 15)) outputCommands = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 2, 2)) outputConfigure = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 2, 3)) outputJobLog = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 2, 6)) trCommands = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 5, 2)) trConfigure = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 5, 3)) tcpip = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 1)) netware = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 2)) vines = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 3)) lanManager = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 4)) eTalk = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 5)) tcpipCommands = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 3)) tcpipConfigure = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4)) tcpipStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 5)) nwCommands = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 3)) nwConfigure = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4)) nwStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 5)) bvCommands = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 3)) bvConfigure = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4)) bvStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5)) eTalkCommands = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 3)) eTalkConfigure = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4)) eTalkStatus = MibIdentifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 5)) genGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: genGroupVersion.setStatus('mandatory') genMIBVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: genMIBVersion.setStatus('mandatory') genProductName = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readonly") if mibBuilder.loadTexts: genProductName.setStatus('mandatory') genProductNumber = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 5))).setMaxAccess("readonly") if mibBuilder.loadTexts: genProductNumber.setStatus('mandatory') genSerialNumber = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: genSerialNumber.setStatus('mandatory') genHWAddress = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readonly") if mibBuilder.loadTexts: genHWAddress.setStatus('mandatory') genCableType = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("tenbase2", 1), ("tenbaseT", 2), ("aui", 3), ("utp", 4), ("stp", 5), ("fiber100fx", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: genCableType.setStatus('mandatory') genDateCode = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: genDateCode.setStatus('mandatory') genVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: genVersion.setStatus('mandatory') genConfigurationDirty = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: genConfigurationDirty.setStatus('mandatory') genCompanyName = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly") if mibBuilder.loadTexts: genCompanyName.setStatus('mandatory') genCompanyLoc = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly") if mibBuilder.loadTexts: genCompanyLoc.setStatus('mandatory') genCompanyPhone = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 15))).setMaxAccess("readonly") if mibBuilder.loadTexts: genCompanyPhone.setStatus('mandatory') genCompanyTechSupport = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 14), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: genCompanyTechSupport.setStatus('mandatory') genNumProtocols = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 15, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: genNumProtocols.setStatus('mandatory') genProtocolTable = MibTable((1, 3, 6, 1, 4, 1, 683, 1, 15, 2), ) if mibBuilder.loadTexts: genProtocolTable.setStatus('mandatory') genProtocolEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 1, 15, 2, 1), ).setIndexNames((0, "ESI-MIB", "genProtocolIndex")) if mibBuilder.loadTexts: genProtocolEntry.setStatus('mandatory') genProtocolIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 1, 15, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: genProtocolIndex.setStatus('mandatory') genProtocolDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 1, 15, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: genProtocolDescr.setStatus('mandatory') genProtocolID = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 1, 15, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("tcp-ip", 1), ("netware", 2), ("vines", 3), ("lanmanger", 4), ("ethertalk", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: genProtocolID.setStatus('mandatory') genSysUpTimeString = MibScalar((1, 3, 6, 1, 4, 1, 683, 1, 16), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 35))).setMaxAccess("readonly") if mibBuilder.loadTexts: genSysUpTimeString.setStatus('mandatory') cmdGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 2, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cmdGroupVersion.setStatus('mandatory') cmdReset = MibScalar((1, 3, 6, 1, 4, 1, 683, 2, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cmdReset.setStatus('optional') cmdPrintConfig = MibScalar((1, 3, 6, 1, 4, 1, 683, 2, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cmdPrintConfig.setStatus('optional') cmdRestoreDefaults = MibScalar((1, 3, 6, 1, 4, 1, 683, 2, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cmdRestoreDefaults.setStatus('optional') snmpGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 3, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snmpGroupVersion.setStatus('mandatory') snmpRestoreDefaults = MibScalar((1, 3, 6, 1, 4, 1, 683, 3, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpRestoreDefaults.setStatus('optional') snmpGetCommunityName = MibScalar((1, 3, 6, 1, 4, 1, 683, 3, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpGetCommunityName.setStatus('optional') snmpSetCommunityName = MibScalar((1, 3, 6, 1, 4, 1, 683, 3, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpSetCommunityName.setStatus('optional') snmpTrapCommunityName = MibScalar((1, 3, 6, 1, 4, 1, 683, 3, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snmpTrapCommunityName.setStatus('optional') driverGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 4, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: driverGroupVersion.setStatus('mandatory') driverRXPackets = MibScalar((1, 3, 6, 1, 4, 1, 683, 4, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: driverRXPackets.setStatus('mandatory') driverTXPackets = MibScalar((1, 3, 6, 1, 4, 1, 683, 4, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: driverTXPackets.setStatus('mandatory') driverRXPacketsUnavailable = MibScalar((1, 3, 6, 1, 4, 1, 683, 4, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: driverRXPacketsUnavailable.setStatus('mandatory') driverRXPacketErrors = MibScalar((1, 3, 6, 1, 4, 1, 683, 4, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: driverRXPacketErrors.setStatus('mandatory') driverTXPacketErrors = MibScalar((1, 3, 6, 1, 4, 1, 683, 4, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: driverTXPacketErrors.setStatus('mandatory') driverTXPacketRetries = MibScalar((1, 3, 6, 1, 4, 1, 683, 4, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: driverTXPacketRetries.setStatus('mandatory') driverChecksumErrors = MibScalar((1, 3, 6, 1, 4, 1, 683, 4, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: driverChecksumErrors.setStatus('mandatory') trGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 5, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trGroupVersion.setStatus('mandatory') trRestoreDefaults = MibScalar((1, 3, 6, 1, 4, 1, 683, 5, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: trRestoreDefaults.setStatus('optional') trPriority = MibScalar((1, 3, 6, 1, 4, 1, 683, 5, 3, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 6))).setMaxAccess("readwrite") if mibBuilder.loadTexts: trPriority.setStatus('optional') trEarlyTokenRelease = MibScalar((1, 3, 6, 1, 4, 1, 683, 5, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: trEarlyTokenRelease.setStatus('optional') trPacketSize = MibScalar((1, 3, 6, 1, 4, 1, 683, 5, 3, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("one-k", 1), ("two-k", 2), ("four-k", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: trPacketSize.setStatus('optional') trRouting = MibScalar((1, 3, 6, 1, 4, 1, 683, 5, 3, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("off", 1), ("all-None", 2), ("single-All", 3), ("single-None", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: trRouting.setStatus('optional') trLocallyAdminAddr = MibScalar((1, 3, 6, 1, 4, 1, 683, 5, 3, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readwrite") if mibBuilder.loadTexts: trLocallyAdminAddr.setStatus('optional') psGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: psGroupVersion.setStatus('mandatory') psJetAdminEnabled = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: psJetAdminEnabled.setStatus('mandatory') psVerifyConfiguration = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("getvalue", 0), ("serial-configuration", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: psVerifyConfiguration.setStatus('optional') outputGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: outputGroupVersion.setStatus('mandatory') outputRestoreDefaults = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputRestoreDefaults.setStatus('mandatory') outputCommandsTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 2, 2, 2), ) if mibBuilder.loadTexts: outputCommandsTable.setStatus('mandatory') outputCommandsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 2, 2, 2, 1), ).setIndexNames((0, "ESI-MIB", "outputIndex")) if mibBuilder.loadTexts: outputCommandsEntry.setStatus('mandatory') outputCancelCurrentJob = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputCancelCurrentJob.setStatus('optional') outputNumPorts = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: outputNumPorts.setStatus('mandatory') outputTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2), ) if mibBuilder.loadTexts: outputTable.setStatus('mandatory') outputEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1), ).setIndexNames((0, "ESI-MIB", "outputIndex")) if mibBuilder.loadTexts: outputEntry.setStatus('mandatory') outputIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: outputIndex.setStatus('mandatory') outputName = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputName.setStatus('mandatory') outputStatusString = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputStatusString.setStatus('mandatory') outputStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("on-Line", 1), ("off-Line", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputStatus.setStatus('mandatory') outputExtendedStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 15))).clone(namedValues=NamedValues(("none", 1), ("no-Printer-Attached", 2), ("toner-Low", 3), ("paper-Out", 4), ("paper-Jam", 5), ("door-Open", 6), ("printer-Error", 15)))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputExtendedStatus.setStatus('mandatory') outputPrinter = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("hp-III", 1), ("hp-IIISi", 2), ("ibm", 3), ("no-Specific-Printer", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputPrinter.setStatus('optional') outputLanguageSwitching = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("off", 1), ("pcl", 2), ("postScript", 3), ("als", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputLanguageSwitching.setStatus('optional') outputConfigLanguage = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("text", 1), ("pcl", 2), ("postScript", 3), ("off", 4), ("epl-zpl", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputConfigLanguage.setStatus('mandatory') outputPCLString = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(127, 127)).setFixedLength(127)).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputPCLString.setStatus('optional') outputPSString = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(127, 127)).setFixedLength(127)).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputPSString.setStatus('optional') outputCascaded = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputCascaded.setStatus('optional') outputSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(32758, 32759, 32760, 32761, 32762, 32763, 32764, 32765, 32766, 32767))).clone(namedValues=NamedValues(("serial-infrared", 32758), ("serial-bidirectional", 32759), ("serial-unidirectional", 32760), ("serial-input", 32761), ("parallel-compatibility-no-bidi", 32762), ("ieee-1284-std-nibble-mode", 32763), ("z-Link", 32764), ("internal", 32765), ("ieee-1284-ecp-or-fast-nibble-mode", 32766), ("extendedLink", 32767)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputSetting.setStatus('mandatory') outputOwner = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("no-Owner", 1), ("tcpip", 2), ("netware", 3), ("vines", 4), ("lanManager", 5), ("etherTalk", 6), ("config-Page", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputOwner.setStatus('mandatory') outputBIDIStatusEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputBIDIStatusEnabled.setStatus('optional') outputPrinterModel = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 15), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 60))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputPrinterModel.setStatus('optional') outputPrinterDisplay = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 16), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputPrinterDisplay.setStatus('optional') outputCapabilities = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 4, 8, 16, 32, 64, 128, 256, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 1073741824))).clone(namedValues=NamedValues(("serial-Uni-Baud-9600", 1), ("serial-Uni-Baud-19200", 2), ("serial-Uni-Baud-38400", 4), ("serial-Uni-Baud-57600", 8), ("serial-Uni-Baud-115200", 16), ("serial-bidi-Baud-9600", 32), ("serial-bidi-Baud-19200", 64), ("serial-bidi-Baud-38400", 128), ("serial-bidi-Baud-57600", 256), ("zpl-epl-capable", 262144), ("serial-irin", 524288), ("serial-in", 1048576), ("serial-config-settings", 2097152), ("parallel-compatibility-no-bidi", 4194304), ("ieee-1284-std-nibble-mode", 8388608), ("z-link", 16777216), ("bidirectional", 33554432), ("serial-Software-Handshake", 67108864), ("serial-Output", 134217728), ("extendedLink", 268435456), ("internal", 536870912), ("ieee-1284-ecp-or-fast-nibble-mode", 1073741824)))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputCapabilities.setStatus('mandatory') outputHandshake = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("not-Supported", 1), ("hardware-Software", 2), ("hardware", 3), ("software", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputHandshake.setStatus('optional') outputDataBits = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(7, 8, 255))).clone(namedValues=NamedValues(("seven-bits", 7), ("eight-bits", 8), ("not-Supported", 255)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputDataBits.setStatus('optional') outputStopBits = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 255))).clone(namedValues=NamedValues(("one-bit", 1), ("two-bits", 2), ("not-Supported", 255)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputStopBits.setStatus('optional') outputParity = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 255))).clone(namedValues=NamedValues(("none", 1), ("odd", 2), ("even", 3), ("not-Supported", 255)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputParity.setStatus('optional') outputBaudRate = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("unidirectional-9600", 1), ("unidirectional-19200", 2), ("unidirectional-38400", 3), ("unidirectional-57600", 4), ("unidirectional-115200", 5), ("bidirectional-9600", 6), ("bidirectional-19200", 7), ("bidirectional-38400", 8), ("bidirectional-57600", 9)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: outputBaudRate.setStatus('optional') outputProtocolManager = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("protocol-none", 0), ("protocol-compatibility", 1), ("protocol-1284-4", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputProtocolManager.setStatus('optional') outputDisplayMask = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: outputDisplayMask.setStatus('mandatory') outputAvailableTrapsMask = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: outputAvailableTrapsMask.setStatus('mandatory') outputNumLogEntries = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: outputNumLogEntries.setStatus('mandatory') outputJobLogTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 2), ) if mibBuilder.loadTexts: outputJobLogTable.setStatus('mandatory') outputJobLogEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 2, 1), ).setIndexNames((0, "ESI-MIB", "outputIndex")) if mibBuilder.loadTexts: outputJobLogEntry.setStatus('mandatory') outputJobLogInformation = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 2, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputJobLogInformation.setStatus('mandatory') outputJobLogTime = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 50))).setMaxAccess("readonly") if mibBuilder.loadTexts: outputJobLogTime.setStatus('mandatory') outputTotalJobTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 3), ) if mibBuilder.loadTexts: outputTotalJobTable.setStatus('mandatory') outputTotalJobEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 3, 1), ).setIndexNames((0, "ESI-MIB", "outputTotalJobIndex")) if mibBuilder.loadTexts: outputTotalJobEntry.setStatus('mandatory') outputTotalJobIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: outputTotalJobIndex.setStatus('mandatory') outputTotalJobsLogged = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 3, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: outputTotalJobsLogged.setStatus('mandatory') tcpipGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipGroupVersion.setStatus('mandatory') tcpipEnabled = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipEnabled.setStatus('optional') tcpipRestoreDefaults = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipRestoreDefaults.setStatus('optional') tcpipFirmwareUpgrade = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipFirmwareUpgrade.setStatus('optional') tcpipIPAddress = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 1), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipIPAddress.setStatus('optional') tcpipDefaultGateway = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipDefaultGateway.setStatus('optional') tcpipSubnetMask = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipSubnetMask.setStatus('optional') tcpipUsingNetProtocols = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipUsingNetProtocols.setStatus('optional') tcpipBootProtocolsEnabled = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipBootProtocolsEnabled.setStatus('optional') tcpipIPAddressSource = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("permanent", 1), ("default", 2), ("rarp", 3), ("bootp", 4), ("dhcp", 5), ("glean", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipIPAddressSource.setStatus('optional') tcpipIPAddressServerAddress = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 7), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipIPAddressServerAddress.setStatus('optional') tcpipTimeoutChecking = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipTimeoutChecking.setStatus('optional') tcpipNumTraps = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipNumTraps.setStatus('mandatory') tcpipTrapTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10), ) if mibBuilder.loadTexts: tcpipTrapTable.setStatus('mandatory') tcpipTrapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1), ).setIndexNames((0, "ESI-MIB", "tcpipTrapIndex")) if mibBuilder.loadTexts: tcpipTrapEntry.setStatus('mandatory') tcpipTrapIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipTrapIndex.setStatus('mandatory') tcpipTrapDestination = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipTrapDestination.setStatus('optional') tcpipProtocolTrapMask = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipProtocolTrapMask.setStatus('optional') tcpipPrinterTrapMask = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipPrinterTrapMask.setStatus('optional') tcpipOutputTrapMask = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipOutputTrapMask.setStatus('optional') tcpipBanners = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipBanners.setStatus('optional') tcpipWinsAddress = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 12), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWinsAddress.setStatus('optional') tcpipWinsAddressSource = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("dhcp", 1), ("permanent", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWinsAddressSource.setStatus('optional') tcpipConfigPassword = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 14), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(5, 24))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipConfigPassword.setStatus('optional') tcpipTimeoutCheckingValue = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipTimeoutCheckingValue.setStatus('optional') tcpipArpInterval = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 30))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipArpInterval.setStatus('optional') tcpipRawPortNumber = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 17), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipRawPortNumber.setStatus('optional') tcpipNumSecurity = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 18), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipNumSecurity.setStatus('mandatory') tcpipSecurityTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19), ) if mibBuilder.loadTexts: tcpipSecurityTable.setStatus('mandatory') tcpipSecurityEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1), ).setIndexNames((0, "ESI-MIB", "tcpipSecurityIndex")) if mibBuilder.loadTexts: tcpipSecurityEntry.setStatus('mandatory') tcpipSecurityIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipSecurityIndex.setStatus('mandatory') tcpipSecureStartIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipSecureStartIPAddress.setStatus('optional') tcpipSecureEndIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipSecureEndIPAddress.setStatus('optional') tcpipSecurePrinterMask = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipSecurePrinterMask.setStatus('optional') tcpipSecureAdminEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipSecureAdminEnabled.setStatus('optional') tcpipLowBandwidth = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipLowBandwidth.setStatus('optional') tcpipNumLogicalPrinters = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 21), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipNumLogicalPrinters.setStatus('mandatory') tcpipMLPTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22), ) if mibBuilder.loadTexts: tcpipMLPTable.setStatus('mandatory') tcpipMLPEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1), ).setIndexNames((0, "ESI-MIB", "tcpipMLPIndex")) if mibBuilder.loadTexts: tcpipMLPEntry.setStatus('mandatory') tcpipMLPIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipMLPIndex.setStatus('optional') tcpipMLPName = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipMLPName.setStatus('optional') tcpipMLPPort = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipMLPPort.setStatus('optional') tcpipMLPTCPPort = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipMLPTCPPort.setStatus('optional') tcpipMLPPreString = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipMLPPreString.setStatus('optional') tcpipMLPPostString = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipMLPPostString.setStatus('optional') tcpipMLPDeleteBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipMLPDeleteBytes.setStatus('optional') tcpipSmtpServerAddr = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 23), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipSmtpServerAddr.setStatus('optional') tcpipNumSmtpDestinations = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 24), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipNumSmtpDestinations.setStatus('mandatory') tcpipSmtpTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25), ) if mibBuilder.loadTexts: tcpipSmtpTable.setStatus('mandatory') tcpipSmtpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1), ).setIndexNames((0, "ESI-MIB", "tcpipSmtpIndex")) if mibBuilder.loadTexts: tcpipSmtpEntry.setStatus('mandatory') tcpipSmtpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipSmtpIndex.setStatus('mandatory') tcpipSmtpEmailAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipSmtpEmailAddr.setStatus('optional') tcpipSmtpProtocolMask = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipSmtpProtocolMask.setStatus('optional') tcpipSmtpPrinterMask = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipSmtpPrinterMask.setStatus('optional') tcpipSmtpOutputMask = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipSmtpOutputMask.setStatus('optional') tcpipWebAdminName = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 26), OctetString().subtype(subtypeSpec=ValueSizeConstraint(25, 25)).setFixedLength(25)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWebAdminName.setStatus('optional') tcpipWebAdminPassword = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 27), OctetString().subtype(subtypeSpec=ValueSizeConstraint(25, 25)).setFixedLength(25)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWebAdminPassword.setStatus('optional') tcpipWebUserName = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 28), OctetString().subtype(subtypeSpec=ValueSizeConstraint(25, 25)).setFixedLength(25)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWebUserName.setStatus('optional') tcpipWebUserPassword = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 29), OctetString().subtype(subtypeSpec=ValueSizeConstraint(25, 25)).setFixedLength(25)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWebUserPassword.setStatus('optional') tcpipWebHtttpPort = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 30), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWebHtttpPort.setStatus('optional') tcpipWebFaqURL = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 31), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWebFaqURL.setStatus('optional') tcpipWebUpdateURL = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 32), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWebUpdateURL.setStatus('optional') tcpipWebCustomLinkName = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 33), OctetString().subtype(subtypeSpec=ValueSizeConstraint(25, 25)).setFixedLength(25)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWebCustomLinkName.setStatus('optional') tcpipWebCustomLinkURL = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 34), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipWebCustomLinkURL.setStatus('optional') tcpipPOP3ServerAddress = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 35), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipPOP3ServerAddress.setStatus('optional') tcpipPOP3PollInterval = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 36), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipPOP3PollInterval.setStatus('mandatory') tcpipPOP3UserName = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 37), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipPOP3UserName.setStatus('optional') tcpipPOP3Password = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 38), OctetString().subtype(subtypeSpec=ValueSizeConstraint(20, 20)).setFixedLength(20)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipPOP3Password.setStatus('optional') tcpipDomainName = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 39), OctetString().subtype(subtypeSpec=ValueSizeConstraint(64, 64)).setFixedLength(64)).setMaxAccess("readwrite") if mibBuilder.loadTexts: tcpipDomainName.setStatus('optional') tcpipError = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 5, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipError.setStatus('optional') tcpipDisplayMask = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: tcpipDisplayMask.setStatus('mandatory') nwGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwGroupVersion.setStatus('mandatory') nwEnabled = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwEnabled.setStatus('optional') nwRestoreDefaults = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwRestoreDefaults.setStatus('optional') nwFirmwareUpgrade = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwFirmwareUpgrade.setStatus('optional') nwFrameFormat = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("unknown", 1), ("ethernet-II", 2), ("ethernet-802-3", 3), ("ethernet-802-2", 4), ("ethernet-Snap", 5), ("token-Ring", 6), ("token-Ring-Snap", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwFrameFormat.setStatus('optional') nwSetFrameFormat = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("auto-Sense", 1), ("forced-Ethernet-II", 2), ("forced-Ethernet-802-3", 3), ("forced-Ethernet-802-2", 4), ("forced-Ethernet-Snap", 5), ("forced-Token-Ring", 6), ("forced-Token-Ring-Snap", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwSetFrameFormat.setStatus('optional') nwMode = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("unknown", 1), ("pserver", 2), ("rprinter", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwMode.setStatus('optional') nwPrintServerName = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 47))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwPrintServerName.setStatus('optional') nwPrintServerPassword = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 9))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwPrintServerPassword.setStatus('optional') nwQueueScanTime = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwQueueScanTime.setStatus('optional') nwNetworkNumber = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: nwNetworkNumber.setStatus('optional') nwMaxFileServers = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwMaxFileServers.setStatus('optional') nwFileServerTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 9), ) if mibBuilder.loadTexts: nwFileServerTable.setStatus('optional') nwFileServerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 9, 1), ).setIndexNames((0, "ESI-MIB", "nwFileServerIndex")) if mibBuilder.loadTexts: nwFileServerEntry.setStatus('optional') nwFileServerIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 9, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwFileServerIndex.setStatus('optional') nwFileServerName = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 9, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 47))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwFileServerName.setStatus('optional') nwFileServerConnectionStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 9, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 258, 261, 276, 512, 515, 768, 769, 32767))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("startupInProgress", 3), ("serverReattaching", 4), ("serverNeverAttached", 5), ("pse-UNKNOWN-FILE-SERVER", 258), ("pse-NO-RESPONSE", 261), ("pse-CANT-LOGIN", 276), ("pse-NO-SUCH-QUEUE", 512), ("pse-UNABLE-TO-ATTACH-TO-QUEUE", 515), ("bad-CONNECTION", 768), ("bad-SERVICE-CONNECTION", 769), ("other", 32767)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwFileServerConnectionStatus.setStatus('optional') nwPortTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10), ) if mibBuilder.loadTexts: nwPortTable.setStatus('optional') nwPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1), ).setIndexNames((0, "ESI-MIB", "nwPortIndex")) if mibBuilder.loadTexts: nwPortEntry.setStatus('optional') nwPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwPortIndex.setStatus('optional') nwPortStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwPortStatus.setStatus('optional') nwPortPrinterNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwPortPrinterNumber.setStatus('optional') nwPortFontDownload = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disabled", 1), ("enabled-No-Power-Sense", 2), ("enabled-Power-Sense", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwPortFontDownload.setStatus('optional') nwPortPCLQueue = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 47))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwPortPCLQueue.setStatus('optional') nwPortPSQueue = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 47))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwPortPSQueue.setStatus('optional') nwPortFormsOn = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwPortFormsOn.setStatus('optional') nwPortFormNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwPortFormNumber.setStatus('optional') nwPortNotification = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwPortNotification.setStatus('optional') nwNumTraps = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwNumTraps.setStatus('mandatory') nwTrapTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12), ) if mibBuilder.loadTexts: nwTrapTable.setStatus('mandatory') nwTrapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1), ).setIndexNames((0, "ESI-MIB", "nwTrapIndex")) if mibBuilder.loadTexts: nwTrapEntry.setStatus('mandatory') nwTrapIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwTrapIndex.setStatus('mandatory') nwTrapDestination = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwTrapDestination.setStatus('optional') nwTrapDestinationNet = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwTrapDestinationNet.setStatus('mandatory') nwProtocolTrapMask = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwProtocolTrapMask.setStatus('optional') nwPrinterTrapMask = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwPrinterTrapMask.setStatus('optional') nwOutputTrapMask = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwOutputTrapMask.setStatus('optional') nwNDSPrintServerName = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 512))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwNDSPrintServerName.setStatus('optional') nwNDSPreferredDSTree = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 14), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 47))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwNDSPreferredDSTree.setStatus('optional') nwNDSPreferredDSFileServer = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 15), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 47))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwNDSPreferredDSFileServer.setStatus('optional') nwNDSPacketCheckSumEnabled = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 16), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwNDSPacketCheckSumEnabled.setStatus('optional') nwNDSPacketSignatureLevel = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 17), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwNDSPacketSignatureLevel.setStatus('optional') nwAvailablePrintModes = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 18), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwAvailablePrintModes.setStatus('optional') nwDirectPrintEnabled = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwDirectPrintEnabled.setStatus('optional') nwJAConfig = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwJAConfig.setStatus('optional') nwDisableSAP = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: nwDisableSAP.setStatus('optional') nwError = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 5, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 160))).setMaxAccess("readonly") if mibBuilder.loadTexts: nwError.setStatus('optional') nwDisplayMask = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: nwDisplayMask.setStatus('mandatory') bvGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bvGroupVersion.setStatus('mandatory') bvEnabled = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bvEnabled.setStatus('optional') bvRestoreDefaults = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bvRestoreDefaults.setStatus('optional') bvFirmwareUpgrade = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bvFirmwareUpgrade.setStatus('optional') bvSetSequenceRouting = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 3, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("automatic-Routing", 1), ("force-Sequenced-Routing", 2), ("force-Non-Sequenced-Routing", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bvSetSequenceRouting.setStatus('optional') bvDisableVPMan = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 3, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bvDisableVPMan.setStatus('optional') bvLoginName = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(5, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bvLoginName.setStatus('optional') bvLoginPassword = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bvLoginPassword.setStatus('optional') bvNumberPrintServices = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bvNumberPrintServices.setStatus('optional') bvPrintServiceTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 4), ) if mibBuilder.loadTexts: bvPrintServiceTable.setStatus('optional') bvPrintServiceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 4, 1), ).setIndexNames((0, "ESI-MIB", "bvPrintServiceIndex")) if mibBuilder.loadTexts: bvPrintServiceEntry.setStatus('optional') bvPrintServiceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bvPrintServiceIndex.setStatus('optional') bvPrintServiceName = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 4, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bvPrintServiceName.setStatus('optional') bvPrintServiceRouting = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 4, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: bvPrintServiceRouting.setStatus('optional') bvPnicDescription = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: bvPnicDescription.setStatus('optional') bvError = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 48))).setMaxAccess("readonly") if mibBuilder.loadTexts: bvError.setStatus('optional') bvRouting = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 32766, 32767))).clone(namedValues=NamedValues(("sequenced-Routing", 1), ("non-Sequenced-Routing", 2), ("unknown-Routing", 32766), ("protocol-Disabled", 32767)))).setMaxAccess("readonly") if mibBuilder.loadTexts: bvRouting.setStatus('optional') bvNumPrintServices = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bvNumPrintServices.setStatus('optional') bvPrintServiceStatusTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4), ) if mibBuilder.loadTexts: bvPrintServiceStatusTable.setStatus('optional') bvPrintServiceStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1), ).setIndexNames((0, "ESI-MIB", "bvPSStatusIndex")) if mibBuilder.loadTexts: bvPrintServiceStatusEntry.setStatus('optional') bvPSStatusIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bvPSStatusIndex.setStatus('optional') bvPSName = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: bvPSName.setStatus('optional') bvPSStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 48))).setMaxAccess("readonly") if mibBuilder.loadTexts: bvPSStatus.setStatus('optional') bvPSDestination = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: bvPSDestination.setStatus('optional') bvPrinterStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: bvPrinterStatus.setStatus('optional') bvJobActive = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: bvJobActive.setStatus('optional') bvJobSource = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: bvJobSource.setStatus('optional') bvJobTitle = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: bvJobTitle.setStatus('optional') bvJobSize = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 9), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 9))).setMaxAccess("readonly") if mibBuilder.loadTexts: bvJobSize.setStatus('optional') bvJobNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: bvJobNumber.setStatus('optional') lmGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 4, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: lmGroupVersion.setStatus('mandatory') lmEnabled = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 4, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: lmEnabled.setStatus('optional') eTalkGroupVersion = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eTalkGroupVersion.setStatus('mandatory') eTalkEnabled = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eTalkEnabled.setStatus('optional') eTalkRestoreDefaults = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eTalkRestoreDefaults.setStatus('optional') eTalkNetwork = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: eTalkNetwork.setStatus('optional') eTalkNode = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 1)).setFixedLength(1)).setMaxAccess("readonly") if mibBuilder.loadTexts: eTalkNode.setStatus('optional') eTalkNumPorts = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eTalkNumPorts.setStatus('optional') eTalkPortTable = MibTable((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4), ) if mibBuilder.loadTexts: eTalkPortTable.setStatus('optional') eTalkPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1), ).setIndexNames((0, "ESI-MIB", "eTalkPortIndex")) if mibBuilder.loadTexts: eTalkPortEntry.setStatus('optional') eTalkPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: eTalkPortIndex.setStatus('optional') eTalkPortEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eTalkPortEnable.setStatus('optional') eTalkName = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eTalkName.setStatus('optional') eTalkActiveName = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: eTalkActiveName.setStatus('optional') eTalkType1 = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eTalkType1.setStatus('optional') eTalkType2 = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eTalkType2.setStatus('optional') eTalkZone = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: eTalkZone.setStatus('optional') eTalkActiveZone = MibTableColumn((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: eTalkActiveZone.setStatus('optional') eTalkError = MibScalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 5, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: eTalkError.setStatus('optional') trapPrinterOnline = NotificationType((1, 3, 6, 1, 4, 1, 683, 6) + (0,1)).setObjects(("ESI-MIB", "outputIndex")) trapPrinterOffline = NotificationType((1, 3, 6, 1, 4, 1, 683, 6) + (0,2)).setObjects(("ESI-MIB", "outputIndex")) trapNoPrinterAttached = NotificationType((1, 3, 6, 1, 4, 1, 683, 6) + (0,3)).setObjects(("ESI-MIB", "outputIndex")) trapPrinterTonerLow = NotificationType((1, 3, 6, 1, 4, 1, 683, 6) + (0,4)).setObjects(("ESI-MIB", "outputIndex")) trapPrinterPaperOut = NotificationType((1, 3, 6, 1, 4, 1, 683, 6) + (0,5)).setObjects(("ESI-MIB", "outputIndex")) trapPrinterPaperJam = NotificationType((1, 3, 6, 1, 4, 1, 683, 6) + (0,6)).setObjects(("ESI-MIB", "outputIndex")) trapPrinterDoorOpen = NotificationType((1, 3, 6, 1, 4, 1, 683, 6) + (0,7)).setObjects(("ESI-MIB", "outputIndex")) trapPrinterError = NotificationType((1, 3, 6, 1, 4, 1, 683, 6) + (0,16)).setObjects(("ESI-MIB", "outputIndex")) mibBuilder.exportSymbols("ESI-MIB", genNumProtocols=genNumProtocols, tcpipSmtpServerAddr=tcpipSmtpServerAddr, outputStopBits=outputStopBits, genSerialNumber=genSerialNumber, tcpipWebUserName=tcpipWebUserName, nwGroupVersion=nwGroupVersion, outputPrinterDisplay=outputPrinterDisplay, cmdRestoreDefaults=cmdRestoreDefaults, tcpipArpInterval=tcpipArpInterval, genSysUpTimeString=genSysUpTimeString, tcpipSecureStartIPAddress=tcpipSecureStartIPAddress, tokenRing=tokenRing, outputConfigure=outputConfigure, outputJobLogInformation=outputJobLogInformation, tcpipConfigPassword=tcpipConfigPassword, tcpipMLPTable=tcpipMLPTable, tcpipSmtpOutputMask=tcpipSmtpOutputMask, driverGroupVersion=driverGroupVersion, tcpipSmtpPrinterMask=tcpipSmtpPrinterMask, trapPrinterTonerLow=trapPrinterTonerLow, lmGroupVersion=lmGroupVersion, tcpipNumSecurity=tcpipNumSecurity, outputTotalJobEntry=outputTotalJobEntry, commands=commands, tcpipSmtpTable=tcpipSmtpTable, snmpGroupVersion=snmpGroupVersion, psOutput=psOutput, tcpipSecureEndIPAddress=tcpipSecureEndIPAddress, tcpipPOP3UserName=tcpipPOP3UserName, genProtocolEntry=genProtocolEntry, tcpipPrinterTrapMask=tcpipPrinterTrapMask, tcpipPOP3Password=tcpipPOP3Password, cmdReset=cmdReset, cmdPrintConfig=cmdPrintConfig, outputPrinter=outputPrinter, trEarlyTokenRelease=trEarlyTokenRelease, nwCommands=nwCommands, tcpipDomainName=tcpipDomainName, nwFirmwareUpgrade=nwFirmwareUpgrade, bvPrintServiceName=bvPrintServiceName, driverTXPacketErrors=driverTXPacketErrors, outputPrinterModel=outputPrinterModel, nwFileServerConnectionStatus=nwFileServerConnectionStatus, nwFileServerIndex=nwFileServerIndex, eTalkPortIndex=eTalkPortIndex, tcpipTrapDestination=tcpipTrapDestination, outputCommandsTable=outputCommandsTable, nwNumTraps=nwNumTraps, genProtocolIndex=genProtocolIndex, nwEnabled=nwEnabled, eTalk=eTalk, nwFileServerTable=nwFileServerTable, bvPrintServiceEntry=bvPrintServiceEntry, nwNDSPacketSignatureLevel=nwNDSPacketSignatureLevel, nwNDSPacketCheckSumEnabled=nwNDSPacketCheckSumEnabled, eTalkEnabled=eTalkEnabled, outputCommands=outputCommands, nwDirectPrintEnabled=nwDirectPrintEnabled, psGroupVersion=psGroupVersion, bvPrintServiceRouting=bvPrintServiceRouting, eTalkActiveName=eTalkActiveName, outputCommandsEntry=outputCommandsEntry, nwTrapEntry=nwTrapEntry, nwNDSPreferredDSFileServer=nwNDSPreferredDSFileServer, tcpipGroupVersion=tcpipGroupVersion, tcpipSecurePrinterMask=tcpipSecurePrinterMask, bvPSName=bvPSName, tcpipWinsAddress=tcpipWinsAddress, eTalkName=eTalkName, tcpipIPAddress=tcpipIPAddress, genCableType=genCableType, nwTrapTable=nwTrapTable, trapPrinterPaperOut=trapPrinterPaperOut, trRestoreDefaults=trRestoreDefaults, tcpipTimeoutCheckingValue=tcpipTimeoutCheckingValue, bvLoginName=bvLoginName, outputGroupVersion=outputGroupVersion, trPriority=trPriority, tcpipMLPName=tcpipMLPName, outputJobLogTable=outputJobLogTable, genCompanyTechSupport=genCompanyTechSupport, tcpipWebHtttpPort=tcpipWebHtttpPort, printServers=printServers, outputDataBits=outputDataBits, nwPrinterTrapMask=nwPrinterTrapMask, genCompanyLoc=genCompanyLoc, eTalkCommands=eTalkCommands, nwAvailablePrintModes=nwAvailablePrintModes, bvFirmwareUpgrade=bvFirmwareUpgrade, bvPrinterStatus=bvPrinterStatus, trapPrinterPaperJam=trapPrinterPaperJam, nwPortPSQueue=nwPortPSQueue, nwNetworkNumber=nwNetworkNumber, nwPortPrinterNumber=nwPortPrinterNumber, outputNumPorts=outputNumPorts, bvPSStatus=bvPSStatus, genCompanyName=genCompanyName, tcpipBanners=tcpipBanners, tcpipSecurityEntry=tcpipSecurityEntry, tcpipMLPTCPPort=tcpipMLPTCPPort, nwProtocolTrapMask=nwProtocolTrapMask, outputTable=outputTable, nwMaxFileServers=nwMaxFileServers, bvPrintServiceIndex=bvPrintServiceIndex, tcpipNumSmtpDestinations=tcpipNumSmtpDestinations, bvJobSource=bvJobSource, tcpip=tcpip, tcpipMLPPreString=tcpipMLPPreString, bvPrintServiceStatusTable=bvPrintServiceStatusTable, eTalkGroupVersion=eTalkGroupVersion, genProductNumber=genProductNumber, outputConfigLanguage=outputConfigLanguage, tcpipWebUpdateURL=tcpipWebUpdateURL, tcpipTrapTable=tcpipTrapTable, driverChecksumErrors=driverChecksumErrors, outputCancelCurrentJob=outputCancelCurrentJob, tcpipSubnetMask=tcpipSubnetMask, outputBIDIStatusEnabled=outputBIDIStatusEnabled, tcpipSmtpProtocolMask=tcpipSmtpProtocolMask, snmpSetCommunityName=snmpSetCommunityName, nwPortFormsOn=nwPortFormsOn, outputTotalJobsLogged=outputTotalJobsLogged, eTalkNumPorts=eTalkNumPorts, nwQueueScanTime=nwQueueScanTime, nwPortFormNumber=nwPortFormNumber, genProductName=genProductName, psJetAdminEnabled=psJetAdminEnabled, tcpipSecureAdminEnabled=tcpipSecureAdminEnabled, nwTrapDestinationNet=nwTrapDestinationNet, tcpipMLPIndex=tcpipMLPIndex, tcpipMLPDeleteBytes=tcpipMLPDeleteBytes, esiSNMPCommands=esiSNMPCommands, driver=driver, bvJobTitle=bvJobTitle, bvSetSequenceRouting=bvSetSequenceRouting, bvStatus=bvStatus, outputDisplayMask=outputDisplayMask, tcpipPOP3PollInterval=tcpipPOP3PollInterval, vines=vines, genGroupVersion=genGroupVersion, outputOwner=outputOwner, nwFileServerName=nwFileServerName, tcpipWinsAddressSource=tcpipWinsAddressSource, bvRestoreDefaults=bvRestoreDefaults, nwPortTable=nwPortTable, trapPrinterOnline=trapPrinterOnline, trGroupVersion=trGroupVersion, tcpipNumLogicalPrinters=tcpipNumLogicalPrinters, tcpipBootProtocolsEnabled=tcpipBootProtocolsEnabled, nwFileServerEntry=nwFileServerEntry, outputAvailableTrapsMask=outputAvailableTrapsMask, trapPrinterDoorOpen=trapPrinterDoorOpen, nwTrapDestination=nwTrapDestination, eTalkError=eTalkError, tcpipSmtpEmailAddr=tcpipSmtpEmailAddr, outputEntry=outputEntry, nwPortStatus=nwPortStatus, outputPSString=outputPSString, snmpRestoreDefaults=snmpRestoreDefaults, outputParity=outputParity, tcpipConfigure=tcpipConfigure, tcpipEnabled=tcpipEnabled, tcpipNumTraps=tcpipNumTraps, outputIndex=outputIndex, nwTrapIndex=nwTrapIndex, bvLoginPassword=bvLoginPassword, eTalkRestoreDefaults=eTalkRestoreDefaults, tcpipTrapIndex=tcpipTrapIndex, nwPortEntry=nwPortEntry, tcpipSmtpIndex=tcpipSmtpIndex, snmpGetCommunityName=snmpGetCommunityName, bvNumPrintServices=bvNumPrintServices, general=general, eTalkType1=eTalkType1, bvPrintServiceStatusEntry=bvPrintServiceStatusEntry, esiSNMP=esiSNMP, tcpipTrapEntry=tcpipTrapEntry, nwPortIndex=nwPortIndex, nwPortNotification=nwPortNotification, genConfigurationDirty=genConfigurationDirty, eTalkPortEnable=eTalkPortEnable, tcpipDefaultGateway=tcpipDefaultGateway, tcpipDisplayMask=tcpipDisplayMask, outputRestoreDefaults=outputRestoreDefaults, bvJobNumber=bvJobNumber, tcpipUsingNetProtocols=tcpipUsingNetProtocols, nwMode=nwMode, bvDisableVPMan=bvDisableVPMan, nwPortFontDownload=nwPortFontDownload, driverTXPackets=driverTXPackets, tcpipMLPEntry=tcpipMLPEntry, tcpipWebFaqURL=tcpipWebFaqURL, tcpipWebAdminPassword=tcpipWebAdminPassword, tcpipSecurityTable=tcpipSecurityTable, eTalkZone=eTalkZone, trLocallyAdminAddr=trLocallyAdminAddr, tcpipCommands=tcpipCommands, tcpipIPAddressSource=tcpipIPAddressSource, nwError=nwError, lmEnabled=lmEnabled, genProtocolTable=genProtocolTable, outputJobLogTime=outputJobLogTime, nwPortPCLQueue=nwPortPCLQueue, outputJobLogEntry=outputJobLogEntry, tcpipTimeoutChecking=tcpipTimeoutChecking, eTalkActiveZone=eTalkActiveZone, eTalkNode=eTalkNode, tcpipSecurityIndex=tcpipSecurityIndex, outputProtocolManager=outputProtocolManager, tcpipProtocolTrapMask=tcpipProtocolTrapMask, tcpipSmtpEntry=tcpipSmtpEntry, outputStatus=outputStatus, driverRXPacketErrors=driverRXPacketErrors, trRouting=trRouting, tcpipStatus=tcpipStatus, cmdGroupVersion=cmdGroupVersion, nwConfigure=nwConfigure, trPacketSize=trPacketSize, tcpipRestoreDefaults=tcpipRestoreDefaults, nwJAConfig=nwJAConfig, eTalkPortTable=eTalkPortTable, nwFrameFormat=nwFrameFormat, psVerifyConfiguration=psVerifyConfiguration, tcpipWebUserPassword=tcpipWebUserPassword, netware=netware, driverTXPacketRetries=driverTXPacketRetries, outputSetting=outputSetting, bvJobActive=bvJobActive, tcpipWebCustomLinkName=tcpipWebCustomLinkName, tcpipMLPPostString=tcpipMLPPostString, lanManager=lanManager, esi=esi, trapPrinterError=trapPrinterError, outputExtendedStatus=outputExtendedStatus, outputBaudRate=outputBaudRate, genCompanyPhone=genCompanyPhone, psGeneral=psGeneral, outputName=outputName, tcpipOutputTrapMask=tcpipOutputTrapMask, trConfigure=trConfigure, bvGroupVersion=bvGroupVersion, tcpipWebAdminName=tcpipWebAdminName, psProtocols=psProtocols, eTalkStatus=eTalkStatus, nwDisplayMask=nwDisplayMask, outputLanguageSwitching=outputLanguageSwitching, nwPrintServerPassword=nwPrintServerPassword, bvEnabled=bvEnabled, bvPSDestination=bvPSDestination, bvError=bvError, eTalkPortEntry=eTalkPortEntry, driverRXPackets=driverRXPackets, trapPrinterOffline=trapPrinterOffline, tcpipIPAddressServerAddress=tcpipIPAddressServerAddress) mibBuilder.exportSymbols("ESI-MIB", nwRestoreDefaults=nwRestoreDefaults, genProtocolID=genProtocolID, outputPCLString=outputPCLString, eTalkType2=eTalkType2, trCommands=trCommands, tcpipError=tcpipError, outputHandshake=outputHandshake, tcpipPOP3ServerAddress=tcpipPOP3ServerAddress, nwSetFrameFormat=nwSetFrameFormat, outputTotalJobIndex=outputTotalJobIndex, bvRouting=bvRouting, genHWAddress=genHWAddress, outputJobLog=outputJobLog, outputStatusString=outputStatusString, outputTotalJobTable=outputTotalJobTable, trapNoPrinterAttached=trapNoPrinterAttached, outputCascaded=outputCascaded, tcpipMLPPort=tcpipMLPPort, bvConfigure=bvConfigure, bvPSStatusIndex=bvPSStatusIndex, tcpipFirmwareUpgrade=tcpipFirmwareUpgrade, nwNDSPrintServerName=nwNDSPrintServerName, tcpipLowBandwidth=tcpipLowBandwidth, bvJobSize=bvJobSize, nwPrintServerName=nwPrintServerName, driverRXPacketsUnavailable=driverRXPacketsUnavailable, nwNDSPreferredDSTree=nwNDSPreferredDSTree, genMIBVersion=genMIBVersion, genProtocols=genProtocols, genDateCode=genDateCode, snmpTrapCommunityName=snmpTrapCommunityName, outputNumLogEntries=outputNumLogEntries, bvPrintServiceTable=bvPrintServiceTable, genProtocolDescr=genProtocolDescr, bvNumberPrintServices=bvNumberPrintServices, nwDisableSAP=nwDisableSAP, tcpipWebCustomLinkURL=tcpipWebCustomLinkURL, eTalkNetwork=eTalkNetwork, genVersion=genVersion, eTalkConfigure=eTalkConfigure, outputCapabilities=outputCapabilities, bvPnicDescription=bvPnicDescription, tcpipRawPortNumber=tcpipRawPortNumber, nwOutputTrapMask=nwOutputTrapMask, nwStatus=nwStatus, bvCommands=bvCommands)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, constraints_intersection, single_value_constraint, value_size_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsUnion') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (iso, notification_type, counter64, notification_type, mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address, integer32, counter32, object_identity, unsigned32, mib_identifier, enterprises, bits, gauge32, time_ticks, module_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'iso', 'NotificationType', 'Counter64', 'NotificationType', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress', 'Integer32', 'Counter32', 'ObjectIdentity', 'Unsigned32', 'MibIdentifier', 'enterprises', 'Bits', 'Gauge32', 'TimeTicks', 'ModuleIdentity') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') esi = mib_identifier((1, 3, 6, 1, 4, 1, 683)) general = mib_identifier((1, 3, 6, 1, 4, 1, 683, 1)) commands = mib_identifier((1, 3, 6, 1, 4, 1, 683, 2)) esi_snmp = mib_identifier((1, 3, 6, 1, 4, 1, 683, 3)) esi_snmp_commands = mib_identifier((1, 3, 6, 1, 4, 1, 683, 3, 2)) driver = mib_identifier((1, 3, 6, 1, 4, 1, 683, 4)) token_ring = mib_identifier((1, 3, 6, 1, 4, 1, 683, 5)) print_servers = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6)) ps_general = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 1)) ps_output = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 2)) ps_protocols = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3)) gen_protocols = mib_identifier((1, 3, 6, 1, 4, 1, 683, 1, 15)) output_commands = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 2, 2)) output_configure = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 2, 3)) output_job_log = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 2, 6)) tr_commands = mib_identifier((1, 3, 6, 1, 4, 1, 683, 5, 2)) tr_configure = mib_identifier((1, 3, 6, 1, 4, 1, 683, 5, 3)) tcpip = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 1)) netware = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 2)) vines = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 3)) lan_manager = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 4)) e_talk = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 5)) tcpip_commands = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 3)) tcpip_configure = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4)) tcpip_status = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 5)) nw_commands = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 3)) nw_configure = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4)) nw_status = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 5)) bv_commands = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 3)) bv_configure = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4)) bv_status = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5)) e_talk_commands = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 3)) e_talk_configure = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4)) e_talk_status = mib_identifier((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 5)) gen_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: genGroupVersion.setStatus('mandatory') gen_mib_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: genMIBVersion.setStatus('mandatory') gen_product_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 20))).setMaxAccess('readonly') if mibBuilder.loadTexts: genProductName.setStatus('mandatory') gen_product_number = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 5))).setMaxAccess('readonly') if mibBuilder.loadTexts: genProductNumber.setStatus('mandatory') gen_serial_number = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 7))).setMaxAccess('readonly') if mibBuilder.loadTexts: genSerialNumber.setStatus('mandatory') gen_hw_address = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 6), octet_string().subtype(subtypeSpec=value_size_constraint(6, 6)).setFixedLength(6)).setMaxAccess('readonly') if mibBuilder.loadTexts: genHWAddress.setStatus('mandatory') gen_cable_type = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('tenbase2', 1), ('tenbaseT', 2), ('aui', 3), ('utp', 4), ('stp', 5), ('fiber100fx', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: genCableType.setStatus('mandatory') gen_date_code = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 8), display_string().subtype(subtypeSpec=value_size_constraint(0, 10))).setMaxAccess('readonly') if mibBuilder.loadTexts: genDateCode.setStatus('mandatory') gen_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 9), display_string().subtype(subtypeSpec=value_size_constraint(0, 10))).setMaxAccess('readonly') if mibBuilder.loadTexts: genVersion.setStatus('mandatory') gen_configuration_dirty = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: genConfigurationDirty.setStatus('mandatory') gen_company_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 11), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly') if mibBuilder.loadTexts: genCompanyName.setStatus('mandatory') gen_company_loc = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 12), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly') if mibBuilder.loadTexts: genCompanyLoc.setStatus('mandatory') gen_company_phone = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 13), display_string().subtype(subtypeSpec=value_size_constraint(0, 15))).setMaxAccess('readonly') if mibBuilder.loadTexts: genCompanyPhone.setStatus('mandatory') gen_company_tech_support = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 14), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: genCompanyTechSupport.setStatus('mandatory') gen_num_protocols = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 15, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: genNumProtocols.setStatus('mandatory') gen_protocol_table = mib_table((1, 3, 6, 1, 4, 1, 683, 1, 15, 2)) if mibBuilder.loadTexts: genProtocolTable.setStatus('mandatory') gen_protocol_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 1, 15, 2, 1)).setIndexNames((0, 'ESI-MIB', 'genProtocolIndex')) if mibBuilder.loadTexts: genProtocolEntry.setStatus('mandatory') gen_protocol_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 1, 15, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: genProtocolIndex.setStatus('mandatory') gen_protocol_descr = mib_table_column((1, 3, 6, 1, 4, 1, 683, 1, 15, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: genProtocolDescr.setStatus('mandatory') gen_protocol_id = mib_table_column((1, 3, 6, 1, 4, 1, 683, 1, 15, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('tcp-ip', 1), ('netware', 2), ('vines', 3), ('lanmanger', 4), ('ethertalk', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: genProtocolID.setStatus('mandatory') gen_sys_up_time_string = mib_scalar((1, 3, 6, 1, 4, 1, 683, 1, 16), display_string().subtype(subtypeSpec=value_size_constraint(0, 35))).setMaxAccess('readonly') if mibBuilder.loadTexts: genSysUpTimeString.setStatus('mandatory') cmd_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 2, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cmdGroupVersion.setStatus('mandatory') cmd_reset = mib_scalar((1, 3, 6, 1, 4, 1, 683, 2, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cmdReset.setStatus('optional') cmd_print_config = mib_scalar((1, 3, 6, 1, 4, 1, 683, 2, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cmdPrintConfig.setStatus('optional') cmd_restore_defaults = mib_scalar((1, 3, 6, 1, 4, 1, 683, 2, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cmdRestoreDefaults.setStatus('optional') snmp_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 3, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snmpGroupVersion.setStatus('mandatory') snmp_restore_defaults = mib_scalar((1, 3, 6, 1, 4, 1, 683, 3, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snmpRestoreDefaults.setStatus('optional') snmp_get_community_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 3, 3), display_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snmpGetCommunityName.setStatus('optional') snmp_set_community_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 3, 4), display_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snmpSetCommunityName.setStatus('optional') snmp_trap_community_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 3, 5), display_string().subtype(subtypeSpec=value_size_constraint(1, 31))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snmpTrapCommunityName.setStatus('optional') driver_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 4, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: driverGroupVersion.setStatus('mandatory') driver_rx_packets = mib_scalar((1, 3, 6, 1, 4, 1, 683, 4, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: driverRXPackets.setStatus('mandatory') driver_tx_packets = mib_scalar((1, 3, 6, 1, 4, 1, 683, 4, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: driverTXPackets.setStatus('mandatory') driver_rx_packets_unavailable = mib_scalar((1, 3, 6, 1, 4, 1, 683, 4, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: driverRXPacketsUnavailable.setStatus('mandatory') driver_rx_packet_errors = mib_scalar((1, 3, 6, 1, 4, 1, 683, 4, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: driverRXPacketErrors.setStatus('mandatory') driver_tx_packet_errors = mib_scalar((1, 3, 6, 1, 4, 1, 683, 4, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: driverTXPacketErrors.setStatus('mandatory') driver_tx_packet_retries = mib_scalar((1, 3, 6, 1, 4, 1, 683, 4, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: driverTXPacketRetries.setStatus('mandatory') driver_checksum_errors = mib_scalar((1, 3, 6, 1, 4, 1, 683, 4, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: driverChecksumErrors.setStatus('mandatory') tr_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 5, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trGroupVersion.setStatus('mandatory') tr_restore_defaults = mib_scalar((1, 3, 6, 1, 4, 1, 683, 5, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: trRestoreDefaults.setStatus('optional') tr_priority = mib_scalar((1, 3, 6, 1, 4, 1, 683, 5, 3, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 6))).setMaxAccess('readwrite') if mibBuilder.loadTexts: trPriority.setStatus('optional') tr_early_token_release = mib_scalar((1, 3, 6, 1, 4, 1, 683, 5, 3, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: trEarlyTokenRelease.setStatus('optional') tr_packet_size = mib_scalar((1, 3, 6, 1, 4, 1, 683, 5, 3, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('one-k', 1), ('two-k', 2), ('four-k', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: trPacketSize.setStatus('optional') tr_routing = mib_scalar((1, 3, 6, 1, 4, 1, 683, 5, 3, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('off', 1), ('all-None', 2), ('single-All', 3), ('single-None', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: trRouting.setStatus('optional') tr_locally_admin_addr = mib_scalar((1, 3, 6, 1, 4, 1, 683, 5, 3, 5), octet_string().subtype(subtypeSpec=value_size_constraint(6, 6)).setFixedLength(6)).setMaxAccess('readwrite') if mibBuilder.loadTexts: trLocallyAdminAddr.setStatus('optional') ps_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: psGroupVersion.setStatus('mandatory') ps_jet_admin_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: psJetAdminEnabled.setStatus('mandatory') ps_verify_configuration = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('getvalue', 0), ('serial-configuration', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: psVerifyConfiguration.setStatus('optional') output_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: outputGroupVersion.setStatus('mandatory') output_restore_defaults = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputRestoreDefaults.setStatus('mandatory') output_commands_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 2, 2, 2)) if mibBuilder.loadTexts: outputCommandsTable.setStatus('mandatory') output_commands_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 2, 2, 2, 1)).setIndexNames((0, 'ESI-MIB', 'outputIndex')) if mibBuilder.loadTexts: outputCommandsEntry.setStatus('mandatory') output_cancel_current_job = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 2, 2, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputCancelCurrentJob.setStatus('optional') output_num_ports = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: outputNumPorts.setStatus('mandatory') output_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2)) if mibBuilder.loadTexts: outputTable.setStatus('mandatory') output_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1)).setIndexNames((0, 'ESI-MIB', 'outputIndex')) if mibBuilder.loadTexts: outputEntry.setStatus('mandatory') output_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: outputIndex.setStatus('mandatory') output_name = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 15))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputName.setStatus('mandatory') output_status_string = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputStatusString.setStatus('mandatory') output_status = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('on-Line', 1), ('off-Line', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputStatus.setStatus('mandatory') output_extended_status = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 15))).clone(namedValues=named_values(('none', 1), ('no-Printer-Attached', 2), ('toner-Low', 3), ('paper-Out', 4), ('paper-Jam', 5), ('door-Open', 6), ('printer-Error', 15)))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputExtendedStatus.setStatus('mandatory') output_printer = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('hp-III', 1), ('hp-IIISi', 2), ('ibm', 3), ('no-Specific-Printer', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputPrinter.setStatus('optional') output_language_switching = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('off', 1), ('pcl', 2), ('postScript', 3), ('als', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputLanguageSwitching.setStatus('optional') output_config_language = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('text', 1), ('pcl', 2), ('postScript', 3), ('off', 4), ('epl-zpl', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputConfigLanguage.setStatus('mandatory') output_pcl_string = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 9), octet_string().subtype(subtypeSpec=value_size_constraint(127, 127)).setFixedLength(127)).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputPCLString.setStatus('optional') output_ps_string = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 10), octet_string().subtype(subtypeSpec=value_size_constraint(127, 127)).setFixedLength(127)).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputPSString.setStatus('optional') output_cascaded = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputCascaded.setStatus('optional') output_setting = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(32758, 32759, 32760, 32761, 32762, 32763, 32764, 32765, 32766, 32767))).clone(namedValues=named_values(('serial-infrared', 32758), ('serial-bidirectional', 32759), ('serial-unidirectional', 32760), ('serial-input', 32761), ('parallel-compatibility-no-bidi', 32762), ('ieee-1284-std-nibble-mode', 32763), ('z-Link', 32764), ('internal', 32765), ('ieee-1284-ecp-or-fast-nibble-mode', 32766), ('extendedLink', 32767)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputSetting.setStatus('mandatory') output_owner = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('no-Owner', 1), ('tcpip', 2), ('netware', 3), ('vines', 4), ('lanManager', 5), ('etherTalk', 6), ('config-Page', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputOwner.setStatus('mandatory') output_bidi_status_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputBIDIStatusEnabled.setStatus('optional') output_printer_model = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 15), display_string().subtype(subtypeSpec=value_size_constraint(0, 60))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputPrinterModel.setStatus('optional') output_printer_display = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 16), display_string().subtype(subtypeSpec=value_size_constraint(0, 30))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputPrinterDisplay.setStatus('optional') output_capabilities = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 4, 8, 16, 32, 64, 128, 256, 262144, 524288, 1048576, 2097152, 4194304, 8388608, 16777216, 33554432, 67108864, 134217728, 268435456, 536870912, 1073741824))).clone(namedValues=named_values(('serial-Uni-Baud-9600', 1), ('serial-Uni-Baud-19200', 2), ('serial-Uni-Baud-38400', 4), ('serial-Uni-Baud-57600', 8), ('serial-Uni-Baud-115200', 16), ('serial-bidi-Baud-9600', 32), ('serial-bidi-Baud-19200', 64), ('serial-bidi-Baud-38400', 128), ('serial-bidi-Baud-57600', 256), ('zpl-epl-capable', 262144), ('serial-irin', 524288), ('serial-in', 1048576), ('serial-config-settings', 2097152), ('parallel-compatibility-no-bidi', 4194304), ('ieee-1284-std-nibble-mode', 8388608), ('z-link', 16777216), ('bidirectional', 33554432), ('serial-Software-Handshake', 67108864), ('serial-Output', 134217728), ('extendedLink', 268435456), ('internal', 536870912), ('ieee-1284-ecp-or-fast-nibble-mode', 1073741824)))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputCapabilities.setStatus('mandatory') output_handshake = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('not-Supported', 1), ('hardware-Software', 2), ('hardware', 3), ('software', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputHandshake.setStatus('optional') output_data_bits = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(7, 8, 255))).clone(namedValues=named_values(('seven-bits', 7), ('eight-bits', 8), ('not-Supported', 255)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputDataBits.setStatus('optional') output_stop_bits = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 255))).clone(namedValues=named_values(('one-bit', 1), ('two-bits', 2), ('not-Supported', 255)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputStopBits.setStatus('optional') output_parity = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 255))).clone(namedValues=named_values(('none', 1), ('odd', 2), ('even', 3), ('not-Supported', 255)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputParity.setStatus('optional') output_baud_rate = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('unidirectional-9600', 1), ('unidirectional-19200', 2), ('unidirectional-38400', 3), ('unidirectional-57600', 4), ('unidirectional-115200', 5), ('bidirectional-9600', 6), ('bidirectional-19200', 7), ('bidirectional-38400', 8), ('bidirectional-57600', 9)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: outputBaudRate.setStatus('optional') output_protocol_manager = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 3, 2, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('protocol-none', 0), ('protocol-compatibility', 1), ('protocol-1284-4', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputProtocolManager.setStatus('optional') output_display_mask = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: outputDisplayMask.setStatus('mandatory') output_available_traps_mask = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: outputAvailableTrapsMask.setStatus('mandatory') output_num_log_entries = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: outputNumLogEntries.setStatus('mandatory') output_job_log_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 2)) if mibBuilder.loadTexts: outputJobLogTable.setStatus('mandatory') output_job_log_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 2, 1)).setIndexNames((0, 'ESI-MIB', 'outputIndex')) if mibBuilder.loadTexts: outputJobLogEntry.setStatus('mandatory') output_job_log_information = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 2, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 100))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputJobLogInformation.setStatus('mandatory') output_job_log_time = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 50))).setMaxAccess('readonly') if mibBuilder.loadTexts: outputJobLogTime.setStatus('mandatory') output_total_job_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 3)) if mibBuilder.loadTexts: outputTotalJobTable.setStatus('mandatory') output_total_job_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 3, 1)).setIndexNames((0, 'ESI-MIB', 'outputTotalJobIndex')) if mibBuilder.loadTexts: outputTotalJobEntry.setStatus('mandatory') output_total_job_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 3, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: outputTotalJobIndex.setStatus('mandatory') output_total_jobs_logged = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 2, 6, 3, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: outputTotalJobsLogged.setStatus('mandatory') tcpip_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipGroupVersion.setStatus('mandatory') tcpip_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipEnabled.setStatus('optional') tcpip_restore_defaults = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 3, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipRestoreDefaults.setStatus('optional') tcpip_firmware_upgrade = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 3, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipFirmwareUpgrade.setStatus('optional') tcpip_ip_address = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 1), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipIPAddress.setStatus('optional') tcpip_default_gateway = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 2), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipDefaultGateway.setStatus('optional') tcpip_subnet_mask = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 3), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipSubnetMask.setStatus('optional') tcpip_using_net_protocols = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipUsingNetProtocols.setStatus('optional') tcpip_boot_protocols_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 5), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipBootProtocolsEnabled.setStatus('optional') tcpip_ip_address_source = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('permanent', 1), ('default', 2), ('rarp', 3), ('bootp', 4), ('dhcp', 5), ('glean', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipIPAddressSource.setStatus('optional') tcpip_ip_address_server_address = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 7), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipIPAddressServerAddress.setStatus('optional') tcpip_timeout_checking = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipTimeoutChecking.setStatus('optional') tcpip_num_traps = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipNumTraps.setStatus('mandatory') tcpip_trap_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10)) if mibBuilder.loadTexts: tcpipTrapTable.setStatus('mandatory') tcpip_trap_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1)).setIndexNames((0, 'ESI-MIB', 'tcpipTrapIndex')) if mibBuilder.loadTexts: tcpipTrapEntry.setStatus('mandatory') tcpip_trap_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipTrapIndex.setStatus('mandatory') tcpip_trap_destination = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1, 2), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipTrapDestination.setStatus('optional') tcpip_protocol_trap_mask = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipProtocolTrapMask.setStatus('optional') tcpip_printer_trap_mask = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1, 4), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipPrinterTrapMask.setStatus('optional') tcpip_output_trap_mask = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 10, 1, 5), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipOutputTrapMask.setStatus('optional') tcpip_banners = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipBanners.setStatus('optional') tcpip_wins_address = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 12), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWinsAddress.setStatus('optional') tcpip_wins_address_source = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('dhcp', 1), ('permanent', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWinsAddressSource.setStatus('optional') tcpip_config_password = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 14), display_string().subtype(subtypeSpec=value_size_constraint(5, 24))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipConfigPassword.setStatus('optional') tcpip_timeout_checking_value = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 15), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipTimeoutCheckingValue.setStatus('optional') tcpip_arp_interval = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 16), integer32().subtype(subtypeSpec=value_range_constraint(0, 30))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipArpInterval.setStatus('optional') tcpip_raw_port_number = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 17), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipRawPortNumber.setStatus('optional') tcpip_num_security = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 18), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipNumSecurity.setStatus('mandatory') tcpip_security_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19)) if mibBuilder.loadTexts: tcpipSecurityTable.setStatus('mandatory') tcpip_security_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1)).setIndexNames((0, 'ESI-MIB', 'tcpipSecurityIndex')) if mibBuilder.loadTexts: tcpipSecurityEntry.setStatus('mandatory') tcpip_security_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipSecurityIndex.setStatus('mandatory') tcpip_secure_start_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1, 2), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipSecureStartIPAddress.setStatus('optional') tcpip_secure_end_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1, 3), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipSecureEndIPAddress.setStatus('optional') tcpip_secure_printer_mask = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1, 4), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipSecurePrinterMask.setStatus('optional') tcpip_secure_admin_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 19, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipSecureAdminEnabled.setStatus('optional') tcpip_low_bandwidth = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipLowBandwidth.setStatus('optional') tcpip_num_logical_printers = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 21), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipNumLogicalPrinters.setStatus('mandatory') tcpip_mlp_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22)) if mibBuilder.loadTexts: tcpipMLPTable.setStatus('mandatory') tcpip_mlp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1)).setIndexNames((0, 'ESI-MIB', 'tcpipMLPIndex')) if mibBuilder.loadTexts: tcpipMLPEntry.setStatus('mandatory') tcpip_mlp_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipMLPIndex.setStatus('optional') tcpip_mlp_name = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 20))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipMLPName.setStatus('optional') tcpip_mlp_port = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipMLPPort.setStatus('optional') tcpip_mlptcp_port = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 4), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipMLPTCPPort.setStatus('optional') tcpip_mlp_pre_string = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipMLPPreString.setStatus('optional') tcpip_mlp_post_string = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipMLPPostString.setStatus('optional') tcpip_mlp_delete_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 22, 1, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipMLPDeleteBytes.setStatus('optional') tcpip_smtp_server_addr = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 23), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipSmtpServerAddr.setStatus('optional') tcpip_num_smtp_destinations = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 24), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipNumSmtpDestinations.setStatus('mandatory') tcpip_smtp_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25)) if mibBuilder.loadTexts: tcpipSmtpTable.setStatus('mandatory') tcpip_smtp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1)).setIndexNames((0, 'ESI-MIB', 'tcpipSmtpIndex')) if mibBuilder.loadTexts: tcpipSmtpEntry.setStatus('mandatory') tcpip_smtp_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipSmtpIndex.setStatus('mandatory') tcpip_smtp_email_addr = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipSmtpEmailAddr.setStatus('optional') tcpip_smtp_protocol_mask = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipSmtpProtocolMask.setStatus('optional') tcpip_smtp_printer_mask = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1, 4), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipSmtpPrinterMask.setStatus('optional') tcpip_smtp_output_mask = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 25, 1, 5), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipSmtpOutputMask.setStatus('optional') tcpip_web_admin_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 26), octet_string().subtype(subtypeSpec=value_size_constraint(25, 25)).setFixedLength(25)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWebAdminName.setStatus('optional') tcpip_web_admin_password = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 27), octet_string().subtype(subtypeSpec=value_size_constraint(25, 25)).setFixedLength(25)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWebAdminPassword.setStatus('optional') tcpip_web_user_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 28), octet_string().subtype(subtypeSpec=value_size_constraint(25, 25)).setFixedLength(25)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWebUserName.setStatus('optional') tcpip_web_user_password = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 29), octet_string().subtype(subtypeSpec=value_size_constraint(25, 25)).setFixedLength(25)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWebUserPassword.setStatus('optional') tcpip_web_htttp_port = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 30), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWebHtttpPort.setStatus('optional') tcpip_web_faq_url = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 31), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWebFaqURL.setStatus('optional') tcpip_web_update_url = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 32), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWebUpdateURL.setStatus('optional') tcpip_web_custom_link_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 33), octet_string().subtype(subtypeSpec=value_size_constraint(25, 25)).setFixedLength(25)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWebCustomLinkName.setStatus('optional') tcpip_web_custom_link_url = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 34), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipWebCustomLinkURL.setStatus('optional') tcpip_pop3_server_address = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 35), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipPOP3ServerAddress.setStatus('optional') tcpip_pop3_poll_interval = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 36), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipPOP3PollInterval.setStatus('mandatory') tcpip_pop3_user_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 37), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipPOP3UserName.setStatus('optional') tcpip_pop3_password = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 38), octet_string().subtype(subtypeSpec=value_size_constraint(20, 20)).setFixedLength(20)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipPOP3Password.setStatus('optional') tcpip_domain_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 4, 39), octet_string().subtype(subtypeSpec=value_size_constraint(64, 64)).setFixedLength(64)).setMaxAccess('readwrite') if mibBuilder.loadTexts: tcpipDomainName.setStatus('optional') tcpip_error = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 5, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipError.setStatus('optional') tcpip_display_mask = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: tcpipDisplayMask.setStatus('mandatory') nw_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwGroupVersion.setStatus('mandatory') nw_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwEnabled.setStatus('optional') nw_restore_defaults = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 3, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwRestoreDefaults.setStatus('optional') nw_firmware_upgrade = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 3, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwFirmwareUpgrade.setStatus('optional') nw_frame_format = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('unknown', 1), ('ethernet-II', 2), ('ethernet-802-3', 3), ('ethernet-802-2', 4), ('ethernet-Snap', 5), ('token-Ring', 6), ('token-Ring-Snap', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwFrameFormat.setStatus('optional') nw_set_frame_format = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('auto-Sense', 1), ('forced-Ethernet-II', 2), ('forced-Ethernet-802-3', 3), ('forced-Ethernet-802-2', 4), ('forced-Ethernet-Snap', 5), ('forced-Token-Ring', 6), ('forced-Token-Ring-Snap', 7)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwSetFrameFormat.setStatus('optional') nw_mode = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('unknown', 1), ('pserver', 2), ('rprinter', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwMode.setStatus('optional') nw_print_server_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 47))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwPrintServerName.setStatus('optional') nw_print_server_password = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 9))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwPrintServerPassword.setStatus('optional') nw_queue_scan_time = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwQueueScanTime.setStatus('optional') nw_network_number = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 7), octet_string().subtype(subtypeSpec=value_size_constraint(4, 4)).setFixedLength(4)).setMaxAccess('readonly') if mibBuilder.loadTexts: nwNetworkNumber.setStatus('optional') nw_max_file_servers = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwMaxFileServers.setStatus('optional') nw_file_server_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 9)) if mibBuilder.loadTexts: nwFileServerTable.setStatus('optional') nw_file_server_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 9, 1)).setIndexNames((0, 'ESI-MIB', 'nwFileServerIndex')) if mibBuilder.loadTexts: nwFileServerEntry.setStatus('optional') nw_file_server_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 9, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwFileServerIndex.setStatus('optional') nw_file_server_name = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 9, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 47))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwFileServerName.setStatus('optional') nw_file_server_connection_status = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 9, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 258, 261, 276, 512, 515, 768, 769, 32767))).clone(namedValues=named_values(('up', 1), ('down', 2), ('startupInProgress', 3), ('serverReattaching', 4), ('serverNeverAttached', 5), ('pse-UNKNOWN-FILE-SERVER', 258), ('pse-NO-RESPONSE', 261), ('pse-CANT-LOGIN', 276), ('pse-NO-SUCH-QUEUE', 512), ('pse-UNABLE-TO-ATTACH-TO-QUEUE', 515), ('bad-CONNECTION', 768), ('bad-SERVICE-CONNECTION', 769), ('other', 32767)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwFileServerConnectionStatus.setStatus('optional') nw_port_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10)) if mibBuilder.loadTexts: nwPortTable.setStatus('optional') nw_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1)).setIndexNames((0, 'ESI-MIB', 'nwPortIndex')) if mibBuilder.loadTexts: nwPortEntry.setStatus('optional') nw_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwPortIndex.setStatus('optional') nw_port_status = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwPortStatus.setStatus('optional') nw_port_printer_number = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwPortPrinterNumber.setStatus('optional') nw_port_font_download = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('disabled', 1), ('enabled-No-Power-Sense', 2), ('enabled-Power-Sense', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwPortFontDownload.setStatus('optional') nw_port_pcl_queue = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 47))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwPortPCLQueue.setStatus('optional') nw_port_ps_queue = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 47))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwPortPSQueue.setStatus('optional') nw_port_forms_on = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwPortFormsOn.setStatus('optional') nw_port_form_number = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwPortFormNumber.setStatus('optional') nw_port_notification = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 10, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwPortNotification.setStatus('optional') nw_num_traps = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 11), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwNumTraps.setStatus('mandatory') nw_trap_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12)) if mibBuilder.loadTexts: nwTrapTable.setStatus('mandatory') nw_trap_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1)).setIndexNames((0, 'ESI-MIB', 'nwTrapIndex')) if mibBuilder.loadTexts: nwTrapEntry.setStatus('mandatory') nw_trap_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwTrapIndex.setStatus('mandatory') nw_trap_destination = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(6, 6)).setFixedLength(6)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwTrapDestination.setStatus('optional') nw_trap_destination_net = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(4, 4)).setFixedLength(4)).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwTrapDestinationNet.setStatus('mandatory') nw_protocol_trap_mask = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 4), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwProtocolTrapMask.setStatus('optional') nw_printer_trap_mask = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 5), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwPrinterTrapMask.setStatus('optional') nw_output_trap_mask = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 12, 1, 6), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwOutputTrapMask.setStatus('optional') nw_nds_print_server_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 13), display_string().subtype(subtypeSpec=value_size_constraint(0, 512))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwNDSPrintServerName.setStatus('optional') nw_nds_preferred_ds_tree = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 14), display_string().subtype(subtypeSpec=value_size_constraint(0, 47))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwNDSPreferredDSTree.setStatus('optional') nw_nds_preferred_ds_file_server = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 15), display_string().subtype(subtypeSpec=value_size_constraint(0, 47))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwNDSPreferredDSFileServer.setStatus('optional') nw_nds_packet_check_sum_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 16), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwNDSPacketCheckSumEnabled.setStatus('optional') nw_nds_packet_signature_level = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 17), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwNDSPacketSignatureLevel.setStatus('optional') nw_available_print_modes = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 18), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwAvailablePrintModes.setStatus('optional') nw_direct_print_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwDirectPrintEnabled.setStatus('optional') nw_ja_config = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwJAConfig.setStatus('optional') nw_disable_sap = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 4, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: nwDisableSAP.setStatus('optional') nw_error = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 5, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 160))).setMaxAccess('readonly') if mibBuilder.loadTexts: nwError.setStatus('optional') nw_display_mask = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 2, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: nwDisplayMask.setStatus('mandatory') bv_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bvGroupVersion.setStatus('mandatory') bv_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bvEnabled.setStatus('optional') bv_restore_defaults = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 3, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bvRestoreDefaults.setStatus('optional') bv_firmware_upgrade = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 3, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bvFirmwareUpgrade.setStatus('optional') bv_set_sequence_routing = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 3, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('automatic-Routing', 1), ('force-Sequenced-Routing', 2), ('force-Non-Sequenced-Routing', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bvSetSequenceRouting.setStatus('optional') bv_disable_vp_man = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 3, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bvDisableVPMan.setStatus('optional') bv_login_name = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 1), display_string().subtype(subtypeSpec=value_size_constraint(5, 63))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bvLoginName.setStatus('optional') bv_login_password = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 15))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bvLoginPassword.setStatus('optional') bv_number_print_services = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bvNumberPrintServices.setStatus('optional') bv_print_service_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 4)) if mibBuilder.loadTexts: bvPrintServiceTable.setStatus('optional') bv_print_service_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 4, 1)).setIndexNames((0, 'ESI-MIB', 'bvPrintServiceIndex')) if mibBuilder.loadTexts: bvPrintServiceEntry.setStatus('optional') bv_print_service_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 4, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bvPrintServiceIndex.setStatus('optional') bv_print_service_name = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 4, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 63))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bvPrintServiceName.setStatus('optional') bv_print_service_routing = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 4, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: bvPrintServiceRouting.setStatus('optional') bv_pnic_description = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 4, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: bvPnicDescription.setStatus('optional') bv_error = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 48))).setMaxAccess('readonly') if mibBuilder.loadTexts: bvError.setStatus('optional') bv_routing = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 32766, 32767))).clone(namedValues=named_values(('sequenced-Routing', 1), ('non-Sequenced-Routing', 2), ('unknown-Routing', 32766), ('protocol-Disabled', 32767)))).setMaxAccess('readonly') if mibBuilder.loadTexts: bvRouting.setStatus('optional') bv_num_print_services = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bvNumPrintServices.setStatus('optional') bv_print_service_status_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4)) if mibBuilder.loadTexts: bvPrintServiceStatusTable.setStatus('optional') bv_print_service_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1)).setIndexNames((0, 'ESI-MIB', 'bvPSStatusIndex')) if mibBuilder.loadTexts: bvPrintServiceStatusEntry.setStatus('optional') bv_ps_status_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bvPSStatusIndex.setStatus('optional') bv_ps_name = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 63))).setMaxAccess('readonly') if mibBuilder.loadTexts: bvPSName.setStatus('optional') bv_ps_status = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 48))).setMaxAccess('readonly') if mibBuilder.loadTexts: bvPSStatus.setStatus('optional') bv_ps_destination = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: bvPSDestination.setStatus('optional') bv_printer_status = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: bvPrinterStatus.setStatus('optional') bv_job_active = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: bvJobActive.setStatus('optional') bv_job_source = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 7), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: bvJobSource.setStatus('optional') bv_job_title = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 8), display_string().subtype(subtypeSpec=value_size_constraint(0, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: bvJobTitle.setStatus('optional') bv_job_size = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 9), display_string().subtype(subtypeSpec=value_size_constraint(0, 9))).setMaxAccess('readonly') if mibBuilder.loadTexts: bvJobSize.setStatus('optional') bv_job_number = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 3, 5, 4, 1, 10), display_string().subtype(subtypeSpec=value_size_constraint(0, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: bvJobNumber.setStatus('optional') lm_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 4, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: lmGroupVersion.setStatus('mandatory') lm_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 4, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: lmEnabled.setStatus('optional') e_talk_group_version = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eTalkGroupVersion.setStatus('mandatory') e_talk_enabled = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eTalkEnabled.setStatus('optional') e_talk_restore_defaults = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 3, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eTalkRestoreDefaults.setStatus('optional') e_talk_network = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 1), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: eTalkNetwork.setStatus('optional') e_talk_node = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 2), octet_string().subtype(subtypeSpec=value_size_constraint(1, 1)).setFixedLength(1)).setMaxAccess('readonly') if mibBuilder.loadTexts: eTalkNode.setStatus('optional') e_talk_num_ports = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eTalkNumPorts.setStatus('optional') e_talk_port_table = mib_table((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4)) if mibBuilder.loadTexts: eTalkPortTable.setStatus('optional') e_talk_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1)).setIndexNames((0, 'ESI-MIB', 'eTalkPortIndex')) if mibBuilder.loadTexts: eTalkPortEntry.setStatus('optional') e_talk_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: eTalkPortIndex.setStatus('optional') e_talk_port_enable = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('no', 1), ('yes', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eTalkPortEnable.setStatus('optional') e_talk_name = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eTalkName.setStatus('optional') e_talk_active_name = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: eTalkActiveName.setStatus('optional') e_talk_type1 = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eTalkType1.setStatus('optional') e_talk_type2 = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eTalkType2.setStatus('optional') e_talk_zone = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 7), display_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: eTalkZone.setStatus('optional') e_talk_active_zone = mib_table_column((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 4, 4, 1, 8), display_string().subtype(subtypeSpec=value_size_constraint(1, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: eTalkActiveZone.setStatus('optional') e_talk_error = mib_scalar((1, 3, 6, 1, 4, 1, 683, 6, 3, 5, 5, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: eTalkError.setStatus('optional') trap_printer_online = notification_type((1, 3, 6, 1, 4, 1, 683, 6) + (0, 1)).setObjects(('ESI-MIB', 'outputIndex')) trap_printer_offline = notification_type((1, 3, 6, 1, 4, 1, 683, 6) + (0, 2)).setObjects(('ESI-MIB', 'outputIndex')) trap_no_printer_attached = notification_type((1, 3, 6, 1, 4, 1, 683, 6) + (0, 3)).setObjects(('ESI-MIB', 'outputIndex')) trap_printer_toner_low = notification_type((1, 3, 6, 1, 4, 1, 683, 6) + (0, 4)).setObjects(('ESI-MIB', 'outputIndex')) trap_printer_paper_out = notification_type((1, 3, 6, 1, 4, 1, 683, 6) + (0, 5)).setObjects(('ESI-MIB', 'outputIndex')) trap_printer_paper_jam = notification_type((1, 3, 6, 1, 4, 1, 683, 6) + (0, 6)).setObjects(('ESI-MIB', 'outputIndex')) trap_printer_door_open = notification_type((1, 3, 6, 1, 4, 1, 683, 6) + (0, 7)).setObjects(('ESI-MIB', 'outputIndex')) trap_printer_error = notification_type((1, 3, 6, 1, 4, 1, 683, 6) + (0, 16)).setObjects(('ESI-MIB', 'outputIndex')) mibBuilder.exportSymbols('ESI-MIB', genNumProtocols=genNumProtocols, tcpipSmtpServerAddr=tcpipSmtpServerAddr, outputStopBits=outputStopBits, genSerialNumber=genSerialNumber, tcpipWebUserName=tcpipWebUserName, nwGroupVersion=nwGroupVersion, outputPrinterDisplay=outputPrinterDisplay, cmdRestoreDefaults=cmdRestoreDefaults, tcpipArpInterval=tcpipArpInterval, genSysUpTimeString=genSysUpTimeString, tcpipSecureStartIPAddress=tcpipSecureStartIPAddress, tokenRing=tokenRing, outputConfigure=outputConfigure, outputJobLogInformation=outputJobLogInformation, tcpipConfigPassword=tcpipConfigPassword, tcpipMLPTable=tcpipMLPTable, tcpipSmtpOutputMask=tcpipSmtpOutputMask, driverGroupVersion=driverGroupVersion, tcpipSmtpPrinterMask=tcpipSmtpPrinterMask, trapPrinterTonerLow=trapPrinterTonerLow, lmGroupVersion=lmGroupVersion, tcpipNumSecurity=tcpipNumSecurity, outputTotalJobEntry=outputTotalJobEntry, commands=commands, tcpipSmtpTable=tcpipSmtpTable, snmpGroupVersion=snmpGroupVersion, psOutput=psOutput, tcpipSecureEndIPAddress=tcpipSecureEndIPAddress, tcpipPOP3UserName=tcpipPOP3UserName, genProtocolEntry=genProtocolEntry, tcpipPrinterTrapMask=tcpipPrinterTrapMask, tcpipPOP3Password=tcpipPOP3Password, cmdReset=cmdReset, cmdPrintConfig=cmdPrintConfig, outputPrinter=outputPrinter, trEarlyTokenRelease=trEarlyTokenRelease, nwCommands=nwCommands, tcpipDomainName=tcpipDomainName, nwFirmwareUpgrade=nwFirmwareUpgrade, bvPrintServiceName=bvPrintServiceName, driverTXPacketErrors=driverTXPacketErrors, outputPrinterModel=outputPrinterModel, nwFileServerConnectionStatus=nwFileServerConnectionStatus, nwFileServerIndex=nwFileServerIndex, eTalkPortIndex=eTalkPortIndex, tcpipTrapDestination=tcpipTrapDestination, outputCommandsTable=outputCommandsTable, nwNumTraps=nwNumTraps, genProtocolIndex=genProtocolIndex, nwEnabled=nwEnabled, eTalk=eTalk, nwFileServerTable=nwFileServerTable, bvPrintServiceEntry=bvPrintServiceEntry, nwNDSPacketSignatureLevel=nwNDSPacketSignatureLevel, nwNDSPacketCheckSumEnabled=nwNDSPacketCheckSumEnabled, eTalkEnabled=eTalkEnabled, outputCommands=outputCommands, nwDirectPrintEnabled=nwDirectPrintEnabled, psGroupVersion=psGroupVersion, bvPrintServiceRouting=bvPrintServiceRouting, eTalkActiveName=eTalkActiveName, outputCommandsEntry=outputCommandsEntry, nwTrapEntry=nwTrapEntry, nwNDSPreferredDSFileServer=nwNDSPreferredDSFileServer, tcpipGroupVersion=tcpipGroupVersion, tcpipSecurePrinterMask=tcpipSecurePrinterMask, bvPSName=bvPSName, tcpipWinsAddress=tcpipWinsAddress, eTalkName=eTalkName, tcpipIPAddress=tcpipIPAddress, genCableType=genCableType, nwTrapTable=nwTrapTable, trapPrinterPaperOut=trapPrinterPaperOut, trRestoreDefaults=trRestoreDefaults, tcpipTimeoutCheckingValue=tcpipTimeoutCheckingValue, bvLoginName=bvLoginName, outputGroupVersion=outputGroupVersion, trPriority=trPriority, tcpipMLPName=tcpipMLPName, outputJobLogTable=outputJobLogTable, genCompanyTechSupport=genCompanyTechSupport, tcpipWebHtttpPort=tcpipWebHtttpPort, printServers=printServers, outputDataBits=outputDataBits, nwPrinterTrapMask=nwPrinterTrapMask, genCompanyLoc=genCompanyLoc, eTalkCommands=eTalkCommands, nwAvailablePrintModes=nwAvailablePrintModes, bvFirmwareUpgrade=bvFirmwareUpgrade, bvPrinterStatus=bvPrinterStatus, trapPrinterPaperJam=trapPrinterPaperJam, nwPortPSQueue=nwPortPSQueue, nwNetworkNumber=nwNetworkNumber, nwPortPrinterNumber=nwPortPrinterNumber, outputNumPorts=outputNumPorts, bvPSStatus=bvPSStatus, genCompanyName=genCompanyName, tcpipBanners=tcpipBanners, tcpipSecurityEntry=tcpipSecurityEntry, tcpipMLPTCPPort=tcpipMLPTCPPort, nwProtocolTrapMask=nwProtocolTrapMask, outputTable=outputTable, nwMaxFileServers=nwMaxFileServers, bvPrintServiceIndex=bvPrintServiceIndex, tcpipNumSmtpDestinations=tcpipNumSmtpDestinations, bvJobSource=bvJobSource, tcpip=tcpip, tcpipMLPPreString=tcpipMLPPreString, bvPrintServiceStatusTable=bvPrintServiceStatusTable, eTalkGroupVersion=eTalkGroupVersion, genProductNumber=genProductNumber, outputConfigLanguage=outputConfigLanguage, tcpipWebUpdateURL=tcpipWebUpdateURL, tcpipTrapTable=tcpipTrapTable, driverChecksumErrors=driverChecksumErrors, outputCancelCurrentJob=outputCancelCurrentJob, tcpipSubnetMask=tcpipSubnetMask, outputBIDIStatusEnabled=outputBIDIStatusEnabled, tcpipSmtpProtocolMask=tcpipSmtpProtocolMask, snmpSetCommunityName=snmpSetCommunityName, nwPortFormsOn=nwPortFormsOn, outputTotalJobsLogged=outputTotalJobsLogged, eTalkNumPorts=eTalkNumPorts, nwQueueScanTime=nwQueueScanTime, nwPortFormNumber=nwPortFormNumber, genProductName=genProductName, psJetAdminEnabled=psJetAdminEnabled, tcpipSecureAdminEnabled=tcpipSecureAdminEnabled, nwTrapDestinationNet=nwTrapDestinationNet, tcpipMLPIndex=tcpipMLPIndex, tcpipMLPDeleteBytes=tcpipMLPDeleteBytes, esiSNMPCommands=esiSNMPCommands, driver=driver, bvJobTitle=bvJobTitle, bvSetSequenceRouting=bvSetSequenceRouting, bvStatus=bvStatus, outputDisplayMask=outputDisplayMask, tcpipPOP3PollInterval=tcpipPOP3PollInterval, vines=vines, genGroupVersion=genGroupVersion, outputOwner=outputOwner, nwFileServerName=nwFileServerName, tcpipWinsAddressSource=tcpipWinsAddressSource, bvRestoreDefaults=bvRestoreDefaults, nwPortTable=nwPortTable, trapPrinterOnline=trapPrinterOnline, trGroupVersion=trGroupVersion, tcpipNumLogicalPrinters=tcpipNumLogicalPrinters, tcpipBootProtocolsEnabled=tcpipBootProtocolsEnabled, nwFileServerEntry=nwFileServerEntry, outputAvailableTrapsMask=outputAvailableTrapsMask, trapPrinterDoorOpen=trapPrinterDoorOpen, nwTrapDestination=nwTrapDestination, eTalkError=eTalkError, tcpipSmtpEmailAddr=tcpipSmtpEmailAddr, outputEntry=outputEntry, nwPortStatus=nwPortStatus, outputPSString=outputPSString, snmpRestoreDefaults=snmpRestoreDefaults, outputParity=outputParity, tcpipConfigure=tcpipConfigure, tcpipEnabled=tcpipEnabled, tcpipNumTraps=tcpipNumTraps, outputIndex=outputIndex, nwTrapIndex=nwTrapIndex, bvLoginPassword=bvLoginPassword, eTalkRestoreDefaults=eTalkRestoreDefaults, tcpipTrapIndex=tcpipTrapIndex, nwPortEntry=nwPortEntry, tcpipSmtpIndex=tcpipSmtpIndex, snmpGetCommunityName=snmpGetCommunityName, bvNumPrintServices=bvNumPrintServices, general=general, eTalkType1=eTalkType1, bvPrintServiceStatusEntry=bvPrintServiceStatusEntry, esiSNMP=esiSNMP, tcpipTrapEntry=tcpipTrapEntry, nwPortIndex=nwPortIndex, nwPortNotification=nwPortNotification, genConfigurationDirty=genConfigurationDirty, eTalkPortEnable=eTalkPortEnable, tcpipDefaultGateway=tcpipDefaultGateway, tcpipDisplayMask=tcpipDisplayMask, outputRestoreDefaults=outputRestoreDefaults, bvJobNumber=bvJobNumber, tcpipUsingNetProtocols=tcpipUsingNetProtocols, nwMode=nwMode, bvDisableVPMan=bvDisableVPMan, nwPortFontDownload=nwPortFontDownload, driverTXPackets=driverTXPackets, tcpipMLPEntry=tcpipMLPEntry, tcpipWebFaqURL=tcpipWebFaqURL, tcpipWebAdminPassword=tcpipWebAdminPassword, tcpipSecurityTable=tcpipSecurityTable, eTalkZone=eTalkZone, trLocallyAdminAddr=trLocallyAdminAddr, tcpipCommands=tcpipCommands, tcpipIPAddressSource=tcpipIPAddressSource, nwError=nwError, lmEnabled=lmEnabled, genProtocolTable=genProtocolTable, outputJobLogTime=outputJobLogTime, nwPortPCLQueue=nwPortPCLQueue, outputJobLogEntry=outputJobLogEntry, tcpipTimeoutChecking=tcpipTimeoutChecking, eTalkActiveZone=eTalkActiveZone, eTalkNode=eTalkNode, tcpipSecurityIndex=tcpipSecurityIndex, outputProtocolManager=outputProtocolManager, tcpipProtocolTrapMask=tcpipProtocolTrapMask, tcpipSmtpEntry=tcpipSmtpEntry, outputStatus=outputStatus, driverRXPacketErrors=driverRXPacketErrors, trRouting=trRouting, tcpipStatus=tcpipStatus, cmdGroupVersion=cmdGroupVersion, nwConfigure=nwConfigure, trPacketSize=trPacketSize, tcpipRestoreDefaults=tcpipRestoreDefaults, nwJAConfig=nwJAConfig, eTalkPortTable=eTalkPortTable, nwFrameFormat=nwFrameFormat, psVerifyConfiguration=psVerifyConfiguration, tcpipWebUserPassword=tcpipWebUserPassword, netware=netware, driverTXPacketRetries=driverTXPacketRetries, outputSetting=outputSetting, bvJobActive=bvJobActive, tcpipWebCustomLinkName=tcpipWebCustomLinkName, tcpipMLPPostString=tcpipMLPPostString, lanManager=lanManager, esi=esi, trapPrinterError=trapPrinterError, outputExtendedStatus=outputExtendedStatus, outputBaudRate=outputBaudRate, genCompanyPhone=genCompanyPhone, psGeneral=psGeneral, outputName=outputName, tcpipOutputTrapMask=tcpipOutputTrapMask, trConfigure=trConfigure, bvGroupVersion=bvGroupVersion, tcpipWebAdminName=tcpipWebAdminName, psProtocols=psProtocols, eTalkStatus=eTalkStatus, nwDisplayMask=nwDisplayMask, outputLanguageSwitching=outputLanguageSwitching, nwPrintServerPassword=nwPrintServerPassword, bvEnabled=bvEnabled, bvPSDestination=bvPSDestination, bvError=bvError, eTalkPortEntry=eTalkPortEntry, driverRXPackets=driverRXPackets, trapPrinterOffline=trapPrinterOffline, tcpipIPAddressServerAddress=tcpipIPAddressServerAddress) mibBuilder.exportSymbols('ESI-MIB', nwRestoreDefaults=nwRestoreDefaults, genProtocolID=genProtocolID, outputPCLString=outputPCLString, eTalkType2=eTalkType2, trCommands=trCommands, tcpipError=tcpipError, outputHandshake=outputHandshake, tcpipPOP3ServerAddress=tcpipPOP3ServerAddress, nwSetFrameFormat=nwSetFrameFormat, outputTotalJobIndex=outputTotalJobIndex, bvRouting=bvRouting, genHWAddress=genHWAddress, outputJobLog=outputJobLog, outputStatusString=outputStatusString, outputTotalJobTable=outputTotalJobTable, trapNoPrinterAttached=trapNoPrinterAttached, outputCascaded=outputCascaded, tcpipMLPPort=tcpipMLPPort, bvConfigure=bvConfigure, bvPSStatusIndex=bvPSStatusIndex, tcpipFirmwareUpgrade=tcpipFirmwareUpgrade, nwNDSPrintServerName=nwNDSPrintServerName, tcpipLowBandwidth=tcpipLowBandwidth, bvJobSize=bvJobSize, nwPrintServerName=nwPrintServerName, driverRXPacketsUnavailable=driverRXPacketsUnavailable, nwNDSPreferredDSTree=nwNDSPreferredDSTree, genMIBVersion=genMIBVersion, genProtocols=genProtocols, genDateCode=genDateCode, snmpTrapCommunityName=snmpTrapCommunityName, outputNumLogEntries=outputNumLogEntries, bvPrintServiceTable=bvPrintServiceTable, genProtocolDescr=genProtocolDescr, bvNumberPrintServices=bvNumberPrintServices, nwDisableSAP=nwDisableSAP, tcpipWebCustomLinkURL=tcpipWebCustomLinkURL, eTalkNetwork=eTalkNetwork, genVersion=genVersion, eTalkConfigure=eTalkConfigure, outputCapabilities=outputCapabilities, bvPnicDescription=bvPnicDescription, tcpipRawPortNumber=tcpipRawPortNumber, nwOutputTrapMask=nwOutputTrapMask, nwStatus=nwStatus, bvCommands=bvCommands)
# Copyright 2018 The go-python Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. doc="range" a = range(255) b = [e for e in a] assert len(a) == len(b) a = range(5, 100, 5) b = [e for e in a] assert len(a) == len(b) a = range(100 ,0, 1) b = [e for e in a] assert len(a) == len(b) a = range(100, 0, -1) b = [e for e in a] assert len(a) == 100 assert len(b) == 100 doc="range_get_item" a = range(3) assert a[2] == 2 assert a[1] == 1 assert a[0] == 0 assert a[-1] == 2 assert a[-2] == 1 assert a[-3] == 0 b = range(0, 10, 2) assert b[4] == 8 assert b[3] == 6 assert b[2] == 4 assert b[1] == 2 assert b[0] == 0 assert b[-4] == 2 assert b[-3] == 4 assert b[-2] == 6 assert b[-1] == 8 doc="range_eq" assert range(10) == range(0, 10) assert not range(10) == 3 assert range(20) != range(10) assert range(100, 200, 1) == range(100, 200) assert range(0, 10, 3) == range(0, 12, 3) assert range(2000, 100) == range(3, 1) assert range(0, 10, -3) == range(0, 12, -3) assert not range(0, 20, 2) == range(0, 20, 4) try: range('3', 10) == range(2) except TypeError: pass else: assert False, "TypeError not raised" doc="range_ne" assert range(10, 0, -3) != range(12, 0, -3) assert range(10) != 3 assert not range(100, 200, 1) != range(100, 200) assert range(0, 10) != range(0, 12) assert range(0, 10) != range(0, 10, 2) assert range(0, 20, 2) != range(0, 21, 2) assert range(0, 20, 2) != range(0, 20, 4) assert not range(0, 20, 3) != range(0, 20, 3) try: range('3', 10) != range(2) except TypeError: pass else: assert False, "TypeError not raised" doc="range_str" assert str(range(10)) == 'range(0, 10)' assert str(range(10, 0, 3)) == 'range(10, 0, 3)' assert str(range(0, 3)) == 'range(0, 3)' assert str(range(10, 3, -2)) == 'range(10, 3, -2)' doc="finished"
doc = 'range' a = range(255) b = [e for e in a] assert len(a) == len(b) a = range(5, 100, 5) b = [e for e in a] assert len(a) == len(b) a = range(100, 0, 1) b = [e for e in a] assert len(a) == len(b) a = range(100, 0, -1) b = [e for e in a] assert len(a) == 100 assert len(b) == 100 doc = 'range_get_item' a = range(3) assert a[2] == 2 assert a[1] == 1 assert a[0] == 0 assert a[-1] == 2 assert a[-2] == 1 assert a[-3] == 0 b = range(0, 10, 2) assert b[4] == 8 assert b[3] == 6 assert b[2] == 4 assert b[1] == 2 assert b[0] == 0 assert b[-4] == 2 assert b[-3] == 4 assert b[-2] == 6 assert b[-1] == 8 doc = 'range_eq' assert range(10) == range(0, 10) assert not range(10) == 3 assert range(20) != range(10) assert range(100, 200, 1) == range(100, 200) assert range(0, 10, 3) == range(0, 12, 3) assert range(2000, 100) == range(3, 1) assert range(0, 10, -3) == range(0, 12, -3) assert not range(0, 20, 2) == range(0, 20, 4) try: range('3', 10) == range(2) except TypeError: pass else: assert False, 'TypeError not raised' doc = 'range_ne' assert range(10, 0, -3) != range(12, 0, -3) assert range(10) != 3 assert not range(100, 200, 1) != range(100, 200) assert range(0, 10) != range(0, 12) assert range(0, 10) != range(0, 10, 2) assert range(0, 20, 2) != range(0, 21, 2) assert range(0, 20, 2) != range(0, 20, 4) assert not range(0, 20, 3) != range(0, 20, 3) try: range('3', 10) != range(2) except TypeError: pass else: assert False, 'TypeError not raised' doc = 'range_str' assert str(range(10)) == 'range(0, 10)' assert str(range(10, 0, 3)) == 'range(10, 0, 3)' assert str(range(0, 3)) == 'range(0, 3)' assert str(range(10, 3, -2)) == 'range(10, 3, -2)' doc = 'finished'
def selectionsort(arr): i=0 while(i<len(arr)): #find index of minimum number between index i and index n-1 where n=len(arr) num,ind=arr[i],i for j in range(i+1,len(arr)): if(arr[j]<num): num=arr[j] ind=j #swap number at ind with number at i temp=arr[i] arr[i]=arr[ind] arr[ind]=temp i+=1 return arr def main(): arr = [9,7,4,3,1,5,3,6,7,0] sorted_arr = selectionsort(arr) print(sorted_arr) if __name__ == "__main__": main()
def selectionsort(arr): i = 0 while i < len(arr): (num, ind) = (arr[i], i) for j in range(i + 1, len(arr)): if arr[j] < num: num = arr[j] ind = j temp = arr[i] arr[i] = arr[ind] arr[ind] = temp i += 1 return arr def main(): arr = [9, 7, 4, 3, 1, 5, 3, 6, 7, 0] sorted_arr = selectionsort(arr) print(sorted_arr) if __name__ == '__main__': main()
__title__ = 'road-surface-detection' __version__ = '0.0.0' __author__ = 'Esri Advanced Analytics Team' __license__ = 'Apache 2.0' __copyright__ = 'Copyright 2020 by Esri Advanced Analytics Team' # add specific imports below if you want more control over what is visible ## from . import utils
__title__ = 'road-surface-detection' __version__ = '0.0.0' __author__ = 'Esri Advanced Analytics Team' __license__ = 'Apache 2.0' __copyright__ = 'Copyright 2020 by Esri Advanced Analytics Team'
ImgHeight = 32 data_roots = { 'iam_word': '/mydrive/MyDrive/khoa_luan/khoa_luan/data/' } data_paths = { 'iam_word': {'trnval': 'trnvalset_words%d.hdf5'%ImgHeight, 'test': 'testset_words%d.hdf5'%ImgHeight}, 'iam_word_org': {'trnval': 'trnvalset_words%d_OrgSz.hdf5'%ImgHeight, 'test': 'testset_words%d_OrgSz.hdf5'%ImgHeight} }
img_height = 32 data_roots = {'iam_word': '/mydrive/MyDrive/khoa_luan/khoa_luan/data/'} data_paths = {'iam_word': {'trnval': 'trnvalset_words%d.hdf5' % ImgHeight, 'test': 'testset_words%d.hdf5' % ImgHeight}, 'iam_word_org': {'trnval': 'trnvalset_words%d_OrgSz.hdf5' % ImgHeight, 'test': 'testset_words%d_OrgSz.hdf5' % ImgHeight}}
# vim: set fileencoding=<utf-8> : # Copyright 2018-2020 John Lees and Nick Croucher '''PopPUNK (POPulation Partitioning Using Nucleotide Kmers)''' __version__ = '2.2.1'
"""PopPUNK (POPulation Partitioning Using Nucleotide Kmers)""" __version__ = '2.2.1'
n=int(input()) a=list(map(int,input().split())) a.sort() l=list(set(a)) k=l[0] i=0 c=0 while(i!=n and k<=max(l)): if(k==l[i]): k=k+1 i=i+1 c=c+1 else: break print(c)
n = int(input()) a = list(map(int, input().split())) a.sort() l = list(set(a)) k = l[0] i = 0 c = 0 while i != n and k <= max(l): if k == l[i]: k = k + 1 i = i + 1 c = c + 1 else: break print(c)
#Given the root node of a binary search tree (BST) and a value. You need to find the node in the BST that the #node's value equals the given value. Return the subtree rooted with that node. If such node doesn't exist, #you should return NULL. # Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution: def searchBST(self, root: TreeNode, val: int) -> TreeNode: if not root: return None while root: if root.val == val: return root elif val < root.val: root = root.left else: root = root.right return None
class Solution: def search_bst(self, root: TreeNode, val: int) -> TreeNode: if not root: return None while root: if root.val == val: return root elif val < root.val: root = root.left else: root = root.right return None
# Purpose: Grouping entities by DXF attributes or a key function. # Created: 03.02.2017 # Copyright (C) 2017, Manfred Moitzi # License: MIT License def groupby(entities, dxfattrib='', key=None): """ Groups a sequence of DXF entities by an DXF attribute like 'layer', returns the result as dict. Just specify argument `dxfattrib` OR a `key` function. Args: entities: sequence of DXF entities to group by a key dxfattrib: grouping DXF attribute like 'layer' key: key function, which accepts a DXFEntity as argument, returns grouping key of this entity or None for ignore this object. Reason for ignoring: a queried DXF attribute is not supported by this entity Returns: dict """ if all((dxfattrib, key)): raise ValueError('Specify a dxfattrib or a key function, but not both.') if dxfattrib != '': key = lambda entity: entity.get_dxf_attrib(dxfattrib, None) if key is None: raise ValueError('no valid argument found, specify a dxfattrib or a key function, but not both.') result = dict() for dxf_entity in entities: try: group_key = key(dxf_entity) except AttributeError: # ignore DXF entities, which do not support all query attributes continue if group_key is not None: group = result.setdefault(group_key, []) group.append(dxf_entity) return result
def groupby(entities, dxfattrib='', key=None): """ Groups a sequence of DXF entities by an DXF attribute like 'layer', returns the result as dict. Just specify argument `dxfattrib` OR a `key` function. Args: entities: sequence of DXF entities to group by a key dxfattrib: grouping DXF attribute like 'layer' key: key function, which accepts a DXFEntity as argument, returns grouping key of this entity or None for ignore this object. Reason for ignoring: a queried DXF attribute is not supported by this entity Returns: dict """ if all((dxfattrib, key)): raise value_error('Specify a dxfattrib or a key function, but not both.') if dxfattrib != '': key = lambda entity: entity.get_dxf_attrib(dxfattrib, None) if key is None: raise value_error('no valid argument found, specify a dxfattrib or a key function, but not both.') result = dict() for dxf_entity in entities: try: group_key = key(dxf_entity) except AttributeError: continue if group_key is not None: group = result.setdefault(group_key, []) group.append(dxf_entity) return result
def find_pivot_index(nums): """ Suppose a sorted array A is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). Find the minimum element. NOTE: The array will not contain duplicates. """ min_num = nums[0] pivot_index = 0 left = 0 right = len(nums) - 1 if left == right: return pivot_index, nums[pivot_index] while left <= right: mid = (left + right) // 2 print(nums[mid]) if min_num > nums[mid]: min_num = nums[mid] pivot_index = mid right = mid - 1 else: left = mid + 1 return pivot_index, min_num def find_pivot_index_in_duplicates(nums): """ Suppose a sorted array A is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). Find the minimum element. NOTE: The array will contain duplicates. """ min_num = nums[0] pivot_index = 0 left = 0 right = len(nums) - 1 if left == right: return pivot_index, nums[pivot_index] while left <= right: mid = (left + right) // 2 print(nums[mid], mid) if min_num > nums[mid]: min_num = nums[mid] pivot_index = mid right = mid - 1 # elif min_num == nums[mid]: # # continue else: left = mid + 1 return pivot_index, min_num # nums = [4, 5, 6, 7, 0, 1, 2] nums = [10, 10, 10, 10, 1] single = [5, 5, 5, 5, 3] result = find_pivot_index_in_duplicates(nums) print(result)
def find_pivot_index(nums): """ Suppose a sorted array A is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). Find the minimum element. NOTE: The array will not contain duplicates. """ min_num = nums[0] pivot_index = 0 left = 0 right = len(nums) - 1 if left == right: return (pivot_index, nums[pivot_index]) while left <= right: mid = (left + right) // 2 print(nums[mid]) if min_num > nums[mid]: min_num = nums[mid] pivot_index = mid right = mid - 1 else: left = mid + 1 return (pivot_index, min_num) def find_pivot_index_in_duplicates(nums): """ Suppose a sorted array A is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). Find the minimum element. NOTE: The array will contain duplicates. """ min_num = nums[0] pivot_index = 0 left = 0 right = len(nums) - 1 if left == right: return (pivot_index, nums[pivot_index]) while left <= right: mid = (left + right) // 2 print(nums[mid], mid) if min_num > nums[mid]: min_num = nums[mid] pivot_index = mid right = mid - 1 else: left = mid + 1 return (pivot_index, min_num) nums = [10, 10, 10, 10, 1] single = [5, 5, 5, 5, 3] result = find_pivot_index_in_duplicates(nums) print(result)
# -*- coding: utf-8 -*- """ Created on Tue Feb 14 19:55:42 2017 @author: Zachary """ aList = [[1,'a',['cat'],2],[[[3]],'dog'],4,5] def flatten(aList): flattenedList = [] for i in range(len(aList)): listOne = aList[i] if type(listOne) == list: for k in range(len(listOne)): listTwo = listOne[k] if type(listTwo) == list: for j in range(len(listTwo)): listThree = listTwo[j] if type(listThree) == list: for z in range(len(listThree)): listFour = listThree[z] if type(listFour) == list: flattenedList.append(listFour) else: flattenedList.append(listFour) else: flattenedList.append(listThree) else: flattenedList.append(listTwo) else: flattenedList.append(listOne) return flattenedList print(flatten(aList))
""" Created on Tue Feb 14 19:55:42 2017 @author: Zachary """ a_list = [[1, 'a', ['cat'], 2], [[[3]], 'dog'], 4, 5] def flatten(aList): flattened_list = [] for i in range(len(aList)): list_one = aList[i] if type(listOne) == list: for k in range(len(listOne)): list_two = listOne[k] if type(listTwo) == list: for j in range(len(listTwo)): list_three = listTwo[j] if type(listThree) == list: for z in range(len(listThree)): list_four = listThree[z] if type(listFour) == list: flattenedList.append(listFour) else: flattenedList.append(listFour) else: flattenedList.append(listThree) else: flattenedList.append(listTwo) else: flattenedList.append(listOne) return flattenedList print(flatten(aList))
class ContainerAlreadyResolved(Exception): def __init__(self): super().__init__("Container already resolved can't be resolved again") class ForbiddenChangeOnResolvedContainer(Exception): def __init__(self): super().__init__("Container can't be modified once resolved") class ServiceAlreadyDefined(Exception): def __init__(self, identifier: str): self.identifier = identifier super().__init__( f"The service identified by {identifier} has already been defined in container" ) class ServiceNotFoundInContainer(Exception): def __init__(self, identifier: str): self.identifier = identifier super().__init__( f"The service identified by {identifier} has not been defined in container" ) class ServiceNotFoundFromFullyQualifiedName(Exception): def __init__(self, fully_qualified_name: str): self.fully_qualified_name = fully_qualified_name super().__init__( f"Container can't locate any class in {fully_qualified_name}" ) class ServiceInstantiationFailed(Exception): def __init__(self, service_fqn: str) -> None: self.service_fqn = service_fqn super().__init__(f"Type {service_fqn} cannot be instantiated by the container")
class Containeralreadyresolved(Exception): def __init__(self): super().__init__("Container already resolved can't be resolved again") class Forbiddenchangeonresolvedcontainer(Exception): def __init__(self): super().__init__("Container can't be modified once resolved") class Servicealreadydefined(Exception): def __init__(self, identifier: str): self.identifier = identifier super().__init__(f'The service identified by {identifier} has already been defined in container') class Servicenotfoundincontainer(Exception): def __init__(self, identifier: str): self.identifier = identifier super().__init__(f'The service identified by {identifier} has not been defined in container') class Servicenotfoundfromfullyqualifiedname(Exception): def __init__(self, fully_qualified_name: str): self.fully_qualified_name = fully_qualified_name super().__init__(f"Container can't locate any class in {fully_qualified_name}") class Serviceinstantiationfailed(Exception): def __init__(self, service_fqn: str) -> None: self.service_fqn = service_fqn super().__init__(f'Type {service_fqn} cannot be instantiated by the container')
''' We are given a list schedule of employees, which represents the working time for each employee. Each employee has a list of non-overlapping Intervals, and these intervals are in sorted order. Return the list of finite intervals representing common, positive-length free time for all employees, also in sorted order. Example 1: Input: schedule = [[[1,2],[5,6]],[[1,3]],[[4,10]]] Output: [[3,4]] Explanation: There are a total of three employees, and all common free time intervals would be [-inf, 1], [3, 4], [10, inf]. We discard any intervals that contain inf as they aren't finite. Example 2: Input: schedule = [[[1,3],[6,7]],[[2,4]],[[2,5],[9,12]]] Output: [[5,6],[7,9]] (Even though we are representing Intervals in the form [x, y], the objects inside are Intervals, not lists or arrays. For example, schedule[0][0].start = 1, schedule[0][0].end = 2, and schedule[0][0][0] is not defined.) Also, we wouldn't include intervals like [5, 5] in our answer, as they have zero length. Note: schedule and schedule[i] are lists with lengths in range [1, 50]. 0 <= schedule[i].start < schedule[i].end <= 10^8. ''' # Definition for an interval. # class Interval(object): # def __init__(self, s=0, e=0): # self.start = s # self.end = e class Solution(object): def employeeFreeTime(self, schedule): """ :type schedule: List[List[Interval]] :rtype: List[Interval] """ intervals = [] for row in schedule: intervals.extend(row) intervals.sort(key = lambda x: (x.start, x.end)) busy = [intervals[0]] for i in xrange(1, len(intervals)): if busy[-1].end < intervals[i].start: busy.append(intervals[i]) else: busy[-1].end = max(busy[-1].end, intervals[i].end) res = [] for i in xrange(len(busy)-1): res.append(Interval(busy[i].end, busy[i+1].start)) return res
""" We are given a list schedule of employees, which represents the working time for each employee. Each employee has a list of non-overlapping Intervals, and these intervals are in sorted order. Return the list of finite intervals representing common, positive-length free time for all employees, also in sorted order. Example 1: Input: schedule = [[[1,2],[5,6]],[[1,3]],[[4,10]]] Output: [[3,4]] Explanation: There are a total of three employees, and all common free time intervals would be [-inf, 1], [3, 4], [10, inf]. We discard any intervals that contain inf as they aren't finite. Example 2: Input: schedule = [[[1,3],[6,7]],[[2,4]],[[2,5],[9,12]]] Output: [[5,6],[7,9]] (Even though we are representing Intervals in the form [x, y], the objects inside are Intervals, not lists or arrays. For example, schedule[0][0].start = 1, schedule[0][0].end = 2, and schedule[0][0][0] is not defined.) Also, we wouldn't include intervals like [5, 5] in our answer, as they have zero length. Note: schedule and schedule[i] are lists with lengths in range [1, 50]. 0 <= schedule[i].start < schedule[i].end <= 10^8. """ class Solution(object): def employee_free_time(self, schedule): """ :type schedule: List[List[Interval]] :rtype: List[Interval] """ intervals = [] for row in schedule: intervals.extend(row) intervals.sort(key=lambda x: (x.start, x.end)) busy = [intervals[0]] for i in xrange(1, len(intervals)): if busy[-1].end < intervals[i].start: busy.append(intervals[i]) else: busy[-1].end = max(busy[-1].end, intervals[i].end) res = [] for i in xrange(len(busy) - 1): res.append(interval(busy[i].end, busy[i + 1].start)) return res
# -*- coding: utf-8 -*- # # LICENCE MIT # # DESCRIPTION Callgraph helpers for ast nodes. # # AUTHOR Michal Bukovsky <michal.bukovsky@trilogic.cz> # class VariablesScope(object): def __init__(self, ctx): self.ctx, self.var_names = ctx, ctx.var_names.copy() def __enter__(self): return self def __exit__(self, exp_type, exp_value, traceback): for var_name in self.vars_in_scope(): self.ctx.scope.pop(var_name) def freeze(self): self.freezed_var_names = self.ctx.var_names.copy() def vars_in_scope(self): var_names = getattr(self, "freezed_var_names", self.ctx.var_names) yield from var_names - self.var_names class UniqueNameGenerator(object): """ Generates unique names. """ counter = 0 def make_unique_name(self, prefix="unique_name"): UniqueNameGenerator.counter += 1 return "{0}_{1}".format(prefix, UniqueNameGenerator.counter)
class Variablesscope(object): def __init__(self, ctx): (self.ctx, self.var_names) = (ctx, ctx.var_names.copy()) def __enter__(self): return self def __exit__(self, exp_type, exp_value, traceback): for var_name in self.vars_in_scope(): self.ctx.scope.pop(var_name) def freeze(self): self.freezed_var_names = self.ctx.var_names.copy() def vars_in_scope(self): var_names = getattr(self, 'freezed_var_names', self.ctx.var_names) yield from (var_names - self.var_names) class Uniquenamegenerator(object): """ Generates unique names. """ counter = 0 def make_unique_name(self, prefix='unique_name'): UniqueNameGenerator.counter += 1 return '{0}_{1}'.format(prefix, UniqueNameGenerator.counter)
dna_to_rna_map = { "G" : "C", "C" : "G", "T" : "A", "A" : "U" } def to_rna(dna_strand): return "".join([dna_to_rna_map[nuc] for nuc in dna_strand])
dna_to_rna_map = {'G': 'C', 'C': 'G', 'T': 'A', 'A': 'U'} def to_rna(dna_strand): return ''.join([dna_to_rna_map[nuc] for nuc in dna_strand])
# Design a hit counter which counts the number of hits received in the past 5 minutes. # # Each function accepts a timestamp parameter (in seconds granularity) and you may assume that calls are being made to the system in chronological order (ie, the timestamp is monotonically increasing). You may assume that the earliest timestamp starts at 1. # # It is possible that several hits arrive roughly at the same time. # # Example: # HitCounter counter = new HitCounter(); # # // hit at timestamp 1. # counter.hit(1); # # // hit at timestamp 2. # counter.hit(2); # # // hit at timestamp 3. # counter.hit(3); # # // get hits at timestamp 4, should return 3. # counter.getHits(4); # # // hit at timestamp 300. # counter.hit(300); # # // get hits at timestamp 300, should return 4. # counter.getHits(300); # # // get hits at timestamp 301, should return 3. # counter.getHits(301); # Follow up: # What if the number of hits per second could be very large? Does your design scale? class HitCounter(object): def __init__(self): """ Initialize your data structure here. """ self.count = 0 self.queue = [] def hit(self, timestamp): """ Record a hit. @param timestamp - The current timestamp (in seconds granularity). :type timestamp: int :rtype: void """ if not self.queue or self.queue[-1][0] != timestamp: self.queue.append([timestamp,1]) else: self.queue[-1][1] += 1 self.count += 1 def getHits(self, timestamp): """ Return the number of hits in the past 5 minutes. @param timestamp - The current timestamp (in seconds granularity). :type timestamp: int :rtype: int """ # move forward while self.queue and timestamp - self.queue[0][0] >= 300: self.count -= self.queue.pop(0)[1] return self.count # Your HitCounter object will be instantiated and called as such: # obj = HitCounter() # obj.hit(timestamp) # param_2 = obj.getHits(timestamp)
class Hitcounter(object): def __init__(self): """ Initialize your data structure here. """ self.count = 0 self.queue = [] def hit(self, timestamp): """ Record a hit. @param timestamp - The current timestamp (in seconds granularity). :type timestamp: int :rtype: void """ if not self.queue or self.queue[-1][0] != timestamp: self.queue.append([timestamp, 1]) else: self.queue[-1][1] += 1 self.count += 1 def get_hits(self, timestamp): """ Return the number of hits in the past 5 minutes. @param timestamp - The current timestamp (in seconds granularity). :type timestamp: int :rtype: int """ while self.queue and timestamp - self.queue[0][0] >= 300: self.count -= self.queue.pop(0)[1] return self.count
# Program untuk menampilkan belah ketupat print('\n==========Belah Ketupat==========\n') obj_1 = 1 for row_1 in range(6, 0, -1): for col_1 in range(row_1): print(' ', end='') for print_obj_1 in range(obj_1): print('#', end='') obj_1+=2 if row_1 == 1: obj_2 = 9 print('') for row_2 in range(2, 6+1, 1): for col_2 in range(row_2): print(' ', end='') for print_obj_2 in range(obj_2): print('#', end='') obj_2-=2 print('') print('')
print('\n==========Belah Ketupat==========\n') obj_1 = 1 for row_1 in range(6, 0, -1): for col_1 in range(row_1): print(' ', end='') for print_obj_1 in range(obj_1): print('#', end='') obj_1 += 2 if row_1 == 1: obj_2 = 9 print('') for row_2 in range(2, 6 + 1, 1): for col_2 in range(row_2): print(' ', end='') for print_obj_2 in range(obj_2): print('#', end='') obj_2 -= 2 print('') print('')
blocks = { 'CJK Unified Ideographs Extension A': (0x3400, 0x4DBF), 'CJK Unified Ideographs': (0x4E00, 0x9FFF), 'CJK Unified Ideographs Extension B': (0x20000, 0x2A6DF), 'CJK Unified Ideographs Extension C': (0x2A700, 0x2B73F), 'CJK Unified Ideographs Extension D': (0x2B740, 0x2B81F), 'CJK Unified Ideographs Extension E': (0x2B820, 0x2CEAF), 'CJK Unified Ideographs Extension F': (0x2CEB0, 0x2EBEF), 'CJK Unified Ideographs Extension G': (0x30000, 0x3134F), } for name, (start, end) in blocks.items(): with open(f'Tables/Character Sets/Unicode {name}.txt', 'w') as f: f.writelines(chr(i) + '\n' for i in range(start, end + 1))
blocks = {'CJK Unified Ideographs Extension A': (13312, 19903), 'CJK Unified Ideographs': (19968, 40959), 'CJK Unified Ideographs Extension B': (131072, 173791), 'CJK Unified Ideographs Extension C': (173824, 177983), 'CJK Unified Ideographs Extension D': (177984, 178207), 'CJK Unified Ideographs Extension E': (178208, 183983), 'CJK Unified Ideographs Extension F': (183984, 191471), 'CJK Unified Ideographs Extension G': (196608, 201551)} for (name, (start, end)) in blocks.items(): with open(f'Tables/Character Sets/Unicode {name}.txt', 'w') as f: f.writelines((chr(i) + '\n' for i in range(start, end + 1)))
#app = faust.App('myapp', broker='kafka://localhost') class QUANTAXIS_PUBSUBER(): def __init__(self, name, broker='rabbitmq://localhost'): self.exchange = name #@app.agent(value_type=Order) def agent(value_type=order): pass
class Quantaxis_Pubsuber: def __init__(self, name, broker='rabbitmq://localhost'): self.exchange = name def agent(value_type=order): pass
class Util: def __init__(self): pass @staticmethod def compress_uri(uri, base_uri, prefix_map): uri = uri.strip('<>') if uri.startswith(base_uri): return '<' + uri[len(base_uri):] + '>' for prefix, prefix_uri in prefix_map.items(): if uri.startswith(prefix_uri): return prefix + ':' + uri[len(prefix_uri):] return uri
class Util: def __init__(self): pass @staticmethod def compress_uri(uri, base_uri, prefix_map): uri = uri.strip('<>') if uri.startswith(base_uri): return '<' + uri[len(base_uri):] + '>' for (prefix, prefix_uri) in prefix_map.items(): if uri.startswith(prefix_uri): return prefix + ':' + uri[len(prefix_uri):] return uri
class Image(object): """Image. :param src: :type src: str :param alt: :type alt: str """ def __init__(self, data=None): if data is None: data = {} self.src = data.get('src', None) self.alt = data.get('alt', None)
class Image(object): """Image. :param src: :type src: str :param alt: :type alt: str """ def __init__(self, data=None): if data is None: data = {} self.src = data.get('src', None) self.alt = data.get('alt', None)
class ContactHelper: def __init__(self, app): self.app = app def open_add_contact_page(self): # open add creation new contact wd = self.app.wd wd.find_element_by_link_text("add new").click() def fill_form(self, contact): # fill contacts form wd = self.app.wd self.open_add_contact_page() wd.find_element_by_name("firstname").click() wd.find_element_by_name("firstname").clear() wd.find_element_by_name("firstname").send_keys(contact.first_name) wd.find_element_by_name("lastname").click() wd.find_element_by_name("lastname").clear() wd.find_element_by_name("lastname").send_keys(contact.last_name) wd.find_element_by_name("nickname").click() wd.find_element_by_name("nickname").clear() wd.find_element_by_name("nickname").send_keys(contact.nick) wd.find_element_by_name("home").click() wd.find_element_by_name("home").clear() wd.find_element_by_name("home").send_keys(contact.home_phone) wd.find_element_by_name("mobile").click() wd.find_element_by_name("mobile").clear() wd.find_element_by_name("mobile").send_keys(contact.mobile_phone) wd.find_element_by_name("email").click() wd.find_element_by_name("email").clear() wd.find_element_by_name("email").send_keys(contact.email) wd.find_element_by_xpath("//div[@id='content']/form/input[21]").click() self.back_to_contacts_list() def modification_first_contact(self, contact): wd = self.app.wd self.select_first_contact(wd) # find edit button wd.find_element_by_xpath("//table[@id='maintable']/tbody/tr[2]/td[8]/a/img").click() wd.find_element_by_name("firstname").click() wd.find_element_by_name("firstname").clear() wd.find_element_by_name("firstname").send_keys(contact.first_name) wd.find_element_by_name("lastname").click() wd.find_element_by_name("lastname").clear() wd.find_element_by_name("lastname").send_keys(contact.last_name) wd.find_element_by_name("nickname").click() wd.find_element_by_name("nickname").clear() wd.find_element_by_name("nickname").send_keys(contact.nick) wd.find_element_by_name("home").click() wd.find_element_by_name("home").clear() wd.find_element_by_name("home").send_keys(contact.home_phone) wd.find_element_by_name("mobile").click() wd.find_element_by_name("mobile").clear() wd.find_element_by_name("mobile").send_keys(contact.mobile_phone) wd.find_element_by_name("email").click() wd.find_element_by_name("email").clear() wd.find_element_by_name("email").send_keys(contact.email) wd.find_element_by_name("update").click() self.back_to_contacts_list() def delete_first_contact(self): wd = self.app.wd self.select_first_contact(wd) # find button delete wd.find_element_by_xpath("//div[@id='content']/form[2]/div[2]/input").click() wd.switch_to_alert().accept() self.back_to_contacts_list() def select_first_contact(self, wd): wd.find_element_by_name("selected[]").click() def back_to_contacts_list(self): wd = self.app.wd wd.find_element_by_link_text("home").click()
class Contacthelper: def __init__(self, app): self.app = app def open_add_contact_page(self): wd = self.app.wd wd.find_element_by_link_text('add new').click() def fill_form(self, contact): wd = self.app.wd self.open_add_contact_page() wd.find_element_by_name('firstname').click() wd.find_element_by_name('firstname').clear() wd.find_element_by_name('firstname').send_keys(contact.first_name) wd.find_element_by_name('lastname').click() wd.find_element_by_name('lastname').clear() wd.find_element_by_name('lastname').send_keys(contact.last_name) wd.find_element_by_name('nickname').click() wd.find_element_by_name('nickname').clear() wd.find_element_by_name('nickname').send_keys(contact.nick) wd.find_element_by_name('home').click() wd.find_element_by_name('home').clear() wd.find_element_by_name('home').send_keys(contact.home_phone) wd.find_element_by_name('mobile').click() wd.find_element_by_name('mobile').clear() wd.find_element_by_name('mobile').send_keys(contact.mobile_phone) wd.find_element_by_name('email').click() wd.find_element_by_name('email').clear() wd.find_element_by_name('email').send_keys(contact.email) wd.find_element_by_xpath("//div[@id='content']/form/input[21]").click() self.back_to_contacts_list() def modification_first_contact(self, contact): wd = self.app.wd self.select_first_contact(wd) wd.find_element_by_xpath("//table[@id='maintable']/tbody/tr[2]/td[8]/a/img").click() wd.find_element_by_name('firstname').click() wd.find_element_by_name('firstname').clear() wd.find_element_by_name('firstname').send_keys(contact.first_name) wd.find_element_by_name('lastname').click() wd.find_element_by_name('lastname').clear() wd.find_element_by_name('lastname').send_keys(contact.last_name) wd.find_element_by_name('nickname').click() wd.find_element_by_name('nickname').clear() wd.find_element_by_name('nickname').send_keys(contact.nick) wd.find_element_by_name('home').click() wd.find_element_by_name('home').clear() wd.find_element_by_name('home').send_keys(contact.home_phone) wd.find_element_by_name('mobile').click() wd.find_element_by_name('mobile').clear() wd.find_element_by_name('mobile').send_keys(contact.mobile_phone) wd.find_element_by_name('email').click() wd.find_element_by_name('email').clear() wd.find_element_by_name('email').send_keys(contact.email) wd.find_element_by_name('update').click() self.back_to_contacts_list() def delete_first_contact(self): wd = self.app.wd self.select_first_contact(wd) wd.find_element_by_xpath("//div[@id='content']/form[2]/div[2]/input").click() wd.switch_to_alert().accept() self.back_to_contacts_list() def select_first_contact(self, wd): wd.find_element_by_name('selected[]').click() def back_to_contacts_list(self): wd = self.app.wd wd.find_element_by_link_text('home').click()
MODEL_CONFIG = { 'unet':{ 'simplenet':{ 'in_channels':1, 'encoder_name':'simplenet', 'encoder_depth':5, 'encoder_channels':[32,64,128,256,512], #[1,2,4,8,16] 'encoder_weights':None, 'decoder_use_batchnorm':True, 'decoder_attention_type':None, 'decoder_channels':[256,128,64,32], #[8,4,2,1] 'upsampling':1, 'classes':2, 'aux_classifier': False }, 'swin_transformer':{ 'in_channels':1, 'encoder_name':'swin_transformer', 'encoder_depth':4, 'encoder_channels':[96,192,384,768], #[4,8,16,32] 'encoder_weights':None, 'decoder_use_batchnorm':True, 'decoder_attention_type':None, 'decoder_channels':[256,128,64], #[16,8,4] 'upsampling':4, 'classes':2, 'aux_classifier': False }, 'swinplusr18':{ 'in_channels':1, 'encoder_name':'swinplusr18', 'encoder_depth':5, 'encoder_channels':[64,64,128,256,512], #[2,4,8,16,32] 'encoder_weights':None, 'decoder_use_batchnorm':True, 'decoder_attention_type':None, 'decoder_channels':[256,128,64,32], #[16,8,4,2] 'upsampling':2, 'classes':2, 'aux_classifier': False } }, # att unet 'att_unet':{ 'simplenet':{ 'in_channels':1, 'encoder_name':'simplenet', 'encoder_depth':5, 'encoder_channels':[32,64,128,256,512], #[1,2,4,8,16] 'encoder_weights':None, 'decoder_use_batchnorm':True, 'decoder_attention_type':None, 'decoder_channels':[256,128,64,32], #[8,4,2,1] 'upsampling':1, 'classes':2, 'aux_classifier': False }, 'swin_transformer':{ 'in_channels':1, 'encoder_name':'swin_transformer', 'encoder_depth':4, 'encoder_channels':[96,192,384,768], #[4,8,16,32] 'encoder_weights':None, 'decoder_use_batchnorm':True, 'decoder_attention_type':None, 'decoder_channels':[256,128,64], #[16,8,4] 'upsampling':4, 'classes':2, 'aux_classifier': False }, 'resnet18':{ 'in_channels':1, 'encoder_name':'resnet18', 'encoder_depth':5, 'encoder_channels':[64,64,128,256,512], #[2,4,8,16,32] 'encoder_weights':None, 'decoder_use_batchnorm':True, 'decoder_attention_type':None, 'decoder_channels':[256,128,64,32], #[16,8,4,2] 'upsampling':2, 'classes':2, 'aux_classifier': False } }, # res unet 'res_unet':{ 'simplenet':{ 'in_channels':1, 'encoder_name':'simplenet_res', 'encoder_depth':5, 'encoder_channels':[32,64,128,256,512], #[1,2,4,8,16] 'encoder_weights':None, 'decoder_use_batchnorm':True, 'decoder_attention_type':None, 'decoder_channels':[256,128,64,32], #[8,4,2,1] 'upsampling':1, 'classes':2, 'aux_classifier': False }, 'resnet18':{ 'in_channels':1, 'encoder_name':'resnet18', 'encoder_depth':5, 'encoder_channels':[64,64,128,256,512], #[2,4,8,16,32] 'encoder_weights':None, 'decoder_use_batchnorm':True, 'decoder_attention_type':None, 'decoder_channels':[256,128,64,32], #[16,8,4,2] 'upsampling':2, 'classes':2, 'aux_classifier': False }, 'swinplusr18':{ 'in_channels':1, 'encoder_name':'swinplusr18', 'encoder_depth':5, 'encoder_channels':[64,64,128,256,512], #[2,4,8,16,32] 'encoder_weights':None, 'decoder_use_batchnorm':True, 'decoder_attention_type':None, 'decoder_channels':[256,128,64,32], #[16,8,4,2] 'upsampling':2, 'classes':2, 'aux_classifier': False } }, # deeplabv3+ 'deeplabv3+':{ 'swinplusr18':{ 'in_channels':1, 'encoder_name':'swinplusr18', 'encoder_weights':None, 'encoder_depth':5, 'encoder_channels':[64,64,128,256,512], #[2,4,8,16,32] 'encoder_output_stride':32, #[8,16,32] 'decoder_channels':256, #[4] 'decoder_atrous_rates':(12, 24, 36), 'upsampling':4, 'classes':2, 'aux_classifier': False } } }
model_config = {'unet': {'simplenet': {'in_channels': 1, 'encoder_name': 'simplenet', 'encoder_depth': 5, 'encoder_channels': [32, 64, 128, 256, 512], 'encoder_weights': None, 'decoder_use_batchnorm': True, 'decoder_attention_type': None, 'decoder_channels': [256, 128, 64, 32], 'upsampling': 1, 'classes': 2, 'aux_classifier': False}, 'swin_transformer': {'in_channels': 1, 'encoder_name': 'swin_transformer', 'encoder_depth': 4, 'encoder_channels': [96, 192, 384, 768], 'encoder_weights': None, 'decoder_use_batchnorm': True, 'decoder_attention_type': None, 'decoder_channels': [256, 128, 64], 'upsampling': 4, 'classes': 2, 'aux_classifier': False}, 'swinplusr18': {'in_channels': 1, 'encoder_name': 'swinplusr18', 'encoder_depth': 5, 'encoder_channels': [64, 64, 128, 256, 512], 'encoder_weights': None, 'decoder_use_batchnorm': True, 'decoder_attention_type': None, 'decoder_channels': [256, 128, 64, 32], 'upsampling': 2, 'classes': 2, 'aux_classifier': False}}, 'att_unet': {'simplenet': {'in_channels': 1, 'encoder_name': 'simplenet', 'encoder_depth': 5, 'encoder_channels': [32, 64, 128, 256, 512], 'encoder_weights': None, 'decoder_use_batchnorm': True, 'decoder_attention_type': None, 'decoder_channels': [256, 128, 64, 32], 'upsampling': 1, 'classes': 2, 'aux_classifier': False}, 'swin_transformer': {'in_channels': 1, 'encoder_name': 'swin_transformer', 'encoder_depth': 4, 'encoder_channels': [96, 192, 384, 768], 'encoder_weights': None, 'decoder_use_batchnorm': True, 'decoder_attention_type': None, 'decoder_channels': [256, 128, 64], 'upsampling': 4, 'classes': 2, 'aux_classifier': False}, 'resnet18': {'in_channels': 1, 'encoder_name': 'resnet18', 'encoder_depth': 5, 'encoder_channels': [64, 64, 128, 256, 512], 'encoder_weights': None, 'decoder_use_batchnorm': True, 'decoder_attention_type': None, 'decoder_channels': [256, 128, 64, 32], 'upsampling': 2, 'classes': 2, 'aux_classifier': False}}, 'res_unet': {'simplenet': {'in_channels': 1, 'encoder_name': 'simplenet_res', 'encoder_depth': 5, 'encoder_channels': [32, 64, 128, 256, 512], 'encoder_weights': None, 'decoder_use_batchnorm': True, 'decoder_attention_type': None, 'decoder_channels': [256, 128, 64, 32], 'upsampling': 1, 'classes': 2, 'aux_classifier': False}, 'resnet18': {'in_channels': 1, 'encoder_name': 'resnet18', 'encoder_depth': 5, 'encoder_channels': [64, 64, 128, 256, 512], 'encoder_weights': None, 'decoder_use_batchnorm': True, 'decoder_attention_type': None, 'decoder_channels': [256, 128, 64, 32], 'upsampling': 2, 'classes': 2, 'aux_classifier': False}, 'swinplusr18': {'in_channels': 1, 'encoder_name': 'swinplusr18', 'encoder_depth': 5, 'encoder_channels': [64, 64, 128, 256, 512], 'encoder_weights': None, 'decoder_use_batchnorm': True, 'decoder_attention_type': None, 'decoder_channels': [256, 128, 64, 32], 'upsampling': 2, 'classes': 2, 'aux_classifier': False}}, 'deeplabv3+': {'swinplusr18': {'in_channels': 1, 'encoder_name': 'swinplusr18', 'encoder_weights': None, 'encoder_depth': 5, 'encoder_channels': [64, 64, 128, 256, 512], 'encoder_output_stride': 32, 'decoder_channels': 256, 'decoder_atrous_rates': (12, 24, 36), 'upsampling': 4, 'classes': 2, 'aux_classifier': False}}}
# Python - 3.6.0 stock = { 'football': 4, 'boardgame': 10, 'leggos': 1, 'doll': 5 } test.assert_equals(fillable(stock, 'football', 3), True) test.assert_equals(fillable(stock, 'leggos', 2), False) test.assert_equals(fillable(stock, 'action figure', 1), False)
stock = {'football': 4, 'boardgame': 10, 'leggos': 1, 'doll': 5} test.assert_equals(fillable(stock, 'football', 3), True) test.assert_equals(fillable(stock, 'leggos', 2), False) test.assert_equals(fillable(stock, 'action figure', 1), False)
# How to Find the Smallest value largest_so_far = -1 print('Before', largest_so_far) for the_num in [1, 99, 24, 25, 56, 4, 57, 89, 5, 94, 21] : if the_num > largest_so_far : largest_so_far = the_num print(largest_so_far, the_num) print('After', largest_so_far)
largest_so_far = -1 print('Before', largest_so_far) for the_num in [1, 99, 24, 25, 56, 4, 57, 89, 5, 94, 21]: if the_num > largest_so_far: largest_so_far = the_num print(largest_so_far, the_num) print('After', largest_so_far)
"""Common utilities for dealing with paths.""" def filter_files(filetypes, files): """Filters a list of files based on a list of strings.""" filtered_files = [] for file_to_filter in files: for filetype in filetypes: filename = file_to_filter if type(file_to_filter) == "string" else file_to_filter.basename if filename.endswith(filetype): filtered_files.append(file_to_filter) break return filtered_files def relative_path(from_dir, to_path): """Returns the relative path from a directory to a path via the repo root.""" if to_path.startswith("/") or from_dir.startswith("/"): fail("Absolute paths are not supported.") if not from_dir: return to_path return "../" * len(from_dir.split("/")) + to_path def strip_extension(path): index = path.rfind(".") if index == -1: return path return path[0:index]
"""Common utilities for dealing with paths.""" def filter_files(filetypes, files): """Filters a list of files based on a list of strings.""" filtered_files = [] for file_to_filter in files: for filetype in filetypes: filename = file_to_filter if type(file_to_filter) == 'string' else file_to_filter.basename if filename.endswith(filetype): filtered_files.append(file_to_filter) break return filtered_files def relative_path(from_dir, to_path): """Returns the relative path from a directory to a path via the repo root.""" if to_path.startswith('/') or from_dir.startswith('/'): fail('Absolute paths are not supported.') if not from_dir: return to_path return '../' * len(from_dir.split('/')) + to_path def strip_extension(path): index = path.rfind('.') if index == -1: return path return path[0:index]
integers = [ 1, 6, 4, 3, 15, -2] print("integers[0] = ", integers[0]) print("integers[1] = ", integers[1]) print("integers[2] = ", integers[2]) print("integers[3] = ", integers[3]) print("integers[4] = ", integers[4]) print("integers[5] = ", integers[5])
integers = [1, 6, 4, 3, 15, -2] print('integers[0] = ', integers[0]) print('integers[1] = ', integers[1]) print('integers[2] = ', integers[2]) print('integers[3] = ', integers[3]) print('integers[4] = ', integers[4]) print('integers[5] = ', integers[5])
#!/usr/bin/env python3 """Find the element that appears once in sorted array. Given a sorted array A, size N, of integers; every element appears twice except for one. Find that element in linear time complexity and without using extra memory. Source: https://practice.geeksforgeeks.org/problems/find-the-element-that-appears-once-in-sorted-array/0 """ def find_unique_value(items: list): """Find the element that appears once in sorted array.""" unique = -1 for index, i in enumerate(items): # Set the unique value. Continue to next i value. if unique < 0: unique = i continue # If duplicate found and next is different, reset to -1. if unique == i and i != items[index + 1]: unique = -1 # Since list is sorted, once unique is greater than 0 # and i is less than unique break from loop. if unique > 0 and unique < i: break return unique def main(): print(find_unique_value( items=[1, 1, 1, 2, 2, 2, 3, 3, 4, 50, 50, 65, 65, ])) if __name__ == "__main__": main()
"""Find the element that appears once in sorted array. Given a sorted array A, size N, of integers; every element appears twice except for one. Find that element in linear time complexity and without using extra memory. Source: https://practice.geeksforgeeks.org/problems/find-the-element-that-appears-once-in-sorted-array/0 """ def find_unique_value(items: list): """Find the element that appears once in sorted array.""" unique = -1 for (index, i) in enumerate(items): if unique < 0: unique = i continue if unique == i and i != items[index + 1]: unique = -1 if unique > 0 and unique < i: break return unique def main(): print(find_unique_value(items=[1, 1, 1, 2, 2, 2, 3, 3, 4, 50, 50, 65, 65])) if __name__ == '__main__': main()
# # ### # # # letter = input ("Please enter a letter:\n") # if (letter == 'i'): # print ("am lettera vowela") # elif (letter== 'a'): # print("am lettera vowela") # if (letter == 'u'): # print ("am lettera vowela") # elif (letter== 'e'): # print("am lettera vowela") # if (letter == 'o'): # print('am lettera vowela') # else: # print("am lettera vowela nye") # # if (letter=='i') | (letter=='a')|(letter=='u')|(letter=='e'): # print('am lettera vowela') # else: # print('am lettera vowela') # txt="Hello i have a Aieroplane" # x=txt.split("hello", "i have a Aieroplane") # print(x) # # # for i in v: # if(i=='a' or i=='e' or i=='i' or i=='o' or i=='u'): # # print('i') # print('e') # print('a') # # # n=int(input("enter the number:")) # temp=n # rev=0 # while(n>0): # dig=n%10 # rev=rev*10+dig # n=n//10 # if(temp==rev): # print("The number is a palindrome!") # else: # print("The number is not a palindrome!") # # NUMBERS = ["zero", "one", "two","three","four","five","six","seven","eight","nine", # "ten"] # TENS = ["", "", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", # "ninety"] # HUNNITS = ["","hundred","thousand","million","billion","trillion"] # # n = eval(input("What is the number the you want to convert? ")) # def convert(): # if n >= 20: # tens = n // 10 # units = n % 10 # # if units != 0: # result = TENS[tens] + "-" + NUMBERS[units] # else: # result = TENS[tens] # else: # result = NUMBERS[n] # # print (result) # # def convert2(): # if n >=100: # tens2 = n//100 # units2 = n%100 # # if units2 != 0: # result2 = HUNNITS[tens2] + "-" + TENS[tens2] + "and" + NUMBERS[units2] # else: # result2 = HUNNITS[tens2] # else: # result2 = HUNNITS[n] # # print(result2) # def main(): # if n >=20 and n< 100: # x = convert() # if n >=100: # y = convert2() # # main() def check_vowels(): input_str = input("Enter string: ") str_without_space = input_str.replace(' ', '') if len([char for char in str_without_space if char in ['a', 'e', 'i', 'o', 'u']]) == len(input_str): print("input contains all the vowels") else: print("string does not have all the vowels") # def check_palindrom(): num = input("Enter number") if num == num[::-1]: print("input is palindrome") else: print("input is not a palindrome") check_palindrom() # def convert_Number_to_words(): dicto = {'0': 'zero', '1': 'one', '2': 'two', '3': 'three', '4': 'four', '5': 'five', '6': 'six', '7': 'seven', '8': 'eight', '9':'nine'} num = input("Enter number: ") try: for item in list(str(num)): print(dicto[item], end=' ') except KeyError: raise ("Invalid input")
def check_vowels(): input_str = input('Enter string: ') str_without_space = input_str.replace(' ', '') if len([char for char in str_without_space if char in ['a', 'e', 'i', 'o', 'u']]) == len(input_str): print('input contains all the vowels') else: print('string does not have all the vowels') def check_palindrom(): num = input('Enter number') if num == num[::-1]: print('input is palindrome') else: print('input is not a palindrome') check_palindrom() def convert__number_to_words(): dicto = {'0': 'zero', '1': 'one', '2': 'two', '3': 'three', '4': 'four', '5': 'five', '6': 'six', '7': 'seven', '8': 'eight', '9': 'nine'} num = input('Enter number: ') try: for item in list(str(num)): print(dicto[item], end=' ') except KeyError: raise 'Invalid input'
n = input() l = list(map(int,raw_input().split())) m = 0 mi = n-1 for i in range(n): if l[i]> l[m]: m=i if l[i]<=l[mi]: mi = i if mi>m: print (n+m-mi-1) else: print (n+m-mi-2)
n = input() l = list(map(int, raw_input().split())) m = 0 mi = n - 1 for i in range(n): if l[i] > l[m]: m = i if l[i] <= l[mi]: mi = i if mi > m: print(n + m - mi - 1) else: print(n + m - mi - 2)
class Solution(object): def processQueries(self, queries, m): """ :type queries: List[int] :type m: int :rtype: List[int] """ ans=[] P=range(1, m+1) for i in range(len(queries)): toPop=P.index(queries[i]) ans.append(toPop) P.insert(0, P.pop(toPop)) return ans
class Solution(object): def process_queries(self, queries, m): """ :type queries: List[int] :type m: int :rtype: List[int] """ ans = [] p = range(1, m + 1) for i in range(len(queries)): to_pop = P.index(queries[i]) ans.append(toPop) P.insert(0, P.pop(toPop)) return ans
'''Bet.py ''' class Bets: def __init__(self): self.win = 0 self.info = {"dealer":self.dealer, "player":self.player} def dealer(self, dealer): self.dealer = dealer def player(self, player): self.player = player def win(self): self.win = self.odds * self.bet def lose(self): return None def pass_bet(self): bet = int(input("How much are you betting?: ")) self.pass_line_bet = bet self.money -self.pass_line_bet return self.pass_line_bet def ask_bet(self, bet =0): if bet == 0: bet = int(input("How much are you betting?: ")) self.bet = bet self.money - self.bet else: self.bet = bet self.money - self.bet return self.bet def bet_the_pass_line(self): a = input("Are you betting With" \ "or Against the player? [W] or [A]: ") if a.upper() == "W": a = True else: a = False player.pass_line = a print("Dealer:",self.dealer.money," Player",player.money) self.dealer.money = self.dealer.money + bet print(self.dealer.money) txt =self.open_roll() print(txt) print(self.dealer.money) def get_hard_way_num(self, player, number = 0): player = player if number == 0: number = int(input("What number are we betting hard ways on: 2, 4, 6, 8, 10, 12?: ")) elif number == 2: player.hw_num print("Snake eyes! Cheeky monkey.") elif number == 4: player.hw_num elif number == 6: player.hw_num elif number == 8: player.hw_num elif number == 10: player.hw_num elif number == 12: player.hw_num print("BOX CARS!") else: print("Gotta be an even number Einstein! Try again... Please.") self.hard_way_num(self, player) bet = int(player.ask_bet()) return player.hw_num, bet def hard_way(self, bet): bet = int(bet) return 30 * bet def select_bet(self, player): player = player b = None while b == None: print("Select from a bet below: ") print("**************************") print("[1] Hard Ways bet") print("We automatically select" \ "hard ways for testing.") b = 1 if b == 1: print("Hard ways bet") player.funds() bet = self.hard_way_num(player) number = bet[0] hw_amount = bet[1] #amount bet player.money = player.money - hw_amount self.dealer.collect_bet(number, hw_amount) def main(): bet = Bets() #print(bet.attr) if __name__ == "__main__": main()
"""Bet.py """ class Bets: def __init__(self): self.win = 0 self.info = {'dealer': self.dealer, 'player': self.player} def dealer(self, dealer): self.dealer = dealer def player(self, player): self.player = player def win(self): self.win = self.odds * self.bet def lose(self): return None def pass_bet(self): bet = int(input('How much are you betting?: ')) self.pass_line_bet = bet self.money - self.pass_line_bet return self.pass_line_bet def ask_bet(self, bet=0): if bet == 0: bet = int(input('How much are you betting?: ')) self.bet = bet self.money - self.bet else: self.bet = bet self.money - self.bet return self.bet def bet_the_pass_line(self): a = input('Are you betting Withor Against the player? [W] or [A]: ') if a.upper() == 'W': a = True else: a = False player.pass_line = a print('Dealer:', self.dealer.money, ' Player', player.money) self.dealer.money = self.dealer.money + bet print(self.dealer.money) txt = self.open_roll() print(txt) print(self.dealer.money) def get_hard_way_num(self, player, number=0): player = player if number == 0: number = int(input('What number are we betting hard ways on: 2, 4, 6, 8, 10, 12?: ')) elif number == 2: player.hw_num print('Snake eyes! Cheeky monkey.') elif number == 4: player.hw_num elif number == 6: player.hw_num elif number == 8: player.hw_num elif number == 10: player.hw_num elif number == 12: player.hw_num print('BOX CARS!') else: print('Gotta be an even number Einstein! Try again... Please.') self.hard_way_num(self, player) bet = int(player.ask_bet()) return (player.hw_num, bet) def hard_way(self, bet): bet = int(bet) return 30 * bet def select_bet(self, player): player = player b = None while b == None: print('Select from a bet below: ') print('**************************') print('[1] Hard Ways bet') print('We automatically selecthard ways for testing.') b = 1 if b == 1: print('Hard ways bet') player.funds() bet = self.hard_way_num(player) number = bet[0] hw_amount = bet[1] player.money = player.money - hw_amount self.dealer.collect_bet(number, hw_amount) def main(): bet = bets() if __name__ == '__main__': main()
#!/usr/bin/python with open('INCAR', 'r') as file: lines=file.readlines() for n,i in enumerate(lines): if 'MAGMOM' in i: # print(i) items=i.split() index=items.index('=') moments=items[index+1:] # print(moments) magmom='' size=4 for i in range(len(moments)//3): k=' '.join(k for k in moments[3*i:3*i+3]) magmom+=(k+' ')*size print(magmom)
with open('INCAR', 'r') as file: lines = file.readlines() for (n, i) in enumerate(lines): if 'MAGMOM' in i: items = i.split() index = items.index('=') moments = items[index + 1:] magmom = '' size = 4 for i in range(len(moments) // 3): k = ' '.join((k for k in moments[3 * i:3 * i + 3])) magmom += (k + ' ') * size print(magmom)
class text: def __init__(self,text,*,thin=False,cancel=False,underline=False,bold=False,Italic=False,hide=False,Bg="black",Txt="white"): self.__color={ "black":30, "red":31, "green":32, "yellow":33, "blue":34, "mazenta":35, "cian":36, "white":37 } self.underline="" if underline:self.underline="\033[4m" self.bold="" if bold:self.bold="\033[1m" self.italic="" if Italic:self.italic="\033[3m" self.hide="" if hide:self.hide=="\033[8m" self.cancel="" if cancel:self.cancel=="\033[9m" self.thin="" if thin:self.thin=="\033[9m" self.bg="\033["+str(self.__color[Bg]+10)+"m" self.txt="\033["+str(self.__color[Txt])+"m" self.text=self.cancel+self.thin+self.underline+self.bold+self.italic+self.bg+self.hide+self.txt+text+"\033[m" useable_color=[ "black", "red", "green", "yellow", "blue", "mazenta", "cian", "white" ] def move_up(n=1): print("\033["+str(n)+"A") def move_up_start(n=1): print("\033["+str(n)+"E") def move_down(n=1): print("\033["+str(n)+"B") def move_down_start(n=1): print("\033["+str(n)+"F") def move_right(n=1): print("\033["+str(n)+"C") def move_left(n=1): print("\033["+str(n)+"D") def clear_before(): print("\033[1") def clear_after(): print("\033[0") def clear_all(): print("\033[2") def clear_line_before(): print("\033[1K") def clear_line_after(): print("\033[0K") def clear_line_all(): print("\033[2K") def scroll_before(n): print("\033["+str(n)+"T") def scroll_after(n): print("\033["+str(n)+"S") class canvas: def __init__(self,*,width=10,height=5): self.__width=width self.__height=height print(str(" "*self.__width,"\n")*height) #print(text("test",cancel=True,thin=True,underline=True,bold=True,Txt="mazenta",Bg="cian").text) #scroll_before(20)
class Text: def __init__(self, text, *, thin=False, cancel=False, underline=False, bold=False, Italic=False, hide=False, Bg='black', Txt='white'): self.__color = {'black': 30, 'red': 31, 'green': 32, 'yellow': 33, 'blue': 34, 'mazenta': 35, 'cian': 36, 'white': 37} self.underline = '' if underline: self.underline = '\x1b[4m' self.bold = '' if bold: self.bold = '\x1b[1m' self.italic = '' if Italic: self.italic = '\x1b[3m' self.hide = '' if hide: self.hide == '\x1b[8m' self.cancel = '' if cancel: self.cancel == '\x1b[9m' self.thin = '' if thin: self.thin == '\x1b[9m' self.bg = '\x1b[' + str(self.__color[Bg] + 10) + 'm' self.txt = '\x1b[' + str(self.__color[Txt]) + 'm' self.text = self.cancel + self.thin + self.underline + self.bold + self.italic + self.bg + self.hide + self.txt + text + '\x1b[m' useable_color = ['black', 'red', 'green', 'yellow', 'blue', 'mazenta', 'cian', 'white'] def move_up(n=1): print('\x1b[' + str(n) + 'A') def move_up_start(n=1): print('\x1b[' + str(n) + 'E') def move_down(n=1): print('\x1b[' + str(n) + 'B') def move_down_start(n=1): print('\x1b[' + str(n) + 'F') def move_right(n=1): print('\x1b[' + str(n) + 'C') def move_left(n=1): print('\x1b[' + str(n) + 'D') def clear_before(): print('\x1b[1') def clear_after(): print('\x1b[0') def clear_all(): print('\x1b[2') def clear_line_before(): print('\x1b[1K') def clear_line_after(): print('\x1b[0K') def clear_line_all(): print('\x1b[2K') def scroll_before(n): print('\x1b[' + str(n) + 'T') def scroll_after(n): print('\x1b[' + str(n) + 'S') class Canvas: def __init__(self, *, width=10, height=5): self.__width = width self.__height = height print(str(' ' * self.__width, '\n') * height)
# 23. Merge k Sorted Lists # Runtime: 148 ms, faster than 33.74% of Python3 online submissions for Merge k Sorted Lists. # Memory Usage: 17.8 MB, less than 82.01% of Python3 online submissions for Merge k Sorted Lists. # Definition for singly-linked list. # class ListNode: # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution: # Merge with Divide And Conquer def mergeKLists(self, lists: list[ListNode]) -> ListNode: def merge_two_lists(list1: ListNode, list2: ListNode) -> ListNode: head = ListNode() curr = head while list1 and list2: if list1.val < list2.val: curr.next = list1 list1 = list1.next else: curr.next = list2 list2 = list2.next curr = curr.next if list1: curr.next = list1 else: curr.next = list2 return head.next while len(lists) > 1: new_lists = [] for i in range(0, len(lists) - 1, 2): new_lists.append(merge_two_lists(lists[i], lists[i + 1])) if len(lists) % 2 != 0: new_lists.append(lists[-1]) lists = new_lists return lists[0] if lists else None
class Solution: def merge_k_lists(self, lists: list[ListNode]) -> ListNode: def merge_two_lists(list1: ListNode, list2: ListNode) -> ListNode: head = list_node() curr = head while list1 and list2: if list1.val < list2.val: curr.next = list1 list1 = list1.next else: curr.next = list2 list2 = list2.next curr = curr.next if list1: curr.next = list1 else: curr.next = list2 return head.next while len(lists) > 1: new_lists = [] for i in range(0, len(lists) - 1, 2): new_lists.append(merge_two_lists(lists[i], lists[i + 1])) if len(lists) % 2 != 0: new_lists.append(lists[-1]) lists = new_lists return lists[0] if lists else None
configuration = None def init(): global configuration configuration = None
configuration = None def init(): global configuration configuration = None
class FileSourceDepleted(Exception): """Exception raised when attempting to read from a depleted source file Attributes: filepath(str): path to depleted file message(str): error message """ def __init__(self, filepath: str, message: str = "File source is depleted"): """Construct FileSourceDepleted :param filepath: path to depleted file :type filepath: str :param message: error message :type message: str """ self.filepath = filepath self.message = message super().__init__(message) def __str__(self) -> str: """Get the informal string representation of the error :return: full error message :rtype: str """ return f"{self.filepath}: {self.message}"
class Filesourcedepleted(Exception): """Exception raised when attempting to read from a depleted source file Attributes: filepath(str): path to depleted file message(str): error message """ def __init__(self, filepath: str, message: str='File source is depleted'): """Construct FileSourceDepleted :param filepath: path to depleted file :type filepath: str :param message: error message :type message: str """ self.filepath = filepath self.message = message super().__init__(message) def __str__(self) -> str: """Get the informal string representation of the error :return: full error message :rtype: str """ return f'{self.filepath}: {self.message}'
class ArpProperties(object): def __init__(self, bpm, base_note, pitch_value): self.bpm = bpm self.base_note = base_note self.pitch = pitch_value
class Arpproperties(object): def __init__(self, bpm, base_note, pitch_value): self.bpm = bpm self.base_note = base_note self.pitch = pitch_value
# Day26 of 100 Days Of Code in Python # get common numbers from two files using list comprehension with open("file1.txt") as file1: file1_data = file1.readlines() with open("file2.txt") as file2: file2_data = file2.readlines() result = [int(item) for item in file1_data if item in file2_data] print(result)
with open('file1.txt') as file1: file1_data = file1.readlines() with open('file2.txt') as file2: file2_data = file2.readlines() result = [int(item) for item in file1_data if item in file2_data] print(result)
pricelist = [] price = "" while price != "kolar": print(""" \n\nThe following things are what you can do whith this program. 0 = Exit 1 = Show pricelist 2 = Add price 3 = Delete pricelist 4 = Sort pricelist """) choice = input(" \n Choice : ") if choice == "0": print ("\n ***GOOD BYE***") elif choice == "1": print ("\n The following is the list of this program \n") for item in pricelist: print (item) elif choice == "2": add = int(input("\n Add any price you like sir : ")) pricelist.append(add) elif choice == "3": delete = int(input("\n Please Type number you wanna delete : ")) if delete in pricelist: pricelist.remove(delete) else: print (delete), ("\n not in our pricelist") elif choice == "4": pricelist.sort() else: print ("\n Hello can't you read English \n yout choice is : ") , "choice"
pricelist = [] price = '' while price != 'kolar': print(' \n\nThe following things are \nwhat you can do whith this program.\n \t\n \t 0 = Exit\n \t 1 = Show pricelist\n \t 2 = Add price\n \t 3 = Delete pricelist\n \t 4 = Sort pricelist ') choice = input(' \n Choice : ') if choice == '0': print('\n ***GOOD BYE***') elif choice == '1': print('\n The following is the list of this program \n') for item in pricelist: print(item) elif choice == '2': add = int(input('\n Add any price you like sir : ')) pricelist.append(add) elif choice == '3': delete = int(input('\n Please Type number you wanna delete : ')) if delete in pricelist: pricelist.remove(delete) else: (print(delete), '\n not in our pricelist') elif choice == '4': pricelist.sort() else: (print("\n Hello can't you read English \n yout choice is : "),) 'choice'
#!/usr/bin/python3 # Problem : https://code.google.com/codejam/contest/351101/dashboard#s=p0 __author__ = 'Varun Barad' def main(): no_of_test_cases = int(input()) for i in range(no_of_test_cases): credit = int(input()) no_of_items = int(input()) items = input().split(' ') for j in range(no_of_items): items[j] = int(items[j]) for j in range(no_of_items): if (credit-items[j]) in items[(j+1):]: break print('Case #{0}: {1} {2}'.format((i+1), (j+1), (items[(j+1):].index(credit-items[j])+j+2))) if __name__ == '__main__': main()
__author__ = 'Varun Barad' def main(): no_of_test_cases = int(input()) for i in range(no_of_test_cases): credit = int(input()) no_of_items = int(input()) items = input().split(' ') for j in range(no_of_items): items[j] = int(items[j]) for j in range(no_of_items): if credit - items[j] in items[j + 1:]: break print('Case #{0}: {1} {2}'.format(i + 1, j + 1, items[j + 1:].index(credit - items[j]) + j + 2)) if __name__ == '__main__': main()
def dibujo (base,altura): dibujo=print("x"*base) for fila in range (altura): print("x"+" "*(base-2)+"x") dibujo=print("x"*base) dibujo(7,5)
def dibujo(base, altura): dibujo = print('x' * base) for fila in range(altura): print('x' + ' ' * (base - 2) + 'x') dibujo = print('x' * base) dibujo(7, 5)