content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
class RotationMatrix(object): def __init__(self, M, N, entries): self.M, self.N = M, N self.entries = dict(entries) self.tier_index = self._create_tier_index() def __str__(self): string = "" for i in range(self.M): for j in range(self.N): sep = " " if j < self.N-1 else "\n" string += str(self.entries[(i,j)]) + sep return string def rotate_matrix(self, R): for index in self.tier_index: tier_copy = {key:self.entries[key] for key in index} for list_index, key in enumerate(index): rkey = index[(list_index + R + 1) % len(index) - 1] self.entries[rkey] = tier_copy[key] def _create_tier_index(self): row, col, tier_index = 0, 0, [] directions = [(1, 0), (0, 1), (-1, 0), (0, -1)] while self.M - 2 * row > 0 and self.N - 2 * col > 0: i, j = row, col tier_list = [] for move in directions: while True: if i + move[0] > self.M - row - 1 or i + move[0] < row or \ j + move[1] > self.N - col - 1 or j + move[1] < col: break else: i, j = i + move[0], j + move[1] tier_list.append((i, j)) tier_index.append(tier_list) row, col = row + 1, col + 1 return tier_index M, N, R = [int(value) for value in input().split()] mat = {} for i in range(M): values = input().split() for j in range(N): mat[(i,j)] = int(values[j]) A = RotationMatrix(M, N, mat) A.rotate_matrix(R) print(A)
class Rotationmatrix(object): def __init__(self, M, N, entries): (self.M, self.N) = (M, N) self.entries = dict(entries) self.tier_index = self._create_tier_index() def __str__(self): string = '' for i in range(self.M): for j in range(self.N): sep = ' ' if j < self.N - 1 else '\n' string += str(self.entries[i, j]) + sep return string def rotate_matrix(self, R): for index in self.tier_index: tier_copy = {key: self.entries[key] for key in index} for (list_index, key) in enumerate(index): rkey = index[(list_index + R + 1) % len(index) - 1] self.entries[rkey] = tier_copy[key] def _create_tier_index(self): (row, col, tier_index) = (0, 0, []) directions = [(1, 0), (0, 1), (-1, 0), (0, -1)] while self.M - 2 * row > 0 and self.N - 2 * col > 0: (i, j) = (row, col) tier_list = [] for move in directions: while True: if i + move[0] > self.M - row - 1 or i + move[0] < row or j + move[1] > self.N - col - 1 or (j + move[1] < col): break else: (i, j) = (i + move[0], j + move[1]) tier_list.append((i, j)) tier_index.append(tier_list) (row, col) = (row + 1, col + 1) return tier_index (m, n, r) = [int(value) for value in input().split()] mat = {} for i in range(M): values = input().split() for j in range(N): mat[i, j] = int(values[j]) a = rotation_matrix(M, N, mat) A.rotate_matrix(R) print(A)
__version__ = "0.0.10" __description__ = "Python client for interfacing with NTCore" __license__ = "Apache 2.0" __maintainer__ = "NTCore" __maintainer_email__ = "info@nantutech.com" __title__ = "ntcore" __url__ = "https://www.nantu.io/"
__version__ = '0.0.10' __description__ = 'Python client for interfacing with NTCore' __license__ = 'Apache 2.0' __maintainer__ = 'NTCore' __maintainer_email__ = 'info@nantutech.com' __title__ = 'ntcore' __url__ = 'https://www.nantu.io/'
def get_the_2nd_lower( stu_list ): min_grade = min( stu_list, key = lambda x: x[1])[1] #print( min_grade ) stu_list_without_lowest = [ s for s in stu_list if s[1] != min_grade] # sort with student's name of ascending order stu_list_without_lowest.sort( key = lambda x:x[0]) # get second lower grade second_lower = min( stu_list_without_lowest, key = lambda x: x[1])[1] for s in stu_list_without_lowest: #print( s[0] ) #print( s[1] ) if s[1] == second_lower: print(s[0]) return if __name__ == '__main__': student_list = [] for _ in range(int(input())): name = input() score = float(input()) student_list.append( list([name, score]) ) get_the_2nd_lower( student_list )
def get_the_2nd_lower(stu_list): min_grade = min(stu_list, key=lambda x: x[1])[1] stu_list_without_lowest = [s for s in stu_list if s[1] != min_grade] stu_list_without_lowest.sort(key=lambda x: x[0]) second_lower = min(stu_list_without_lowest, key=lambda x: x[1])[1] for s in stu_list_without_lowest: if s[1] == second_lower: print(s[0]) return if __name__ == '__main__': student_list = [] for _ in range(int(input())): name = input() score = float(input()) student_list.append(list([name, score])) get_the_2nd_lower(student_list)
def padovan(n): res=[1,1,1] for i in range(n-2): res.append(res[-2]+res[-3]) return res[n]
def padovan(n): res = [1, 1, 1] for i in range(n - 2): res.append(res[-2] + res[-3]) return res[n]
# Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None # Recursive DFS class Solution: def maxDepth(self, root: TreeNode) -> int: if root == None: return 0 else: left_height = self.maxDepth(root.left) right_height = self.maxDepth(root.right) return max(left_height, right_height) + 1 # BFS class Solution2: def maxDepth(self, root: TreeNode) -> int: if root == None: return 0 queue = [root] dep = 0 while len(queue) != 0: l = len(queue) while l : current = queue.pop(0) if current.left: queue.append(current.left) if current.right: queue.append(current.right) l -= 1 if l == 0: dep += 1 return dep
class Treenode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def max_depth(self, root: TreeNode) -> int: if root == None: return 0 else: left_height = self.maxDepth(root.left) right_height = self.maxDepth(root.right) return max(left_height, right_height) + 1 class Solution2: def max_depth(self, root: TreeNode) -> int: if root == None: return 0 queue = [root] dep = 0 while len(queue) != 0: l = len(queue) while l: current = queue.pop(0) if current.left: queue.append(current.left) if current.right: queue.append(current.right) l -= 1 if l == 0: dep += 1 return dep
# Copyright (c) 2020, Vercer Ltd. Rights set out in LICENCE.txt class StatementAlreadyPreparedException(Exception): pass class StatementNotPreparedException(Exception): pass class PreparedQueryNotSupported(Exception): pass class CannotAlterPreparedStatementQuerySet(Exception): pass class PreparedStatementNotYetExecuted(Exception): pass class StatementNotRegistered(Exception): pass
class Statementalreadypreparedexception(Exception): pass class Statementnotpreparedexception(Exception): pass class Preparedquerynotsupported(Exception): pass class Cannotalterpreparedstatementqueryset(Exception): pass class Preparedstatementnotyetexecuted(Exception): pass class Statementnotregistered(Exception): pass
__version__ = ( '1.2' ".3" ) __custom__ = 42
__version__ = '1.2.3' __custom__ = 42
TITLE = "Jumpy Boi" # screen dims WIDTH = 1280 HEIGHT = 760 # frames per second FPS = 60 # colors WHITE = (255, 255, 255) BLACK = (0,0,0) REDDISH = (240,55,66) SKY_BLUE = (143, 185, 252) BROWN = (153, 140, 113) GRAY = (110, 160, 149) DARK_BLUE = (0, 23, 176) FONT_NAME = 'arial' SPRITESHEET = "spritesheet_jumper.png" # data files HS_FILE = "highscore.txt" # player settings PLAYER_ACC = 0.75 PLAYER_FRICTION = -0.12 PLAYER_GRAV = 0.8 PLAYER_JUMP = 25 # game settings BOOST_POWER = 60 POW_SPAWN_PCT = 8 MOB_FREQ = 500 # layers - uses numerical value in layered sprites PLAYER_LAYER = 3 PLATFORM_LAYER = 2 POW_LAYER = 4 MOB_LAYER = 3 CLOUD_LAYER = 1 BACKGROUND_LAYER = 0 # platform settings PLATFORM_LIST = [(25, HEIGHT - 40), (WIDTH/2, HEIGHT - 200), (20, HEIGHT - 350), (500, HEIGHT - 150), (800, HEIGHT - 450), (-20, HEIGHT - 350), (-500, HEIGHT - 150), (-10, HEIGHT - 550), (500, HEIGHT - 150), (60, HEIGHT - 300), (530, HEIGHT - 250), ]
title = 'Jumpy Boi' width = 1280 height = 760 fps = 60 white = (255, 255, 255) black = (0, 0, 0) reddish = (240, 55, 66) sky_blue = (143, 185, 252) brown = (153, 140, 113) gray = (110, 160, 149) dark_blue = (0, 23, 176) font_name = 'arial' spritesheet = 'spritesheet_jumper.png' hs_file = 'highscore.txt' player_acc = 0.75 player_friction = -0.12 player_grav = 0.8 player_jump = 25 boost_power = 60 pow_spawn_pct = 8 mob_freq = 500 player_layer = 3 platform_layer = 2 pow_layer = 4 mob_layer = 3 cloud_layer = 1 background_layer = 0 platform_list = [(25, HEIGHT - 40), (WIDTH / 2, HEIGHT - 200), (20, HEIGHT - 350), (500, HEIGHT - 150), (800, HEIGHT - 450), (-20, HEIGHT - 350), (-500, HEIGHT - 150), (-10, HEIGHT - 550), (500, HEIGHT - 150), (60, HEIGHT - 300), (530, HEIGHT - 250)]
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Copyright (C) 2021-2022 F4PGA Authors. # # Use of this source code is governed by a ISC-style # license that can be found in the LICENSE file or at # https://opensource.org/licenses/ISC # # SPDX-License-Identifier: ISC # -- General configuration ------------------------------------------------ extensions = [] templates_path = ['_templates'] source_suffix = '.rst' master_doc = 'index' project = 'fpga-interchange-tests' copyright = '2020, Various' author = 'Various' # The short X.Y version. version = '0.1' # The full version, including alpha/beta/rc tags. release = '0.1' language = None exclude_patterns = [] pygments_style = 'default' todo_include_todos = False # -- Options for HTML output ---------------------------------------------- html_show_sourcelink = True html_theme = 'sphinx_f4pga_theme' html_theme_options = { 'repo_name': 'chipsalliance/fpga-interchange-tests', 'github_url' : 'https://github.com/chipsalliance/fpga-interchange-tests', 'globaltoc_collapse': True, 'color_primary': 'indigo', 'color_accent': 'blue', } # -- Options for HTMLHelp output ------------------------------------------ # Output file base name for HTML help builder. htmlhelp_basename = 'fpga-interchange-tests' # -- Options for LaTeX output --------------------------------------------- latex_elements = {} latex_documents = [ ( master_doc, 'fpga-interchange-tests.tex', 'fpga-interchange-tests Design support status', 'Various', 'manual' ), ] # -- Options for manual page output --------------------------------------- man_pages = [ ( master_doc, 'fpga-interchange-tests', 'fpga-interchange-tests Design support status', [author], 1 ) ] # -- Options for Texinfo output ------------------------------------------- texinfo_documents = [ ( master_doc, 'fpga-interchange-tests', 'fpga-interchange-tests Design status', author, 'fpga-interchange-tests', 'FPGA interchange design support status', 'Miscellaneous' ), ]
extensions = [] templates_path = ['_templates'] source_suffix = '.rst' master_doc = 'index' project = 'fpga-interchange-tests' copyright = '2020, Various' author = 'Various' version = '0.1' release = '0.1' language = None exclude_patterns = [] pygments_style = 'default' todo_include_todos = False html_show_sourcelink = True html_theme = 'sphinx_f4pga_theme' html_theme_options = {'repo_name': 'chipsalliance/fpga-interchange-tests', 'github_url': 'https://github.com/chipsalliance/fpga-interchange-tests', 'globaltoc_collapse': True, 'color_primary': 'indigo', 'color_accent': 'blue'} htmlhelp_basename = 'fpga-interchange-tests' latex_elements = {} latex_documents = [(master_doc, 'fpga-interchange-tests.tex', 'fpga-interchange-tests Design support status', 'Various', 'manual')] man_pages = [(master_doc, 'fpga-interchange-tests', 'fpga-interchange-tests Design support status', [author], 1)] texinfo_documents = [(master_doc, 'fpga-interchange-tests', 'fpga-interchange-tests Design status', author, 'fpga-interchange-tests', 'FPGA interchange design support status', 'Miscellaneous')]
mail = "To Tax authortiy, Last year earnings of our consultants are given as below (in GBP)\n \ Sirish Dhulipala: 4000 for Jan, 4100 for Feb, 4200 For March, 3900 for April, 4000 May, 4100 June, 4000 July, 4000 August, 4000 September, 4000 October, 4000 November, 4000 December \n \ Anand Reddy: 18000 for first half and 20000 for second half of year \n \ Vinay Kallu: 9400 for Q1, 9800 for Q2, 9700 for Q3, 9500 for Q4"
mail = 'To Tax authortiy, Last year earnings of our consultants are given as below (in GBP)\n Sirish Dhulipala: 4000 for Jan, 4100 for Feb, 4200 For March, 3900 for April, 4000 May, 4100 June, 4000 July, 4000 August, 4000 September, 4000 October, 4000 November, 4000 December \n Anand Reddy: 18000 for first half and 20000 for second half of year \n Vinay Kallu: 9400 for Q1, 9800 for Q2, 9700 for Q3, 9500 for Q4'
''' 2^(15) = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26. What is the sum of the digits of the number 2^(1000)? ''' n = 0 for _ in list(map(int, list(str(2**1000)))): n += _ print(n)
""" 2^(15) = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26. What is the sum of the digits of the number 2^(1000)? """ n = 0 for _ in list(map(int, list(str(2 ** 1000)))): n += _ print(n)
SAMTRYGG_JSON_API_URL = 'https://www.samtrygg.se/RentalObject/SearchResult' SAMTRYGG_DATASTORE_FILEPATH = '/datastore/samtrygg_data.json' SAMTRYGG_PROCESSED_DATASTORE_FILEPATH = '/datastore/processed_samtrygg_data.json' SAMTRYGG_PROCESSED_UNSEEN_DATASTORE_FILEPATH = '/datastore/processed_unseen_samtrygg_data.json'
samtrygg_json_api_url = 'https://www.samtrygg.se/RentalObject/SearchResult' samtrygg_datastore_filepath = '/datastore/samtrygg_data.json' samtrygg_processed_datastore_filepath = '/datastore/processed_samtrygg_data.json' samtrygg_processed_unseen_datastore_filepath = '/datastore/processed_unseen_samtrygg_data.json'
colors = { "Light": { "BackgroundColor": [1, 0, 1, .2], "TabColor": [1, 0, 1, .3], "ThemeColor": [1, 0, 1, 1], "BottomStatusColor": [.9, 0.9, 1, .8], "PrimaryTextColor": [0, 0, 0, 1], "SecondaryTextColor": [0, 0, 0, .5], "SelectorHoverColor": [.7, .7, .7, .5], "SelectorActiveColor": [1, 0, 1, 1], "SelectorNormalColor": [1, 1, 1, .7] }, "Dark": { "BackgroundColor": [0.05, 0.05, .05, 1], "TabColor": [0.05, 0.05, .05, .5], "ThemeColor": [1, 0, 1, 1], "BottomStatusColor": [1, 0, 1, .5], "PrimaryTextColor": [1, 1, 1, 1], "SecondaryTextColor": [1, 1, 1, .6], "SelectorHoverColor": [.3, .3, .3, .5], "SelectorActiveColor": [1, 0, 1, .5], "SelectorNormalColor": [.1, .1, .1, .3] } } def get_color(style, color_type): return colors[style][color_type]
colors = {'Light': {'BackgroundColor': [1, 0, 1, 0.2], 'TabColor': [1, 0, 1, 0.3], 'ThemeColor': [1, 0, 1, 1], 'BottomStatusColor': [0.9, 0.9, 1, 0.8], 'PrimaryTextColor': [0, 0, 0, 1], 'SecondaryTextColor': [0, 0, 0, 0.5], 'SelectorHoverColor': [0.7, 0.7, 0.7, 0.5], 'SelectorActiveColor': [1, 0, 1, 1], 'SelectorNormalColor': [1, 1, 1, 0.7]}, 'Dark': {'BackgroundColor': [0.05, 0.05, 0.05, 1], 'TabColor': [0.05, 0.05, 0.05, 0.5], 'ThemeColor': [1, 0, 1, 1], 'BottomStatusColor': [1, 0, 1, 0.5], 'PrimaryTextColor': [1, 1, 1, 1], 'SecondaryTextColor': [1, 1, 1, 0.6], 'SelectorHoverColor': [0.3, 0.3, 0.3, 0.5], 'SelectorActiveColor': [1, 0, 1, 0.5], 'SelectorNormalColor': [0.1, 0.1, 0.1, 0.3]}} def get_color(style, color_type): return colors[style][color_type]
while True: line = input().split(' ') n = int(line[0]) n2 = int(line[1]) if n == n2 and n == 0: break num = line[1].replace(line[0], '') print(int(num) if num != '' else 0)
while True: line = input().split(' ') n = int(line[0]) n2 = int(line[1]) if n == n2 and n == 0: break num = line[1].replace(line[0], '') print(int(num) if num != '' else 0)
def sort_twisted37(arr): return sorted(arr, key=lambda x: convert(x)) def convert(n): if "3" not in str(n) and "7" not in str(n): return n neg_flag=True if n<0 else False n=abs(n) total=0 for i in str(n): if i=="3": total=total*10+7 elif i=="7": total=total*10+3 else: total=total*10+int(i) return -total if neg_flag else total
def sort_twisted37(arr): return sorted(arr, key=lambda x: convert(x)) def convert(n): if '3' not in str(n) and '7' not in str(n): return n neg_flag = True if n < 0 else False n = abs(n) total = 0 for i in str(n): if i == '3': total = total * 10 + 7 elif i == '7': total = total * 10 + 3 else: total = total * 10 + int(i) return -total if neg_flag else total
## # DATA_ENCODING: # # In order to transmit data in a serialized format, string objects need to be encoded. Otherwise, # it is unclear how the characters are translated into raw bytes on the wire. This value should be # consistent with the encoding used on the flight software that is being communicated with. # # Traditional C/C++ strings typically use "ascii" encoding. Hence being used here. However, should # F prime be updated to use some other encoding, this value may be changed. # DATA_ENCODING = "ascii"
data_encoding = 'ascii'
#bear in mind, this is log(n) def binary_search(arr, target): return binary_search_func(arr, 0, len(arr) - 1, target) def binary_search_func(arr, start_index, end_index, target): if start_index > end_index: return -1 mid_index = (start_index + end_index) // 2 if arr[mid_index] == target: return mid_index elif arr[mid_index] > target: return binary_search_func(arr, start_index, mid_index - 1, target) else: return binary_search_func(arr, mid_index + 1, end_index, target)
def binary_search(arr, target): return binary_search_func(arr, 0, len(arr) - 1, target) def binary_search_func(arr, start_index, end_index, target): if start_index > end_index: return -1 mid_index = (start_index + end_index) // 2 if arr[mid_index] == target: return mid_index elif arr[mid_index] > target: return binary_search_func(arr, start_index, mid_index - 1, target) else: return binary_search_func(arr, mid_index + 1, end_index, target)
try: age = int(input("Enter age:")) if age >= 18: print("You can vote") elif age > 0 and age <= 17: print("Too young to vote") else: print("You are a time traveller") except: print("Please enter age as integer")
try: age = int(input('Enter age:')) if age >= 18: print('You can vote') elif age > 0 and age <= 17: print('Too young to vote') else: print('You are a time traveller') except: print('Please enter age as integer')
class Solution: def equalPartition(self, N, arr): # Find the sum of the array summ = sum(arr) # If the sum is odd, then return false if summ % 2 != 0 : return 0 # This is the number we need to obtain during the computation required = summ // 2 # Form the DP table table = [[False for _ in range(N+1)] for _ in range(required+1)] for i in range(N+1) : table[0][i] = True for i in range(1, required+1) : for j in range(1, N+1) : # We keep the sum same and not remove the jth element in arr table[i][j] = table[i][j-1] if arr[j-1] <= i : # We reduce the sum and find the remaining in the interval till one less than j table[i][j] = table[i][j] or table[i - arr[j-1]][j-1] if table[required][N] : return 1 else : return 0 if __name__ == '__main__': t = int(input()) for _ in range(t): N = int(input()) arr = input().split() for it in range(N): arr[it] = int(arr[it]) ob = Solution() if (ob.equalPartition(N, arr) == 1): print("YES") else: print("NO")
class Solution: def equal_partition(self, N, arr): summ = sum(arr) if summ % 2 != 0: return 0 required = summ // 2 table = [[False for _ in range(N + 1)] for _ in range(required + 1)] for i in range(N + 1): table[0][i] = True for i in range(1, required + 1): for j in range(1, N + 1): table[i][j] = table[i][j - 1] if arr[j - 1] <= i: table[i][j] = table[i][j] or table[i - arr[j - 1]][j - 1] if table[required][N]: return 1 else: return 0 if __name__ == '__main__': t = int(input()) for _ in range(t): n = int(input()) arr = input().split() for it in range(N): arr[it] = int(arr[it]) ob = solution() if ob.equalPartition(N, arr) == 1: print('YES') else: print('NO')
class SignatureNoeud: def __init__(self,attributs, degre, degres_noeuds_adjacents,attributs_arretes): self.attributs = attributs self.degre = degre self.degres_noeuds_adjacents = degres_noeuds_adjacents self.attributs_arretes = attributs_arretes
class Signaturenoeud: def __init__(self, attributs, degre, degres_noeuds_adjacents, attributs_arretes): self.attributs = attributs self.degre = degre self.degres_noeuds_adjacents = degres_noeuds_adjacents self.attributs_arretes = attributs_arretes
class QueueException(Exception): pass class Empty(QueueException): pass class Full(QueueException): pass
class Queueexception(Exception): pass class Empty(QueueException): pass class Full(QueueException): pass
GITHUB_IPS_ONLY = False ENFORCE_SECRET = "" RETURN_SCRIPTS_INFO = True PORT = 8000
github_ips_only = False enforce_secret = '' return_scripts_info = True port = 8000
def number(): while True: try: num1 = int(input("Enter a number: ")) num2 = int(input("Enter a number: ")) break except ValueError: print("One of the values entered is not an integer, try again") while num1 < 1 or num2 < 1: print("One of the numbers isnt a positive integer try again") try: num1 = int(input("Enter a number: ")) num2 = int(input("Enter a number: ")) break except ValueError: print("One of the values entered is not an integer, try again") print(f"The larger number is: {max(num1,num2)}") again = input("Would you like to go again? ") if again.lower == "yes": number() elif again.lower() == "no": pass else: print("Invalid") number()
def number(): while True: try: num1 = int(input('Enter a number: ')) num2 = int(input('Enter a number: ')) break except ValueError: print('One of the values entered is not an integer, try again') while num1 < 1 or num2 < 1: print('One of the numbers isnt a positive integer try again') try: num1 = int(input('Enter a number: ')) num2 = int(input('Enter a number: ')) break except ValueError: print('One of the values entered is not an integer, try again') print(f'The larger number is: {max(num1, num2)}') again = input('Would you like to go again? ') if again.lower == 'yes': number() elif again.lower() == 'no': pass else: print('Invalid') number()
class IDError(Exception): pass class Service: def __init__(self, google_service_object, id = None): self.service = google_service_object self.id = id @property def id(self): if self.__id is None: raise IDError("Service id is uninitialized, use .initialize_env(...)") return self.__id @id.setter def id(self,id): self.__id = id def __repr__(self): return "<Base Service Object>"
class Iderror(Exception): pass class Service: def __init__(self, google_service_object, id=None): self.service = google_service_object self.id = id @property def id(self): if self.__id is None: raise id_error('Service id is uninitialized, use .initialize_env(...)') return self.__id @id.setter def id(self, id): self.__id = id def __repr__(self): return '<Base Service Object>'
while True: D,N = input().split() if D == N == '0': break N = N.replace(D,'') print(0) if N == '' else print(int(N))
while True: (d, n) = input().split() if D == N == '0': break n = N.replace(D, '') print(0) if N == '' else print(int(N))
def factorial(n): if n == 0: # base case return 1 else: # divide and conquer return n * factorial(n - 1) # call the same function passing in an argument that leads down to the base case for n in range(0, 12): print(factorial(n))
def factorial(n): if n == 0: return 1 else: return n * factorial(n - 1) for n in range(0, 12): print(factorial(n))
class RevStr(str): def __iter__(self): return ItRevStr(self) class ItRevStr: def __init__(self, chaine_a_parcourir): self.chaine_a_parcourir=chaine_a_parcourir self.position=len(self.chaine_a_parcourir) def __next__(self): if self.position==0: raise StopIteration self.position-=1 return self.chaine_a_parcourir[self.position]
class Revstr(str): def __iter__(self): return it_rev_str(self) class Itrevstr: def __init__(self, chaine_a_parcourir): self.chaine_a_parcourir = chaine_a_parcourir self.position = len(self.chaine_a_parcourir) def __next__(self): if self.position == 0: raise StopIteration self.position -= 1 return self.chaine_a_parcourir[self.position]
img_properties = 'width="14" height="12" alt=""' valid_letters = 'YNLUKGFPBDTCIHS8EM' emoticons = { "(:-)" : "emoticon-smile.gif", "(;-)" : "emoticon-wink.gif", "(:-()" : "emoticon-sad.gif", "(:-|)" : "emoticon-ambivalent.gif", "(:-D)" : "emoticon-laugh.gif", "(:-O)" : "emoticon-surprised.gif", "(:-P)" : "emoticon-tongue-in-cheek.gif", "(:-S)" : "emoticon-unsure.gif", "(*)" : "emoticon-star.gif", "(@)" : "emoticon-cat.gif", "/I\\" : "icon-info.gif", "/W\\" : "icon-warning.gif", "/S\\" : "icon-error.gif" } def emoticon_image(txt): if emoticons.has_key(txt): return emoticons[txt] txt = txt[1:-1] if valid_letters.find(txt) >= 0: return "emoticon-%s.gif" % txt return None
img_properties = 'width="14" height="12" alt=""' valid_letters = 'YNLUKGFPBDTCIHS8EM' emoticons = {'(:-)': 'emoticon-smile.gif', '(;-)': 'emoticon-wink.gif', '(:-()': 'emoticon-sad.gif', '(:-|)': 'emoticon-ambivalent.gif', '(:-D)': 'emoticon-laugh.gif', '(:-O)': 'emoticon-surprised.gif', '(:-P)': 'emoticon-tongue-in-cheek.gif', '(:-S)': 'emoticon-unsure.gif', '(*)': 'emoticon-star.gif', '(@)': 'emoticon-cat.gif', '/I\\': 'icon-info.gif', '/W\\': 'icon-warning.gif', '/S\\': 'icon-error.gif'} def emoticon_image(txt): if emoticons.has_key(txt): return emoticons[txt] txt = txt[1:-1] if valid_letters.find(txt) >= 0: return 'emoticon-%s.gif' % txt return None
gamestr = "Icewind Dale EE 2.6.5.0 + BetterHOF + CDTWEAKS" headers = ["Area", "NPC", "XP", "Gold Carried", "Pickpocket Skill", "Item Price (base)", "Item Type", "Item"] areas = [ "animtest (Spawned)", "ar1001 - Easthaven (prologue) - Temple of Tempus", "ar1008 - Easthaven (prologue) - Snowdrift Inn", "ar1100 - Easthaven (finale)", "ar1101 - Easthaven (finale) - Temple of Tempus/ice tower first floor", "ar2003 - Kuldahar Pass - Gherg's tower", "ar2004 - Kuldahar Pass - Mill - entrance", "ar2100 (Spawned) - Kuldahar", "ar2102 - Kuldahar - Orrick the Grey's tower - study", "ar2108 - Kuldahar - Airship of Oswald Fiddlebender", "ar2112 - Kuldahar - Home of Arundel - first floor", "ar3301 - Vale of Shadows - Temple of Myrkul", "ar3501 - Vale of Shadows - Tomb of Kresselack - first level", "ar4003 - Dragon's Eye - third dungeon level (Presio)", "ar4004 - Dragon's Eye - fourth dungeon level (Eldathyn)", "ar4005 - Dragon's Eye - fifth dungeon level (Yxunomei)", "ar5401 - Severed Hand - Tower of Sheverash - first floor, Kaylessa", "ar5404 - Severed Hand - Tower of Sheverash - fourth floor", "ar6003 - Dorn's Deep - orog cave, Saablic, Krilag", "ar6014 - Dorn's Deep - Bandoth's cave", "ar7001 - Wyrm's Tooth Glacier - aquarium interior, ice salamander lair", "ar7004 - Wyrm's Tooth Glacier - frost giant cave", "ar8005 - Lower Dorn's Deep - Order of the Kraken garde", "ar8007 (Spawned) - Lower Dorn's Deep - Order of the Kraken manor - second floor, Mekrath", "ar8010 (Spawned) - Lower Dorn's Deep - Malavon's lair", "ar8010 - Lower Dorn's Deep - Malavon's lair", "ar8011 - Lower Dorn's Deep - forge, Ilmadia", "ar9100 (Spawned) - Lonelywood", "ar9101 - Lonelywood - Whistling Gallows - first floor", "ar9106 (Spawned) - Lonelywood - Thurlow home - first floor", "ar9107 (Spawned) - Lonelywood - Thurlow home - second floor", "ar9110 - Lonelywood - Home of Purvis", "ar9501 - Gloomfrost interior - first level, Tiernon", "ar9700 - Anauroch Castle - outer courtyard (TotL start area)", "ar9704 - Anauroch Castle - west Tower upstairs - Harald", "ar9706 - Anauroch Castle - north Tower upstairs - harpy queen", "ar9708 - Anauroch Castle - east Tower upstairs - Banites", "ar9715 - Anauroch Castle - hideout of Hobart", "unknown", ] types = { "Amulet": [ "Amulet of Metaspell Influence", "Amulet of Protection", "Great Black Wolf Talisman", "Kossuth's Blood", "Necklace of Missiles", "Symbol of Corellon Larethian", "Symbol of Solonor Thelandira", "Tiernon's Hearthstone", ], "Armor": [ "Chain Mail", ], "Arrows": [ "Arrow of Fire +1", "Arrow of the Hand +8", ], "Books & misc": [ "Maiden Ilmadia's Badge", "Manual of Gainful Exercise", "Tome of Clear Thought", "Tome of Leadership and Influence", "Tome of Understanding", "Umber Hulk Hide", "mernbook.itm (TLK missing name)", "mernmanu.itm (TLK missing name)", "merntome.itm (TLK missing name)", "rndtre50.itm", ], "Darts": [ "Asp's Nest +1", ], "Gem": [ "Emerald", "Moonbar Gem", "Moonstone Gem", "Rogue Stone", ], "Gold pieces": [ "Gold Piece", ], "Large sword": [ "Bastard Sword ", ], "Potion": [ "Haste Potion", "Oil of Fiery Burning", "Oil of Speed", "Potion of Extra Healing", "Potion of Fast Casting", "Potion of Firebreath", "Potion of Healing", "Potion of Holy Transference", "Potion of Life Transference", "Potion of Vitality", ], "Quarterstaff": [ "The Summoner's Staff +3", ], "Ring": [ "Greater Ring of the Warrior", "Kontik's Ring of Wizardry", "Onyx Ring", "Ring of Aura Transfusion", "Ring of Fire Resistance", "Ring of Free Action", "Ring of Pain Amplification", "Ring of Protection +2", "Ring of Protection +3", "Ring of Protection +4", "Ring of Reckless Action", "Ring of Shadows", "Ring of the Warrior", ], "Scroll": [ "Blur", "Comet", "Dragon's Breath", "Emotion, Hope", "Portrait of Marketh", "Wail of the Banshee", ], }
gamestr = 'Icewind Dale EE 2.6.5.0 + BetterHOF + CDTWEAKS' headers = ['Area', 'NPC', 'XP', 'Gold Carried', 'Pickpocket Skill', 'Item Price (base)', 'Item Type', 'Item'] areas = ['animtest (Spawned)', 'ar1001 - Easthaven (prologue) - Temple of Tempus', 'ar1008 - Easthaven (prologue) - Snowdrift Inn', 'ar1100 - Easthaven (finale)', 'ar1101 - Easthaven (finale) - Temple of Tempus/ice tower first floor', "ar2003 - Kuldahar Pass - Gherg's tower", 'ar2004 - Kuldahar Pass - Mill - entrance', 'ar2100 (Spawned) - Kuldahar', "ar2102 - Kuldahar - Orrick the Grey's tower - study", 'ar2108 - Kuldahar - Airship of Oswald Fiddlebender', 'ar2112 - Kuldahar - Home of Arundel - first floor', 'ar3301 - Vale of Shadows - Temple of Myrkul', 'ar3501 - Vale of Shadows - Tomb of Kresselack - first level', "ar4003 - Dragon's Eye - third dungeon level (Presio)", "ar4004 - Dragon's Eye - fourth dungeon level (Eldathyn)", "ar4005 - Dragon's Eye - fifth dungeon level (Yxunomei)", 'ar5401 - Severed Hand - Tower of Sheverash - first floor, Kaylessa', 'ar5404 - Severed Hand - Tower of Sheverash - fourth floor', "ar6003 - Dorn's Deep - orog cave, Saablic, Krilag", "ar6014 - Dorn's Deep - Bandoth's cave", "ar7001 - Wyrm's Tooth Glacier - aquarium interior, ice salamander lair", "ar7004 - Wyrm's Tooth Glacier - frost giant cave", "ar8005 - Lower Dorn's Deep - Order of the Kraken garde", "ar8007 (Spawned) - Lower Dorn's Deep - Order of the Kraken manor - second floor, Mekrath", "ar8010 (Spawned) - Lower Dorn's Deep - Malavon's lair", "ar8010 - Lower Dorn's Deep - Malavon's lair", "ar8011 - Lower Dorn's Deep - forge, Ilmadia", 'ar9100 (Spawned) - Lonelywood', 'ar9101 - Lonelywood - Whistling Gallows - first floor', 'ar9106 (Spawned) - Lonelywood - Thurlow home - first floor', 'ar9107 (Spawned) - Lonelywood - Thurlow home - second floor', 'ar9110 - Lonelywood - Home of Purvis', 'ar9501 - Gloomfrost interior - first level, Tiernon', 'ar9700 - Anauroch Castle - outer courtyard (TotL start area)', 'ar9704 - Anauroch Castle - west Tower upstairs - Harald', 'ar9706 - Anauroch Castle - north Tower upstairs - harpy queen', 'ar9708 - Anauroch Castle - east Tower upstairs - Banites', 'ar9715 - Anauroch Castle - hideout of Hobart', 'unknown'] types = {'Amulet': ['Amulet of Metaspell Influence', 'Amulet of Protection', 'Great Black Wolf Talisman', "Kossuth's Blood", 'Necklace of Missiles', 'Symbol of Corellon Larethian', 'Symbol of Solonor Thelandira', "Tiernon's Hearthstone"], 'Armor': ['Chain Mail'], 'Arrows': ['Arrow of Fire +1', 'Arrow of the Hand +8'], 'Books & misc': ["Maiden Ilmadia's Badge", 'Manual of Gainful Exercise', 'Tome of Clear Thought', 'Tome of Leadership and Influence', 'Tome of Understanding', 'Umber Hulk Hide', 'mernbook.itm (TLK missing name)', 'mernmanu.itm (TLK missing name)', 'merntome.itm (TLK missing name)', 'rndtre50.itm'], 'Darts': ["Asp's Nest +1"], 'Gem': ['Emerald', 'Moonbar Gem', 'Moonstone Gem', 'Rogue Stone'], 'Gold pieces': ['Gold Piece'], 'Large sword': ['Bastard Sword '], 'Potion': ['Haste Potion', 'Oil of Fiery Burning', 'Oil of Speed', 'Potion of Extra Healing', 'Potion of Fast Casting', 'Potion of Firebreath', 'Potion of Healing', 'Potion of Holy Transference', 'Potion of Life Transference', 'Potion of Vitality'], 'Quarterstaff': ["The Summoner's Staff +3"], 'Ring': ['Greater Ring of the Warrior', "Kontik's Ring of Wizardry", 'Onyx Ring', 'Ring of Aura Transfusion', 'Ring of Fire Resistance', 'Ring of Free Action', 'Ring of Pain Amplification', 'Ring of Protection +2', 'Ring of Protection +3', 'Ring of Protection +4', 'Ring of Reckless Action', 'Ring of Shadows', 'Ring of the Warrior'], 'Scroll': ['Blur', 'Comet', "Dragon's Breath", 'Emotion, Hope', 'Portrait of Marketh', 'Wail of the Banshee']}
''' a = 'iasdsdasda' b= 0 c = len(a) while b<c: print(a[b]) b+=1 import random a = random.randrange(1,3) s = eval(raw_input(">>")) while a-s!=0: if a>s: print("you are low") elif a<s: print("you are high") s = eval(raw_input(">>")) while a-s==0: print("you are right") break ''' #Ep2 ''' sum1 = 0 i = 0 while i < 1001: sum1 = i+sum1 i+=1 print(sum1) ''' #Ep3 '''i = 1 sum1 = 0 for sum1 in range(0,10000,sum1): sum1=sum1+i i=i+1 print(sum1) ''' #Eq4 ''' from __future__ import print_function for i in range(1,10): for j in range(1,i+1): print('{}*{}={}'.format(i,j,i*j),end='') print() ''' #Eq5 def first(num1,num2,num3): print(num1,num2,num3) return num1,num2,num3 def dier(num1,num2,num3): num4=num1*num1 num5=num2*num2 num6=num3*num3 return num4,num5,num6 def san(num1,num2,num3,num4,num5,num6): n1=num4-num1 n2=num5-num2 n3=num6-num3 print(n1,n2,n3) a,b,c = first(1,2,3) d,e,f = dier(a,b,c) san(a,b,c,d,e,f)
""" a = 'iasdsdasda' b= 0 c = len(a) while b<c: print(a[b]) b+=1 import random a = random.randrange(1,3) s = eval(raw_input(">>")) while a-s!=0: if a>s: print("you are low") elif a<s: print("you are high") s = eval(raw_input(">>")) while a-s==0: print("you are right") break """ '\nsum1 = 0\ni = 0\nwhile i < 1001:\n sum1 = i+sum1\n i+=1\nprint(sum1)\n' 'i = 1\nsum1 = 0\nfor sum1 in range(0,10000,sum1):\n sum1=sum1+i\n i=i+1\nprint(sum1)\n' "\nfrom __future__ import print_function\nfor i in range(1,10):\n for j in range(1,i+1):\n print('{}*{}={}'.format(i,j,i*j),end='')\n print()\n" def first(num1, num2, num3): print(num1, num2, num3) return (num1, num2, num3) def dier(num1, num2, num3): num4 = num1 * num1 num5 = num2 * num2 num6 = num3 * num3 return (num4, num5, num6) def san(num1, num2, num3, num4, num5, num6): n1 = num4 - num1 n2 = num5 - num2 n3 = num6 - num3 print(n1, n2, n3) (a, b, c) = first(1, 2, 3) (d, e, f) = dier(a, b, c) san(a, b, c, d, e, f)
# I got to use a map dictionary (identical values) in one place as it is # but in another I should convert keys as values and values as keys! # Note ''' + This is only for dictionary which has identical values and when considered as hashmap. - If dictionary which has duplicate values may not work well. - If dictionary which has collection as values may also not work. ''' # Identical values Hashmap = { 'BlankValidationError': 'BVE01', 'InvalidFormatError': 'IFE01', 'InvalidTypeError': 'ITE01', 'InvalidLengthError': 'IVL01', } # Logic to conver the keys as values and values as keys. ReverseHashmap = {Hashmap[_]: _ for _ in Hashmap} # Usage print('Original Hashmap:') print(Hashmap) print() print('Reversed Hashmap:') print(ReverseHashmap) # Output ''' Original Hashmap: {'BlankValidationError': 'BVE01', 'InvalidFormatError': 'IFE01', 'InvalidTypeError': 'ITE01', 'InvalidLengthError': 'IVL01'} Reversed Hashmap: {'BVE01': 'BlankValidationError', 'IFE01': 'InvalidFormatError', 'ITE01': 'InvalidTypeError', 'IVL01': 'InvalidLengthError'} '''
""" + This is only for dictionary which has identical values and when considered as hashmap. - If dictionary which has duplicate values may not work well. - If dictionary which has collection as values may also not work. """ hashmap = {'BlankValidationError': 'BVE01', 'InvalidFormatError': 'IFE01', 'InvalidTypeError': 'ITE01', 'InvalidLengthError': 'IVL01'} reverse_hashmap = {Hashmap[_]: _ for _ in Hashmap} print('Original Hashmap:') print(Hashmap) print() print('Reversed Hashmap:') print(ReverseHashmap) "\nOriginal Hashmap:\n{'BlankValidationError': 'BVE01', 'InvalidFormatError': 'IFE01', 'InvalidTypeError': 'ITE01', 'InvalidLengthError': 'IVL01'}\n\nReversed Hashmap:\n{'BVE01': 'BlankValidationError', 'IFE01': 'InvalidFormatError', 'ITE01': 'InvalidTypeError', 'IVL01': 'InvalidLengthError'}\n"
#Internal framework imports #Typing imports class ResizeMethod: NONE = 1 CROP = 2 STRETCH = 3 LETTERBOX = 4 @classmethod def str2enum(cls, resize_method_string, error_if_none = False): resize_method_string = resize_method_string.lower() if resize_method_string == "crop": return cls.CROP elif resize_method_string == "stretch": return cls.STRETCH elif resize_method_string == "letterbox": return cls.LETTERBOX elif error_if_none: raise Exception("Error: No resize method!") return cls.NONE
class Resizemethod: none = 1 crop = 2 stretch = 3 letterbox = 4 @classmethod def str2enum(cls, resize_method_string, error_if_none=False): resize_method_string = resize_method_string.lower() if resize_method_string == 'crop': return cls.CROP elif resize_method_string == 'stretch': return cls.STRETCH elif resize_method_string == 'letterbox': return cls.LETTERBOX elif error_if_none: raise exception('Error: No resize method!') return cls.NONE
def add(*args): return list(list(sum(j) for j in zip(*rows)) for rows in zip(*args)) matrix1 = [[1, -2], [-3, 4]] matrix2 = [[2, -1], [0, -1]] result = add(matrix1, matrix2) print(result)
def add(*args): return list((list((sum(j) for j in zip(*rows))) for rows in zip(*args))) matrix1 = [[1, -2], [-3, 4]] matrix2 = [[2, -1], [0, -1]] result = add(matrix1, matrix2) print(result)
class ConfigNotFoundException(Exception): def __init__(self, message): super().__init__(message) class WorkingDirectoryDoesNotExistException(Exception): def __init__(self, message): super().__init__(message) class ImageUploaderException(Exception): def __init__(self, message): super().__init__(message) class OAuthException(Exception): def __init__(self, message): super().__init__(message)
class Confignotfoundexception(Exception): def __init__(self, message): super().__init__(message) class Workingdirectorydoesnotexistexception(Exception): def __init__(self, message): super().__init__(message) class Imageuploaderexception(Exception): def __init__(self, message): super().__init__(message) class Oauthexception(Exception): def __init__(self, message): super().__init__(message)
text = '''<?xml version="1.0" encoding="utf-8" ?> <body copyright="All data copyright San Francisco Muni 2015."> <predictions agencyTitle="San Francisco Muni" routeTitle="38-Geary" routeTag="38" stopTitle="43rd Ave &amp; Point Lobos Ave" stopTag="13568"> <direction title="Inbound to Downtown"> <prediction epochTime="1434139707528" seconds="1625" minutes="27" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6241" block="3806" tripTag="6629317" /> <prediction epochTime="1434140667528" seconds="2585" minutes="43" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6406" block="3808" tripTag="6629319" /> <prediction epochTime="1434141627528" seconds="3545" minutes="59" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6420" block="3811" tripTag="6629321" /> <prediction epochTime="1434142587528" seconds="4505" minutes="75" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6292" block="3843" tripTag="6629323" /> <prediction epochTime="1434143487528" seconds="5405" minutes="90" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6283" block="3813" tripTag="6629325" /> </direction> <message text="Go to sfmta.com 4 Email/Text Alerts." priority="Low"/> <message text="Discount cash fare increase 7/1. Info at sfmta.com or 3-1-1." priority="Low"/> <message text="We&apos;re on Twitter: @sfmta_muni" priority="Low"/> </predictions> <predictions agencyTitle="San Francisco Muni" routeTitle="38-Geary" routeTag="38" stopTitle="43rd Ave &amp; Clement St" stopTag="13567"> <direction title="Inbound to Downtown"> <prediction epochTime="1434139691349" seconds="1608" minutes="26" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6241" block="3806" tripTag="6629317" /> <prediction epochTime="1434140651349" seconds="2568" minutes="42" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6406" block="3808" tripTag="6629319" /> <prediction epochTime="1434141611349" seconds="3528" minutes="58" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6420" block="3811" tripTag="6629321" /> <prediction epochTime="1434142571349" seconds="4488" minutes="74" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6292" block="3843" tripTag="6629323" /> <prediction epochTime="1434143471349" seconds="5388" minutes="89" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6283" block="3813" tripTag="6629325" /> </direction> <message text="Go to sfmta.com 4 Email/Text Alerts." priority="Low"/> <message text="Discount cash fare increase 7/1. Info at sfmta.com or 3-1-1." priority="Low"/> <message text="We&apos;re on Twitter: @sfmta_muni" priority="Low"/> </predictions> </body> '''
text = '<?xml version="1.0" encoding="utf-8" ?> \n<body copyright="All data copyright San Francisco Muni 2015.">\n<predictions agencyTitle="San Francisco Muni" routeTitle="38-Geary" routeTag="38" stopTitle="43rd Ave &amp; Point Lobos Ave" stopTag="13568">\n <direction title="Inbound to Downtown">\n <prediction epochTime="1434139707528" seconds="1625" minutes="27" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6241" block="3806" tripTag="6629317" />\n <prediction epochTime="1434140667528" seconds="2585" minutes="43" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6406" block="3808" tripTag="6629319" />\n <prediction epochTime="1434141627528" seconds="3545" minutes="59" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6420" block="3811" tripTag="6629321" />\n <prediction epochTime="1434142587528" seconds="4505" minutes="75" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6292" block="3843" tripTag="6629323" />\n <prediction epochTime="1434143487528" seconds="5405" minutes="90" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6283" block="3813" tripTag="6629325" />\n </direction>\n<message text="Go to sfmta.com 4 Email/Text Alerts." priority="Low"/>\n<message text="Discount cash fare increase 7/1. Info at sfmta.com or 3-1-1." priority="Low"/>\n<message text="We&apos;re on Twitter: @sfmta_muni" priority="Low"/>\n</predictions>\n<predictions agencyTitle="San Francisco Muni" routeTitle="38-Geary" routeTag="38" stopTitle="43rd Ave &amp; Clement St" stopTag="13567">\n <direction title="Inbound to Downtown">\n <prediction epochTime="1434139691349" seconds="1608" minutes="26" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6241" block="3806" tripTag="6629317" />\n <prediction epochTime="1434140651349" seconds="2568" minutes="42" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6406" block="3808" tripTag="6629319" />\n <prediction epochTime="1434141611349" seconds="3528" minutes="58" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6420" block="3811" tripTag="6629321" />\n <prediction epochTime="1434142571349" seconds="4488" minutes="74" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6292" block="3843" tripTag="6629323" />\n <prediction epochTime="1434143471349" seconds="5388" minutes="89" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6283" block="3813" tripTag="6629325" />\n </direction>\n<message text="Go to sfmta.com 4 Email/Text Alerts." priority="Low"/>\n<message text="Discount cash fare increase 7/1. Info at sfmta.com or 3-1-1." priority="Low"/>\n<message text="We&apos;re on Twitter: @sfmta_muni" priority="Low"/>\n</predictions>\n</body>\n'
colour = {'r': '\033[31m', 'g': '\033[32m', 'w': '\033[33m', 'b': '\033[34m', 'p': '\033[35m', 'c': '\033[36m', 'limit': '\033[m'} def line(n=37): print('-' * n) def title(txt, x=37): print('-' * x) print(f'{colour["c"]}{txt.center(x)}{colour["limit"]}') print('-' * x)
colour = {'r': '\x1b[31m', 'g': '\x1b[32m', 'w': '\x1b[33m', 'b': '\x1b[34m', 'p': '\x1b[35m', 'c': '\x1b[36m', 'limit': '\x1b[m'} def line(n=37): print('-' * n) def title(txt, x=37): print('-' * x) print(f"{colour['c']}{txt.center(x)}{colour['limit']}") print('-' * x)
class widget_type(object): stage = 0 button = 1 toggle = 2 slider = 3 dropdown = 4 text = 5 input_field = 6 joystick = 7 class widget_date_type(object): bool = 0 int32 = 1 float = 2 string = 3 class widget_public_function(object): create = 0 destory = 1 active = 2 name = 3 position = 4 size = 5 rotation = 6 pivot = 7 order = 8 test = 127 class widget_priviate_function(object): class stage(object): add_widget = 128 remove_widget = 129 class button(object): set_text = 128 set_text_color = 129 set_text_align = 130 set_text_size = 131 set_background_color = 132 class slider(object): set_range = 128 set_background_color = 129 set_fill_color = 130 set_handle_color = 131 class toggle(object): set_text = 128 set_text_color = 129 set_text_align = 130 set_text_size = 131 set_background_color = 132 set_checkmark_color = 133 set_is_on = 134 class dropdown(object): set_options = 128 set_text_color = 129 set_background_color = 130 set_arrow_color = 131 set_item_text_color = 132 set_item_background_color = 133 set_item_checkmark_color = 134 class text(object): set_text = 128 set_text_color = 129 set_text_align = 130 set_text_size = 131 set_border_color = 132 set_background_color = 133 set_border_active = 134 set_background_active = 135 append_text = 136 class input_field(object): set_text = 128 set_text_color = 129 set_text_align = 130 set_text_size = 131 set_hint_text = 132 set_hint_text_color = 133 set_hint_text_align = 134 set_hint_text_size = 135 set_background_color = 136 class widget_action(object): class button(object): on_click = 0 on_press_down = 1 on_press_up = 2 class slider(object): on_value_change = 0 class toggle(object): on_value_change = 0 class dropdown(object): on_value_change = 0 class input_field(object): on_value_change = 0 class text_anchor(object): default = 4 upper_left = 0 upper_center = 1 upper_right = 2 middle_left = 3 middle_center = 4 meddle_right = 5 lower_left = 6 lower_center = 7 lower_right = 8
class Widget_Type(object): stage = 0 button = 1 toggle = 2 slider = 3 dropdown = 4 text = 5 input_field = 6 joystick = 7 class Widget_Date_Type(object): bool = 0 int32 = 1 float = 2 string = 3 class Widget_Public_Function(object): create = 0 destory = 1 active = 2 name = 3 position = 4 size = 5 rotation = 6 pivot = 7 order = 8 test = 127 class Widget_Priviate_Function(object): class Stage(object): add_widget = 128 remove_widget = 129 class Button(object): set_text = 128 set_text_color = 129 set_text_align = 130 set_text_size = 131 set_background_color = 132 class Slider(object): set_range = 128 set_background_color = 129 set_fill_color = 130 set_handle_color = 131 class Toggle(object): set_text = 128 set_text_color = 129 set_text_align = 130 set_text_size = 131 set_background_color = 132 set_checkmark_color = 133 set_is_on = 134 class Dropdown(object): set_options = 128 set_text_color = 129 set_background_color = 130 set_arrow_color = 131 set_item_text_color = 132 set_item_background_color = 133 set_item_checkmark_color = 134 class Text(object): set_text = 128 set_text_color = 129 set_text_align = 130 set_text_size = 131 set_border_color = 132 set_background_color = 133 set_border_active = 134 set_background_active = 135 append_text = 136 class Input_Field(object): set_text = 128 set_text_color = 129 set_text_align = 130 set_text_size = 131 set_hint_text = 132 set_hint_text_color = 133 set_hint_text_align = 134 set_hint_text_size = 135 set_background_color = 136 class Widget_Action(object): class Button(object): on_click = 0 on_press_down = 1 on_press_up = 2 class Slider(object): on_value_change = 0 class Toggle(object): on_value_change = 0 class Dropdown(object): on_value_change = 0 class Input_Field(object): on_value_change = 0 class Text_Anchor(object): default = 4 upper_left = 0 upper_center = 1 upper_right = 2 middle_left = 3 middle_center = 4 meddle_right = 5 lower_left = 6 lower_center = 7 lower_right = 8
f = open('task1-test-input.txt') o = open('o1.txt', 'w') t = int(f.readline().strip()) for i in xrange(1, t + 1): o.write("Case #{}:".format(i)) n = f.readline() n = int(f.readline().strip()) x = [int(j) for j in f.readline().strip().split()] mean = 0 for j in xrange(0, n): mean += x[j] mean /= float(n) v = 0 for j in xrange(0, n): v += ((x[j] - mean) ** 2) v /= float(n) if v == 0: for j in xrange(0, n): o.write(" 50.0000000000000000") else: v **= 0.5 for j in xrange(0, n): o.write(" {}".format(50 + 10 * (x[j] - mean) / v)) o.write("\n")
f = open('task1-test-input.txt') o = open('o1.txt', 'w') t = int(f.readline().strip()) for i in xrange(1, t + 1): o.write('Case #{}:'.format(i)) n = f.readline() n = int(f.readline().strip()) x = [int(j) for j in f.readline().strip().split()] mean = 0 for j in xrange(0, n): mean += x[j] mean /= float(n) v = 0 for j in xrange(0, n): v += (x[j] - mean) ** 2 v /= float(n) if v == 0: for j in xrange(0, n): o.write(' 50.0000000000000000') else: v **= 0.5 for j in xrange(0, n): o.write(' {}'.format(50 + 10 * (x[j] - mean) / v)) o.write('\n')
# Write a program that compares two lists and prints a message depending on if the inputs are identical or not. # Your program should be able to accept and compare two lists: list_one and list_two. If both lists are identical print "The lists are the same". If they are not identical print "The lists are not the same." Try the following test cases for lists one and two: def compare_lists(list_one, list_two): if list_one == list_two: print("The lists are the same") else: print("The lists are not the same") list_one = [1, 2, 5, 6, 2] list_two = [1, 2, 5, 6, 2] compare_lists(list_one, list_two) list_one = [1, 2, 5, 6, 5] list_two = [1, 2, 5, 6, 5, 3] compare_lists(list_one, list_two) list_one = [1, 2, 5, 6, 5, 16] list_two = [1, 2, 5, 6, 5] compare_lists(list_one, list_two) list_one = ['celery', 'carrots', 'bread', 'cream'] list_two = ['celery', 'carrots', 'bread', 'cream'] compare_lists(list_one, list_two)
def compare_lists(list_one, list_two): if list_one == list_two: print('The lists are the same') else: print('The lists are not the same') list_one = [1, 2, 5, 6, 2] list_two = [1, 2, 5, 6, 2] compare_lists(list_one, list_two) list_one = [1, 2, 5, 6, 5] list_two = [1, 2, 5, 6, 5, 3] compare_lists(list_one, list_two) list_one = [1, 2, 5, 6, 5, 16] list_two = [1, 2, 5, 6, 5] compare_lists(list_one, list_two) list_one = ['celery', 'carrots', 'bread', 'cream'] list_two = ['celery', 'carrots', 'bread', 'cream'] compare_lists(list_one, list_two)
# spec.py # Problem 1: Implement this function. def Newtons_method(f, x0, Df, iters=15, tol=.1e-5): ''' Use Newton's method to approximate a zero of a function. Inputs: f (function): A function handle. Should represent a function from R to R. x0 (float): Initial guess. Df (function): A function handle. Should represent the derivative of f. iters (int): Maximum number of iterations before the function returns. Defaults to 15. tol (float): The function returns when the difference between successive approximations is less than tol. Defaults to 10^-5. Returns: A tuple (x, converged, numiters) with x (float): the approximation for a zero of f converged (bool): a Boolean telling whether Newton's method converged numiters (int): the number of iterations the method computed ''' raise NotImplementedError("Problem 1 Incomplete") # Problem 2.1: Implement this function. def problemTwoOne(): ''' Return a tuple of the number of iterations to get five digits of accuracy for f = cos(x) with x_0 = 1 and x_0 = 2. ''' raise NotImplementedError("Problem 2.1 Incomplete") # Problem 2.2: Implement this function. def problemTwoTwo(): ''' Plot f(x) = sin(x)/x - x on [-4,4]. Return the zero of this function, as given by Newtons_method with tol = 10^-7. ''' raise NotImplementedError("Problem 2.2 Incomplete") # Problem 2.3: Implement this function. def problemTwoThree(): ''' Return a tuple of 1. The number of iterations to get five digits of accuracy for f(x) = x^9 with x_0 = 1. 2. A string with the reason to why you think the convergence is slow for this function. ''' raise NotImplementedError("Problem 2.3 Incomplete") # Problem 2.4: Implement this function. def problemTwoFour(): ''' Return a string as to what happens and why for the function f(x) = x^(1/3) where x_0 = .01. ''' raise NotImplementedError("Problem 2.4 Incomplete") # Problem 3 (Optional): def Newtons_method_II(f, x0, Df=None, iters=15, tol=.002): '''Modify the function Newtons_method() to calculate the numerical derivative of f using centered coefficients. ''' raise NotImplementedError("Problem 3 Incomplete") # Problem 4: Implement this function. def plot_basins(f, Df, roots, xmin, xmax, ymin, ymax, numpoints=100, iters=15, colormap='brg'): ''' Plot the basins of attraction of f. INPUTS: f (function): Should represent a function from C to C. Df (function): Should be the derivative of f. roots (array): An array of the zeros of f. xmin, xmax, ymin, ymax (float,float,float,float): Scalars that define the domain for the plot. numpoints (int): A scalar that determines the resolution of the plot. Defaults to 100. iters (int): Number of times to iterate Newton's method. Defaults to 15. colormap (str): A colormap to use in the plot. Defaults to 'brg'. ''' raise NotImplementedError("Problem 4 Incomplete") # Problem 5: Implement this function. def problemFive(): ''' Run plot_basins() on the function x^3-1 on the domain [-1.5,1.5]x[-1.5,1.5]. ''' raise NotImplementedError("Problem 5 Incomplete")
def newtons_method(f, x0, Df, iters=15, tol=1e-06): """ Use Newton's method to approximate a zero of a function. Inputs: f (function): A function handle. Should represent a function from R to R. x0 (float): Initial guess. Df (function): A function handle. Should represent the derivative of f. iters (int): Maximum number of iterations before the function returns. Defaults to 15. tol (float): The function returns when the difference between successive approximations is less than tol. Defaults to 10^-5. Returns: A tuple (x, converged, numiters) with x (float): the approximation for a zero of f converged (bool): a Boolean telling whether Newton's method converged numiters (int): the number of iterations the method computed """ raise not_implemented_error('Problem 1 Incomplete') def problem_two_one(): """ Return a tuple of the number of iterations to get five digits of accuracy for f = cos(x) with x_0 = 1 and x_0 = 2. """ raise not_implemented_error('Problem 2.1 Incomplete') def problem_two_two(): """ Plot f(x) = sin(x)/x - x on [-4,4]. Return the zero of this function, as given by Newtons_method with tol = 10^-7. """ raise not_implemented_error('Problem 2.2 Incomplete') def problem_two_three(): """ Return a tuple of 1. The number of iterations to get five digits of accuracy for f(x) = x^9 with x_0 = 1. 2. A string with the reason to why you think the convergence is slow for this function. """ raise not_implemented_error('Problem 2.3 Incomplete') def problem_two_four(): """ Return a string as to what happens and why for the function f(x) = x^(1/3) where x_0 = .01. """ raise not_implemented_error('Problem 2.4 Incomplete') def newtons_method_ii(f, x0, Df=None, iters=15, tol=0.002): """Modify the function Newtons_method() to calculate the numerical derivative of f using centered coefficients. """ raise not_implemented_error('Problem 3 Incomplete') def plot_basins(f, Df, roots, xmin, xmax, ymin, ymax, numpoints=100, iters=15, colormap='brg'): """ Plot the basins of attraction of f. INPUTS: f (function): Should represent a function from C to C. Df (function): Should be the derivative of f. roots (array): An array of the zeros of f. xmin, xmax, ymin, ymax (float,float,float,float): Scalars that define the domain for the plot. numpoints (int): A scalar that determines the resolution of the plot. Defaults to 100. iters (int): Number of times to iterate Newton's method. Defaults to 15. colormap (str): A colormap to use in the plot. Defaults to 'brg'. """ raise not_implemented_error('Problem 4 Incomplete') def problem_five(): """ Run plot_basins() on the function x^3-1 on the domain [-1.5,1.5]x[-1.5,1.5]. """ raise not_implemented_error('Problem 5 Incomplete')
# # PySNMP MIB module IEEE8021-TC-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/IEEE8021-TC-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:13:10 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ConstraintsIntersection, ConstraintsUnion, ValueSizeConstraint, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsIntersection", "ConstraintsUnion", "ValueSizeConstraint", "ValueRangeConstraint") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Counter64, org, iso, MibIdentifier, ModuleIdentity, Unsigned32, Integer32, Gauge32, IpAddress, NotificationType, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32, Bits, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "Counter64", "org", "iso", "MibIdentifier", "ModuleIdentity", "Unsigned32", "Integer32", "Gauge32", "IpAddress", "NotificationType", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32", "Bits", "TimeTicks") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") ieee8021TcMib = ModuleIdentity((1, 3, 111, 2, 802, 1, 1, 1)) ieee8021TcMib.setRevisions(('2014-12-15 00:00', '2012-02-15 00:00', '2011-08-23 00:00', '2011-04-06 00:00', '2011-02-27 00:00', '2008-11-18 00:00', '2008-10-15 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ieee8021TcMib.setRevisionsDescriptions(('Published as part of IEEE Std 802.1Q 2014 revision. Cross references updated and corrected. Updating of definition of IEEE8021PbbIngressEgress New identifier types for new SPBM MA types', 'Modified IEEE8021BridgePortType textual convention to include stationFacingBridgePort, uplinkAccessPort, and uplinkRelayPort types.', 'Modified textual conventions to support the IEEE 802.1 MIBs for PBB-TE Infrastructure Protection Switching.', 'Modified textual conventions to support Remote Customer Service Interfaces.', 'Minor edits to contact information etc. as part of 2011 revision of IEEE Std 802.1Q.', 'Added textual conventions needed to support the IEEE 802.1 MIBs for PBB-TE. Additionally, some textual conventions were modified for the same reason.', 'Initial version.',)) if mibBuilder.loadTexts: ieee8021TcMib.setLastUpdated('201412150000Z') if mibBuilder.loadTexts: ieee8021TcMib.setOrganization('IEEE 802.1 Working Group') if mibBuilder.loadTexts: ieee8021TcMib.setContactInfo(' WG-URL: http://grouper.ieee.org/groups/802/1/index.html WG-EMail: stds-802-1@ieee.org Contact: IEEE 802.1 Working Group Chair Postal: C/O IEEE 802.1 Working Group IEEE Standards Association 445 Hoes Lane P.O. Box 1331 Piscataway NJ 08855-1331 USA E-mail: STDS-802-1-L@LISTSERV.IEEE.ORG') if mibBuilder.loadTexts: ieee8021TcMib.setDescription('Textual conventions used throughout the various IEEE 802.1 MIB modules. Unless otherwise indicated, the references in this MIB module are to IEEE Std 802.1Q-2014. Copyright (C) IEEE (2014). This version of this MIB module is part of IEEE Std 802.1Q; see the draft itself for full legal notices.') ieee802dot1mibs = MibIdentifier((1, 3, 111, 2, 802, 1, 1)) class IEEE8021PbbComponentIdentifier(TextualConvention, Unsigned32): reference = '12.3 l)' description = 'The component identifier is used to distinguish between the multiple virtual Bridge instances within a PB or PBB. Each virtual Bridge instance is called a component. In simple situations where there is only a single component the default value is 1. The component is identified by a component identifier unique within the BEB and by a MAC address unique within the PBBN. Each component is associated with a Backbone Edge Bridge (BEB) Configuration managed object.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 4294967295) class IEEE8021PbbComponentIdentifierOrZero(TextualConvention, Unsigned32): reference = '12.3 l)' description = "The component identifier is used to distinguish between the multiple virtual Bridge instances within a PB or PBB. In simple situations where there is only a single component the default value is 1. The component is identified by a component identifier unique within the BEB and by a MAC address unique within the PBBN. Each component is associated with a Backbone Edge Bridge (BEB) Configuration managed object. The special value '0' means 'no component identifier'. When this TC is used as the SYNTAX of an object, that object must specify the exact meaning for this value." status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 4294967295), ) class IEEE8021PbbServiceIdentifier(TextualConvention, Unsigned32): reference = '12.16.3, 12.16.5' description = 'The service instance identifier is used at the Customer Backbone Port of a PBB to distinguish a service instance (Local-SID). If the Local-SID field is supported, it is used to perform a bidirectional 1:1 mapping between the Backbone I-SID and the Local-SID. If the Local-SID field is not supported, the Local-SID value is the same as the Backbone I-SID value.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(256, 16777214) class IEEE8021PbbServiceIdentifierOrUnassigned(TextualConvention, Unsigned32): reference = '12.16.3, 12.16.5' description = 'The service instance identifier is used at the Customer Backbone Port of a PBB to distinguish a service instance (Local-SID). If the Local-SID field is supported, it is used to perform a bidirectional 1:1 mapping between the Backbone I-SID and the Local-SID. If the Local-SID field is not supported, the Local-SID value is the same as the Backbone I-SID value. The special value of 1 indicates an unassigned I-SID.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ConstraintsUnion(ValueRangeConstraint(1, 1), ValueRangeConstraint(256, 16777214), ) class IEEE8021PbbIngressEgress(TextualConvention, Bits): reference = '12.16.3, 12.16.5' description = 'A 2 bit selector which determines if frames on this VIP may ingress to the PBBN but not egress the PBBN, egress to the PBBN but not ingress the PBBN, or both ingress and egress the PBBN.' status = 'current' namedValues = NamedValues(("ingress", 0), ("egress", 1)) class IEEE8021PriorityCodePoint(TextualConvention, Integer32): reference = '12.6.2.6' description = 'Bridge ports may encode or decode the PCP value of the frames that traverse the port. This textual convention names the possible encoding and decoding schemes that the port may use. The priority and drop_eligible parameters are encoded in the Priority Code Point (PCP) field of the VLAN tag using the Priority Code Point Encoding Table for the Port, and they are decoded from the PCP using the Priority Code Point Decoding Table.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4)) namedValues = NamedValues(("codePoint8p0d", 1), ("codePoint7p1d", 2), ("codePoint6p2d", 3), ("codePoint5p3d", 4)) class IEEE8021BridgePortNumber(TextualConvention, Unsigned32): reference = '17.3.2.2' description = 'An integer that uniquely identifies a Bridge Port, as specified in 17.3.2.2. This value is used within the spanning tree protocol to identify this port to neighbor Bridges.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 65535) class IEEE8021BridgePortNumberOrZero(TextualConvention, Unsigned32): reference = '17.3.2.2' description = 'An integer that uniquely identifies a Bridge Port. The value 0 means no port number, and this must be clarified in the DESCRIPTION clause of any object defined using this TEXTUAL-CONVENTION.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(0, 65535) class IEEE8021BridgePortType(TextualConvention, Integer32): reference = '40.4, 12.13.1.1, 12.13.1.2, 12.16, 12.16.1.1.3 12.16.2.1, 12.26' description = "A port type. The possible port types are: customerVlanPort(2) - Indicates a port is a C-tag aware port of an enterprise VLAN aware Bridge. providerNetworkPort(3) - Indicates a port is an S-tag aware port of a Provider Bridge or Backbone Edge Bridge used for connections within a PBN or PBBN. customerNetworkPort(4) - Indicates a port is an S-tag aware port of a Provider Bridge or Backbone Edge Bridge used for connections to the exterior of a PBN or PBBN. customerEdgePort(5) - Indicates a port is a C-tag aware port of a Provider Bridge used for connections to the exterior of a PBN or PBBN. customerBackbonePort(6) - Indicates a port is a I-tag aware port of a Backbone Edge Bridge's B-component. virtualInstancePort(7) - Indicates a port is a virtual S-tag aware port within a Backbone Edge Bridge's I-component which is responsible for handling S-tagged traffic for a specific backbone service instance. dBridgePort(8) - Indicates a port is a VLAN-unaware member of an 802.1D Bridge. remoteCustomerAccessPort (9) - Indicates a port is an S-tag aware port of a Provider Bridge used for connections to remote customer interface LANs through another PBN. stationFacingBridgePort (10) - Indicates a port of a Bridge that supports the EVB status parameters (40.4) with an EVBMode parameter value of EVB Bridge. uplinkAccessPort (11) - Indicates a port on a Port-mapping S-VLAN component that connects an EVB Bridge with an EVB station. uplinkRelayPort (12) - Indicates a port of an edge relay that supports the EVB status parameters (40.4) with an EVBMode parameter value of EVB station." status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)) namedValues = NamedValues(("none", 1), ("customerVlanPort", 2), ("providerNetworkPort", 3), ("customerNetworkPort", 4), ("customerEdgePort", 5), ("customerBackbonePort", 6), ("virtualInstancePort", 7), ("dBridgePort", 8), ("remoteCustomerAccessPort", 9), ("stationFacingBridgePort", 10), ("uplinkAccessPort", 11), ("uplinkRelayPort", 12)) class IEEE8021VlanIndex(TextualConvention, Unsigned32): reference = '9.6' description = 'A value used to index per-VLAN tables: values of 0 and 4095 are not permitted. If the value is between 1 and 4094 inclusive, it represents an IEEE 802.1Q VLAN-ID with global scope within a given bridged domain (see VlanId textual convention). If the value is greater than 4095, then it represents a VLAN with scope local to the particular agent, i.e., one without a global VLAN-ID assigned to it. Such VLANs are outside the scope of IEEE 802.1Q, but it is convenient to be able to manage them in the same way using this MIB.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ConstraintsUnion(ValueRangeConstraint(1, 4094), ValueRangeConstraint(4096, 4294967295), ) class IEEE8021VlanIndexOrWildcard(TextualConvention, Unsigned32): reference = '9.6' description = "A value used to index per-VLAN tables. The value 0 is not permitted, while the value 4095 represents a 'wildcard' value. An object whose SYNTAX is IEEE8021VlanIndexOrWildcard must specify in its DESCRIPTION the specific meaning of the wildcard value. If the value is between 1 and 4094 inclusive, it represents an IEEE 802.1Q VLAN-ID with global scope within a given bridged domain (see VlanId textual convention). If the value is greater than 4095, then it represents a VLAN with scope local to the particular agent, i.e., one without a global VLAN-ID assigned to it. Such VLANs are outside the scope of IEEE 802.1Q, but it is convenient to be able to manage them in the same way using this MIB." status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 4294967295) class IEEE8021MstIdentifier(TextualConvention, Unsigned32): description = 'In an MSTP Bridge, an MSTID, i.e., a value used to identify a spanning tree (or MST) instance. In the PBB-TE environment the value 4094 is used to identify VIDs managed by the PBB-TE procedures.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 4094) class IEEE8021ServiceSelectorType(TextualConvention, Integer32): description = 'A value that represents a type (and thereby the format) of a IEEE8021ServiceSelectorValue. The value can be one of the following: ieeeReserved(0) Reserved for definition by IEEE 802.1 recommend to not use zero unless absolutely needed. vlanId(1) 12-Bit identifier as described in IEEE802.1Q. isid(2) 24-Bit identifier as described in IEEE802.1ah. tesid(3) 32 Bit identifier as described below. segid(4) 32 Bit identifier as described below. path-tesid(5) 32 Bit identifier as described below. group-isid(6) 24 Bit identifier as described below. ieeeReserved(7) Reserved for definition by IEEE 802.1 To support future extensions, the IEEE8021ServiceSelectorType textual convention SHOULD NOT be subtyped in object type definitions. It MAY be subtyped in compliance statements in order to require only a subset of these address types for a compliant implementation. The tesid is used as a service selector for MAs that are present in Bridges that implement PBB-TE functionality. A selector of this type is interpreted as a 32 bit unsigned value of type IEEE8021PbbTeTSidId. This type is used to index the ieee8021PbbTeTeSiEspTable to find the ESPs which comprise the TE Service Instance named by this TE-SID value. The segid is used as a service selector for MAs that are present in Bridges that implement IPS functionality. A selector of this type is interpreted as a 32 bit unsigned value of type IEEE8021TeipsSegid. This type is used to index the Ieee8021TeipsSegTable to find the SMPs which comprise the Infrastructure Segment named by this segid value. The path-tesid is used as a service selector for SPBM path MAs. A selector of this type is interpreted as a 32 bit unsigned value corresponding to the MA index dot1agCfmMaIndex. This type is used to index the dot1agCfmMepSpbmEspTable to find the ESPs which comprise the SPBM path associated with an SPBM path MA. The group-isid is used as a service selector for SPBM group MAs. A selector of this type is interpreted as a 24 bit unsigned value corresponding to the I-SID associated with an SPBM group MA. Implementations MUST ensure that IEEE8021ServiceSelectorType objects and any dependent objects (e.g., IEEE8021ServiceSelectorValue objects) are consistent. An inconsistentValue error MUST be generated if an attempt to change an IEEE8021ServiceSelectorType object would, for example, lead to an undefined IEEE8021ServiceSelectorValue value.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7)) namedValues = NamedValues(("vlanId", 1), ("isid", 2), ("tesid", 3), ("segid", 4), ("path-tesid", 5), ("group-isid", 6), ("ieeeReserved", 7)) class IEEE8021ServiceSelectorValueOrNone(TextualConvention, Unsigned32): description = "An integer that uniquely identifies a generic MAC Service, or none. Examples of service selectors are a VLAN-ID (IEEE 802.1Q) and an I-SID (IEEE 802.1ah). An IEEE8021ServiceSelectorValueOrNone value is always interpreted within the context of an IEEE8021ServiceSelectorType value. Every usage of the IEEE8021ServiceSelectorValueOrNone textual convention is required to specify the IEEE8021ServiceSelectorType object that provides the context. It is suggested that the IEEE8021ServiceSelectorType object be logically registered before the object(s) that use the IEEE8021ServiceSelectorValueOrNone textual convention, if they appear in the same logical row. The value of an IEEE8021ServiceSelectorValueOrNone object must always be consistent with the value of the associated IEEE8021ServiceSelectorType object. Attempts to set an IEEE8021ServiceSelectorValueOrNone object to a value inconsistent with the associated IEEE8021ServiceSelectorType must fail with an inconsistentValue error. The special value of zero is used to indicate that no service selector is present or used. This can be used in any situation where an object or a table entry MUST either refer to a specific service, or not make a selection. Note that a MIB object that is defined using this TEXTUAL-CONVENTION SHOULD clarify the meaning of 'no service' (i.e., the special value 0), as well as the maximum value (i.e., 4094, for a VLAN ID)." status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 4294967295), ) class IEEE8021ServiceSelectorValue(TextualConvention, Unsigned32): description = 'An integer that uniquely identifies a generic MAC Service. Examples of service selectors are a VLAN-ID (IEEE 802.1Q) and an I-SID (IEEE 802.1ah). An IEEE8021ServiceSelectorValue value is always interpreted within the context of an IEEE8021ServiceSelectorType value. Every usage of the IEEE8021ServiceSelectorValue textual convention is required to specify the IEEE8021ServiceSelectorType object that provides the context. It is suggested that the IEEE8021ServiceSelectorType object be logically registered before the object(s) that use the IEEE8021ServiceSelectorValue textual convention, if they appear in the same logical row. The value of an IEEE8021ServiceSelectorValue object must always be consistent with the value of the associated IEEE8021ServiceSelectorType object. Attempts to set an IEEE8021ServiceSelectorValue object to a value inconsistent with the associated IEEE8021ServiceSelectorType must fail with an inconsistentValue error. Note that a MIB object that is defined using this TEXTUAL-CONVENTION SHOULD clarify the maximum value (i.e., 4094, for a VLAN ID).' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 4294967295) class IEEE8021PortAcceptableFrameTypes(TextualConvention, Integer32): reference = '12.10.1.3, 12.13.3.3, 12.13.3.4' description = 'Acceptable frame types on a port.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3)) namedValues = NamedValues(("admitAll", 1), ("admitUntaggedAndPriority", 2), ("admitTagged", 3)) class IEEE8021PriorityValue(TextualConvention, Unsigned32): reference = '12.13.3.3' description = 'An 802.1Q user priority value.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(0, 7) class IEEE8021PbbTeProtectionGroupId(TextualConvention, Unsigned32): reference = '12.18.2' description = 'The PbbTeProtectionGroupId identifier is used to distinguish protection group instances present in the B Component of an IB-BEB.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 429467295) class IEEE8021PbbTeEsp(TextualConvention, OctetString): reference = '3.75' description = 'This textual convention is used to represent the logical components that comprise the 3-tuple that identifies an Ethernet Switched Path. The 3-tuple consists of a destination MAC address, a source MAC address and a VID. Bytes (1..6) of this textual convention contain the ESP-MAC-DA, bytes (7..12) contain the ESP-MAC-SA, and bytes (13..14) contain the ESP-VID.' status = 'current' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(14, 14) fixedLength = 14 class IEEE8021PbbTeTSidId(TextualConvention, Unsigned32): reference = '3.240' description = 'This textual convention is used to represent an identifier that refers to a TE Service Instance. Note that, internally a TE-SID is implementation dependent. This textual convention defines the external representation of TE-SID values.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 42947295) class IEEE8021PbbTeProtectionGroupConfigAdmin(TextualConvention, Integer32): reference = '26.10.3.3.5 26.10.3.3.6 26.10.3.3.7 12.18.2.3.2' description = 'This textual convention is used to represent administrative commands that can be issued to a protection group. The value noAdmin(1) is used to indicate that no administrative action is to be performed.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5)) namedValues = NamedValues(("clear", 1), ("lockOutProtection", 2), ("forceSwitch", 3), ("manualSwitchToProtection", 4), ("manualSwitchToWorking", 5)) class IEEE8021PbbTeProtectionGroupActiveRequests(TextualConvention, Integer32): reference = '12.18.2.1.3 d)' description = 'This textual convention is used to represent the status of active requests within a protection group.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7)) namedValues = NamedValues(("noRequest", 1), ("loP", 2), ("fs", 3), ("pSFH", 4), ("wSFH", 5), ("manualSwitchToProtection", 6), ("manualSwitchToWorking", 7)) class IEEE8021TeipsIpgid(TextualConvention, Unsigned32): reference = '12.24.1.1.3 a)' description = 'The TEIPS IPG identifier is used to distinguish IPG instances present in a PBB.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 429467295) class IEEE8021TeipsSegid(TextualConvention, Unsigned32): reference = '26.11.1' description = 'This textual convention is used to represent an identifier that refers to an Infrastructure Segment. Note that, internally a SEG-ID implementation dependent. This textual convention defines the external representation of SEG-ID values.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 42947295) class IEEE8021TeipsSmpid(TextualConvention, OctetString): reference = '26.11.1' description = 'This textual convention is used to represent the logical components that comprise the 3-tuple that identifies a Segment Monitoring Path (SMP). The 3-tuple consists of a destination MAC address, a source MAC address and a VID. Bytes (1..6) of this textual convention contain the SMP-MAC-DA, bytes (7..12) contain the SMP-MAC-SA, and bytes (13..14) contain the SMP-VID.' status = 'current' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(14, 14) fixedLength = 14 class IEEE8021TeipsIpgConfigAdmin(TextualConvention, Integer32): reference = '12.24.2.1.3 h)' description = 'This textual convention is used to represent administrative commands that can be issued to an IPG. The value clear(1) is used to indicate that no administrative action is to be performed.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5)) namedValues = NamedValues(("clear", 1), ("lockOutProtection", 2), ("forceSwitch", 3), ("manualSwitchToProtection", 4), ("manualSwitchToWorking", 5)) class IEEE8021TeipsIpgConfigActiveRequests(TextualConvention, Integer32): reference = '12.24.2.1.3 d)' description = 'This textual convention is used to represent the status of active requests within an IPG.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7)) namedValues = NamedValues(("noRequest", 1), ("loP", 2), ("fs", 3), ("pSFH", 4), ("wSFH", 5), ("manualSwitchToProtection", 6), ("manualSwitchToWorking", 7)) mibBuilder.exportSymbols("IEEE8021-TC-MIB", IEEE8021BridgePortNumber=IEEE8021BridgePortNumber, IEEE8021ServiceSelectorValue=IEEE8021ServiceSelectorValue, IEEE8021PortAcceptableFrameTypes=IEEE8021PortAcceptableFrameTypes, IEEE8021TeipsSegid=IEEE8021TeipsSegid, IEEE8021PbbIngressEgress=IEEE8021PbbIngressEgress, IEEE8021BridgePortType=IEEE8021BridgePortType, IEEE8021PriorityValue=IEEE8021PriorityValue, IEEE8021TeipsIpgid=IEEE8021TeipsIpgid, IEEE8021PbbTeProtectionGroupConfigAdmin=IEEE8021PbbTeProtectionGroupConfigAdmin, IEEE8021VlanIndexOrWildcard=IEEE8021VlanIndexOrWildcard, IEEE8021TeipsIpgConfigActiveRequests=IEEE8021TeipsIpgConfigActiveRequests, ieee8021TcMib=ieee8021TcMib, IEEE8021PbbServiceIdentifier=IEEE8021PbbServiceIdentifier, IEEE8021ServiceSelectorValueOrNone=IEEE8021ServiceSelectorValueOrNone, IEEE8021VlanIndex=IEEE8021VlanIndex, IEEE8021ServiceSelectorType=IEEE8021ServiceSelectorType, IEEE8021PbbTeProtectionGroupActiveRequests=IEEE8021PbbTeProtectionGroupActiveRequests, IEEE8021MstIdentifier=IEEE8021MstIdentifier, IEEE8021PbbServiceIdentifierOrUnassigned=IEEE8021PbbServiceIdentifierOrUnassigned, IEEE8021PbbTeEsp=IEEE8021PbbTeEsp, IEEE8021PbbComponentIdentifier=IEEE8021PbbComponentIdentifier, IEEE8021PbbTeTSidId=IEEE8021PbbTeTSidId, IEEE8021TeipsSmpid=IEEE8021TeipsSmpid, PYSNMP_MODULE_ID=ieee8021TcMib, IEEE8021PbbTeProtectionGroupId=IEEE8021PbbTeProtectionGroupId, ieee802dot1mibs=ieee802dot1mibs, IEEE8021PriorityCodePoint=IEEE8021PriorityCodePoint, IEEE8021TeipsIpgConfigAdmin=IEEE8021TeipsIpgConfigAdmin, IEEE8021PbbComponentIdentifierOrZero=IEEE8021PbbComponentIdentifierOrZero, IEEE8021BridgePortNumberOrZero=IEEE8021BridgePortNumberOrZero)
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, constraints_intersection, constraints_union, value_size_constraint, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ConstraintsIntersection', 'ConstraintsUnion', 'ValueSizeConstraint', 'ValueRangeConstraint') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (counter64, org, iso, mib_identifier, module_identity, unsigned32, integer32, gauge32, ip_address, notification_type, object_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, counter32, bits, time_ticks) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter64', 'org', 'iso', 'MibIdentifier', 'ModuleIdentity', 'Unsigned32', 'Integer32', 'Gauge32', 'IpAddress', 'NotificationType', 'ObjectIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter32', 'Bits', 'TimeTicks') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') ieee8021_tc_mib = module_identity((1, 3, 111, 2, 802, 1, 1, 1)) ieee8021TcMib.setRevisions(('2014-12-15 00:00', '2012-02-15 00:00', '2011-08-23 00:00', '2011-04-06 00:00', '2011-02-27 00:00', '2008-11-18 00:00', '2008-10-15 00:00')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ieee8021TcMib.setRevisionsDescriptions(('Published as part of IEEE Std 802.1Q 2014 revision. Cross references updated and corrected. Updating of definition of IEEE8021PbbIngressEgress New identifier types for new SPBM MA types', 'Modified IEEE8021BridgePortType textual convention to include stationFacingBridgePort, uplinkAccessPort, and uplinkRelayPort types.', 'Modified textual conventions to support the IEEE 802.1 MIBs for PBB-TE Infrastructure Protection Switching.', 'Modified textual conventions to support Remote Customer Service Interfaces.', 'Minor edits to contact information etc. as part of 2011 revision of IEEE Std 802.1Q.', 'Added textual conventions needed to support the IEEE 802.1 MIBs for PBB-TE. Additionally, some textual conventions were modified for the same reason.', 'Initial version.')) if mibBuilder.loadTexts: ieee8021TcMib.setLastUpdated('201412150000Z') if mibBuilder.loadTexts: ieee8021TcMib.setOrganization('IEEE 802.1 Working Group') if mibBuilder.loadTexts: ieee8021TcMib.setContactInfo(' WG-URL: http://grouper.ieee.org/groups/802/1/index.html WG-EMail: stds-802-1@ieee.org Contact: IEEE 802.1 Working Group Chair Postal: C/O IEEE 802.1 Working Group IEEE Standards Association 445 Hoes Lane P.O. Box 1331 Piscataway NJ 08855-1331 USA E-mail: STDS-802-1-L@LISTSERV.IEEE.ORG') if mibBuilder.loadTexts: ieee8021TcMib.setDescription('Textual conventions used throughout the various IEEE 802.1 MIB modules. Unless otherwise indicated, the references in this MIB module are to IEEE Std 802.1Q-2014. Copyright (C) IEEE (2014). This version of this MIB module is part of IEEE Std 802.1Q; see the draft itself for full legal notices.') ieee802dot1mibs = mib_identifier((1, 3, 111, 2, 802, 1, 1)) class Ieee8021Pbbcomponentidentifier(TextualConvention, Unsigned32): reference = '12.3 l)' description = 'The component identifier is used to distinguish between the multiple virtual Bridge instances within a PB or PBB. Each virtual Bridge instance is called a component. In simple situations where there is only a single component the default value is 1. The component is identified by a component identifier unique within the BEB and by a MAC address unique within the PBBN. Each component is associated with a Backbone Edge Bridge (BEB) Configuration managed object.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 4294967295) class Ieee8021Pbbcomponentidentifierorzero(TextualConvention, Unsigned32): reference = '12.3 l)' description = "The component identifier is used to distinguish between the multiple virtual Bridge instances within a PB or PBB. In simple situations where there is only a single component the default value is 1. The component is identified by a component identifier unique within the BEB and by a MAC address unique within the PBBN. Each component is associated with a Backbone Edge Bridge (BEB) Configuration managed object. The special value '0' means 'no component identifier'. When this TC is used as the SYNTAX of an object, that object must specify the exact meaning for this value." status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 4294967295)) class Ieee8021Pbbserviceidentifier(TextualConvention, Unsigned32): reference = '12.16.3, 12.16.5' description = 'The service instance identifier is used at the Customer Backbone Port of a PBB to distinguish a service instance (Local-SID). If the Local-SID field is supported, it is used to perform a bidirectional 1:1 mapping between the Backbone I-SID and the Local-SID. If the Local-SID field is not supported, the Local-SID value is the same as the Backbone I-SID value.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(256, 16777214) class Ieee8021Pbbserviceidentifierorunassigned(TextualConvention, Unsigned32): reference = '12.16.3, 12.16.5' description = 'The service instance identifier is used at the Customer Backbone Port of a PBB to distinguish a service instance (Local-SID). If the Local-SID field is supported, it is used to perform a bidirectional 1:1 mapping between the Backbone I-SID and the Local-SID. If the Local-SID field is not supported, the Local-SID value is the same as the Backbone I-SID value. The special value of 1 indicates an unassigned I-SID.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + constraints_union(value_range_constraint(1, 1), value_range_constraint(256, 16777214)) class Ieee8021Pbbingressegress(TextualConvention, Bits): reference = '12.16.3, 12.16.5' description = 'A 2 bit selector which determines if frames on this VIP may ingress to the PBBN but not egress the PBBN, egress to the PBBN but not ingress the PBBN, or both ingress and egress the PBBN.' status = 'current' named_values = named_values(('ingress', 0), ('egress', 1)) class Ieee8021Prioritycodepoint(TextualConvention, Integer32): reference = '12.6.2.6' description = 'Bridge ports may encode or decode the PCP value of the frames that traverse the port. This textual convention names the possible encoding and decoding schemes that the port may use. The priority and drop_eligible parameters are encoded in the Priority Code Point (PCP) field of the VLAN tag using the Priority Code Point Encoding Table for the Port, and they are decoded from the PCP using the Priority Code Point Decoding Table.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4)) named_values = named_values(('codePoint8p0d', 1), ('codePoint7p1d', 2), ('codePoint6p2d', 3), ('codePoint5p3d', 4)) class Ieee8021Bridgeportnumber(TextualConvention, Unsigned32): reference = '17.3.2.2' description = 'An integer that uniquely identifies a Bridge Port, as specified in 17.3.2.2. This value is used within the spanning tree protocol to identify this port to neighbor Bridges.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 65535) class Ieee8021Bridgeportnumberorzero(TextualConvention, Unsigned32): reference = '17.3.2.2' description = 'An integer that uniquely identifies a Bridge Port. The value 0 means no port number, and this must be clarified in the DESCRIPTION clause of any object defined using this TEXTUAL-CONVENTION.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(0, 65535) class Ieee8021Bridgeporttype(TextualConvention, Integer32): reference = '40.4, 12.13.1.1, 12.13.1.2, 12.16, 12.16.1.1.3 12.16.2.1, 12.26' description = "A port type. The possible port types are: customerVlanPort(2) - Indicates a port is a C-tag aware port of an enterprise VLAN aware Bridge. providerNetworkPort(3) - Indicates a port is an S-tag aware port of a Provider Bridge or Backbone Edge Bridge used for connections within a PBN or PBBN. customerNetworkPort(4) - Indicates a port is an S-tag aware port of a Provider Bridge or Backbone Edge Bridge used for connections to the exterior of a PBN or PBBN. customerEdgePort(5) - Indicates a port is a C-tag aware port of a Provider Bridge used for connections to the exterior of a PBN or PBBN. customerBackbonePort(6) - Indicates a port is a I-tag aware port of a Backbone Edge Bridge's B-component. virtualInstancePort(7) - Indicates a port is a virtual S-tag aware port within a Backbone Edge Bridge's I-component which is responsible for handling S-tagged traffic for a specific backbone service instance. dBridgePort(8) - Indicates a port is a VLAN-unaware member of an 802.1D Bridge. remoteCustomerAccessPort (9) - Indicates a port is an S-tag aware port of a Provider Bridge used for connections to remote customer interface LANs through another PBN. stationFacingBridgePort (10) - Indicates a port of a Bridge that supports the EVB status parameters (40.4) with an EVBMode parameter value of EVB Bridge. uplinkAccessPort (11) - Indicates a port on a Port-mapping S-VLAN component that connects an EVB Bridge with an EVB station. uplinkRelayPort (12) - Indicates a port of an edge relay that supports the EVB status parameters (40.4) with an EVBMode parameter value of EVB station." status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)) named_values = named_values(('none', 1), ('customerVlanPort', 2), ('providerNetworkPort', 3), ('customerNetworkPort', 4), ('customerEdgePort', 5), ('customerBackbonePort', 6), ('virtualInstancePort', 7), ('dBridgePort', 8), ('remoteCustomerAccessPort', 9), ('stationFacingBridgePort', 10), ('uplinkAccessPort', 11), ('uplinkRelayPort', 12)) class Ieee8021Vlanindex(TextualConvention, Unsigned32): reference = '9.6' description = 'A value used to index per-VLAN tables: values of 0 and 4095 are not permitted. If the value is between 1 and 4094 inclusive, it represents an IEEE 802.1Q VLAN-ID with global scope within a given bridged domain (see VlanId textual convention). If the value is greater than 4095, then it represents a VLAN with scope local to the particular agent, i.e., one without a global VLAN-ID assigned to it. Such VLANs are outside the scope of IEEE 802.1Q, but it is convenient to be able to manage them in the same way using this MIB.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + constraints_union(value_range_constraint(1, 4094), value_range_constraint(4096, 4294967295)) class Ieee8021Vlanindexorwildcard(TextualConvention, Unsigned32): reference = '9.6' description = "A value used to index per-VLAN tables. The value 0 is not permitted, while the value 4095 represents a 'wildcard' value. An object whose SYNTAX is IEEE8021VlanIndexOrWildcard must specify in its DESCRIPTION the specific meaning of the wildcard value. If the value is between 1 and 4094 inclusive, it represents an IEEE 802.1Q VLAN-ID with global scope within a given bridged domain (see VlanId textual convention). If the value is greater than 4095, then it represents a VLAN with scope local to the particular agent, i.e., one without a global VLAN-ID assigned to it. Such VLANs are outside the scope of IEEE 802.1Q, but it is convenient to be able to manage them in the same way using this MIB." status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 4294967295) class Ieee8021Mstidentifier(TextualConvention, Unsigned32): description = 'In an MSTP Bridge, an MSTID, i.e., a value used to identify a spanning tree (or MST) instance. In the PBB-TE environment the value 4094 is used to identify VIDs managed by the PBB-TE procedures.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 4094) class Ieee8021Serviceselectortype(TextualConvention, Integer32): description = 'A value that represents a type (and thereby the format) of a IEEE8021ServiceSelectorValue. The value can be one of the following: ieeeReserved(0) Reserved for definition by IEEE 802.1 recommend to not use zero unless absolutely needed. vlanId(1) 12-Bit identifier as described in IEEE802.1Q. isid(2) 24-Bit identifier as described in IEEE802.1ah. tesid(3) 32 Bit identifier as described below. segid(4) 32 Bit identifier as described below. path-tesid(5) 32 Bit identifier as described below. group-isid(6) 24 Bit identifier as described below. ieeeReserved(7) Reserved for definition by IEEE 802.1 To support future extensions, the IEEE8021ServiceSelectorType textual convention SHOULD NOT be subtyped in object type definitions. It MAY be subtyped in compliance statements in order to require only a subset of these address types for a compliant implementation. The tesid is used as a service selector for MAs that are present in Bridges that implement PBB-TE functionality. A selector of this type is interpreted as a 32 bit unsigned value of type IEEE8021PbbTeTSidId. This type is used to index the ieee8021PbbTeTeSiEspTable to find the ESPs which comprise the TE Service Instance named by this TE-SID value. The segid is used as a service selector for MAs that are present in Bridges that implement IPS functionality. A selector of this type is interpreted as a 32 bit unsigned value of type IEEE8021TeipsSegid. This type is used to index the Ieee8021TeipsSegTable to find the SMPs which comprise the Infrastructure Segment named by this segid value. The path-tesid is used as a service selector for SPBM path MAs. A selector of this type is interpreted as a 32 bit unsigned value corresponding to the MA index dot1agCfmMaIndex. This type is used to index the dot1agCfmMepSpbmEspTable to find the ESPs which comprise the SPBM path associated with an SPBM path MA. The group-isid is used as a service selector for SPBM group MAs. A selector of this type is interpreted as a 24 bit unsigned value corresponding to the I-SID associated with an SPBM group MA. Implementations MUST ensure that IEEE8021ServiceSelectorType objects and any dependent objects (e.g., IEEE8021ServiceSelectorValue objects) are consistent. An inconsistentValue error MUST be generated if an attempt to change an IEEE8021ServiceSelectorType object would, for example, lead to an undefined IEEE8021ServiceSelectorValue value.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7)) named_values = named_values(('vlanId', 1), ('isid', 2), ('tesid', 3), ('segid', 4), ('path-tesid', 5), ('group-isid', 6), ('ieeeReserved', 7)) class Ieee8021Serviceselectorvalueornone(TextualConvention, Unsigned32): description = "An integer that uniquely identifies a generic MAC Service, or none. Examples of service selectors are a VLAN-ID (IEEE 802.1Q) and an I-SID (IEEE 802.1ah). An IEEE8021ServiceSelectorValueOrNone value is always interpreted within the context of an IEEE8021ServiceSelectorType value. Every usage of the IEEE8021ServiceSelectorValueOrNone textual convention is required to specify the IEEE8021ServiceSelectorType object that provides the context. It is suggested that the IEEE8021ServiceSelectorType object be logically registered before the object(s) that use the IEEE8021ServiceSelectorValueOrNone textual convention, if they appear in the same logical row. The value of an IEEE8021ServiceSelectorValueOrNone object must always be consistent with the value of the associated IEEE8021ServiceSelectorType object. Attempts to set an IEEE8021ServiceSelectorValueOrNone object to a value inconsistent with the associated IEEE8021ServiceSelectorType must fail with an inconsistentValue error. The special value of zero is used to indicate that no service selector is present or used. This can be used in any situation where an object or a table entry MUST either refer to a specific service, or not make a selection. Note that a MIB object that is defined using this TEXTUAL-CONVENTION SHOULD clarify the meaning of 'no service' (i.e., the special value 0), as well as the maximum value (i.e., 4094, for a VLAN ID)." status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 4294967295)) class Ieee8021Serviceselectorvalue(TextualConvention, Unsigned32): description = 'An integer that uniquely identifies a generic MAC Service. Examples of service selectors are a VLAN-ID (IEEE 802.1Q) and an I-SID (IEEE 802.1ah). An IEEE8021ServiceSelectorValue value is always interpreted within the context of an IEEE8021ServiceSelectorType value. Every usage of the IEEE8021ServiceSelectorValue textual convention is required to specify the IEEE8021ServiceSelectorType object that provides the context. It is suggested that the IEEE8021ServiceSelectorType object be logically registered before the object(s) that use the IEEE8021ServiceSelectorValue textual convention, if they appear in the same logical row. The value of an IEEE8021ServiceSelectorValue object must always be consistent with the value of the associated IEEE8021ServiceSelectorType object. Attempts to set an IEEE8021ServiceSelectorValue object to a value inconsistent with the associated IEEE8021ServiceSelectorType must fail with an inconsistentValue error. Note that a MIB object that is defined using this TEXTUAL-CONVENTION SHOULD clarify the maximum value (i.e., 4094, for a VLAN ID).' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 4294967295) class Ieee8021Portacceptableframetypes(TextualConvention, Integer32): reference = '12.10.1.3, 12.13.3.3, 12.13.3.4' description = 'Acceptable frame types on a port.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3)) named_values = named_values(('admitAll', 1), ('admitUntaggedAndPriority', 2), ('admitTagged', 3)) class Ieee8021Priorityvalue(TextualConvention, Unsigned32): reference = '12.13.3.3' description = 'An 802.1Q user priority value.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(0, 7) class Ieee8021Pbbteprotectiongroupid(TextualConvention, Unsigned32): reference = '12.18.2' description = 'The PbbTeProtectionGroupId identifier is used to distinguish protection group instances present in the B Component of an IB-BEB.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 429467295) class Ieee8021Pbbteesp(TextualConvention, OctetString): reference = '3.75' description = 'This textual convention is used to represent the logical components that comprise the 3-tuple that identifies an Ethernet Switched Path. The 3-tuple consists of a destination MAC address, a source MAC address and a VID. Bytes (1..6) of this textual convention contain the ESP-MAC-DA, bytes (7..12) contain the ESP-MAC-SA, and bytes (13..14) contain the ESP-VID.' status = 'current' subtype_spec = OctetString.subtypeSpec + value_size_constraint(14, 14) fixed_length = 14 class Ieee8021Pbbtetsidid(TextualConvention, Unsigned32): reference = '3.240' description = 'This textual convention is used to represent an identifier that refers to a TE Service Instance. Note that, internally a TE-SID is implementation dependent. This textual convention defines the external representation of TE-SID values.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 42947295) class Ieee8021Pbbteprotectiongroupconfigadmin(TextualConvention, Integer32): reference = '26.10.3.3.5 26.10.3.3.6 26.10.3.3.7 12.18.2.3.2' description = 'This textual convention is used to represent administrative commands that can be issued to a protection group. The value noAdmin(1) is used to indicate that no administrative action is to be performed.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5)) named_values = named_values(('clear', 1), ('lockOutProtection', 2), ('forceSwitch', 3), ('manualSwitchToProtection', 4), ('manualSwitchToWorking', 5)) class Ieee8021Pbbteprotectiongroupactiverequests(TextualConvention, Integer32): reference = '12.18.2.1.3 d)' description = 'This textual convention is used to represent the status of active requests within a protection group.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7)) named_values = named_values(('noRequest', 1), ('loP', 2), ('fs', 3), ('pSFH', 4), ('wSFH', 5), ('manualSwitchToProtection', 6), ('manualSwitchToWorking', 7)) class Ieee8021Teipsipgid(TextualConvention, Unsigned32): reference = '12.24.1.1.3 a)' description = 'The TEIPS IPG identifier is used to distinguish IPG instances present in a PBB.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 429467295) class Ieee8021Teipssegid(TextualConvention, Unsigned32): reference = '26.11.1' description = 'This textual convention is used to represent an identifier that refers to an Infrastructure Segment. Note that, internally a SEG-ID implementation dependent. This textual convention defines the external representation of SEG-ID values.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 42947295) class Ieee8021Teipssmpid(TextualConvention, OctetString): reference = '26.11.1' description = 'This textual convention is used to represent the logical components that comprise the 3-tuple that identifies a Segment Monitoring Path (SMP). The 3-tuple consists of a destination MAC address, a source MAC address and a VID. Bytes (1..6) of this textual convention contain the SMP-MAC-DA, bytes (7..12) contain the SMP-MAC-SA, and bytes (13..14) contain the SMP-VID.' status = 'current' subtype_spec = OctetString.subtypeSpec + value_size_constraint(14, 14) fixed_length = 14 class Ieee8021Teipsipgconfigadmin(TextualConvention, Integer32): reference = '12.24.2.1.3 h)' description = 'This textual convention is used to represent administrative commands that can be issued to an IPG. The value clear(1) is used to indicate that no administrative action is to be performed.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5)) named_values = named_values(('clear', 1), ('lockOutProtection', 2), ('forceSwitch', 3), ('manualSwitchToProtection', 4), ('manualSwitchToWorking', 5)) class Ieee8021Teipsipgconfigactiverequests(TextualConvention, Integer32): reference = '12.24.2.1.3 d)' description = 'This textual convention is used to represent the status of active requests within an IPG.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7)) named_values = named_values(('noRequest', 1), ('loP', 2), ('fs', 3), ('pSFH', 4), ('wSFH', 5), ('manualSwitchToProtection', 6), ('manualSwitchToWorking', 7)) mibBuilder.exportSymbols('IEEE8021-TC-MIB', IEEE8021BridgePortNumber=IEEE8021BridgePortNumber, IEEE8021ServiceSelectorValue=IEEE8021ServiceSelectorValue, IEEE8021PortAcceptableFrameTypes=IEEE8021PortAcceptableFrameTypes, IEEE8021TeipsSegid=IEEE8021TeipsSegid, IEEE8021PbbIngressEgress=IEEE8021PbbIngressEgress, IEEE8021BridgePortType=IEEE8021BridgePortType, IEEE8021PriorityValue=IEEE8021PriorityValue, IEEE8021TeipsIpgid=IEEE8021TeipsIpgid, IEEE8021PbbTeProtectionGroupConfigAdmin=IEEE8021PbbTeProtectionGroupConfigAdmin, IEEE8021VlanIndexOrWildcard=IEEE8021VlanIndexOrWildcard, IEEE8021TeipsIpgConfigActiveRequests=IEEE8021TeipsIpgConfigActiveRequests, ieee8021TcMib=ieee8021TcMib, IEEE8021PbbServiceIdentifier=IEEE8021PbbServiceIdentifier, IEEE8021ServiceSelectorValueOrNone=IEEE8021ServiceSelectorValueOrNone, IEEE8021VlanIndex=IEEE8021VlanIndex, IEEE8021ServiceSelectorType=IEEE8021ServiceSelectorType, IEEE8021PbbTeProtectionGroupActiveRequests=IEEE8021PbbTeProtectionGroupActiveRequests, IEEE8021MstIdentifier=IEEE8021MstIdentifier, IEEE8021PbbServiceIdentifierOrUnassigned=IEEE8021PbbServiceIdentifierOrUnassigned, IEEE8021PbbTeEsp=IEEE8021PbbTeEsp, IEEE8021PbbComponentIdentifier=IEEE8021PbbComponentIdentifier, IEEE8021PbbTeTSidId=IEEE8021PbbTeTSidId, IEEE8021TeipsSmpid=IEEE8021TeipsSmpid, PYSNMP_MODULE_ID=ieee8021TcMib, IEEE8021PbbTeProtectionGroupId=IEEE8021PbbTeProtectionGroupId, ieee802dot1mibs=ieee802dot1mibs, IEEE8021PriorityCodePoint=IEEE8021PriorityCodePoint, IEEE8021TeipsIpgConfigAdmin=IEEE8021TeipsIpgConfigAdmin, IEEE8021PbbComponentIdentifierOrZero=IEEE8021PbbComponentIdentifierOrZero, IEEE8021BridgePortNumberOrZero=IEEE8021BridgePortNumberOrZero)
entries = [ { "env-title": "atari-alien", "env-variant": "No-op start", "score": 1536.05, }, { "env-title": "atari-amidar", "env-variant": "No-op start", "score": 497.62, }, { "env-title": "atari-assault", "env-variant": "No-op start", "score": 12086.86, }, { "env-title": "atari-asterix", "env-variant": "No-op start", "score": 29692.50, }, { "env-title": "atari-asteroids", "env-variant": "No-op start", "score": 3508.10, }, { "env-title": "atari-atlantis", "env-variant": "No-op start", "score": 773355.50, }, { "env-title": "atari-bank-heist", "env-variant": "No-op start", "score": 1200.35, }, { "env-title": "atari-battle-zone", "env-variant": "No-op start", "score": 13015.00, }, { "env-title": "atari-beam-rider", "env-variant": "No-op start", "score": 8219.92, }, { "env-title": "atari-berzerk", "env-variant": "No-op start", "score": 888.30, }, { "env-title": "atari-bowling", "env-variant": "No-op start", "score": 35.73, }, { "env-title": "atari-boxing", "env-variant": "No-op start", "score": 96.30, }, { "env-title": "atari-breakout", "env-variant": "No-op start", "score": 640.43, }, { "env-title": "atari-centipede", "env-variant": "No-op start", "score": 5528.13, }, { "env-title": "atari-chopper-command", "env-variant": "No-op start", "score": 5012.00, }, { "env-title": "atari-crazy-climber", "env-variant": "No-op start", "score": 136211.50, }, { "env-title": "atari-defender", "env-variant": "No-op start", "score": 58718.25, }, { "env-title": "atari-demon-attack", "env-variant": "No-op start", "score": 107264.73, }, { "env-title": "atari-double-dunk", "env-variant": "No-op start", "score": -0.35, }, { "env-title": "atari-enduro", "env-variant": "No-op start", "score": 0.00, }, { "env-title": "atari-fishing-derby", "env-variant": "No-op start", "score": 32.08, }, { "env-title": "atari-freeway", "env-variant": "No-op start", "score": 0.00, }, { "env-title": "atari-frostbite", "env-variant": "No-op start", "score": 269.65, }, { "env-title": "atari-gopher", "env-variant": "No-op start", "score": 1002.40, }, { "env-title": "atari-gravitar", "env-variant": "No-op start", "score": 211.50, }, { "env-title": "atari-hero", "env-variant": "No-op start", "score": 33853.15, }, { "env-title": "atari-ice-hockey", "env-variant": "No-op start", "score": -5.25, }, { "env-title": "atari-jamesbond", "env-variant": "No-op start", "score": 440.00, }, { "env-title": "atari-kangaroo", "env-variant": "No-op start", "score": 47.00, }, { "env-title": "atari-krull", "env-variant": "No-op start", "score": 9247.60, }, { "env-title": "atari-kung-fu-master", "env-variant": "No-op start", "score": 42259.00, }, { "env-title": "atari-montezuma-revenge", "env-variant": "No-op start", "score": 0.00, }, { "env-title": "atari-ms-pacman", "env-variant": "No-op start", "score": 6501.71, }, { "env-title": "atari-name-this-game", "env-variant": "No-op start", "score": 6049.55, }, { "env-title": "atari-phoenix", "env-variant": "No-op start", "score": 33068.15, }, { "env-title": "atari-pitfall", "env-variant": "No-op start", "score": -11.14, }, { "env-title": "atari-pong", "env-variant": "No-op start", "score": 20.40, }, { "env-title": "atari-private-eye", "env-variant": "No-op start", "score": 92.42, }, { "env-title": "atari-qbert", "env-variant": "No-op start", "score": 18901.25, }, { "env-title": "atari-riverraid", "env-variant": "No-op start", "score": 17401.90, }, { "env-title": "atari-road-runner", "env-variant": "No-op start", "score": 37505.00, }, { "env-title": "atari-robotank", "env-variant": "No-op start", "score": 2.30, }, { "env-title": "atari-seaquest", "env-variant": "No-op start", "score": 1716.90, }, { "env-title": "atari-skiing", "env-variant": "No-op start", "score": -29975.00, }, { "env-title": "atari-solaris", "env-variant": "No-op start", "score": 2368.40, }, { "env-title": "atari-space-invaders", "env-variant": "No-op start", "score": 1726.28, }, { "env-title": "atari-star-gunner", "env-variant": "No-op start", "score": 69139.00, }, { "env-title": "atari-surround", "env-variant": "No-op start", "score": -8.13, }, { "env-title": "atari-tennis", "env-variant": "No-op start", "score": -1.89, }, { "env-title": "atari-time-pilot", "env-variant": "No-op start", "score": 6617.50, }, { "env-title": "atari-tutankham", "env-variant": "No-op start", "score": 267.82, }, { "env-title": "atari-up-n-down", "env-variant": "No-op start", "score": 273058.10, }, { "env-title": "atari-venture", "env-variant": "No-op start", "score": 0.00, }, { "env-title": "atari-video-pinball", "env-variant": "No-op start", "score": 228642.52, }, { "env-title": "atari-wizard-of-wor", "env-variant": "No-op start", "score": 4203.00, }, { "env-title": "atari-yars-revenge", "env-variant": "No-op start", "score": 80530.13, }, { "env-title": "atari-zaxxon", "env-variant": "No-op start", "score": 1148.50, }, ]
entries = [{'env-title': 'atari-alien', 'env-variant': 'No-op start', 'score': 1536.05}, {'env-title': 'atari-amidar', 'env-variant': 'No-op start', 'score': 497.62}, {'env-title': 'atari-assault', 'env-variant': 'No-op start', 'score': 12086.86}, {'env-title': 'atari-asterix', 'env-variant': 'No-op start', 'score': 29692.5}, {'env-title': 'atari-asteroids', 'env-variant': 'No-op start', 'score': 3508.1}, {'env-title': 'atari-atlantis', 'env-variant': 'No-op start', 'score': 773355.5}, {'env-title': 'atari-bank-heist', 'env-variant': 'No-op start', 'score': 1200.35}, {'env-title': 'atari-battle-zone', 'env-variant': 'No-op start', 'score': 13015.0}, {'env-title': 'atari-beam-rider', 'env-variant': 'No-op start', 'score': 8219.92}, {'env-title': 'atari-berzerk', 'env-variant': 'No-op start', 'score': 888.3}, {'env-title': 'atari-bowling', 'env-variant': 'No-op start', 'score': 35.73}, {'env-title': 'atari-boxing', 'env-variant': 'No-op start', 'score': 96.3}, {'env-title': 'atari-breakout', 'env-variant': 'No-op start', 'score': 640.43}, {'env-title': 'atari-centipede', 'env-variant': 'No-op start', 'score': 5528.13}, {'env-title': 'atari-chopper-command', 'env-variant': 'No-op start', 'score': 5012.0}, {'env-title': 'atari-crazy-climber', 'env-variant': 'No-op start', 'score': 136211.5}, {'env-title': 'atari-defender', 'env-variant': 'No-op start', 'score': 58718.25}, {'env-title': 'atari-demon-attack', 'env-variant': 'No-op start', 'score': 107264.73}, {'env-title': 'atari-double-dunk', 'env-variant': 'No-op start', 'score': -0.35}, {'env-title': 'atari-enduro', 'env-variant': 'No-op start', 'score': 0.0}, {'env-title': 'atari-fishing-derby', 'env-variant': 'No-op start', 'score': 32.08}, {'env-title': 'atari-freeway', 'env-variant': 'No-op start', 'score': 0.0}, {'env-title': 'atari-frostbite', 'env-variant': 'No-op start', 'score': 269.65}, {'env-title': 'atari-gopher', 'env-variant': 'No-op start', 'score': 1002.4}, {'env-title': 'atari-gravitar', 'env-variant': 'No-op start', 'score': 211.5}, {'env-title': 'atari-hero', 'env-variant': 'No-op start', 'score': 33853.15}, {'env-title': 'atari-ice-hockey', 'env-variant': 'No-op start', 'score': -5.25}, {'env-title': 'atari-jamesbond', 'env-variant': 'No-op start', 'score': 440.0}, {'env-title': 'atari-kangaroo', 'env-variant': 'No-op start', 'score': 47.0}, {'env-title': 'atari-krull', 'env-variant': 'No-op start', 'score': 9247.6}, {'env-title': 'atari-kung-fu-master', 'env-variant': 'No-op start', 'score': 42259.0}, {'env-title': 'atari-montezuma-revenge', 'env-variant': 'No-op start', 'score': 0.0}, {'env-title': 'atari-ms-pacman', 'env-variant': 'No-op start', 'score': 6501.71}, {'env-title': 'atari-name-this-game', 'env-variant': 'No-op start', 'score': 6049.55}, {'env-title': 'atari-phoenix', 'env-variant': 'No-op start', 'score': 33068.15}, {'env-title': 'atari-pitfall', 'env-variant': 'No-op start', 'score': -11.14}, {'env-title': 'atari-pong', 'env-variant': 'No-op start', 'score': 20.4}, {'env-title': 'atari-private-eye', 'env-variant': 'No-op start', 'score': 92.42}, {'env-title': 'atari-qbert', 'env-variant': 'No-op start', 'score': 18901.25}, {'env-title': 'atari-riverraid', 'env-variant': 'No-op start', 'score': 17401.9}, {'env-title': 'atari-road-runner', 'env-variant': 'No-op start', 'score': 37505.0}, {'env-title': 'atari-robotank', 'env-variant': 'No-op start', 'score': 2.3}, {'env-title': 'atari-seaquest', 'env-variant': 'No-op start', 'score': 1716.9}, {'env-title': 'atari-skiing', 'env-variant': 'No-op start', 'score': -29975.0}, {'env-title': 'atari-solaris', 'env-variant': 'No-op start', 'score': 2368.4}, {'env-title': 'atari-space-invaders', 'env-variant': 'No-op start', 'score': 1726.28}, {'env-title': 'atari-star-gunner', 'env-variant': 'No-op start', 'score': 69139.0}, {'env-title': 'atari-surround', 'env-variant': 'No-op start', 'score': -8.13}, {'env-title': 'atari-tennis', 'env-variant': 'No-op start', 'score': -1.89}, {'env-title': 'atari-time-pilot', 'env-variant': 'No-op start', 'score': 6617.5}, {'env-title': 'atari-tutankham', 'env-variant': 'No-op start', 'score': 267.82}, {'env-title': 'atari-up-n-down', 'env-variant': 'No-op start', 'score': 273058.1}, {'env-title': 'atari-venture', 'env-variant': 'No-op start', 'score': 0.0}, {'env-title': 'atari-video-pinball', 'env-variant': 'No-op start', 'score': 228642.52}, {'env-title': 'atari-wizard-of-wor', 'env-variant': 'No-op start', 'score': 4203.0}, {'env-title': 'atari-yars-revenge', 'env-variant': 'No-op start', 'score': 80530.13}, {'env-title': 'atari-zaxxon', 'env-variant': 'No-op start', 'score': 1148.5}]
TS = "timestep" H = "hourly" D = "daily" M = "monthly" A = "annual" RP = "runperiod" FREQUENCY = "frequency" VARIABLE = "variable" KEY = "key" TYPE = "type" UNITS = "units"
ts = 'timestep' h = 'hourly' d = 'daily' m = 'monthly' a = 'annual' rp = 'runperiod' frequency = 'frequency' variable = 'variable' key = 'key' type = 'type' units = 'units'
class ListNode: def __init__(self, val=0, next=None): self.val = val self.next = next def mergeTwoLists(l1, l2): # edge case if l1 is None: return l2 if l2 is None: return l1 # general case cur1 = l1 cur2 = l2 ans = ListNode() cur = ans while cur1 or cur2: if not cur2 or cur1 and cur2 and cur1.val <= cur2.val: cur.next = ListNode(val=cur1.val) cur1 = cur1.next else: cur.next = ListNode(val=cur2.val) cur2 = cur2.next cur = cur.next return ans.next
class Listnode: def __init__(self, val=0, next=None): self.val = val self.next = next def merge_two_lists(l1, l2): if l1 is None: return l2 if l2 is None: return l1 cur1 = l1 cur2 = l2 ans = list_node() cur = ans while cur1 or cur2: if not cur2 or (cur1 and cur2 and (cur1.val <= cur2.val)): cur.next = list_node(val=cur1.val) cur1 = cur1.next else: cur.next = list_node(val=cur2.val) cur2 = cur2.next cur = cur.next return ans.next
class ArgumentError(ValueError): ... class PathOpError(ValueError): ...
class Argumenterror(ValueError): ... class Pathoperror(ValueError): ...
# Q20 print("======= a =======") for x in range(1,200): if x % 4 == 0: print('{0:.2f}'.format(x)) print("======= b =======") #while x < 200: # if (x % 4 == 0): # x = x + 1 # print('{0:d}'.format(x)) # x = x + 2 print("======= c =======") for x in range(1,200): if x % 2 == 0: print('{0:d}'.format(x)) print("======= d =======") for x in range(1,200): if x % 4 == 0: print('{0:d}'.format(x)) print("======= e =======") for x in range(1,200): if x % 4 != 0: print('{0:d}'.format(x)) x = x + 1
print('======= a =======') for x in range(1, 200): if x % 4 == 0: print('{0:.2f}'.format(x)) print('======= b =======') print('======= c =======') for x in range(1, 200): if x % 2 == 0: print('{0:d}'.format(x)) print('======= d =======') for x in range(1, 200): if x % 4 == 0: print('{0:d}'.format(x)) print('======= e =======') for x in range(1, 200): if x % 4 != 0: print('{0:d}'.format(x)) x = x + 1
num = '' for i in range(10): num = str(i) for j in range(10): num += str(j) for k in range(10): num += str(k) print(num) num = str(i) + str(j) num = str(i)
num = '' for i in range(10): num = str(i) for j in range(10): num += str(j) for k in range(10): num += str(k) print(num) num = str(i) + str(j) num = str(i)
# Copyright (c) OpenMMLab. All rights reserved. item1 = [1, 2] item2 = {'a': 0} item3 = True item4 = 'test' item_cfg = {'b': 1} item5 = {'cfg': item_cfg} item6 = {'cfg': item_cfg}
item1 = [1, 2] item2 = {'a': 0} item3 = True item4 = 'test' item_cfg = {'b': 1} item5 = {'cfg': item_cfg} item6 = {'cfg': item_cfg}
DB_DATA = { "users": [], "protected_data": "Lorem ipsum dolor sit amet..." }
db_data = {'users': [], 'protected_data': 'Lorem ipsum dolor sit amet...'}
name = 'Webware for Python' version = (3, 0, 4) status = 'stable' requiredPyVersion = (3, 6) synopsis = ( "Webware for Python is a time-tested" " modular, object-oriented web framework.") webwareConfig = { 'examplePages': [ 'Welcome', 'ShowTime', 'CountVisits', 'Error', 'View', 'Introspect', 'Colors', 'ListBox', 'Forward', 'SecureCountVisits', 'FileUpload', 'RequestInformation', 'ImageDemo', 'DominateDemo', 'YattagDemo', 'DBUtilsDemo', 'AjaxSuggest', 'JSONRPCClient', ] }
name = 'Webware for Python' version = (3, 0, 4) status = 'stable' required_py_version = (3, 6) synopsis = 'Webware for Python is a time-tested modular, object-oriented web framework.' webware_config = {'examplePages': ['Welcome', 'ShowTime', 'CountVisits', 'Error', 'View', 'Introspect', 'Colors', 'ListBox', 'Forward', 'SecureCountVisits', 'FileUpload', 'RequestInformation', 'ImageDemo', 'DominateDemo', 'YattagDemo', 'DBUtilsDemo', 'AjaxSuggest', 'JSONRPCClient']}
__all__ = ["VERSION"] # Do not use pkg_resources to find the version but set it here directly! VERSION = '0.0.1'
__all__ = ['VERSION'] version = '0.0.1'
# # PySNMP MIB module A3COM-HUAWEI-SSH-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/A3COM-HUAWEI-SSH-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:07:06 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) # h3cCommon, = mibBuilder.importSymbols("A3COM-HUAWEI-OID-MIB", "h3cCommon") Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, SingleValueConstraint, ConstraintsIntersection, ValueSizeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "ConstraintsUnion") InetAddressType, InetAddress = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressType", "InetAddress") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") MibIdentifier, TimeTicks, Bits, Counter64, NotificationType, iso, Unsigned32, Integer32, Gauge32, Counter32, ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, ObjectIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "MibIdentifier", "TimeTicks", "Bits", "Counter64", "NotificationType", "iso", "Unsigned32", "Integer32", "Gauge32", "Counter32", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "ObjectIdentity") RowStatus, DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "DisplayString", "TextualConvention") h3cSSH = ModuleIdentity((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22)) h3cSSH.setRevisions(('2007-11-19 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: h3cSSH.setRevisionsDescriptions(('This MIB is used to configure SSH server.',)) if mibBuilder.loadTexts: h3cSSH.setLastUpdated('200711190000Z') if mibBuilder.loadTexts: h3cSSH.setOrganization('Hangzhou H3C Tech. Co., Ltd.') if mibBuilder.loadTexts: h3cSSH.setContactInfo('Platform Team Hangzhou H3C Tech. Co., Ltd. Hai-Dian District Beijing P.R. China http://www.h3c.com Zip:100085') if mibBuilder.loadTexts: h3cSSH.setDescription('The initial version.') h3cSSHServerMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1)) h3cSSHServerMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1)) h3cSSHServerGlobalConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1)) h3cSSHServerVersion = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: h3cSSHServerVersion.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerVersion.setDescription('The protocol version of the SSH server.') h3cSSHServerCompatibleSSH1x = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enableCompatibleSSH1x", 1), ("disableCompatibleSSH1x", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: h3cSSHServerCompatibleSSH1x.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerCompatibleSSH1x.setDescription('Supporting compatibility with SSH versions 1.x. It is known that there are still devices using the previous versions. During the transition period, it is important to be able to work in a way that is compatible with the installed SSH clients and servers that use the older version of the protocol.') h3cSSHServerRekeyInterval = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: h3cSSHServerRekeyInterval.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerRekeyInterval.setDescription('The time interval of regenerating SSH server key. The unit is hour.') h3cSSHServerAuthRetries = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: h3cSSHServerAuthRetries.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerAuthRetries.setDescription('The limit times of a specified user can retry.') h3cSSHServerAuthTimeout = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: h3cSSHServerAuthTimeout.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerAuthTimeout.setDescription('The SSH server has a timeout for authentication and disconnect if the authentication has not been accepted within the timeout period. The unit is second.') h3cSFTPServerIdleTimeout = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: h3cSFTPServerIdleTimeout.setStatus('current') if mibBuilder.loadTexts: h3cSFTPServerIdleTimeout.setDescription('The SFTP server has a timeout for idle connection if a user has no activities within the timeout period. The unit is minute.') h3cSSHServerEnable = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enableSSHServer", 1), ("disableSSHServer", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: h3cSSHServerEnable.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerEnable.setDescription('Enable SSH server function.') h3cSFTPServerEnable = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enableSFTPService", 1), ("disableSFTPService", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: h3cSFTPServerEnable.setStatus('current') if mibBuilder.loadTexts: h3cSFTPServerEnable.setDescription('Enable SFTP server function.') h3cSSHUserConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2)) h3cSSHUserConfigTable = MibTable((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1), ) if mibBuilder.loadTexts: h3cSSHUserConfigTable.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserConfigTable.setDescription('A table for managing SSH users.') h3cSSHUserConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1), ).setIndexNames((0, "A3COM-HUAWEI-SSH-MIB", "h3cSSHUserName")) if mibBuilder.loadTexts: h3cSSHUserConfigEntry.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserConfigEntry.setDescription('SSH users configuration entry.') h3cSSHUserName = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 1), DisplayString()) if mibBuilder.loadTexts: h3cSSHUserName.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserName.setDescription('The name of SSH user.') h3cSSHUserServiceType = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("invalid", 1), ("all", 2), ("stelnet", 3), ("sftp", 4))).clone('invalid')).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cSSHUserServiceType.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserServiceType.setDescription('The service type of SSH user uses.') h3cSSHUserAuthType = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("invalid", 1), ("password", 2), ("publicKey", 3), ("any", 4), ("publicKeyPassword", 5))).clone('invalid')).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cSSHUserAuthType.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserAuthType.setDescription('The authentication type of SSH user chooses.') h3cSSHUserPublicKeyName = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 4), DisplayString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cSSHUserPublicKeyName.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserPublicKeyName.setDescription('The public key which is used for authentication.') h3cSSHUserWorkDirectory = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 5), DisplayString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cSSHUserWorkDirectory.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserWorkDirectory.setDescription("The SFTP user's work directory associates with an existing user.") h3cSSHUserRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cSSHUserRowStatus.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserRowStatus.setDescription("The row status variable, used in accordance to installation and removal conventions for conceptual rows. When the `h3cSSHUserRowStatus' is set to active(1), no objects in this table can be modified. When 'h3cSSHUserRowStatus' is set to notInService(2), every object except the 'h3cSSHUserName' object in this table can be modified. To create a row in this table, a manager must set this object to createAndGo(4). Until instances of all corresponding columns are appropriately configured, the value of the corresponding instance of the h3cSSHUserRowStatus column is 'notReady'.") h3cSSHSessionInfoTable = MibTable((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3), ) if mibBuilder.loadTexts: h3cSSHSessionInfoTable.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionInfoTable.setDescription('A table for SSH sessions.') h3cSSHSessionInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1), ).setIndexNames((0, "A3COM-HUAWEI-SSH-MIB", "h3cSSHSessionID")) if mibBuilder.loadTexts: h3cSSHSessionInfoEntry.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionInfoEntry.setDescription('The SSH session information entry.') h3cSSHSessionID = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 1), Integer32()) if mibBuilder.loadTexts: h3cSSHSessionID.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionID.setDescription('The identifier of SSH session.') h3cSSHSessionUserName = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: h3cSSHSessionUserName.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionUserName.setDescription('The user name of SSH session.') h3cSSHSessionUserIpAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 3), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: h3cSSHSessionUserIpAddrType.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionUserIpAddrType.setDescription('The user IP address type of SSH session.') h3cSSHSessionUserIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 4), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: h3cSSHSessionUserIpAddr.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionUserIpAddr.setDescription('The user IP address of SSH session.') h3cSSHSessionClientVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: h3cSSHSessionClientVersion.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionClientVersion.setDescription('The client version of SSH session. It is known that there are still devices using the previous versions.') h3cSSHSessionServiceType = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("invalid", 1), ("stelnet", 2), ("sftp", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: h3cSSHSessionServiceType.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionServiceType.setDescription('The service type of SSH session.') h3cSSHSessionEncry = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("invalid", 1), ("aes128CBC", 2), ("desCBC", 3), ("des3CBC", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: h3cSSHSessionEncry.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionEncry.setDescription('The encryption algorithm of SSH session. There are several encryption algorithms used in SSH protocol, please refer to RFC4253 Section 6.3.') h3cSSHSessionState = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("init", 1), ("verExchange", 2), ("keysExchange", 3), ("authRequest", 4), ("serviceRequest", 5), ("established", 6), ("disconnect", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: h3cSSHSessionState.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionState.setDescription('The status of SSH session. init : This session is in initial status. verExchange : This session is in version exchanging. keysExchange : This session is in keys exchanging. authRequest : This session is in authentication requesting. serviceRequest : This session is in service requesting. established : This session has been established. disconnected : This session has been disconnected.') h3cSSHServerObjForTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 2)) h3cSSHAttemptUserName = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 2, 1), DisplayString()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: h3cSSHAttemptUserName.setStatus('current') if mibBuilder.loadTexts: h3cSSHAttemptUserName.setDescription('The user name of the attacker who attempted to log in.') h3cSSHAttemptIpAddrType = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 2, 2), InetAddressType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: h3cSSHAttemptIpAddrType.setStatus('current') if mibBuilder.loadTexts: h3cSSHAttemptIpAddrType.setDescription('The IP address type of the attacker who attempted to log in.') h3cSSHAttemptIpAddr = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 2, 3), InetAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: h3cSSHAttemptIpAddr.setStatus('current') if mibBuilder.loadTexts: h3cSSHAttemptIpAddr.setDescription('The IP address of the attacker who attempted to log in.') h3cSSHUserAuthFailureReason = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 2, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("exceedRetries", 1), ("authTimeout", 2), ("otherReason", 3)))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: h3cSSHUserAuthFailureReason.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserAuthFailureReason.setDescription('The reason for that a user failed to log in.') h3cSSHServerNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3)) h3cSSHServerNotificationsPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3, 0)) h3cSSHUserAuthFailure = NotificationType((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3, 0, 1)).setObjects(("A3COM-HUAWEI-SSH-MIB", "h3cSSHAttemptUserName"), ("A3COM-HUAWEI-SSH-MIB", "h3cSSHAttemptIpAddrType"), ("A3COM-HUAWEI-SSH-MIB", "h3cSSHAttemptIpAddr"), ("A3COM-HUAWEI-SSH-MIB", "h3cSSHUserAuthFailureReason")) if mibBuilder.loadTexts: h3cSSHUserAuthFailure.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserAuthFailure.setDescription('The trap is generated when a user fails to authentication.') h3cSSHVersionNegotiationFailure = NotificationType((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3, 0, 2)).setObjects(("A3COM-HUAWEI-SSH-MIB", "h3cSSHAttemptIpAddrType"), ("A3COM-HUAWEI-SSH-MIB", "h3cSSHAttemptIpAddr")) if mibBuilder.loadTexts: h3cSSHVersionNegotiationFailure.setStatus('current') if mibBuilder.loadTexts: h3cSSHVersionNegotiationFailure.setDescription('The trap is generated when a user fails to negotiate SSH protocol version.') h3cSSHUserLogin = NotificationType((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3, 0, 3)).setObjects(("A3COM-HUAWEI-SSH-MIB", "h3cSSHSessionUserName"), ("A3COM-HUAWEI-SSH-MIB", "h3cSSHSessionUserIpAddrType"), ("A3COM-HUAWEI-SSH-MIB", "h3cSSHSessionUserIpAddr")) if mibBuilder.loadTexts: h3cSSHUserLogin.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserLogin.setDescription('The trap is generated when a user logs in successfully.') h3cSSHUserLogoff = NotificationType((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3, 0, 4)).setObjects(("A3COM-HUAWEI-SSH-MIB", "h3cSSHSessionUserName"), ("A3COM-HUAWEI-SSH-MIB", "h3cSSHSessionUserIpAddrType"), ("A3COM-HUAWEI-SSH-MIB", "h3cSSHSessionUserIpAddr")) if mibBuilder.loadTexts: h3cSSHUserLogoff.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserLogoff.setDescription('The trap is generated when a user logs off.') mibBuilder.exportSymbols("A3COM-HUAWEI-SSH-MIB", h3cSSHUserConfig=h3cSSHUserConfig, h3cSSHUserConfigEntry=h3cSSHUserConfigEntry, h3cSSHUserRowStatus=h3cSSHUserRowStatus, h3cSSHServerNotificationsPrefix=h3cSSHServerNotificationsPrefix, h3cSSHUserLogoff=h3cSSHUserLogoff, h3cSSHSessionUserIpAddrType=h3cSSHSessionUserIpAddrType, h3cSSHUserPublicKeyName=h3cSSHUserPublicKeyName, h3cSSHUserAuthType=h3cSSHUserAuthType, h3cSSH=h3cSSH, h3cSSHServerAuthTimeout=h3cSSHServerAuthTimeout, h3cSSHAttemptIpAddrType=h3cSSHAttemptIpAddrType, h3cSSHSessionClientVersion=h3cSSHSessionClientVersion, h3cSSHServerMIBObjects=h3cSSHServerMIBObjects, PYSNMP_MODULE_ID=h3cSSH, h3cSSHSessionEncry=h3cSSHSessionEncry, h3cSSHSessionServiceType=h3cSSHSessionServiceType, h3cSSHSessionID=h3cSSHSessionID, h3cSFTPServerEnable=h3cSFTPServerEnable, h3cSSHUserAuthFailure=h3cSSHUserAuthFailure, h3cSSHServerCompatibleSSH1x=h3cSSHServerCompatibleSSH1x, h3cSSHVersionNegotiationFailure=h3cSSHVersionNegotiationFailure, h3cSSHSessionState=h3cSSHSessionState, h3cSSHServerMIB=h3cSSHServerMIB, h3cSSHUserAuthFailureReason=h3cSSHUserAuthFailureReason, h3cSFTPServerIdleTimeout=h3cSFTPServerIdleTimeout, h3cSSHSessionInfoTable=h3cSSHSessionInfoTable, h3cSSHAttemptUserName=h3cSSHAttemptUserName, h3cSSHSessionInfoEntry=h3cSSHSessionInfoEntry, h3cSSHServerEnable=h3cSSHServerEnable, h3cSSHSessionUserName=h3cSSHSessionUserName, h3cSSHServerAuthRetries=h3cSSHServerAuthRetries, h3cSSHAttemptIpAddr=h3cSSHAttemptIpAddr, h3cSSHServerRekeyInterval=h3cSSHServerRekeyInterval, h3cSSHServerNotifications=h3cSSHServerNotifications, h3cSSHSessionUserIpAddr=h3cSSHSessionUserIpAddr, h3cSSHServerVersion=h3cSSHServerVersion, h3cSSHServerGlobalConfig=h3cSSHServerGlobalConfig, h3cSSHUserName=h3cSSHUserName, h3cSSHUserLogin=h3cSSHUserLogin, h3cSSHUserServiceType=h3cSSHUserServiceType, h3cSSHUserWorkDirectory=h3cSSHUserWorkDirectory, h3cSSHServerObjForTrap=h3cSSHServerObjForTrap, h3cSSHUserConfigTable=h3cSSHUserConfigTable)
(h3c_common,) = mibBuilder.importSymbols('A3COM-HUAWEI-OID-MIB', 'h3cCommon') (integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, single_value_constraint, constraints_intersection, value_size_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ConstraintsUnion') (inet_address_type, inet_address) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddressType', 'InetAddress') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (mib_identifier, time_ticks, bits, counter64, notification_type, iso, unsigned32, integer32, gauge32, counter32, module_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address, object_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibIdentifier', 'TimeTicks', 'Bits', 'Counter64', 'NotificationType', 'iso', 'Unsigned32', 'Integer32', 'Gauge32', 'Counter32', 'ModuleIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress', 'ObjectIdentity') (row_status, display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'RowStatus', 'DisplayString', 'TextualConvention') h3c_ssh = module_identity((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22)) h3cSSH.setRevisions(('2007-11-19 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: h3cSSH.setRevisionsDescriptions(('This MIB is used to configure SSH server.',)) if mibBuilder.loadTexts: h3cSSH.setLastUpdated('200711190000Z') if mibBuilder.loadTexts: h3cSSH.setOrganization('Hangzhou H3C Tech. Co., Ltd.') if mibBuilder.loadTexts: h3cSSH.setContactInfo('Platform Team Hangzhou H3C Tech. Co., Ltd. Hai-Dian District Beijing P.R. China http://www.h3c.com Zip:100085') if mibBuilder.loadTexts: h3cSSH.setDescription('The initial version.') h3c_ssh_server_mib = mib_identifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1)) h3c_ssh_server_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1)) h3c_ssh_server_global_config = mib_identifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1)) h3c_ssh_server_version = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 1), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: h3cSSHServerVersion.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerVersion.setDescription('The protocol version of the SSH server.') h3c_ssh_server_compatible_ssh1x = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enableCompatibleSSH1x', 1), ('disableCompatibleSSH1x', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: h3cSSHServerCompatibleSSH1x.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerCompatibleSSH1x.setDescription('Supporting compatibility with SSH versions 1.x. It is known that there are still devices using the previous versions. During the transition period, it is important to be able to work in a way that is compatible with the installed SSH clients and servers that use the older version of the protocol.') h3c_ssh_server_rekey_interval = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: h3cSSHServerRekeyInterval.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerRekeyInterval.setDescription('The time interval of regenerating SSH server key. The unit is hour.') h3c_ssh_server_auth_retries = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 4), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: h3cSSHServerAuthRetries.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerAuthRetries.setDescription('The limit times of a specified user can retry.') h3c_ssh_server_auth_timeout = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 5), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: h3cSSHServerAuthTimeout.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerAuthTimeout.setDescription('The SSH server has a timeout for authentication and disconnect if the authentication has not been accepted within the timeout period. The unit is second.') h3c_sftp_server_idle_timeout = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 6), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: h3cSFTPServerIdleTimeout.setStatus('current') if mibBuilder.loadTexts: h3cSFTPServerIdleTimeout.setDescription('The SFTP server has a timeout for idle connection if a user has no activities within the timeout period. The unit is minute.') h3c_ssh_server_enable = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enableSSHServer', 1), ('disableSSHServer', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: h3cSSHServerEnable.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerEnable.setDescription('Enable SSH server function.') h3c_sftp_server_enable = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enableSFTPService', 1), ('disableSFTPService', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: h3cSFTPServerEnable.setStatus('current') if mibBuilder.loadTexts: h3cSFTPServerEnable.setDescription('Enable SFTP server function.') h3c_ssh_user_config = mib_identifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2)) h3c_ssh_user_config_table = mib_table((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1)) if mibBuilder.loadTexts: h3cSSHUserConfigTable.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserConfigTable.setDescription('A table for managing SSH users.') h3c_ssh_user_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1)).setIndexNames((0, 'A3COM-HUAWEI-SSH-MIB', 'h3cSSHUserName')) if mibBuilder.loadTexts: h3cSSHUserConfigEntry.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserConfigEntry.setDescription('SSH users configuration entry.') h3c_ssh_user_name = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 1), display_string()) if mibBuilder.loadTexts: h3cSSHUserName.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserName.setDescription('The name of SSH user.') h3c_ssh_user_service_type = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('invalid', 1), ('all', 2), ('stelnet', 3), ('sftp', 4))).clone('invalid')).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cSSHUserServiceType.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserServiceType.setDescription('The service type of SSH user uses.') h3c_ssh_user_auth_type = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('invalid', 1), ('password', 2), ('publicKey', 3), ('any', 4), ('publicKeyPassword', 5))).clone('invalid')).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cSSHUserAuthType.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserAuthType.setDescription('The authentication type of SSH user chooses.') h3c_ssh_user_public_key_name = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 4), display_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cSSHUserPublicKeyName.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserPublicKeyName.setDescription('The public key which is used for authentication.') h3c_ssh_user_work_directory = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 5), display_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cSSHUserWorkDirectory.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserWorkDirectory.setDescription("The SFTP user's work directory associates with an existing user.") h3c_ssh_user_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 6), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cSSHUserRowStatus.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserRowStatus.setDescription("The row status variable, used in accordance to installation and removal conventions for conceptual rows. When the `h3cSSHUserRowStatus' is set to active(1), no objects in this table can be modified. When 'h3cSSHUserRowStatus' is set to notInService(2), every object except the 'h3cSSHUserName' object in this table can be modified. To create a row in this table, a manager must set this object to createAndGo(4). Until instances of all corresponding columns are appropriately configured, the value of the corresponding instance of the h3cSSHUserRowStatus column is 'notReady'.") h3c_ssh_session_info_table = mib_table((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3)) if mibBuilder.loadTexts: h3cSSHSessionInfoTable.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionInfoTable.setDescription('A table for SSH sessions.') h3c_ssh_session_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1)).setIndexNames((0, 'A3COM-HUAWEI-SSH-MIB', 'h3cSSHSessionID')) if mibBuilder.loadTexts: h3cSSHSessionInfoEntry.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionInfoEntry.setDescription('The SSH session information entry.') h3c_ssh_session_id = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 1), integer32()) if mibBuilder.loadTexts: h3cSSHSessionID.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionID.setDescription('The identifier of SSH session.') h3c_ssh_session_user_name = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: h3cSSHSessionUserName.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionUserName.setDescription('The user name of SSH session.') h3c_ssh_session_user_ip_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 3), inet_address_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: h3cSSHSessionUserIpAddrType.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionUserIpAddrType.setDescription('The user IP address type of SSH session.') h3c_ssh_session_user_ip_addr = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 4), inet_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: h3cSSHSessionUserIpAddr.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionUserIpAddr.setDescription('The user IP address of SSH session.') h3c_ssh_session_client_version = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: h3cSSHSessionClientVersion.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionClientVersion.setDescription('The client version of SSH session. It is known that there are still devices using the previous versions.') h3c_ssh_session_service_type = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('invalid', 1), ('stelnet', 2), ('sftp', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: h3cSSHSessionServiceType.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionServiceType.setDescription('The service type of SSH session.') h3c_ssh_session_encry = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('invalid', 1), ('aes128CBC', 2), ('desCBC', 3), ('des3CBC', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: h3cSSHSessionEncry.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionEncry.setDescription('The encryption algorithm of SSH session. There are several encryption algorithms used in SSH protocol, please refer to RFC4253 Section 6.3.') h3c_ssh_session_state = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('init', 1), ('verExchange', 2), ('keysExchange', 3), ('authRequest', 4), ('serviceRequest', 5), ('established', 6), ('disconnect', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: h3cSSHSessionState.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionState.setDescription('The status of SSH session. init : This session is in initial status. verExchange : This session is in version exchanging. keysExchange : This session is in keys exchanging. authRequest : This session is in authentication requesting. serviceRequest : This session is in service requesting. established : This session has been established. disconnected : This session has been disconnected.') h3c_ssh_server_obj_for_trap = mib_identifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 2)) h3c_ssh_attempt_user_name = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 2, 1), display_string()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: h3cSSHAttemptUserName.setStatus('current') if mibBuilder.loadTexts: h3cSSHAttemptUserName.setDescription('The user name of the attacker who attempted to log in.') h3c_ssh_attempt_ip_addr_type = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 2, 2), inet_address_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: h3cSSHAttemptIpAddrType.setStatus('current') if mibBuilder.loadTexts: h3cSSHAttemptIpAddrType.setDescription('The IP address type of the attacker who attempted to log in.') h3c_ssh_attempt_ip_addr = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 2, 3), inet_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: h3cSSHAttemptIpAddr.setStatus('current') if mibBuilder.loadTexts: h3cSSHAttemptIpAddr.setDescription('The IP address of the attacker who attempted to log in.') h3c_ssh_user_auth_failure_reason = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 2, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('exceedRetries', 1), ('authTimeout', 2), ('otherReason', 3)))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: h3cSSHUserAuthFailureReason.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserAuthFailureReason.setDescription('The reason for that a user failed to log in.') h3c_ssh_server_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3)) h3c_ssh_server_notifications_prefix = mib_identifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3, 0)) h3c_ssh_user_auth_failure = notification_type((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3, 0, 1)).setObjects(('A3COM-HUAWEI-SSH-MIB', 'h3cSSHAttemptUserName'), ('A3COM-HUAWEI-SSH-MIB', 'h3cSSHAttemptIpAddrType'), ('A3COM-HUAWEI-SSH-MIB', 'h3cSSHAttemptIpAddr'), ('A3COM-HUAWEI-SSH-MIB', 'h3cSSHUserAuthFailureReason')) if mibBuilder.loadTexts: h3cSSHUserAuthFailure.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserAuthFailure.setDescription('The trap is generated when a user fails to authentication.') h3c_ssh_version_negotiation_failure = notification_type((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3, 0, 2)).setObjects(('A3COM-HUAWEI-SSH-MIB', 'h3cSSHAttemptIpAddrType'), ('A3COM-HUAWEI-SSH-MIB', 'h3cSSHAttemptIpAddr')) if mibBuilder.loadTexts: h3cSSHVersionNegotiationFailure.setStatus('current') if mibBuilder.loadTexts: h3cSSHVersionNegotiationFailure.setDescription('The trap is generated when a user fails to negotiate SSH protocol version.') h3c_ssh_user_login = notification_type((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3, 0, 3)).setObjects(('A3COM-HUAWEI-SSH-MIB', 'h3cSSHSessionUserName'), ('A3COM-HUAWEI-SSH-MIB', 'h3cSSHSessionUserIpAddrType'), ('A3COM-HUAWEI-SSH-MIB', 'h3cSSHSessionUserIpAddr')) if mibBuilder.loadTexts: h3cSSHUserLogin.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserLogin.setDescription('The trap is generated when a user logs in successfully.') h3c_ssh_user_logoff = notification_type((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3, 0, 4)).setObjects(('A3COM-HUAWEI-SSH-MIB', 'h3cSSHSessionUserName'), ('A3COM-HUAWEI-SSH-MIB', 'h3cSSHSessionUserIpAddrType'), ('A3COM-HUAWEI-SSH-MIB', 'h3cSSHSessionUserIpAddr')) if mibBuilder.loadTexts: h3cSSHUserLogoff.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserLogoff.setDescription('The trap is generated when a user logs off.') mibBuilder.exportSymbols('A3COM-HUAWEI-SSH-MIB', h3cSSHUserConfig=h3cSSHUserConfig, h3cSSHUserConfigEntry=h3cSSHUserConfigEntry, h3cSSHUserRowStatus=h3cSSHUserRowStatus, h3cSSHServerNotificationsPrefix=h3cSSHServerNotificationsPrefix, h3cSSHUserLogoff=h3cSSHUserLogoff, h3cSSHSessionUserIpAddrType=h3cSSHSessionUserIpAddrType, h3cSSHUserPublicKeyName=h3cSSHUserPublicKeyName, h3cSSHUserAuthType=h3cSSHUserAuthType, h3cSSH=h3cSSH, h3cSSHServerAuthTimeout=h3cSSHServerAuthTimeout, h3cSSHAttemptIpAddrType=h3cSSHAttemptIpAddrType, h3cSSHSessionClientVersion=h3cSSHSessionClientVersion, h3cSSHServerMIBObjects=h3cSSHServerMIBObjects, PYSNMP_MODULE_ID=h3cSSH, h3cSSHSessionEncry=h3cSSHSessionEncry, h3cSSHSessionServiceType=h3cSSHSessionServiceType, h3cSSHSessionID=h3cSSHSessionID, h3cSFTPServerEnable=h3cSFTPServerEnable, h3cSSHUserAuthFailure=h3cSSHUserAuthFailure, h3cSSHServerCompatibleSSH1x=h3cSSHServerCompatibleSSH1x, h3cSSHVersionNegotiationFailure=h3cSSHVersionNegotiationFailure, h3cSSHSessionState=h3cSSHSessionState, h3cSSHServerMIB=h3cSSHServerMIB, h3cSSHUserAuthFailureReason=h3cSSHUserAuthFailureReason, h3cSFTPServerIdleTimeout=h3cSFTPServerIdleTimeout, h3cSSHSessionInfoTable=h3cSSHSessionInfoTable, h3cSSHAttemptUserName=h3cSSHAttemptUserName, h3cSSHSessionInfoEntry=h3cSSHSessionInfoEntry, h3cSSHServerEnable=h3cSSHServerEnable, h3cSSHSessionUserName=h3cSSHSessionUserName, h3cSSHServerAuthRetries=h3cSSHServerAuthRetries, h3cSSHAttemptIpAddr=h3cSSHAttemptIpAddr, h3cSSHServerRekeyInterval=h3cSSHServerRekeyInterval, h3cSSHServerNotifications=h3cSSHServerNotifications, h3cSSHSessionUserIpAddr=h3cSSHSessionUserIpAddr, h3cSSHServerVersion=h3cSSHServerVersion, h3cSSHServerGlobalConfig=h3cSSHServerGlobalConfig, h3cSSHUserName=h3cSSHUserName, h3cSSHUserLogin=h3cSSHUserLogin, h3cSSHUserServiceType=h3cSSHUserServiceType, h3cSSHUserWorkDirectory=h3cSSHUserWorkDirectory, h3cSSHServerObjForTrap=h3cSSHServerObjForTrap, h3cSSHUserConfigTable=h3cSSHUserConfigTable)
class SesDevException(Exception): pass class AddRepoNoUpdateWithExplicitRepo(SesDevException): def __init__(self): super().__init__( "The --update option does not work with an explicit custom repo." ) class BadMakeCheckRolesNodes(SesDevException): def __init__(self): super().__init__( "\"makecheck\" deployments only work with a single node with role " "\"makecheck\". Since this is the default, you can simply omit " "the --roles option when running \"sesdev create makecheck\"." ) class BoxDoesNotExist(SesDevException): def __init__(self, box_name): super().__init__( "There is no Vagrant Box called \"{}\"".format(box_name) ) class CmdException(SesDevException): def __init__(self, command, retcode, stderr): super().__init__( "Command '{}' failed: ret={} stderr:\n{}" .format(command, retcode, stderr) ) self.command = command self.retcode = retcode self.stderr = stderr class DebugWithoutLogFileDoesNothing(SesDevException): def __init__(self): super().__init__( "--debug without --log-file has no effect (maybe you want --verbose?)" ) class DepIDIllegalChars(SesDevException): def __init__(self, dep_id): super().__init__( "Deployment ID \"{}\" contains illegal characters. Valid characters for " "hostnames are ASCII(7) letters from a to z, the digits from 0 to 9, and " "the hyphen (-).".format(dep_id) ) class DepIDWrongLength(SesDevException): def __init__(self, length): super().__init__( "Deployment ID must be from 1 to 63 characters in length " "(yours had {} characters)".format(length) ) class DeploymentAlreadyExists(SesDevException): def __init__(self, dep_id): super().__init__( "A deployment with the same id '{}' already exists".format(dep_id) ) class DeploymentDoesNotExists(SesDevException): def __init__(self, dep_id): super().__init__( "Deployment '{}' does not exist".format(dep_id) ) class DuplicateRolesNotSupported(SesDevException): def __init__(self, role): super().__init__( "A node with more than one \"{r}\" role was detected. " "sesdev does not support more than one \"{r}\" role per node.".format(r=role) ) class ExclusiveRoles(SesDevException): def __init__(self, role_a, role_b): super().__init__( "Cannot have both roles '{}' and '{}' in the same deployment" .format(role_a, role_b) ) class ExplicitAdminRoleNotAllowed(SesDevException): def __init__(self): super().__init__( "Though it is still recognized in existing deployments, the explicit " "\"admin\" role is deprecated and new deployments are not allowed to " "have it. When sesdev deploys Ceph/SES versions that use an \"admin\" " "role, all nodes in the deployment will get that role implicitly. " "(TL;DR remove the \"admin\" role and try again!)" ) class MultipleRolesPerMachineNotAllowedInCaaSP(SesDevException): def __init__(self): super().__init__( "Multiple roles per machine detected. This is not allowed in CaaSP " "clusters. For a single-node cluster, use the --single-node option " "or --roles=\"[master]\" (in this special case, the master node " "will function also as a worker node)" ) class NodeDoesNotExist(SesDevException): def __init__(self, node): super().__init__( "Node '{}' does not exist in this deployment".format(node) ) class NodeMustBeAdminAsWell(SesDevException): def __init__(self, role): super().__init__( "Detected node with \"{role}\" role but no \"admin\" role. " "The {role} node must have the \"admin\" role -- otherwise " "\"ceph-salt apply\" will fail. Please make sure the node with " "the \"{role}\" role has the \"admin\" role as well" .format(role=role) ) class NoGaneshaRolePostNautilus(SesDevException): def __init__(self): super().__init__( "You specified a \"ganesha\" role. In cephadm, NFS-Ganesha daemons " "are referred to as \"nfs\" daemons, so in sesdev the role has been " "renamed to \"nfs\". Please change all instances of \"ganesha\" to " "\"nfs\" in your roles string and try again" ) class NoExplicitRolesWithSingleNode(SesDevException): def __init__(self): super().__init__( "The --roles and --single-node options are mutually exclusive. " "One may be given, or the other, but not both at the same time." ) class NoPrometheusGrafanaInSES5(SesDevException): def __init__(self): super().__init__( "The DeepSea version used in SES5 does not recognize 'prometheus' " "or 'grafana' as roles in policy.cfg (instead, it _always_ deploys " "these two services on the Salt Master node. For this reason, sesdev " "does not permit these roles to be used with ses5." ) class NoStorageRolesCephadm(SesDevException): def __init__(self, offending_role): super().__init__( "No \"storage\" roles were given, but currently sesdev does not " "support this due to the presence of one or more {} roles in the " "cluster configuration.".format(offending_role) ) class NoStorageRolesDeepsea(SesDevException): def __init__(self, version): super().__init__( "No \"storage\" roles were given, but currently sesdev does not " "support this configuration when deploying a {} " "cluster.".format(version) ) class NoSourcePortForPortForwarding(SesDevException): def __init__(self): super().__init__( "No source port specified for port forwarding" ) class NoSupportConfigTarballFound(SesDevException): def __init__(self, node): super().__init__( "No supportconfig tarball found on node {}".format(node) ) class OptionFormatError(SesDevException): def __init__(self, option, expected_type, value): super().__init__( "Wrong format for option '{}': expected format: '{}', actual format: '{}'" .format(option, expected_type, value) ) class OptionNotSupportedInVersion(SesDevException): def __init__(self, option, version): super().__init__( "Option '{}' not supported with version '{}'".format(option, version) ) class OptionValueError(SesDevException): def __init__(self, option, message, value): super().__init__( "Wrong value for option '{}'. {}. Actual value: '{}'" .format(option, message, value) ) class ProductOptionOnlyOnSES(SesDevException): def __init__(self, version): super().__init__( "You asked to create a {} cluster with the --product option, " "but this option only works with versions starting with \"ses\"" .format(version) ) class RemoveBoxNeedsBoxNameOrAllOption(SesDevException): def __init__(self): super().__init__( "Either provide the name of a box to be removed or the --all option " "to remove all boxes at once" ) class RoleNotKnown(SesDevException): def __init__(self, role): super().__init__( "Role '{}' is not supported by sesdev".format(role) ) class RoleNotSupported(SesDevException): def __init__(self, role, version): super().__init__( "Role '{}' is not supported in version '{}'".format(role, version) ) class ScpInvalidSourceOrDestination(SesDevException): def __init__(self): super().__init__( "Either source or destination must contain a ':' - not both or neither" ) class ServiceNotFound(SesDevException): def __init__(self, service): super().__init__( "Service '{}' was not found in this deployment".format(service) ) class ServicePortForwardingNotSupported(SesDevException): def __init__(self, service): super().__init__( "Service '{}' not supported for port forwarding. Specify manually the service source " "and destination ports".format(service) ) class SettingIncompatibleError(SesDevException): def __init__(self, setting1, value1, setting2, value2): super().__init__( "Setting {} = {} and {} = {} are incompatible" .format(setting1, value1, setting2, value2) ) class SettingNotKnown(SesDevException): def __init__(self, setting): super().__init__( "Setting '{}' is not known - please open a bug report!".format(setting) ) class SettingTypeError(SesDevException): def __init__(self, setting, expected_type, value): super().__init__( "Wrong value type for setting '{}': expected type: '{}', actual value='{}' ('{}')" .format(setting, expected_type, value, type(value)) ) class SubcommandNotSupportedInVersion(SesDevException): def __init__(self, subcmd, version): super().__init__( "Subcommand {} not supported in '{}'".format(subcmd, version) ) class SupportconfigOnlyOnSLE(SesDevException): def __init__(self): super().__init__( "sesdev supportconfig depends on the 'supportconfig' RPM, which is " "available only on SUSE Linux Enterprise" ) class UniqueRoleViolation(SesDevException): def __init__(self, role, number): super().__init__( "There must be one, and only one, '{role}' role " "(you gave {number} '{role}' roles)".format(role=role, number=number) ) class VagrantSshConfigNoHostName(SesDevException): def __init__(self, name): super().__init__( "Could not get HostName info from 'vagrant ssh-config {}' command" .format(name) ) class VersionNotKnown(SesDevException): def __init__(self, version): super().__init__( "Unknown deployment version: '{}'".format(version) ) class VersionOSNotSupported(SesDevException): def __init__(self, version, operating_system): super().__init__( "sesdev does not know how to deploy \"{}\" on operating system \"{}\"" .format(version, operating_system) ) class UnsupportedVMEngine(SesDevException): def __init__(self, engine): super().__init__( "Unsupported VM engine ->{}<- encountered. This is a bug: please " "report it to the maintainers".format(engine) )
class Sesdevexception(Exception): pass class Addreponoupdatewithexplicitrepo(SesDevException): def __init__(self): super().__init__('The --update option does not work with an explicit custom repo.') class Badmakecheckrolesnodes(SesDevException): def __init__(self): super().__init__('"makecheck" deployments only work with a single node with role "makecheck". Since this is the default, you can simply omit the --roles option when running "sesdev create makecheck".') class Boxdoesnotexist(SesDevException): def __init__(self, box_name): super().__init__('There is no Vagrant Box called "{}"'.format(box_name)) class Cmdexception(SesDevException): def __init__(self, command, retcode, stderr): super().__init__("Command '{}' failed: ret={} stderr:\n{}".format(command, retcode, stderr)) self.command = command self.retcode = retcode self.stderr = stderr class Debugwithoutlogfiledoesnothing(SesDevException): def __init__(self): super().__init__('--debug without --log-file has no effect (maybe you want --verbose?)') class Depidillegalchars(SesDevException): def __init__(self, dep_id): super().__init__('Deployment ID "{}" contains illegal characters. Valid characters for hostnames are ASCII(7) letters from a to z, the digits from 0 to 9, and the hyphen (-).'.format(dep_id)) class Depidwronglength(SesDevException): def __init__(self, length): super().__init__('Deployment ID must be from 1 to 63 characters in length (yours had {} characters)'.format(length)) class Deploymentalreadyexists(SesDevException): def __init__(self, dep_id): super().__init__("A deployment with the same id '{}' already exists".format(dep_id)) class Deploymentdoesnotexists(SesDevException): def __init__(self, dep_id): super().__init__("Deployment '{}' does not exist".format(dep_id)) class Duplicaterolesnotsupported(SesDevException): def __init__(self, role): super().__init__('A node with more than one "{r}" role was detected. sesdev does not support more than one "{r}" role per node.'.format(r=role)) class Exclusiveroles(SesDevException): def __init__(self, role_a, role_b): super().__init__("Cannot have both roles '{}' and '{}' in the same deployment".format(role_a, role_b)) class Explicitadminrolenotallowed(SesDevException): def __init__(self): super().__init__('Though it is still recognized in existing deployments, the explicit "admin" role is deprecated and new deployments are not allowed to have it. When sesdev deploys Ceph/SES versions that use an "admin" role, all nodes in the deployment will get that role implicitly. (TL;DR remove the "admin" role and try again!)') class Multiplerolespermachinenotallowedincaasp(SesDevException): def __init__(self): super().__init__('Multiple roles per machine detected. This is not allowed in CaaSP clusters. For a single-node cluster, use the --single-node option or --roles="[master]" (in this special case, the master node will function also as a worker node)') class Nodedoesnotexist(SesDevException): def __init__(self, node): super().__init__("Node '{}' does not exist in this deployment".format(node)) class Nodemustbeadminaswell(SesDevException): def __init__(self, role): super().__init__('Detected node with "{role}" role but no "admin" role. The {role} node must have the "admin" role -- otherwise "ceph-salt apply" will fail. Please make sure the node with the "{role}" role has the "admin" role as well'.format(role=role)) class Noganesharolepostnautilus(SesDevException): def __init__(self): super().__init__('You specified a "ganesha" role. In cephadm, NFS-Ganesha daemons are referred to as "nfs" daemons, so in sesdev the role has been renamed to "nfs". Please change all instances of "ganesha" to "nfs" in your roles string and try again') class Noexplicitroleswithsinglenode(SesDevException): def __init__(self): super().__init__('The --roles and --single-node options are mutually exclusive. One may be given, or the other, but not both at the same time.') class Noprometheusgrafanainses5(SesDevException): def __init__(self): super().__init__("The DeepSea version used in SES5 does not recognize 'prometheus' or 'grafana' as roles in policy.cfg (instead, it _always_ deploys these two services on the Salt Master node. For this reason, sesdev does not permit these roles to be used with ses5.") class Nostoragerolescephadm(SesDevException): def __init__(self, offending_role): super().__init__('No "storage" roles were given, but currently sesdev does not support this due to the presence of one or more {} roles in the cluster configuration.'.format(offending_role)) class Nostoragerolesdeepsea(SesDevException): def __init__(self, version): super().__init__('No "storage" roles were given, but currently sesdev does not support this configuration when deploying a {} cluster.'.format(version)) class Nosourceportforportforwarding(SesDevException): def __init__(self): super().__init__('No source port specified for port forwarding') class Nosupportconfigtarballfound(SesDevException): def __init__(self, node): super().__init__('No supportconfig tarball found on node {}'.format(node)) class Optionformaterror(SesDevException): def __init__(self, option, expected_type, value): super().__init__("Wrong format for option '{}': expected format: '{}', actual format: '{}'".format(option, expected_type, value)) class Optionnotsupportedinversion(SesDevException): def __init__(self, option, version): super().__init__("Option '{}' not supported with version '{}'".format(option, version)) class Optionvalueerror(SesDevException): def __init__(self, option, message, value): super().__init__("Wrong value for option '{}'. {}. Actual value: '{}'".format(option, message, value)) class Productoptiononlyonses(SesDevException): def __init__(self, version): super().__init__('You asked to create a {} cluster with the --product option, but this option only works with versions starting with "ses"'.format(version)) class Removeboxneedsboxnameoralloption(SesDevException): def __init__(self): super().__init__('Either provide the name of a box to be removed or the --all option to remove all boxes at once') class Rolenotknown(SesDevException): def __init__(self, role): super().__init__("Role '{}' is not supported by sesdev".format(role)) class Rolenotsupported(SesDevException): def __init__(self, role, version): super().__init__("Role '{}' is not supported in version '{}'".format(role, version)) class Scpinvalidsourceordestination(SesDevException): def __init__(self): super().__init__("Either source or destination must contain a ':' - not both or neither") class Servicenotfound(SesDevException): def __init__(self, service): super().__init__("Service '{}' was not found in this deployment".format(service)) class Serviceportforwardingnotsupported(SesDevException): def __init__(self, service): super().__init__("Service '{}' not supported for port forwarding. Specify manually the service source and destination ports".format(service)) class Settingincompatibleerror(SesDevException): def __init__(self, setting1, value1, setting2, value2): super().__init__('Setting {} = {} and {} = {} are incompatible'.format(setting1, value1, setting2, value2)) class Settingnotknown(SesDevException): def __init__(self, setting): super().__init__("Setting '{}' is not known - please open a bug report!".format(setting)) class Settingtypeerror(SesDevException): def __init__(self, setting, expected_type, value): super().__init__("Wrong value type for setting '{}': expected type: '{}', actual value='{}' ('{}')".format(setting, expected_type, value, type(value))) class Subcommandnotsupportedinversion(SesDevException): def __init__(self, subcmd, version): super().__init__("Subcommand {} not supported in '{}'".format(subcmd, version)) class Supportconfigonlyonsle(SesDevException): def __init__(self): super().__init__("sesdev supportconfig depends on the 'supportconfig' RPM, which is available only on SUSE Linux Enterprise") class Uniqueroleviolation(SesDevException): def __init__(self, role, number): super().__init__("There must be one, and only one, '{role}' role (you gave {number} '{role}' roles)".format(role=role, number=number)) class Vagrantsshconfignohostname(SesDevException): def __init__(self, name): super().__init__("Could not get HostName info from 'vagrant ssh-config {}' command".format(name)) class Versionnotknown(SesDevException): def __init__(self, version): super().__init__("Unknown deployment version: '{}'".format(version)) class Versionosnotsupported(SesDevException): def __init__(self, version, operating_system): super().__init__('sesdev does not know how to deploy "{}" on operating system "{}"'.format(version, operating_system)) class Unsupportedvmengine(SesDevException): def __init__(self, engine): super().__init__('Unsupported VM engine ->{}<- encountered. This is a bug: please report it to the maintainers'.format(engine))
l = int(input("enter the lower interval")) u = int(input("enter the upper interval")) for num in range(l,u+1): if num>1: for i in range(2,num): if(num%i)==0: break else: print(num)
l = int(input('enter the lower interval')) u = int(input('enter the upper interval')) for num in range(l, u + 1): if num > 1: for i in range(2, num): if num % i == 0: break else: print(num)
class Vocabs(): def __init__(self): reuters = None aapd = None VOCABS = Vocabs()
class Vocabs: def __init__(self): reuters = None aapd = None vocabs = vocabs()
def respond(start_response, code, headers=[('Content-type', 'text/plain')], body=b''): start_response(code, headers) return [body] def key2path(key): b = key.encode('utf-8') return hashlib.md5(b).digest()
def respond(start_response, code, headers=[('Content-type', 'text/plain')], body=b''): start_response(code, headers) return [body] def key2path(key): b = key.encode('utf-8') return hashlib.md5(b).digest()
def part1(): pass if __name__ == '__main__': with open('input.txt') as f: lines = f.read().splitlines()
def part1(): pass if __name__ == '__main__': with open('input.txt') as f: lines = f.read().splitlines()
class A: def __init__(self): print("1") def __init__(self): print("2") a= A()
class A: def __init__(self): print('1') def __init__(self): print('2') a = a()
load("@bazel_gazelle//:deps.bzl", "go_repository") # bazel run //:gazelle -- update-repos -from_file=go.mod -to_macro=repositories.bzl%go_repositories def go_repositories(): go_repository( name = "com_github_fsnotify_fsnotify", importpath = "github.com/fsnotify/fsnotify", sum = "h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4=", version = "v1.4.9", ) go_repository( name = "com_github_golang_protobuf", importpath = "github.com/golang/protobuf", sum = "h1:oOuy+ugB+P/kBdUnG5QaMXSIyJ1q38wWSojYCb3z5VQ=", version = "v1.4.0", ) go_repository( name = "com_github_google_go_cmp", importpath = "github.com/google/go-cmp", sum = "h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4=", version = "v0.4.0", ) go_repository( name = "com_github_gorilla_websocket", importpath = "github.com/gorilla/websocket", sum = "h1:q7AeDBpnBk8AogcD4DSag/Ukw/KV+YhzLj2bP5HvKCM=", version = "v1.4.1", ) go_repository( name = "com_github_jaschaephraim_lrserver", importpath = "github.com/jaschaephraim/lrserver", sum = "h1:24NdJ5N6gtrcoeS4JwLMeruKFmg20QdF/5UnX5S/j18=", version = "v0.0.0-20171129202958-50d19f603f71", ) go_repository( name = "org_golang_x_sys", importpath = "golang.org/x/sys", sum = "h1:S/FtSvpNLtFBgjTqcKsRpsa6aVsI6iztaz1bQd9BJwE=", version = "v0.0.0-20191029155521-f43be2a4598c", ) go_repository( name = "org_golang_google_protobuf", importpath = "google.golang.org/protobuf", sum = "h1:qdOKuR/EIArgaWNjetjgTzgVTAZ+S/WXVrq9HW9zimw=", version = "v1.21.0", ) go_repository( name = "org_golang_x_xerrors", importpath = "golang.org/x/xerrors", sum = "h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=", version = "v0.0.0-20191204190536-9bdfabe68543", )
load('@bazel_gazelle//:deps.bzl', 'go_repository') def go_repositories(): go_repository(name='com_github_fsnotify_fsnotify', importpath='github.com/fsnotify/fsnotify', sum='h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4=', version='v1.4.9') go_repository(name='com_github_golang_protobuf', importpath='github.com/golang/protobuf', sum='h1:oOuy+ugB+P/kBdUnG5QaMXSIyJ1q38wWSojYCb3z5VQ=', version='v1.4.0') go_repository(name='com_github_google_go_cmp', importpath='github.com/google/go-cmp', sum='h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4=', version='v0.4.0') go_repository(name='com_github_gorilla_websocket', importpath='github.com/gorilla/websocket', sum='h1:q7AeDBpnBk8AogcD4DSag/Ukw/KV+YhzLj2bP5HvKCM=', version='v1.4.1') go_repository(name='com_github_jaschaephraim_lrserver', importpath='github.com/jaschaephraim/lrserver', sum='h1:24NdJ5N6gtrcoeS4JwLMeruKFmg20QdF/5UnX5S/j18=', version='v0.0.0-20171129202958-50d19f603f71') go_repository(name='org_golang_x_sys', importpath='golang.org/x/sys', sum='h1:S/FtSvpNLtFBgjTqcKsRpsa6aVsI6iztaz1bQd9BJwE=', version='v0.0.0-20191029155521-f43be2a4598c') go_repository(name='org_golang_google_protobuf', importpath='google.golang.org/protobuf', sum='h1:qdOKuR/EIArgaWNjetjgTzgVTAZ+S/WXVrq9HW9zimw=', version='v1.21.0') go_repository(name='org_golang_x_xerrors', importpath='golang.org/x/xerrors', sum='h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=', version='v0.0.0-20191204190536-9bdfabe68543')
# Python Program to demonstrate the LIFO principle using stack print("Stack utilizes the LIFO (Last In First Out) Principle") print() stack = [] # Initializating Empty Stack print("Initializing empty stack :", stack) # Printing empty Stack # Adding items to the Stack stack.append("Hey") stack.append("there!") stack.append("This") stack.append("is") stack.append("a") stack.append("Stack!") print("After adding items into the stack:", stack) # Printing stack after adding items stack.pop() # Removing an item from the Stack print("After removing only one item from the stack:", stack) # Printing stack after removing an item stack.append("Retry!") # Re-adding an item to the Stack print("After re-adding an item to the stack:", stack) # Printing the new Stack # Removing all the items from the Stack stack.pop() stack.pop() stack.pop() stack.pop() stack.pop() stack.pop() print("After removing all the items from the stack", stack) # Printing empty Stack print("Removing any more items will result in an error")
print('Stack utilizes the LIFO (Last In First Out) Principle') print() stack = [] print('Initializing empty stack :', stack) stack.append('Hey') stack.append('there!') stack.append('This') stack.append('is') stack.append('a') stack.append('Stack!') print('After adding items into the stack:', stack) stack.pop() print('After removing only one item from the stack:', stack) stack.append('Retry!') print('After re-adding an item to the stack:', stack) stack.pop() stack.pop() stack.pop() stack.pop() stack.pop() stack.pop() print('After removing all the items from the stack', stack) print('Removing any more items will result in an error')
class Plugin_OBJ(): def __init__(self, fhdhr, plugin_utils, broadcast_ip, max_age): self.fhdhr = fhdhr self.broadcast_ip = broadcast_ip self.device_xml_path = '/hdhr/device.xml' self.cable_schema = "urn:schemas-opencable-com:service:Security:1" self.ota_schema = "urn:schemas-upnp-org:device:MediaServer:1" if self.fhdhr.config.dict["hdhr"]["reporting_tuner_type"].lower() == "antenna": self.schema = self.ota_schema elif self.fhdhr.config.dict["hdhr"]["reporting_tuner_type"].lower() == "cable": self.schema = self.cable_schema else: self.schema = self.ota_schema self.max_age = max_age @property def enabled(self): return self.fhdhr.config.dict["hdhr"]["enabled"] @property def notify(self): data = '' data_command = "NOTIFY * HTTP/1.1" data_dict = { "HOST": "%s:%s" % ("239.255.255.250", 1900), "NT": self.schema, "NTS": "ssdp:alive", "USN": 'uuid:%s::%s' % (self.fhdhr.config.dict["main"]["uuid"], self.schema), "SERVER": 'fHDHR/%s UPnP/1.0' % self.fhdhr.version, "LOCATION": "%s%s" % (self.fhdhr.api.base, self.device_xml_path), "AL": "%s%s" % (self.fhdhr.api.base, self.device_xml_path), "Cache-Control:max-age=": self.max_age } data += "%s\r\n" % data_command for data_key in list(data_dict.keys()): data += "%s:%s\r\n" % (data_key, data_dict[data_key]) data += "\r\n" return data
class Plugin_Obj: def __init__(self, fhdhr, plugin_utils, broadcast_ip, max_age): self.fhdhr = fhdhr self.broadcast_ip = broadcast_ip self.device_xml_path = '/hdhr/device.xml' self.cable_schema = 'urn:schemas-opencable-com:service:Security:1' self.ota_schema = 'urn:schemas-upnp-org:device:MediaServer:1' if self.fhdhr.config.dict['hdhr']['reporting_tuner_type'].lower() == 'antenna': self.schema = self.ota_schema elif self.fhdhr.config.dict['hdhr']['reporting_tuner_type'].lower() == 'cable': self.schema = self.cable_schema else: self.schema = self.ota_schema self.max_age = max_age @property def enabled(self): return self.fhdhr.config.dict['hdhr']['enabled'] @property def notify(self): data = '' data_command = 'NOTIFY * HTTP/1.1' data_dict = {'HOST': '%s:%s' % ('239.255.255.250', 1900), 'NT': self.schema, 'NTS': 'ssdp:alive', 'USN': 'uuid:%s::%s' % (self.fhdhr.config.dict['main']['uuid'], self.schema), 'SERVER': 'fHDHR/%s UPnP/1.0' % self.fhdhr.version, 'LOCATION': '%s%s' % (self.fhdhr.api.base, self.device_xml_path), 'AL': '%s%s' % (self.fhdhr.api.base, self.device_xml_path), 'Cache-Control:max-age=': self.max_age} data += '%s\r\n' % data_command for data_key in list(data_dict.keys()): data += '%s:%s\r\n' % (data_key, data_dict[data_key]) data += '\r\n' return data
def _remove_extensions(file_list): rv = {} for f in file_list: if (f.extension == "c" or f.extension == "s" or f.extension == "S"): rv[f.path[:-2]] = f else: rv[f.path] = f return rv def _remove_arch(file_dict, arch): rv = {} for f in file_dict: idx = f.find(arch + "/") if (idx == -1): rv[f] = file_dict[f] continue rv[f[:idx] + f[idx + len(arch) + 1:]] = file_dict[f] return rv def _musl_srcs(ctx): if ctx.attr.arch == "": return ctx.srcs srcs_no_ext = _remove_extensions(ctx.files.srcs) arch_srcs_no_ext = _remove_arch(_remove_extensions(ctx.files.arch_srcs), ctx.attr.arch) filtered_srcs = [] for f_s in srcs_no_ext: if (f_s not in arch_srcs_no_ext): filtered_srcs.append(srcs_no_ext[f_s]) rv = depset(filtered_srcs + ctx.files.arch_srcs) return [DefaultInfo(files = rv)] musl_srcs = rule( implementation = _musl_srcs, attrs = { "srcs": attr.label_list(allow_files = True, mandatory = True), "arch_srcs": attr.label_list(allow_files = True, mandatory = True), "arch": attr.string(mandatory = True), }, )
def _remove_extensions(file_list): rv = {} for f in file_list: if f.extension == 'c' or f.extension == 's' or f.extension == 'S': rv[f.path[:-2]] = f else: rv[f.path] = f return rv def _remove_arch(file_dict, arch): rv = {} for f in file_dict: idx = f.find(arch + '/') if idx == -1: rv[f] = file_dict[f] continue rv[f[:idx] + f[idx + len(arch) + 1:]] = file_dict[f] return rv def _musl_srcs(ctx): if ctx.attr.arch == '': return ctx.srcs srcs_no_ext = _remove_extensions(ctx.files.srcs) arch_srcs_no_ext = _remove_arch(_remove_extensions(ctx.files.arch_srcs), ctx.attr.arch) filtered_srcs = [] for f_s in srcs_no_ext: if f_s not in arch_srcs_no_ext: filtered_srcs.append(srcs_no_ext[f_s]) rv = depset(filtered_srcs + ctx.files.arch_srcs) return [default_info(files=rv)] musl_srcs = rule(implementation=_musl_srcs, attrs={'srcs': attr.label_list(allow_files=True, mandatory=True), 'arch_srcs': attr.label_list(allow_files=True, mandatory=True), 'arch': attr.string(mandatory=True)})
v = ["a", "i", "u", "e", "o"] c = input() if c in v: print("vowel") else: print("consonant")
v = ['a', 'i', 'u', 'e', 'o'] c = input() if c in v: print('vowel') else: print('consonant')
HXLM_PLUGIN_META = { 'code': "xa_amnesty", 'code_if_approved': "xz_amnesty" }
hxlm_plugin_meta = {'code': 'xa_amnesty', 'code_if_approved': 'xz_amnesty'}
horpos = list(map(int, open('Day 07.input').readline().split(','))) mean = sum(horpos) / len(horpos) target1 = mean - (mean % 1) target2 = mean + (1 - mean % 1) print(min(round(sum((abs(x - target1) * (abs(x - target1) + 1)) / 2 for x in horpos)), round(sum((abs(x - target2) * (abs(x - target2) + 1)) / 2 for x in horpos))))
horpos = list(map(int, open('Day 07.input').readline().split(','))) mean = sum(horpos) / len(horpos) target1 = mean - mean % 1 target2 = mean + (1 - mean % 1) print(min(round(sum((abs(x - target1) * (abs(x - target1) + 1) / 2 for x in horpos))), round(sum((abs(x - target2) * (abs(x - target2) + 1) / 2 for x in horpos)))))
n = int(input()) positives = [] negatives = [] for _ in range(n): num = int(input()) if num >= 0: positives.append(num) else: negatives.append(num) count_of_positives = len(positives) sum_of_negatives = sum(negatives) print(positives) print(negatives) print(f'Count of positives: {count_of_positives}. Sum of negatives: {sum_of_negatives}')
n = int(input()) positives = [] negatives = [] for _ in range(n): num = int(input()) if num >= 0: positives.append(num) else: negatives.append(num) count_of_positives = len(positives) sum_of_negatives = sum(negatives) print(positives) print(negatives) print(f'Count of positives: {count_of_positives}. Sum of negatives: {sum_of_negatives}')
s = "abcdefgh" for index in range(len(s)): if s[index] == "i" or s[index] == "u": print("There is an i or u") # Code can be rewrited as for char in s: if char == "i" or char == "u": print("There is an i or u")
s = 'abcdefgh' for index in range(len(s)): if s[index] == 'i' or s[index] == 'u': print('There is an i or u') for char in s: if char == 'i' or char == 'u': print('There is an i or u')
banned_words = input().split() text = input() replaced_text = text for word in banned_words: replaced_text = replaced_text.replace(word, "*" * len(word)) print(replaced_text)
banned_words = input().split() text = input() replaced_text = text for word in banned_words: replaced_text = replaced_text.replace(word, '*' * len(word)) print(replaced_text)
vocab_sizes_dict = {'BabyAI-BossLevel-v0': 31, 'BabyAI-BossLevelNoUnlock-v0': 31, 'BabyAI-GoTo-v0': 13, 'BabyAI-GoToImpUnlock-v0': 13, 'BabyAI-GoToLocal-v0': 13, 'BabyAI-GoToLocalS5N2-v0': 13, 'BabyAI-GoToLocalS6N2-v0': 13, 'BabyAI-GoToLocalS6N3-v0': 13, 'BabyAI-GoToLocalS6N4-v0': 13, 'BabyAI-GoToLocalS7N4-v0': 13, 'BabyAI-GoToLocalS7N5-v0': 13, 'BabyAI-GoToLocalS8N2-v0': 13, 'BabyAI-GoToLocalS8N3-v0': 13, 'BabyAI-GoToLocalS8N4-v0': 13, 'BabyAI-GoToLocalS8N5-v0': 13, 'BabyAI-GoToLocalS8N6-v0': 13, 'BabyAI-GoToLocalS8N7-v0': 13, 'BabyAI-GoToObj-v0': 12, 'BabyAI-GoToObjMaze-v0': 12, 'BabyAI-GoToObjMazeOpen-v0': 12, 'BabyAI-GoToObjMazeS4-v0': 12, 'BabyAI-GoToObjMazeS4R2-v0': 12, 'BabyAI-GoToObjMazeS5-v0': 12, 'BabyAI-GoToObjMazeS6-v0': 12, 'BabyAI-GoToObjMazeS7-v0': 12, 'BabyAI-GoToObjS4-v0': 12, 'BabyAI-GoToObjS6-v0': 12, 'BabyAI-GoToOpen-v0': 13, 'BabyAI-GoToRedBall-v0': 6, 'BabyAI-GoToRedBallGrey-v0': 5, 'BabyAI-GoToRedBallNoDists-v0': 5, 'BabyAI-GoToSeq-v0': 18, 'BabyAI-GoToSeqS5R2-v0': 18, 'BabyAI-MiniBossLevel-v0': 31, 'BabyAI-Open-v0': 10, 'BabyAI-Pickup-v0': 13, 'BabyAI-PickupLoc-v0': 22, 'BabyAI-PutNext-v0': 14, 'BabyAI-PutNextLocal-v0': 13, 'BabyAI-PutNextLocalS5N3-v0': 13, 'BabyAI-PutNextLocalS6N4-v0': 13, 'BabyAI-Synth-v0': 19, 'BabyAI-SynthLoc-v0': 28, 'BabyAI-SynthS5R2-v0': 19, 'BabyAI-SynthSeq-v0': 31, 'BabyAI-UnlockPickup-v0': 13, 'BabyAI-UnblockPickup-v0': 13, 'BabyAI-Unlock-v0': 10}
vocab_sizes_dict = {'BabyAI-BossLevel-v0': 31, 'BabyAI-BossLevelNoUnlock-v0': 31, 'BabyAI-GoTo-v0': 13, 'BabyAI-GoToImpUnlock-v0': 13, 'BabyAI-GoToLocal-v0': 13, 'BabyAI-GoToLocalS5N2-v0': 13, 'BabyAI-GoToLocalS6N2-v0': 13, 'BabyAI-GoToLocalS6N3-v0': 13, 'BabyAI-GoToLocalS6N4-v0': 13, 'BabyAI-GoToLocalS7N4-v0': 13, 'BabyAI-GoToLocalS7N5-v0': 13, 'BabyAI-GoToLocalS8N2-v0': 13, 'BabyAI-GoToLocalS8N3-v0': 13, 'BabyAI-GoToLocalS8N4-v0': 13, 'BabyAI-GoToLocalS8N5-v0': 13, 'BabyAI-GoToLocalS8N6-v0': 13, 'BabyAI-GoToLocalS8N7-v0': 13, 'BabyAI-GoToObj-v0': 12, 'BabyAI-GoToObjMaze-v0': 12, 'BabyAI-GoToObjMazeOpen-v0': 12, 'BabyAI-GoToObjMazeS4-v0': 12, 'BabyAI-GoToObjMazeS4R2-v0': 12, 'BabyAI-GoToObjMazeS5-v0': 12, 'BabyAI-GoToObjMazeS6-v0': 12, 'BabyAI-GoToObjMazeS7-v0': 12, 'BabyAI-GoToObjS4-v0': 12, 'BabyAI-GoToObjS6-v0': 12, 'BabyAI-GoToOpen-v0': 13, 'BabyAI-GoToRedBall-v0': 6, 'BabyAI-GoToRedBallGrey-v0': 5, 'BabyAI-GoToRedBallNoDists-v0': 5, 'BabyAI-GoToSeq-v0': 18, 'BabyAI-GoToSeqS5R2-v0': 18, 'BabyAI-MiniBossLevel-v0': 31, 'BabyAI-Open-v0': 10, 'BabyAI-Pickup-v0': 13, 'BabyAI-PickupLoc-v0': 22, 'BabyAI-PutNext-v0': 14, 'BabyAI-PutNextLocal-v0': 13, 'BabyAI-PutNextLocalS5N3-v0': 13, 'BabyAI-PutNextLocalS6N4-v0': 13, 'BabyAI-Synth-v0': 19, 'BabyAI-SynthLoc-v0': 28, 'BabyAI-SynthS5R2-v0': 19, 'BabyAI-SynthSeq-v0': 31, 'BabyAI-UnlockPickup-v0': 13, 'BabyAI-UnblockPickup-v0': 13, 'BabyAI-Unlock-v0': 10}
str=input("Enter string:") str_list=list(str) rev_list=[] rev_str="" length=len(str_list) for i in range(-1,-(length+1),-1): rev_list.append(str_list[i]) rev=rev_str.join(rev_list) print(rev) print("Character in even index:") for i in range(0,len(str),2): print(str[i])
str = input('Enter string:') str_list = list(str) rev_list = [] rev_str = '' length = len(str_list) for i in range(-1, -(length + 1), -1): rev_list.append(str_list[i]) rev = rev_str.join(rev_list) print(rev) print('Character in even index:') for i in range(0, len(str), 2): print(str[i])
test_ads_info = [ {'ad_id': 787, 'status': True, 'bidding_cpc': 1, 'advertiser': 'DO', 'banner_style': 'XII', 'category': 'Pullover', 'layout_style': 'JV', 'item_price': 812.32}, {'ad_id': 476, 'status': True, 'bidding_cpc': 1, 'advertiser': 'DO', 'banner_style': 'XII', 'category': 'Pullover', 'layout_style': 'JV', 'item_price': 812.32}] test_bid_request_info ={ "bid_floor": 12.00, "height": 30, "width": 50, "hist_ctr": 0.0008, "hist_cvr": 0.0000001 } test_ctr_info = { 787: 0.9986145933896876 }
test_ads_info = [{'ad_id': 787, 'status': True, 'bidding_cpc': 1, 'advertiser': 'DO', 'banner_style': 'XII', 'category': 'Pullover', 'layout_style': 'JV', 'item_price': 812.32}, {'ad_id': 476, 'status': True, 'bidding_cpc': 1, 'advertiser': 'DO', 'banner_style': 'XII', 'category': 'Pullover', 'layout_style': 'JV', 'item_price': 812.32}] test_bid_request_info = {'bid_floor': 12.0, 'height': 30, 'width': 50, 'hist_ctr': 0.0008, 'hist_cvr': 1e-07} test_ctr_info = {787: 0.9986145933896876}
# # PySNMP MIB module TELESYN-ATI-TC (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/TELESYN-ATI-TC # Produced by pysmi-0.3.4 at Mon Apr 29 18:22: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) # Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, ConstraintsUnion, ConstraintsIntersection, SingleValueConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsUnion", "ConstraintsIntersection", "SingleValueConstraint", "ValueSizeConstraint") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Integer32, IpAddress, ModuleIdentity, enterprises, TimeTicks, NotificationType, Unsigned32, MibIdentifier, iso, ObjectIdentity, Counter32, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter64, Bits = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "IpAddress", "ModuleIdentity", "enterprises", "TimeTicks", "NotificationType", "Unsigned32", "MibIdentifier", "iso", "ObjectIdentity", "Counter32", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter64", "Bits") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") alliedtelesyn = MibIdentifier((1, 3, 6, 1, 4, 1, 207)) mibObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8)) products = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1)) switchingHubs = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4)) at_8200Switch = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 9)).setLabel("at-8200Switch") at8200SwitchMib = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9)) switchChassis = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 1)) switchMibModules = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2)) atmModule = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2, 1)) bridgeModule = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2, 2)) fddiModule = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2, 3)) isdnModule = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2, 4)) vLanModule = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2, 5)) atiProducts = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 3)) switchProduct = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 3, 1)) atiAgents = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 100)) uplinkSwitchAgent = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 100, 1)) switchAgent = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 100, 2)) atiAgentCapabilities = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 1000)) atiConventions = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 200)) switchVendor = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 300)) mibBuilder.exportSymbols("TELESYN-ATI-TC", fddiModule=fddiModule, atiProducts=atiProducts, atiConventions=atiConventions, at8200SwitchMib=at8200SwitchMib, isdnModule=isdnModule, mibObjects=mibObjects, atmModule=atmModule, uplinkSwitchAgent=uplinkSwitchAgent, switchChassis=switchChassis, vLanModule=vLanModule, switchMibModules=switchMibModules, switchAgent=switchAgent, at_8200Switch=at_8200Switch, switchingHubs=switchingHubs, alliedtelesyn=alliedtelesyn, atiAgents=atiAgents, atiAgentCapabilities=atiAgentCapabilities, switchProduct=switchProduct, products=products, switchVendor=switchVendor, bridgeModule=bridgeModule)
(integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, constraints_union, constraints_intersection, single_value_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueSizeConstraint') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (integer32, ip_address, module_identity, enterprises, time_ticks, notification_type, unsigned32, mib_identifier, iso, object_identity, counter32, gauge32, mib_scalar, mib_table, mib_table_row, mib_table_column, counter64, bits) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'IpAddress', 'ModuleIdentity', 'enterprises', 'TimeTicks', 'NotificationType', 'Unsigned32', 'MibIdentifier', 'iso', 'ObjectIdentity', 'Counter32', 'Gauge32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter64', 'Bits') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') alliedtelesyn = mib_identifier((1, 3, 6, 1, 4, 1, 207)) mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8)) products = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1)) switching_hubs = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4)) at_8200_switch = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 9)).setLabel('at-8200Switch') at8200_switch_mib = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9)) switch_chassis = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 1)) switch_mib_modules = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2)) atm_module = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2, 1)) bridge_module = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2, 2)) fddi_module = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2, 3)) isdn_module = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2, 4)) v_lan_module = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2, 5)) ati_products = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 3)) switch_product = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 3, 1)) ati_agents = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 100)) uplink_switch_agent = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 100, 1)) switch_agent = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 100, 2)) ati_agent_capabilities = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 1000)) ati_conventions = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 200)) switch_vendor = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 300)) mibBuilder.exportSymbols('TELESYN-ATI-TC', fddiModule=fddiModule, atiProducts=atiProducts, atiConventions=atiConventions, at8200SwitchMib=at8200SwitchMib, isdnModule=isdnModule, mibObjects=mibObjects, atmModule=atmModule, uplinkSwitchAgent=uplinkSwitchAgent, switchChassis=switchChassis, vLanModule=vLanModule, switchMibModules=switchMibModules, switchAgent=switchAgent, at_8200Switch=at_8200Switch, switchingHubs=switchingHubs, alliedtelesyn=alliedtelesyn, atiAgents=atiAgents, atiAgentCapabilities=atiAgentCapabilities, switchProduct=switchProduct, products=products, switchVendor=switchVendor, bridgeModule=bridgeModule)
# # PySNMP MIB module FOUNDRY-SN-SWITCH-GROUP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/FOUNDRY-SN-SWITCH-GROUP-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:23:56 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ValueSizeConstraint, ConstraintsIntersection, ValueRangeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueSizeConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "SingleValueConstraint") MacAddress, DisplayString = mibBuilder.importSymbols("FOUNDRY-SN-AGENT-MIB", "MacAddress", "DisplayString") switch, = mibBuilder.importSymbols("FOUNDRY-SN-ROOT-MIB", "switch") InterfaceIndexOrZero, InterfaceIndex, ifIndex = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero", "InterfaceIndex", "ifIndex") EnabledStatus, = mibBuilder.importSymbols("P-BRIDGE-MIB", "EnabledStatus") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Gauge32, iso, Integer32, NotificationType, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter64, ModuleIdentity, TimeTicks, ObjectIdentity, Unsigned32, Bits, Counter32, IpAddress = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "iso", "Integer32", "NotificationType", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter64", "ModuleIdentity", "TimeTicks", "ObjectIdentity", "Unsigned32", "Bits", "Counter32", "IpAddress") TextualConvention, DisplayString, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString", "TruthValue") snSwitch = ModuleIdentity((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3)) snSwitch.setRevisions(('2013-10-25 00:00', '2010-06-02 00:00', '2009-09-30 00:00',)) if mibBuilder.loadTexts: snSwitch.setLastUpdated('201310250000Z') if mibBuilder.loadTexts: snSwitch.setOrganization('Brocade Communications Systems, Inc.') class PhysAddress(TextualConvention, OctetString): status = 'current' class BridgeId(TextualConvention, OctetString): status = 'current' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(8, 8) fixedLength = 8 class Timeout(TextualConvention, Integer32): status = 'current' class PortMask(TextualConvention, Integer32): status = 'current' class InterfaceId(TextualConvention, ObjectIdentifier): status = 'current' class InterfaceId2(TextualConvention, ObjectIdentifier): status = 'current' class VlanTagMode(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3)) namedValues = NamedValues(("tagged", 1), ("untagged", 2), ("dual", 3)) class FdryVlanIdOrNoneTC(TextualConvention, Integer32): status = 'current' displayHint = 'd' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 4095), ) class BrcdVlanIdTC(TextualConvention, Integer32): status = 'current' displayHint = 'd' subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(1, 4090) class BrcdVlanIdOrNoneTC(TextualConvention, Integer32): status = 'current' displayHint = 'd' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 4090), ) class PortQosTC(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 127)) namedValues = NamedValues(("level0", 0), ("level1", 1), ("level2", 2), ("level3", 3), ("level4", 4), ("level5", 5), ("level6", 6), ("level7", 7), ("invalid", 127)) class PortPriorityTC(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 128)) namedValues = NamedValues(("priority0", 1), ("priority1", 2), ("priority2", 3), ("priority3", 4), ("priority4", 5), ("priority5", 6), ("priority6", 7), ("priority7", 8), ("nonPriority", 128)) snSwInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1)) snVLanInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2)) snSwPortInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3)) snFdbInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4)) snPortStpInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5)) snTrunkInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6)) snSwSummary = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 7)) snDhcpGatewayListInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8)) snDnsInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 9)) snMacFilter = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10)) snNTP = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11)) snRadius = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12)) snTacacs = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13)) snQos = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14)) snAAA = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15)) snCAR = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 16)) snVLanCAR = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 17)) snNetFlow = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18)) snSFlow = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19)) snFDP = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20)) snVsrp = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 21)) snArpInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 22)) snWireless = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 23)) snMac = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24)) snPortMonitor = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 25)) snSSH = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 26)) snSSL = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 27)) snMacAuth = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 28)) snMetroRing = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 29)) snStacking = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 31)) fdryMacVlanMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 32)) fdryLinkAggregationGroupMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 33)) fdryDns2MIB = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 34)) fdryDaiMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 35)) fdryDhcpSnoopMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 36)) fdryIpSrcGuardMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 37)) brcdRouteMap = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 39)) brcdSPXMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 40)) snSwGroupOperMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("noVLan", 1), ("vlanByPort", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwGroupOperMode.setStatus('current') snSwGroupIpL3SwMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwGroupIpL3SwMode.setStatus('current') snSwGroupIpMcastMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwGroupIpMcastMode.setStatus('current') snSwGroupDefaultCfgMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("default", 1), ("nonDefault", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwGroupDefaultCfgMode.setStatus('current') snSwGroupSwitchAgeTime = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwGroupSwitchAgeTime.setStatus('current') snVLanGroupVlanCurEntry = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanGroupVlanCurEntry.setStatus('current') snVLanGroupSetAllVLan = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanGroupSetAllVLan.setStatus('current') snSwPortSetAll = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 8), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortSetAll.setStatus('current') snFdbTableCurEntry = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdbTableCurEntry.setStatus('current') snFdbTableStationFlush = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("normal", 1), ("error", 2), ("flush", 3), ("flushing", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdbTableStationFlush.setStatus('current') snPortStpSetAll = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 11), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortStpSetAll.setStatus('current') snSwProbePortNum = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 12), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwProbePortNum.setStatus('current') snSw8021qTagMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSw8021qTagMode.setStatus('current') snSwGlobalStpMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwGlobalStpMode.setStatus('current') snSwIpMcastQuerierMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("querier", 1), ("nonQuerier", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIpMcastQuerierMode.setStatus('current') snSwViolatorPortNumber = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 17), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwViolatorPortNumber.setStatus('current') snSwViolatorMacAddress = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 18), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwViolatorMacAddress.setStatus('current') snVLanGroupVlanMaxEntry = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 19), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanGroupVlanMaxEntry.setStatus('current') snSwEosBufferSize = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 20), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwEosBufferSize.setStatus('current') snVLanByPortEntrySize = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 21), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortEntrySize.setStatus('current') snSwPortEntrySize = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 22), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortEntrySize.setStatus('current') snFdbStationEntrySize = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 23), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdbStationEntrySize.setStatus('current') snPortStpEntrySize = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 24), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortStpEntrySize.setStatus('current') snSwEnableBridgeNewRootTrap = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwEnableBridgeNewRootTrap.setStatus('current') snSwEnableBridgeTopoChangeTrap = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwEnableBridgeTopoChangeTrap.setStatus('current') snSwEnableLockedAddrViolationTrap = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwEnableLockedAddrViolationTrap.setStatus('current') snSwIpxL3SwMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIpxL3SwMode.setStatus('current') snVLanByIpSubnetMaxSubnets = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 29), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpSubnetMaxSubnets.setStatus('current') snVLanByIpxNetMaxNetworks = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 30), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpxNetMaxNetworks.setStatus('current') snSwProtocolVLanMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwProtocolVLanMode.setStatus('deprecated') snMacStationVLanId = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 32), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacStationVLanId.setStatus('deprecated') snSwClearCounters = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("valid", 0), ("clear", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwClearCounters.setStatus('current') snSw8021qTagType = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 34), Integer32().clone(33024)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSw8021qTagType.setStatus('current') snSwBroadcastLimit = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 35), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwBroadcastLimit.setStatus('current') snSwMaxMacFilterPerSystem = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 36), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwMaxMacFilterPerSystem.setStatus('current') snSwMaxMacFilterPerPort = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 37), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwMaxMacFilterPerPort.setStatus('current') snSwDefaultVLanId = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 38), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwDefaultVLanId.setStatus('current') snSwGlobalAutoNegotiate = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 39), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1), ("negFullAuto", 2), ("other", 3))).clone('negFullAuto')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwGlobalAutoNegotiate.setStatus('current') snSwQosMechanism = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 40), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("strict", 0), ("weighted", 1))).clone('weighted')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwQosMechanism.setStatus('current') snSwSingleStpMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 41), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("enableStp", 1), ("enableRstp", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwSingleStpMode.setStatus('current') snSwFastStpMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 42), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwFastStpMode.setStatus('current') snSwViolatorIfIndex = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 43), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwViolatorIfIndex.setStatus('current') snSwSingleStpVLanId = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 44), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwSingleStpVLanId.setStatus('current') snSwBroadcastLimit2 = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 45), Unsigned32().clone(4294967295)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwBroadcastLimit2.setStatus('current') snVLanByPortTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1), ) if mibBuilder.loadTexts: snVLanByPortTable.setStatus('deprecated') snVLanByPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByPortVLanIndex")) if mibBuilder.loadTexts: snVLanByPortEntry.setStatus('deprecated') snVLanByPortVLanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortVLanIndex.setStatus('deprecated') snVLanByPortVLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortVLanId.setStatus('deprecated') snVLanByPortPortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 3), PortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortPortMask.setStatus('deprecated') snVLanByPortQos = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("level0", 0), ("level1", 1), ("level2", 2), ("level3", 3), ("level4", 4), ("level5", 5), ("level6", 6), ("level7", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortQos.setStatus('deprecated') snVLanByPortStpMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("enableStp", 1), ("enableRstp", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortStpMode.setStatus('deprecated') snVLanByPortStpPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortStpPriority.setStatus('deprecated') snVLanByPortStpGroupMaxAge = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 40))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortStpGroupMaxAge.setStatus('deprecated') snVLanByPortStpGroupHelloTime = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortStpGroupHelloTime.setStatus('deprecated') snVLanByPortStpGroupForwardDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 30))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortStpGroupForwardDelay.setStatus('deprecated') snVLanByPortRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4), ("modify", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortRowStatus.setStatus('deprecated') snVLanByPortOperState = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("notActivated", 0), ("activated", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortOperState.setStatus('deprecated') snVLanByPortBaseNumPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 12), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortBaseNumPorts.setStatus('deprecated') snVLanByPortBaseType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("unknown", 1), ("transparentOnly", 2), ("sourcerouteOnly", 3), ("srt", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortBaseType.setStatus('deprecated') snVLanByPortStpProtocolSpecification = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("unknown", 1), ("decLb100", 2), ("ieee8021d", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortStpProtocolSpecification.setStatus('deprecated') snVLanByPortStpMaxAge = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 15), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortStpMaxAge.setStatus('deprecated') snVLanByPortStpHelloTime = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 16), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortStpHelloTime.setStatus('deprecated') snVLanByPortStpHoldTime = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 17), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortStpHoldTime.setStatus('deprecated') snVLanByPortStpForwardDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 18), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortStpForwardDelay.setStatus('deprecated') snVLanByPortStpTimeSinceTopologyChange = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 19), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortStpTimeSinceTopologyChange.setStatus('deprecated') snVLanByPortStpTopChanges = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortStpTopChanges.setStatus('deprecated') snVLanByPortStpRootCost = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 21), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortStpRootCost.setStatus('deprecated') snVLanByPortStpRootPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 22), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortStpRootPort.setStatus('deprecated') snVLanByPortStpDesignatedRoot = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 23), BridgeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortStpDesignatedRoot.setStatus('deprecated') snVLanByPortBaseBridgeAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 24), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortBaseBridgeAddress.setStatus('deprecated') snVLanByPortVLanName = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 25), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortVLanName.setStatus('deprecated') snVLanByPortRouterIntf = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 26), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortRouterIntf.setStatus('deprecated') snVLanByPortChassisPortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 27), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortChassisPortMask.setStatus('deprecated') snVLanByPortPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 28), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortPortList.setStatus('deprecated') snVLanByPortMemberTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6), ) if mibBuilder.loadTexts: snVLanByPortMemberTable.setStatus('current') snVLanByPortMemberEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByPortMemberVLanId"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByPortMemberPortId")) if mibBuilder.loadTexts: snVLanByPortMemberEntry.setStatus('current') snVLanByPortMemberVLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortMemberVLanId.setStatus('current') snVLanByPortMemberPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6, 1, 2), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortMemberPortId.setStatus('current') snVLanByPortMemberRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortMemberRowStatus.setStatus('current') snVLanByPortMemberTagMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("tagged", 1), ("untagged", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortMemberTagMode.setStatus('current') snVLanByPortCfgTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7), ) if mibBuilder.loadTexts: snVLanByPortCfgTable.setStatus('current') snVLanByPortCfgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByPortCfgVLanId")) if mibBuilder.loadTexts: snVLanByPortCfgEntry.setStatus('current') snVLanByPortCfgVLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgVLanId.setStatus('current') snVLanByPortCfgQos = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 2), PortQosTC()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgQos.setStatus('current') snVLanByPortCfgStpMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("enableStp", 1), ("enableRstp", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgStpMode.setStatus('current') snVLanByPortCfgStpPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgStpPriority.setStatus('current') snVLanByPortCfgStpGroupMaxAge = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgStpGroupMaxAge.setStatus('current') snVLanByPortCfgStpGroupHelloTime = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgStpGroupHelloTime.setStatus('current') snVLanByPortCfgStpGroupForwardDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgStpGroupForwardDelay.setStatus('current') snVLanByPortCfgBaseNumPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgBaseNumPorts.setStatus('current') snVLanByPortCfgBaseType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("unknown", 1), ("transparentOnly", 2), ("sourcerouteOnly", 3), ("srt", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgBaseType.setStatus('current') snVLanByPortCfgStpProtocolSpecification = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("unknown", 1), ("decLb100", 2), ("ieee8021d", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgStpProtocolSpecification.setStatus('current') snVLanByPortCfgStpMaxAge = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 11), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgStpMaxAge.setStatus('current') snVLanByPortCfgStpHelloTime = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 12), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgStpHelloTime.setStatus('current') snVLanByPortCfgStpHoldTime = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 13), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgStpHoldTime.setStatus('current') snVLanByPortCfgStpForwardDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 14), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgStpForwardDelay.setStatus('current') snVLanByPortCfgStpTimeSinceTopologyChange = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 15), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgStpTimeSinceTopologyChange.setStatus('current') snVLanByPortCfgStpTopChanges = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgStpTopChanges.setStatus('current') snVLanByPortCfgStpRootCost = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 17), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgStpRootCost.setStatus('current') snVLanByPortCfgStpRootPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 18), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgStpRootPort.setStatus('current') snVLanByPortCfgStpDesignatedRoot = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 19), BridgeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgStpDesignatedRoot.setStatus('current') snVLanByPortCfgBaseBridgeAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 20), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgBaseBridgeAddress.setStatus('current') snVLanByPortCfgVLanName = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 21), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgVLanName.setStatus('current') snVLanByPortCfgRouterIntf = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 22), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgRouterIntf.setStatus('current') snVLanByPortCfgRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgRowStatus.setStatus('current') snVLanByPortCfgStpVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 2))).clone(namedValues=NamedValues(("stpCompatible", 0), ("rstp", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgStpVersion.setStatus('current') snVLanByPortCfgInOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 25), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgInOctets.setStatus('current') snVLanByPortCfgTransparentHwFlooding = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgTransparentHwFlooding.setStatus('current') brcdVlanExtStatsTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8), ) if mibBuilder.loadTexts: brcdVlanExtStatsTable.setStatus('current') brcdVlanExtStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "brcdVlanExtStatsVlanId"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "brcdVlanExtStatsIfIndex"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "brcdVlanExtStatsPriorityId")) if mibBuilder.loadTexts: brcdVlanExtStatsEntry.setStatus('current') brcdVlanExtStatsVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 1), BrcdVlanIdTC()) if mibBuilder.loadTexts: brcdVlanExtStatsVlanId.setStatus('current') brcdVlanExtStatsIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 2), InterfaceIndex()) if mibBuilder.loadTexts: brcdVlanExtStatsIfIndex.setStatus('current') brcdVlanExtStatsPriorityId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 3), PortPriorityTC()) if mibBuilder.loadTexts: brcdVlanExtStatsPriorityId.setStatus('current') brcdVlanExtStatsInSwitchedPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsInSwitchedPkts.setStatus('current') brcdVlanExtStatsInRoutedPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsInRoutedPkts.setStatus('current') brcdVlanExtStatsInPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsInPkts.setStatus('current') brcdVlanExtStatsOutSwitchedPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsOutSwitchedPkts.setStatus('current') brcdVlanExtStatsOutRoutedPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsOutRoutedPkts.setStatus('current') brcdVlanExtStatsOutPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsOutPkts.setStatus('current') brcdVlanExtStatsInSwitchedOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsInSwitchedOctets.setStatus('current') brcdVlanExtStatsInRoutedOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 11), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsInRoutedOctets.setStatus('current') brcdVlanExtStatsInOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsInOctets.setStatus('current') brcdVlanExtStatsOutSwitchedOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsOutSwitchedOctets.setStatus('current') brcdVlanExtStatsOutRoutedOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 14), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsOutRoutedOctets.setStatus('current') brcdVlanExtStatsOutOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 15), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsOutOctets.setStatus('current') snVLanByProtocolTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2), ) if mibBuilder.loadTexts: snVLanByProtocolTable.setStatus('current') snVLanByProtocolEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByProtocolVLanId"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByProtocolIndex")) if mibBuilder.loadTexts: snVLanByProtocolEntry.setStatus('current') snVLanByProtocolVLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByProtocolVLanId.setStatus('current') snVLanByProtocolIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("ip", 1), ("ipx", 2), ("appleTalk", 3), ("decNet", 4), ("netBios", 5), ("others", 6), ("ipv6", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByProtocolIndex.setStatus('current') snVLanByProtocolDynamic = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByProtocolDynamic.setStatus('current') snVLanByProtocolStaticMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 4), PortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByProtocolStaticMask.setStatus('deprecated') snVLanByProtocolExcludeMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 5), PortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByProtocolExcludeMask.setStatus('deprecated') snVLanByProtocolRouterIntf = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 60))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByProtocolRouterIntf.setStatus('current') snVLanByProtocolRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4), ("modify", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByProtocolRowStatus.setStatus('current') snVLanByProtocolDynamicMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 8), PortMask()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByProtocolDynamicMask.setStatus('deprecated') snVLanByProtocolChassisStaticMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByProtocolChassisStaticMask.setStatus('deprecated') snVLanByProtocolChassisExcludeMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByProtocolChassisExcludeMask.setStatus('deprecated') snVLanByProtocolChassisDynamicMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByProtocolChassisDynamicMask.setStatus('deprecated') snVLanByProtocolVLanName = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByProtocolVLanName.setStatus('current') snVLanByProtocolStaticPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 13), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByProtocolStaticPortList.setStatus('current') snVLanByProtocolExcludePortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 14), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByProtocolExcludePortList.setStatus('current') snVLanByProtocolDynamicPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 15), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByProtocolDynamicPortList.setStatus('current') snVLanByIpSubnetTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3), ) if mibBuilder.loadTexts: snVLanByIpSubnetTable.setStatus('current') snVLanByIpSubnetEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByIpSubnetVLanId"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByIpSubnetIpAddress"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByIpSubnetSubnetMask")) if mibBuilder.loadTexts: snVLanByIpSubnetEntry.setStatus('current') snVLanByIpSubnetVLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpSubnetVLanId.setStatus('current') snVLanByIpSubnetIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpSubnetIpAddress.setStatus('current') snVLanByIpSubnetSubnetMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 3), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpSubnetSubnetMask.setStatus('current') snVLanByIpSubnetDynamic = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpSubnetDynamic.setStatus('current') snVLanByIpSubnetStaticMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 5), PortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpSubnetStaticMask.setStatus('deprecated') snVLanByIpSubnetExcludeMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 6), PortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpSubnetExcludeMask.setStatus('deprecated') snVLanByIpSubnetRouterIntf = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 60))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpSubnetRouterIntf.setStatus('current') snVLanByIpSubnetRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4), ("modify", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpSubnetRowStatus.setStatus('current') snVLanByIpSubnetDynamicMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 9), PortMask()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpSubnetDynamicMask.setStatus('deprecated') snVLanByIpSubnetChassisStaticMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpSubnetChassisStaticMask.setStatus('deprecated') snVLanByIpSubnetChassisExcludeMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpSubnetChassisExcludeMask.setStatus('deprecated') snVLanByIpSubnetChassisDynamicMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpSubnetChassisDynamicMask.setStatus('deprecated') snVLanByIpSubnetVLanName = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpSubnetVLanName.setStatus('current') snVLanByIpSubnetStaticPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 14), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpSubnetStaticPortList.setStatus('current') snVLanByIpSubnetExcludePortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 15), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpSubnetExcludePortList.setStatus('current') snVLanByIpSubnetDynamicPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 16), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpSubnetDynamicPortList.setStatus('current') snVLanByIpxNetTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4), ) if mibBuilder.loadTexts: snVLanByIpxNetTable.setStatus('current') snVLanByIpxNetEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByIpxNetVLanId"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByIpxNetNetworkNum"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByIpxNetFrameType")) if mibBuilder.loadTexts: snVLanByIpxNetEntry.setStatus('current') snVLanByIpxNetVLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpxNetVLanId.setStatus('current') snVLanByIpxNetNetworkNum = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpxNetNetworkNum.setStatus('current') snVLanByIpxNetFrameType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("notApplicable", 0), ("ipxEthernet8022", 1), ("ipxEthernet8023", 2), ("ipxEthernetII", 3), ("ipxEthernetSnap", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpxNetFrameType.setStatus('current') snVLanByIpxNetDynamic = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpxNetDynamic.setStatus('current') snVLanByIpxNetStaticMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 5), PortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpxNetStaticMask.setStatus('deprecated') snVLanByIpxNetExcludeMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 6), PortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpxNetExcludeMask.setStatus('deprecated') snVLanByIpxNetRouterIntf = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 60))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpxNetRouterIntf.setStatus('current') snVLanByIpxNetRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4), ("modify", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpxNetRowStatus.setStatus('current') snVLanByIpxNetDynamicMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 9), PortMask()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpxNetDynamicMask.setStatus('deprecated') snVLanByIpxNetChassisStaticMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpxNetChassisStaticMask.setStatus('deprecated') snVLanByIpxNetChassisExcludeMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpxNetChassisExcludeMask.setStatus('deprecated') snVLanByIpxNetChassisDynamicMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpxNetChassisDynamicMask.setStatus('deprecated') snVLanByIpxNetVLanName = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpxNetVLanName.setStatus('current') snVLanByIpxNetStaticPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 14), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpxNetStaticPortList.setStatus('current') snVLanByIpxNetExcludePortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 15), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpxNetExcludePortList.setStatus('current') snVLanByIpxNetDynamicPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 16), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpxNetDynamicPortList.setStatus('current') snVLanByATCableTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5), ) if mibBuilder.loadTexts: snVLanByATCableTable.setStatus('current') snVLanByATCableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByATCableVLanId"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByATCableIndex")) if mibBuilder.loadTexts: snVLanByATCableEntry.setStatus('current') snVLanByATCableVLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByATCableVLanId.setStatus('current') snVLanByATCableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByATCableIndex.setStatus('current') snVLanByATCableRouterIntf = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 60))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByATCableRouterIntf.setStatus('current') snVLanByATCableRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4), ("modify", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByATCableRowStatus.setStatus('current') snVLanByATCableChassisStaticMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByATCableChassisStaticMask.setStatus('deprecated') snVLanByATCableVLanName = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByATCableVLanName.setStatus('current') snVLanByATCableStaticPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 7), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByATCableStaticPortList.setStatus('current') snSwPortInfoTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1), ) if mibBuilder.loadTexts: snSwPortInfoTable.setStatus('deprecated') snSwPortInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snSwPortInfoPortNum")) if mibBuilder.loadTexts: snSwPortInfoEntry.setStatus('deprecated') snSwPortInfoPortNum = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortInfoPortNum.setStatus('deprecated') snSwPortInfoMonitorMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("disabled", 0), ("input", 1), ("output", 2), ("both", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInfoMonitorMode.setStatus('deprecated') snSwPortInfoTagMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("tagged", 1), ("untagged", 2), ("auto", 3), ("disabled", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInfoTagMode.setStatus('deprecated') snSwPortInfoChnMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("halfDuplex", 1), ("fullDuplex", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInfoChnMode.setStatus('deprecated') snSwPortInfoSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14))).clone(namedValues=NamedValues(("none", 0), ("sAutoSense", 1), ("s10M", 2), ("s100M", 3), ("s1G", 4), ("s1GM", 5), ("s155M", 6), ("s10G", 7), ("s622M", 8), ("s2488M", 9), ("s9953M", 10), ("s16G", 11), ("s40G", 13), ("s2500M", 14)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInfoSpeed.setStatus('deprecated') snSwPortInfoMediaType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19))).clone(namedValues=NamedValues(("other", 1), ("m100BaseTX", 2), ("m100BaseFX", 3), ("m1000BaseFX", 4), ("mT3", 5), ("m155ATM", 6), ("m1000BaseTX", 7), ("m622ATM", 8), ("m155POS", 9), ("m622POS", 10), ("m2488POS", 11), ("m10000BaseFX", 12), ("m9953POS", 13), ("m16GStacking", 14), ("m100GBaseFX", 15), ("m40GStacking", 16), ("m40GBaseFX", 17), ("m10000BaseTX", 18), ("m2500BaseTX", 19)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortInfoMediaType.setStatus('deprecated') snSwPortInfoConnectorType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("copper", 2), ("fiber", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortInfoConnectorType.setStatus('deprecated') snSwPortInfoAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInfoAdminStatus.setStatus('deprecated') snSwPortInfoLinkStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortInfoLinkStatus.setStatus('deprecated') snSwPortInfoPortQos = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("level0", 0), ("level1", 1), ("level2", 2), ("level3", 3), ("level4", 4), ("level5", 5), ("level6", 6), ("level7", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInfoPortQos.setStatus('deprecated') snSwPortInfoPhysAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 11), PhysAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortInfoPhysAddress.setStatus('deprecated') snSwPortStatsInFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsInFrames.setStatus('deprecated') snSwPortStatsOutFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsOutFrames.setStatus('deprecated') snSwPortStatsAlignErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsAlignErrors.setStatus('deprecated') snSwPortStatsFCSErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsFCSErrors.setStatus('deprecated') snSwPortStatsMultiColliFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsMultiColliFrames.setStatus('deprecated') snSwPortStatsFrameTooLongs = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsFrameTooLongs.setStatus('deprecated') snSwPortStatsTxColliFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsTxColliFrames.setStatus('deprecated') snSwPortStatsRxColliFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsRxColliFrames.setStatus('deprecated') snSwPortStatsFrameTooShorts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsFrameTooShorts.setStatus('deprecated') snSwPortLockAddressCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2048)).clone(8)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortLockAddressCount.setStatus('deprecated') snSwPortStpPortEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortStpPortEnable.setStatus('deprecated') snSwPortDhcpGateListId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortDhcpGateListId.setStatus('deprecated') snSwPortName = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 24), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortName.setStatus('deprecated') snSwPortStatsInBcastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsInBcastFrames.setStatus('deprecated') snSwPortStatsOutBcastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsOutBcastFrames.setStatus('deprecated') snSwPortStatsInMcastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsInMcastFrames.setStatus('deprecated') snSwPortStatsOutMcastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsOutMcastFrames.setStatus('deprecated') snSwPortStatsInDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsInDiscard.setStatus('deprecated') snSwPortStatsOutDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsOutDiscard.setStatus('deprecated') snSwPortStatsMacStations = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 31), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsMacStations.setStatus('deprecated') snSwPortCacheGroupId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 32), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortCacheGroupId.setStatus('deprecated') snSwPortTransGroupId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 33), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortTransGroupId.setStatus('deprecated') snSwPortInfoAutoNegotiate = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 34), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1), ("negFullAuto", 2), ("global", 3), ("other", 4))).clone('global')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInfoAutoNegotiate.setStatus('deprecated') snSwPortInfoFlowControl = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 35), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInfoFlowControl.setStatus('deprecated') snSwPortInfoGigType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 36), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 255))).clone(namedValues=NamedValues(("m1000BaseSX", 0), ("m1000BaseLX", 1), ("m1000BaseLH", 2), ("m1000BaseLHA", 3), ("m1000BaseLHB", 4), ("m1000BaseTX", 5), ("m10000BaseSR", 6), ("m10000BaseLR", 7), ("m10000BaseER", 8), ("sfpCWDM1470nm80Km", 9), ("sfpCWDM1490nm80Km", 10), ("sfpCWDM1510nm80Km", 11), ("sfpCWDM1530nm80Km", 12), ("sfpCWDM1550nm80Km", 13), ("sfpCWDM1570nm80Km", 14), ("sfpCWDM1590nm80Km", 15), ("sfpCWDM1610nm80Km", 16), ("sfpCWDM1470nm100Km", 17), ("sfpCWDM1490nm100Km", 18), ("sfpCWDM1510nm100Km", 19), ("sfpCWDM1530nm100Km", 20), ("sfpCWDM1550nm100Km", 21), ("sfpCWDM1570nm100Km", 22), ("sfpCWDM1590nm100Km", 23), ("sfpCWDM1610nm100Km", 24), ("m1000BaseLHX", 25), ("m1000BaseSX2", 26), ("m1000BaseGBXU", 27), ("m1000BaseGBXD", 28), ("notApplicable", 255)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortInfoGigType.setStatus('deprecated') snSwPortStatsLinkChange = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 37), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsLinkChange.setStatus('deprecated') snSwPortIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 38), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortIfIndex.setStatus('deprecated') snSwPortDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 39), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortDescr.setStatus('deprecated') snSwPortInOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 40), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortInOctets.setStatus('deprecated') snSwPortOutOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 41), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortOutOctets.setStatus('deprecated') snSwPortStatsInBitsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 42), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsInBitsPerSec.setStatus('deprecated') snSwPortStatsOutBitsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 43), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsOutBitsPerSec.setStatus('deprecated') snSwPortStatsInPktsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 44), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsInPktsPerSec.setStatus('deprecated') snSwPortStatsOutPktsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 45), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsOutPktsPerSec.setStatus('deprecated') snSwPortStatsInUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 46), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsInUtilization.setStatus('deprecated') snSwPortStatsOutUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 47), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsOutUtilization.setStatus('deprecated') snSwPortFastSpanPortEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 48), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortFastSpanPortEnable.setStatus('deprecated') snSwPortFastSpanUplinkEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 49), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortFastSpanUplinkEnable.setStatus('deprecated') snSwPortVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 50), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortVlanId.setStatus('deprecated') snSwPortRouteOnly = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 51), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortRouteOnly.setStatus('deprecated') snSwPortPresent = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 52), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortPresent.setStatus('deprecated') snSwPortGBICStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 53), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("gbic", 1), ("miniGBIC", 2), ("empty", 3), ("other", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortGBICStatus.setStatus('deprecated') snSwPortStatsInKiloBitsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 54), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsInKiloBitsPerSec.setStatus('deprecated') snSwPortStatsOutKiloBitsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 55), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsOutKiloBitsPerSec.setStatus('deprecated') snSwPortLoadInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 56), Integer32().subtype(subtypeSpec=ValueRangeConstraint(30, 300)).clone(300)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortLoadInterval.setStatus('deprecated') snSwPortTagType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 57), Integer32().clone(33024)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortTagType.setStatus('deprecated') snSwPortInLinePowerControl = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 58), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("disable", 2), ("enable", 3), ("enableLegacyDevice", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInLinePowerControl.setStatus('deprecated') snSwPortInLinePowerWattage = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 59), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInLinePowerWattage.setStatus('deprecated') snSwPortInLinePowerClass = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 60), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInLinePowerClass.setStatus('deprecated') snSwPortInLinePowerPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 61), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("invalid", 0), ("critical", 1), ("high", 2), ("low", 3), ("medium", 4), ("other", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInLinePowerPriority.setStatus('deprecated') snSwPortInfoMirrorMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 62), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInfoMirrorMode.setStatus('deprecated') snSwPortStatsInJumboFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 63), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsInJumboFrames.setStatus('deprecated') snSwPortStatsOutJumboFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 64), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsOutJumboFrames.setStatus('deprecated') snSwPortInLinePowerConsumed = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 66), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortInLinePowerConsumed.setStatus('deprecated') snSwPortInLinePowerPDType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 67), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortInLinePowerPDType.setStatus('deprecated') snSwIfInfoTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5), ) if mibBuilder.loadTexts: snSwIfInfoTable.setStatus('current') snSwIfInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snSwIfInfoPortNum")) if mibBuilder.loadTexts: snSwIfInfoEntry.setStatus('current') snSwIfInfoPortNum = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfInfoPortNum.setStatus('current') snSwIfInfoMonitorMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("disabled", 0), ("input", 1), ("output", 2), ("both", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoMonitorMode.setStatus('deprecated') snSwIfInfoMirrorPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 3), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoMirrorPorts.setStatus('current') snSwIfInfoTagMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("tagged", 1), ("untagged", 2), ("dual", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoTagMode.setStatus('current') snSwIfInfoTagType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 5), Integer32().clone(33024)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoTagType.setStatus('current') snSwIfInfoChnMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("halfDuplex", 1), ("fullDuplex", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoChnMode.setStatus('current') snSwIfInfoSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14))).clone(namedValues=NamedValues(("none", 0), ("sAutoSense", 1), ("s10M", 2), ("s100M", 3), ("s1G", 4), ("s1GM", 5), ("s155M", 6), ("s10G", 7), ("s622M", 8), ("s2488M", 9), ("s9953M", 10), ("s16G", 11), ("s100G", 12), ("s40G", 13), ("s2500M", 14)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoSpeed.setStatus('current') snSwIfInfoMediaType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19))).clone(namedValues=NamedValues(("other", 1), ("m100BaseTX", 2), ("m100BaseFX", 3), ("m1000BaseFX", 4), ("mT3", 5), ("m155ATM", 6), ("m1000BaseTX", 7), ("m622ATM", 8), ("m155POS", 9), ("m622POS", 10), ("m2488POS", 11), ("m10000BaseFX", 12), ("m9953POS", 13), ("m16GStacking", 14), ("m100GBaseFX", 15), ("m40GStacking", 16), ("m40GBaseFX", 17), ("m10000BaseTX", 18), ("m2500BaseTX", 19)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfInfoMediaType.setStatus('current') snSwIfInfoConnectorType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("copper", 2), ("fiber", 3), ("both", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfInfoConnectorType.setStatus('current') snSwIfInfoAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoAdminStatus.setStatus('current') snSwIfInfoLinkStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfInfoLinkStatus.setStatus('current') snSwIfInfoPortQos = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("level0", 0), ("level1", 1), ("level2", 2), ("level3", 3), ("level4", 4), ("level5", 5), ("level6", 6), ("level7", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoPortQos.setStatus('current') snSwIfInfoPhysAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 13), PhysAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfInfoPhysAddress.setStatus('current') snSwIfLockAddressCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2048)).clone(8)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfLockAddressCount.setStatus('current') snSwIfStpPortEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfStpPortEnable.setStatus('current') snSwIfDhcpGateListId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfDhcpGateListId.setStatus('current') snSwIfName = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 17), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfName.setStatus('current') snSwIfDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 18), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfDescr.setStatus('current') snSwIfInfoAutoNegotiate = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1), ("negFullAuto", 2), ("global", 3), ("other", 4))).clone('global')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoAutoNegotiate.setStatus('current') snSwIfInfoFlowControl = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoFlowControl.setStatus('current') snSwIfInfoGigType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 127, 128, 129, 130, 131, 132, 133, 134, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 255))).clone(namedValues=NamedValues(("m1000BaseSX", 0), ("m1000BaseLX", 1), ("m1000BaseLH", 2), ("m1000BaseLHA", 3), ("m1000BaseLHB", 4), ("m1000BaseTX", 5), ("m10000BaseSR", 6), ("m10000BaseLR", 7), ("m10000BaseER", 8), ("sfpCWDM1470nm80Km", 9), ("sfpCWDM1490nm80Km", 10), ("sfpCWDM1510nm80Km", 11), ("sfpCWDM1530nm80Km", 12), ("sfpCWDM1550nm80Km", 13), ("sfpCWDM1570nm80Km", 14), ("sfpCWDM1590nm80Km", 15), ("sfpCWDM1610nm80Km", 16), ("sfpCWDM1470nm100Km", 17), ("sfpCWDM1490nm100Km", 18), ("sfpCWDM1510nm100Km", 19), ("sfpCWDM1530nm100Km", 20), ("sfpCWDM1550nm100Km", 21), ("sfpCWDM1570nm100Km", 22), ("sfpCWDM1590nm100Km", 23), ("sfpCWDM1610nm100Km", 24), ("m1000BaseLHX", 25), ("m1000BaseSX2", 26), ("mSFP1000BaseBXU", 27), ("mSFP1000BaseBXD", 28), ("mSFP100BaseBX", 29), ("mSFP100BaseBXU", 30), ("mSFP100BaseBXD", 31), ("mSFP100BaseFX", 32), ("mSFP100BaseFXIR", 33), ("mSFP100BaseFXLR", 34), ("m1000BaseLMC", 35), ("mXFP10000BaseSR", 36), ("mXFP10000BaseLR", 37), ("mXFP10000BaseER", 38), ("mXFP10000BaseSW", 39), ("mXFP10000BaseLW", 40), ("mXFP10000BaseEW", 41), ("mXFP10000BaseCX4", 42), ("mXFP10000BaseZR", 43), ("mXFP10000BaseZRD", 44), ("m1000BaseC6553", 45), ("mXFP10000BaseSRSW", 46), ("mXFP10000BaseLRLW", 47), ("mXFP10000BaseEREW", 48), ("m10000BaseT", 49), ("m2500BaseTX", 50), ("m1000BaseGBXU", 127), ("m1000BaseGBXD", 128), ("m1000BaseFBX", 129), ("m1000BaseFBXU", 130), ("m1000BaseFBXD", 131), ("m1000BaseFX", 132), ("m1000BaseFXIR", 133), ("m1000BaseFXLR", 134), ("m1000BaseXGSR", 136), ("m1000BaseXGLR", 137), ("m1000BaseXGER", 138), ("m1000BaseXGSW", 139), ("m1000BaseXGLW", 140), ("m1000BaseXGEW", 141), ("m1000BaseXGCX4", 142), ("m1000BaseXGZR", 143), ("m1000BaseXGZRD", 144), ("mCFP100GBaseSR10", 145), ("mCFP100GBaseLR4", 146), ("mCFP100GBaseER4", 147), ("mCFP100GBase10x10g2Km", 148), ("mCFP100GBase10x10g10Km", 149), ("qSFP40000BaseSR4", 150), ("qSFP40000Base10KmLR4", 151), ("mXFP10000BaseUSR", 152), ("mXFP10000BaseTwinax", 153), ("mCFP2-100GBaseSR10", 154), ("mCFP2-100GBaseLR4", 155), ("mCFP2-100GBaseER4", 156), ("mCFP2-100GBase10x10g2Km", 157), ("mCFP2-100GBase10x10g10Km", 158), ("notApplicable", 255)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfInfoGigType.setStatus('current') snSwIfFastSpanPortEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfFastSpanPortEnable.setStatus('current') snSwIfFastSpanUplinkEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfFastSpanUplinkEnable.setStatus('current') snSwIfVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfVlanId.setStatus('current') snSwIfRouteOnly = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfRouteOnly.setStatus('current') snSwIfPresent = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfPresent.setStatus('current') snSwIfGBICStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("gbic", 1), ("miniGBIC", 2), ("empty", 3), ("other", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfGBICStatus.setStatus('current') snSwIfLoadInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 28), Integer32().subtype(subtypeSpec=ValueRangeConstraint(30, 300)).clone(300)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfLoadInterval.setStatus('current') snSwIfStatsInFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsInFrames.setStatus('current') snSwIfStatsOutFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsOutFrames.setStatus('current') snSwIfStatsAlignErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 31), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsAlignErrors.setStatus('current') snSwIfStatsFCSErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 32), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsFCSErrors.setStatus('current') snSwIfStatsMultiColliFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 33), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsMultiColliFrames.setStatus('current') snSwIfStatsTxColliFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 34), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsTxColliFrames.setStatus('current') snSwIfStatsRxColliFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 35), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsRxColliFrames.setStatus('current') snSwIfStatsFrameTooLongs = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 36), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsFrameTooLongs.setStatus('current') snSwIfStatsFrameTooShorts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 37), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsFrameTooShorts.setStatus('current') snSwIfStatsInBcastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 38), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsInBcastFrames.setStatus('current') snSwIfStatsOutBcastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 39), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsOutBcastFrames.setStatus('current') snSwIfStatsInMcastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 40), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsInMcastFrames.setStatus('current') snSwIfStatsOutMcastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 41), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsOutMcastFrames.setStatus('current') snSwIfStatsInDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 42), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsInDiscard.setStatus('current') snSwIfStatsOutDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 43), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsOutDiscard.setStatus('current') snSwIfStatsMacStations = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 44), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsMacStations.setStatus('current') snSwIfStatsLinkChange = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 45), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsLinkChange.setStatus('current') snSwIfInOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 46), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfInOctets.setStatus('current') snSwIfOutOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 47), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfOutOctets.setStatus('current') snSwIfStatsInBitsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 48), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsInBitsPerSec.setStatus('current') snSwIfStatsOutBitsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 49), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsOutBitsPerSec.setStatus('current') snSwIfStatsInPktsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 50), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsInPktsPerSec.setStatus('current') snSwIfStatsOutPktsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 51), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsOutPktsPerSec.setStatus('current') snSwIfStatsInUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 52), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsInUtilization.setStatus('current') snSwIfStatsOutUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 53), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsOutUtilization.setStatus('current') snSwIfStatsInKiloBitsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 54), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsInKiloBitsPerSec.setStatus('current') snSwIfStatsOutKiloBitsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 55), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsOutKiloBitsPerSec.setStatus('current') snSwIfStatsInJumboFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 56), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsInJumboFrames.setStatus('current') snSwIfStatsOutJumboFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 57), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsOutJumboFrames.setStatus('current') snSwIfInfoMirrorMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 58), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoMirrorMode.setStatus('current') snSwIfMacLearningDisable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 59), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfMacLearningDisable.setStatus('current') snSwIfInfoL2FowardEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 60), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("globalConfig", 3))).clone('globalConfig')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoL2FowardEnable.setStatus('current') snSwIfInfoAllowAllVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 61), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoAllowAllVlan.setStatus('current') snSwIfInfoNativeMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 62), PhysAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfInfoNativeMacAddress.setStatus('current') snInterfaceId = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2)) snEthernetInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 1)) snPosInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 2)) snAtmInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 3)) snVirtualInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 4)) snLoopbackInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 5)) snGreTunnelInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 6)) snSubInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 7)) snMplsTunnelInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 8)) snPvcInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 9)) snMgmtEthernetInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 10)) snTrunkInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 11)) snVirtualMgmtInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 12)) sn6to4TunnelInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 13)) snInterfaceLookupTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 3), ) if mibBuilder.loadTexts: snInterfaceLookupTable.setStatus('current') snInterfaceLookupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 3, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snInterfaceLookupInterfaceId")) if mibBuilder.loadTexts: snInterfaceLookupEntry.setStatus('current') snInterfaceLookupInterfaceId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 3, 1, 1), InterfaceId()).setMaxAccess("readonly") if mibBuilder.loadTexts: snInterfaceLookupInterfaceId.setStatus('current') snInterfaceLookupIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 3, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snInterfaceLookupIfIndex.setStatus('current') snIfIndexLookupTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 4), ) if mibBuilder.loadTexts: snIfIndexLookupTable.setStatus('current') snIfIndexLookupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 4, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snIfIndexLookupIfIndex")) if mibBuilder.loadTexts: snIfIndexLookupEntry.setStatus('current') snIfIndexLookupIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfIndexLookupIfIndex.setStatus('current') snIfIndexLookupInterfaceId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 4, 1, 2), InterfaceId()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfIndexLookupInterfaceId.setStatus('current') snInterfaceLookup2Table = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 7), ) if mibBuilder.loadTexts: snInterfaceLookup2Table.setStatus('current') snInterfaceLookup2Entry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 7, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snInterfaceLookup2InterfaceId")) if mibBuilder.loadTexts: snInterfaceLookup2Entry.setStatus('current') snInterfaceLookup2InterfaceId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 7, 1, 1), InterfaceId2()) if mibBuilder.loadTexts: snInterfaceLookup2InterfaceId.setStatus('current') snInterfaceLookup2IfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 7, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snInterfaceLookup2IfIndex.setStatus('current') snIfIndexLookup2Table = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 8), ) if mibBuilder.loadTexts: snIfIndexLookup2Table.setStatus('current') snIfIndexLookup2Entry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 8, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snIfIndexLookup2IfIndex")) if mibBuilder.loadTexts: snIfIndexLookup2Entry.setStatus('current') snIfIndexLookup2IfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 8, 1, 1), Integer32()) if mibBuilder.loadTexts: snIfIndexLookup2IfIndex.setStatus('current') snIfIndexLookup2InterfaceId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 8, 1, 2), InterfaceId2()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfIndexLookup2InterfaceId.setStatus('current') snIfOpticalMonitoringInfoTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6), ) if mibBuilder.loadTexts: snIfOpticalMonitoringInfoTable.setStatus('current') snIfOpticalMonitoringInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: snIfOpticalMonitoringInfoEntry.setStatus('current') snIfOpticalMonitoringTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfOpticalMonitoringTemperature.setStatus('current') snIfOpticalMonitoringTxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfOpticalMonitoringTxPower.setStatus('current') snIfOpticalMonitoringRxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfOpticalMonitoringRxPower.setStatus('current') snIfOpticalMonitoringTxBiasCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfOpticalMonitoringTxBiasCurrent.setStatus('current') snIfMediaInfoTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9), ) if mibBuilder.loadTexts: snIfMediaInfoTable.setStatus('current') snIfMediaInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: snIfMediaInfoEntry.setStatus('current') snIfMediaType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfMediaType.setStatus('current') snIfMediaVendorName = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfMediaVendorName.setStatus('current') snIfMediaVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfMediaVersion.setStatus('current') snIfMediaPartNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfMediaPartNumber.setStatus('current') snIfMediaSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfMediaSerialNumber.setStatus('current') snIfOpticalLaneMonitoringTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10), ) if mibBuilder.loadTexts: snIfOpticalLaneMonitoringTable.setStatus('current') snIfOpticalLaneMonitoringEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snIfOpticalLaneMonitoringLane")) if mibBuilder.loadTexts: snIfOpticalLaneMonitoringEntry.setStatus('current') snIfOpticalLaneMonitoringLane = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1, 1), Unsigned32()) if mibBuilder.loadTexts: snIfOpticalLaneMonitoringLane.setStatus('current') snIfOpticalLaneMonitoringTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfOpticalLaneMonitoringTemperature.setStatus('current') snIfOpticalLaneMonitoringTxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfOpticalLaneMonitoringTxPower.setStatus('current') snIfOpticalLaneMonitoringRxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfOpticalLaneMonitoringRxPower.setStatus('current') snIfOpticalLaneMonitoringTxBiasCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfOpticalLaneMonitoringTxBiasCurrent.setStatus('current') brcdIfEgressCounterInfoTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11), ) if mibBuilder.loadTexts: brcdIfEgressCounterInfoTable.setStatus('current') brcdIfEgressCounterInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "brcdIfEgressCounterIfIndex"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "brcdIfEgressCounterQueueId")) if mibBuilder.loadTexts: brcdIfEgressCounterInfoEntry.setStatus('current') brcdIfEgressCounterIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: brcdIfEgressCounterIfIndex.setStatus('current') brcdIfEgressCounterQueueId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1, 2), Integer32()) if mibBuilder.loadTexts: brcdIfEgressCounterQueueId.setStatus('current') brcdIfEgressCounterType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("unicast", 2), ("multicast", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdIfEgressCounterType.setStatus('current') brcdIfEgressCounterPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdIfEgressCounterPkts.setStatus('current') brcdIfEgressCounterDropPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdIfEgressCounterDropPkts.setStatus('current') snFdbTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1), ) if mibBuilder.loadTexts: snFdbTable.setStatus('current') snFdbEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snFdbStationIndex")) if mibBuilder.loadTexts: snFdbEntry.setStatus('current') snFdbStationIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdbStationIndex.setStatus('current') snFdbStationAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 2), PhysAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdbStationAddr.setStatus('current') snFdbStationPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdbStationPort.setStatus('current') snFdbVLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdbVLanId.setStatus('current') snFdbStationQos = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("level0", 0), ("level1", 1), ("level2", 2), ("level3", 3), ("level4", 4), ("level5", 5), ("level6", 6), ("level7", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdbStationQos.setStatus('current') snFdbStationType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("notSupported", 0), ("host", 1), ("router", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdbStationType.setStatus('current') snFdbRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdbRowStatus.setStatus('current') snFdbStationIf = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 8), InterfaceIndex()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdbStationIf.setStatus('current') snPortStpTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1), ) if mibBuilder.loadTexts: snPortStpTable.setStatus('deprecated') snPortStpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortStpVLanId"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortStpPortNum")) if mibBuilder.loadTexts: snPortStpEntry.setStatus('deprecated') snPortStpVLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortStpVLanId.setStatus('deprecated') snPortStpPortNum = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortStpPortNum.setStatus('deprecated') snPortStpPortPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortStpPortPriority.setStatus('deprecated') snPortStpPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortStpPathCost.setStatus('deprecated') snPortStpOperState = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("notActivated", 0), ("activated", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortStpOperState.setStatus('deprecated') snPortStpPortEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))) if mibBuilder.loadTexts: snPortStpPortEnable.setStatus('deprecated') snPortStpPortForwardTransitions = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 7), Counter32()) if mibBuilder.loadTexts: snPortStpPortForwardTransitions.setStatus('deprecated') snPortStpPortState = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("disabled", 1), ("blocking", 2), ("listening", 3), ("learning", 4), ("forwarding", 5), ("broken", 6), ("preforwarding", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortStpPortState.setStatus('deprecated') snPortStpPortDesignatedCost = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortStpPortDesignatedCost.setStatus('deprecated') snPortStpPortDesignatedRoot = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 10), BridgeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortStpPortDesignatedRoot.setStatus('deprecated') snPortStpPortDesignatedBridge = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 11), BridgeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortStpPortDesignatedBridge.setStatus('deprecated') snPortStpPortDesignatedPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortStpPortDesignatedPort.setStatus('deprecated') snPortStpPortAdminRstp = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortStpPortAdminRstp.setStatus('deprecated') snPortStpPortProtocolMigration = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortStpPortProtocolMigration.setStatus('deprecated') snPortStpPortAdminEdgePort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortStpPortAdminEdgePort.setStatus('deprecated') snPortStpPortAdminPointToPoint = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortStpPortAdminPointToPoint.setStatus('deprecated') snIfStpTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2), ) if mibBuilder.loadTexts: snIfStpTable.setStatus('current') snIfStpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snIfStpVLanId"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snIfStpPortNum")) if mibBuilder.loadTexts: snIfStpEntry.setStatus('current') snIfStpVLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpVLanId.setStatus('current') snIfStpPortNum = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 2), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpPortNum.setStatus('current') snIfStpPortPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snIfStpPortPriority.setStatus('current') snIfStpCfgPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 200000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snIfStpCfgPathCost.setStatus('current') snIfStpOperState = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("notActivated", 0), ("activated", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpOperState.setStatus('current') snIfStpPortState = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("disabled", 1), ("blocking", 2), ("listening", 3), ("learning", 4), ("forwarding", 5), ("broken", 6), ("preforwarding", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpPortState.setStatus('current') snIfStpPortDesignatedCost = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpPortDesignatedCost.setStatus('current') snIfStpPortDesignatedRoot = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 10), BridgeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpPortDesignatedRoot.setStatus('current') snIfStpPortDesignatedBridge = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 11), BridgeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpPortDesignatedBridge.setStatus('current') snIfStpPortDesignatedPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpPortDesignatedPort.setStatus('current') snIfStpPortAdminRstp = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 13), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snIfStpPortAdminRstp.setStatus('current') snIfStpPortProtocolMigration = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 14), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snIfStpPortProtocolMigration.setStatus('current') snIfStpPortAdminEdgePort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 15), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snIfStpPortAdminEdgePort.setStatus('current') snIfStpPortAdminPointToPoint = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 16), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snIfStpPortAdminPointToPoint.setStatus('current') snIfStpOperPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 200000000))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpOperPathCost.setStatus('current') snIfStpPortRole = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("unknown", 0), ("alternate", 1), ("root", 2), ("designated", 3), ("backupRole", 4), ("disabledRole", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpPortRole.setStatus('current') snIfStpBPDUTransmitted = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpBPDUTransmitted.setStatus('current') snIfStpBPDUReceived = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpBPDUReceived.setStatus('current') snIfRstpConfigBPDUReceived = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfRstpConfigBPDUReceived.setStatus('current') snIfRstpTCNBPDUReceived = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfRstpTCNBPDUReceived.setStatus('current') snIfRstpConfigBPDUTransmitted = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfRstpConfigBPDUTransmitted.setStatus('current') snIfRstpTCNBPDUTransmitted = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfRstpTCNBPDUTransmitted.setStatus('current') snTrunkTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 1), ) if mibBuilder.loadTexts: snTrunkTable.setStatus('current') snTrunkEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snTrunkIndex")) if mibBuilder.loadTexts: snTrunkEntry.setStatus('current') snTrunkIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snTrunkIndex.setStatus('current') snTrunkPortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 1, 1, 2), PortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snTrunkPortMask.setStatus('current') snTrunkType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("switch", 1), ("server", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snTrunkType.setStatus('current') snMSTrunkTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2), ) if mibBuilder.loadTexts: snMSTrunkTable.setStatus('current') snMSTrunkEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snMSTrunkPortIndex")) if mibBuilder.loadTexts: snMSTrunkEntry.setStatus('current') snMSTrunkPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snMSTrunkPortIndex.setStatus('current') snMSTrunkPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2, 1, 2), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMSTrunkPortList.setStatus('current') snMSTrunkType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("switch", 1), ("server", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMSTrunkType.setStatus('current') snMSTrunkRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("invalid", 1), ("valid", 2), ("delete", 3), ("create", 4), ("modify", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMSTrunkRowStatus.setStatus('current') snMSTrunkIfTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3), ) if mibBuilder.loadTexts: snMSTrunkIfTable.setStatus('current') snMSTrunkIfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snMSTrunkIfIndex")) if mibBuilder.loadTexts: snMSTrunkIfEntry.setStatus('current') snMSTrunkIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snMSTrunkIfIndex.setStatus('current') snMSTrunkIfList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3, 1, 2), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMSTrunkIfList.setStatus('current') snMSTrunkIfType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("switch", 1), ("server", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMSTrunkIfType.setStatus('current') snMSTrunkIfRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("invalid", 1), ("valid", 2), ("delete", 3), ("create", 4), ("modify", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMSTrunkIfRowStatus.setStatus('current') snSwSummaryMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 7, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwSummaryMode.setStatus('current') snDhcpGatewayListTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8, 1), ) if mibBuilder.loadTexts: snDhcpGatewayListTable.setStatus('current') snDhcpGatewayListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snDhcpGatewayListId")) if mibBuilder.loadTexts: snDhcpGatewayListEntry.setStatus('current') snDhcpGatewayListId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: snDhcpGatewayListId.setStatus('current') snDhcpGatewayListAddrList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snDhcpGatewayListAddrList.setStatus('current') snDhcpGatewayListRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snDhcpGatewayListRowStatus.setStatus('current') snDnsDomainName = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 9, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snDnsDomainName.setStatus('current') snDnsGatewayIpAddrList = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 9, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snDnsGatewayIpAddrList.setStatus('current') snMacFilterTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1), ) if mibBuilder.loadTexts: snMacFilterTable.setStatus('current') snMacFilterEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snMacFilterIndex")) if mibBuilder.loadTexts: snMacFilterEntry.setStatus('current') snMacFilterIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snMacFilterIndex.setStatus('current') snMacFilterAction = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("deny", 0), ("permit", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterAction.setStatus('current') snMacFilterSourceMac = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 3), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterSourceMac.setStatus('current') snMacFilterSourceMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 4), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterSourceMask.setStatus('current') snMacFilterDestMac = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 5), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterDestMac.setStatus('current') snMacFilterDestMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 6), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterDestMask.setStatus('current') snMacFilterOperator = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("equal", 0), ("notEqual", 1), ("less", 2), ("greater", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterOperator.setStatus('current') snMacFilterFrameType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("notUsed", 0), ("ethernet", 1), ("llc", 2), ("snap", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterFrameType.setStatus('current') snMacFilterFrameTypeNum = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterFrameTypeNum.setStatus('current') snMacFilterRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("invalid", 1), ("valid", 2), ("delete", 3), ("create", 4), ("modify", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterRowStatus.setStatus('current') snMacFilterPortAccessTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 2), ) if mibBuilder.loadTexts: snMacFilterPortAccessTable.setStatus('deprecated') snMacFilterPortAccessEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snMacFilterPortAccessPortIndex")) if mibBuilder.loadTexts: snMacFilterPortAccessEntry.setStatus('deprecated') snMacFilterPortAccessPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3900))).setMaxAccess("readonly") if mibBuilder.loadTexts: snMacFilterPortAccessPortIndex.setStatus('deprecated') snMacFilterPortAccessFilters = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 2, 1, 2), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterPortAccessFilters.setStatus('deprecated') snMacFilterPortAccessRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("invalid", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterPortAccessRowStatus.setStatus('deprecated') snMacFilterIfAccessTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 3), ) if mibBuilder.loadTexts: snMacFilterIfAccessTable.setStatus('current') snMacFilterIfAccessEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 3, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snMacFilterIfAccessPortIndex")) if mibBuilder.loadTexts: snMacFilterIfAccessEntry.setStatus('current') snMacFilterIfAccessPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 3, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: snMacFilterIfAccessPortIndex.setStatus('current') snMacFilterIfAccessFilters = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 3, 1, 2), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterIfAccessFilters.setStatus('current') snMacFilterIfAccessRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("invalid", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterIfAccessRowStatus.setStatus('current') snNTPGeneral = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1)) snNTPPollInterval = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(1800)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNTPPollInterval.setStatus('current') snNTPTimeZone = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45))).clone(namedValues=NamedValues(("alaska", 0), ("aleutian", 1), ("arizona", 2), ("central", 3), ("eastIndiana", 4), ("eastern", 5), ("hawaii", 6), ("michigan", 7), ("mountain", 8), ("pacific", 9), ("samoa", 10), ("gmtPlus1200", 11), ("gmtPlus1100", 12), ("gmtPlus1000", 13), ("gmtPlus0900", 14), ("gmtPlus0800", 15), ("gmtPlus0700", 16), ("gmtPlus0600", 17), ("gmtPlus0500", 18), ("gmtPlus0400", 19), ("gmtPlus0300", 20), ("gmtPlus0200", 21), ("gmtPlus0100", 22), ("gmt", 23), ("gmtMinus0100", 24), ("gmtMinus0200", 25), ("gmtMinus0300", 26), ("gmtMinus0400", 27), ("gmtMinus0500", 28), ("gmtMinus0600", 29), ("gmtMinus0700", 30), ("gmtMinus0800", 31), ("gmtMinus0900", 32), ("gmtMinus1000", 33), ("gmtMinus1100", 34), ("gmtMinus1200", 35), ("gmtPlus1130", 36), ("gmtPlus1030", 37), ("gmtPlus0930", 38), ("gmtPlus0630", 39), ("gmtPlus0530", 40), ("gmtPlus0430", 41), ("gmtPlus0330", 42), ("gmtMinus0330", 43), ("gmtMinus0830", 44), ("gmtMinus0930", 45))).clone('gmt')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNTPTimeZone.setStatus('current') snNTPSummerTimeEnable = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNTPSummerTimeEnable.setStatus('current') snNTPSystemClock = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(7, 7)).setFixedLength(7)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNTPSystemClock.setStatus('current') snNTPSync = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("other", 1), ("synchronize", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNTPSync.setStatus('current') snNTPServerTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 2), ) if mibBuilder.loadTexts: snNTPServerTable.setStatus('current') snNTPServerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snNTPServerIp")) if mibBuilder.loadTexts: snNTPServerEntry.setStatus('current') snNTPServerIp = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 2, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snNTPServerIp.setStatus('current') snNTPServerVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNTPServerVersion.setStatus('current') snNTPServerRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNTPServerRowStatus.setStatus('current') snRadiusGeneral = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1)) snRadiusSNMPAccess = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readonly") if mibBuilder.loadTexts: snRadiusSNMPAccess.setStatus('current') snRadiusEnableTelnetAuth = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusEnableTelnetAuth.setStatus('current') snRadiusRetransmit = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 5)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusRetransmit.setStatus('current') snRadiusTimeOut = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 60)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusTimeOut.setStatus('current') snRadiusDeadTime = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 5)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusDeadTime.setStatus('current') snRadiusKey = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusKey.setStatus('current') snRadiusLoginMethod = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusLoginMethod.setStatus('current') snRadiusEnableMethod = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusEnableMethod.setStatus('current') snRadiusWebServerMethod = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusWebServerMethod.setStatus('current') snRadiusSNMPServerMethod = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusSNMPServerMethod.setStatus('current') snRadiusServerTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2), ) if mibBuilder.loadTexts: snRadiusServerTable.setStatus('current') snRadiusServerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snRadiusServerIp")) if mibBuilder.loadTexts: snRadiusServerEntry.setStatus('current') snRadiusServerIp = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snRadiusServerIp.setStatus('current') snRadiusServerAuthPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 2), Integer32().clone(1812)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusServerAuthPort.setStatus('current') snRadiusServerAcctPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 3), Integer32().clone(1813)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusServerAcctPort.setStatus('current') snRadiusServerRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusServerRowStatus.setStatus('current') snRadiusServerRowKey = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusServerRowKey.setStatus('current') snRadiusServerUsage = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("default", 1), ("authenticationOnly", 2), ("authorizationOnly", 3), ("accountingOnly", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusServerUsage.setStatus('current') snTacacsGeneral = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1)) snTacacsRetransmit = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 5)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snTacacsRetransmit.setStatus('current') snTacacsTimeOut = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snTacacsTimeOut.setStatus('current') snTacacsDeadTime = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 5)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snTacacsDeadTime.setStatus('current') snTacacsKey = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1, 4), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snTacacsKey.setStatus('current') snTacacsSNMPAccess = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readonly") if mibBuilder.loadTexts: snTacacsSNMPAccess.setStatus('current') snTacacsServerTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2), ) if mibBuilder.loadTexts: snTacacsServerTable.setStatus('current') snTacacsServerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snTacacsServerIp")) if mibBuilder.loadTexts: snTacacsServerEntry.setStatus('current') snTacacsServerIp = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snTacacsServerIp.setStatus('current') snTacacsServerAuthPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1, 2), Integer32().clone(49)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snTacacsServerAuthPort.setStatus('current') snTacacsServerRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snTacacsServerRowStatus.setStatus('current') snTacacsServerRowKey = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1, 4), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snTacacsServerRowKey.setStatus('current') snTacacsServerUsage = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("default", 1), ("authenticationOnly", 2), ("authorizationOnly", 3), ("accountingOnly", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snTacacsServerUsage.setStatus('current') snQosProfileTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1), ) if mibBuilder.loadTexts: snQosProfileTable.setStatus('current') snQosProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snQosProfileIndex")) if mibBuilder.loadTexts: snQosProfileEntry.setStatus('current') snQosProfileIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: snQosProfileIndex.setStatus('current') snQosProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snQosProfileName.setStatus('current') snQosProfileRequestedBandwidth = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snQosProfileRequestedBandwidth.setStatus('current') snQosProfileCalculatedBandwidth = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: snQosProfileCalculatedBandwidth.setStatus('current') snQosBindTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 2), ) if mibBuilder.loadTexts: snQosBindTable.setStatus('current') snQosBindEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snQosBindIndex")) if mibBuilder.loadTexts: snQosBindEntry.setStatus('current') snQosBindIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: snQosBindIndex.setStatus('current') snQosBindPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snQosBindPriority.setStatus('current') snQosBindProfileIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snQosBindProfileIndex.setStatus('current') snDosAttack = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3)) snDosAttackGlobal = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 1)) snDosAttackICMPDropCount = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snDosAttackICMPDropCount.setStatus('current') snDosAttackICMPBlockCount = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snDosAttackICMPBlockCount.setStatus('current') snDosAttackSYNDropCount = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snDosAttackSYNDropCount.setStatus('current') snDosAttackSYNBlockCount = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snDosAttackSYNBlockCount.setStatus('current') snDosAttackPortTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2), ) if mibBuilder.loadTexts: snDosAttackPortTable.setStatus('current') snDosAttackPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snDosAttackPort")) if mibBuilder.loadTexts: snDosAttackPortEntry.setStatus('current') snDosAttackPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snDosAttackPort.setStatus('current') snDosAttackPortICMPDropCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snDosAttackPortICMPDropCount.setStatus('current') snDosAttackPortICMPBlockCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snDosAttackPortICMPBlockCount.setStatus('current') snDosAttackPortSYNDropCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snDosAttackPortSYNDropCount.setStatus('current') snDosAttackPortSYNBlockCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snDosAttackPortSYNBlockCount.setStatus('current') snAuthentication = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 1)) snAuthorization = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 2)) snAccounting = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 3)) snAuthorizationCommandMethods = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 2, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snAuthorizationCommandMethods.setStatus('current') snAuthorizationCommandLevel = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 2, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 5))).clone(namedValues=NamedValues(("level0", 0), ("level4", 4), ("level5", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snAuthorizationCommandLevel.setStatus('current') snAuthorizationExec = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 2, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snAuthorizationExec.setStatus('current') snAccountingCommandMethods = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 3, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snAccountingCommandMethods.setStatus('current') snAccountingCommandLevel = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 5))).clone(namedValues=NamedValues(("level0", 0), ("level4", 4), ("level5", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snAccountingCommandLevel.setStatus('current') snAccountingExec = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 3, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snAccountingExec.setStatus('current') snAccountingSystem = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 3, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snAccountingSystem.setStatus('current') snNetFlowGlb = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1)) snNetFlowGblEnable = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowGblEnable.setStatus('current') snNetFlowGblVersion = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 5))).clone(namedValues=NamedValues(("versionNotSet", 0), ("version1", 1), ("version5", 5))).clone('version5')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowGblVersion.setStatus('current') snNetFlowGblProtocolDisable = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowGblProtocolDisable.setStatus('current') snNetFlowGblActiveTimeout = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1, 4), Integer32().clone(60)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowGblActiveTimeout.setStatus('current') snNetFlowGblInactiveTimeout = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1, 5), Integer32().clone(60)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowGblInactiveTimeout.setStatus('current') snNetFlowCollectorTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2), ) if mibBuilder.loadTexts: snNetFlowCollectorTable.setStatus('current') snNetFlowCollectorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snNetFlowCollectorIndex")) if mibBuilder.loadTexts: snNetFlowCollectorEntry.setStatus('current') snNetFlowCollectorIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: snNetFlowCollectorIndex.setStatus('current') snNetFlowCollectorIp = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowCollectorIp.setStatus('current') snNetFlowCollectorUdpPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowCollectorUdpPort.setStatus('current') snNetFlowCollectorSourceInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1, 4), InterfaceIndex()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowCollectorSourceInterface.setStatus('current') snNetFlowCollectorRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowCollectorRowStatus.setStatus('current') snNetFlowAggregationTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3), ) if mibBuilder.loadTexts: snNetFlowAggregationTable.setStatus('current') snNetFlowAggregationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snNetFlowAggregationIndex")) if mibBuilder.loadTexts: snNetFlowAggregationEntry.setStatus('current') snNetFlowAggregationIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("as", 1), ("protocolPort", 2), ("destPrefix", 3), ("sourcePrefix", 4), ("prefix", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snNetFlowAggregationIndex.setStatus('current') snNetFlowAggregationIp = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowAggregationIp.setStatus('current') snNetFlowAggregationUdpPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowAggregationUdpPort.setStatus('current') snNetFlowAggregationSourceInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 4), InterfaceIndex()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowAggregationSourceInterface.setStatus('current') snNetFlowAggregationNumberOfCacheEntries = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowAggregationNumberOfCacheEntries.setStatus('current') snNetFlowAggregationActiveTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowAggregationActiveTimeout.setStatus('current') snNetFlowAggregationInactiveTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowAggregationInactiveTimeout.setStatus('current') snNetFlowAggregationEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowAggregationEnable.setStatus('current') snNetFlowAggregationRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowAggregationRowStatus.setStatus('current') snNetFlowIfTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 4), ) if mibBuilder.loadTexts: snNetFlowIfTable.setStatus('current') snNetFlowIfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 4, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snNetFlowIfIndex")) if mibBuilder.loadTexts: snNetFlowIfEntry.setStatus('current') snNetFlowIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 4, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: snNetFlowIfIndex.setStatus('current') snNetFlowIfFlowSwitching = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 4, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowIfFlowSwitching.setStatus('current') snSFlowGlb = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 1)) snSflowCollectorTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2), ) if mibBuilder.loadTexts: snSflowCollectorTable.setStatus('current') snSflowCollectorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snSflowCollectorIndex")) if mibBuilder.loadTexts: snSflowCollectorEntry.setStatus('current') snSflowCollectorIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSflowCollectorIndex.setStatus('current') snSflowCollectorIP = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSflowCollectorIP.setStatus('current') snSflowCollectorUDPPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSflowCollectorUDPPort.setStatus('current') snSflowCollectorRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("noSuch", 0), ("other", 1), ("valid", 2), ("delete", 3), ("create", 4), ("modify", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSflowCollectorRowStatus.setStatus('current') snFdpMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1)) snFdpInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1)) snFdpCache = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2)) snFdpGlobal = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 3)) snFdpCachedAddr = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4)) snFdpInterfaceTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1, 1), ) if mibBuilder.loadTexts: snFdpInterfaceTable.setStatus('current') snFdpInterfaceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snFdpInterfaceIfIndex")) if mibBuilder.loadTexts: snFdpInterfaceEntry.setStatus('current') snFdpInterfaceIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1, 1, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: snFdpInterfaceIfIndex.setStatus('current') snFdpInterfaceFdpEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1))).clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdpInterfaceFdpEnable.setStatus('current') snFdpInterfaceCdpEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1))).clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdpInterfaceCdpEnable.setStatus('current') snFdpCacheTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1), ) if mibBuilder.loadTexts: snFdpCacheTable.setStatus('current') snFdpCacheEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snFdpCacheIfIndex"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snFdpCacheDeviceIndex")) if mibBuilder.loadTexts: snFdpCacheEntry.setStatus('current') snFdpCacheIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: snFdpCacheIfIndex.setStatus('current') snFdpCacheDeviceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 2), Integer32()) if mibBuilder.loadTexts: snFdpCacheDeviceIndex.setStatus('current') snFdpCacheDeviceId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCacheDeviceId.setStatus('current') snFdpCacheAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("ip", 1), ("ipx", 2), ("appletalk", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCacheAddressType.setStatus('current') snFdpCacheAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 5), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCacheAddress.setStatus('current') snFdpCacheVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 6), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCacheVersion.setStatus('current') snFdpCacheDevicePort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 7), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCacheDevicePort.setStatus('current') snFdpCachePlatform = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 8), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCachePlatform.setStatus('current') snFdpCacheCapabilities = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 9), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCacheCapabilities.setStatus('current') snFdpCacheVendorId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("fdp", 1), ("cdp", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCacheVendorId.setStatus('current') snFdpCacheIsAggregateVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCacheIsAggregateVlan.setStatus('current') snFdpCacheTagType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 12), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCacheTagType.setStatus('current') snFdpCachePortVlanMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 13), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCachePortVlanMask.setStatus('current') snFdpCachePortTagMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("untagged", 1), ("tagged", 2), ("dual", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCachePortTagMode.setStatus('current') snFdpCacheDefaultTrafficeVlanIdForDualMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 15), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCacheDefaultTrafficeVlanIdForDualMode.setStatus('current') snFdpGlobalRun = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1))).clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdpGlobalRun.setStatus('current') snFdpGlobalMessageInterval = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 3, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 900)).clone(60)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdpGlobalMessageInterval.setStatus('current') snFdpGlobalHoldTime = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 3, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 255)).clone(180)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdpGlobalHoldTime.setStatus('current') snFdpGlobalCdpRun = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 3, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1))).clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdpGlobalCdpRun.setStatus('current') snFdpCachedAddressTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1), ) if mibBuilder.loadTexts: snFdpCachedAddressTable.setStatus('current') snFdpCachedAddressEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snFdpCachedAddrIfIndex"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snFdpCachedAddrDeviceIndex"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snFdpCachedAddrDeviceAddrEntryIndex")) if mibBuilder.loadTexts: snFdpCachedAddressEntry.setStatus('current') snFdpCachedAddrIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: snFdpCachedAddrIfIndex.setStatus('current') snFdpCachedAddrDeviceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1, 2), Integer32()) if mibBuilder.loadTexts: snFdpCachedAddrDeviceIndex.setStatus('current') snFdpCachedAddrDeviceAddrEntryIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1, 3), Integer32()) if mibBuilder.loadTexts: snFdpCachedAddrDeviceAddrEntryIndex.setStatus('current') snFdpCachedAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("ip", 1), ("ipx", 2), ("appletalk", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCachedAddrType.setStatus('current') snFdpCachedAddrValue = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1, 5), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCachedAddrValue.setStatus('current') snMacSecurity = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1)) snPortMacSecurity = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1)) snPortMacGlobalSecurity = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 2)) snPortMacSecurityTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1), ) if mibBuilder.loadTexts: snPortMacSecurityTable.setStatus('current') snPortMacSecurityEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMacSecurityIfIndex"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMacSecurityResource"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMacSecurityQueryIndex")) if mibBuilder.loadTexts: snPortMacSecurityEntry.setStatus('current') snPortMacSecurityIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityIfIndex.setStatus('current') snPortMacSecurityResource = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("local", 1), ("shared", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityResource.setStatus('current') snPortMacSecurityQueryIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityQueryIndex.setStatus('current') snPortMacSecurityMAC = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 4), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityMAC.setStatus('current') snPortMacSecurityAgeLeft = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityAgeLeft.setStatus('current') snPortMacSecurityShutdownStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityShutdownStatus.setStatus('current') snPortMacSecurityShutdownTimeLeft = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityShutdownTimeLeft.setStatus('current') snPortMacSecurityVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityVlanId.setStatus('current') snPortMacSecurityModuleStatTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2), ) if mibBuilder.loadTexts: snPortMacSecurityModuleStatTable.setStatus('current') snPortMacSecurityModuleStatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMacSecurityModuleStatSlotNum")) if mibBuilder.loadTexts: snPortMacSecurityModuleStatEntry.setStatus('current') snPortMacSecurityModuleStatSlotNum = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityModuleStatSlotNum.setStatus('current') snPortMacSecurityModuleStatTotalSecurityPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityModuleStatTotalSecurityPorts.setStatus('current') snPortMacSecurityModuleStatTotalMACs = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityModuleStatTotalMACs.setStatus('current') snPortMacSecurityModuleStatViolationCounts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityModuleStatViolationCounts.setStatus('current') snPortMacSecurityModuleStatTotalShutdownPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityModuleStatTotalShutdownPorts.setStatus('current') snPortMacSecurityIntfContentTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3), ) if mibBuilder.loadTexts: snPortMacSecurityIntfContentTable.setStatus('current') snPortMacSecurityIntfContentEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMacSecurityIntfContentIfIndex")) if mibBuilder.loadTexts: snPortMacSecurityIntfContentEntry.setStatus('current') snPortMacSecurityIntfContentIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: snPortMacSecurityIntfContentIfIndex.setStatus('current') snPortMacSecurityIntfContentSecurity = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMacSecurityIntfContentSecurity.setStatus('current') snPortMacSecurityIntfContentViolationType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("shutdown", 0), ("restrict", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMacSecurityIntfContentViolationType.setStatus('current') snPortMacSecurityIntfContentShutdownTime = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1440))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMacSecurityIntfContentShutdownTime.setStatus('current') snPortMacSecurityIntfContentShutdownTimeLeft = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityIntfContentShutdownTimeLeft.setStatus('current') snPortMacSecurityIntfContentAgeOutTime = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1440))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMacSecurityIntfContentAgeOutTime.setStatus('current') snPortMacSecurityIntfContentMaxLockedMacAllowed = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 7), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMacSecurityIntfContentMaxLockedMacAllowed.setStatus('current') snPortMacSecurityIntfContentTotalMACs = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityIntfContentTotalMACs.setStatus('current') snPortMacSecurityIntfContentViolationCounts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityIntfContentViolationCounts.setStatus('current') snPortMacSecurityIntfMacTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4), ) if mibBuilder.loadTexts: snPortMacSecurityIntfMacTable.setStatus('current') snPortMacSecurityIntfMacEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMacSecurityIntfMacIfIndex"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMacSecurityIntfMacAddress")) if mibBuilder.loadTexts: snPortMacSecurityIntfMacEntry.setStatus('current') snPortMacSecurityIntfMacIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityIntfMacIfIndex.setStatus('current') snPortMacSecurityIntfMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityIntfMacAddress.setStatus('current') snPortMacSecurityIntfMacVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMacSecurityIntfMacVlanId.setStatus('current') snPortMacSecurityIntfMacRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMacSecurityIntfMacRowStatus.setStatus('current') snPortMacSecurityAutosaveMacTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5), ) if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacTable.setStatus('current') snPortMacSecurityAutosaveMacEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMacSecurityAutosaveMacIfIndex"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMacSecurityAutosaveMacResource"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMacSecurityAutosaveMacQueryIndex")) if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacEntry.setStatus('current') snPortMacSecurityAutosaveMacIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacIfIndex.setStatus('current') snPortMacSecurityAutosaveMacResource = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("local", 1), ("shared", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacResource.setStatus('current') snPortMacSecurityAutosaveMacQueryIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacQueryIndex.setStatus('current') snPortMacSecurityAutosaveMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5, 1, 4), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacAddress.setStatus('current') snPortMacGlobalSecurityFeature = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMacGlobalSecurityFeature.setStatus('current') snPortMacGlobalSecurityAgeOutTime = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 2, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1440))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMacGlobalSecurityAgeOutTime.setStatus('current') snPortMacGlobalSecurityAutosave = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 2, 3), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMacGlobalSecurityAutosave.setStatus('current') snPortMonitorTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 25, 1), ) if mibBuilder.loadTexts: snPortMonitorTable.setStatus('current') snPortMonitorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 25, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMonitorIfIndex")) if mibBuilder.loadTexts: snPortMonitorEntry.setStatus('current') snPortMonitorIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 25, 1, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: snPortMonitorIfIndex.setStatus('current') snPortMonitorMirrorList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 25, 1, 1, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMonitorMirrorList.setStatus('current') mibBuilder.exportSymbols("FOUNDRY-SN-SWITCH-GROUP-MIB", snPortMacSecurityEntry=snPortMacSecurityEntry, snMSTrunkIfList=snMSTrunkIfList, snSwIfInfoMediaType=snSwIfInfoMediaType, snSwGlobalStpMode=snSwGlobalStpMode, Timeout=Timeout, snPortMonitorTable=snPortMonitorTable, snSwSummaryMode=snSwSummaryMode, snSwIfInOctets=snSwIfInOctets, snVLanByPortCfgStpRootPort=snVLanByPortCfgStpRootPort, snRadiusGeneral=snRadiusGeneral, snMacFilterPortAccessEntry=snMacFilterPortAccessEntry, snRadius=snRadius, snPortStpEntry=snPortStpEntry, snVLanByPortStpProtocolSpecification=snVLanByPortStpProtocolSpecification, snVLanByPortPortMask=snVLanByPortPortMask, snVLanByPortMemberEntry=snVLanByPortMemberEntry, snVLanByPortCfgTransparentHwFlooding=snVLanByPortCfgTransparentHwFlooding, snVLanByIpSubnetEntry=snVLanByIpSubnetEntry, snDhcpGatewayListId=snDhcpGatewayListId, snVLanByPortStpGroupMaxAge=snVLanByPortStpGroupMaxAge, brcdVlanExtStatsInOctets=brcdVlanExtStatsInOctets, snVLanByProtocolExcludePortList=snVLanByProtocolExcludePortList, snRadiusServerIp=snRadiusServerIp, snMacFilterIndex=snMacFilterIndex, FdryVlanIdOrNoneTC=FdryVlanIdOrNoneTC, snVLanByIpxNetRouterIntf=snVLanByIpxNetRouterIntf, snVLanByIpxNetExcludeMask=snVLanByIpxNetExcludeMask, snTacacsDeadTime=snTacacsDeadTime, snMSTrunkTable=snMSTrunkTable, brcdVlanExtStatsInSwitchedOctets=brcdVlanExtStatsInSwitchedOctets, snRadiusServerRowKey=snRadiusServerRowKey, snVLanByIpxNetVLanName=snVLanByIpxNetVLanName, snPortMacSecurityIntfContentTotalMACs=snPortMacSecurityIntfContentTotalMACs, snSwPortInfoPortQos=snSwPortInfoPortQos, snRadiusServerUsage=snRadiusServerUsage, snVLanByIpSubnetIpAddress=snVLanByIpSubnetIpAddress, snSwPortStatsInBcastFrames=snSwPortStatsInBcastFrames, snTacacsGeneral=snTacacsGeneral, snMSTrunkIfEntry=snMSTrunkIfEntry, snPortStpPortDesignatedRoot=snPortStpPortDesignatedRoot, snSwIfGBICStatus=snSwIfGBICStatus, snSflowCollectorIndex=snSflowCollectorIndex, snFdbStationIndex=snFdbStationIndex, brcdIfEgressCounterInfoEntry=brcdIfEgressCounterInfoEntry, snIfRstpTCNBPDUTransmitted=snIfRstpTCNBPDUTransmitted, snNetFlowGblActiveTimeout=snNetFlowGblActiveTimeout, snSflowCollectorUDPPort=snSflowCollectorUDPPort, snSwPortStatsMultiColliFrames=snSwPortStatsMultiColliFrames, snVLanByPortCfgStpGroupHelloTime=snVLanByPortCfgStpGroupHelloTime, snVLanByPortStpHoldTime=snVLanByPortStpHoldTime, fdryDaiMIB=fdryDaiMIB, snSwIfStatsTxColliFrames=snSwIfStatsTxColliFrames, snAuthentication=snAuthentication, snNetFlowIfTable=snNetFlowIfTable, snNetFlowAggregationEnable=snNetFlowAggregationEnable, sn6to4TunnelInterface=sn6to4TunnelInterface, snPortMacSecurityAgeLeft=snPortMacSecurityAgeLeft, brcdVlanExtStatsInPkts=brcdVlanExtStatsInPkts, snSwPortInfoPhysAddress=snSwPortInfoPhysAddress, snQosProfileEntry=snQosProfileEntry, snMacFilterIfAccessEntry=snMacFilterIfAccessEntry, snSwPortVlanId=snSwPortVlanId, snSwPortStatsOutUtilization=snSwPortStatsOutUtilization, PhysAddress=PhysAddress, snRadiusServerAuthPort=snRadiusServerAuthPort, snVLanCAR=snVLanCAR, snSwPortStatsOutJumboFrames=snSwPortStatsOutJumboFrames, snSwIfStatsOutFrames=snSwIfStatsOutFrames, snSwIfInfoAllowAllVlan=snSwIfInfoAllowAllVlan, snSwPortStatsFCSErrors=snSwPortStatsFCSErrors, snDhcpGatewayListRowStatus=snDhcpGatewayListRowStatus, snSwPortStatsFrameTooShorts=snSwPortStatsFrameTooShorts, snSwIfInfoPortQos=snSwIfInfoPortQos, snNTPSummerTimeEnable=snNTPSummerTimeEnable, snNTPSync=snNTPSync, snSSH=snSSH, snSwPortStatsOutBitsPerSec=snSwPortStatsOutBitsPerSec, snVLanByPortStpMaxAge=snVLanByPortStpMaxAge, snSwPortName=snSwPortName, snVLanByIpxNetChassisDynamicMask=snVLanByIpxNetChassisDynamicMask, snVirtualMgmtInterface=snVirtualMgmtInterface, snSwIfStatsOutKiloBitsPerSec=snSwIfStatsOutKiloBitsPerSec, snSwViolatorIfIndex=snSwViolatorIfIndex, snVLanByPortCfgStpGroupMaxAge=snVLanByPortCfgStpGroupMaxAge, snSwIfStatsOutUtilization=snSwIfStatsOutUtilization, snVLanByProtocolRouterIntf=snVLanByProtocolRouterIntf, snSwIfStatsInPktsPerSec=snSwIfStatsInPktsPerSec, snVLanByPortCfgRouterIntf=snVLanByPortCfgRouterIntf, snTrunkInfo=snTrunkInfo, snPortStpPortAdminRstp=snPortStpPortAdminRstp, brcdIfEgressCounterPkts=brcdIfEgressCounterPkts, snMacFilterPortAccessFilters=snMacFilterPortAccessFilters, snVLanByATCableIndex=snVLanByATCableIndex, snQosBindEntry=snQosBindEntry, snVLanByPortCfgStpTopChanges=snVLanByPortCfgStpTopChanges, snNetFlowGlb=snNetFlowGlb, snMacAuth=snMacAuth, snPortMacSecurityShutdownStatus=snPortMacSecurityShutdownStatus, snNetFlowIfIndex=snNetFlowIfIndex, snSwIfStatsOutPktsPerSec=snSwIfStatsOutPktsPerSec, snVLanByIpSubnetRouterIntf=snVLanByIpSubnetRouterIntf, snSwPortInfoAdminStatus=snSwPortInfoAdminStatus, snMacFilterEntry=snMacFilterEntry, snSwIfInfoTable=snSwIfInfoTable, snSwEnableBridgeNewRootTrap=snSwEnableBridgeNewRootTrap, snNetFlowCollectorIndex=snNetFlowCollectorIndex, snVLanByPortStpForwardDelay=snVLanByPortStpForwardDelay, snFdbVLanId=snFdbVLanId, snVLanGroupVlanCurEntry=snVLanGroupVlanCurEntry, snPortMacSecurityShutdownTimeLeft=snPortMacSecurityShutdownTimeLeft, snQosBindIndex=snQosBindIndex, snIfMediaSerialNumber=snIfMediaSerialNumber, snVLanByIpxNetVLanId=snVLanByIpxNetVLanId, snFDP=snFDP, snVLanByPortMemberPortId=snVLanByPortMemberPortId, snIfStpBPDUTransmitted=snIfStpBPDUTransmitted, snPortMacSecurityModuleStatSlotNum=snPortMacSecurityModuleStatSlotNum, snSwPortStatsInPktsPerSec=snSwPortStatsInPktsPerSec, snMetroRing=snMetroRing, brcdVlanExtStatsOutRoutedPkts=brcdVlanExtStatsOutRoutedPkts, snAuthorizationExec=snAuthorizationExec, snNetFlowAggregationEntry=snNetFlowAggregationEntry, snFdpInterfaceFdpEnable=snFdpInterfaceFdpEnable, snTacacsServerIp=snTacacsServerIp, snSwPortInfoPortNum=snSwPortInfoPortNum, snTacacsServerRowStatus=snTacacsServerRowStatus, snPortMacSecurityModuleStatTable=snPortMacSecurityModuleStatTable, snTrunkEntry=snTrunkEntry, snFdpInterfaceTable=snFdpInterfaceTable, snSwIfStatsInMcastFrames=snSwIfStatsInMcastFrames, snIfRstpConfigBPDUReceived=snIfRstpConfigBPDUReceived, snMSTrunkIfIndex=snMSTrunkIfIndex, snSwIfInfoMirrorMode=snSwIfInfoMirrorMode, snFdpInterfaceEntry=snFdpInterfaceEntry, snPortStpPortDesignatedCost=snPortStpPortDesignatedCost, snIfOpticalLaneMonitoringTxBiasCurrent=snIfOpticalLaneMonitoringTxBiasCurrent, snFdbInfo=snFdbInfo, snVLanByATCableVLanId=snVLanByATCableVLanId, snIfStpPortAdminPointToPoint=snIfStpPortAdminPointToPoint, snSwPortStatsInDiscard=snSwPortStatsInDiscard, snPortMacSecurity=snPortMacSecurity, snNetFlowAggregationRowStatus=snNetFlowAggregationRowStatus, snPortMacSecurityAutosaveMacResource=snPortMacSecurityAutosaveMacResource, snVLanByPortVLanIndex=snVLanByPortVLanIndex, snDosAttackPortSYNBlockCount=snDosAttackPortSYNBlockCount, snFdpCachedAddrIfIndex=snFdpCachedAddrIfIndex, snFdbEntry=snFdbEntry, brcdVlanExtStatsInSwitchedPkts=brcdVlanExtStatsInSwitchedPkts, snRadiusServerEntry=snRadiusServerEntry, snFdpCacheDeviceIndex=snFdpCacheDeviceIndex, snSwIpMcastQuerierMode=snSwIpMcastQuerierMode, snMacFilterOperator=snMacFilterOperator, snPortMacGlobalSecurityAgeOutTime=snPortMacGlobalSecurityAgeOutTime, snSwIfStatsInKiloBitsPerSec=snSwIfStatsInKiloBitsPerSec, snPortMacSecurityModuleStatEntry=snPortMacSecurityModuleStatEntry, snSwIfStatsOutBitsPerSec=snSwIfStatsOutBitsPerSec, snVLanByPortMemberVLanId=snVLanByPortMemberVLanId, snPortMacSecurityIntfMacVlanId=snPortMacSecurityIntfMacVlanId, snSwPortGBICStatus=snSwPortGBICStatus, snTrunkTable=snTrunkTable, snFdpInterfaceIfIndex=snFdpInterfaceIfIndex, snFdpCacheAddressType=snFdpCacheAddressType, snMacFilterPortAccessTable=snMacFilterPortAccessTable, snPortMacSecurityIntfContentSecurity=snPortMacSecurityIntfContentSecurity, snSwPortInfoTable=snSwPortInfoTable, snSwMaxMacFilterPerPort=snSwMaxMacFilterPerPort, snVLanByPortOperState=snVLanByPortOperState, snIfIndexLookup2Table=snIfIndexLookup2Table, snPortStpPortDesignatedBridge=snPortStpPortDesignatedBridge, snNetFlowAggregationNumberOfCacheEntries=snNetFlowAggregationNumberOfCacheEntries, snMacSecurity=snMacSecurity, snRadiusServerTable=snRadiusServerTable, snPortMacSecurityIntfContentEntry=snPortMacSecurityIntfContentEntry, snVLanByPortVLanName=snVLanByPortVLanName, snVLanByProtocolVLanId=snVLanByProtocolVLanId, snSwQosMechanism=snSwQosMechanism, snNetFlowAggregationTable=snNetFlowAggregationTable, snSwPortStatsInFrames=snSwPortStatsInFrames, snFdbStationType=snFdbStationType, snMgmtEthernetInterface=snMgmtEthernetInterface, snSwGroupIpMcastMode=snSwGroupIpMcastMode, snTacacsRetransmit=snTacacsRetransmit, snVLanByProtocolRowStatus=snVLanByProtocolRowStatus, snSwIfStatsOutBcastFrames=snSwIfStatsOutBcastFrames, snPortStpPortNum=snPortStpPortNum, snVLanByProtocolDynamicPortList=snVLanByProtocolDynamicPortList, snSwPortOutOctets=snSwPortOutOctets, snMacFilterTable=snMacFilterTable, snSwPortInLinePowerPriority=snSwPortInLinePowerPriority, snIfIndexLookup2Entry=snIfIndexLookup2Entry, snNTPGeneral=snNTPGeneral, snPortMacSecurityAutosaveMacIfIndex=snPortMacSecurityAutosaveMacIfIndex, snSwIfInfoLinkStatus=snSwIfInfoLinkStatus, snSwIfPresent=snSwIfPresent, snVLanByIpxNetMaxNetworks=snVLanByIpxNetMaxNetworks, snIfStpBPDUReceived=snIfStpBPDUReceived, snFdpGlobalCdpRun=snFdpGlobalCdpRun, snDosAttackPortEntry=snDosAttackPortEntry, snFdbTableStationFlush=snFdbTableStationFlush, snVLanByIpxNetDynamicPortList=snVLanByIpxNetDynamicPortList, snArpInfo=snArpInfo, brcdVlanExtStatsOutSwitchedOctets=brcdVlanExtStatsOutSwitchedOctets, snFdpCachePortVlanMask=snFdpCachePortVlanMask, snFdbStationAddr=snFdbStationAddr, snFdpCachedAddressEntry=snFdpCachedAddressEntry, snMacFilterIfAccessPortIndex=snMacFilterIfAccessPortIndex, snPortMacSecurityResource=snPortMacSecurityResource, snSwPortInfoMediaType=snSwPortInfoMediaType, snNetFlowAggregationSourceInterface=snNetFlowAggregationSourceInterface, snMacFilterSourceMask=snMacFilterSourceMask, snSwIfInfoChnMode=snSwIfInfoChnMode, snVLanByIpSubnetSubnetMask=snVLanByIpSubnetSubnetMask, snRadiusLoginMethod=snRadiusLoginMethod, snVLanByATCableTable=snVLanByATCableTable, snAuthorizationCommandLevel=snAuthorizationCommandLevel, BrcdVlanIdTC=BrcdVlanIdTC, snVLanByProtocolTable=snVLanByProtocolTable, snPortMacSecurityIntfContentTable=snPortMacSecurityIntfContentTable, snVLanByATCableStaticPortList=snVLanByATCableStaticPortList, snMacFilterAction=snMacFilterAction, snVLanByPortMemberTable=snVLanByPortMemberTable, snFdpGlobalRun=snFdpGlobalRun, snMSTrunkType=snMSTrunkType, snInterfaceLookupTable=snInterfaceLookupTable, snFdpGlobalHoldTime=snFdpGlobalHoldTime, snVLanByProtocolStaticMask=snVLanByProtocolStaticMask, snIfOpticalMonitoringTemperature=snIfOpticalMonitoringTemperature, snTacacsServerRowKey=snTacacsServerRowKey, snSwPortInLinePowerPDType=snSwPortInLinePowerPDType, snPortMacSecurityAutosaveMacTable=snPortMacSecurityAutosaveMacTable, snMSTrunkEntry=snMSTrunkEntry, snSwIpxL3SwMode=snSwIpxL3SwMode, snVLanByIpSubnetStaticMask=snVLanByIpSubnetStaticMask, snIfMediaInfoTable=snIfMediaInfoTable, snFdbStationQos=snFdbStationQos, snQosProfileCalculatedBandwidth=snQosProfileCalculatedBandwidth, snSflowCollectorTable=snSflowCollectorTable, snMacStationVLanId=snMacStationVLanId, snSflowCollectorEntry=snSflowCollectorEntry, snPortStpTable=snPortStpTable, snQosProfileRequestedBandwidth=snQosProfileRequestedBandwidth, snVLanByProtocolExcludeMask=snVLanByProtocolExcludeMask, PYSNMP_MODULE_ID=snSwitch, snSwPortStatsInJumboFrames=snSwPortStatsInJumboFrames, snRadiusWebServerMethod=snRadiusWebServerMethod, snFdpCachePlatform=snFdpCachePlatform, snMacFilterPortAccessPortIndex=snMacFilterPortAccessPortIndex, PortPriorityTC=PortPriorityTC, snVLanByPortEntrySize=snVLanByPortEntrySize, snQosBindPriority=snQosBindPriority, snFdpCacheDefaultTrafficeVlanIdForDualMode=snFdpCacheDefaultTrafficeVlanIdForDualMode, snMacFilterDestMac=snMacFilterDestMac, snVLanByPortCfgStpHoldTime=snVLanByPortCfgStpHoldTime, snVLanByPortBaseType=snVLanByPortBaseType) mibBuilder.exportSymbols("FOUNDRY-SN-SWITCH-GROUP-MIB", snInterfaceId=snInterfaceId, snNetFlow=snNetFlow, snIfStpPortDesignatedPort=snIfStpPortDesignatedPort, snNetFlowCollectorUdpPort=snNetFlowCollectorUdpPort, snSwGroupSwitchAgeTime=snSwGroupSwitchAgeTime, snSwPortInfoFlowControl=snSwPortInfoFlowControl, snPortMacSecurityQueryIndex=snPortMacSecurityQueryIndex, snVLanByPortStpGroupHelloTime=snVLanByPortStpGroupHelloTime, snVLanByPortCfgStpMode=snVLanByPortCfgStpMode, snSwIfStatsFCSErrors=snSwIfStatsFCSErrors, snSwPortStatsLinkChange=snSwPortStatsLinkChange, snFdpCacheVendorId=snFdpCacheVendorId, snInterfaceLookupEntry=snInterfaceLookupEntry, snSw8021qTagMode=snSw8021qTagMode, snSwIfInfoGigType=snSwIfInfoGigType, snPortMacSecurityModuleStatTotalShutdownPorts=snPortMacSecurityModuleStatTotalShutdownPorts, snSwIfInfoTagType=snSwIfInfoTagType, snIfStpPortProtocolMigration=snIfStpPortProtocolMigration, snFdpCacheVersion=snFdpCacheVersion, snVLanByPortCfgTable=snVLanByPortCfgTable, brcdVlanExtStatsOutOctets=brcdVlanExtStatsOutOctets, snRadiusRetransmit=snRadiusRetransmit, snIfStpOperState=snIfStpOperState, snIfIndexLookup2IfIndex=snIfIndexLookup2IfIndex, snPortStpOperState=snPortStpOperState, snIfStpPortAdminEdgePort=snIfStpPortAdminEdgePort, snDnsGatewayIpAddrList=snDnsGatewayIpAddrList, snVLanByPortBaseBridgeAddress=snVLanByPortBaseBridgeAddress, snVLanByProtocolDynamicMask=snVLanByProtocolDynamicMask, snDosAttackPortICMPBlockCount=snDosAttackPortICMPBlockCount, snSwIfInfoTagMode=snSwIfInfoTagMode, snVLanByIpxNetRowStatus=snVLanByIpxNetRowStatus, snVLanByIpxNetEntry=snVLanByIpxNetEntry, snIfOpticalLaneMonitoringTable=snIfOpticalLaneMonitoringTable, snSwIfStatsFrameTooShorts=snSwIfStatsFrameTooShorts, snSwPortLoadInterval=snSwPortLoadInterval, snSwPortInfoEntry=snSwPortInfoEntry, snPortStpPortAdminPointToPoint=snPortStpPortAdminPointToPoint, snIfRstpConfigBPDUTransmitted=snIfRstpConfigBPDUTransmitted, snVLanByPortMemberRowStatus=snVLanByPortMemberRowStatus, snNetFlowGblInactiveTimeout=snNetFlowGblInactiveTimeout, snVLanByProtocolIndex=snVLanByProtocolIndex, snNetFlowGblEnable=snNetFlowGblEnable, snNetFlowAggregationUdpPort=snNetFlowAggregationUdpPort, snSwIfStatsMacStations=snSwIfStatsMacStations, snTrunkPortMask=snTrunkPortMask, snVLanByIpSubnetChassisExcludeMask=snVLanByIpSubnetChassisExcludeMask, snPortMonitorIfIndex=snPortMonitorIfIndex, snMac=snMac, snVLanByPortBaseNumPorts=snVLanByPortBaseNumPorts, snSwPortIfIndex=snSwPortIfIndex, snQosProfileTable=snQosProfileTable, brcdVlanExtStatsPriorityId=brcdVlanExtStatsPriorityId, snAccountingCommandLevel=snAccountingCommandLevel, brcdIfEgressCounterInfoTable=brcdIfEgressCounterInfoTable, snDosAttackSYNBlockCount=snDosAttackSYNBlockCount, brcdVlanExtStatsTable=brcdVlanExtStatsTable, snPortMacGlobalSecurityFeature=snPortMacGlobalSecurityFeature, InterfaceId=InterfaceId, snSwIfInfoAdminStatus=snSwIfInfoAdminStatus, snVLanByPortCfgStpMaxAge=snVLanByPortCfgStpMaxAge, snIfIndexLookupTable=snIfIndexLookupTable, snSwPortSetAll=snSwPortSetAll, snFdpCachedAddressTable=snFdpCachedAddressTable, snVLanByIpSubnetMaxSubnets=snVLanByIpSubnetMaxSubnets, snSwPortStatsInBitsPerSec=snSwPortStatsInBitsPerSec, snSwIfStatsOutDiscard=snSwIfStatsOutDiscard, brcdVlanExtStatsOutRoutedOctets=brcdVlanExtStatsOutRoutedOctets, snFdbTable=snFdbTable, snSwIfStatsMultiColliFrames=snSwIfStatsMultiColliFrames, brcdSPXMIB=brcdSPXMIB, snSwPortStatsInUtilization=snSwPortStatsInUtilization, snIfOpticalMonitoringTxPower=snIfOpticalMonitoringTxPower, snIfStpPortDesignatedRoot=snIfStpPortDesignatedRoot, snVLanByPortCfgStpGroupForwardDelay=snVLanByPortCfgStpGroupForwardDelay, snSwPortTagType=snSwPortTagType, snFdpInterfaceCdpEnable=snFdpInterfaceCdpEnable, snFdpCacheDevicePort=snFdpCacheDevicePort, snPortMacSecurityIntfContentShutdownTimeLeft=snPortMacSecurityIntfContentShutdownTimeLeft, snIfOpticalMonitoringInfoTable=snIfOpticalMonitoringInfoTable, snRadiusDeadTime=snRadiusDeadTime, snSwIfStatsOutJumboFrames=snSwIfStatsOutJumboFrames, snVLanByPortCfgInOctets=snVLanByPortCfgInOctets, snNTPServerRowStatus=snNTPServerRowStatus, snFdpCacheTagType=snFdpCacheTagType, snVLanInfo=snVLanInfo, snMSTrunkIfType=snMSTrunkIfType, snVLanByATCableChassisStaticMask=snVLanByATCableChassisStaticMask, snPvcInterface=snPvcInterface, fdryDns2MIB=fdryDns2MIB, snVLanByIpSubnetExcludeMask=snVLanByIpSubnetExcludeMask, snIfStpTable=snIfStpTable, snMplsTunnelInterface=snMplsTunnelInterface, snInterfaceLookupInterfaceId=snInterfaceLookupInterfaceId, snSwIfStatsRxColliFrames=snSwIfStatsRxColliFrames, snNetFlowCollectorRowStatus=snNetFlowCollectorRowStatus, snNetFlowIfEntry=snNetFlowIfEntry, snPortMacSecurityIntfMacAddress=snPortMacSecurityIntfMacAddress, snSwPortInLinePowerConsumed=snSwPortInLinePowerConsumed, brcdVlanExtStatsEntry=brcdVlanExtStatsEntry, snAuthorizationCommandMethods=snAuthorizationCommandMethods, snPortMacSecurityVlanId=snPortMacSecurityVlanId, snIfIndexLookupInterfaceId=snIfIndexLookupInterfaceId, snIfStpPortAdminRstp=snIfStpPortAdminRstp, snSflowCollectorRowStatus=snSflowCollectorRowStatus, snVLanByIpSubnetDynamicMask=snVLanByIpSubnetDynamicMask, snPortMacGlobalSecurity=snPortMacGlobalSecurity, snPortMacSecurityAutosaveMacEntry=snPortMacSecurityAutosaveMacEntry, snSwIfStatsInFrames=snSwIfStatsInFrames, snRadiusEnableMethod=snRadiusEnableMethod, snSwPortDhcpGateListId=snSwPortDhcpGateListId, snMacFilterDestMask=snMacFilterDestMask, snVLanByPortStpTimeSinceTopologyChange=snVLanByPortStpTimeSinceTopologyChange, snVLanByPortCfgStpRootCost=snVLanByPortCfgStpRootCost, snSwPortInfoTagMode=snSwPortInfoTagMode, snVLanByPortRowStatus=snVLanByPortRowStatus, snIfOpticalMonitoringTxBiasCurrent=snIfOpticalMonitoringTxBiasCurrent, snEthernetInterface=snEthernetInterface, snNetFlowCollectorSourceInterface=snNetFlowCollectorSourceInterface, snVLanByIpSubnetRowStatus=snVLanByIpSubnetRowStatus, snVLanByIpSubnetStaticPortList=snVLanByIpSubnetStaticPortList, snPortMacSecurityIntfContentAgeOutTime=snPortMacSecurityIntfContentAgeOutTime, snTacacsServerTable=snTacacsServerTable, snVLanByIpSubnetExcludePortList=snVLanByIpSubnetExcludePortList, snVLanByIpSubnetVLanId=snVLanByIpSubnetVLanId, snMacFilterFrameType=snMacFilterFrameType, snMacFilterRowStatus=snMacFilterRowStatus, snVLanByPortStpPriority=snVLanByPortStpPriority, snVLanByIpSubnetChassisStaticMask=snVLanByIpSubnetChassisStaticMask, snAtmInterface=snAtmInterface, snVLanByPortMemberTagMode=snVLanByPortMemberTagMode, snDhcpGatewayListEntry=snDhcpGatewayListEntry, BrcdVlanIdOrNoneTC=BrcdVlanIdOrNoneTC, snIfIndexLookup2InterfaceId=snIfIndexLookup2InterfaceId, snVLanByProtocolVLanName=snVLanByProtocolVLanName, snMacFilterIfAccessFilters=snMacFilterIfAccessFilters, snMacFilterIfAccessTable=snMacFilterIfAccessTable, snSwIfRouteOnly=snSwIfRouteOnly, snSwPortInfoConnectorType=snSwPortInfoConnectorType, snSwDefaultVLanId=snSwDefaultVLanId, snIfMediaVendorName=snIfMediaVendorName, snSwitch=snSwitch, snDhcpGatewayListAddrList=snDhcpGatewayListAddrList, snSwIfInfoEntry=snSwIfInfoEntry, snPortMacSecurityAutosaveMacQueryIndex=snPortMacSecurityAutosaveMacQueryIndex, snSwIfMacLearningDisable=snSwIfMacLearningDisable, snFdpCacheIfIndex=snFdpCacheIfIndex, snSwPortLockAddressCount=snSwPortLockAddressCount, snGreTunnelInterface=snGreTunnelInterface, snPortMacSecurityIntfContentViolationType=snPortMacSecurityIntfContentViolationType, snDosAttack=snDosAttack, snSwPortInfoLinkStatus=snSwPortInfoLinkStatus, snMacFilterFrameTypeNum=snMacFilterFrameTypeNum, snVLanByIpxNetDynamicMask=snVLanByIpxNetDynamicMask, snSwIfInfoMirrorPorts=snSwIfInfoMirrorPorts, snSwEosBufferSize=snSwEosBufferSize, snVLanByProtocolDynamic=snVLanByProtocolDynamic, snNTP=snNTP, snVLanByPortCfgStpVersion=snVLanByPortCfgStpVersion, InterfaceId2=InterfaceId2, snPortMacSecurityModuleStatViolationCounts=snPortMacSecurityModuleStatViolationCounts, snFdpCacheDeviceId=snFdpCacheDeviceId, snRadiusSNMPAccess=snRadiusSNMPAccess, brcdVlanExtStatsIfIndex=brcdVlanExtStatsIfIndex, snSwPortInfoMonitorMode=snSwPortInfoMonitorMode, snSwPortStatsRxColliFrames=snSwPortStatsRxColliFrames, snPortStpPortProtocolMigration=snPortStpPortProtocolMigration, snAccounting=snAccounting, snVLanByPortQos=snVLanByPortQos, snVLanByProtocolEntry=snVLanByProtocolEntry, snVLanByIpxNetFrameType=snVLanByIpxNetFrameType, snRadiusEnableTelnetAuth=snRadiusEnableTelnetAuth, snPortStpInfo=snPortStpInfo, snSwClearCounters=snSwClearCounters, snIfOpticalLaneMonitoringRxPower=snIfOpticalLaneMonitoringRxPower, snSwSingleStpVLanId=snSwSingleStpVLanId, snDosAttackPortTable=snDosAttackPortTable, snQosBindTable=snQosBindTable, snIfMediaPartNumber=snIfMediaPartNumber, snNetFlowAggregationIp=snNetFlowAggregationIp, snPortMonitor=snPortMonitor, snVLanByPortCfgBaseType=snVLanByPortCfgBaseType, brcdVlanExtStatsInRoutedPkts=brcdVlanExtStatsInRoutedPkts, snVLanByIpxNetStaticMask=snVLanByIpxNetStaticMask, snVLanByPortCfgStpDesignatedRoot=snVLanByPortCfgStpDesignatedRoot, snSwIfInfoNativeMacAddress=snSwIfInfoNativeMacAddress, snNTPServerEntry=snNTPServerEntry, snSwPortStatsOutPktsPerSec=snSwPortStatsOutPktsPerSec, snSwPortInOctets=snSwPortInOctets, snInterfaceLookup2InterfaceId=snInterfaceLookup2InterfaceId, snVLanByIpxNetDynamic=snVLanByIpxNetDynamic, snSflowCollectorIP=snSflowCollectorIP, snRadiusServerAcctPort=snRadiusServerAcctPort, snVLanByPortCfgRowStatus=snVLanByPortCfgRowStatus, snPortMacSecurityModuleStatTotalSecurityPorts=snPortMacSecurityModuleStatTotalSecurityPorts, snVirtualInterface=snVirtualInterface, snFdpMIBObjects=snFdpMIBObjects, snSwIfInfoConnectorType=snSwIfInfoConnectorType, snVLanByPortRouterIntf=snVLanByPortRouterIntf, snSwIfDhcpGateListId=snSwIfDhcpGateListId, snFdbStationEntrySize=snFdbStationEntrySize, brcdIfEgressCounterQueueId=brcdIfEgressCounterQueueId, snNetFlowCollectorEntry=snNetFlowCollectorEntry, snSwPortStatsOutDiscard=snSwPortStatsOutDiscard, snVLanByPortCfgQos=snVLanByPortCfgQos, snSwIfLockAddressCount=snSwIfLockAddressCount, snIfOpticalLaneMonitoringLane=snIfOpticalLaneMonitoringLane, snNetFlowIfFlowSwitching=snNetFlowIfFlowSwitching, snRadiusKey=snRadiusKey, snTacacsServerUsage=snTacacsServerUsage, snSwGroupOperMode=snSwGroupOperMode, snSwPortEntrySize=snSwPortEntrySize, snTacacsKey=snTacacsKey, snSwPortInfoChnMode=snSwPortInfoChnMode, snVLanByIpSubnetTable=snVLanByIpSubnetTable, snDhcpGatewayListInfo=snDhcpGatewayListInfo, snSwIfInfoFlowControl=snSwIfInfoFlowControl, snPortMacSecurityIntfMacEntry=snPortMacSecurityIntfMacEntry, snSwPortStatsAlignErrors=snSwPortStatsAlignErrors, snFdbStationIf=snFdbStationIf, snVLanByPortCfgBaseNumPorts=snVLanByPortCfgBaseNumPorts, snSwPortInfoMirrorMode=snSwPortInfoMirrorMode, snNetFlowGblVersion=snNetFlowGblVersion, snSwPortPresent=snSwPortPresent, PortMask=PortMask, snSwPortStatsMacStations=snSwPortStatsMacStations, snVLanByIpxNetNetworkNum=snVLanByIpxNetNetworkNum, snIfStpPortDesignatedCost=snIfStpPortDesignatedCost, snIfMediaType=snIfMediaType, snVLanByPortCfgStpForwardDelay=snVLanByPortCfgStpForwardDelay, snNTPServerTable=snNTPServerTable, snIfStpPortNum=snIfStpPortNum, snNTPPollInterval=snNTPPollInterval, snFdpGlobal=snFdpGlobal, snVLanByIpSubnetDynamic=snVLanByIpSubnetDynamic, snSwPortInfoAutoNegotiate=snSwPortInfoAutoNegotiate, snSwSingleStpMode=snSwSingleStpMode, PortQosTC=PortQosTC, snSwPortInfoGigType=snSwPortInfoGigType, snVLanByATCableRouterIntf=snVLanByATCableRouterIntf, snSwIfStatsFrameTooLongs=snSwIfStatsFrameTooLongs, snSwPortStatsFrameTooLongs=snSwPortStatsFrameTooLongs, snTacacs=snTacacs, snSwIfDescr=snSwIfDescr, snPosInterface=snPosInterface, snIfStpOperPathCost=snIfStpOperPathCost, fdryIpSrcGuardMIB=fdryIpSrcGuardMIB, snVLanByPortStpHelloTime=snVLanByPortStpHelloTime, snSwIfInfoSpeed=snSwIfInfoSpeed, snIfMediaVersion=snIfMediaVersion, snIfStpVLanId=snIfStpVLanId, snSwMaxMacFilterPerSystem=snSwMaxMacFilterPerSystem, snDosAttackPortICMPDropCount=snDosAttackPortICMPDropCount, snQosBindProfileIndex=snQosBindProfileIndex) mibBuilder.exportSymbols("FOUNDRY-SN-SWITCH-GROUP-MIB", snInterfaceLookupIfIndex=snInterfaceLookupIfIndex, snPortMacSecurityIntfContentMaxLockedMacAllowed=snPortMacSecurityIntfContentMaxLockedMacAllowed, snSwIfStatsLinkChange=snSwIfStatsLinkChange, snPortStpEntrySize=snPortStpEntrySize, snPortMacSecurityIntfContentIfIndex=snPortMacSecurityIntfContentIfIndex, snTacacsServerEntry=snTacacsServerEntry, snPortStpPortPriority=snPortStpPortPriority, snAccountingSystem=snAccountingSystem, snMSTrunkIfTable=snMSTrunkIfTable, snNetFlowGblProtocolDisable=snNetFlowGblProtocolDisable, snMacFilterIfAccessRowStatus=snMacFilterIfAccessRowStatus, snVLanByPortTable=snVLanByPortTable, snVLanByPortCfgStpProtocolSpecification=snVLanByPortCfgStpProtocolSpecification, snPortStpPortDesignatedPort=snPortStpPortDesignatedPort, snVLanByIpSubnetVLanName=snVLanByIpSubnetVLanName, snFdpGlobalMessageInterval=snFdpGlobalMessageInterval, snPortMacGlobalSecurityAutosave=snPortMacGlobalSecurityAutosave, brcdVlanExtStatsOutSwitchedPkts=brcdVlanExtStatsOutSwitchedPkts, snPortMonitorMirrorList=snPortMonitorMirrorList, snSwIfStatsAlignErrors=snSwIfStatsAlignErrors, fdryDhcpSnoopMIB=fdryDhcpSnoopMIB, snVLanGroupVlanMaxEntry=snVLanGroupVlanMaxEntry, snNTPServerVersion=snNTPServerVersion, snFdpCacheCapabilities=snFdpCacheCapabilities, snPortMacSecurityModuleStatTotalMACs=snPortMacSecurityModuleStatTotalMACs, snFdpCachePortTagMode=snFdpCachePortTagMode, snSFlowGlb=snSFlowGlb, snRadiusSNMPServerMethod=snRadiusSNMPServerMethod, snVLanByPortCfgStpHelloTime=snVLanByPortCfgStpHelloTime, snPortStpVLanId=snPortStpVLanId, snVLanByIpSubnetDynamicPortList=snVLanByIpSubnetDynamicPortList, snTacacsTimeOut=snTacacsTimeOut, snSwIfStpPortEnable=snSwIfStpPortEnable, snPortStpPortEnable=snPortStpPortEnable, snPortMacSecurityIfIndex=snPortMacSecurityIfIndex, snVLanByIpxNetTable=snVLanByIpxNetTable, snVLanByPortStpRootCost=snVLanByPortStpRootCost, snSwIfStatsInBitsPerSec=snSwIfStatsInBitsPerSec, snIfRstpTCNBPDUReceived=snIfRstpTCNBPDUReceived, snSwIfLoadInterval=snSwIfLoadInterval, snNetFlowAggregationActiveTimeout=snNetFlowAggregationActiveTimeout, snVLanByPortCfgEntry=snVLanByPortCfgEntry, snFdpCachedAddrType=snFdpCachedAddrType, snSwViolatorPortNumber=snSwViolatorPortNumber, snPortMacSecurityTable=snPortMacSecurityTable, brcdIfEgressCounterIfIndex=brcdIfEgressCounterIfIndex, snFdpInterface=snFdpInterface, snVLanByPortCfgBaseBridgeAddress=snVLanByPortCfgBaseBridgeAddress, snFdbTableCurEntry=snFdbTableCurEntry, snSwIfStatsOutMcastFrames=snSwIfStatsOutMcastFrames, snPortMacSecurityIntfContentShutdownTime=snPortMacSecurityIntfContentShutdownTime, snMSTrunkPortIndex=snMSTrunkPortIndex, snSw8021qTagType=snSw8021qTagType, snSwGroupIpL3SwMode=snSwGroupIpL3SwMode, snVLanByProtocolChassisStaticMask=snVLanByProtocolChassisStaticMask, snRadiusServerRowStatus=snRadiusServerRowStatus, snPortStpPathCost=snPortStpPathCost, snSwPortStatsOutMcastFrames=snSwPortStatsOutMcastFrames, snPortStpPortState=snPortStpPortState, snSwFastStpMode=snSwFastStpMode, snIfStpPortPriority=snIfStpPortPriority, snStacking=snStacking, brcdRouteMap=brcdRouteMap, brcdVlanExtStatsInRoutedOctets=brcdVlanExtStatsInRoutedOctets, snVLanByPortEntry=snVLanByPortEntry, snSwPortStatsInMcastFrames=snSwPortStatsInMcastFrames, snSwPortInfoSpeed=snSwPortInfoSpeed, snDosAttackICMPBlockCount=snDosAttackICMPBlockCount, snVLanByPortStpRootPort=snVLanByPortStpRootPort, snIfStpPortDesignatedBridge=snIfStpPortDesignatedBridge, snVLanByPortStpGroupForwardDelay=snVLanByPortStpGroupForwardDelay, snVLanByIpxNetStaticPortList=snVLanByIpxNetStaticPortList, snIfIndexLookupEntry=snIfIndexLookupEntry, snIfOpticalLaneMonitoringTemperature=snIfOpticalLaneMonitoringTemperature, snSwPortStpPortEnable=snSwPortStpPortEnable, snSwBroadcastLimit2=snSwBroadcastLimit2, VlanTagMode=VlanTagMode, snVLanByPortCfgStpPriority=snVLanByPortCfgStpPriority, snPortMacSecurityMAC=snPortMacSecurityMAC, snIfStpPortState=snIfStpPortState, snWireless=snWireless, snVLanByPortCfgStpTimeSinceTopologyChange=snVLanByPortCfgStpTimeSinceTopologyChange, fdryMacVlanMIB=fdryMacVlanMIB, snIfStpCfgPathCost=snIfStpCfgPathCost, snVLanByPortStpTopChanges=snVLanByPortStpTopChanges, snSwPortInLinePowerClass=snSwPortInLinePowerClass, snFdpCachedAddr=snFdpCachedAddr, snMSTrunkRowStatus=snMSTrunkRowStatus, snSwProbePortNum=snSwProbePortNum, snVLanByIpxNetChassisExcludeMask=snVLanByIpxNetChassisExcludeMask, snSwPortCacheGroupId=snSwPortCacheGroupId, snMacFilter=snMacFilter, snSwIfVlanId=snSwIfVlanId, snVLanByPortCfgVLanId=snVLanByPortCfgVLanId, snSwPortInfo=snSwPortInfo, snSwPortRouteOnly=snSwPortRouteOnly, snIfOpticalLaneMonitoringTxPower=snIfOpticalLaneMonitoringTxPower, brcdVlanExtStatsVlanId=brcdVlanExtStatsVlanId, snAAA=snAAA, snVLanByATCableRowStatus=snVLanByATCableRowStatus, snVLanByPortCfgVLanName=snVLanByPortCfgVLanName, snVLanByIpxNetExcludePortList=snVLanByIpxNetExcludePortList, snPortStpPortAdminEdgePort=snPortStpPortAdminEdgePort, snSwIfStatsInBcastFrames=snSwIfStatsInBcastFrames, snTacacsServerAuthPort=snTacacsServerAuthPort, snVLanByProtocolStaticPortList=snVLanByProtocolStaticPortList, snPortMacSecurityIntfMacIfIndex=snPortMacSecurityIntfMacIfIndex, snSwIfFastSpanPortEnable=snSwIfFastSpanPortEnable, snSubInterface=snSubInterface, snSwIfStatsInJumboFrames=snSwIfStatsInJumboFrames, snAccountingCommandMethods=snAccountingCommandMethods, snMacFilterPortAccessRowStatus=snMacFilterPortAccessRowStatus, BridgeId=BridgeId, snVLanByPortChassisPortMask=snVLanByPortChassisPortMask, snSwPortStatsOutFrames=snSwPortStatsOutFrames, brcdVlanExtStatsOutPkts=brcdVlanExtStatsOutPkts, snVLanByPortStpDesignatedRoot=snVLanByPortStpDesignatedRoot, snSwPortStatsTxColliFrames=snSwPortStatsTxColliFrames, snDosAttackPort=snDosAttackPort, snIfStpPortRole=snIfStpPortRole, snVsrp=snVsrp, snSwSummary=snSwSummary, snSwIfInfoL2FowardEnable=snSwIfInfoL2FowardEnable, snMSTrunkPortList=snMSTrunkPortList, snSwPortInLinePowerWattage=snSwPortInLinePowerWattage, snDosAttackICMPDropCount=snDosAttackICMPDropCount, snPortMacSecurityIntfMacRowStatus=snPortMacSecurityIntfMacRowStatus, snRadiusTimeOut=snRadiusTimeOut, snSwPortInLinePowerControl=snSwPortInLinePowerControl, snVLanByIpSubnetChassisDynamicMask=snVLanByIpSubnetChassisDynamicMask, snSwPortDescr=snSwPortDescr, snSwBroadcastLimit=snSwBroadcastLimit, snSwIfFastSpanUplinkEnable=snSwIfFastSpanUplinkEnable, snQosProfileName=snQosProfileName, snNTPSystemClock=snNTPSystemClock, snSwGroupDefaultCfgMode=snSwGroupDefaultCfgMode, snDosAttackGlobal=snDosAttackGlobal, snFdpCacheAddress=snFdpCacheAddress, snVLanGroupSetAllVLan=snVLanGroupSetAllVLan, snIfMediaInfoEntry=snIfMediaInfoEntry, snMSTrunkIfRowStatus=snMSTrunkIfRowStatus, snSwIfOutOctets=snSwIfOutOctets, snIfOpticalMonitoringInfoEntry=snIfOpticalMonitoringInfoEntry, snDnsDomainName=snDnsDomainName, snNTPServerIp=snNTPServerIp, snVLanByPortStpMode=snVLanByPortStpMode, snFdpCachedAddrDeviceIndex=snFdpCachedAddrDeviceIndex, snAuthorization=snAuthorization, snIfStpEntry=snIfStpEntry, snSwPortFastSpanUplinkEnable=snSwPortFastSpanUplinkEnable, snFdpCacheIsAggregateVlan=snFdpCacheIsAggregateVlan, snInterfaceLookup2Table=snInterfaceLookup2Table, snFdpCache=snFdpCache, snIfIndexLookupIfIndex=snIfIndexLookupIfIndex, snLoopbackInterface=snLoopbackInterface, snSSL=snSSL, snDnsInfo=snDnsInfo, snFdpCachedAddrDeviceAddrEntryIndex=snFdpCachedAddrDeviceAddrEntryIndex, snSwProtocolVLanMode=snSwProtocolVLanMode, snPortStpPortForwardTransitions=snPortStpPortForwardTransitions, brcdIfEgressCounterDropPkts=brcdIfEgressCounterDropPkts, snFdpCacheEntry=snFdpCacheEntry, snSwIfName=snSwIfName, snSFlow=snSFlow, snDosAttackPortSYNDropCount=snDosAttackPortSYNDropCount, snSwIfInfoPortNum=snSwIfInfoPortNum, snSwPortTransGroupId=snSwPortTransGroupId, snDosAttackSYNDropCount=snDosAttackSYNDropCount, snVLanByATCableVLanName=snVLanByATCableVLanName, snNetFlowCollectorTable=snNetFlowCollectorTable, snFdbStationPort=snFdbStationPort, snSwEnableLockedAddrViolationTrap=snSwEnableLockedAddrViolationTrap, snSwPortStatsInKiloBitsPerSec=snSwPortStatsInKiloBitsPerSec, snVLanByProtocolChassisExcludeMask=snVLanByProtocolChassisExcludeMask, brcdIfEgressCounterType=brcdIfEgressCounterType, snPortStpSetAll=snPortStpSetAll, snInterfaceLookup2IfIndex=snInterfaceLookup2IfIndex, snSwIfStatsInDiscard=snSwIfStatsInDiscard, snFdbRowStatus=snFdbRowStatus, snNetFlowAggregationIndex=snNetFlowAggregationIndex, snSwGlobalAutoNegotiate=snSwGlobalAutoNegotiate, snSwIfStatsInUtilization=snSwIfStatsInUtilization, snNetFlowCollectorIp=snNetFlowCollectorIp, snVLanByIpxNetChassisStaticMask=snVLanByIpxNetChassisStaticMask, snSwPortStatsOutBcastFrames=snSwPortStatsOutBcastFrames, snQos=snQos, snVLanByATCableEntry=snVLanByATCableEntry, snNTPTimeZone=snNTPTimeZone, snSwIfInfoMonitorMode=snSwIfInfoMonitorMode, snNetFlowAggregationInactiveTimeout=snNetFlowAggregationInactiveTimeout, snMacFilterSourceMac=snMacFilterSourceMac, snSwIfInfoAutoNegotiate=snSwIfInfoAutoNegotiate, snDhcpGatewayListTable=snDhcpGatewayListTable, snSwInfo=snSwInfo, snPortMacSecurityIntfMacTable=snPortMacSecurityIntfMacTable, snSwEnableBridgeTopoChangeTrap=snSwEnableBridgeTopoChangeTrap, snFdpCachedAddrValue=snFdpCachedAddrValue, snSwPortFastSpanPortEnable=snSwPortFastSpanPortEnable, snSwViolatorMacAddress=snSwViolatorMacAddress, snQosProfileIndex=snQosProfileIndex, snTrunkInterface=snTrunkInterface, snSwPortStatsOutKiloBitsPerSec=snSwPortStatsOutKiloBitsPerSec, snPortMacSecurityIntfContentViolationCounts=snPortMacSecurityIntfContentViolationCounts, snPortMonitorEntry=snPortMonitorEntry, snVLanByPortVLanId=snVLanByPortVLanId, snTacacsSNMPAccess=snTacacsSNMPAccess, snAccountingExec=snAccountingExec, snIfOpticalLaneMonitoringEntry=snIfOpticalLaneMonitoringEntry, snTrunkType=snTrunkType, snInterfaceLookup2Entry=snInterfaceLookup2Entry, snIfOpticalMonitoringRxPower=snIfOpticalMonitoringRxPower, snFdpCacheTable=snFdpCacheTable, snCAR=snCAR, fdryLinkAggregationGroupMIB=fdryLinkAggregationGroupMIB, snVLanByPortPortList=snVLanByPortPortList, snPortMacSecurityAutosaveMacAddress=snPortMacSecurityAutosaveMacAddress, snSwIfInfoPhysAddress=snSwIfInfoPhysAddress, snTrunkIndex=snTrunkIndex, snVLanByProtocolChassisDynamicMask=snVLanByProtocolChassisDynamicMask)
(octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, value_size_constraint, constraints_intersection, value_range_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueSizeConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint', 'SingleValueConstraint') (mac_address, display_string) = mibBuilder.importSymbols('FOUNDRY-SN-AGENT-MIB', 'MacAddress', 'DisplayString') (switch,) = mibBuilder.importSymbols('FOUNDRY-SN-ROOT-MIB', 'switch') (interface_index_or_zero, interface_index, if_index) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndexOrZero', 'InterfaceIndex', 'ifIndex') (enabled_status,) = mibBuilder.importSymbols('P-BRIDGE-MIB', 'EnabledStatus') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (gauge32, iso, integer32, notification_type, mib_identifier, mib_scalar, mib_table, mib_table_row, mib_table_column, counter64, module_identity, time_ticks, object_identity, unsigned32, bits, counter32, ip_address) = mibBuilder.importSymbols('SNMPv2-SMI', 'Gauge32', 'iso', 'Integer32', 'NotificationType', 'MibIdentifier', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter64', 'ModuleIdentity', 'TimeTicks', 'ObjectIdentity', 'Unsigned32', 'Bits', 'Counter32', 'IpAddress') (textual_convention, display_string, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString', 'TruthValue') sn_switch = module_identity((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3)) snSwitch.setRevisions(('2013-10-25 00:00', '2010-06-02 00:00', '2009-09-30 00:00')) if mibBuilder.loadTexts: snSwitch.setLastUpdated('201310250000Z') if mibBuilder.loadTexts: snSwitch.setOrganization('Brocade Communications Systems, Inc.') class Physaddress(TextualConvention, OctetString): status = 'current' class Bridgeid(TextualConvention, OctetString): status = 'current' subtype_spec = OctetString.subtypeSpec + value_size_constraint(8, 8) fixed_length = 8 class Timeout(TextualConvention, Integer32): status = 'current' class Portmask(TextualConvention, Integer32): status = 'current' class Interfaceid(TextualConvention, ObjectIdentifier): status = 'current' class Interfaceid2(TextualConvention, ObjectIdentifier): status = 'current' class Vlantagmode(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3)) named_values = named_values(('tagged', 1), ('untagged', 2), ('dual', 3)) class Fdryvlanidornonetc(TextualConvention, Integer32): status = 'current' display_hint = 'd' subtype_spec = Integer32.subtypeSpec + constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 4095)) class Brcdvlanidtc(TextualConvention, Integer32): status = 'current' display_hint = 'd' subtype_spec = Integer32.subtypeSpec + value_range_constraint(1, 4090) class Brcdvlanidornonetc(TextualConvention, Integer32): status = 'current' display_hint = 'd' subtype_spec = Integer32.subtypeSpec + constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 4090)) class Portqostc(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 127)) named_values = named_values(('level0', 0), ('level1', 1), ('level2', 2), ('level3', 3), ('level4', 4), ('level5', 5), ('level6', 6), ('level7', 7), ('invalid', 127)) class Portprioritytc(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 128)) named_values = named_values(('priority0', 1), ('priority1', 2), ('priority2', 3), ('priority3', 4), ('priority4', 5), ('priority5', 6), ('priority6', 7), ('priority7', 8), ('nonPriority', 128)) sn_sw_info = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1)) sn_v_lan_info = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2)) sn_sw_port_info = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3)) sn_fdb_info = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4)) sn_port_stp_info = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5)) sn_trunk_info = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6)) sn_sw_summary = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 7)) sn_dhcp_gateway_list_info = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8)) sn_dns_info = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 9)) sn_mac_filter = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10)) sn_ntp = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11)) sn_radius = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12)) sn_tacacs = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13)) sn_qos = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14)) sn_aaa = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15)) sn_car = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 16)) sn_v_lan_car = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 17)) sn_net_flow = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18)) sn_s_flow = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19)) sn_fdp = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20)) sn_vsrp = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 21)) sn_arp_info = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 22)) sn_wireless = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 23)) sn_mac = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24)) sn_port_monitor = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 25)) sn_ssh = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 26)) sn_ssl = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 27)) sn_mac_auth = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 28)) sn_metro_ring = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 29)) sn_stacking = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 31)) fdry_mac_vlan_mib = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 32)) fdry_link_aggregation_group_mib = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 33)) fdry_dns2_mib = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 34)) fdry_dai_mib = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 35)) fdry_dhcp_snoop_mib = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 36)) fdry_ip_src_guard_mib = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 37)) brcd_route_map = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 39)) brcd_spxmib = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 40)) sn_sw_group_oper_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('noVLan', 1), ('vlanByPort', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwGroupOperMode.setStatus('current') sn_sw_group_ip_l3_sw_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwGroupIpL3SwMode.setStatus('current') sn_sw_group_ip_mcast_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwGroupIpMcastMode.setStatus('current') sn_sw_group_default_cfg_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('default', 1), ('nonDefault', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwGroupDefaultCfgMode.setStatus('current') sn_sw_group_switch_age_time = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 5), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwGroupSwitchAgeTime.setStatus('current') sn_v_lan_group_vlan_cur_entry = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanGroupVlanCurEntry.setStatus('current') sn_v_lan_group_set_all_v_lan = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanGroupSetAllVLan.setStatus('current') sn_sw_port_set_all = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 8), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortSetAll.setStatus('current') sn_fdb_table_cur_entry = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdbTableCurEntry.setStatus('current') sn_fdb_table_station_flush = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('normal', 1), ('error', 2), ('flush', 3), ('flushing', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdbTableStationFlush.setStatus('current') sn_port_stp_set_all = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 11), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortStpSetAll.setStatus('current') sn_sw_probe_port_num = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 12), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwProbePortNum.setStatus('current') sn_sw8021q_tag_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSw8021qTagMode.setStatus('current') sn_sw_global_stp_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwGlobalStpMode.setStatus('current') sn_sw_ip_mcast_querier_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('querier', 1), ('nonQuerier', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIpMcastQuerierMode.setStatus('current') sn_sw_violator_port_number = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 17), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwViolatorPortNumber.setStatus('current') sn_sw_violator_mac_address = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 18), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwViolatorMacAddress.setStatus('current') sn_v_lan_group_vlan_max_entry = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 19), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanGroupVlanMaxEntry.setStatus('current') sn_sw_eos_buffer_size = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 20), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwEosBufferSize.setStatus('current') sn_v_lan_by_port_entry_size = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 21), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortEntrySize.setStatus('current') sn_sw_port_entry_size = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 22), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortEntrySize.setStatus('current') sn_fdb_station_entry_size = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 23), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdbStationEntrySize.setStatus('current') sn_port_stp_entry_size = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 24), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortStpEntrySize.setStatus('current') sn_sw_enable_bridge_new_root_trap = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 25), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwEnableBridgeNewRootTrap.setStatus('current') sn_sw_enable_bridge_topo_change_trap = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 26), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwEnableBridgeTopoChangeTrap.setStatus('current') sn_sw_enable_locked_addr_violation_trap = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwEnableLockedAddrViolationTrap.setStatus('current') sn_sw_ipx_l3_sw_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIpxL3SwMode.setStatus('current') sn_v_lan_by_ip_subnet_max_subnets = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 29), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpSubnetMaxSubnets.setStatus('current') sn_v_lan_by_ipx_net_max_networks = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 30), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpxNetMaxNetworks.setStatus('current') sn_sw_protocol_v_lan_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 31), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwProtocolVLanMode.setStatus('deprecated') sn_mac_station_v_lan_id = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 32), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacStationVLanId.setStatus('deprecated') sn_sw_clear_counters = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 33), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('valid', 0), ('clear', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwClearCounters.setStatus('current') sn_sw8021q_tag_type = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 34), integer32().clone(33024)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSw8021qTagType.setStatus('current') sn_sw_broadcast_limit = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 35), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwBroadcastLimit.setStatus('current') sn_sw_max_mac_filter_per_system = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 36), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwMaxMacFilterPerSystem.setStatus('current') sn_sw_max_mac_filter_per_port = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 37), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwMaxMacFilterPerPort.setStatus('current') sn_sw_default_v_lan_id = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 38), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwDefaultVLanId.setStatus('current') sn_sw_global_auto_negotiate = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 39), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1), ('negFullAuto', 2), ('other', 3))).clone('negFullAuto')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwGlobalAutoNegotiate.setStatus('current') sn_sw_qos_mechanism = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 40), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('strict', 0), ('weighted', 1))).clone('weighted')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwQosMechanism.setStatus('current') sn_sw_single_stp_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 41), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('disable', 0), ('enableStp', 1), ('enableRstp', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwSingleStpMode.setStatus('current') sn_sw_fast_stp_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 42), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwFastStpMode.setStatus('current') sn_sw_violator_if_index = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 43), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwViolatorIfIndex.setStatus('current') sn_sw_single_stp_v_lan_id = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 44), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwSingleStpVLanId.setStatus('current') sn_sw_broadcast_limit2 = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 45), unsigned32().clone(4294967295)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwBroadcastLimit2.setStatus('current') sn_v_lan_by_port_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1)) if mibBuilder.loadTexts: snVLanByPortTable.setStatus('deprecated') sn_v_lan_by_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByPortVLanIndex')) if mibBuilder.loadTexts: snVLanByPortEntry.setStatus('deprecated') sn_v_lan_by_port_v_lan_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortVLanIndex.setStatus('deprecated') sn_v_lan_by_port_v_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortVLanId.setStatus('deprecated') sn_v_lan_by_port_port_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 3), port_mask()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortPortMask.setStatus('deprecated') sn_v_lan_by_port_qos = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('level0', 0), ('level1', 1), ('level2', 2), ('level3', 3), ('level4', 4), ('level5', 5), ('level6', 6), ('level7', 7)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortQos.setStatus('deprecated') sn_v_lan_by_port_stp_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('disable', 0), ('enableStp', 1), ('enableRstp', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortStpMode.setStatus('deprecated') sn_v_lan_by_port_stp_priority = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortStpPriority.setStatus('deprecated') sn_v_lan_by_port_stp_group_max_age = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 40))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortStpGroupMaxAge.setStatus('deprecated') sn_v_lan_by_port_stp_group_hello_time = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 10))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortStpGroupHelloTime.setStatus('deprecated') sn_v_lan_by_port_stp_group_forward_delay = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 30))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortStpGroupForwardDelay.setStatus('deprecated') sn_v_lan_by_port_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4), ('modify', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortRowStatus.setStatus('deprecated') sn_v_lan_by_port_oper_state = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('notActivated', 0), ('activated', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortOperState.setStatus('deprecated') sn_v_lan_by_port_base_num_ports = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 12), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortBaseNumPorts.setStatus('deprecated') sn_v_lan_by_port_base_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('unknown', 1), ('transparentOnly', 2), ('sourcerouteOnly', 3), ('srt', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortBaseType.setStatus('deprecated') sn_v_lan_by_port_stp_protocol_specification = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('unknown', 1), ('decLb100', 2), ('ieee8021d', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortStpProtocolSpecification.setStatus('deprecated') sn_v_lan_by_port_stp_max_age = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 15), timeout()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortStpMaxAge.setStatus('deprecated') sn_v_lan_by_port_stp_hello_time = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 16), timeout()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortStpHelloTime.setStatus('deprecated') sn_v_lan_by_port_stp_hold_time = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 17), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortStpHoldTime.setStatus('deprecated') sn_v_lan_by_port_stp_forward_delay = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 18), timeout()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortStpForwardDelay.setStatus('deprecated') sn_v_lan_by_port_stp_time_since_topology_change = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 19), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortStpTimeSinceTopologyChange.setStatus('deprecated') sn_v_lan_by_port_stp_top_changes = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 20), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortStpTopChanges.setStatus('deprecated') sn_v_lan_by_port_stp_root_cost = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 21), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortStpRootCost.setStatus('deprecated') sn_v_lan_by_port_stp_root_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 22), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortStpRootPort.setStatus('deprecated') sn_v_lan_by_port_stp_designated_root = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 23), bridge_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortStpDesignatedRoot.setStatus('deprecated') sn_v_lan_by_port_base_bridge_address = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 24), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortBaseBridgeAddress.setStatus('deprecated') sn_v_lan_by_port_v_lan_name = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 25), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortVLanName.setStatus('deprecated') sn_v_lan_by_port_router_intf = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 26), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortRouterIntf.setStatus('deprecated') sn_v_lan_by_port_chassis_port_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 27), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortChassisPortMask.setStatus('deprecated') sn_v_lan_by_port_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 28), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortPortList.setStatus('deprecated') sn_v_lan_by_port_member_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6)) if mibBuilder.loadTexts: snVLanByPortMemberTable.setStatus('current') sn_v_lan_by_port_member_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByPortMemberVLanId'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByPortMemberPortId')) if mibBuilder.loadTexts: snVLanByPortMemberEntry.setStatus('current') sn_v_lan_by_port_member_v_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortMemberVLanId.setStatus('current') sn_v_lan_by_port_member_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6, 1, 2), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortMemberPortId.setStatus('current') sn_v_lan_by_port_member_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortMemberRowStatus.setStatus('current') sn_v_lan_by_port_member_tag_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('tagged', 1), ('untagged', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortMemberTagMode.setStatus('current') sn_v_lan_by_port_cfg_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7)) if mibBuilder.loadTexts: snVLanByPortCfgTable.setStatus('current') sn_v_lan_by_port_cfg_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByPortCfgVLanId')) if mibBuilder.loadTexts: snVLanByPortCfgEntry.setStatus('current') sn_v_lan_by_port_cfg_v_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgVLanId.setStatus('current') sn_v_lan_by_port_cfg_qos = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 2), port_qos_tc()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgQos.setStatus('current') sn_v_lan_by_port_cfg_stp_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('disable', 0), ('enableStp', 1), ('enableRstp', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgStpMode.setStatus('current') sn_v_lan_by_port_cfg_stp_priority = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgStpPriority.setStatus('current') sn_v_lan_by_port_cfg_stp_group_max_age = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 5), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgStpGroupMaxAge.setStatus('current') sn_v_lan_by_port_cfg_stp_group_hello_time = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 6), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgStpGroupHelloTime.setStatus('current') sn_v_lan_by_port_cfg_stp_group_forward_delay = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgStpGroupForwardDelay.setStatus('current') sn_v_lan_by_port_cfg_base_num_ports = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgBaseNumPorts.setStatus('current') sn_v_lan_by_port_cfg_base_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('unknown', 1), ('transparentOnly', 2), ('sourcerouteOnly', 3), ('srt', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgBaseType.setStatus('current') sn_v_lan_by_port_cfg_stp_protocol_specification = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('unknown', 1), ('decLb100', 2), ('ieee8021d', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgStpProtocolSpecification.setStatus('current') sn_v_lan_by_port_cfg_stp_max_age = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 11), timeout()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgStpMaxAge.setStatus('current') sn_v_lan_by_port_cfg_stp_hello_time = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 12), timeout()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgStpHelloTime.setStatus('current') sn_v_lan_by_port_cfg_stp_hold_time = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 13), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgStpHoldTime.setStatus('current') sn_v_lan_by_port_cfg_stp_forward_delay = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 14), timeout()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgStpForwardDelay.setStatus('current') sn_v_lan_by_port_cfg_stp_time_since_topology_change = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 15), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgStpTimeSinceTopologyChange.setStatus('current') sn_v_lan_by_port_cfg_stp_top_changes = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 16), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgStpTopChanges.setStatus('current') sn_v_lan_by_port_cfg_stp_root_cost = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 17), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgStpRootCost.setStatus('current') sn_v_lan_by_port_cfg_stp_root_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 18), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgStpRootPort.setStatus('current') sn_v_lan_by_port_cfg_stp_designated_root = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 19), bridge_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgStpDesignatedRoot.setStatus('current') sn_v_lan_by_port_cfg_base_bridge_address = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 20), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgBaseBridgeAddress.setStatus('current') sn_v_lan_by_port_cfg_v_lan_name = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 21), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgVLanName.setStatus('current') sn_v_lan_by_port_cfg_router_intf = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 22), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgRouterIntf.setStatus('current') sn_v_lan_by_port_cfg_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgRowStatus.setStatus('current') sn_v_lan_by_port_cfg_stp_version = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 2))).clone(namedValues=named_values(('stpCompatible', 0), ('rstp', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgStpVersion.setStatus('current') sn_v_lan_by_port_cfg_in_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 25), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgInOctets.setStatus('current') sn_v_lan_by_port_cfg_transparent_hw_flooding = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 26), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgTransparentHwFlooding.setStatus('current') brcd_vlan_ext_stats_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8)) if mibBuilder.loadTexts: brcdVlanExtStatsTable.setStatus('current') brcd_vlan_ext_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'brcdVlanExtStatsVlanId'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'brcdVlanExtStatsIfIndex'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'brcdVlanExtStatsPriorityId')) if mibBuilder.loadTexts: brcdVlanExtStatsEntry.setStatus('current') brcd_vlan_ext_stats_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 1), brcd_vlan_id_tc()) if mibBuilder.loadTexts: brcdVlanExtStatsVlanId.setStatus('current') brcd_vlan_ext_stats_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 2), interface_index()) if mibBuilder.loadTexts: brcdVlanExtStatsIfIndex.setStatus('current') brcd_vlan_ext_stats_priority_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 3), port_priority_tc()) if mibBuilder.loadTexts: brcdVlanExtStatsPriorityId.setStatus('current') brcd_vlan_ext_stats_in_switched_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 4), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsInSwitchedPkts.setStatus('current') brcd_vlan_ext_stats_in_routed_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 5), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsInRoutedPkts.setStatus('current') brcd_vlan_ext_stats_in_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 6), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsInPkts.setStatus('current') brcd_vlan_ext_stats_out_switched_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 7), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsOutSwitchedPkts.setStatus('current') brcd_vlan_ext_stats_out_routed_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 8), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsOutRoutedPkts.setStatus('current') brcd_vlan_ext_stats_out_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 9), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsOutPkts.setStatus('current') brcd_vlan_ext_stats_in_switched_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 10), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsInSwitchedOctets.setStatus('current') brcd_vlan_ext_stats_in_routed_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 11), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsInRoutedOctets.setStatus('current') brcd_vlan_ext_stats_in_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 12), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsInOctets.setStatus('current') brcd_vlan_ext_stats_out_switched_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 13), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsOutSwitchedOctets.setStatus('current') brcd_vlan_ext_stats_out_routed_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 14), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsOutRoutedOctets.setStatus('current') brcd_vlan_ext_stats_out_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 15), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsOutOctets.setStatus('current') sn_v_lan_by_protocol_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2)) if mibBuilder.loadTexts: snVLanByProtocolTable.setStatus('current') sn_v_lan_by_protocol_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByProtocolVLanId'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByProtocolIndex')) if mibBuilder.loadTexts: snVLanByProtocolEntry.setStatus('current') sn_v_lan_by_protocol_v_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByProtocolVLanId.setStatus('current') sn_v_lan_by_protocol_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('ip', 1), ('ipx', 2), ('appleTalk', 3), ('decNet', 4), ('netBios', 5), ('others', 6), ('ipv6', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByProtocolIndex.setStatus('current') sn_v_lan_by_protocol_dynamic = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByProtocolDynamic.setStatus('current') sn_v_lan_by_protocol_static_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 4), port_mask()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByProtocolStaticMask.setStatus('deprecated') sn_v_lan_by_protocol_exclude_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 5), port_mask()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByProtocolExcludeMask.setStatus('deprecated') sn_v_lan_by_protocol_router_intf = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 60))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByProtocolRouterIntf.setStatus('current') sn_v_lan_by_protocol_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4), ('modify', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByProtocolRowStatus.setStatus('current') sn_v_lan_by_protocol_dynamic_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 8), port_mask()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByProtocolDynamicMask.setStatus('deprecated') sn_v_lan_by_protocol_chassis_static_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 9), octet_string().subtype(subtypeSpec=value_size_constraint(32, 32)).setFixedLength(32)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByProtocolChassisStaticMask.setStatus('deprecated') sn_v_lan_by_protocol_chassis_exclude_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 10), octet_string().subtype(subtypeSpec=value_size_constraint(32, 32)).setFixedLength(32)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByProtocolChassisExcludeMask.setStatus('deprecated') sn_v_lan_by_protocol_chassis_dynamic_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 11), octet_string().subtype(subtypeSpec=value_size_constraint(32, 32)).setFixedLength(32)).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByProtocolChassisDynamicMask.setStatus('deprecated') sn_v_lan_by_protocol_v_lan_name = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 12), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByProtocolVLanName.setStatus('current') sn_v_lan_by_protocol_static_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 13), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByProtocolStaticPortList.setStatus('current') sn_v_lan_by_protocol_exclude_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 14), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByProtocolExcludePortList.setStatus('current') sn_v_lan_by_protocol_dynamic_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 15), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByProtocolDynamicPortList.setStatus('current') sn_v_lan_by_ip_subnet_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3)) if mibBuilder.loadTexts: snVLanByIpSubnetTable.setStatus('current') sn_v_lan_by_ip_subnet_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByIpSubnetVLanId'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByIpSubnetIpAddress'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByIpSubnetSubnetMask')) if mibBuilder.loadTexts: snVLanByIpSubnetEntry.setStatus('current') sn_v_lan_by_ip_subnet_v_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpSubnetVLanId.setStatus('current') sn_v_lan_by_ip_subnet_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 2), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpSubnetIpAddress.setStatus('current') sn_v_lan_by_ip_subnet_subnet_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 3), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpSubnetSubnetMask.setStatus('current') sn_v_lan_by_ip_subnet_dynamic = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpSubnetDynamic.setStatus('current') sn_v_lan_by_ip_subnet_static_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 5), port_mask()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpSubnetStaticMask.setStatus('deprecated') sn_v_lan_by_ip_subnet_exclude_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 6), port_mask()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpSubnetExcludeMask.setStatus('deprecated') sn_v_lan_by_ip_subnet_router_intf = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 60))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpSubnetRouterIntf.setStatus('current') sn_v_lan_by_ip_subnet_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4), ('modify', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpSubnetRowStatus.setStatus('current') sn_v_lan_by_ip_subnet_dynamic_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 9), port_mask()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpSubnetDynamicMask.setStatus('deprecated') sn_v_lan_by_ip_subnet_chassis_static_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 10), octet_string().subtype(subtypeSpec=value_size_constraint(32, 32)).setFixedLength(32)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpSubnetChassisStaticMask.setStatus('deprecated') sn_v_lan_by_ip_subnet_chassis_exclude_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 11), octet_string().subtype(subtypeSpec=value_size_constraint(32, 32)).setFixedLength(32)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpSubnetChassisExcludeMask.setStatus('deprecated') sn_v_lan_by_ip_subnet_chassis_dynamic_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 12), octet_string().subtype(subtypeSpec=value_size_constraint(32, 32)).setFixedLength(32)).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpSubnetChassisDynamicMask.setStatus('deprecated') sn_v_lan_by_ip_subnet_v_lan_name = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 13), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpSubnetVLanName.setStatus('current') sn_v_lan_by_ip_subnet_static_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 14), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpSubnetStaticPortList.setStatus('current') sn_v_lan_by_ip_subnet_exclude_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 15), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpSubnetExcludePortList.setStatus('current') sn_v_lan_by_ip_subnet_dynamic_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 16), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpSubnetDynamicPortList.setStatus('current') sn_v_lan_by_ipx_net_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4)) if mibBuilder.loadTexts: snVLanByIpxNetTable.setStatus('current') sn_v_lan_by_ipx_net_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByIpxNetVLanId'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByIpxNetNetworkNum'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByIpxNetFrameType')) if mibBuilder.loadTexts: snVLanByIpxNetEntry.setStatus('current') sn_v_lan_by_ipx_net_v_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpxNetVLanId.setStatus('current') sn_v_lan_by_ipx_net_network_num = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(4, 4)).setFixedLength(4)).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpxNetNetworkNum.setStatus('current') sn_v_lan_by_ipx_net_frame_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('notApplicable', 0), ('ipxEthernet8022', 1), ('ipxEthernet8023', 2), ('ipxEthernetII', 3), ('ipxEthernetSnap', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpxNetFrameType.setStatus('current') sn_v_lan_by_ipx_net_dynamic = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpxNetDynamic.setStatus('current') sn_v_lan_by_ipx_net_static_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 5), port_mask()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpxNetStaticMask.setStatus('deprecated') sn_v_lan_by_ipx_net_exclude_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 6), port_mask()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpxNetExcludeMask.setStatus('deprecated') sn_v_lan_by_ipx_net_router_intf = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 60))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpxNetRouterIntf.setStatus('current') sn_v_lan_by_ipx_net_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4), ('modify', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpxNetRowStatus.setStatus('current') sn_v_lan_by_ipx_net_dynamic_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 9), port_mask()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpxNetDynamicMask.setStatus('deprecated') sn_v_lan_by_ipx_net_chassis_static_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 10), octet_string().subtype(subtypeSpec=value_size_constraint(32, 32)).setFixedLength(32)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpxNetChassisStaticMask.setStatus('deprecated') sn_v_lan_by_ipx_net_chassis_exclude_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 11), octet_string().subtype(subtypeSpec=value_size_constraint(32, 32)).setFixedLength(32)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpxNetChassisExcludeMask.setStatus('deprecated') sn_v_lan_by_ipx_net_chassis_dynamic_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 12), octet_string().subtype(subtypeSpec=value_size_constraint(32, 32)).setFixedLength(32)).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpxNetChassisDynamicMask.setStatus('deprecated') sn_v_lan_by_ipx_net_v_lan_name = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 13), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpxNetVLanName.setStatus('current') sn_v_lan_by_ipx_net_static_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 14), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpxNetStaticPortList.setStatus('current') sn_v_lan_by_ipx_net_exclude_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 15), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpxNetExcludePortList.setStatus('current') sn_v_lan_by_ipx_net_dynamic_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 16), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpxNetDynamicPortList.setStatus('current') sn_v_lan_by_at_cable_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5)) if mibBuilder.loadTexts: snVLanByATCableTable.setStatus('current') sn_v_lan_by_at_cable_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByATCableVLanId'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByATCableIndex')) if mibBuilder.loadTexts: snVLanByATCableEntry.setStatus('current') sn_v_lan_by_at_cable_v_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByATCableVLanId.setStatus('current') sn_v_lan_by_at_cable_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByATCableIndex.setStatus('current') sn_v_lan_by_at_cable_router_intf = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 60))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByATCableRouterIntf.setStatus('current') sn_v_lan_by_at_cable_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4), ('modify', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByATCableRowStatus.setStatus('current') sn_v_lan_by_at_cable_chassis_static_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 5), octet_string().subtype(subtypeSpec=value_size_constraint(32, 32)).setFixedLength(32)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByATCableChassisStaticMask.setStatus('deprecated') sn_v_lan_by_at_cable_v_lan_name = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByATCableVLanName.setStatus('current') sn_v_lan_by_at_cable_static_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 7), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByATCableStaticPortList.setStatus('current') sn_sw_port_info_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1)) if mibBuilder.loadTexts: snSwPortInfoTable.setStatus('deprecated') sn_sw_port_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snSwPortInfoPortNum')) if mibBuilder.loadTexts: snSwPortInfoEntry.setStatus('deprecated') sn_sw_port_info_port_num = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortInfoPortNum.setStatus('deprecated') sn_sw_port_info_monitor_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('disabled', 0), ('input', 1), ('output', 2), ('both', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInfoMonitorMode.setStatus('deprecated') sn_sw_port_info_tag_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('tagged', 1), ('untagged', 2), ('auto', 3), ('disabled', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInfoTagMode.setStatus('deprecated') sn_sw_port_info_chn_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('halfDuplex', 1), ('fullDuplex', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInfoChnMode.setStatus('deprecated') sn_sw_port_info_speed = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14))).clone(namedValues=named_values(('none', 0), ('sAutoSense', 1), ('s10M', 2), ('s100M', 3), ('s1G', 4), ('s1GM', 5), ('s155M', 6), ('s10G', 7), ('s622M', 8), ('s2488M', 9), ('s9953M', 10), ('s16G', 11), ('s40G', 13), ('s2500M', 14)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInfoSpeed.setStatus('deprecated') sn_sw_port_info_media_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19))).clone(namedValues=named_values(('other', 1), ('m100BaseTX', 2), ('m100BaseFX', 3), ('m1000BaseFX', 4), ('mT3', 5), ('m155ATM', 6), ('m1000BaseTX', 7), ('m622ATM', 8), ('m155POS', 9), ('m622POS', 10), ('m2488POS', 11), ('m10000BaseFX', 12), ('m9953POS', 13), ('m16GStacking', 14), ('m100GBaseFX', 15), ('m40GStacking', 16), ('m40GBaseFX', 17), ('m10000BaseTX', 18), ('m2500BaseTX', 19)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortInfoMediaType.setStatus('deprecated') sn_sw_port_info_connector_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('copper', 2), ('fiber', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortInfoConnectorType.setStatus('deprecated') sn_sw_port_info_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('testing', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInfoAdminStatus.setStatus('deprecated') sn_sw_port_info_link_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('testing', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortInfoLinkStatus.setStatus('deprecated') sn_sw_port_info_port_qos = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('level0', 0), ('level1', 1), ('level2', 2), ('level3', 3), ('level4', 4), ('level5', 5), ('level6', 6), ('level7', 7)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInfoPortQos.setStatus('deprecated') sn_sw_port_info_phys_address = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 11), phys_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortInfoPhysAddress.setStatus('deprecated') sn_sw_port_stats_in_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsInFrames.setStatus('deprecated') sn_sw_port_stats_out_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsOutFrames.setStatus('deprecated') sn_sw_port_stats_align_errors = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsAlignErrors.setStatus('deprecated') sn_sw_port_stats_fcs_errors = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 15), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsFCSErrors.setStatus('deprecated') sn_sw_port_stats_multi_colli_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 16), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsMultiColliFrames.setStatus('deprecated') sn_sw_port_stats_frame_too_longs = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 17), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsFrameTooLongs.setStatus('deprecated') sn_sw_port_stats_tx_colli_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 18), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsTxColliFrames.setStatus('deprecated') sn_sw_port_stats_rx_colli_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 19), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsRxColliFrames.setStatus('deprecated') sn_sw_port_stats_frame_too_shorts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 20), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsFrameTooShorts.setStatus('deprecated') sn_sw_port_lock_address_count = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 21), integer32().subtype(subtypeSpec=value_range_constraint(0, 2048)).clone(8)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortLockAddressCount.setStatus('deprecated') sn_sw_port_stp_port_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortStpPortEnable.setStatus('deprecated') sn_sw_port_dhcp_gate_list_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 23), integer32().subtype(subtypeSpec=value_range_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortDhcpGateListId.setStatus('deprecated') sn_sw_port_name = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 24), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortName.setStatus('deprecated') sn_sw_port_stats_in_bcast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 25), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsInBcastFrames.setStatus('deprecated') sn_sw_port_stats_out_bcast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 26), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsOutBcastFrames.setStatus('deprecated') sn_sw_port_stats_in_mcast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 27), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsInMcastFrames.setStatus('deprecated') sn_sw_port_stats_out_mcast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 28), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsOutMcastFrames.setStatus('deprecated') sn_sw_port_stats_in_discard = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 29), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsInDiscard.setStatus('deprecated') sn_sw_port_stats_out_discard = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 30), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsOutDiscard.setStatus('deprecated') sn_sw_port_stats_mac_stations = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 31), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsMacStations.setStatus('deprecated') sn_sw_port_cache_group_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 32), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortCacheGroupId.setStatus('deprecated') sn_sw_port_trans_group_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 33), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortTransGroupId.setStatus('deprecated') sn_sw_port_info_auto_negotiate = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 34), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1), ('negFullAuto', 2), ('global', 3), ('other', 4))).clone('global')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInfoAutoNegotiate.setStatus('deprecated') sn_sw_port_info_flow_control = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 35), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInfoFlowControl.setStatus('deprecated') sn_sw_port_info_gig_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 36), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 255))).clone(namedValues=named_values(('m1000BaseSX', 0), ('m1000BaseLX', 1), ('m1000BaseLH', 2), ('m1000BaseLHA', 3), ('m1000BaseLHB', 4), ('m1000BaseTX', 5), ('m10000BaseSR', 6), ('m10000BaseLR', 7), ('m10000BaseER', 8), ('sfpCWDM1470nm80Km', 9), ('sfpCWDM1490nm80Km', 10), ('sfpCWDM1510nm80Km', 11), ('sfpCWDM1530nm80Km', 12), ('sfpCWDM1550nm80Km', 13), ('sfpCWDM1570nm80Km', 14), ('sfpCWDM1590nm80Km', 15), ('sfpCWDM1610nm80Km', 16), ('sfpCWDM1470nm100Km', 17), ('sfpCWDM1490nm100Km', 18), ('sfpCWDM1510nm100Km', 19), ('sfpCWDM1530nm100Km', 20), ('sfpCWDM1550nm100Km', 21), ('sfpCWDM1570nm100Km', 22), ('sfpCWDM1590nm100Km', 23), ('sfpCWDM1610nm100Km', 24), ('m1000BaseLHX', 25), ('m1000BaseSX2', 26), ('m1000BaseGBXU', 27), ('m1000BaseGBXD', 28), ('notApplicable', 255)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortInfoGigType.setStatus('deprecated') sn_sw_port_stats_link_change = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 37), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsLinkChange.setStatus('deprecated') sn_sw_port_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 38), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortIfIndex.setStatus('deprecated') sn_sw_port_descr = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 39), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortDescr.setStatus('deprecated') sn_sw_port_in_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 40), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortInOctets.setStatus('deprecated') sn_sw_port_out_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 41), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortOutOctets.setStatus('deprecated') sn_sw_port_stats_in_bits_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 42), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsInBitsPerSec.setStatus('deprecated') sn_sw_port_stats_out_bits_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 43), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsOutBitsPerSec.setStatus('deprecated') sn_sw_port_stats_in_pkts_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 44), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsInPktsPerSec.setStatus('deprecated') sn_sw_port_stats_out_pkts_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 45), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsOutPktsPerSec.setStatus('deprecated') sn_sw_port_stats_in_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 46), integer32().subtype(subtypeSpec=value_range_constraint(0, 10000))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsInUtilization.setStatus('deprecated') sn_sw_port_stats_out_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 47), integer32().subtype(subtypeSpec=value_range_constraint(0, 10000))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsOutUtilization.setStatus('deprecated') sn_sw_port_fast_span_port_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 48), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortFastSpanPortEnable.setStatus('deprecated') sn_sw_port_fast_span_uplink_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 49), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortFastSpanUplinkEnable.setStatus('deprecated') sn_sw_port_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 50), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortVlanId.setStatus('deprecated') sn_sw_port_route_only = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 51), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortRouteOnly.setStatus('deprecated') sn_sw_port_present = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 52), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortPresent.setStatus('deprecated') sn_sw_port_gbic_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 53), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('gbic', 1), ('miniGBIC', 2), ('empty', 3), ('other', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortGBICStatus.setStatus('deprecated') sn_sw_port_stats_in_kilo_bits_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 54), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsInKiloBitsPerSec.setStatus('deprecated') sn_sw_port_stats_out_kilo_bits_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 55), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsOutKiloBitsPerSec.setStatus('deprecated') sn_sw_port_load_interval = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 56), integer32().subtype(subtypeSpec=value_range_constraint(30, 300)).clone(300)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortLoadInterval.setStatus('deprecated') sn_sw_port_tag_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 57), integer32().clone(33024)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortTagType.setStatus('deprecated') sn_sw_port_in_line_power_control = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 58), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('disable', 2), ('enable', 3), ('enableLegacyDevice', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInLinePowerControl.setStatus('deprecated') sn_sw_port_in_line_power_wattage = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 59), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInLinePowerWattage.setStatus('deprecated') sn_sw_port_in_line_power_class = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 60), integer32().subtype(subtypeSpec=value_range_constraint(0, 3))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInLinePowerClass.setStatus('deprecated') sn_sw_port_in_line_power_priority = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 61), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5))).clone(namedValues=named_values(('invalid', 0), ('critical', 1), ('high', 2), ('low', 3), ('medium', 4), ('other', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInLinePowerPriority.setStatus('deprecated') sn_sw_port_info_mirror_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 62), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInfoMirrorMode.setStatus('deprecated') sn_sw_port_stats_in_jumbo_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 63), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsInJumboFrames.setStatus('deprecated') sn_sw_port_stats_out_jumbo_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 64), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsOutJumboFrames.setStatus('deprecated') sn_sw_port_in_line_power_consumed = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 66), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortInLinePowerConsumed.setStatus('deprecated') sn_sw_port_in_line_power_pd_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 67), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortInLinePowerPDType.setStatus('deprecated') sn_sw_if_info_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5)) if mibBuilder.loadTexts: snSwIfInfoTable.setStatus('current') sn_sw_if_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snSwIfInfoPortNum')) if mibBuilder.loadTexts: snSwIfInfoEntry.setStatus('current') sn_sw_if_info_port_num = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 1), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfInfoPortNum.setStatus('current') sn_sw_if_info_monitor_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('disabled', 0), ('input', 1), ('output', 2), ('both', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoMonitorMode.setStatus('deprecated') sn_sw_if_info_mirror_ports = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 3), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoMirrorPorts.setStatus('current') sn_sw_if_info_tag_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('tagged', 1), ('untagged', 2), ('dual', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoTagMode.setStatus('current') sn_sw_if_info_tag_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 5), integer32().clone(33024)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoTagType.setStatus('current') sn_sw_if_info_chn_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('halfDuplex', 1), ('fullDuplex', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoChnMode.setStatus('current') sn_sw_if_info_speed = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14))).clone(namedValues=named_values(('none', 0), ('sAutoSense', 1), ('s10M', 2), ('s100M', 3), ('s1G', 4), ('s1GM', 5), ('s155M', 6), ('s10G', 7), ('s622M', 8), ('s2488M', 9), ('s9953M', 10), ('s16G', 11), ('s100G', 12), ('s40G', 13), ('s2500M', 14)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoSpeed.setStatus('current') sn_sw_if_info_media_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19))).clone(namedValues=named_values(('other', 1), ('m100BaseTX', 2), ('m100BaseFX', 3), ('m1000BaseFX', 4), ('mT3', 5), ('m155ATM', 6), ('m1000BaseTX', 7), ('m622ATM', 8), ('m155POS', 9), ('m622POS', 10), ('m2488POS', 11), ('m10000BaseFX', 12), ('m9953POS', 13), ('m16GStacking', 14), ('m100GBaseFX', 15), ('m40GStacking', 16), ('m40GBaseFX', 17), ('m10000BaseTX', 18), ('m2500BaseTX', 19)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfInfoMediaType.setStatus('current') sn_sw_if_info_connector_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('copper', 2), ('fiber', 3), ('both', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfInfoConnectorType.setStatus('current') sn_sw_if_info_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('testing', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoAdminStatus.setStatus('current') sn_sw_if_info_link_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('testing', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfInfoLinkStatus.setStatus('current') sn_sw_if_info_port_qos = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('level0', 0), ('level1', 1), ('level2', 2), ('level3', 3), ('level4', 4), ('level5', 5), ('level6', 6), ('level7', 7)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoPortQos.setStatus('current') sn_sw_if_info_phys_address = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 13), phys_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfInfoPhysAddress.setStatus('current') sn_sw_if_lock_address_count = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 14), integer32().subtype(subtypeSpec=value_range_constraint(0, 2048)).clone(8)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfLockAddressCount.setStatus('current') sn_sw_if_stp_port_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfStpPortEnable.setStatus('current') sn_sw_if_dhcp_gate_list_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 16), integer32().subtype(subtypeSpec=value_range_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfDhcpGateListId.setStatus('current') sn_sw_if_name = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 17), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfName.setStatus('current') sn_sw_if_descr = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 18), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfDescr.setStatus('current') sn_sw_if_info_auto_negotiate = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1), ('negFullAuto', 2), ('global', 3), ('other', 4))).clone('global')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoAutoNegotiate.setStatus('current') sn_sw_if_info_flow_control = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoFlowControl.setStatus('current') sn_sw_if_info_gig_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 127, 128, 129, 130, 131, 132, 133, 134, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 255))).clone(namedValues=named_values(('m1000BaseSX', 0), ('m1000BaseLX', 1), ('m1000BaseLH', 2), ('m1000BaseLHA', 3), ('m1000BaseLHB', 4), ('m1000BaseTX', 5), ('m10000BaseSR', 6), ('m10000BaseLR', 7), ('m10000BaseER', 8), ('sfpCWDM1470nm80Km', 9), ('sfpCWDM1490nm80Km', 10), ('sfpCWDM1510nm80Km', 11), ('sfpCWDM1530nm80Km', 12), ('sfpCWDM1550nm80Km', 13), ('sfpCWDM1570nm80Km', 14), ('sfpCWDM1590nm80Km', 15), ('sfpCWDM1610nm80Km', 16), ('sfpCWDM1470nm100Km', 17), ('sfpCWDM1490nm100Km', 18), ('sfpCWDM1510nm100Km', 19), ('sfpCWDM1530nm100Km', 20), ('sfpCWDM1550nm100Km', 21), ('sfpCWDM1570nm100Km', 22), ('sfpCWDM1590nm100Km', 23), ('sfpCWDM1610nm100Km', 24), ('m1000BaseLHX', 25), ('m1000BaseSX2', 26), ('mSFP1000BaseBXU', 27), ('mSFP1000BaseBXD', 28), ('mSFP100BaseBX', 29), ('mSFP100BaseBXU', 30), ('mSFP100BaseBXD', 31), ('mSFP100BaseFX', 32), ('mSFP100BaseFXIR', 33), ('mSFP100BaseFXLR', 34), ('m1000BaseLMC', 35), ('mXFP10000BaseSR', 36), ('mXFP10000BaseLR', 37), ('mXFP10000BaseER', 38), ('mXFP10000BaseSW', 39), ('mXFP10000BaseLW', 40), ('mXFP10000BaseEW', 41), ('mXFP10000BaseCX4', 42), ('mXFP10000BaseZR', 43), ('mXFP10000BaseZRD', 44), ('m1000BaseC6553', 45), ('mXFP10000BaseSRSW', 46), ('mXFP10000BaseLRLW', 47), ('mXFP10000BaseEREW', 48), ('m10000BaseT', 49), ('m2500BaseTX', 50), ('m1000BaseGBXU', 127), ('m1000BaseGBXD', 128), ('m1000BaseFBX', 129), ('m1000BaseFBXU', 130), ('m1000BaseFBXD', 131), ('m1000BaseFX', 132), ('m1000BaseFXIR', 133), ('m1000BaseFXLR', 134), ('m1000BaseXGSR', 136), ('m1000BaseXGLR', 137), ('m1000BaseXGER', 138), ('m1000BaseXGSW', 139), ('m1000BaseXGLW', 140), ('m1000BaseXGEW', 141), ('m1000BaseXGCX4', 142), ('m1000BaseXGZR', 143), ('m1000BaseXGZRD', 144), ('mCFP100GBaseSR10', 145), ('mCFP100GBaseLR4', 146), ('mCFP100GBaseER4', 147), ('mCFP100GBase10x10g2Km', 148), ('mCFP100GBase10x10g10Km', 149), ('qSFP40000BaseSR4', 150), ('qSFP40000Base10KmLR4', 151), ('mXFP10000BaseUSR', 152), ('mXFP10000BaseTwinax', 153), ('mCFP2-100GBaseSR10', 154), ('mCFP2-100GBaseLR4', 155), ('mCFP2-100GBaseER4', 156), ('mCFP2-100GBase10x10g2Km', 157), ('mCFP2-100GBase10x10g10Km', 158), ('notApplicable', 255)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfInfoGigType.setStatus('current') sn_sw_if_fast_span_port_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfFastSpanPortEnable.setStatus('current') sn_sw_if_fast_span_uplink_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfFastSpanUplinkEnable.setStatus('current') sn_sw_if_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 24), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfVlanId.setStatus('current') sn_sw_if_route_only = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 25), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfRouteOnly.setStatus('current') sn_sw_if_present = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 26), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfPresent.setStatus('current') sn_sw_if_gbic_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('gbic', 1), ('miniGBIC', 2), ('empty', 3), ('other', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfGBICStatus.setStatus('current') sn_sw_if_load_interval = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 28), integer32().subtype(subtypeSpec=value_range_constraint(30, 300)).clone(300)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfLoadInterval.setStatus('current') sn_sw_if_stats_in_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 29), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsInFrames.setStatus('current') sn_sw_if_stats_out_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 30), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsOutFrames.setStatus('current') sn_sw_if_stats_align_errors = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 31), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsAlignErrors.setStatus('current') sn_sw_if_stats_fcs_errors = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 32), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsFCSErrors.setStatus('current') sn_sw_if_stats_multi_colli_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 33), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsMultiColliFrames.setStatus('current') sn_sw_if_stats_tx_colli_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 34), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsTxColliFrames.setStatus('current') sn_sw_if_stats_rx_colli_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 35), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsRxColliFrames.setStatus('current') sn_sw_if_stats_frame_too_longs = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 36), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsFrameTooLongs.setStatus('current') sn_sw_if_stats_frame_too_shorts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 37), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsFrameTooShorts.setStatus('current') sn_sw_if_stats_in_bcast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 38), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsInBcastFrames.setStatus('current') sn_sw_if_stats_out_bcast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 39), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsOutBcastFrames.setStatus('current') sn_sw_if_stats_in_mcast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 40), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsInMcastFrames.setStatus('current') sn_sw_if_stats_out_mcast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 41), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsOutMcastFrames.setStatus('current') sn_sw_if_stats_in_discard = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 42), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsInDiscard.setStatus('current') sn_sw_if_stats_out_discard = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 43), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsOutDiscard.setStatus('current') sn_sw_if_stats_mac_stations = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 44), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsMacStations.setStatus('current') sn_sw_if_stats_link_change = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 45), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsLinkChange.setStatus('current') sn_sw_if_in_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 46), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfInOctets.setStatus('current') sn_sw_if_out_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 47), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfOutOctets.setStatus('current') sn_sw_if_stats_in_bits_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 48), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsInBitsPerSec.setStatus('current') sn_sw_if_stats_out_bits_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 49), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsOutBitsPerSec.setStatus('current') sn_sw_if_stats_in_pkts_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 50), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsInPktsPerSec.setStatus('current') sn_sw_if_stats_out_pkts_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 51), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsOutPktsPerSec.setStatus('current') sn_sw_if_stats_in_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 52), integer32().subtype(subtypeSpec=value_range_constraint(0, 10000))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsInUtilization.setStatus('current') sn_sw_if_stats_out_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 53), integer32().subtype(subtypeSpec=value_range_constraint(0, 10000))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsOutUtilization.setStatus('current') sn_sw_if_stats_in_kilo_bits_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 54), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsInKiloBitsPerSec.setStatus('current') sn_sw_if_stats_out_kilo_bits_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 55), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsOutKiloBitsPerSec.setStatus('current') sn_sw_if_stats_in_jumbo_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 56), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsInJumboFrames.setStatus('current') sn_sw_if_stats_out_jumbo_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 57), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsOutJumboFrames.setStatus('current') sn_sw_if_info_mirror_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 58), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoMirrorMode.setStatus('current') sn_sw_if_mac_learning_disable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 59), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfMacLearningDisable.setStatus('current') sn_sw_if_info_l2_foward_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 60), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2), ('globalConfig', 3))).clone('globalConfig')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoL2FowardEnable.setStatus('current') sn_sw_if_info_allow_all_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 61), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoAllowAllVlan.setStatus('current') sn_sw_if_info_native_mac_address = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 62), phys_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfInfoNativeMacAddress.setStatus('current') sn_interface_id = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2)) sn_ethernet_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 1)) sn_pos_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 2)) sn_atm_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 3)) sn_virtual_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 4)) sn_loopback_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 5)) sn_gre_tunnel_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 6)) sn_sub_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 7)) sn_mpls_tunnel_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 8)) sn_pvc_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 9)) sn_mgmt_ethernet_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 10)) sn_trunk_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 11)) sn_virtual_mgmt_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 12)) sn6to4_tunnel_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 13)) sn_interface_lookup_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 3)) if mibBuilder.loadTexts: snInterfaceLookupTable.setStatus('current') sn_interface_lookup_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 3, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snInterfaceLookupInterfaceId')) if mibBuilder.loadTexts: snInterfaceLookupEntry.setStatus('current') sn_interface_lookup_interface_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 3, 1, 1), interface_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: snInterfaceLookupInterfaceId.setStatus('current') sn_interface_lookup_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 3, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snInterfaceLookupIfIndex.setStatus('current') sn_if_index_lookup_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 4)) if mibBuilder.loadTexts: snIfIndexLookupTable.setStatus('current') sn_if_index_lookup_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 4, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snIfIndexLookupIfIndex')) if mibBuilder.loadTexts: snIfIndexLookupEntry.setStatus('current') sn_if_index_lookup_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 4, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfIndexLookupIfIndex.setStatus('current') sn_if_index_lookup_interface_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 4, 1, 2), interface_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfIndexLookupInterfaceId.setStatus('current') sn_interface_lookup2_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 7)) if mibBuilder.loadTexts: snInterfaceLookup2Table.setStatus('current') sn_interface_lookup2_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 7, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snInterfaceLookup2InterfaceId')) if mibBuilder.loadTexts: snInterfaceLookup2Entry.setStatus('current') sn_interface_lookup2_interface_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 7, 1, 1), interface_id2()) if mibBuilder.loadTexts: snInterfaceLookup2InterfaceId.setStatus('current') sn_interface_lookup2_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 7, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snInterfaceLookup2IfIndex.setStatus('current') sn_if_index_lookup2_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 8)) if mibBuilder.loadTexts: snIfIndexLookup2Table.setStatus('current') sn_if_index_lookup2_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 8, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snIfIndexLookup2IfIndex')) if mibBuilder.loadTexts: snIfIndexLookup2Entry.setStatus('current') sn_if_index_lookup2_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 8, 1, 1), integer32()) if mibBuilder.loadTexts: snIfIndexLookup2IfIndex.setStatus('current') sn_if_index_lookup2_interface_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 8, 1, 2), interface_id2()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfIndexLookup2InterfaceId.setStatus('current') sn_if_optical_monitoring_info_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6)) if mibBuilder.loadTexts: snIfOpticalMonitoringInfoTable.setStatus('current') sn_if_optical_monitoring_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: snIfOpticalMonitoringInfoEntry.setStatus('current') sn_if_optical_monitoring_temperature = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfOpticalMonitoringTemperature.setStatus('current') sn_if_optical_monitoring_tx_power = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfOpticalMonitoringTxPower.setStatus('current') sn_if_optical_monitoring_rx_power = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfOpticalMonitoringRxPower.setStatus('current') sn_if_optical_monitoring_tx_bias_current = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfOpticalMonitoringTxBiasCurrent.setStatus('current') sn_if_media_info_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9)) if mibBuilder.loadTexts: snIfMediaInfoTable.setStatus('current') sn_if_media_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: snIfMediaInfoEntry.setStatus('current') sn_if_media_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfMediaType.setStatus('current') sn_if_media_vendor_name = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfMediaVendorName.setStatus('current') sn_if_media_version = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfMediaVersion.setStatus('current') sn_if_media_part_number = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfMediaPartNumber.setStatus('current') sn_if_media_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfMediaSerialNumber.setStatus('current') sn_if_optical_lane_monitoring_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10)) if mibBuilder.loadTexts: snIfOpticalLaneMonitoringTable.setStatus('current') sn_if_optical_lane_monitoring_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snIfOpticalLaneMonitoringLane')) if mibBuilder.loadTexts: snIfOpticalLaneMonitoringEntry.setStatus('current') sn_if_optical_lane_monitoring_lane = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1, 1), unsigned32()) if mibBuilder.loadTexts: snIfOpticalLaneMonitoringLane.setStatus('current') sn_if_optical_lane_monitoring_temperature = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfOpticalLaneMonitoringTemperature.setStatus('current') sn_if_optical_lane_monitoring_tx_power = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfOpticalLaneMonitoringTxPower.setStatus('current') sn_if_optical_lane_monitoring_rx_power = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfOpticalLaneMonitoringRxPower.setStatus('current') sn_if_optical_lane_monitoring_tx_bias_current = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfOpticalLaneMonitoringTxBiasCurrent.setStatus('current') brcd_if_egress_counter_info_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11)) if mibBuilder.loadTexts: brcdIfEgressCounterInfoTable.setStatus('current') brcd_if_egress_counter_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'brcdIfEgressCounterIfIndex'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'brcdIfEgressCounterQueueId')) if mibBuilder.loadTexts: brcdIfEgressCounterInfoEntry.setStatus('current') brcd_if_egress_counter_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1, 1), interface_index()) if mibBuilder.loadTexts: brcdIfEgressCounterIfIndex.setStatus('current') brcd_if_egress_counter_queue_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1, 2), integer32()) if mibBuilder.loadTexts: brcdIfEgressCounterQueueId.setStatus('current') brcd_if_egress_counter_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('unicast', 2), ('multicast', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdIfEgressCounterType.setStatus('current') brcd_if_egress_counter_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1, 4), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdIfEgressCounterPkts.setStatus('current') brcd_if_egress_counter_drop_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1, 5), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdIfEgressCounterDropPkts.setStatus('current') sn_fdb_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1)) if mibBuilder.loadTexts: snFdbTable.setStatus('current') sn_fdb_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snFdbStationIndex')) if mibBuilder.loadTexts: snFdbEntry.setStatus('current') sn_fdb_station_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 256))).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdbStationIndex.setStatus('current') sn_fdb_station_addr = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 2), phys_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdbStationAddr.setStatus('current') sn_fdb_station_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdbStationPort.setStatus('current') sn_fdb_v_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdbVLanId.setStatus('current') sn_fdb_station_qos = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('level0', 0), ('level1', 1), ('level2', 2), ('level3', 3), ('level4', 4), ('level5', 5), ('level6', 6), ('level7', 7)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdbStationQos.setStatus('current') sn_fdb_station_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('notSupported', 0), ('host', 1), ('router', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdbStationType.setStatus('current') sn_fdb_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdbRowStatus.setStatus('current') sn_fdb_station_if = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 8), interface_index()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdbStationIf.setStatus('current') sn_port_stp_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1)) if mibBuilder.loadTexts: snPortStpTable.setStatus('deprecated') sn_port_stp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortStpVLanId'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortStpPortNum')) if mibBuilder.loadTexts: snPortStpEntry.setStatus('deprecated') sn_port_stp_v_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortStpVLanId.setStatus('deprecated') sn_port_stp_port_num = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortStpPortNum.setStatus('deprecated') sn_port_stp_port_priority = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortStpPortPriority.setStatus('deprecated') sn_port_stp_path_cost = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortStpPathCost.setStatus('deprecated') sn_port_stp_oper_state = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('notActivated', 0), ('activated', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortStpOperState.setStatus('deprecated') sn_port_stp_port_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))) if mibBuilder.loadTexts: snPortStpPortEnable.setStatus('deprecated') sn_port_stp_port_forward_transitions = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 7), counter32()) if mibBuilder.loadTexts: snPortStpPortForwardTransitions.setStatus('deprecated') sn_port_stp_port_state = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('disabled', 1), ('blocking', 2), ('listening', 3), ('learning', 4), ('forwarding', 5), ('broken', 6), ('preforwarding', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortStpPortState.setStatus('deprecated') sn_port_stp_port_designated_cost = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortStpPortDesignatedCost.setStatus('deprecated') sn_port_stp_port_designated_root = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 10), bridge_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortStpPortDesignatedRoot.setStatus('deprecated') sn_port_stp_port_designated_bridge = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 11), bridge_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortStpPortDesignatedBridge.setStatus('deprecated') sn_port_stp_port_designated_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 12), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortStpPortDesignatedPort.setStatus('deprecated') sn_port_stp_port_admin_rstp = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortStpPortAdminRstp.setStatus('deprecated') sn_port_stp_port_protocol_migration = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortStpPortProtocolMigration.setStatus('deprecated') sn_port_stp_port_admin_edge_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortStpPortAdminEdgePort.setStatus('deprecated') sn_port_stp_port_admin_point_to_point = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortStpPortAdminPointToPoint.setStatus('deprecated') sn_if_stp_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2)) if mibBuilder.loadTexts: snIfStpTable.setStatus('current') sn_if_stp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snIfStpVLanId'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snIfStpPortNum')) if mibBuilder.loadTexts: snIfStpEntry.setStatus('current') sn_if_stp_v_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpVLanId.setStatus('current') sn_if_stp_port_num = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 2), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpPortNum.setStatus('current') sn_if_stp_port_priority = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snIfStpPortPriority.setStatus('current') sn_if_stp_cfg_path_cost = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 200000000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snIfStpCfgPathCost.setStatus('current') sn_if_stp_oper_state = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('notActivated', 0), ('activated', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpOperState.setStatus('current') sn_if_stp_port_state = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('disabled', 1), ('blocking', 2), ('listening', 3), ('learning', 4), ('forwarding', 5), ('broken', 6), ('preforwarding', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpPortState.setStatus('current') sn_if_stp_port_designated_cost = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpPortDesignatedCost.setStatus('current') sn_if_stp_port_designated_root = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 10), bridge_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpPortDesignatedRoot.setStatus('current') sn_if_stp_port_designated_bridge = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 11), bridge_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpPortDesignatedBridge.setStatus('current') sn_if_stp_port_designated_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 12), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpPortDesignatedPort.setStatus('current') sn_if_stp_port_admin_rstp = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 13), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snIfStpPortAdminRstp.setStatus('current') sn_if_stp_port_protocol_migration = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 14), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snIfStpPortProtocolMigration.setStatus('current') sn_if_stp_port_admin_edge_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 15), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snIfStpPortAdminEdgePort.setStatus('current') sn_if_stp_port_admin_point_to_point = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 16), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snIfStpPortAdminPointToPoint.setStatus('current') sn_if_stp_oper_path_cost = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 17), integer32().subtype(subtypeSpec=value_range_constraint(0, 200000000))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpOperPathCost.setStatus('current') sn_if_stp_port_role = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5))).clone(namedValues=named_values(('unknown', 0), ('alternate', 1), ('root', 2), ('designated', 3), ('backupRole', 4), ('disabledRole', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpPortRole.setStatus('current') sn_if_stp_bpdu_transmitted = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 19), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpBPDUTransmitted.setStatus('current') sn_if_stp_bpdu_received = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 20), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpBPDUReceived.setStatus('current') sn_if_rstp_config_bpdu_received = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 21), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfRstpConfigBPDUReceived.setStatus('current') sn_if_rstp_tcnbpdu_received = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 22), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfRstpTCNBPDUReceived.setStatus('current') sn_if_rstp_config_bpdu_transmitted = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 23), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfRstpConfigBPDUTransmitted.setStatus('current') sn_if_rstp_tcnbpdu_transmitted = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 24), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfRstpTCNBPDUTransmitted.setStatus('current') sn_trunk_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 1)) if mibBuilder.loadTexts: snTrunkTable.setStatus('current') sn_trunk_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snTrunkIndex')) if mibBuilder.loadTexts: snTrunkEntry.setStatus('current') sn_trunk_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snTrunkIndex.setStatus('current') sn_trunk_port_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 1, 1, 2), port_mask()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snTrunkPortMask.setStatus('current') sn_trunk_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('switch', 1), ('server', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snTrunkType.setStatus('current') sn_ms_trunk_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2)) if mibBuilder.loadTexts: snMSTrunkTable.setStatus('current') sn_ms_trunk_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snMSTrunkPortIndex')) if mibBuilder.loadTexts: snMSTrunkEntry.setStatus('current') sn_ms_trunk_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snMSTrunkPortIndex.setStatus('current') sn_ms_trunk_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2, 1, 2), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMSTrunkPortList.setStatus('current') sn_ms_trunk_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('switch', 1), ('server', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMSTrunkType.setStatus('current') sn_ms_trunk_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('invalid', 1), ('valid', 2), ('delete', 3), ('create', 4), ('modify', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMSTrunkRowStatus.setStatus('current') sn_ms_trunk_if_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3)) if mibBuilder.loadTexts: snMSTrunkIfTable.setStatus('current') sn_ms_trunk_if_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snMSTrunkIfIndex')) if mibBuilder.loadTexts: snMSTrunkIfEntry.setStatus('current') sn_ms_trunk_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snMSTrunkIfIndex.setStatus('current') sn_ms_trunk_if_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3, 1, 2), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMSTrunkIfList.setStatus('current') sn_ms_trunk_if_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('switch', 1), ('server', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMSTrunkIfType.setStatus('current') sn_ms_trunk_if_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('invalid', 1), ('valid', 2), ('delete', 3), ('create', 4), ('modify', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMSTrunkIfRowStatus.setStatus('current') sn_sw_summary_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 7, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwSummaryMode.setStatus('current') sn_dhcp_gateway_list_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8, 1)) if mibBuilder.loadTexts: snDhcpGatewayListTable.setStatus('current') sn_dhcp_gateway_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snDhcpGatewayListId')) if mibBuilder.loadTexts: snDhcpGatewayListEntry.setStatus('current') sn_dhcp_gateway_list_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: snDhcpGatewayListId.setStatus('current') sn_dhcp_gateway_list_addr_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8, 1, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(4, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snDhcpGatewayListAddrList.setStatus('current') sn_dhcp_gateway_list_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snDhcpGatewayListRowStatus.setStatus('current') sn_dns_domain_name = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 9, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snDnsDomainName.setStatus('current') sn_dns_gateway_ip_addr_list = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 9, 2), octet_string().subtype(subtypeSpec=value_size_constraint(16, 16)).setFixedLength(16)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snDnsGatewayIpAddrList.setStatus('current') sn_mac_filter_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1)) if mibBuilder.loadTexts: snMacFilterTable.setStatus('current') sn_mac_filter_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snMacFilterIndex')) if mibBuilder.loadTexts: snMacFilterEntry.setStatus('current') sn_mac_filter_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snMacFilterIndex.setStatus('current') sn_mac_filter_action = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('deny', 0), ('permit', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterAction.setStatus('current') sn_mac_filter_source_mac = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 3), mac_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterSourceMac.setStatus('current') sn_mac_filter_source_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 4), mac_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterSourceMask.setStatus('current') sn_mac_filter_dest_mac = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 5), mac_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterDestMac.setStatus('current') sn_mac_filter_dest_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 6), mac_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterDestMask.setStatus('current') sn_mac_filter_operator = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('equal', 0), ('notEqual', 1), ('less', 2), ('greater', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterOperator.setStatus('current') sn_mac_filter_frame_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('notUsed', 0), ('ethernet', 1), ('llc', 2), ('snap', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterFrameType.setStatus('current') sn_mac_filter_frame_type_num = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterFrameTypeNum.setStatus('current') sn_mac_filter_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('invalid', 1), ('valid', 2), ('delete', 3), ('create', 4), ('modify', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterRowStatus.setStatus('current') sn_mac_filter_port_access_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 2)) if mibBuilder.loadTexts: snMacFilterPortAccessTable.setStatus('deprecated') sn_mac_filter_port_access_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snMacFilterPortAccessPortIndex')) if mibBuilder.loadTexts: snMacFilterPortAccessEntry.setStatus('deprecated') sn_mac_filter_port_access_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 3900))).setMaxAccess('readonly') if mibBuilder.loadTexts: snMacFilterPortAccessPortIndex.setStatus('deprecated') sn_mac_filter_port_access_filters = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 2, 1, 2), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterPortAccessFilters.setStatus('deprecated') sn_mac_filter_port_access_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('invalid', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterPortAccessRowStatus.setStatus('deprecated') sn_mac_filter_if_access_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 3)) if mibBuilder.loadTexts: snMacFilterIfAccessTable.setStatus('current') sn_mac_filter_if_access_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 3, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snMacFilterIfAccessPortIndex')) if mibBuilder.loadTexts: snMacFilterIfAccessEntry.setStatus('current') sn_mac_filter_if_access_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 3, 1, 1), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: snMacFilterIfAccessPortIndex.setStatus('current') sn_mac_filter_if_access_filters = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 3, 1, 2), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterIfAccessFilters.setStatus('current') sn_mac_filter_if_access_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('invalid', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterIfAccessRowStatus.setStatus('current') sn_ntp_general = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1)) sn_ntp_poll_interval = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(1800)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNTPPollInterval.setStatus('current') sn_ntp_time_zone = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45))).clone(namedValues=named_values(('alaska', 0), ('aleutian', 1), ('arizona', 2), ('central', 3), ('eastIndiana', 4), ('eastern', 5), ('hawaii', 6), ('michigan', 7), ('mountain', 8), ('pacific', 9), ('samoa', 10), ('gmtPlus1200', 11), ('gmtPlus1100', 12), ('gmtPlus1000', 13), ('gmtPlus0900', 14), ('gmtPlus0800', 15), ('gmtPlus0700', 16), ('gmtPlus0600', 17), ('gmtPlus0500', 18), ('gmtPlus0400', 19), ('gmtPlus0300', 20), ('gmtPlus0200', 21), ('gmtPlus0100', 22), ('gmt', 23), ('gmtMinus0100', 24), ('gmtMinus0200', 25), ('gmtMinus0300', 26), ('gmtMinus0400', 27), ('gmtMinus0500', 28), ('gmtMinus0600', 29), ('gmtMinus0700', 30), ('gmtMinus0800', 31), ('gmtMinus0900', 32), ('gmtMinus1000', 33), ('gmtMinus1100', 34), ('gmtMinus1200', 35), ('gmtPlus1130', 36), ('gmtPlus1030', 37), ('gmtPlus0930', 38), ('gmtPlus0630', 39), ('gmtPlus0530', 40), ('gmtPlus0430', 41), ('gmtPlus0330', 42), ('gmtMinus0330', 43), ('gmtMinus0830', 44), ('gmtMinus0930', 45))).clone('gmt')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNTPTimeZone.setStatus('current') sn_ntp_summer_time_enable = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNTPSummerTimeEnable.setStatus('current') sn_ntp_system_clock = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(7, 7)).setFixedLength(7)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNTPSystemClock.setStatus('current') sn_ntp_sync = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('other', 1), ('synchronize', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNTPSync.setStatus('current') sn_ntp_server_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 2)) if mibBuilder.loadTexts: snNTPServerTable.setStatus('current') sn_ntp_server_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snNTPServerIp')) if mibBuilder.loadTexts: snNTPServerEntry.setStatus('current') sn_ntp_server_ip = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 2, 1, 1), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snNTPServerIp.setStatus('current') sn_ntp_server_version = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 2, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 4)).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNTPServerVersion.setStatus('current') sn_ntp_server_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNTPServerRowStatus.setStatus('current') sn_radius_general = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1)) sn_radius_snmp_access = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readonly') if mibBuilder.loadTexts: snRadiusSNMPAccess.setStatus('current') sn_radius_enable_telnet_auth = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusEnableTelnetAuth.setStatus('current') sn_radius_retransmit = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 5)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusRetransmit.setStatus('current') sn_radius_time_out = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 60)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusTimeOut.setStatus('current') sn_radius_dead_time = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 5)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusDeadTime.setStatus('current') sn_radius_key = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusKey.setStatus('current') sn_radius_login_method = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 7), octet_string().subtype(subtypeSpec=value_size_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusLoginMethod.setStatus('current') sn_radius_enable_method = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 8), octet_string().subtype(subtypeSpec=value_size_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusEnableMethod.setStatus('current') sn_radius_web_server_method = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 9), octet_string().subtype(subtypeSpec=value_size_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusWebServerMethod.setStatus('current') sn_radius_snmp_server_method = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 10), octet_string().subtype(subtypeSpec=value_size_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusSNMPServerMethod.setStatus('current') sn_radius_server_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2)) if mibBuilder.loadTexts: snRadiusServerTable.setStatus('current') sn_radius_server_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snRadiusServerIp')) if mibBuilder.loadTexts: snRadiusServerEntry.setStatus('current') sn_radius_server_ip = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 1), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snRadiusServerIp.setStatus('current') sn_radius_server_auth_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 2), integer32().clone(1812)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusServerAuthPort.setStatus('current') sn_radius_server_acct_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 3), integer32().clone(1813)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusServerAcctPort.setStatus('current') sn_radius_server_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusServerRowStatus.setStatus('current') sn_radius_server_row_key = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusServerRowKey.setStatus('current') sn_radius_server_usage = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('default', 1), ('authenticationOnly', 2), ('authorizationOnly', 3), ('accountingOnly', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusServerUsage.setStatus('current') sn_tacacs_general = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1)) sn_tacacs_retransmit = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 5)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snTacacsRetransmit.setStatus('current') sn_tacacs_time_out = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snTacacsTimeOut.setStatus('current') sn_tacacs_dead_time = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 5)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snTacacsDeadTime.setStatus('current') sn_tacacs_key = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1, 4), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snTacacsKey.setStatus('current') sn_tacacs_snmp_access = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readonly') if mibBuilder.loadTexts: snTacacsSNMPAccess.setStatus('current') sn_tacacs_server_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2)) if mibBuilder.loadTexts: snTacacsServerTable.setStatus('current') sn_tacacs_server_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snTacacsServerIp')) if mibBuilder.loadTexts: snTacacsServerEntry.setStatus('current') sn_tacacs_server_ip = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1, 1), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snTacacsServerIp.setStatus('current') sn_tacacs_server_auth_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1, 2), integer32().clone(49)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snTacacsServerAuthPort.setStatus('current') sn_tacacs_server_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snTacacsServerRowStatus.setStatus('current') sn_tacacs_server_row_key = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1, 4), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snTacacsServerRowKey.setStatus('current') sn_tacacs_server_usage = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('default', 1), ('authenticationOnly', 2), ('authorizationOnly', 3), ('accountingOnly', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snTacacsServerUsage.setStatus('current') sn_qos_profile_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1)) if mibBuilder.loadTexts: snQosProfileTable.setStatus('current') sn_qos_profile_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snQosProfileIndex')) if mibBuilder.loadTexts: snQosProfileEntry.setStatus('current') sn_qos_profile_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: snQosProfileIndex.setStatus('current') sn_qos_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snQosProfileName.setStatus('current') sn_qos_profile_requested_bandwidth = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snQosProfileRequestedBandwidth.setStatus('current') sn_qos_profile_calculated_bandwidth = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly') if mibBuilder.loadTexts: snQosProfileCalculatedBandwidth.setStatus('current') sn_qos_bind_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 2)) if mibBuilder.loadTexts: snQosBindTable.setStatus('current') sn_qos_bind_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snQosBindIndex')) if mibBuilder.loadTexts: snQosBindEntry.setStatus('current') sn_qos_bind_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: snQosBindIndex.setStatus('current') sn_qos_bind_priority = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 2, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snQosBindPriority.setStatus('current') sn_qos_bind_profile_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snQosBindProfileIndex.setStatus('current') sn_dos_attack = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3)) sn_dos_attack_global = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 1)) sn_dos_attack_icmp_drop_count = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snDosAttackICMPDropCount.setStatus('current') sn_dos_attack_icmp_block_count = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snDosAttackICMPBlockCount.setStatus('current') sn_dos_attack_syn_drop_count = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snDosAttackSYNDropCount.setStatus('current') sn_dos_attack_syn_block_count = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snDosAttackSYNBlockCount.setStatus('current') sn_dos_attack_port_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2)) if mibBuilder.loadTexts: snDosAttackPortTable.setStatus('current') sn_dos_attack_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snDosAttackPort')) if mibBuilder.loadTexts: snDosAttackPortEntry.setStatus('current') sn_dos_attack_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snDosAttackPort.setStatus('current') sn_dos_attack_port_icmp_drop_count = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snDosAttackPortICMPDropCount.setStatus('current') sn_dos_attack_port_icmp_block_count = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snDosAttackPortICMPBlockCount.setStatus('current') sn_dos_attack_port_syn_drop_count = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snDosAttackPortSYNDropCount.setStatus('current') sn_dos_attack_port_syn_block_count = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snDosAttackPortSYNBlockCount.setStatus('current') sn_authentication = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 1)) sn_authorization = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 2)) sn_accounting = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 3)) sn_authorization_command_methods = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 2, 1), octet_string().subtype(subtypeSpec=value_size_constraint(0, 3))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snAuthorizationCommandMethods.setStatus('current') sn_authorization_command_level = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 2, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 5))).clone(namedValues=named_values(('level0', 0), ('level4', 4), ('level5', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snAuthorizationCommandLevel.setStatus('current') sn_authorization_exec = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 2, 3), octet_string().subtype(subtypeSpec=value_size_constraint(0, 3))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snAuthorizationExec.setStatus('current') sn_accounting_command_methods = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 3, 1), octet_string().subtype(subtypeSpec=value_size_constraint(0, 3))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snAccountingCommandMethods.setStatus('current') sn_accounting_command_level = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 3, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 5))).clone(namedValues=named_values(('level0', 0), ('level4', 4), ('level5', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snAccountingCommandLevel.setStatus('current') sn_accounting_exec = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 3, 3), octet_string().subtype(subtypeSpec=value_size_constraint(0, 3))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snAccountingExec.setStatus('current') sn_accounting_system = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 3, 4), octet_string().subtype(subtypeSpec=value_size_constraint(0, 3))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snAccountingSystem.setStatus('current') sn_net_flow_glb = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1)) sn_net_flow_gbl_enable = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowGblEnable.setStatus('current') sn_net_flow_gbl_version = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 5))).clone(namedValues=named_values(('versionNotSet', 0), ('version1', 1), ('version5', 5))).clone('version5')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowGblVersion.setStatus('current') sn_net_flow_gbl_protocol_disable = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowGblProtocolDisable.setStatus('current') sn_net_flow_gbl_active_timeout = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1, 4), integer32().clone(60)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowGblActiveTimeout.setStatus('current') sn_net_flow_gbl_inactive_timeout = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1, 5), integer32().clone(60)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowGblInactiveTimeout.setStatus('current') sn_net_flow_collector_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2)) if mibBuilder.loadTexts: snNetFlowCollectorTable.setStatus('current') sn_net_flow_collector_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snNetFlowCollectorIndex')) if mibBuilder.loadTexts: snNetFlowCollectorEntry.setStatus('current') sn_net_flow_collector_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 10))).setMaxAccess('readonly') if mibBuilder.loadTexts: snNetFlowCollectorIndex.setStatus('current') sn_net_flow_collector_ip = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1, 2), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowCollectorIp.setStatus('current') sn_net_flow_collector_udp_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowCollectorUdpPort.setStatus('current') sn_net_flow_collector_source_interface = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1, 4), interface_index()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowCollectorSourceInterface.setStatus('current') sn_net_flow_collector_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowCollectorRowStatus.setStatus('current') sn_net_flow_aggregation_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3)) if mibBuilder.loadTexts: snNetFlowAggregationTable.setStatus('current') sn_net_flow_aggregation_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snNetFlowAggregationIndex')) if mibBuilder.loadTexts: snNetFlowAggregationEntry.setStatus('current') sn_net_flow_aggregation_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('as', 1), ('protocolPort', 2), ('destPrefix', 3), ('sourcePrefix', 4), ('prefix', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snNetFlowAggregationIndex.setStatus('current') sn_net_flow_aggregation_ip = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 2), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowAggregationIp.setStatus('current') sn_net_flow_aggregation_udp_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowAggregationUdpPort.setStatus('current') sn_net_flow_aggregation_source_interface = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 4), interface_index()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowAggregationSourceInterface.setStatus('current') sn_net_flow_aggregation_number_of_cache_entries = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 5), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowAggregationNumberOfCacheEntries.setStatus('current') sn_net_flow_aggregation_active_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 6), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowAggregationActiveTimeout.setStatus('current') sn_net_flow_aggregation_inactive_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowAggregationInactiveTimeout.setStatus('current') sn_net_flow_aggregation_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowAggregationEnable.setStatus('current') sn_net_flow_aggregation_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowAggregationRowStatus.setStatus('current') sn_net_flow_if_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 4)) if mibBuilder.loadTexts: snNetFlowIfTable.setStatus('current') sn_net_flow_if_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 4, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snNetFlowIfIndex')) if mibBuilder.loadTexts: snNetFlowIfEntry.setStatus('current') sn_net_flow_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 4, 1, 1), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: snNetFlowIfIndex.setStatus('current') sn_net_flow_if_flow_switching = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 4, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowIfFlowSwitching.setStatus('current') sn_s_flow_glb = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 1)) sn_sflow_collector_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2)) if mibBuilder.loadTexts: snSflowCollectorTable.setStatus('current') sn_sflow_collector_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snSflowCollectorIndex')) if mibBuilder.loadTexts: snSflowCollectorEntry.setStatus('current') sn_sflow_collector_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSflowCollectorIndex.setStatus('current') sn_sflow_collector_ip = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2, 1, 2), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSflowCollectorIP.setStatus('current') sn_sflow_collector_udp_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSflowCollectorUDPPort.setStatus('current') sn_sflow_collector_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5))).clone(namedValues=named_values(('noSuch', 0), ('other', 1), ('valid', 2), ('delete', 3), ('create', 4), ('modify', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSflowCollectorRowStatus.setStatus('current') sn_fdp_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1)) sn_fdp_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1)) sn_fdp_cache = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2)) sn_fdp_global = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 3)) sn_fdp_cached_addr = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4)) sn_fdp_interface_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1, 1)) if mibBuilder.loadTexts: snFdpInterfaceTable.setStatus('current') sn_fdp_interface_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snFdpInterfaceIfIndex')) if mibBuilder.loadTexts: snFdpInterfaceEntry.setStatus('current') sn_fdp_interface_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1, 1, 1, 1), interface_index()) if mibBuilder.loadTexts: snFdpInterfaceIfIndex.setStatus('current') sn_fdp_interface_fdp_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1))).clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdpInterfaceFdpEnable.setStatus('current') sn_fdp_interface_cdp_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1))).clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdpInterfaceCdpEnable.setStatus('current') sn_fdp_cache_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1)) if mibBuilder.loadTexts: snFdpCacheTable.setStatus('current') sn_fdp_cache_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snFdpCacheIfIndex'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snFdpCacheDeviceIndex')) if mibBuilder.loadTexts: snFdpCacheEntry.setStatus('current') sn_fdp_cache_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 1), interface_index()) if mibBuilder.loadTexts: snFdpCacheIfIndex.setStatus('current') sn_fdp_cache_device_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 2), integer32()) if mibBuilder.loadTexts: snFdpCacheDeviceIndex.setStatus('current') sn_fdp_cache_device_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 3), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCacheDeviceId.setStatus('current') sn_fdp_cache_address_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('ip', 1), ('ipx', 2), ('appletalk', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCacheAddressType.setStatus('current') sn_fdp_cache_address = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 5), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCacheAddress.setStatus('current') sn_fdp_cache_version = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 6), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCacheVersion.setStatus('current') sn_fdp_cache_device_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 7), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCacheDevicePort.setStatus('current') sn_fdp_cache_platform = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 8), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCachePlatform.setStatus('current') sn_fdp_cache_capabilities = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 9), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCacheCapabilities.setStatus('current') sn_fdp_cache_vendor_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('fdp', 1), ('cdp', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCacheVendorId.setStatus('current') sn_fdp_cache_is_aggregate_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCacheIsAggregateVlan.setStatus('current') sn_fdp_cache_tag_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 12), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCacheTagType.setStatus('current') sn_fdp_cache_port_vlan_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 13), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCachePortVlanMask.setStatus('current') sn_fdp_cache_port_tag_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('untagged', 1), ('tagged', 2), ('dual', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCachePortTagMode.setStatus('current') sn_fdp_cache_default_traffice_vlan_id_for_dual_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 15), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCacheDefaultTrafficeVlanIdForDualMode.setStatus('current') sn_fdp_global_run = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 3, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1))).clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdpGlobalRun.setStatus('current') sn_fdp_global_message_interval = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 3, 2), integer32().subtype(subtypeSpec=value_range_constraint(5, 900)).clone(60)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdpGlobalMessageInterval.setStatus('current') sn_fdp_global_hold_time = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 3, 3), integer32().subtype(subtypeSpec=value_range_constraint(10, 255)).clone(180)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdpGlobalHoldTime.setStatus('current') sn_fdp_global_cdp_run = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 3, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1))).clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdpGlobalCdpRun.setStatus('current') sn_fdp_cached_address_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1)) if mibBuilder.loadTexts: snFdpCachedAddressTable.setStatus('current') sn_fdp_cached_address_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snFdpCachedAddrIfIndex'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snFdpCachedAddrDeviceIndex'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snFdpCachedAddrDeviceAddrEntryIndex')) if mibBuilder.loadTexts: snFdpCachedAddressEntry.setStatus('current') sn_fdp_cached_addr_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1, 1), interface_index()) if mibBuilder.loadTexts: snFdpCachedAddrIfIndex.setStatus('current') sn_fdp_cached_addr_device_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1, 2), integer32()) if mibBuilder.loadTexts: snFdpCachedAddrDeviceIndex.setStatus('current') sn_fdp_cached_addr_device_addr_entry_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1, 3), integer32()) if mibBuilder.loadTexts: snFdpCachedAddrDeviceAddrEntryIndex.setStatus('current') sn_fdp_cached_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('ip', 1), ('ipx', 2), ('appletalk', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCachedAddrType.setStatus('current') sn_fdp_cached_addr_value = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1, 5), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCachedAddrValue.setStatus('current') sn_mac_security = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1)) sn_port_mac_security = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1)) sn_port_mac_global_security = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 2)) sn_port_mac_security_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1)) if mibBuilder.loadTexts: snPortMacSecurityTable.setStatus('current') sn_port_mac_security_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMacSecurityIfIndex'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMacSecurityResource'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMacSecurityQueryIndex')) if mibBuilder.loadTexts: snPortMacSecurityEntry.setStatus('current') sn_port_mac_security_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 1), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityIfIndex.setStatus('current') sn_port_mac_security_resource = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('local', 1), ('shared', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityResource.setStatus('current') sn_port_mac_security_query_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityQueryIndex.setStatus('current') sn_port_mac_security_mac = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 4), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityMAC.setStatus('current') sn_port_mac_security_age_left = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 5), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityAgeLeft.setStatus('current') sn_port_mac_security_shutdown_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('up', 1), ('down', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityShutdownStatus.setStatus('current') sn_port_mac_security_shutdown_time_left = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 7), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityShutdownTimeLeft.setStatus('current') sn_port_mac_security_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityVlanId.setStatus('current') sn_port_mac_security_module_stat_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2)) if mibBuilder.loadTexts: snPortMacSecurityModuleStatTable.setStatus('current') sn_port_mac_security_module_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMacSecurityModuleStatSlotNum')) if mibBuilder.loadTexts: snPortMacSecurityModuleStatEntry.setStatus('current') sn_port_mac_security_module_stat_slot_num = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityModuleStatSlotNum.setStatus('current') sn_port_mac_security_module_stat_total_security_ports = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1, 2), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityModuleStatTotalSecurityPorts.setStatus('current') sn_port_mac_security_module_stat_total_ma_cs = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityModuleStatTotalMACs.setStatus('current') sn_port_mac_security_module_stat_violation_counts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1, 4), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityModuleStatViolationCounts.setStatus('current') sn_port_mac_security_module_stat_total_shutdown_ports = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1, 5), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityModuleStatTotalShutdownPorts.setStatus('current') sn_port_mac_security_intf_content_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3)) if mibBuilder.loadTexts: snPortMacSecurityIntfContentTable.setStatus('current') sn_port_mac_security_intf_content_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMacSecurityIntfContentIfIndex')) if mibBuilder.loadTexts: snPortMacSecurityIntfContentEntry.setStatus('current') sn_port_mac_security_intf_content_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 1), interface_index()) if mibBuilder.loadTexts: snPortMacSecurityIntfContentIfIndex.setStatus('current') sn_port_mac_security_intf_content_security = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMacSecurityIntfContentSecurity.setStatus('current') sn_port_mac_security_intf_content_violation_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('shutdown', 0), ('restrict', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMacSecurityIntfContentViolationType.setStatus('current') sn_port_mac_security_intf_content_shutdown_time = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1440))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMacSecurityIntfContentShutdownTime.setStatus('current') sn_port_mac_security_intf_content_shutdown_time_left = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 5), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityIntfContentShutdownTimeLeft.setStatus('current') sn_port_mac_security_intf_content_age_out_time = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1440))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMacSecurityIntfContentAgeOutTime.setStatus('current') sn_port_mac_security_intf_content_max_locked_mac_allowed = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 7), unsigned32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMacSecurityIntfContentMaxLockedMacAllowed.setStatus('current') sn_port_mac_security_intf_content_total_ma_cs = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 8), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityIntfContentTotalMACs.setStatus('current') sn_port_mac_security_intf_content_violation_counts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 9), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityIntfContentViolationCounts.setStatus('current') sn_port_mac_security_intf_mac_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4)) if mibBuilder.loadTexts: snPortMacSecurityIntfMacTable.setStatus('current') sn_port_mac_security_intf_mac_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMacSecurityIntfMacIfIndex'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMacSecurityIntfMacAddress')) if mibBuilder.loadTexts: snPortMacSecurityIntfMacEntry.setStatus('current') sn_port_mac_security_intf_mac_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityIntfMacIfIndex.setStatus('current') sn_port_mac_security_intf_mac_address = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4, 1, 2), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityIntfMacAddress.setStatus('current') sn_port_mac_security_intf_mac_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMacSecurityIntfMacVlanId.setStatus('current') sn_port_mac_security_intf_mac_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMacSecurityIntfMacRowStatus.setStatus('current') sn_port_mac_security_autosave_mac_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5)) if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacTable.setStatus('current') sn_port_mac_security_autosave_mac_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMacSecurityAutosaveMacIfIndex'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMacSecurityAutosaveMacResource'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMacSecurityAutosaveMacQueryIndex')) if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacEntry.setStatus('current') sn_port_mac_security_autosave_mac_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacIfIndex.setStatus('current') sn_port_mac_security_autosave_mac_resource = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('local', 1), ('shared', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacResource.setStatus('current') sn_port_mac_security_autosave_mac_query_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5, 1, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacQueryIndex.setStatus('current') sn_port_mac_security_autosave_mac_address = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5, 1, 4), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacAddress.setStatus('current') sn_port_mac_global_security_feature = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMacGlobalSecurityFeature.setStatus('current') sn_port_mac_global_security_age_out_time = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 2, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1440))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMacGlobalSecurityAgeOutTime.setStatus('current') sn_port_mac_global_security_autosave = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 2, 3), unsigned32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMacGlobalSecurityAutosave.setStatus('current') sn_port_monitor_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 25, 1)) if mibBuilder.loadTexts: snPortMonitorTable.setStatus('current') sn_port_monitor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 25, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMonitorIfIndex')) if mibBuilder.loadTexts: snPortMonitorEntry.setStatus('current') sn_port_monitor_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 25, 1, 1, 1), interface_index()) if mibBuilder.loadTexts: snPortMonitorIfIndex.setStatus('current') sn_port_monitor_mirror_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 25, 1, 1, 2), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMonitorMirrorList.setStatus('current') mibBuilder.exportSymbols('FOUNDRY-SN-SWITCH-GROUP-MIB', snPortMacSecurityEntry=snPortMacSecurityEntry, snMSTrunkIfList=snMSTrunkIfList, snSwIfInfoMediaType=snSwIfInfoMediaType, snSwGlobalStpMode=snSwGlobalStpMode, Timeout=Timeout, snPortMonitorTable=snPortMonitorTable, snSwSummaryMode=snSwSummaryMode, snSwIfInOctets=snSwIfInOctets, snVLanByPortCfgStpRootPort=snVLanByPortCfgStpRootPort, snRadiusGeneral=snRadiusGeneral, snMacFilterPortAccessEntry=snMacFilterPortAccessEntry, snRadius=snRadius, snPortStpEntry=snPortStpEntry, snVLanByPortStpProtocolSpecification=snVLanByPortStpProtocolSpecification, snVLanByPortPortMask=snVLanByPortPortMask, snVLanByPortMemberEntry=snVLanByPortMemberEntry, snVLanByPortCfgTransparentHwFlooding=snVLanByPortCfgTransparentHwFlooding, snVLanByIpSubnetEntry=snVLanByIpSubnetEntry, snDhcpGatewayListId=snDhcpGatewayListId, snVLanByPortStpGroupMaxAge=snVLanByPortStpGroupMaxAge, brcdVlanExtStatsInOctets=brcdVlanExtStatsInOctets, snVLanByProtocolExcludePortList=snVLanByProtocolExcludePortList, snRadiusServerIp=snRadiusServerIp, snMacFilterIndex=snMacFilterIndex, FdryVlanIdOrNoneTC=FdryVlanIdOrNoneTC, snVLanByIpxNetRouterIntf=snVLanByIpxNetRouterIntf, snVLanByIpxNetExcludeMask=snVLanByIpxNetExcludeMask, snTacacsDeadTime=snTacacsDeadTime, snMSTrunkTable=snMSTrunkTable, brcdVlanExtStatsInSwitchedOctets=brcdVlanExtStatsInSwitchedOctets, snRadiusServerRowKey=snRadiusServerRowKey, snVLanByIpxNetVLanName=snVLanByIpxNetVLanName, snPortMacSecurityIntfContentTotalMACs=snPortMacSecurityIntfContentTotalMACs, snSwPortInfoPortQos=snSwPortInfoPortQos, snRadiusServerUsage=snRadiusServerUsage, snVLanByIpSubnetIpAddress=snVLanByIpSubnetIpAddress, snSwPortStatsInBcastFrames=snSwPortStatsInBcastFrames, snTacacsGeneral=snTacacsGeneral, snMSTrunkIfEntry=snMSTrunkIfEntry, snPortStpPortDesignatedRoot=snPortStpPortDesignatedRoot, snSwIfGBICStatus=snSwIfGBICStatus, snSflowCollectorIndex=snSflowCollectorIndex, snFdbStationIndex=snFdbStationIndex, brcdIfEgressCounterInfoEntry=brcdIfEgressCounterInfoEntry, snIfRstpTCNBPDUTransmitted=snIfRstpTCNBPDUTransmitted, snNetFlowGblActiveTimeout=snNetFlowGblActiveTimeout, snSflowCollectorUDPPort=snSflowCollectorUDPPort, snSwPortStatsMultiColliFrames=snSwPortStatsMultiColliFrames, snVLanByPortCfgStpGroupHelloTime=snVLanByPortCfgStpGroupHelloTime, snVLanByPortStpHoldTime=snVLanByPortStpHoldTime, fdryDaiMIB=fdryDaiMIB, snSwIfStatsTxColliFrames=snSwIfStatsTxColliFrames, snAuthentication=snAuthentication, snNetFlowIfTable=snNetFlowIfTable, snNetFlowAggregationEnable=snNetFlowAggregationEnable, sn6to4TunnelInterface=sn6to4TunnelInterface, snPortMacSecurityAgeLeft=snPortMacSecurityAgeLeft, brcdVlanExtStatsInPkts=brcdVlanExtStatsInPkts, snSwPortInfoPhysAddress=snSwPortInfoPhysAddress, snQosProfileEntry=snQosProfileEntry, snMacFilterIfAccessEntry=snMacFilterIfAccessEntry, snSwPortVlanId=snSwPortVlanId, snSwPortStatsOutUtilization=snSwPortStatsOutUtilization, PhysAddress=PhysAddress, snRadiusServerAuthPort=snRadiusServerAuthPort, snVLanCAR=snVLanCAR, snSwPortStatsOutJumboFrames=snSwPortStatsOutJumboFrames, snSwIfStatsOutFrames=snSwIfStatsOutFrames, snSwIfInfoAllowAllVlan=snSwIfInfoAllowAllVlan, snSwPortStatsFCSErrors=snSwPortStatsFCSErrors, snDhcpGatewayListRowStatus=snDhcpGatewayListRowStatus, snSwPortStatsFrameTooShorts=snSwPortStatsFrameTooShorts, snSwIfInfoPortQos=snSwIfInfoPortQos, snNTPSummerTimeEnable=snNTPSummerTimeEnable, snNTPSync=snNTPSync, snSSH=snSSH, snSwPortStatsOutBitsPerSec=snSwPortStatsOutBitsPerSec, snVLanByPortStpMaxAge=snVLanByPortStpMaxAge, snSwPortName=snSwPortName, snVLanByIpxNetChassisDynamicMask=snVLanByIpxNetChassisDynamicMask, snVirtualMgmtInterface=snVirtualMgmtInterface, snSwIfStatsOutKiloBitsPerSec=snSwIfStatsOutKiloBitsPerSec, snSwViolatorIfIndex=snSwViolatorIfIndex, snVLanByPortCfgStpGroupMaxAge=snVLanByPortCfgStpGroupMaxAge, snSwIfStatsOutUtilization=snSwIfStatsOutUtilization, snVLanByProtocolRouterIntf=snVLanByProtocolRouterIntf, snSwIfStatsInPktsPerSec=snSwIfStatsInPktsPerSec, snVLanByPortCfgRouterIntf=snVLanByPortCfgRouterIntf, snTrunkInfo=snTrunkInfo, snPortStpPortAdminRstp=snPortStpPortAdminRstp, brcdIfEgressCounterPkts=brcdIfEgressCounterPkts, snMacFilterPortAccessFilters=snMacFilterPortAccessFilters, snVLanByATCableIndex=snVLanByATCableIndex, snQosBindEntry=snQosBindEntry, snVLanByPortCfgStpTopChanges=snVLanByPortCfgStpTopChanges, snNetFlowGlb=snNetFlowGlb, snMacAuth=snMacAuth, snPortMacSecurityShutdownStatus=snPortMacSecurityShutdownStatus, snNetFlowIfIndex=snNetFlowIfIndex, snSwIfStatsOutPktsPerSec=snSwIfStatsOutPktsPerSec, snVLanByIpSubnetRouterIntf=snVLanByIpSubnetRouterIntf, snSwPortInfoAdminStatus=snSwPortInfoAdminStatus, snMacFilterEntry=snMacFilterEntry, snSwIfInfoTable=snSwIfInfoTable, snSwEnableBridgeNewRootTrap=snSwEnableBridgeNewRootTrap, snNetFlowCollectorIndex=snNetFlowCollectorIndex, snVLanByPortStpForwardDelay=snVLanByPortStpForwardDelay, snFdbVLanId=snFdbVLanId, snVLanGroupVlanCurEntry=snVLanGroupVlanCurEntry, snPortMacSecurityShutdownTimeLeft=snPortMacSecurityShutdownTimeLeft, snQosBindIndex=snQosBindIndex, snIfMediaSerialNumber=snIfMediaSerialNumber, snVLanByIpxNetVLanId=snVLanByIpxNetVLanId, snFDP=snFDP, snVLanByPortMemberPortId=snVLanByPortMemberPortId, snIfStpBPDUTransmitted=snIfStpBPDUTransmitted, snPortMacSecurityModuleStatSlotNum=snPortMacSecurityModuleStatSlotNum, snSwPortStatsInPktsPerSec=snSwPortStatsInPktsPerSec, snMetroRing=snMetroRing, brcdVlanExtStatsOutRoutedPkts=brcdVlanExtStatsOutRoutedPkts, snAuthorizationExec=snAuthorizationExec, snNetFlowAggregationEntry=snNetFlowAggregationEntry, snFdpInterfaceFdpEnable=snFdpInterfaceFdpEnable, snTacacsServerIp=snTacacsServerIp, snSwPortInfoPortNum=snSwPortInfoPortNum, snTacacsServerRowStatus=snTacacsServerRowStatus, snPortMacSecurityModuleStatTable=snPortMacSecurityModuleStatTable, snTrunkEntry=snTrunkEntry, snFdpInterfaceTable=snFdpInterfaceTable, snSwIfStatsInMcastFrames=snSwIfStatsInMcastFrames, snIfRstpConfigBPDUReceived=snIfRstpConfigBPDUReceived, snMSTrunkIfIndex=snMSTrunkIfIndex, snSwIfInfoMirrorMode=snSwIfInfoMirrorMode, snFdpInterfaceEntry=snFdpInterfaceEntry, snPortStpPortDesignatedCost=snPortStpPortDesignatedCost, snIfOpticalLaneMonitoringTxBiasCurrent=snIfOpticalLaneMonitoringTxBiasCurrent, snFdbInfo=snFdbInfo, snVLanByATCableVLanId=snVLanByATCableVLanId, snIfStpPortAdminPointToPoint=snIfStpPortAdminPointToPoint, snSwPortStatsInDiscard=snSwPortStatsInDiscard, snPortMacSecurity=snPortMacSecurity, snNetFlowAggregationRowStatus=snNetFlowAggregationRowStatus, snPortMacSecurityAutosaveMacResource=snPortMacSecurityAutosaveMacResource, snVLanByPortVLanIndex=snVLanByPortVLanIndex, snDosAttackPortSYNBlockCount=snDosAttackPortSYNBlockCount, snFdpCachedAddrIfIndex=snFdpCachedAddrIfIndex, snFdbEntry=snFdbEntry, brcdVlanExtStatsInSwitchedPkts=brcdVlanExtStatsInSwitchedPkts, snRadiusServerEntry=snRadiusServerEntry, snFdpCacheDeviceIndex=snFdpCacheDeviceIndex, snSwIpMcastQuerierMode=snSwIpMcastQuerierMode, snMacFilterOperator=snMacFilterOperator, snPortMacGlobalSecurityAgeOutTime=snPortMacGlobalSecurityAgeOutTime, snSwIfStatsInKiloBitsPerSec=snSwIfStatsInKiloBitsPerSec, snPortMacSecurityModuleStatEntry=snPortMacSecurityModuleStatEntry, snSwIfStatsOutBitsPerSec=snSwIfStatsOutBitsPerSec, snVLanByPortMemberVLanId=snVLanByPortMemberVLanId, snPortMacSecurityIntfMacVlanId=snPortMacSecurityIntfMacVlanId, snSwPortGBICStatus=snSwPortGBICStatus, snTrunkTable=snTrunkTable, snFdpInterfaceIfIndex=snFdpInterfaceIfIndex, snFdpCacheAddressType=snFdpCacheAddressType, snMacFilterPortAccessTable=snMacFilterPortAccessTable, snPortMacSecurityIntfContentSecurity=snPortMacSecurityIntfContentSecurity, snSwPortInfoTable=snSwPortInfoTable, snSwMaxMacFilterPerPort=snSwMaxMacFilterPerPort, snVLanByPortOperState=snVLanByPortOperState, snIfIndexLookup2Table=snIfIndexLookup2Table, snPortStpPortDesignatedBridge=snPortStpPortDesignatedBridge, snNetFlowAggregationNumberOfCacheEntries=snNetFlowAggregationNumberOfCacheEntries, snMacSecurity=snMacSecurity, snRadiusServerTable=snRadiusServerTable, snPortMacSecurityIntfContentEntry=snPortMacSecurityIntfContentEntry, snVLanByPortVLanName=snVLanByPortVLanName, snVLanByProtocolVLanId=snVLanByProtocolVLanId, snSwQosMechanism=snSwQosMechanism, snNetFlowAggregationTable=snNetFlowAggregationTable, snSwPortStatsInFrames=snSwPortStatsInFrames, snFdbStationType=snFdbStationType, snMgmtEthernetInterface=snMgmtEthernetInterface, snSwGroupIpMcastMode=snSwGroupIpMcastMode, snTacacsRetransmit=snTacacsRetransmit, snVLanByProtocolRowStatus=snVLanByProtocolRowStatus, snSwIfStatsOutBcastFrames=snSwIfStatsOutBcastFrames, snPortStpPortNum=snPortStpPortNum, snVLanByProtocolDynamicPortList=snVLanByProtocolDynamicPortList, snSwPortOutOctets=snSwPortOutOctets, snMacFilterTable=snMacFilterTable, snSwPortInLinePowerPriority=snSwPortInLinePowerPriority, snIfIndexLookup2Entry=snIfIndexLookup2Entry, snNTPGeneral=snNTPGeneral, snPortMacSecurityAutosaveMacIfIndex=snPortMacSecurityAutosaveMacIfIndex, snSwIfInfoLinkStatus=snSwIfInfoLinkStatus, snSwIfPresent=snSwIfPresent, snVLanByIpxNetMaxNetworks=snVLanByIpxNetMaxNetworks, snIfStpBPDUReceived=snIfStpBPDUReceived, snFdpGlobalCdpRun=snFdpGlobalCdpRun, snDosAttackPortEntry=snDosAttackPortEntry, snFdbTableStationFlush=snFdbTableStationFlush, snVLanByIpxNetDynamicPortList=snVLanByIpxNetDynamicPortList, snArpInfo=snArpInfo, brcdVlanExtStatsOutSwitchedOctets=brcdVlanExtStatsOutSwitchedOctets, snFdpCachePortVlanMask=snFdpCachePortVlanMask, snFdbStationAddr=snFdbStationAddr, snFdpCachedAddressEntry=snFdpCachedAddressEntry, snMacFilterIfAccessPortIndex=snMacFilterIfAccessPortIndex, snPortMacSecurityResource=snPortMacSecurityResource, snSwPortInfoMediaType=snSwPortInfoMediaType, snNetFlowAggregationSourceInterface=snNetFlowAggregationSourceInterface, snMacFilterSourceMask=snMacFilterSourceMask, snSwIfInfoChnMode=snSwIfInfoChnMode, snVLanByIpSubnetSubnetMask=snVLanByIpSubnetSubnetMask, snRadiusLoginMethod=snRadiusLoginMethod, snVLanByATCableTable=snVLanByATCableTable, snAuthorizationCommandLevel=snAuthorizationCommandLevel, BrcdVlanIdTC=BrcdVlanIdTC, snVLanByProtocolTable=snVLanByProtocolTable, snPortMacSecurityIntfContentTable=snPortMacSecurityIntfContentTable, snVLanByATCableStaticPortList=snVLanByATCableStaticPortList, snMacFilterAction=snMacFilterAction, snVLanByPortMemberTable=snVLanByPortMemberTable, snFdpGlobalRun=snFdpGlobalRun, snMSTrunkType=snMSTrunkType, snInterfaceLookupTable=snInterfaceLookupTable, snFdpGlobalHoldTime=snFdpGlobalHoldTime, snVLanByProtocolStaticMask=snVLanByProtocolStaticMask, snIfOpticalMonitoringTemperature=snIfOpticalMonitoringTemperature, snTacacsServerRowKey=snTacacsServerRowKey, snSwPortInLinePowerPDType=snSwPortInLinePowerPDType, snPortMacSecurityAutosaveMacTable=snPortMacSecurityAutosaveMacTable, snMSTrunkEntry=snMSTrunkEntry, snSwIpxL3SwMode=snSwIpxL3SwMode, snVLanByIpSubnetStaticMask=snVLanByIpSubnetStaticMask, snIfMediaInfoTable=snIfMediaInfoTable, snFdbStationQos=snFdbStationQos, snQosProfileCalculatedBandwidth=snQosProfileCalculatedBandwidth, snSflowCollectorTable=snSflowCollectorTable, snMacStationVLanId=snMacStationVLanId, snSflowCollectorEntry=snSflowCollectorEntry, snPortStpTable=snPortStpTable, snQosProfileRequestedBandwidth=snQosProfileRequestedBandwidth, snVLanByProtocolExcludeMask=snVLanByProtocolExcludeMask, PYSNMP_MODULE_ID=snSwitch, snSwPortStatsInJumboFrames=snSwPortStatsInJumboFrames, snRadiusWebServerMethod=snRadiusWebServerMethod, snFdpCachePlatform=snFdpCachePlatform, snMacFilterPortAccessPortIndex=snMacFilterPortAccessPortIndex, PortPriorityTC=PortPriorityTC, snVLanByPortEntrySize=snVLanByPortEntrySize, snQosBindPriority=snQosBindPriority, snFdpCacheDefaultTrafficeVlanIdForDualMode=snFdpCacheDefaultTrafficeVlanIdForDualMode, snMacFilterDestMac=snMacFilterDestMac, snVLanByPortCfgStpHoldTime=snVLanByPortCfgStpHoldTime, snVLanByPortBaseType=snVLanByPortBaseType) mibBuilder.exportSymbols('FOUNDRY-SN-SWITCH-GROUP-MIB', snInterfaceId=snInterfaceId, snNetFlow=snNetFlow, snIfStpPortDesignatedPort=snIfStpPortDesignatedPort, snNetFlowCollectorUdpPort=snNetFlowCollectorUdpPort, snSwGroupSwitchAgeTime=snSwGroupSwitchAgeTime, snSwPortInfoFlowControl=snSwPortInfoFlowControl, snPortMacSecurityQueryIndex=snPortMacSecurityQueryIndex, snVLanByPortStpGroupHelloTime=snVLanByPortStpGroupHelloTime, snVLanByPortCfgStpMode=snVLanByPortCfgStpMode, snSwIfStatsFCSErrors=snSwIfStatsFCSErrors, snSwPortStatsLinkChange=snSwPortStatsLinkChange, snFdpCacheVendorId=snFdpCacheVendorId, snInterfaceLookupEntry=snInterfaceLookupEntry, snSw8021qTagMode=snSw8021qTagMode, snSwIfInfoGigType=snSwIfInfoGigType, snPortMacSecurityModuleStatTotalShutdownPorts=snPortMacSecurityModuleStatTotalShutdownPorts, snSwIfInfoTagType=snSwIfInfoTagType, snIfStpPortProtocolMigration=snIfStpPortProtocolMigration, snFdpCacheVersion=snFdpCacheVersion, snVLanByPortCfgTable=snVLanByPortCfgTable, brcdVlanExtStatsOutOctets=brcdVlanExtStatsOutOctets, snRadiusRetransmit=snRadiusRetransmit, snIfStpOperState=snIfStpOperState, snIfIndexLookup2IfIndex=snIfIndexLookup2IfIndex, snPortStpOperState=snPortStpOperState, snIfStpPortAdminEdgePort=snIfStpPortAdminEdgePort, snDnsGatewayIpAddrList=snDnsGatewayIpAddrList, snVLanByPortBaseBridgeAddress=snVLanByPortBaseBridgeAddress, snVLanByProtocolDynamicMask=snVLanByProtocolDynamicMask, snDosAttackPortICMPBlockCount=snDosAttackPortICMPBlockCount, snSwIfInfoTagMode=snSwIfInfoTagMode, snVLanByIpxNetRowStatus=snVLanByIpxNetRowStatus, snVLanByIpxNetEntry=snVLanByIpxNetEntry, snIfOpticalLaneMonitoringTable=snIfOpticalLaneMonitoringTable, snSwIfStatsFrameTooShorts=snSwIfStatsFrameTooShorts, snSwPortLoadInterval=snSwPortLoadInterval, snSwPortInfoEntry=snSwPortInfoEntry, snPortStpPortAdminPointToPoint=snPortStpPortAdminPointToPoint, snIfRstpConfigBPDUTransmitted=snIfRstpConfigBPDUTransmitted, snVLanByPortMemberRowStatus=snVLanByPortMemberRowStatus, snNetFlowGblInactiveTimeout=snNetFlowGblInactiveTimeout, snVLanByProtocolIndex=snVLanByProtocolIndex, snNetFlowGblEnable=snNetFlowGblEnable, snNetFlowAggregationUdpPort=snNetFlowAggregationUdpPort, snSwIfStatsMacStations=snSwIfStatsMacStations, snTrunkPortMask=snTrunkPortMask, snVLanByIpSubnetChassisExcludeMask=snVLanByIpSubnetChassisExcludeMask, snPortMonitorIfIndex=snPortMonitorIfIndex, snMac=snMac, snVLanByPortBaseNumPorts=snVLanByPortBaseNumPorts, snSwPortIfIndex=snSwPortIfIndex, snQosProfileTable=snQosProfileTable, brcdVlanExtStatsPriorityId=brcdVlanExtStatsPriorityId, snAccountingCommandLevel=snAccountingCommandLevel, brcdIfEgressCounterInfoTable=brcdIfEgressCounterInfoTable, snDosAttackSYNBlockCount=snDosAttackSYNBlockCount, brcdVlanExtStatsTable=brcdVlanExtStatsTable, snPortMacGlobalSecurityFeature=snPortMacGlobalSecurityFeature, InterfaceId=InterfaceId, snSwIfInfoAdminStatus=snSwIfInfoAdminStatus, snVLanByPortCfgStpMaxAge=snVLanByPortCfgStpMaxAge, snIfIndexLookupTable=snIfIndexLookupTable, snSwPortSetAll=snSwPortSetAll, snFdpCachedAddressTable=snFdpCachedAddressTable, snVLanByIpSubnetMaxSubnets=snVLanByIpSubnetMaxSubnets, snSwPortStatsInBitsPerSec=snSwPortStatsInBitsPerSec, snSwIfStatsOutDiscard=snSwIfStatsOutDiscard, brcdVlanExtStatsOutRoutedOctets=brcdVlanExtStatsOutRoutedOctets, snFdbTable=snFdbTable, snSwIfStatsMultiColliFrames=snSwIfStatsMultiColliFrames, brcdSPXMIB=brcdSPXMIB, snSwPortStatsInUtilization=snSwPortStatsInUtilization, snIfOpticalMonitoringTxPower=snIfOpticalMonitoringTxPower, snIfStpPortDesignatedRoot=snIfStpPortDesignatedRoot, snVLanByPortCfgStpGroupForwardDelay=snVLanByPortCfgStpGroupForwardDelay, snSwPortTagType=snSwPortTagType, snFdpInterfaceCdpEnable=snFdpInterfaceCdpEnable, snFdpCacheDevicePort=snFdpCacheDevicePort, snPortMacSecurityIntfContentShutdownTimeLeft=snPortMacSecurityIntfContentShutdownTimeLeft, snIfOpticalMonitoringInfoTable=snIfOpticalMonitoringInfoTable, snRadiusDeadTime=snRadiusDeadTime, snSwIfStatsOutJumboFrames=snSwIfStatsOutJumboFrames, snVLanByPortCfgInOctets=snVLanByPortCfgInOctets, snNTPServerRowStatus=snNTPServerRowStatus, snFdpCacheTagType=snFdpCacheTagType, snVLanInfo=snVLanInfo, snMSTrunkIfType=snMSTrunkIfType, snVLanByATCableChassisStaticMask=snVLanByATCableChassisStaticMask, snPvcInterface=snPvcInterface, fdryDns2MIB=fdryDns2MIB, snVLanByIpSubnetExcludeMask=snVLanByIpSubnetExcludeMask, snIfStpTable=snIfStpTable, snMplsTunnelInterface=snMplsTunnelInterface, snInterfaceLookupInterfaceId=snInterfaceLookupInterfaceId, snSwIfStatsRxColliFrames=snSwIfStatsRxColliFrames, snNetFlowCollectorRowStatus=snNetFlowCollectorRowStatus, snNetFlowIfEntry=snNetFlowIfEntry, snPortMacSecurityIntfMacAddress=snPortMacSecurityIntfMacAddress, snSwPortInLinePowerConsumed=snSwPortInLinePowerConsumed, brcdVlanExtStatsEntry=brcdVlanExtStatsEntry, snAuthorizationCommandMethods=snAuthorizationCommandMethods, snPortMacSecurityVlanId=snPortMacSecurityVlanId, snIfIndexLookupInterfaceId=snIfIndexLookupInterfaceId, snIfStpPortAdminRstp=snIfStpPortAdminRstp, snSflowCollectorRowStatus=snSflowCollectorRowStatus, snVLanByIpSubnetDynamicMask=snVLanByIpSubnetDynamicMask, snPortMacGlobalSecurity=snPortMacGlobalSecurity, snPortMacSecurityAutosaveMacEntry=snPortMacSecurityAutosaveMacEntry, snSwIfStatsInFrames=snSwIfStatsInFrames, snRadiusEnableMethod=snRadiusEnableMethod, snSwPortDhcpGateListId=snSwPortDhcpGateListId, snMacFilterDestMask=snMacFilterDestMask, snVLanByPortStpTimeSinceTopologyChange=snVLanByPortStpTimeSinceTopologyChange, snVLanByPortCfgStpRootCost=snVLanByPortCfgStpRootCost, snSwPortInfoTagMode=snSwPortInfoTagMode, snVLanByPortRowStatus=snVLanByPortRowStatus, snIfOpticalMonitoringTxBiasCurrent=snIfOpticalMonitoringTxBiasCurrent, snEthernetInterface=snEthernetInterface, snNetFlowCollectorSourceInterface=snNetFlowCollectorSourceInterface, snVLanByIpSubnetRowStatus=snVLanByIpSubnetRowStatus, snVLanByIpSubnetStaticPortList=snVLanByIpSubnetStaticPortList, snPortMacSecurityIntfContentAgeOutTime=snPortMacSecurityIntfContentAgeOutTime, snTacacsServerTable=snTacacsServerTable, snVLanByIpSubnetExcludePortList=snVLanByIpSubnetExcludePortList, snVLanByIpSubnetVLanId=snVLanByIpSubnetVLanId, snMacFilterFrameType=snMacFilterFrameType, snMacFilterRowStatus=snMacFilterRowStatus, snVLanByPortStpPriority=snVLanByPortStpPriority, snVLanByIpSubnetChassisStaticMask=snVLanByIpSubnetChassisStaticMask, snAtmInterface=snAtmInterface, snVLanByPortMemberTagMode=snVLanByPortMemberTagMode, snDhcpGatewayListEntry=snDhcpGatewayListEntry, BrcdVlanIdOrNoneTC=BrcdVlanIdOrNoneTC, snIfIndexLookup2InterfaceId=snIfIndexLookup2InterfaceId, snVLanByProtocolVLanName=snVLanByProtocolVLanName, snMacFilterIfAccessFilters=snMacFilterIfAccessFilters, snMacFilterIfAccessTable=snMacFilterIfAccessTable, snSwIfRouteOnly=snSwIfRouteOnly, snSwPortInfoConnectorType=snSwPortInfoConnectorType, snSwDefaultVLanId=snSwDefaultVLanId, snIfMediaVendorName=snIfMediaVendorName, snSwitch=snSwitch, snDhcpGatewayListAddrList=snDhcpGatewayListAddrList, snSwIfInfoEntry=snSwIfInfoEntry, snPortMacSecurityAutosaveMacQueryIndex=snPortMacSecurityAutosaveMacQueryIndex, snSwIfMacLearningDisable=snSwIfMacLearningDisable, snFdpCacheIfIndex=snFdpCacheIfIndex, snSwPortLockAddressCount=snSwPortLockAddressCount, snGreTunnelInterface=snGreTunnelInterface, snPortMacSecurityIntfContentViolationType=snPortMacSecurityIntfContentViolationType, snDosAttack=snDosAttack, snSwPortInfoLinkStatus=snSwPortInfoLinkStatus, snMacFilterFrameTypeNum=snMacFilterFrameTypeNum, snVLanByIpxNetDynamicMask=snVLanByIpxNetDynamicMask, snSwIfInfoMirrorPorts=snSwIfInfoMirrorPorts, snSwEosBufferSize=snSwEosBufferSize, snVLanByProtocolDynamic=snVLanByProtocolDynamic, snNTP=snNTP, snVLanByPortCfgStpVersion=snVLanByPortCfgStpVersion, InterfaceId2=InterfaceId2, snPortMacSecurityModuleStatViolationCounts=snPortMacSecurityModuleStatViolationCounts, snFdpCacheDeviceId=snFdpCacheDeviceId, snRadiusSNMPAccess=snRadiusSNMPAccess, brcdVlanExtStatsIfIndex=brcdVlanExtStatsIfIndex, snSwPortInfoMonitorMode=snSwPortInfoMonitorMode, snSwPortStatsRxColliFrames=snSwPortStatsRxColliFrames, snPortStpPortProtocolMigration=snPortStpPortProtocolMigration, snAccounting=snAccounting, snVLanByPortQos=snVLanByPortQos, snVLanByProtocolEntry=snVLanByProtocolEntry, snVLanByIpxNetFrameType=snVLanByIpxNetFrameType, snRadiusEnableTelnetAuth=snRadiusEnableTelnetAuth, snPortStpInfo=snPortStpInfo, snSwClearCounters=snSwClearCounters, snIfOpticalLaneMonitoringRxPower=snIfOpticalLaneMonitoringRxPower, snSwSingleStpVLanId=snSwSingleStpVLanId, snDosAttackPortTable=snDosAttackPortTable, snQosBindTable=snQosBindTable, snIfMediaPartNumber=snIfMediaPartNumber, snNetFlowAggregationIp=snNetFlowAggregationIp, snPortMonitor=snPortMonitor, snVLanByPortCfgBaseType=snVLanByPortCfgBaseType, brcdVlanExtStatsInRoutedPkts=brcdVlanExtStatsInRoutedPkts, snVLanByIpxNetStaticMask=snVLanByIpxNetStaticMask, snVLanByPortCfgStpDesignatedRoot=snVLanByPortCfgStpDesignatedRoot, snSwIfInfoNativeMacAddress=snSwIfInfoNativeMacAddress, snNTPServerEntry=snNTPServerEntry, snSwPortStatsOutPktsPerSec=snSwPortStatsOutPktsPerSec, snSwPortInOctets=snSwPortInOctets, snInterfaceLookup2InterfaceId=snInterfaceLookup2InterfaceId, snVLanByIpxNetDynamic=snVLanByIpxNetDynamic, snSflowCollectorIP=snSflowCollectorIP, snRadiusServerAcctPort=snRadiusServerAcctPort, snVLanByPortCfgRowStatus=snVLanByPortCfgRowStatus, snPortMacSecurityModuleStatTotalSecurityPorts=snPortMacSecurityModuleStatTotalSecurityPorts, snVirtualInterface=snVirtualInterface, snFdpMIBObjects=snFdpMIBObjects, snSwIfInfoConnectorType=snSwIfInfoConnectorType, snVLanByPortRouterIntf=snVLanByPortRouterIntf, snSwIfDhcpGateListId=snSwIfDhcpGateListId, snFdbStationEntrySize=snFdbStationEntrySize, brcdIfEgressCounterQueueId=brcdIfEgressCounterQueueId, snNetFlowCollectorEntry=snNetFlowCollectorEntry, snSwPortStatsOutDiscard=snSwPortStatsOutDiscard, snVLanByPortCfgQos=snVLanByPortCfgQos, snSwIfLockAddressCount=snSwIfLockAddressCount, snIfOpticalLaneMonitoringLane=snIfOpticalLaneMonitoringLane, snNetFlowIfFlowSwitching=snNetFlowIfFlowSwitching, snRadiusKey=snRadiusKey, snTacacsServerUsage=snTacacsServerUsage, snSwGroupOperMode=snSwGroupOperMode, snSwPortEntrySize=snSwPortEntrySize, snTacacsKey=snTacacsKey, snSwPortInfoChnMode=snSwPortInfoChnMode, snVLanByIpSubnetTable=snVLanByIpSubnetTable, snDhcpGatewayListInfo=snDhcpGatewayListInfo, snSwIfInfoFlowControl=snSwIfInfoFlowControl, snPortMacSecurityIntfMacEntry=snPortMacSecurityIntfMacEntry, snSwPortStatsAlignErrors=snSwPortStatsAlignErrors, snFdbStationIf=snFdbStationIf, snVLanByPortCfgBaseNumPorts=snVLanByPortCfgBaseNumPorts, snSwPortInfoMirrorMode=snSwPortInfoMirrorMode, snNetFlowGblVersion=snNetFlowGblVersion, snSwPortPresent=snSwPortPresent, PortMask=PortMask, snSwPortStatsMacStations=snSwPortStatsMacStations, snVLanByIpxNetNetworkNum=snVLanByIpxNetNetworkNum, snIfStpPortDesignatedCost=snIfStpPortDesignatedCost, snIfMediaType=snIfMediaType, snVLanByPortCfgStpForwardDelay=snVLanByPortCfgStpForwardDelay, snNTPServerTable=snNTPServerTable, snIfStpPortNum=snIfStpPortNum, snNTPPollInterval=snNTPPollInterval, snFdpGlobal=snFdpGlobal, snVLanByIpSubnetDynamic=snVLanByIpSubnetDynamic, snSwPortInfoAutoNegotiate=snSwPortInfoAutoNegotiate, snSwSingleStpMode=snSwSingleStpMode, PortQosTC=PortQosTC, snSwPortInfoGigType=snSwPortInfoGigType, snVLanByATCableRouterIntf=snVLanByATCableRouterIntf, snSwIfStatsFrameTooLongs=snSwIfStatsFrameTooLongs, snSwPortStatsFrameTooLongs=snSwPortStatsFrameTooLongs, snTacacs=snTacacs, snSwIfDescr=snSwIfDescr, snPosInterface=snPosInterface, snIfStpOperPathCost=snIfStpOperPathCost, fdryIpSrcGuardMIB=fdryIpSrcGuardMIB, snVLanByPortStpHelloTime=snVLanByPortStpHelloTime, snSwIfInfoSpeed=snSwIfInfoSpeed, snIfMediaVersion=snIfMediaVersion, snIfStpVLanId=snIfStpVLanId, snSwMaxMacFilterPerSystem=snSwMaxMacFilterPerSystem, snDosAttackPortICMPDropCount=snDosAttackPortICMPDropCount, snQosBindProfileIndex=snQosBindProfileIndex) mibBuilder.exportSymbols('FOUNDRY-SN-SWITCH-GROUP-MIB', snInterfaceLookupIfIndex=snInterfaceLookupIfIndex, snPortMacSecurityIntfContentMaxLockedMacAllowed=snPortMacSecurityIntfContentMaxLockedMacAllowed, snSwIfStatsLinkChange=snSwIfStatsLinkChange, snPortStpEntrySize=snPortStpEntrySize, snPortMacSecurityIntfContentIfIndex=snPortMacSecurityIntfContentIfIndex, snTacacsServerEntry=snTacacsServerEntry, snPortStpPortPriority=snPortStpPortPriority, snAccountingSystem=snAccountingSystem, snMSTrunkIfTable=snMSTrunkIfTable, snNetFlowGblProtocolDisable=snNetFlowGblProtocolDisable, snMacFilterIfAccessRowStatus=snMacFilterIfAccessRowStatus, snVLanByPortTable=snVLanByPortTable, snVLanByPortCfgStpProtocolSpecification=snVLanByPortCfgStpProtocolSpecification, snPortStpPortDesignatedPort=snPortStpPortDesignatedPort, snVLanByIpSubnetVLanName=snVLanByIpSubnetVLanName, snFdpGlobalMessageInterval=snFdpGlobalMessageInterval, snPortMacGlobalSecurityAutosave=snPortMacGlobalSecurityAutosave, brcdVlanExtStatsOutSwitchedPkts=brcdVlanExtStatsOutSwitchedPkts, snPortMonitorMirrorList=snPortMonitorMirrorList, snSwIfStatsAlignErrors=snSwIfStatsAlignErrors, fdryDhcpSnoopMIB=fdryDhcpSnoopMIB, snVLanGroupVlanMaxEntry=snVLanGroupVlanMaxEntry, snNTPServerVersion=snNTPServerVersion, snFdpCacheCapabilities=snFdpCacheCapabilities, snPortMacSecurityModuleStatTotalMACs=snPortMacSecurityModuleStatTotalMACs, snFdpCachePortTagMode=snFdpCachePortTagMode, snSFlowGlb=snSFlowGlb, snRadiusSNMPServerMethod=snRadiusSNMPServerMethod, snVLanByPortCfgStpHelloTime=snVLanByPortCfgStpHelloTime, snPortStpVLanId=snPortStpVLanId, snVLanByIpSubnetDynamicPortList=snVLanByIpSubnetDynamicPortList, snTacacsTimeOut=snTacacsTimeOut, snSwIfStpPortEnable=snSwIfStpPortEnable, snPortStpPortEnable=snPortStpPortEnable, snPortMacSecurityIfIndex=snPortMacSecurityIfIndex, snVLanByIpxNetTable=snVLanByIpxNetTable, snVLanByPortStpRootCost=snVLanByPortStpRootCost, snSwIfStatsInBitsPerSec=snSwIfStatsInBitsPerSec, snIfRstpTCNBPDUReceived=snIfRstpTCNBPDUReceived, snSwIfLoadInterval=snSwIfLoadInterval, snNetFlowAggregationActiveTimeout=snNetFlowAggregationActiveTimeout, snVLanByPortCfgEntry=snVLanByPortCfgEntry, snFdpCachedAddrType=snFdpCachedAddrType, snSwViolatorPortNumber=snSwViolatorPortNumber, snPortMacSecurityTable=snPortMacSecurityTable, brcdIfEgressCounterIfIndex=brcdIfEgressCounterIfIndex, snFdpInterface=snFdpInterface, snVLanByPortCfgBaseBridgeAddress=snVLanByPortCfgBaseBridgeAddress, snFdbTableCurEntry=snFdbTableCurEntry, snSwIfStatsOutMcastFrames=snSwIfStatsOutMcastFrames, snPortMacSecurityIntfContentShutdownTime=snPortMacSecurityIntfContentShutdownTime, snMSTrunkPortIndex=snMSTrunkPortIndex, snSw8021qTagType=snSw8021qTagType, snSwGroupIpL3SwMode=snSwGroupIpL3SwMode, snVLanByProtocolChassisStaticMask=snVLanByProtocolChassisStaticMask, snRadiusServerRowStatus=snRadiusServerRowStatus, snPortStpPathCost=snPortStpPathCost, snSwPortStatsOutMcastFrames=snSwPortStatsOutMcastFrames, snPortStpPortState=snPortStpPortState, snSwFastStpMode=snSwFastStpMode, snIfStpPortPriority=snIfStpPortPriority, snStacking=snStacking, brcdRouteMap=brcdRouteMap, brcdVlanExtStatsInRoutedOctets=brcdVlanExtStatsInRoutedOctets, snVLanByPortEntry=snVLanByPortEntry, snSwPortStatsInMcastFrames=snSwPortStatsInMcastFrames, snSwPortInfoSpeed=snSwPortInfoSpeed, snDosAttackICMPBlockCount=snDosAttackICMPBlockCount, snVLanByPortStpRootPort=snVLanByPortStpRootPort, snIfStpPortDesignatedBridge=snIfStpPortDesignatedBridge, snVLanByPortStpGroupForwardDelay=snVLanByPortStpGroupForwardDelay, snVLanByIpxNetStaticPortList=snVLanByIpxNetStaticPortList, snIfIndexLookupEntry=snIfIndexLookupEntry, snIfOpticalLaneMonitoringTemperature=snIfOpticalLaneMonitoringTemperature, snSwPortStpPortEnable=snSwPortStpPortEnable, snSwBroadcastLimit2=snSwBroadcastLimit2, VlanTagMode=VlanTagMode, snVLanByPortCfgStpPriority=snVLanByPortCfgStpPriority, snPortMacSecurityMAC=snPortMacSecurityMAC, snIfStpPortState=snIfStpPortState, snWireless=snWireless, snVLanByPortCfgStpTimeSinceTopologyChange=snVLanByPortCfgStpTimeSinceTopologyChange, fdryMacVlanMIB=fdryMacVlanMIB, snIfStpCfgPathCost=snIfStpCfgPathCost, snVLanByPortStpTopChanges=snVLanByPortStpTopChanges, snSwPortInLinePowerClass=snSwPortInLinePowerClass, snFdpCachedAddr=snFdpCachedAddr, snMSTrunkRowStatus=snMSTrunkRowStatus, snSwProbePortNum=snSwProbePortNum, snVLanByIpxNetChassisExcludeMask=snVLanByIpxNetChassisExcludeMask, snSwPortCacheGroupId=snSwPortCacheGroupId, snMacFilter=snMacFilter, snSwIfVlanId=snSwIfVlanId, snVLanByPortCfgVLanId=snVLanByPortCfgVLanId, snSwPortInfo=snSwPortInfo, snSwPortRouteOnly=snSwPortRouteOnly, snIfOpticalLaneMonitoringTxPower=snIfOpticalLaneMonitoringTxPower, brcdVlanExtStatsVlanId=brcdVlanExtStatsVlanId, snAAA=snAAA, snVLanByATCableRowStatus=snVLanByATCableRowStatus, snVLanByPortCfgVLanName=snVLanByPortCfgVLanName, snVLanByIpxNetExcludePortList=snVLanByIpxNetExcludePortList, snPortStpPortAdminEdgePort=snPortStpPortAdminEdgePort, snSwIfStatsInBcastFrames=snSwIfStatsInBcastFrames, snTacacsServerAuthPort=snTacacsServerAuthPort, snVLanByProtocolStaticPortList=snVLanByProtocolStaticPortList, snPortMacSecurityIntfMacIfIndex=snPortMacSecurityIntfMacIfIndex, snSwIfFastSpanPortEnable=snSwIfFastSpanPortEnable, snSubInterface=snSubInterface, snSwIfStatsInJumboFrames=snSwIfStatsInJumboFrames, snAccountingCommandMethods=snAccountingCommandMethods, snMacFilterPortAccessRowStatus=snMacFilterPortAccessRowStatus, BridgeId=BridgeId, snVLanByPortChassisPortMask=snVLanByPortChassisPortMask, snSwPortStatsOutFrames=snSwPortStatsOutFrames, brcdVlanExtStatsOutPkts=brcdVlanExtStatsOutPkts, snVLanByPortStpDesignatedRoot=snVLanByPortStpDesignatedRoot, snSwPortStatsTxColliFrames=snSwPortStatsTxColliFrames, snDosAttackPort=snDosAttackPort, snIfStpPortRole=snIfStpPortRole, snVsrp=snVsrp, snSwSummary=snSwSummary, snSwIfInfoL2FowardEnable=snSwIfInfoL2FowardEnable, snMSTrunkPortList=snMSTrunkPortList, snSwPortInLinePowerWattage=snSwPortInLinePowerWattage, snDosAttackICMPDropCount=snDosAttackICMPDropCount, snPortMacSecurityIntfMacRowStatus=snPortMacSecurityIntfMacRowStatus, snRadiusTimeOut=snRadiusTimeOut, snSwPortInLinePowerControl=snSwPortInLinePowerControl, snVLanByIpSubnetChassisDynamicMask=snVLanByIpSubnetChassisDynamicMask, snSwPortDescr=snSwPortDescr, snSwBroadcastLimit=snSwBroadcastLimit, snSwIfFastSpanUplinkEnable=snSwIfFastSpanUplinkEnable, snQosProfileName=snQosProfileName, snNTPSystemClock=snNTPSystemClock, snSwGroupDefaultCfgMode=snSwGroupDefaultCfgMode, snDosAttackGlobal=snDosAttackGlobal, snFdpCacheAddress=snFdpCacheAddress, snVLanGroupSetAllVLan=snVLanGroupSetAllVLan, snIfMediaInfoEntry=snIfMediaInfoEntry, snMSTrunkIfRowStatus=snMSTrunkIfRowStatus, snSwIfOutOctets=snSwIfOutOctets, snIfOpticalMonitoringInfoEntry=snIfOpticalMonitoringInfoEntry, snDnsDomainName=snDnsDomainName, snNTPServerIp=snNTPServerIp, snVLanByPortStpMode=snVLanByPortStpMode, snFdpCachedAddrDeviceIndex=snFdpCachedAddrDeviceIndex, snAuthorization=snAuthorization, snIfStpEntry=snIfStpEntry, snSwPortFastSpanUplinkEnable=snSwPortFastSpanUplinkEnable, snFdpCacheIsAggregateVlan=snFdpCacheIsAggregateVlan, snInterfaceLookup2Table=snInterfaceLookup2Table, snFdpCache=snFdpCache, snIfIndexLookupIfIndex=snIfIndexLookupIfIndex, snLoopbackInterface=snLoopbackInterface, snSSL=snSSL, snDnsInfo=snDnsInfo, snFdpCachedAddrDeviceAddrEntryIndex=snFdpCachedAddrDeviceAddrEntryIndex, snSwProtocolVLanMode=snSwProtocolVLanMode, snPortStpPortForwardTransitions=snPortStpPortForwardTransitions, brcdIfEgressCounterDropPkts=brcdIfEgressCounterDropPkts, snFdpCacheEntry=snFdpCacheEntry, snSwIfName=snSwIfName, snSFlow=snSFlow, snDosAttackPortSYNDropCount=snDosAttackPortSYNDropCount, snSwIfInfoPortNum=snSwIfInfoPortNum, snSwPortTransGroupId=snSwPortTransGroupId, snDosAttackSYNDropCount=snDosAttackSYNDropCount, snVLanByATCableVLanName=snVLanByATCableVLanName, snNetFlowCollectorTable=snNetFlowCollectorTable, snFdbStationPort=snFdbStationPort, snSwEnableLockedAddrViolationTrap=snSwEnableLockedAddrViolationTrap, snSwPortStatsInKiloBitsPerSec=snSwPortStatsInKiloBitsPerSec, snVLanByProtocolChassisExcludeMask=snVLanByProtocolChassisExcludeMask, brcdIfEgressCounterType=brcdIfEgressCounterType, snPortStpSetAll=snPortStpSetAll, snInterfaceLookup2IfIndex=snInterfaceLookup2IfIndex, snSwIfStatsInDiscard=snSwIfStatsInDiscard, snFdbRowStatus=snFdbRowStatus, snNetFlowAggregationIndex=snNetFlowAggregationIndex, snSwGlobalAutoNegotiate=snSwGlobalAutoNegotiate, snSwIfStatsInUtilization=snSwIfStatsInUtilization, snNetFlowCollectorIp=snNetFlowCollectorIp, snVLanByIpxNetChassisStaticMask=snVLanByIpxNetChassisStaticMask, snSwPortStatsOutBcastFrames=snSwPortStatsOutBcastFrames, snQos=snQos, snVLanByATCableEntry=snVLanByATCableEntry, snNTPTimeZone=snNTPTimeZone, snSwIfInfoMonitorMode=snSwIfInfoMonitorMode, snNetFlowAggregationInactiveTimeout=snNetFlowAggregationInactiveTimeout, snMacFilterSourceMac=snMacFilterSourceMac, snSwIfInfoAutoNegotiate=snSwIfInfoAutoNegotiate, snDhcpGatewayListTable=snDhcpGatewayListTable, snSwInfo=snSwInfo, snPortMacSecurityIntfMacTable=snPortMacSecurityIntfMacTable, snSwEnableBridgeTopoChangeTrap=snSwEnableBridgeTopoChangeTrap, snFdpCachedAddrValue=snFdpCachedAddrValue, snSwPortFastSpanPortEnable=snSwPortFastSpanPortEnable, snSwViolatorMacAddress=snSwViolatorMacAddress, snQosProfileIndex=snQosProfileIndex, snTrunkInterface=snTrunkInterface, snSwPortStatsOutKiloBitsPerSec=snSwPortStatsOutKiloBitsPerSec, snPortMacSecurityIntfContentViolationCounts=snPortMacSecurityIntfContentViolationCounts, snPortMonitorEntry=snPortMonitorEntry, snVLanByPortVLanId=snVLanByPortVLanId, snTacacsSNMPAccess=snTacacsSNMPAccess, snAccountingExec=snAccountingExec, snIfOpticalLaneMonitoringEntry=snIfOpticalLaneMonitoringEntry, snTrunkType=snTrunkType, snInterfaceLookup2Entry=snInterfaceLookup2Entry, snIfOpticalMonitoringRxPower=snIfOpticalMonitoringRxPower, snFdpCacheTable=snFdpCacheTable, snCAR=snCAR, fdryLinkAggregationGroupMIB=fdryLinkAggregationGroupMIB, snVLanByPortPortList=snVLanByPortPortList, snPortMacSecurityAutosaveMacAddress=snPortMacSecurityAutosaveMacAddress, snSwIfInfoPhysAddress=snSwIfInfoPhysAddress, snTrunkIndex=snTrunkIndex, snVLanByProtocolChassisDynamicMask=snVLanByProtocolChassisDynamicMask)
class Employee: def __init__(self, surname, name, contact): self.surname = surname self.name = name self.contact = contact def __eq__(self, other): return self.name == other.name \ and self.surname == other.surname \ and self.contact == other.contact class Contact: def __init__(self, email): self.email = email def __eq__(self, other): return self.email == other.email class BirthdayGreetings: def __init__(self, employee_repository, email_service): self._message_service = email_service self._employee_repository = employee_repository def sendGreetings(self, today): persons = self._employee_repository.birthdaysFor(today.month, today.day) self._message_service.send(persons)
class Employee: def __init__(self, surname, name, contact): self.surname = surname self.name = name self.contact = contact def __eq__(self, other): return self.name == other.name and self.surname == other.surname and (self.contact == other.contact) class Contact: def __init__(self, email): self.email = email def __eq__(self, other): return self.email == other.email class Birthdaygreetings: def __init__(self, employee_repository, email_service): self._message_service = email_service self._employee_repository = employee_repository def send_greetings(self, today): persons = self._employee_repository.birthdaysFor(today.month, today.day) self._message_service.send(persons)
# Assume you have a file system named quotaFs file_system_name = "quotaFs" # Delete the quotas of groups on the file system with ids 998 and 999 client.delete_quotas_groups(file_system_names=[file_system_name], gids=[998, 999]) # Delete the quotas of groups on the file system with names group1 and group2 client.delete_quotas_groups(file_system_names=[file_system_name], group_names=["group1", "group2"]) # Other valid fields: file_system_ids, names # See section "Common Fields" for examples
file_system_name = 'quotaFs' client.delete_quotas_groups(file_system_names=[file_system_name], gids=[998, 999]) client.delete_quotas_groups(file_system_names=[file_system_name], group_names=['group1', 'group2'])
class Atom: def __init__(self, id_, position, chain_id, name, element, residue=None, altloc=None, occupancy=None): self.id = id_ self.name = name self.element = element self.chain_id = chain_id self.position = position self.residue = residue self.altloc = altloc self.occupancy = occupancy def __hash__(self): return hash(self.id) def __eq__(self, other): return self.id == other.id def __lt__(self, other): return self.id < other.id def __repr__(self): return "Atom {} ({}) from {} {} at {}".format(self.id, self.name, self.chain_id, self.residue, self.position)
class Atom: def __init__(self, id_, position, chain_id, name, element, residue=None, altloc=None, occupancy=None): self.id = id_ self.name = name self.element = element self.chain_id = chain_id self.position = position self.residue = residue self.altloc = altloc self.occupancy = occupancy def __hash__(self): return hash(self.id) def __eq__(self, other): return self.id == other.id def __lt__(self, other): return self.id < other.id def __repr__(self): return 'Atom {} ({}) from {} {} at {}'.format(self.id, self.name, self.chain_id, self.residue, self.position)
while True: a,b = map(int,input().split()) if a== b == 0: break k = 1 if b >= a-b: k1 = b k2 = a-b else: k1 = a-b k2 = b for i in range(k1+1,a+1): k*=i for i in range(2,k2+1): k//=i print(k)
while True: (a, b) = map(int, input().split()) if a == b == 0: break k = 1 if b >= a - b: k1 = b k2 = a - b else: k1 = a - b k2 = b for i in range(k1 + 1, a + 1): k *= i for i in range(2, k2 + 1): k //= i print(k)
# # PySNMP MIB module HP-ICF-CHASSIS (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HP-ICF-CHASSIS # Produced by pysmi-0.3.4 at Wed May 1 13:33:35 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, SingleValueConstraint, ValueSizeConstraint, ValueRangeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "SingleValueConstraint", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsUnion") PhysicalIndex, = mibBuilder.importSymbols("ENTITY-MIB", "PhysicalIndex") hpicfObjectModules, hpicfCommonTrapsPrefix, hpicfCommon = mibBuilder.importSymbols("HP-ICF-OID", "hpicfObjectModules", "hpicfCommonTrapsPrefix", "hpicfCommon") ObjectGroup, ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup") IpAddress, Counter32, Bits, NotificationType, iso, Unsigned32, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter64, MibIdentifier, Gauge32, ObjectIdentity, Integer32, ModuleIdentity, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "IpAddress", "Counter32", "Bits", "NotificationType", "iso", "Unsigned32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter64", "MibIdentifier", "Gauge32", "ObjectIdentity", "Integer32", "ModuleIdentity", "TimeTicks") TextualConvention, DisplayString, TimeStamp, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString", "TimeStamp", "TruthValue") hpicfChassisMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3)) hpicfChassisMib.setRevisions(('2013-02-10 08:47', '2011-08-25 08:47', '2010-08-25 00:00', '2009-04-22 00:00', '2000-11-03 22:16', '1997-03-06 03:34', '1996-09-10 02:45', '1995-07-13 00:00', '1994-11-20 00:00', '1993-07-09 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: hpicfChassisMib.setRevisionsDescriptions(('Added object hpSystemAirAvgTemp1,Group hpicfChasTempGroup1, Compliance hpicfChasTempCompliance1. deprecated hpSystemAirAvgTemp object, group hpicfChasTempGroup and hpicfChasTempCompliance.', 'Added new scalars hpicfFanTrayType and hpicfOpacityShieldInstalled.', 'Added hpSystemAirEntPhysicalIndex to the air temperature table.', 'Added new SNMP object and SNMP table for chassis temperature details', 'Updated division name.', 'Added NOTIFICATION-GROUP information.', 'Split this MIB module from the former monolithic hp-icf MIB. Added compliance statement for use by non-chassis devices or devices that are implementing another chassis MIB (like Entity MIB) but still want to use the hpicfSensorTable. Changed STATUS clause to deprecated for those objects that are superseded by the Entity MIB.', 'Added the hpicfSensorTrap.', 'Added the hpicfChassisAddrTable.', 'Initial version.',)) if mibBuilder.loadTexts: hpicfChassisMib.setLastUpdated('201302100847Z') if mibBuilder.loadTexts: hpicfChassisMib.setOrganization('HP Networking') if mibBuilder.loadTexts: hpicfChassisMib.setContactInfo('Hewlett Packard Company 8000 Foothills Blvd. Roseville, CA 95747') if mibBuilder.loadTexts: hpicfChassisMib.setDescription('This MIB module describes chassis devices in the HP Integrated Communication Facility product line. Note that most of this module will be superseded by the standard Entity MIB. However, the hpicfSensorTable will still be valid.') hpicfChassis = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2)) hpicfChassisId = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfChassisId.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisId.setDescription('********* THIS OBJECT IS DEPRECATED ********* An identifier that uniquely identifies this particular chassis. This will be the same value as the instance of hpicfChainId for this chassis.') hpicfChassisNumSlots = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfChassisNumSlots.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisNumSlots.setDescription('********* THIS OBJECT IS DEPRECATED ********* The number of slots in this chassis.') hpicfSlotTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3), ) if mibBuilder.loadTexts: hpicfSlotTable.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotTable.setDescription('********* THIS OBJECT IS DEPRECATED ********* A table that contains information on all the slots in this chassis.') hpicfSlotEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3, 1), ).setIndexNames((0, "HP-ICF-CHASSIS", "hpicfSlotIndex")) if mibBuilder.loadTexts: hpicfSlotEntry.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotEntry.setDescription('********* THIS OBJECT IS DEPRECATED ********* Information about a slot in a chassis') hpicfSlotIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSlotIndex.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotIndex.setDescription('********* THIS OBJECT IS DEPRECATED ********* The slot number within the box for which this entry contains information.') hpicfSlotObjectId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3, 1, 2), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSlotObjectId.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotObjectId.setDescription('********* THIS OBJECT IS DEPRECATED ********* The authoritative identification of the card plugged into this slot in this chassis. A value of { 0 0 } indicates an empty slot.') hpicfSlotLastChange = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3, 1, 3), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSlotLastChange.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotLastChange.setDescription("********* THIS OBJECT IS DEPRECATED ********* The value of the agent's sysUpTime at which a card in this slot was last inserted or removed. If no module has been inserted or removed since the last reinitialization of the agent, this object has a zero value.") hpicfSlotDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSlotDescr.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotDescr.setDescription('********* THIS OBJECT IS DEPRECATED ********* A textual description of the card plugged into this slot in this chassis, including the product number and version information.') hpicfEntityTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4), ) if mibBuilder.loadTexts: hpicfEntityTable.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityTable.setDescription('********* THIS OBJECT IS DEPRECATED ********* A table that contains information about the (logical) networking devices contained in this chassis.') hpicfEntityEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1), ).setIndexNames((0, "HP-ICF-CHASSIS", "hpicfEntityIndex")) if mibBuilder.loadTexts: hpicfEntityEntry.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityEntry.setDescription('********* THIS OBJECT IS DEPRECATED ********* Information about a single logical networking device contained in this chassis.') hpicfEntityIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfEntityIndex.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityIndex.setDescription('********* THIS OBJECT IS DEPRECATED ********* An index that uniquely identifies the logical network device for which this entry contains information.') hpicfEntityFunction = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfEntityFunction.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityFunction.setDescription('********* THIS OBJECT IS DEPRECATED ********* The generic function provided by the logical network device. The value is a sum. Starting from zero, for each type of generic function that the entity performs, 2 raised to a power is added to the sum. The powers are according to the following table: Function Power other 1 repeater 0 bridge 2 router 3 agent 5 For example, an entity performing both bridging and routing functions would have a value of 12 (2^2 + 2^3).') hpicfEntityObjectId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1, 3), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfEntityObjectId.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityObjectId.setDescription("********* THIS OBJECT IS DEPRECATED ********* The authoritative identification of the logical network device which provides an unambiguous means of determining the type of device. The value of this object is analogous to MIB-II's sysObjectId.") hpicfEntityDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfEntityDescr.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityDescr.setDescription("********* THIS OBJECT IS DEPRECATED ********* A textual description of this device, including the product number and version information. The value of this object is analogous to MIB-II's sysDescr.") hpicfEntityTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfEntityTimestamp.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityTimestamp.setDescription("********* THIS OBJECT IS DEPRECATED ********* The value of the agent's sysUpTime at which this logical network device was last reinitialized. If the entity has not been reinitialized since the last reinitialization of the agent, then this object has a zero value.") hpicfSlotMapTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 5), ) if mibBuilder.loadTexts: hpicfSlotMapTable.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotMapTable.setDescription('********* THIS OBJECT IS DEPRECATED ********* A table that contains information about which entities are in which slots in this chassis.') hpicfSlotMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 5, 1), ).setIndexNames((0, "HP-ICF-CHASSIS", "hpicfSlotMapSlot"), (0, "HP-ICF-CHASSIS", "hpicfSlotMapEntity")) if mibBuilder.loadTexts: hpicfSlotMapEntry.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotMapEntry.setDescription('********* THIS OBJECT IS DEPRECATED ********* A relationship between a slot and an entity in this chassis. Such a relationship exists if the particular slot is occupied by a physical module performing part of the function of the particular entity.') hpicfSlotMapSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSlotMapSlot.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotMapSlot.setDescription('********* THIS OBJECT IS DEPRECATED ********* A slot number within the chassis which contains (part of) this entity.') hpicfSlotMapEntity = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 5, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSlotMapEntity.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotMapEntity.setDescription('********* THIS OBJECT IS DEPRECATED ********* The entity described in this mapping.') hpicfSensorTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6), ) if mibBuilder.loadTexts: hpicfSensorTable.setStatus('current') if mibBuilder.loadTexts: hpicfSensorTable.setDescription('A table that contains information on all the sensors in this chassis') hpicfSensorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1), ).setIndexNames((0, "HP-ICF-CHASSIS", "hpicfSensorIndex")) if mibBuilder.loadTexts: hpicfSensorEntry.setStatus('current') if mibBuilder.loadTexts: hpicfSensorEntry.setDescription('Information about a sensor in a chassis') hpicfSensorIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSensorIndex.setStatus('current') if mibBuilder.loadTexts: hpicfSensorIndex.setDescription('An index that uniquely identifies the sensor for which this entry contains information.') hpicfSensorObjectId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 2), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSensorObjectId.setStatus('current') if mibBuilder.loadTexts: hpicfSensorObjectId.setDescription('The authoritative identification of the kind of sensor this is.') hpicfSensorNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSensorNumber.setStatus('current') if mibBuilder.loadTexts: hpicfSensorNumber.setDescription('A number which identifies a particular sensor from other sensors of the same kind. For instance, if there are many temperature sensors in this chassis, this number would identify a particular temperature sensor in this chassis.') hpicfSensorStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("unknown", 1), ("bad", 2), ("warning", 3), ("good", 4), ("notPresent", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSensorStatus.setStatus('current') if mibBuilder.loadTexts: hpicfSensorStatus.setDescription('Actual status indicated by the sensor.') hpicfSensorWarnings = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSensorWarnings.setStatus('current') if mibBuilder.loadTexts: hpicfSensorWarnings.setDescription("The number of times hpicfSensorStatus has entered the 'warning'(3) state.") hpicfSensorFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSensorFailures.setStatus('current') if mibBuilder.loadTexts: hpicfSensorFailures.setDescription("The number of times hpicfSensorStatus has entered the 'bad'(2) state.") hpicfSensorDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 7), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSensorDescr.setStatus('current') if mibBuilder.loadTexts: hpicfSensorDescr.setDescription('A textual description of the sensor.') hpicfChassisAddrTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 7), ) if mibBuilder.loadTexts: hpicfChassisAddrTable.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisAddrTable.setDescription('********* THIS OBJECT IS DEPRECATED ********* A table of network addresses for entities in this chassis. The primary use of this table is to map a specific entity address to a specific chassis. Note that this table may not be a complete list of network addresses for this entity.') hpicfChassisAddrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 7, 1), ).setIndexNames((0, "HP-ICF-CHASSIS", "hpicfChasAddrType"), (0, "HP-ICF-CHASSIS", "hpicfChasAddrAddress")) if mibBuilder.loadTexts: hpicfChassisAddrEntry.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisAddrEntry.setDescription('********* THIS OBJECT IS DEPRECATED ********* An entry containing a single network address being used by a logical network device in this chassis.') hpicfChasAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 7, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("ipAddr", 1), ("ipxAddr", 2), ("macAddr", 3)))) if mibBuilder.loadTexts: hpicfChasAddrType.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasAddrType.setDescription('********* THIS OBJECT IS DEPRECATED ********* The kind of network address represented in this entry.') hpicfChasAddrAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 7, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 10))) if mibBuilder.loadTexts: hpicfChasAddrAddress.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasAddrAddress.setDescription('********* THIS OBJECT IS DEPRECATED ********* The network address being used by the logical network device associated with this entry, formatted according to the value of the associated instance of hpicfChasAddrType. For hpicfChasAddrType of ipAddr, this value is four octets long, with each octet representing one byte of the IP address, in network byte order. For hpicfChasAddrType of ipxAddr, this value is ten octets long, with the first four octets representing the IPX network number in network byte order, followed by the six byte host number in network byte order. For hpicfChasAddrType of macAddr, this value is six octets long, representing the MAC address in canonical order.') hpicfChasAddrEntity = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 7, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfChasAddrEntity.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasAddrEntity.setDescription('********* THIS OBJECT IS DEPRECATED ********* An index that uniquely identifies the logical network device in this chassis that is using this network address..') hpChassisTemperature = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8)) hpSystemAirTempTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1), ) if mibBuilder.loadTexts: hpSystemAirTempTable.setStatus('current') if mibBuilder.loadTexts: hpSystemAirTempTable.setDescription('This table gives the temperature details of chassis. These temperature details are obtained by monitoring chassis temperature sensors attached to the box by excluding ManagementModule, FabricModule, IMand PowerSupply sensors. This will give current, maximum,minimum,threshold and average temperatures of chassis.') hpSystemAirTempEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1), ).setIndexNames((0, "HP-ICF-CHASSIS", "hpSystemAirSensor")) if mibBuilder.loadTexts: hpSystemAirTempEntry.setStatus('current') if mibBuilder.loadTexts: hpSystemAirTempEntry.setDescription('This is the table for chassis temperature details.') hpSystemAirSensor = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))) if mibBuilder.loadTexts: hpSystemAirSensor.setStatus('current') if mibBuilder.loadTexts: hpSystemAirSensor.setDescription('This is the index for this table.This object describes chassis attached temperature sensor. Based on the value of this index, temperature details are obtained from the sensor and are given.') hpSystemAirName = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 20))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpSystemAirName.setStatus('current') if mibBuilder.loadTexts: hpSystemAirName.setDescription("This object describes name of the system which is chassis attached temperature sensor number. For example if the index (hpSystemAirSensor) is '0' then the system name is sys-1. Index starts from '0' but sensor number is '1'.") hpSystemAirCurrentTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 6))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpSystemAirCurrentTemp.setStatus('current') if mibBuilder.loadTexts: hpSystemAirCurrentTemp.setDescription('This object gives current temperature of the system. This is the current temperature given by the indexed chassis attached temperature sensor on box.') hpSystemAirMaxTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 6))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpSystemAirMaxTemp.setStatus('current') if mibBuilder.loadTexts: hpSystemAirMaxTemp.setDescription('This object gives Maximum temperature of the chassis.') hpSystemAirMinTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 6))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpSystemAirMinTemp.setStatus('current') if mibBuilder.loadTexts: hpSystemAirMinTemp.setDescription('This object gives Minimum temperature of the chassis.') hpSystemAirOverTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpSystemAirOverTemp.setStatus('current') if mibBuilder.loadTexts: hpSystemAirOverTemp.setDescription('This object gives Over temperature of the system. If the current temperature of the board is above threshold temperature and if board stays at this temperature for 10 full seconds then its called over temperature.') hpSystemAirThresholdTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 6))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpSystemAirThresholdTemp.setStatus('current') if mibBuilder.loadTexts: hpSystemAirThresholdTemp.setDescription('This object gives Threshold temperature of the system. This is the utmost temperature that the chassis can sustain. If chassis temperature is above threshold then alarm will ring to inform over temperature condition.') hpSystemAirAvgTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 5))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpSystemAirAvgTemp.setStatus('deprecated') if mibBuilder.loadTexts: hpSystemAirAvgTemp.setDescription('This object gives Average temperature of the system. There will be some roll up function which will check current temperature at particular intervals. Based on these current temperatures over certain time, average temperature is calculated.') hpSystemAirEntPhysicalIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 9), PhysicalIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpSystemAirEntPhysicalIndex.setStatus('current') if mibBuilder.loadTexts: hpSystemAirEntPhysicalIndex.setDescription('This gives the entPhysicalIndex of the temperature sensor as in the entPhysicalTable (rfc2737).') hpSystemAirAvgTemp1 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 6))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpSystemAirAvgTemp1.setStatus('current') if mibBuilder.loadTexts: hpSystemAirAvgTemp1.setDescription('This object gives Average temperature of the system. There will be some roll up function which will check current temperature at particular intervals. Based on these current temperatures over certain time, average temperature is calculated.') hpicfFanTrayType = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("standard", 1), ("highPerformance", 2))).clone('standard')).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfFanTrayType.setStatus('current') if mibBuilder.loadTexts: hpicfFanTrayType.setDescription('If opacity shield is installed hpicsFanTrayType should be HighPerformance. This is applicable only for 5406 5412 8212 and 8206 Switches.') hpicfOpacityShieldInstalled = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 10), TruthValue().clone('false')).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfOpacityShieldInstalled.setStatus('current') if mibBuilder.loadTexts: hpicfOpacityShieldInstalled.setDescription('It indicates that Opacity shield is Installed on the switch. This is applicable only for 5406,5412, 8212 and 8206 Switches.') hpicfSensorTrap = NotificationType((1, 3, 6, 1, 4, 1, 11, 2, 14, 12, 1, 0, 3)).setObjects(("HP-ICF-CHASSIS", "hpicfSensorStatus"), ("HP-ICF-CHASSIS", "hpicfSensorDescr")) if mibBuilder.loadTexts: hpicfSensorTrap.setStatus('current') if mibBuilder.loadTexts: hpicfSensorTrap.setDescription('An hpicfSensorTrap indicates that there has been a change of state on one of the sensors in this chassis. The hpicfSensorStatus indicates the new status value for the changed sensor.') hpicfChassisConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1)) hpicfChassisCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1)) hpicfChassisGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2)) hpicfChasAdvStkCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 1)).setObjects(("HP-ICF-CHASSIS", "hpicfChassisBasicGroup"), ("HP-ICF-CHASSIS", "hpicfSensorGroup"), ("HP-ICF-CHASSIS", "hpicfSensorNotifyGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfChasAdvStkCompliance = hpicfChasAdvStkCompliance.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasAdvStkCompliance.setDescription('********* THIS COMPLIANCE IS DEPRECATED ********* A compliance statement for AdvanceStack chassis devices.') hpicfChasAdvStk2Compliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 2)).setObjects(("HP-ICF-CHASSIS", "hpicfChassisBasicGroup"), ("HP-ICF-CHASSIS", "hpicfChassisAddrGroup"), ("HP-ICF-CHASSIS", "hpicfSensorGroup"), ("HP-ICF-CHASSIS", "hpicfSensorNotifyGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfChasAdvStk2Compliance = hpicfChasAdvStk2Compliance.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasAdvStk2Compliance.setDescription('********* THIS COMPLIANCE IS DEPRECATED ********* An updated compliance statement for AdvanceStack chassis devices that includes the hpicfChassisAddrGroup.') hpicfChasSensorCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 3)).setObjects(("HP-ICF-CHASSIS", "hpicfSensorGroup"), ("HP-ICF-CHASSIS", "hpicfSensorNotifyGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfChasSensorCompliance = hpicfChasSensorCompliance.setStatus('current') if mibBuilder.loadTexts: hpicfChasSensorCompliance.setDescription('A compliance statement for non-chassis devices, or chassis devices implementing a standards-based MIB for obtaining chassis information, which contain redundant power supplies or other appropriate sensors.') hpicfChasTempCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 4)).setObjects(("HP-ICF-CHASSIS", "hpicfChasTempGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfChasTempCompliance = hpicfChasTempCompliance.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasTempCompliance.setDescription(" A compliance statement for chassis's system air temperature details.") hpicfOpacityShieldsCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 5)).setObjects(("HP-ICF-CHASSIS", "hpicfOpacityShieldsGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfOpacityShieldsCompliance = hpicfOpacityShieldsCompliance.setStatus('current') if mibBuilder.loadTexts: hpicfOpacityShieldsCompliance.setDescription("A compliance statement for chassis's opacity Shield") hpicfChasTempCompliance1 = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 6)).setObjects(("HP-ICF-CHASSIS", "hpicfChasTempGroup1")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfChasTempCompliance1 = hpicfChasTempCompliance1.setStatus('current') if mibBuilder.loadTexts: hpicfChasTempCompliance1.setDescription(" A compliance statement for chassis's system air temperature details.") hpicfChassisBasicGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 1)).setObjects(("HP-ICF-CHASSIS", "hpicfChassisId"), ("HP-ICF-CHASSIS", "hpicfChassisNumSlots"), ("HP-ICF-CHASSIS", "hpicfSlotIndex"), ("HP-ICF-CHASSIS", "hpicfSlotObjectId"), ("HP-ICF-CHASSIS", "hpicfSlotLastChange"), ("HP-ICF-CHASSIS", "hpicfSlotDescr"), ("HP-ICF-CHASSIS", "hpicfEntityIndex"), ("HP-ICF-CHASSIS", "hpicfEntityFunction"), ("HP-ICF-CHASSIS", "hpicfEntityObjectId"), ("HP-ICF-CHASSIS", "hpicfEntityDescr"), ("HP-ICF-CHASSIS", "hpicfEntityTimestamp"), ("HP-ICF-CHASSIS", "hpicfSlotMapSlot"), ("HP-ICF-CHASSIS", "hpicfSlotMapEntity")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfChassisBasicGroup = hpicfChassisBasicGroup.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisBasicGroup.setDescription('********* THIS GROUP IS DEPRECATED ********* A collection of objects for determining the contents of an ICF chassis device.') hpicfSensorGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 2)).setObjects(("HP-ICF-CHASSIS", "hpicfSensorIndex"), ("HP-ICF-CHASSIS", "hpicfSensorObjectId"), ("HP-ICF-CHASSIS", "hpicfSensorNumber"), ("HP-ICF-CHASSIS", "hpicfSensorStatus"), ("HP-ICF-CHASSIS", "hpicfSensorWarnings"), ("HP-ICF-CHASSIS", "hpicfSensorFailures"), ("HP-ICF-CHASSIS", "hpicfSensorDescr")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfSensorGroup = hpicfSensorGroup.setStatus('current') if mibBuilder.loadTexts: hpicfSensorGroup.setDescription('A collection of objects for monitoring the status of sensors in an ICF chassis.') hpicfChassisAddrGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 3)).setObjects(("HP-ICF-CHASSIS", "hpicfChasAddrEntity")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfChassisAddrGroup = hpicfChassisAddrGroup.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisAddrGroup.setDescription('********* THIS GROUP IS DEPRECATED ********* A collection of objects to allow a management station to determine which devices are in the same chassis.') hpicfSensorNotifyGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 4)).setObjects(("HP-ICF-CHASSIS", "hpicfSensorTrap")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfSensorNotifyGroup = hpicfSensorNotifyGroup.setStatus('current') if mibBuilder.loadTexts: hpicfSensorNotifyGroup.setDescription('A collection of notifications used to indicate changes in the status of sensors.') hpicfChasTempGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 5)).setObjects(("HP-ICF-CHASSIS", "hpSystemAirName"), ("HP-ICF-CHASSIS", "hpSystemAirCurrentTemp"), ("HP-ICF-CHASSIS", "hpSystemAirMaxTemp"), ("HP-ICF-CHASSIS", "hpSystemAirMinTemp"), ("HP-ICF-CHASSIS", "hpSystemAirThresholdTemp"), ("HP-ICF-CHASSIS", "hpSystemAirOverTemp"), ("HP-ICF-CHASSIS", "hpSystemAirAvgTemp"), ("HP-ICF-CHASSIS", "hpSystemAirEntPhysicalIndex")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfChasTempGroup = hpicfChasTempGroup.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasTempGroup.setDescription('A collection objects to give temperature details of chassis') hpicfOpacityShieldsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 6)).setObjects(("HP-ICF-CHASSIS", "hpicfFanTrayType"), ("HP-ICF-CHASSIS", "hpicfOpacityShieldInstalled")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfOpacityShieldsGroup = hpicfOpacityShieldsGroup.setStatus('current') if mibBuilder.loadTexts: hpicfOpacityShieldsGroup.setDescription('A collection of objects for Opacity Shields of chassis') hpicfChasTempGroup1 = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 7)).setObjects(("HP-ICF-CHASSIS", "hpSystemAirName"), ("HP-ICF-CHASSIS", "hpSystemAirCurrentTemp"), ("HP-ICF-CHASSIS", "hpSystemAirMaxTemp"), ("HP-ICF-CHASSIS", "hpSystemAirMinTemp"), ("HP-ICF-CHASSIS", "hpSystemAirThresholdTemp"), ("HP-ICF-CHASSIS", "hpSystemAirOverTemp"), ("HP-ICF-CHASSIS", "hpSystemAirAvgTemp"), ("HP-ICF-CHASSIS", "hpSystemAirAvgTemp1"), ("HP-ICF-CHASSIS", "hpSystemAirEntPhysicalIndex")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfChasTempGroup1 = hpicfChasTempGroup1.setStatus('current') if mibBuilder.loadTexts: hpicfChasTempGroup1.setDescription('A collection objects to give temperature details of chassis') mibBuilder.exportSymbols("HP-ICF-CHASSIS", hpSystemAirTempTable=hpSystemAirTempTable, hpicfSlotMapEntry=hpicfSlotMapEntry, hpicfChasTempCompliance1=hpicfChasTempCompliance1, hpicfSlotMapSlot=hpicfSlotMapSlot, hpSystemAirMinTemp=hpSystemAirMinTemp, hpicfChasAdvStkCompliance=hpicfChasAdvStkCompliance, hpicfSensorIndex=hpicfSensorIndex, hpicfChasTempCompliance=hpicfChasTempCompliance, hpicfSlotEntry=hpicfSlotEntry, hpChassisTemperature=hpChassisTemperature, hpicfChassisNumSlots=hpicfChassisNumSlots, hpicfChasTempGroup=hpicfChasTempGroup, hpicfChasTempGroup1=hpicfChasTempGroup1, hpSystemAirCurrentTemp=hpSystemAirCurrentTemp, hpicfSensorStatus=hpicfSensorStatus, hpicfSensorTable=hpicfSensorTable, hpSystemAirTempEntry=hpSystemAirTempEntry, hpicfChassisAddrGroup=hpicfChassisAddrGroup, hpicfChasSensorCompliance=hpicfChasSensorCompliance, hpicfChassisCompliances=hpicfChassisCompliances, hpicfSlotIndex=hpicfSlotIndex, hpicfChasAddrAddress=hpicfChasAddrAddress, hpicfEntityEntry=hpicfEntityEntry, hpicfEntityIndex=hpicfEntityIndex, hpSystemAirEntPhysicalIndex=hpSystemAirEntPhysicalIndex, hpicfOpacityShieldInstalled=hpicfOpacityShieldInstalled, hpicfEntityObjectId=hpicfEntityObjectId, hpicfSensorTrap=hpicfSensorTrap, hpSystemAirAvgTemp1=hpSystemAirAvgTemp1, hpicfSensorWarnings=hpicfSensorWarnings, hpicfSensorFailures=hpicfSensorFailures, hpicfSensorGroup=hpicfSensorGroup, hpicfSlotDescr=hpicfSlotDescr, hpicfEntityTable=hpicfEntityTable, hpicfSensorNotifyGroup=hpicfSensorNotifyGroup, hpSystemAirThresholdTemp=hpSystemAirThresholdTemp, hpicfFanTrayType=hpicfFanTrayType, hpSystemAirSensor=hpSystemAirSensor, hpicfOpacityShieldsCompliance=hpicfOpacityShieldsCompliance, hpicfSensorDescr=hpicfSensorDescr, hpSystemAirOverTemp=hpSystemAirOverTemp, hpSystemAirAvgTemp=hpSystemAirAvgTemp, hpicfSlotMapTable=hpicfSlotMapTable, hpicfChassisId=hpicfChassisId, hpicfChassisAddrEntry=hpicfChassisAddrEntry, hpicfChassisGroups=hpicfChassisGroups, hpicfChasAddrType=hpicfChasAddrType, hpicfChassisMib=hpicfChassisMib, hpicfSlotLastChange=hpicfSlotLastChange, hpicfSlotObjectId=hpicfSlotObjectId, hpSystemAirName=hpSystemAirName, hpicfSensorEntry=hpicfSensorEntry, hpSystemAirMaxTemp=hpSystemAirMaxTemp, PYSNMP_MODULE_ID=hpicfChassisMib, hpicfEntityFunction=hpicfEntityFunction, hpicfEntityTimestamp=hpicfEntityTimestamp, hpicfChasAddrEntity=hpicfChasAddrEntity, hpicfChassisAddrTable=hpicfChassisAddrTable, hpicfSlotMapEntity=hpicfSlotMapEntity, hpicfChasAdvStk2Compliance=hpicfChasAdvStk2Compliance, hpicfSensorNumber=hpicfSensorNumber, hpicfSlotTable=hpicfSlotTable, hpicfSensorObjectId=hpicfSensorObjectId, hpicfChassisConformance=hpicfChassisConformance, hpicfOpacityShieldsGroup=hpicfOpacityShieldsGroup, hpicfEntityDescr=hpicfEntityDescr, hpicfChassis=hpicfChassis, hpicfChassisBasicGroup=hpicfChassisBasicGroup)
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, single_value_constraint, value_size_constraint, value_range_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsUnion') (physical_index,) = mibBuilder.importSymbols('ENTITY-MIB', 'PhysicalIndex') (hpicf_object_modules, hpicf_common_traps_prefix, hpicf_common) = mibBuilder.importSymbols('HP-ICF-OID', 'hpicfObjectModules', 'hpicfCommonTrapsPrefix', 'hpicfCommon') (object_group, module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'ModuleCompliance', 'NotificationGroup') (ip_address, counter32, bits, notification_type, iso, unsigned32, mib_scalar, mib_table, mib_table_row, mib_table_column, counter64, mib_identifier, gauge32, object_identity, integer32, module_identity, time_ticks) = mibBuilder.importSymbols('SNMPv2-SMI', 'IpAddress', 'Counter32', 'Bits', 'NotificationType', 'iso', 'Unsigned32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter64', 'MibIdentifier', 'Gauge32', 'ObjectIdentity', 'Integer32', 'ModuleIdentity', 'TimeTicks') (textual_convention, display_string, time_stamp, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString', 'TimeStamp', 'TruthValue') hpicf_chassis_mib = module_identity((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3)) hpicfChassisMib.setRevisions(('2013-02-10 08:47', '2011-08-25 08:47', '2010-08-25 00:00', '2009-04-22 00:00', '2000-11-03 22:16', '1997-03-06 03:34', '1996-09-10 02:45', '1995-07-13 00:00', '1994-11-20 00:00', '1993-07-09 00:00')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: hpicfChassisMib.setRevisionsDescriptions(('Added object hpSystemAirAvgTemp1,Group hpicfChasTempGroup1, Compliance hpicfChasTempCompliance1. deprecated hpSystemAirAvgTemp object, group hpicfChasTempGroup and hpicfChasTempCompliance.', 'Added new scalars hpicfFanTrayType and hpicfOpacityShieldInstalled.', 'Added hpSystemAirEntPhysicalIndex to the air temperature table.', 'Added new SNMP object and SNMP table for chassis temperature details', 'Updated division name.', 'Added NOTIFICATION-GROUP information.', 'Split this MIB module from the former monolithic hp-icf MIB. Added compliance statement for use by non-chassis devices or devices that are implementing another chassis MIB (like Entity MIB) but still want to use the hpicfSensorTable. Changed STATUS clause to deprecated for those objects that are superseded by the Entity MIB.', 'Added the hpicfSensorTrap.', 'Added the hpicfChassisAddrTable.', 'Initial version.')) if mibBuilder.loadTexts: hpicfChassisMib.setLastUpdated('201302100847Z') if mibBuilder.loadTexts: hpicfChassisMib.setOrganization('HP Networking') if mibBuilder.loadTexts: hpicfChassisMib.setContactInfo('Hewlett Packard Company 8000 Foothills Blvd. Roseville, CA 95747') if mibBuilder.loadTexts: hpicfChassisMib.setDescription('This MIB module describes chassis devices in the HP Integrated Communication Facility product line. Note that most of this module will be superseded by the standard Entity MIB. However, the hpicfSensorTable will still be valid.') hpicf_chassis = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2)) hpicf_chassis_id = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 1), octet_string().subtype(subtypeSpec=value_size_constraint(6, 6)).setFixedLength(6)).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfChassisId.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisId.setDescription('********* THIS OBJECT IS DEPRECATED ********* An identifier that uniquely identifies this particular chassis. This will be the same value as the instance of hpicfChainId for this chassis.') hpicf_chassis_num_slots = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfChassisNumSlots.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisNumSlots.setDescription('********* THIS OBJECT IS DEPRECATED ********* The number of slots in this chassis.') hpicf_slot_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3)) if mibBuilder.loadTexts: hpicfSlotTable.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotTable.setDescription('********* THIS OBJECT IS DEPRECATED ********* A table that contains information on all the slots in this chassis.') hpicf_slot_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3, 1)).setIndexNames((0, 'HP-ICF-CHASSIS', 'hpicfSlotIndex')) if mibBuilder.loadTexts: hpicfSlotEntry.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotEntry.setDescription('********* THIS OBJECT IS DEPRECATED ********* Information about a slot in a chassis') hpicf_slot_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSlotIndex.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotIndex.setDescription('********* THIS OBJECT IS DEPRECATED ********* The slot number within the box for which this entry contains information.') hpicf_slot_object_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3, 1, 2), object_identifier()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSlotObjectId.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotObjectId.setDescription('********* THIS OBJECT IS DEPRECATED ********* The authoritative identification of the card plugged into this slot in this chassis. A value of { 0 0 } indicates an empty slot.') hpicf_slot_last_change = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3, 1, 3), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSlotLastChange.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotLastChange.setDescription("********* THIS OBJECT IS DEPRECATED ********* The value of the agent's sysUpTime at which a card in this slot was last inserted or removed. If no module has been inserted or removed since the last reinitialization of the agent, this object has a zero value.") hpicf_slot_descr = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSlotDescr.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotDescr.setDescription('********* THIS OBJECT IS DEPRECATED ********* A textual description of the card plugged into this slot in this chassis, including the product number and version information.') hpicf_entity_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4)) if mibBuilder.loadTexts: hpicfEntityTable.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityTable.setDescription('********* THIS OBJECT IS DEPRECATED ********* A table that contains information about the (logical) networking devices contained in this chassis.') hpicf_entity_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1)).setIndexNames((0, 'HP-ICF-CHASSIS', 'hpicfEntityIndex')) if mibBuilder.loadTexts: hpicfEntityEntry.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityEntry.setDescription('********* THIS OBJECT IS DEPRECATED ********* Information about a single logical networking device contained in this chassis.') hpicf_entity_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfEntityIndex.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityIndex.setDescription('********* THIS OBJECT IS DEPRECATED ********* An index that uniquely identifies the logical network device for which this entry contains information.') hpicf_entity_function = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 63))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfEntityFunction.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityFunction.setDescription('********* THIS OBJECT IS DEPRECATED ********* The generic function provided by the logical network device. The value is a sum. Starting from zero, for each type of generic function that the entity performs, 2 raised to a power is added to the sum. The powers are according to the following table: Function Power other 1 repeater 0 bridge 2 router 3 agent 5 For example, an entity performing both bridging and routing functions would have a value of 12 (2^2 + 2^3).') hpicf_entity_object_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1, 3), object_identifier()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfEntityObjectId.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityObjectId.setDescription("********* THIS OBJECT IS DEPRECATED ********* The authoritative identification of the logical network device which provides an unambiguous means of determining the type of device. The value of this object is analogous to MIB-II's sysObjectId.") hpicf_entity_descr = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfEntityDescr.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityDescr.setDescription("********* THIS OBJECT IS DEPRECATED ********* A textual description of this device, including the product number and version information. The value of this object is analogous to MIB-II's sysDescr.") hpicf_entity_timestamp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1, 5), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfEntityTimestamp.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityTimestamp.setDescription("********* THIS OBJECT IS DEPRECATED ********* The value of the agent's sysUpTime at which this logical network device was last reinitialized. If the entity has not been reinitialized since the last reinitialization of the agent, then this object has a zero value.") hpicf_slot_map_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 5)) if mibBuilder.loadTexts: hpicfSlotMapTable.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotMapTable.setDescription('********* THIS OBJECT IS DEPRECATED ********* A table that contains information about which entities are in which slots in this chassis.') hpicf_slot_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 5, 1)).setIndexNames((0, 'HP-ICF-CHASSIS', 'hpicfSlotMapSlot'), (0, 'HP-ICF-CHASSIS', 'hpicfSlotMapEntity')) if mibBuilder.loadTexts: hpicfSlotMapEntry.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotMapEntry.setDescription('********* THIS OBJECT IS DEPRECATED ********* A relationship between a slot and an entity in this chassis. Such a relationship exists if the particular slot is occupied by a physical module performing part of the function of the particular entity.') hpicf_slot_map_slot = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSlotMapSlot.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotMapSlot.setDescription('********* THIS OBJECT IS DEPRECATED ********* A slot number within the chassis which contains (part of) this entity.') hpicf_slot_map_entity = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 5, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSlotMapEntity.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotMapEntity.setDescription('********* THIS OBJECT IS DEPRECATED ********* The entity described in this mapping.') hpicf_sensor_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6)) if mibBuilder.loadTexts: hpicfSensorTable.setStatus('current') if mibBuilder.loadTexts: hpicfSensorTable.setDescription('A table that contains information on all the sensors in this chassis') hpicf_sensor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1)).setIndexNames((0, 'HP-ICF-CHASSIS', 'hpicfSensorIndex')) if mibBuilder.loadTexts: hpicfSensorEntry.setStatus('current') if mibBuilder.loadTexts: hpicfSensorEntry.setDescription('Information about a sensor in a chassis') hpicf_sensor_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSensorIndex.setStatus('current') if mibBuilder.loadTexts: hpicfSensorIndex.setDescription('An index that uniquely identifies the sensor for which this entry contains information.') hpicf_sensor_object_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 2), object_identifier()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSensorObjectId.setStatus('current') if mibBuilder.loadTexts: hpicfSensorObjectId.setDescription('The authoritative identification of the kind of sensor this is.') hpicf_sensor_number = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSensorNumber.setStatus('current') if mibBuilder.loadTexts: hpicfSensorNumber.setDescription('A number which identifies a particular sensor from other sensors of the same kind. For instance, if there are many temperature sensors in this chassis, this number would identify a particular temperature sensor in this chassis.') hpicf_sensor_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('unknown', 1), ('bad', 2), ('warning', 3), ('good', 4), ('notPresent', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSensorStatus.setStatus('current') if mibBuilder.loadTexts: hpicfSensorStatus.setDescription('Actual status indicated by the sensor.') hpicf_sensor_warnings = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSensorWarnings.setStatus('current') if mibBuilder.loadTexts: hpicfSensorWarnings.setDescription("The number of times hpicfSensorStatus has entered the 'warning'(3) state.") hpicf_sensor_failures = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSensorFailures.setStatus('current') if mibBuilder.loadTexts: hpicfSensorFailures.setDescription("The number of times hpicfSensorStatus has entered the 'bad'(2) state.") hpicf_sensor_descr = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 7), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSensorDescr.setStatus('current') if mibBuilder.loadTexts: hpicfSensorDescr.setDescription('A textual description of the sensor.') hpicf_chassis_addr_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 7)) if mibBuilder.loadTexts: hpicfChassisAddrTable.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisAddrTable.setDescription('********* THIS OBJECT IS DEPRECATED ********* A table of network addresses for entities in this chassis. The primary use of this table is to map a specific entity address to a specific chassis. Note that this table may not be a complete list of network addresses for this entity.') hpicf_chassis_addr_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 7, 1)).setIndexNames((0, 'HP-ICF-CHASSIS', 'hpicfChasAddrType'), (0, 'HP-ICF-CHASSIS', 'hpicfChasAddrAddress')) if mibBuilder.loadTexts: hpicfChassisAddrEntry.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisAddrEntry.setDescription('********* THIS OBJECT IS DEPRECATED ********* An entry containing a single network address being used by a logical network device in this chassis.') hpicf_chas_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 7, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('ipAddr', 1), ('ipxAddr', 2), ('macAddr', 3)))) if mibBuilder.loadTexts: hpicfChasAddrType.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasAddrType.setDescription('********* THIS OBJECT IS DEPRECATED ********* The kind of network address represented in this entry.') hpicf_chas_addr_address = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 7, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(4, 10))) if mibBuilder.loadTexts: hpicfChasAddrAddress.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasAddrAddress.setDescription('********* THIS OBJECT IS DEPRECATED ********* The network address being used by the logical network device associated with this entry, formatted according to the value of the associated instance of hpicfChasAddrType. For hpicfChasAddrType of ipAddr, this value is four octets long, with each octet representing one byte of the IP address, in network byte order. For hpicfChasAddrType of ipxAddr, this value is ten octets long, with the first four octets representing the IPX network number in network byte order, followed by the six byte host number in network byte order. For hpicfChasAddrType of macAddr, this value is six octets long, representing the MAC address in canonical order.') hpicf_chas_addr_entity = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 7, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfChasAddrEntity.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasAddrEntity.setDescription('********* THIS OBJECT IS DEPRECATED ********* An index that uniquely identifies the logical network device in this chassis that is using this network address..') hp_chassis_temperature = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8)) hp_system_air_temp_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1)) if mibBuilder.loadTexts: hpSystemAirTempTable.setStatus('current') if mibBuilder.loadTexts: hpSystemAirTempTable.setDescription('This table gives the temperature details of chassis. These temperature details are obtained by monitoring chassis temperature sensors attached to the box by excluding ManagementModule, FabricModule, IMand PowerSupply sensors. This will give current, maximum,minimum,threshold and average temperatures of chassis.') hp_system_air_temp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1)).setIndexNames((0, 'HP-ICF-CHASSIS', 'hpSystemAirSensor')) if mibBuilder.loadTexts: hpSystemAirTempEntry.setStatus('current') if mibBuilder.loadTexts: hpSystemAirTempEntry.setDescription('This is the table for chassis temperature details.') hp_system_air_sensor = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))) if mibBuilder.loadTexts: hpSystemAirSensor.setStatus('current') if mibBuilder.loadTexts: hpSystemAirSensor.setDescription('This is the index for this table.This object describes chassis attached temperature sensor. Based on the value of this index, temperature details are obtained from the sensor and are given.') hp_system_air_name = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(1, 20))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpSystemAirName.setStatus('current') if mibBuilder.loadTexts: hpSystemAirName.setDescription("This object describes name of the system which is chassis attached temperature sensor number. For example if the index (hpSystemAirSensor) is '0' then the system name is sys-1. Index starts from '0' but sensor number is '1'.") hp_system_air_current_temp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(1, 6))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpSystemAirCurrentTemp.setStatus('current') if mibBuilder.loadTexts: hpSystemAirCurrentTemp.setDescription('This object gives current temperature of the system. This is the current temperature given by the indexed chassis attached temperature sensor on box.') hp_system_air_max_temp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(1, 6))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpSystemAirMaxTemp.setStatus('current') if mibBuilder.loadTexts: hpSystemAirMaxTemp.setDescription('This object gives Maximum temperature of the chassis.') hp_system_air_min_temp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 5), octet_string().subtype(subtypeSpec=value_size_constraint(1, 6))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpSystemAirMinTemp.setStatus('current') if mibBuilder.loadTexts: hpSystemAirMinTemp.setDescription('This object gives Minimum temperature of the chassis.') hp_system_air_over_temp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('yes', 1), ('no', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpSystemAirOverTemp.setStatus('current') if mibBuilder.loadTexts: hpSystemAirOverTemp.setDescription('This object gives Over temperature of the system. If the current temperature of the board is above threshold temperature and if board stays at this temperature for 10 full seconds then its called over temperature.') hp_system_air_threshold_temp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 7), octet_string().subtype(subtypeSpec=value_size_constraint(1, 6))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpSystemAirThresholdTemp.setStatus('current') if mibBuilder.loadTexts: hpSystemAirThresholdTemp.setDescription('This object gives Threshold temperature of the system. This is the utmost temperature that the chassis can sustain. If chassis temperature is above threshold then alarm will ring to inform over temperature condition.') hp_system_air_avg_temp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 8), octet_string().subtype(subtypeSpec=value_size_constraint(1, 5))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpSystemAirAvgTemp.setStatus('deprecated') if mibBuilder.loadTexts: hpSystemAirAvgTemp.setDescription('This object gives Average temperature of the system. There will be some roll up function which will check current temperature at particular intervals. Based on these current temperatures over certain time, average temperature is calculated.') hp_system_air_ent_physical_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 9), physical_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpSystemAirEntPhysicalIndex.setStatus('current') if mibBuilder.loadTexts: hpSystemAirEntPhysicalIndex.setDescription('This gives the entPhysicalIndex of the temperature sensor as in the entPhysicalTable (rfc2737).') hp_system_air_avg_temp1 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 10), octet_string().subtype(subtypeSpec=value_size_constraint(1, 6))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpSystemAirAvgTemp1.setStatus('current') if mibBuilder.loadTexts: hpSystemAirAvgTemp1.setDescription('This object gives Average temperature of the system. There will be some roll up function which will check current temperature at particular intervals. Based on these current temperatures over certain time, average temperature is calculated.') hpicf_fan_tray_type = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('standard', 1), ('highPerformance', 2))).clone('standard')).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfFanTrayType.setStatus('current') if mibBuilder.loadTexts: hpicfFanTrayType.setDescription('If opacity shield is installed hpicsFanTrayType should be HighPerformance. This is applicable only for 5406 5412 8212 and 8206 Switches.') hpicf_opacity_shield_installed = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 10), truth_value().clone('false')).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfOpacityShieldInstalled.setStatus('current') if mibBuilder.loadTexts: hpicfOpacityShieldInstalled.setDescription('It indicates that Opacity shield is Installed on the switch. This is applicable only for 5406,5412, 8212 and 8206 Switches.') hpicf_sensor_trap = notification_type((1, 3, 6, 1, 4, 1, 11, 2, 14, 12, 1, 0, 3)).setObjects(('HP-ICF-CHASSIS', 'hpicfSensorStatus'), ('HP-ICF-CHASSIS', 'hpicfSensorDescr')) if mibBuilder.loadTexts: hpicfSensorTrap.setStatus('current') if mibBuilder.loadTexts: hpicfSensorTrap.setDescription('An hpicfSensorTrap indicates that there has been a change of state on one of the sensors in this chassis. The hpicfSensorStatus indicates the new status value for the changed sensor.') hpicf_chassis_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1)) hpicf_chassis_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1)) hpicf_chassis_groups = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2)) hpicf_chas_adv_stk_compliance = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 1)).setObjects(('HP-ICF-CHASSIS', 'hpicfChassisBasicGroup'), ('HP-ICF-CHASSIS', 'hpicfSensorGroup'), ('HP-ICF-CHASSIS', 'hpicfSensorNotifyGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_chas_adv_stk_compliance = hpicfChasAdvStkCompliance.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasAdvStkCompliance.setDescription('********* THIS COMPLIANCE IS DEPRECATED ********* A compliance statement for AdvanceStack chassis devices.') hpicf_chas_adv_stk2_compliance = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 2)).setObjects(('HP-ICF-CHASSIS', 'hpicfChassisBasicGroup'), ('HP-ICF-CHASSIS', 'hpicfChassisAddrGroup'), ('HP-ICF-CHASSIS', 'hpicfSensorGroup'), ('HP-ICF-CHASSIS', 'hpicfSensorNotifyGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_chas_adv_stk2_compliance = hpicfChasAdvStk2Compliance.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasAdvStk2Compliance.setDescription('********* THIS COMPLIANCE IS DEPRECATED ********* An updated compliance statement for AdvanceStack chassis devices that includes the hpicfChassisAddrGroup.') hpicf_chas_sensor_compliance = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 3)).setObjects(('HP-ICF-CHASSIS', 'hpicfSensorGroup'), ('HP-ICF-CHASSIS', 'hpicfSensorNotifyGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_chas_sensor_compliance = hpicfChasSensorCompliance.setStatus('current') if mibBuilder.loadTexts: hpicfChasSensorCompliance.setDescription('A compliance statement for non-chassis devices, or chassis devices implementing a standards-based MIB for obtaining chassis information, which contain redundant power supplies or other appropriate sensors.') hpicf_chas_temp_compliance = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 4)).setObjects(('HP-ICF-CHASSIS', 'hpicfChasTempGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_chas_temp_compliance = hpicfChasTempCompliance.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasTempCompliance.setDescription(" A compliance statement for chassis's system air temperature details.") hpicf_opacity_shields_compliance = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 5)).setObjects(('HP-ICF-CHASSIS', 'hpicfOpacityShieldsGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_opacity_shields_compliance = hpicfOpacityShieldsCompliance.setStatus('current') if mibBuilder.loadTexts: hpicfOpacityShieldsCompliance.setDescription("A compliance statement for chassis's opacity Shield") hpicf_chas_temp_compliance1 = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 6)).setObjects(('HP-ICF-CHASSIS', 'hpicfChasTempGroup1')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_chas_temp_compliance1 = hpicfChasTempCompliance1.setStatus('current') if mibBuilder.loadTexts: hpicfChasTempCompliance1.setDescription(" A compliance statement for chassis's system air temperature details.") hpicf_chassis_basic_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 1)).setObjects(('HP-ICF-CHASSIS', 'hpicfChassisId'), ('HP-ICF-CHASSIS', 'hpicfChassisNumSlots'), ('HP-ICF-CHASSIS', 'hpicfSlotIndex'), ('HP-ICF-CHASSIS', 'hpicfSlotObjectId'), ('HP-ICF-CHASSIS', 'hpicfSlotLastChange'), ('HP-ICF-CHASSIS', 'hpicfSlotDescr'), ('HP-ICF-CHASSIS', 'hpicfEntityIndex'), ('HP-ICF-CHASSIS', 'hpicfEntityFunction'), ('HP-ICF-CHASSIS', 'hpicfEntityObjectId'), ('HP-ICF-CHASSIS', 'hpicfEntityDescr'), ('HP-ICF-CHASSIS', 'hpicfEntityTimestamp'), ('HP-ICF-CHASSIS', 'hpicfSlotMapSlot'), ('HP-ICF-CHASSIS', 'hpicfSlotMapEntity')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_chassis_basic_group = hpicfChassisBasicGroup.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisBasicGroup.setDescription('********* THIS GROUP IS DEPRECATED ********* A collection of objects for determining the contents of an ICF chassis device.') hpicf_sensor_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 2)).setObjects(('HP-ICF-CHASSIS', 'hpicfSensorIndex'), ('HP-ICF-CHASSIS', 'hpicfSensorObjectId'), ('HP-ICF-CHASSIS', 'hpicfSensorNumber'), ('HP-ICF-CHASSIS', 'hpicfSensorStatus'), ('HP-ICF-CHASSIS', 'hpicfSensorWarnings'), ('HP-ICF-CHASSIS', 'hpicfSensorFailures'), ('HP-ICF-CHASSIS', 'hpicfSensorDescr')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_sensor_group = hpicfSensorGroup.setStatus('current') if mibBuilder.loadTexts: hpicfSensorGroup.setDescription('A collection of objects for monitoring the status of sensors in an ICF chassis.') hpicf_chassis_addr_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 3)).setObjects(('HP-ICF-CHASSIS', 'hpicfChasAddrEntity')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_chassis_addr_group = hpicfChassisAddrGroup.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisAddrGroup.setDescription('********* THIS GROUP IS DEPRECATED ********* A collection of objects to allow a management station to determine which devices are in the same chassis.') hpicf_sensor_notify_group = notification_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 4)).setObjects(('HP-ICF-CHASSIS', 'hpicfSensorTrap')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_sensor_notify_group = hpicfSensorNotifyGroup.setStatus('current') if mibBuilder.loadTexts: hpicfSensorNotifyGroup.setDescription('A collection of notifications used to indicate changes in the status of sensors.') hpicf_chas_temp_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 5)).setObjects(('HP-ICF-CHASSIS', 'hpSystemAirName'), ('HP-ICF-CHASSIS', 'hpSystemAirCurrentTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirMaxTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirMinTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirThresholdTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirOverTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirAvgTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirEntPhysicalIndex')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_chas_temp_group = hpicfChasTempGroup.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasTempGroup.setDescription('A collection objects to give temperature details of chassis') hpicf_opacity_shields_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 6)).setObjects(('HP-ICF-CHASSIS', 'hpicfFanTrayType'), ('HP-ICF-CHASSIS', 'hpicfOpacityShieldInstalled')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_opacity_shields_group = hpicfOpacityShieldsGroup.setStatus('current') if mibBuilder.loadTexts: hpicfOpacityShieldsGroup.setDescription('A collection of objects for Opacity Shields of chassis') hpicf_chas_temp_group1 = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 7)).setObjects(('HP-ICF-CHASSIS', 'hpSystemAirName'), ('HP-ICF-CHASSIS', 'hpSystemAirCurrentTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirMaxTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirMinTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirThresholdTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirOverTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirAvgTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirAvgTemp1'), ('HP-ICF-CHASSIS', 'hpSystemAirEntPhysicalIndex')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_chas_temp_group1 = hpicfChasTempGroup1.setStatus('current') if mibBuilder.loadTexts: hpicfChasTempGroup1.setDescription('A collection objects to give temperature details of chassis') mibBuilder.exportSymbols('HP-ICF-CHASSIS', hpSystemAirTempTable=hpSystemAirTempTable, hpicfSlotMapEntry=hpicfSlotMapEntry, hpicfChasTempCompliance1=hpicfChasTempCompliance1, hpicfSlotMapSlot=hpicfSlotMapSlot, hpSystemAirMinTemp=hpSystemAirMinTemp, hpicfChasAdvStkCompliance=hpicfChasAdvStkCompliance, hpicfSensorIndex=hpicfSensorIndex, hpicfChasTempCompliance=hpicfChasTempCompliance, hpicfSlotEntry=hpicfSlotEntry, hpChassisTemperature=hpChassisTemperature, hpicfChassisNumSlots=hpicfChassisNumSlots, hpicfChasTempGroup=hpicfChasTempGroup, hpicfChasTempGroup1=hpicfChasTempGroup1, hpSystemAirCurrentTemp=hpSystemAirCurrentTemp, hpicfSensorStatus=hpicfSensorStatus, hpicfSensorTable=hpicfSensorTable, hpSystemAirTempEntry=hpSystemAirTempEntry, hpicfChassisAddrGroup=hpicfChassisAddrGroup, hpicfChasSensorCompliance=hpicfChasSensorCompliance, hpicfChassisCompliances=hpicfChassisCompliances, hpicfSlotIndex=hpicfSlotIndex, hpicfChasAddrAddress=hpicfChasAddrAddress, hpicfEntityEntry=hpicfEntityEntry, hpicfEntityIndex=hpicfEntityIndex, hpSystemAirEntPhysicalIndex=hpSystemAirEntPhysicalIndex, hpicfOpacityShieldInstalled=hpicfOpacityShieldInstalled, hpicfEntityObjectId=hpicfEntityObjectId, hpicfSensorTrap=hpicfSensorTrap, hpSystemAirAvgTemp1=hpSystemAirAvgTemp1, hpicfSensorWarnings=hpicfSensorWarnings, hpicfSensorFailures=hpicfSensorFailures, hpicfSensorGroup=hpicfSensorGroup, hpicfSlotDescr=hpicfSlotDescr, hpicfEntityTable=hpicfEntityTable, hpicfSensorNotifyGroup=hpicfSensorNotifyGroup, hpSystemAirThresholdTemp=hpSystemAirThresholdTemp, hpicfFanTrayType=hpicfFanTrayType, hpSystemAirSensor=hpSystemAirSensor, hpicfOpacityShieldsCompliance=hpicfOpacityShieldsCompliance, hpicfSensorDescr=hpicfSensorDescr, hpSystemAirOverTemp=hpSystemAirOverTemp, hpSystemAirAvgTemp=hpSystemAirAvgTemp, hpicfSlotMapTable=hpicfSlotMapTable, hpicfChassisId=hpicfChassisId, hpicfChassisAddrEntry=hpicfChassisAddrEntry, hpicfChassisGroups=hpicfChassisGroups, hpicfChasAddrType=hpicfChasAddrType, hpicfChassisMib=hpicfChassisMib, hpicfSlotLastChange=hpicfSlotLastChange, hpicfSlotObjectId=hpicfSlotObjectId, hpSystemAirName=hpSystemAirName, hpicfSensorEntry=hpicfSensorEntry, hpSystemAirMaxTemp=hpSystemAirMaxTemp, PYSNMP_MODULE_ID=hpicfChassisMib, hpicfEntityFunction=hpicfEntityFunction, hpicfEntityTimestamp=hpicfEntityTimestamp, hpicfChasAddrEntity=hpicfChasAddrEntity, hpicfChassisAddrTable=hpicfChassisAddrTable, hpicfSlotMapEntity=hpicfSlotMapEntity, hpicfChasAdvStk2Compliance=hpicfChasAdvStk2Compliance, hpicfSensorNumber=hpicfSensorNumber, hpicfSlotTable=hpicfSlotTable, hpicfSensorObjectId=hpicfSensorObjectId, hpicfChassisConformance=hpicfChassisConformance, hpicfOpacityShieldsGroup=hpicfOpacityShieldsGroup, hpicfEntityDescr=hpicfEntityDescr, hpicfChassis=hpicfChassis, hpicfChassisBasicGroup=hpicfChassisBasicGroup)
class C(Exception): pass try: raise C except C: print("caught exception")
class C(Exception): pass try: raise C except C: print('caught exception')
for i in range(2,21): with open(f"Tables/ Table of {i}","w") as f: for j in range(1,11): f.write(f"{i} X {j} ={i*j}") if j!=10: f.write("\n")
for i in range(2, 21): with open(f'Tables/ Table of {i}', 'w') as f: for j in range(1, 11): f.write(f'{i} X {j} ={i * j}') if j != 10: f.write('\n')
b = False e = "Hello world" while b: print(b) d = True while d: print(d and False) print(d and True) print("hello")
b = False e = 'Hello world' while b: print(b) d = True while d: print(d and False) print(d and True) print('hello')
# Please do not any airflow imports in this file # We want to allow importing constants from this file without any side effects # Do not change this name unless you change the same constant in monitor_as_dag.py in dbnd-airflow-monitor MONITOR_DAG_NAME = "databand_airflow_monitor"
monitor_dag_name = 'databand_airflow_monitor'
data = input().split() x = int(data[0]) y = int(data[1]) limit = int(data[2]) for value in range(1,limit+1): output = "" if value % x == 0: output += "Fizz" if value % y == 0: output += "Buzz" if output == "": print(value) else: print(output)
data = input().split() x = int(data[0]) y = int(data[1]) limit = int(data[2]) for value in range(1, limit + 1): output = '' if value % x == 0: output += 'Fizz' if value % y == 0: output += 'Buzz' if output == '': print(value) else: print(output)
limit=int(input("enter the limit")) sum=0 for i in range(1,limit+1,1) : if(i % 2== 0 ): print("even no is",i) sum=sum+i print(sum)
limit = int(input('enter the limit')) sum = 0 for i in range(1, limit + 1, 1): if i % 2 == 0: print('even no is', i) sum = sum + i print(sum)
# -*- coding: utf-8 -*- # the __all__ is generated __all__ = [] # __init__.py structure: # common code of the package # export interface in __all__ which contains __all__ of its sub modules # import all from submodule quote # from .quote import * # from .quote import __all__ as _quote_all # __all__ += _quote_all # # import all from submodule stats # from .stats import * # from .stats import __all__ as _stats_all # __all__ += _stats_all # # import all from submodule trader_info_api # from .trader_info_api import * # from .trader_info_api import __all__ as _trader_info_api_all # __all__ += _trader_info_api_all
__all__ = []
def war(Naomi_w, Ken_w): Naomi_wins = 0 while len(Naomi_w) > 0: for X in Naomi_w: temp = [] done = 0 Chosen_Naomi = X Told_Naomi = X for i in Ken_w: if i > X: temp.append((i, i - X)) done = 1 if done == 0: Chosen_Ken = min(Ken_w) Naomi_wins += 1 else: Chosen_Ken = min(temp)[0] Naomi_w.remove(X) Ken_w.remove(Chosen_Ken) return Naomi_wins def deceit(Naomi, Ken): Naomi_deceits = 0 while len(Naomi) > 1: temp = [] done = 0 ##Naomi choosing and telling if Naomi[0] > Ken[0]: Chosen_Naomi = Naomi[0] Told_Naomi = Ken[-1]+0.0000001 else: Chosen_Naomi = Naomi[0] Told_Naomi = Ken[-2] + (Ken[-1]-Ken[-2])/2 ##Ken choosing for i in Ken: if i > Told_Naomi: temp.append((i, i - Told_Naomi)) done = 1 if done == 0: Chosen_Ken = min(Ken) else: Chosen_Ken = min(temp)[0] print("Naomi: " + str(Chosen_Naomi) + "\t Ken: " + str(Chosen_Ken)) if Chosen_Naomi > Chosen_Ken: Naomi_deceits += 1 Naomi.remove(Chosen_Naomi) Ken.remove(Chosen_Ken) ## For two blocks left Chosen_Naomi = Naomi[0] Chosen_Ken = Ken[0] if Chosen_Naomi > Chosen_Ken: Naomi_deceits += 1 return Naomi_deceits def deceitful_war(filename): file = open(filename) out = open("output.txt", "w+") testcases = int(file.readline()) for test in range(0, testcases): blocks = int(file.readline()) Naomi = file.readline().split(' ') Ken = file.readline().split(' ') Naomi_w = [] Ken_w = [] for i in range(0, blocks): Naomi[i] = float(Naomi[i]) Ken[i] = float(Ken[i]) Naomi_w.append(Naomi[i]) Ken_w.append(Ken[i]) Naomi.sort() Ken.sort() Naomi_wins = war(Naomi_w, Ken_w) Naomi_deceits = deceit(Naomi, Ken) final = ("Case #" + str(test+1) + ": " + str(Naomi_deceits) + " " + str(Naomi_wins) + "\n") print(final) out.write(final) file.close() out.close()
def war(Naomi_w, Ken_w): naomi_wins = 0 while len(Naomi_w) > 0: for x in Naomi_w: temp = [] done = 0 chosen__naomi = X told__naomi = X for i in Ken_w: if i > X: temp.append((i, i - X)) done = 1 if done == 0: chosen__ken = min(Ken_w) naomi_wins += 1 else: chosen__ken = min(temp)[0] Naomi_w.remove(X) Ken_w.remove(Chosen_Ken) return Naomi_wins def deceit(Naomi, Ken): naomi_deceits = 0 while len(Naomi) > 1: temp = [] done = 0 if Naomi[0] > Ken[0]: chosen__naomi = Naomi[0] told__naomi = Ken[-1] + 1e-07 else: chosen__naomi = Naomi[0] told__naomi = Ken[-2] + (Ken[-1] - Ken[-2]) / 2 for i in Ken: if i > Told_Naomi: temp.append((i, i - Told_Naomi)) done = 1 if done == 0: chosen__ken = min(Ken) else: chosen__ken = min(temp)[0] print('Naomi: ' + str(Chosen_Naomi) + '\t Ken: ' + str(Chosen_Ken)) if Chosen_Naomi > Chosen_Ken: naomi_deceits += 1 Naomi.remove(Chosen_Naomi) Ken.remove(Chosen_Ken) chosen__naomi = Naomi[0] chosen__ken = Ken[0] if Chosen_Naomi > Chosen_Ken: naomi_deceits += 1 return Naomi_deceits def deceitful_war(filename): file = open(filename) out = open('output.txt', 'w+') testcases = int(file.readline()) for test in range(0, testcases): blocks = int(file.readline()) naomi = file.readline().split(' ') ken = file.readline().split(' ') naomi_w = [] ken_w = [] for i in range(0, blocks): Naomi[i] = float(Naomi[i]) Ken[i] = float(Ken[i]) Naomi_w.append(Naomi[i]) Ken_w.append(Ken[i]) Naomi.sort() Ken.sort() naomi_wins = war(Naomi_w, Ken_w) naomi_deceits = deceit(Naomi, Ken) final = 'Case #' + str(test + 1) + ': ' + str(Naomi_deceits) + ' ' + str(Naomi_wins) + '\n' print(final) out.write(final) file.close() out.close()
class TumorSampleProfileList(object): def __init__(self): self.tumor_profiles = [] self._name = '' self._num_read_counts = 0 def __iter__(self): return iter(self.tumor_profiles) @property def name(self): return self._name @name.setter def name(self, value): self._name = value def count(self): return len(self.tumor_profiles) def num_read_counts(self): if len(self.tumor_profiles) > 0: return self.tumor_profiles[0].count return 0 def to_string(self): result = self._text_header() + "\n" num_loci = self.tumor_profiles[0].count index = 0 while index < num_loci: line = str(self.tumor_profiles[0].count_id(index)) + "\t" for profile in self.tumor_profiles: line = line + str(profile.ref_count(index)) + "\t" + str(profile.alt_count(index)) + "\t" index += 1 result = result + line + "\n" return result def _text_header(self): result = 'ID' if self.count > 0: for profile in self.tumor_profiles: name = profile.name temp = "\t" + name + ':ref' + "\t" + name + ':alt' result += temp return result.strip() def add(self, profile): self.tumor_profiles.append(profile) def get_profile(self, index): if (index >= 0) and (index < len(self.tumor_profiles)): return self.tumor_profiles[index] IndexError('index out of bounds') def profile_exists(self, profile_name): for profile in self.tumor_profiles: if profile.name == profile_name: return True return False
class Tumorsampleprofilelist(object): def __init__(self): self.tumor_profiles = [] self._name = '' self._num_read_counts = 0 def __iter__(self): return iter(self.tumor_profiles) @property def name(self): return self._name @name.setter def name(self, value): self._name = value def count(self): return len(self.tumor_profiles) def num_read_counts(self): if len(self.tumor_profiles) > 0: return self.tumor_profiles[0].count return 0 def to_string(self): result = self._text_header() + '\n' num_loci = self.tumor_profiles[0].count index = 0 while index < num_loci: line = str(self.tumor_profiles[0].count_id(index)) + '\t' for profile in self.tumor_profiles: line = line + str(profile.ref_count(index)) + '\t' + str(profile.alt_count(index)) + '\t' index += 1 result = result + line + '\n' return result def _text_header(self): result = 'ID' if self.count > 0: for profile in self.tumor_profiles: name = profile.name temp = '\t' + name + ':ref' + '\t' + name + ':alt' result += temp return result.strip() def add(self, profile): self.tumor_profiles.append(profile) def get_profile(self, index): if index >= 0 and index < len(self.tumor_profiles): return self.tumor_profiles[index] index_error('index out of bounds') def profile_exists(self, profile_name): for profile in self.tumor_profiles: if profile.name == profile_name: return True return False
with open('texto1.txt', 'r') as arquivo: conteudo = arquivo.read().split(',') with open('resultado1.txt', 'w') as resultado: for item in conteudo: texto = f'novo conteudo Antonella te amo {item.strip()}\n' resultado.write(texto)
with open('texto1.txt', 'r') as arquivo: conteudo = arquivo.read().split(',') with open('resultado1.txt', 'w') as resultado: for item in conteudo: texto = f'novo conteudo Antonella te amo {item.strip()}\n' resultado.write(texto)
# Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def minDepth(self, root): # DFS def solve(node, level): if not node: return level - 1 elif node.left and node.right: return min(solve(node.left, level+1), solve(node.right, level+1)) else: return max(solve(node.left, level+1), solve(node.right, level+1)) return solve(root, 1)
class Treenode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def min_depth(self, root): def solve(node, level): if not node: return level - 1 elif node.left and node.right: return min(solve(node.left, level + 1), solve(node.right, level + 1)) else: return max(solve(node.left, level + 1), solve(node.right, level + 1)) return solve(root, 1)
list1, list2 = [123, 567, 343, 611], [456, 700, 200] print("Max value element : ", max(list1)) print("Max value element : ", max(list2)) print("min value element : ", min(list1)) print("min value element : ", min(list2))
(list1, list2) = ([123, 567, 343, 611], [456, 700, 200]) print('Max value element : ', max(list1)) print('Max value element : ', max(list2)) print('min value element : ', min(list1)) print('min value element : ', min(list2))
def seq(hub, low, running): ''' Return the sequence map that should be used to execute the lowstate The sequence needs to identify: 1. recursive requisites 2. what chunks are free to run 3. Bahavior augments for the next chunk to run ''' ret = {} for ind, chunk in enumerate(low): tag = hub.idem.tools.gen_tag(chunk) if tag in running: # Already ran this one, don't add it to the sequence continue ret[ind] = {'chunk': chunk, 'reqrets': [], 'unmet': set()} for req in hub.idem.RMAP: if req in chunk: for rdef in chunk[req]: if not isinstance(rdef, dict): # TODO: Error check continue state = next(iter(rdef)) name = rdef[state] r_chunks = hub.idem.tools.get_chunks(low, state, name) if not r_chunks: ret[ind]['errors'].append(f'Requisite {req} {state}:{name} not found') for r_chunk in r_chunks: r_tag = hub.idem.tools.gen_tag(r_chunk) if r_tag in running: reqret = { 'req': req, 'name': name, 'state': state, 'r_tag': r_tag, 'ret': running[r_tag], } # it has been run, check the rules ret[ind]['reqrets'].append(reqret) else: ret[ind]['unmet'].add(r_tag) return ret
def seq(hub, low, running): """ Return the sequence map that should be used to execute the lowstate The sequence needs to identify: 1. recursive requisites 2. what chunks are free to run 3. Bahavior augments for the next chunk to run """ ret = {} for (ind, chunk) in enumerate(low): tag = hub.idem.tools.gen_tag(chunk) if tag in running: continue ret[ind] = {'chunk': chunk, 'reqrets': [], 'unmet': set()} for req in hub.idem.RMAP: if req in chunk: for rdef in chunk[req]: if not isinstance(rdef, dict): continue state = next(iter(rdef)) name = rdef[state] r_chunks = hub.idem.tools.get_chunks(low, state, name) if not r_chunks: ret[ind]['errors'].append(f'Requisite {req} {state}:{name} not found') for r_chunk in r_chunks: r_tag = hub.idem.tools.gen_tag(r_chunk) if r_tag in running: reqret = {'req': req, 'name': name, 'state': state, 'r_tag': r_tag, 'ret': running[r_tag]} ret[ind]['reqrets'].append(reqret) else: ret[ind]['unmet'].add(r_tag) return ret
#!/usr/bin/env python3 # Day 6: Queue Reconstruction by Height # # Suppose you have a random list of people standing in a queue. Each person is # described by a pair of integers (h, k), where h is the height of the person # and k is the number of people in front of this person who have a height # greater than or equal to h. Write an algorithm to reconstruct the queue. # # Note: # - The number of people is less than 1,100. class Solution: def reconstructQueue(self, people: [[int]]) -> [[int]]: # Convenience functions for clarity height = lambda person: person[0] taller_in_front = lambda person: person[1] # Sort the input by height descending and number of taller persons in # front ascending sorted_people = sorted(people, key = lambda person: (-height(person), taller_in_front(person))) # Insert into the queue at the correct position queue = [] for person in sorted_people: queue.insert(taller_in_front(person), person) return queue # Test assert Solution().reconstructQueue([[7,0], [4,4], [7,1], [5,0], [6,1], [5,2]]) == [[5,0], [7,0], [5,2], [6,1], [4,4], [7,1]]
class Solution: def reconstruct_queue(self, people: [[int]]) -> [[int]]: height = lambda person: person[0] taller_in_front = lambda person: person[1] sorted_people = sorted(people, key=lambda person: (-height(person), taller_in_front(person))) queue = [] for person in sorted_people: queue.insert(taller_in_front(person), person) return queue assert solution().reconstructQueue([[7, 0], [4, 4], [7, 1], [5, 0], [6, 1], [5, 2]]) == [[5, 0], [7, 0], [5, 2], [6, 1], [4, 4], [7, 1]]
class Tool: pass class Documentation(Tool): pass class Frustration(Tool): pass class Dwf(Documentation, Frustration, Tool): pass
class Tool: pass class Documentation(Tool): pass class Frustration(Tool): pass class Dwf(Documentation, Frustration, Tool): pass
class roiData: def __init__(self, roistates, numberOfROIs, dicomsPath=None): self.layers = [] self.roistates = [] self.dicomsPath=dicomsPath self.originalLenght = len(roistates) self.numberOfROIs = numberOfROIs for i, roistate in enumerate(roistates): if roistate: self.layers.append(i) self.roistates.append(roistate)
class Roidata: def __init__(self, roistates, numberOfROIs, dicomsPath=None): self.layers = [] self.roistates = [] self.dicomsPath = dicomsPath self.originalLenght = len(roistates) self.numberOfROIs = numberOfROIs for (i, roistate) in enumerate(roistates): if roistate: self.layers.append(i) self.roistates.append(roistate)
def stringify(token): if token.orth_ == 'I': return token.orth_ elif token.is_quote and token.i != 0 and token.nbor(-1).is_space: return ' ' + token.orth_ elif token.ent_type_ == '': return token.lower_ else: return token.orth_ def parse_stack(token): stack = [] if token.n_lefts + token.n_rights > 0: stack.append(token.dep_) child = token parent = child.head while parent != child: stack.append(parent.dep_) child = parent parent = child.head if len(stack) == 0: return [''] return stack def is_full_sentence(span): subject_present = False verb_present = False for token in span: if token.dep_ == 'nsubj': subject_present = True if token.pos_ == 'VERB': verb_present = True if subject_present and verb_present: return True return False def closing_punct(sent): final_word = sent[-1:] if len([q for q in sent if q == '"']) % 2 != 0: sent += '"' if not (final_word == '.' or final_word == '!' or final_word == '?' or final_word == '"' or final_word == "'"): return sent + '.' return sent def parse_complexity(span): return len(set([parse_stack(t)[0] for t in span])) def add_symbol_balance(doc): balance_points = quote_balance(doc) #+ _punct_balance(doc) doc.user_data['balance_points'] = balance_points return doc def quote_balance(doc): balance_points = [] quote_hash = {} for t in doc: if t.is_quote and quote_hash.get(t.orth) is None: quote_hash[t.orth] = t.i elif t.is_quote and quote_hash.get(t.orth) is not None: if span_is_only_whitespace(doc[quote_hash[t.orth]+1:t.i]): quote_hash[t.orth] = t.i else: balance_points.append( (t.orth_, quote_hash[t.orth], t.i) ) quote_hash[t.orth] = None return balance_points def span_is_only_whitespace(span): for t in span: if not t.is_space: return False return True def _punct_balance(doc): balance_points = [] symbol_hash = {} for t in doc: if t.is_left_punct and not t.is_quote: symbol_hash[t.orth] = t.i elif t.is_right_punct and not t.is_quote: symbol = sorted(symbol_hash, key=lambda entry: symbol_hash[entry], reverse=True)[0] balance_points.append( (t.orth_, symbol_hash[symbol], t.i) ) symbol_hash[symbol] = None return balance_points def symbol_stack(token): balance_points = sorted( token.doc.user_data['balance_points'], key=lambda bal: bal[1], reverse=True) ti = token.i return [bal[0] for bal in balance_points if bal[1] <= ti and bal[2] >= ti]
def stringify(token): if token.orth_ == 'I': return token.orth_ elif token.is_quote and token.i != 0 and token.nbor(-1).is_space: return ' ' + token.orth_ elif token.ent_type_ == '': return token.lower_ else: return token.orth_ def parse_stack(token): stack = [] if token.n_lefts + token.n_rights > 0: stack.append(token.dep_) child = token parent = child.head while parent != child: stack.append(parent.dep_) child = parent parent = child.head if len(stack) == 0: return [''] return stack def is_full_sentence(span): subject_present = False verb_present = False for token in span: if token.dep_ == 'nsubj': subject_present = True if token.pos_ == 'VERB': verb_present = True if subject_present and verb_present: return True return False def closing_punct(sent): final_word = sent[-1:] if len([q for q in sent if q == '"']) % 2 != 0: sent += '"' if not (final_word == '.' or final_word == '!' or final_word == '?' or (final_word == '"') or (final_word == "'")): return sent + '.' return sent def parse_complexity(span): return len(set([parse_stack(t)[0] for t in span])) def add_symbol_balance(doc): balance_points = quote_balance(doc) doc.user_data['balance_points'] = balance_points return doc def quote_balance(doc): balance_points = [] quote_hash = {} for t in doc: if t.is_quote and quote_hash.get(t.orth) is None: quote_hash[t.orth] = t.i elif t.is_quote and quote_hash.get(t.orth) is not None: if span_is_only_whitespace(doc[quote_hash[t.orth] + 1:t.i]): quote_hash[t.orth] = t.i else: balance_points.append((t.orth_, quote_hash[t.orth], t.i)) quote_hash[t.orth] = None return balance_points def span_is_only_whitespace(span): for t in span: if not t.is_space: return False return True def _punct_balance(doc): balance_points = [] symbol_hash = {} for t in doc: if t.is_left_punct and (not t.is_quote): symbol_hash[t.orth] = t.i elif t.is_right_punct and (not t.is_quote): symbol = sorted(symbol_hash, key=lambda entry: symbol_hash[entry], reverse=True)[0] balance_points.append((t.orth_, symbol_hash[symbol], t.i)) symbol_hash[symbol] = None return balance_points def symbol_stack(token): balance_points = sorted(token.doc.user_data['balance_points'], key=lambda bal: bal[1], reverse=True) ti = token.i return [bal[0] for bal in balance_points if bal[1] <= ti and bal[2] >= ti]
def configure(name): if name == 'compute_mfcc': return {"--allow-downsample":["false",str], "--allow-upsample":["false",str], "--blackman-coeff":[0.42,float], "--cepstral-lifter":[22,int], "--channel":[-1,int], "--debug-mel":["false",str], "--dither":[1,int], "--energy-floor":[0,int], "--frame-length":[25,int], "--frame-shift":[10,int], "--high-freq":[0,int], "--htk-compat":["false",str], "--low-freq":[20,int], "--max-feature-vectors":[-1,int], "--min-duration":[0,int], "--num-ceps":[13,int], "--num-mel-bins":[23,int], "--output-format":["kaldi",str], "--preemphasis-coefficient":[0.97,float], "--raw-energy":["true",str], "--remove-dc-offset":["true",str], "--round-to-power-of-two":["true",str], "--sample-frequency":[16000,int], "--snip-edges":["false",str], "--subtract-mean":["false",str], "--use-energy":["true",str], "--utt2spk":["",str], "--vtln-high":[-500,int], "--vtln-low":[100,int], "--vtln-map":["",str], "--vtln-warp":[1,int], "--window-type":["povey",str], "--write-utt2dur":["",str] } elif name == 'compute_fbank': return {"--allow-downsample":["false",str], "--allow-upsample":["false",str], "--blackman-coeff":[0.42,float], "--channel":[-1,int], "--debug-mel":["false",str], "--dither":[1,int], "--energy-floor":[0,int], "--frame-length":[25,int], "--frame-shift":[10,int], "--high-freq":[0,int], "--htk-compat":["false",str], "--low-freq":[20,int], "--max-feature-vectors":[-1,int], "--min-duration":[0,int], "--num-mel-bins":[23,int], "--output-format":["kaldi",str], "--preemphasis-coefficient":[0.97,float], "--raw-energy":["true",str], "--remove-dc-offset":["true",str], "--round-to-power-of-two":["true",str], "--sample-frequency":[16000,int], "--snip-edges":["false",str], "--subtract-mean":["false",str], "--use-energy":["true",str], "--use-log-fbank":["true",str], "--use-power":["true",str], "--utt2spk":["",str], "--vtln-high":[-500,int], "--vtln-low":[100,int], "--vtln-map":["",str], "--vtln-warp":[1,int], "--window-type":["povey",str], "--write-utt2dur":["",str] } elif name == 'compute_plp': return {"--allow-downsample":["false",str], "--allow-upsample":["false",str], "--blackman-coeff":[0.42,float], "--cepstral-lifter":[22,int], "--cepstral-scale":[1,int], "--channel":[-1,int], "--compress-factor":[0.33333,float], "--debug-mel":['false',float], "--dither":[1,int], "--energy-floor":[0,int], "--frame-length":[25,int], "--frame-shift":[10,int], "--high-freq":[0,int], "--htk-compat":["false",str], "--low-freq":[20,int], "--lpc-order":[12,int], "--max-feature-vectors":[-1,int], "--min-duration":[0,int], "--num-ceps":[13,int], "--num-mel-bins":[23,int], "--output-format":["kaldi",str], "--preemphasis-coefficient":[0.97,float], "--raw-energy":["true",str], "--remove-dc-offset":["true",str], "--round-to-power-of-two":["true",str], "--sample-frequency":[16000,int], "--snip-edges":["false",str], "--subtract-mean":["false",str], "--use-energy":["true",str], "--utt2spk":["",str], "--vtln-high":[-500,int], "--vtln-low":[100,int], "--vtln-map":["",str], "--vtln-warp":[1,int], "--window-type":["povey",str], "--write-utt2dur":["",str] } elif name == 'compute_spectrogram': return {"--allow-downsample":["false",str], "--allow-upsample":["false",str], "--blackman-coeff":[0.42,float], "--channel":[-1,int], "--dither":[1,int], "--energy-floor":[0,int], "--frame-length":[25,int], "--frame-shift":[10,int], "--max-feature-vectors":[-1,int], "--min-duration":[0,int], "--output-format":["kaldi",str], "--preemphasis-coefficient":[0.97,float], "--raw-energy":["true",str], "--remove-dc-offset":["true",str], "--round-to-power-of-two":["true",str], "--sample-frequency":[16000,int], "--snip-edges":["false",str], "--subtract-mean":["false",str], "--window-type":["povey",str], "--write-utt2dur":["",str] } elif name == 'decode_lattice': return {"--acoustic-scale":[0.1,float], "--allow-partial":["false",str], "--beam":[13,int], "--beam-delta":[0.5,float], "--delta":[0.000976562,float], "--determinize-lattice":["true",str], "--hash-ratio":[2,int], "--lattice-beam":[8,int], "--max-active":[7000,int], "--max-mem":[50000000,int], "--min-active":[200,int], "--minimize":["false",str], "--phone-determinize":["true",str], "--prune-interval":[25,int], "--word-determinize":["true",str], "--word-symbol-table":["",str] } else: return None
def configure(name): if name == 'compute_mfcc': return {'--allow-downsample': ['false', str], '--allow-upsample': ['false', str], '--blackman-coeff': [0.42, float], '--cepstral-lifter': [22, int], '--channel': [-1, int], '--debug-mel': ['false', str], '--dither': [1, int], '--energy-floor': [0, int], '--frame-length': [25, int], '--frame-shift': [10, int], '--high-freq': [0, int], '--htk-compat': ['false', str], '--low-freq': [20, int], '--max-feature-vectors': [-1, int], '--min-duration': [0, int], '--num-ceps': [13, int], '--num-mel-bins': [23, int], '--output-format': ['kaldi', str], '--preemphasis-coefficient': [0.97, float], '--raw-energy': ['true', str], '--remove-dc-offset': ['true', str], '--round-to-power-of-two': ['true', str], '--sample-frequency': [16000, int], '--snip-edges': ['false', str], '--subtract-mean': ['false', str], '--use-energy': ['true', str], '--utt2spk': ['', str], '--vtln-high': [-500, int], '--vtln-low': [100, int], '--vtln-map': ['', str], '--vtln-warp': [1, int], '--window-type': ['povey', str], '--write-utt2dur': ['', str]} elif name == 'compute_fbank': return {'--allow-downsample': ['false', str], '--allow-upsample': ['false', str], '--blackman-coeff': [0.42, float], '--channel': [-1, int], '--debug-mel': ['false', str], '--dither': [1, int], '--energy-floor': [0, int], '--frame-length': [25, int], '--frame-shift': [10, int], '--high-freq': [0, int], '--htk-compat': ['false', str], '--low-freq': [20, int], '--max-feature-vectors': [-1, int], '--min-duration': [0, int], '--num-mel-bins': [23, int], '--output-format': ['kaldi', str], '--preemphasis-coefficient': [0.97, float], '--raw-energy': ['true', str], '--remove-dc-offset': ['true', str], '--round-to-power-of-two': ['true', str], '--sample-frequency': [16000, int], '--snip-edges': ['false', str], '--subtract-mean': ['false', str], '--use-energy': ['true', str], '--use-log-fbank': ['true', str], '--use-power': ['true', str], '--utt2spk': ['', str], '--vtln-high': [-500, int], '--vtln-low': [100, int], '--vtln-map': ['', str], '--vtln-warp': [1, int], '--window-type': ['povey', str], '--write-utt2dur': ['', str]} elif name == 'compute_plp': return {'--allow-downsample': ['false', str], '--allow-upsample': ['false', str], '--blackman-coeff': [0.42, float], '--cepstral-lifter': [22, int], '--cepstral-scale': [1, int], '--channel': [-1, int], '--compress-factor': [0.33333, float], '--debug-mel': ['false', float], '--dither': [1, int], '--energy-floor': [0, int], '--frame-length': [25, int], '--frame-shift': [10, int], '--high-freq': [0, int], '--htk-compat': ['false', str], '--low-freq': [20, int], '--lpc-order': [12, int], '--max-feature-vectors': [-1, int], '--min-duration': [0, int], '--num-ceps': [13, int], '--num-mel-bins': [23, int], '--output-format': ['kaldi', str], '--preemphasis-coefficient': [0.97, float], '--raw-energy': ['true', str], '--remove-dc-offset': ['true', str], '--round-to-power-of-two': ['true', str], '--sample-frequency': [16000, int], '--snip-edges': ['false', str], '--subtract-mean': ['false', str], '--use-energy': ['true', str], '--utt2spk': ['', str], '--vtln-high': [-500, int], '--vtln-low': [100, int], '--vtln-map': ['', str], '--vtln-warp': [1, int], '--window-type': ['povey', str], '--write-utt2dur': ['', str]} elif name == 'compute_spectrogram': return {'--allow-downsample': ['false', str], '--allow-upsample': ['false', str], '--blackman-coeff': [0.42, float], '--channel': [-1, int], '--dither': [1, int], '--energy-floor': [0, int], '--frame-length': [25, int], '--frame-shift': [10, int], '--max-feature-vectors': [-1, int], '--min-duration': [0, int], '--output-format': ['kaldi', str], '--preemphasis-coefficient': [0.97, float], '--raw-energy': ['true', str], '--remove-dc-offset': ['true', str], '--round-to-power-of-two': ['true', str], '--sample-frequency': [16000, int], '--snip-edges': ['false', str], '--subtract-mean': ['false', str], '--window-type': ['povey', str], '--write-utt2dur': ['', str]} elif name == 'decode_lattice': return {'--acoustic-scale': [0.1, float], '--allow-partial': ['false', str], '--beam': [13, int], '--beam-delta': [0.5, float], '--delta': [0.000976562, float], '--determinize-lattice': ['true', str], '--hash-ratio': [2, int], '--lattice-beam': [8, int], '--max-active': [7000, int], '--max-mem': [50000000, int], '--min-active': [200, int], '--minimize': ['false', str], '--phone-determinize': ['true', str], '--prune-interval': [25, int], '--word-determinize': ['true', str], '--word-symbol-table': ['', str]} else: return None
def sorter(item): return item['name'] presenters=[ {'name': 'Arthur', 'age': 9}, {'name': 'Nathaniel', 'age': 11} ] presenters.sort(key=sorter) print(presenters)
def sorter(item): return item['name'] presenters = [{'name': 'Arthur', 'age': 9}, {'name': 'Nathaniel', 'age': 11}] presenters.sort(key=sorter) print(presenters)
class FakeCUDAContext(object): ''' This stub implements functionality only for simulating a single GPU at the moment. ''' def __init__(self, device): self._device = device def __enter__(self): pass def __exit__(self, exc_type, exc_val, exc_tb): pass def __str__(self): return "<Managed Device {self.id}>".format(self=self) @property def id(self): return self._device @property def compute_capability(self): return (5, 2) class FakeDeviceList(object): ''' This stub implements a device list containing a single GPU. It also keeps track of the GPU status, i.e. whether the context is closed or not, which may have been set by the user calling reset() ''' def __init__(self): self.lst = (FakeCUDAContext(0),) self.closed = False def __getitem__(self, devnum): self.closed = False return self.lst[devnum] def __str__(self): return ', '.join([str(d) for d in self.lst]) def __iter__(self): return iter(self.lst) def __len__(self): return len(self.lst) @property def current(self): if self.closed: return None return self.lst[0] gpus = FakeDeviceList() def reset(): gpus[0].closed = True def require_context(func): ''' In the simulator, a context is always "available", so this is a no-op. ''' return func
class Fakecudacontext(object): """ This stub implements functionality only for simulating a single GPU at the moment. """ def __init__(self, device): self._device = device def __enter__(self): pass def __exit__(self, exc_type, exc_val, exc_tb): pass def __str__(self): return '<Managed Device {self.id}>'.format(self=self) @property def id(self): return self._device @property def compute_capability(self): return (5, 2) class Fakedevicelist(object): """ This stub implements a device list containing a single GPU. It also keeps track of the GPU status, i.e. whether the context is closed or not, which may have been set by the user calling reset() """ def __init__(self): self.lst = (fake_cuda_context(0),) self.closed = False def __getitem__(self, devnum): self.closed = False return self.lst[devnum] def __str__(self): return ', '.join([str(d) for d in self.lst]) def __iter__(self): return iter(self.lst) def __len__(self): return len(self.lst) @property def current(self): if self.closed: return None return self.lst[0] gpus = fake_device_list() def reset(): gpus[0].closed = True def require_context(func): """ In the simulator, a context is always "available", so this is a no-op. """ return func
# # PySNMP MIB module WWP-EXT-BRIDGE-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/WWP-EXT-BRIDGE-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:37:36 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, SingleValueConstraint, ValueSizeConstraint, ConstraintsUnion, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ValueRangeConstraint") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") ModuleIdentity, Counter32, Counter64, Integer32, IpAddress, Bits, MibIdentifier, Gauge32, ObjectIdentity, iso, NotificationType, Unsigned32, TimeTicks, MibScalar, MibTable, MibTableRow, MibTableColumn = mibBuilder.importSymbols("SNMPv2-SMI", "ModuleIdentity", "Counter32", "Counter64", "Integer32", "IpAddress", "Bits", "MibIdentifier", "Gauge32", "ObjectIdentity", "iso", "NotificationType", "Unsigned32", "TimeTicks", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn") TruthValue, MacAddress, RowStatus, DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "TruthValue", "MacAddress", "RowStatus", "DisplayString", "TextualConvention") wwpModules, = mibBuilder.importSymbols("WWP-SMI", "wwpModules") wwpExtBridgeMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 6141, 2, 4)) wwpExtBridgeMIB.setRevisions(('2005-11-23 09:00', '2001-04-03 17:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: wwpExtBridgeMIB.setRevisionsDescriptions(('This MIB module is for the Extension of the BRIDGE MIB for WWP Products', 'Initial creation.',)) if mibBuilder.loadTexts: wwpExtBridgeMIB.setLastUpdated('200104031700Z') if mibBuilder.loadTexts: wwpExtBridgeMIB.setOrganization('World Wide Packets, Inc') if mibBuilder.loadTexts: wwpExtBridgeMIB.setContactInfo(' Mib Meister Postal: World Wide Packets P.O. Box 950 Veradale, WA 99037 USA Phone: +1 509 242 9000 Email: mib.meister@worldwidepackets.com') if mibBuilder.loadTexts: wwpExtBridgeMIB.setDescription('Updated with port rate limit state and rate limit value controls.') class PortList(TextualConvention, OctetString): description = "Each octet within this value specifies a set of eight ports, with the first octet specifying ports 1 through 8, the second octet specifying ports 9 through 16, etc. Within each octet, the most significant bit represents the lowest numbered port, and the least significant bit represents the highest numbered port. Thus, each port of the bridge is represented by a single bit within the value of this object. If that bit has a value of '1' then that port is included in the set of ports; the port is not included if its bit has a value of '0'." status = 'current' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(0, 255) class VlanId(TextualConvention, Integer32): description = 'A 12-bit VLAN ID used in the VLAN Tag header.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(1, 4094) wwpExtBridgeMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1)) wwpPort = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1)) wwpVlan = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2)) wwpExtBridgeMIBNotificationPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 4, 2)) wwpExtBridgeMIBNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 4, 2, 0)) wwpExtBridgeMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 4, 3)) wwpExtBridgeMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 4, 3, 1)) wwpExtBridgeMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 6141, 2, 4, 3, 2)) wwpPortTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1), ) if mibBuilder.loadTexts: wwpPortTable.setStatus('current') if mibBuilder.loadTexts: wwpPortTable.setDescription('Table of Ports.') wwpPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1), ).setIndexNames((0, "WWP-EXT-BRIDGE-MIB", "wwpPortId")) if mibBuilder.loadTexts: wwpPortEntry.setStatus('current') if mibBuilder.loadTexts: wwpPortEntry.setDescription('Port Entry in the Table.') wwpPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpPortId.setStatus('current') if mibBuilder.loadTexts: wwpPortId.setDescription("Port ID for the instance. Port ID's start at 1, and are consecutive for each additional port. This port Id should refer to the dot1dBasePort in the Dot1dBasePortEntry.") wwpPortType = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("lx", 1), ("fastEth", 2), ("voip", 3), ("sx", 4), ("hundredFx", 5), ("unknown", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpPortType.setStatus('current') if mibBuilder.loadTexts: wwpPortType.setDescription('The port type for the port.') wwpPortName = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpPortName.setStatus('current') if mibBuilder.loadTexts: wwpPortName.setDescription('Friendly name for the port.') wwpPortPhysAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 4), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpPortPhysAddr.setStatus('current') if mibBuilder.loadTexts: wwpPortPhysAddr.setDescription('The ethernet MAC address for the port. This information can also be achieved via dot1dTpFdbTable') wwpPortAutoNeg = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 5), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpPortAutoNeg.setStatus('current') if mibBuilder.loadTexts: wwpPortAutoNeg.setDescription('The object sets the port to AUTO NEG MOde and vice versa. Specific platforms may have requirements of configuring speed before moving the port to out of AUTO-NEG mode.') wwpPortAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpPortAdminStatus.setStatus('current') if mibBuilder.loadTexts: wwpPortAdminStatus.setDescription('The desired state of the port.') wwpPortOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpPortOperStatus.setStatus('current') if mibBuilder.loadTexts: wwpPortOperStatus.setDescription('The current operational state of Port.') wwpPortAdminSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("tenMb", 1), ("hundredMb", 2), ("gig", 3), ("auto", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpPortAdminSpeed.setStatus('current') if mibBuilder.loadTexts: wwpPortAdminSpeed.setDescription("Desired speed of the port. Set the port speed to be either 10MB, 100MB, or gig. The Management Station can't set the adminSpeed to auto. The default value for this object depends upon the platform.") wwpPortOperSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpPortOperSpeed.setStatus('current') if mibBuilder.loadTexts: wwpPortOperSpeed.setDescription('The current operational speed of the port in MB.') wwpPortAdminDuplex = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("half", 1), ("full", 2), ("auto", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpPortAdminDuplex.setStatus('current') if mibBuilder.loadTexts: wwpPortAdminDuplex.setDescription('The desired mode for the port. It can be set to either half or full duplex operation but not to auto.The default value for this object depends upon the platform.') wwpPortOperDuplex = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("half", 1), ("full", 2), ("auto", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpPortOperDuplex.setStatus('current') if mibBuilder.loadTexts: wwpPortOperDuplex.setDescription('The current duplex mode of the port.') wwpPortAdminFlowCtrl = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpPortAdminFlowCtrl.setStatus('current') if mibBuilder.loadTexts: wwpPortAdminFlowCtrl.setDescription('Configures the ports flow control operation. Need to check 802.3x for additional modes for gig ports.') wwpPortOperFlowCtrl = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpPortOperFlowCtrl.setStatus('current') if mibBuilder.loadTexts: wwpPortOperFlowCtrl.setDescription('Shows ports flow control configuration.') wwpPortTagged = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("untagged", 0), ("tagged", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpPortTagged.setStatus('current') if mibBuilder.loadTexts: wwpPortTagged.setDescription("The port tagged Status can be set to tagged or untagged. If a port is part of more than one VLAN, then the port Status should be 'tagged'.") wwpPortUntaggedPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("p0", 0), ("p1", 1), ("p2", 2), ("p3", 3), ("p4", 4), ("p5", 5), ("p6", 6), ("p7", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpPortUntaggedPriority.setStatus('current') if mibBuilder.loadTexts: wwpPortUntaggedPriority.setDescription('The 802.1p packet priority to be assigned to packets associated with this port that do not have an 802.1Q VLAN header.') wwpPortMaxFrameSize = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1522, 9126))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpPortMaxFrameSize.setStatus('current') if mibBuilder.loadTexts: wwpPortMaxFrameSize.setDescription('Setting this object will set the max frame size allowed on a port. The max frame size can vary between 1522 bytes till 9216 bytes. Default value is 1522 bytes') wwpPortIngressFiltering = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpPortIngressFiltering.setStatus('current') if mibBuilder.loadTexts: wwpPortIngressFiltering.setDescription('When this is true(1) the device will discard incoming frames for VLANs which do not include this Port in its Member set. When false(2), the port will accept all incoming frames.') wwpPortRateLimitState = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 18), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpPortRateLimitState.setStatus('current') if mibBuilder.loadTexts: wwpPortRateLimitState.setDescription('When set to true, the rate limiting mechanism is enabled for this port. When set to false, the rate limiting mechanism is disabled for this port.') wwpPortRateLimitValue = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(10000000)).setUnits('Bits per second').setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpPortRateLimitValue.setStatus('current') if mibBuilder.loadTexts: wwpPortRateLimitValue.setDescription('The value of this object represents the desired bit-rate limit for this port. When the rate limiting mechanism is enabled for this port, this value is enforced to the best extent possible by the device. For some devices the actual maximum bit-rate allowed may exceed the rate limit parameter under certain circumstances due to hardware and software limitations.') wwpLocalMgmtPortEnable = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 2), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpLocalMgmtPortEnable.setStatus('deprecated') if mibBuilder.loadTexts: wwpLocalMgmtPortEnable.setDescription('Setting this object to false(2) will disable the local Management Port. The object has beed deprecated as we need to have the general functionality of disabling and enableing any in-band and out-band mgmt interface.') wwpVlanVersionNumber = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("version1", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpVlanVersionNumber.setReference('IEEE 802.1Q/D11 Section 12.10.1.1') if mibBuilder.loadTexts: wwpVlanVersionNumber.setStatus('current') if mibBuilder.loadTexts: wwpVlanVersionNumber.setDescription('The version number of IEEE 802.1Q that this device supports.') wwpMaxVlanId = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 2), VlanId()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpMaxVlanId.setReference('IEEE 802.1Q/D11 Section 9.3.2.3') if mibBuilder.loadTexts: wwpMaxVlanId.setStatus('current') if mibBuilder.loadTexts: wwpMaxVlanId.setDescription('The maximum IEEE 802.1Q VLAN ID that this device supports.') wwpMaxSupportedVlans = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpMaxSupportedVlans.setReference('IEEE 802.1Q/D11 Section 12.10.1.1') if mibBuilder.loadTexts: wwpMaxSupportedVlans.setStatus('current') if mibBuilder.loadTexts: wwpMaxSupportedVlans.setDescription('The maximum number of IEEE 802.1Q VLANs that this device supports.') wwpNumVlans = MibScalar((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpNumVlans.setReference('IEEE 802.1Q/D11 Section 12.7.1.1') if mibBuilder.loadTexts: wwpNumVlans.setStatus('current') if mibBuilder.loadTexts: wwpNumVlans.setDescription('The current number of IEEE 802.1Q VLANs that are configured in this device.') wwpVlanTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 5), ) if mibBuilder.loadTexts: wwpVlanTable.setStatus('current') if mibBuilder.loadTexts: wwpVlanTable.setDescription('VLAN table') wwpVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 5, 1), ).setIndexNames((0, "WWP-EXT-BRIDGE-MIB", "wwpVlanId")) if mibBuilder.loadTexts: wwpVlanEntry.setStatus('current') if mibBuilder.loadTexts: wwpVlanEntry.setDescription('table of vlans') wwpVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 5, 1, 1), VlanId()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpVlanId.setStatus('current') if mibBuilder.loadTexts: wwpVlanId.setDescription('802.1Q VLAN ID (1-4094)') wwpVlanName = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 5, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: wwpVlanName.setStatus('current') if mibBuilder.loadTexts: wwpVlanName.setDescription('Name associated with this VLAN.') wwpVlanCurrentEgressPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 5, 1, 3), PortList().clone(hexValue="0000")).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpVlanCurrentEgressPorts.setReference('IEEE 802.1Q/D11 Section 12.10.2.1') if mibBuilder.loadTexts: wwpVlanCurrentEgressPorts.setStatus('current') if mibBuilder.loadTexts: wwpVlanCurrentEgressPorts.setDescription('The set of ports which are transmitting traffic for this VLAN as either tagged or untagged frames.') wwpVlanCurrentUntaggedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 5, 1, 4), PortList()).setMaxAccess("readonly") if mibBuilder.loadTexts: wwpVlanCurrentUntaggedPorts.setReference('IEEE 802.1Q/D11 Section 12.10.2.1') if mibBuilder.loadTexts: wwpVlanCurrentUntaggedPorts.setStatus('current') if mibBuilder.loadTexts: wwpVlanCurrentUntaggedPorts.setDescription('The set of ports which are transmitting traffic for this VLAN as untagged frames.') wwpVlanMgmtStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 5, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("notMgmtVlan", 0), ("remoteMgmtVlan", 1), ("localMgmtVlan", 2))).clone('notMgmtVlan')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpVlanMgmtStatus.setStatus('current') if mibBuilder.loadTexts: wwpVlanMgmtStatus.setDescription('Indicates if this VLAN is a management VLAN. The system can have at most one remote mgt vlan, and one local mgt vlan. Any Valn can be set either to remoteMgmtVlan or localMgmtvlan.') wwpVlanRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 5, 1, 6), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpVlanRowStatus.setStatus('current') if mibBuilder.loadTexts: wwpVlanRowStatus.setDescription("Used to manage the creation and deletion of the conceptual rows in this table. To create a row in this table, a manager must set this object to 'createAndGo'. To delete a row in this table, there should not be any port associated with this vlan.") wwpVlanXTable = MibTable((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 6), ) if mibBuilder.loadTexts: wwpVlanXTable.setStatus('current') if mibBuilder.loadTexts: wwpVlanXTable.setDescription('Extension of the VLAN table') wwpVlanXEntry = MibTableRow((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 6, 1), ) wwpVlanEntry.registerAugmentions(("WWP-EXT-BRIDGE-MIB", "wwpVlanXEntry")) wwpVlanXEntry.setIndexNames(*wwpVlanEntry.getIndexNames()) if mibBuilder.loadTexts: wwpVlanXEntry.setStatus('current') if mibBuilder.loadTexts: wwpVlanXEntry.setDescription('Entry in the extended vlan table.') wwpVlanTunnel = MibTableColumn((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 6, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wwpVlanTunnel.setStatus('current') if mibBuilder.loadTexts: wwpVlanTunnel.setDescription('Enable/disable VLAN tunneling on this VLAN.') mibBuilder.exportSymbols("WWP-EXT-BRIDGE-MIB", wwpVlanId=wwpVlanId, wwpVlanEntry=wwpVlanEntry, wwpExtBridgeMIBObjects=wwpExtBridgeMIBObjects, wwpVlanName=wwpVlanName, wwpExtBridgeMIBCompliances=wwpExtBridgeMIBCompliances, wwpPortAdminDuplex=wwpPortAdminDuplex, wwpPortAdminFlowCtrl=wwpPortAdminFlowCtrl, wwpVlanCurrentUntaggedPorts=wwpVlanCurrentUntaggedPorts, wwpVlanXTable=wwpVlanXTable, wwpNumVlans=wwpNumVlans, wwpPortEntry=wwpPortEntry, VlanId=VlanId, PYSNMP_MODULE_ID=wwpExtBridgeMIB, wwpExtBridgeMIBConformance=wwpExtBridgeMIBConformance, wwpVlanCurrentEgressPorts=wwpVlanCurrentEgressPorts, wwpPortOperFlowCtrl=wwpPortOperFlowCtrl, wwpLocalMgmtPortEnable=wwpLocalMgmtPortEnable, wwpPortAutoNeg=wwpPortAutoNeg, wwpExtBridgeMIBNotificationPrefix=wwpExtBridgeMIBNotificationPrefix, wwpVlanTable=wwpVlanTable, wwpPortType=wwpPortType, wwpPortOperDuplex=wwpPortOperDuplex, wwpPortRateLimitState=wwpPortRateLimitState, wwpExtBridgeMIB=wwpExtBridgeMIB, wwpPortAdminStatus=wwpPortAdminStatus, wwpVlanRowStatus=wwpVlanRowStatus, wwpVlanMgmtStatus=wwpVlanMgmtStatus, wwpVlanVersionNumber=wwpVlanVersionNumber, wwpPortRateLimitValue=wwpPortRateLimitValue, wwpPortMaxFrameSize=wwpPortMaxFrameSize, wwpPortPhysAddr=wwpPortPhysAddr, wwpPortTagged=wwpPortTagged, wwpVlanTunnel=wwpVlanTunnel, wwpPortTable=wwpPortTable, wwpExtBridgeMIBGroups=wwpExtBridgeMIBGroups, wwpExtBridgeMIBNotifications=wwpExtBridgeMIBNotifications, wwpPortName=wwpPortName, wwpPortIngressFiltering=wwpPortIngressFiltering, wwpMaxVlanId=wwpMaxVlanId, wwpMaxSupportedVlans=wwpMaxSupportedVlans, PortList=PortList, wwpPortOperStatus=wwpPortOperStatus, wwpPortOperSpeed=wwpPortOperSpeed, wwpPort=wwpPort, wwpVlan=wwpVlan, wwpPortAdminSpeed=wwpPortAdminSpeed, wwpPortUntaggedPriority=wwpPortUntaggedPriority, wwpPortId=wwpPortId, wwpVlanXEntry=wwpVlanXEntry)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, single_value_constraint, value_size_constraint, constraints_union, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsUnion', 'ValueRangeConstraint') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (module_identity, counter32, counter64, integer32, ip_address, bits, mib_identifier, gauge32, object_identity, iso, notification_type, unsigned32, time_ticks, mib_scalar, mib_table, mib_table_row, mib_table_column) = mibBuilder.importSymbols('SNMPv2-SMI', 'ModuleIdentity', 'Counter32', 'Counter64', 'Integer32', 'IpAddress', 'Bits', 'MibIdentifier', 'Gauge32', 'ObjectIdentity', 'iso', 'NotificationType', 'Unsigned32', 'TimeTicks', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn') (truth_value, mac_address, row_status, display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'TruthValue', 'MacAddress', 'RowStatus', 'DisplayString', 'TextualConvention') (wwp_modules,) = mibBuilder.importSymbols('WWP-SMI', 'wwpModules') wwp_ext_bridge_mib = module_identity((1, 3, 6, 1, 4, 1, 6141, 2, 4)) wwpExtBridgeMIB.setRevisions(('2005-11-23 09:00', '2001-04-03 17:00')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: wwpExtBridgeMIB.setRevisionsDescriptions(('This MIB module is for the Extension of the BRIDGE MIB for WWP Products', 'Initial creation.')) if mibBuilder.loadTexts: wwpExtBridgeMIB.setLastUpdated('200104031700Z') if mibBuilder.loadTexts: wwpExtBridgeMIB.setOrganization('World Wide Packets, Inc') if mibBuilder.loadTexts: wwpExtBridgeMIB.setContactInfo(' Mib Meister Postal: World Wide Packets P.O. Box 950 Veradale, WA 99037 USA Phone: +1 509 242 9000 Email: mib.meister@worldwidepackets.com') if mibBuilder.loadTexts: wwpExtBridgeMIB.setDescription('Updated with port rate limit state and rate limit value controls.') class Portlist(TextualConvention, OctetString): description = "Each octet within this value specifies a set of eight ports, with the first octet specifying ports 1 through 8, the second octet specifying ports 9 through 16, etc. Within each octet, the most significant bit represents the lowest numbered port, and the least significant bit represents the highest numbered port. Thus, each port of the bridge is represented by a single bit within the value of this object. If that bit has a value of '1' then that port is included in the set of ports; the port is not included if its bit has a value of '0'." status = 'current' subtype_spec = OctetString.subtypeSpec + value_size_constraint(0, 255) class Vlanid(TextualConvention, Integer32): description = 'A 12-bit VLAN ID used in the VLAN Tag header.' status = 'current' subtype_spec = Integer32.subtypeSpec + value_range_constraint(1, 4094) wwp_ext_bridge_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1)) wwp_port = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1)) wwp_vlan = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2)) wwp_ext_bridge_mib_notification_prefix = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 4, 2)) wwp_ext_bridge_mib_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 4, 2, 0)) wwp_ext_bridge_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 4, 3)) wwp_ext_bridge_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 4, 3, 1)) wwp_ext_bridge_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 6141, 2, 4, 3, 2)) wwp_port_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1)) if mibBuilder.loadTexts: wwpPortTable.setStatus('current') if mibBuilder.loadTexts: wwpPortTable.setDescription('Table of Ports.') wwp_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1)).setIndexNames((0, 'WWP-EXT-BRIDGE-MIB', 'wwpPortId')) if mibBuilder.loadTexts: wwpPortEntry.setStatus('current') if mibBuilder.loadTexts: wwpPortEntry.setDescription('Port Entry in the Table.') wwp_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpPortId.setStatus('current') if mibBuilder.loadTexts: wwpPortId.setDescription("Port ID for the instance. Port ID's start at 1, and are consecutive for each additional port. This port Id should refer to the dot1dBasePort in the Dot1dBasePortEntry.") wwp_port_type = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('lx', 1), ('fastEth', 2), ('voip', 3), ('sx', 4), ('hundredFx', 5), ('unknown', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpPortType.setStatus('current') if mibBuilder.loadTexts: wwpPortType.setDescription('The port type for the port.') wwp_port_name = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpPortName.setStatus('current') if mibBuilder.loadTexts: wwpPortName.setDescription('Friendly name for the port.') wwp_port_phys_addr = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 4), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpPortPhysAddr.setStatus('current') if mibBuilder.loadTexts: wwpPortPhysAddr.setDescription('The ethernet MAC address for the port. This information can also be achieved via dot1dTpFdbTable') wwp_port_auto_neg = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 5), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpPortAutoNeg.setStatus('current') if mibBuilder.loadTexts: wwpPortAutoNeg.setDescription('The object sets the port to AUTO NEG MOde and vice versa. Specific platforms may have requirements of configuring speed before moving the port to out of AUTO-NEG mode.') wwp_port_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('up', 1), ('down', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpPortAdminStatus.setStatus('current') if mibBuilder.loadTexts: wwpPortAdminStatus.setDescription('The desired state of the port.') wwp_port_oper_status = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('up', 1), ('down', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpPortOperStatus.setStatus('current') if mibBuilder.loadTexts: wwpPortOperStatus.setDescription('The current operational state of Port.') wwp_port_admin_speed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('tenMb', 1), ('hundredMb', 2), ('gig', 3), ('auto', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpPortAdminSpeed.setStatus('current') if mibBuilder.loadTexts: wwpPortAdminSpeed.setDescription("Desired speed of the port. Set the port speed to be either 10MB, 100MB, or gig. The Management Station can't set the adminSpeed to auto. The default value for this object depends upon the platform.") wwp_port_oper_speed = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpPortOperSpeed.setStatus('current') if mibBuilder.loadTexts: wwpPortOperSpeed.setDescription('The current operational speed of the port in MB.') wwp_port_admin_duplex = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('half', 1), ('full', 2), ('auto', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpPortAdminDuplex.setStatus('current') if mibBuilder.loadTexts: wwpPortAdminDuplex.setDescription('The desired mode for the port. It can be set to either half or full duplex operation but not to auto.The default value for this object depends upon the platform.') wwp_port_oper_duplex = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('half', 1), ('full', 2), ('auto', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpPortOperDuplex.setStatus('current') if mibBuilder.loadTexts: wwpPortOperDuplex.setDescription('The current duplex mode of the port.') wwp_port_admin_flow_ctrl = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpPortAdminFlowCtrl.setStatus('current') if mibBuilder.loadTexts: wwpPortAdminFlowCtrl.setDescription('Configures the ports flow control operation. Need to check 802.3x for additional modes for gig ports.') wwp_port_oper_flow_ctrl = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpPortOperFlowCtrl.setStatus('current') if mibBuilder.loadTexts: wwpPortOperFlowCtrl.setDescription('Shows ports flow control configuration.') wwp_port_tagged = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('untagged', 0), ('tagged', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpPortTagged.setStatus('current') if mibBuilder.loadTexts: wwpPortTagged.setDescription("The port tagged Status can be set to tagged or untagged. If a port is part of more than one VLAN, then the port Status should be 'tagged'.") wwp_port_untagged_priority = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('p0', 0), ('p1', 1), ('p2', 2), ('p3', 3), ('p4', 4), ('p5', 5), ('p6', 6), ('p7', 7)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpPortUntaggedPriority.setStatus('current') if mibBuilder.loadTexts: wwpPortUntaggedPriority.setDescription('The 802.1p packet priority to be assigned to packets associated with this port that do not have an 802.1Q VLAN header.') wwp_port_max_frame_size = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 16), integer32().subtype(subtypeSpec=value_range_constraint(1522, 9126))).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpPortMaxFrameSize.setStatus('current') if mibBuilder.loadTexts: wwpPortMaxFrameSize.setDescription('Setting this object will set the max frame size allowed on a port. The max frame size can vary between 1522 bytes till 9216 bytes. Default value is 1522 bytes') wwp_port_ingress_filtering = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpPortIngressFiltering.setStatus('current') if mibBuilder.loadTexts: wwpPortIngressFiltering.setDescription('When this is true(1) the device will discard incoming frames for VLANs which do not include this Port in its Member set. When false(2), the port will accept all incoming frames.') wwp_port_rate_limit_state = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 18), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpPortRateLimitState.setStatus('current') if mibBuilder.loadTexts: wwpPortRateLimitState.setDescription('When set to true, the rate limiting mechanism is enabled for this port. When set to false, the rate limiting mechanism is disabled for this port.') wwp_port_rate_limit_value = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 1, 1, 19), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647)).clone(10000000)).setUnits('Bits per second').setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpPortRateLimitValue.setStatus('current') if mibBuilder.loadTexts: wwpPortRateLimitValue.setDescription('The value of this object represents the desired bit-rate limit for this port. When the rate limiting mechanism is enabled for this port, this value is enforced to the best extent possible by the device. For some devices the actual maximum bit-rate allowed may exceed the rate limit parameter under certain circumstances due to hardware and software limitations.') wwp_local_mgmt_port_enable = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 1, 2), truth_value().clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpLocalMgmtPortEnable.setStatus('deprecated') if mibBuilder.loadTexts: wwpLocalMgmtPortEnable.setDescription('Setting this object to false(2) will disable the local Management Port. The object has beed deprecated as we need to have the general functionality of disabling and enableing any in-band and out-band mgmt interface.') wwp_vlan_version_number = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('version1', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpVlanVersionNumber.setReference('IEEE 802.1Q/D11 Section 12.10.1.1') if mibBuilder.loadTexts: wwpVlanVersionNumber.setStatus('current') if mibBuilder.loadTexts: wwpVlanVersionNumber.setDescription('The version number of IEEE 802.1Q that this device supports.') wwp_max_vlan_id = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 2), vlan_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpMaxVlanId.setReference('IEEE 802.1Q/D11 Section 9.3.2.3') if mibBuilder.loadTexts: wwpMaxVlanId.setStatus('current') if mibBuilder.loadTexts: wwpMaxVlanId.setDescription('The maximum IEEE 802.1Q VLAN ID that this device supports.') wwp_max_supported_vlans = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpMaxSupportedVlans.setReference('IEEE 802.1Q/D11 Section 12.10.1.1') if mibBuilder.loadTexts: wwpMaxSupportedVlans.setStatus('current') if mibBuilder.loadTexts: wwpMaxSupportedVlans.setDescription('The maximum number of IEEE 802.1Q VLANs that this device supports.') wwp_num_vlans = mib_scalar((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 4), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpNumVlans.setReference('IEEE 802.1Q/D11 Section 12.7.1.1') if mibBuilder.loadTexts: wwpNumVlans.setStatus('current') if mibBuilder.loadTexts: wwpNumVlans.setDescription('The current number of IEEE 802.1Q VLANs that are configured in this device.') wwp_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 5)) if mibBuilder.loadTexts: wwpVlanTable.setStatus('current') if mibBuilder.loadTexts: wwpVlanTable.setDescription('VLAN table') wwp_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 5, 1)).setIndexNames((0, 'WWP-EXT-BRIDGE-MIB', 'wwpVlanId')) if mibBuilder.loadTexts: wwpVlanEntry.setStatus('current') if mibBuilder.loadTexts: wwpVlanEntry.setDescription('table of vlans') wwp_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 5, 1, 1), vlan_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpVlanId.setStatus('current') if mibBuilder.loadTexts: wwpVlanId.setDescription('802.1Q VLAN ID (1-4094)') wwp_vlan_name = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 5, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readcreate') if mibBuilder.loadTexts: wwpVlanName.setStatus('current') if mibBuilder.loadTexts: wwpVlanName.setDescription('Name associated with this VLAN.') wwp_vlan_current_egress_ports = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 5, 1, 3), port_list().clone(hexValue='0000')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpVlanCurrentEgressPorts.setReference('IEEE 802.1Q/D11 Section 12.10.2.1') if mibBuilder.loadTexts: wwpVlanCurrentEgressPorts.setStatus('current') if mibBuilder.loadTexts: wwpVlanCurrentEgressPorts.setDescription('The set of ports which are transmitting traffic for this VLAN as either tagged or untagged frames.') wwp_vlan_current_untagged_ports = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 5, 1, 4), port_list()).setMaxAccess('readonly') if mibBuilder.loadTexts: wwpVlanCurrentUntaggedPorts.setReference('IEEE 802.1Q/D11 Section 12.10.2.1') if mibBuilder.loadTexts: wwpVlanCurrentUntaggedPorts.setStatus('current') if mibBuilder.loadTexts: wwpVlanCurrentUntaggedPorts.setDescription('The set of ports which are transmitting traffic for this VLAN as untagged frames.') wwp_vlan_mgmt_status = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 5, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('notMgmtVlan', 0), ('remoteMgmtVlan', 1), ('localMgmtVlan', 2))).clone('notMgmtVlan')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpVlanMgmtStatus.setStatus('current') if mibBuilder.loadTexts: wwpVlanMgmtStatus.setDescription('Indicates if this VLAN is a management VLAN. The system can have at most one remote mgt vlan, and one local mgt vlan. Any Valn can be set either to remoteMgmtVlan or localMgmtvlan.') wwp_vlan_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 5, 1, 6), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpVlanRowStatus.setStatus('current') if mibBuilder.loadTexts: wwpVlanRowStatus.setDescription("Used to manage the creation and deletion of the conceptual rows in this table. To create a row in this table, a manager must set this object to 'createAndGo'. To delete a row in this table, there should not be any port associated with this vlan.") wwp_vlan_x_table = mib_table((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 6)) if mibBuilder.loadTexts: wwpVlanXTable.setStatus('current') if mibBuilder.loadTexts: wwpVlanXTable.setDescription('Extension of the VLAN table') wwp_vlan_x_entry = mib_table_row((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 6, 1)) wwpVlanEntry.registerAugmentions(('WWP-EXT-BRIDGE-MIB', 'wwpVlanXEntry')) wwpVlanXEntry.setIndexNames(*wwpVlanEntry.getIndexNames()) if mibBuilder.loadTexts: wwpVlanXEntry.setStatus('current') if mibBuilder.loadTexts: wwpVlanXEntry.setDescription('Entry in the extended vlan table.') wwp_vlan_tunnel = mib_table_column((1, 3, 6, 1, 4, 1, 6141, 2, 4, 1, 2, 6, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: wwpVlanTunnel.setStatus('current') if mibBuilder.loadTexts: wwpVlanTunnel.setDescription('Enable/disable VLAN tunneling on this VLAN.') mibBuilder.exportSymbols('WWP-EXT-BRIDGE-MIB', wwpVlanId=wwpVlanId, wwpVlanEntry=wwpVlanEntry, wwpExtBridgeMIBObjects=wwpExtBridgeMIBObjects, wwpVlanName=wwpVlanName, wwpExtBridgeMIBCompliances=wwpExtBridgeMIBCompliances, wwpPortAdminDuplex=wwpPortAdminDuplex, wwpPortAdminFlowCtrl=wwpPortAdminFlowCtrl, wwpVlanCurrentUntaggedPorts=wwpVlanCurrentUntaggedPorts, wwpVlanXTable=wwpVlanXTable, wwpNumVlans=wwpNumVlans, wwpPortEntry=wwpPortEntry, VlanId=VlanId, PYSNMP_MODULE_ID=wwpExtBridgeMIB, wwpExtBridgeMIBConformance=wwpExtBridgeMIBConformance, wwpVlanCurrentEgressPorts=wwpVlanCurrentEgressPorts, wwpPortOperFlowCtrl=wwpPortOperFlowCtrl, wwpLocalMgmtPortEnable=wwpLocalMgmtPortEnable, wwpPortAutoNeg=wwpPortAutoNeg, wwpExtBridgeMIBNotificationPrefix=wwpExtBridgeMIBNotificationPrefix, wwpVlanTable=wwpVlanTable, wwpPortType=wwpPortType, wwpPortOperDuplex=wwpPortOperDuplex, wwpPortRateLimitState=wwpPortRateLimitState, wwpExtBridgeMIB=wwpExtBridgeMIB, wwpPortAdminStatus=wwpPortAdminStatus, wwpVlanRowStatus=wwpVlanRowStatus, wwpVlanMgmtStatus=wwpVlanMgmtStatus, wwpVlanVersionNumber=wwpVlanVersionNumber, wwpPortRateLimitValue=wwpPortRateLimitValue, wwpPortMaxFrameSize=wwpPortMaxFrameSize, wwpPortPhysAddr=wwpPortPhysAddr, wwpPortTagged=wwpPortTagged, wwpVlanTunnel=wwpVlanTunnel, wwpPortTable=wwpPortTable, wwpExtBridgeMIBGroups=wwpExtBridgeMIBGroups, wwpExtBridgeMIBNotifications=wwpExtBridgeMIBNotifications, wwpPortName=wwpPortName, wwpPortIngressFiltering=wwpPortIngressFiltering, wwpMaxVlanId=wwpMaxVlanId, wwpMaxSupportedVlans=wwpMaxSupportedVlans, PortList=PortList, wwpPortOperStatus=wwpPortOperStatus, wwpPortOperSpeed=wwpPortOperSpeed, wwpPort=wwpPort, wwpVlan=wwpVlan, wwpPortAdminSpeed=wwpPortAdminSpeed, wwpPortUntaggedPriority=wwpPortUntaggedPriority, wwpPortId=wwpPortId, wwpVlanXEntry=wwpVlanXEntry)
n, q = map(int, input().split()) d = {} init = input().split() for i in range(1, n+1): d[i] = init[i-1] for j in range(q): line = input().split() req = line[0] if req == '1': d[int(line[1])] = line[2] else: print(abs(int(d[int(line[1])]) - int(d[int(line[2])])))
(n, q) = map(int, input().split()) d = {} init = input().split() for i in range(1, n + 1): d[i] = init[i - 1] for j in range(q): line = input().split() req = line[0] if req == '1': d[int(line[1])] = line[2] else: print(abs(int(d[int(line[1])]) - int(d[int(line[2])])))