content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
palavra = ('Curso', 'Video', 'Python') qualPalavra = 0 qualLetra = 0 while True: if palavra[qualPalavra][qualLetra] in 'AaEeIiOoUu': print(palavra[qualPalavra])
palavra = ('Curso', 'Video', 'Python') qual_palavra = 0 qual_letra = 0 while True: if palavra[qualPalavra][qualLetra] in 'AaEeIiOoUu': print(palavra[qualPalavra])
def to_batch_seq(batch): q_seq = [] history = [] label = [] for item in batch: q_seq.append(item['question_tokens']) history.append(item["history"]) label.append(item["label"]) return q_seq, history, label # CHANGED def to_batch_tables(batch, table_type): # col_lens = [] col_seq = [] tname_seqs = [] par_tnum_seqs = [] foreign_keys = [] for item in batch: ts = item["ts"] tname_toks = [x.split(" ") for x in ts[0]] col_type = ts[2] cols = [x.split(" ") for xid, x in ts[1]] tab_seq = [xid for xid, x in ts[1]] cols_add = [] for tid, col, ct in zip(tab_seq, cols, col_type): col_one = [ct] if tid == -1: tabn = ["all"] else: if table_type == "no": tabn = [] elif table_type == "struct": tabn = [] else: tabn = tname_toks[tid] for t in tabn: if t not in col: col_one.append(t) col_one.extend(col) cols_add.append(col_one) col_seq.append(cols_add) tname_seqs.append(tname_toks) par_tnum_seqs.append(tab_seq) foreign_keys.append(ts[3]) return col_seq, tname_seqs, par_tnum_seqs, foreign_keys def to_batch_from_candidates(par_tab_nums, batch): from_candidates = [] for idx, item in enumerate(batch): table_candidate = item["from"] col_candidates = [0] for col, par in enumerate(par_tab_nums[idx]): if str(par) in table_candidate: col_candidates.append(col) from_candidates.append(col_candidates) return from_candidates def make_compound_table(dev_db_compound_num, table_dict, my_db_id, db_ids): if dev_db_compound_num == 0: return table_dict[my_db_id] selected_db_ids = random.sample(db_ids, dev_db_compound_num) if my_db_id in selected_db_ids: selected_db_ids.remove(my_db_id) compound_table = deepcopy(table_dict[my_db_id]) for dev_db_id in selected_db_ids: new_table = table_dict[dev_db_id] if random.randint(0, 10) < 5: new_table = compound_table compound_table = deepcopy(table_dict[dev_db_id]) compound_table = append_table(compound_table, new_table) return compound_table def append_table(compound_table, new_table): for table_name in new_table["table_names"]: if table_name in compound_table["table_names"]: return compound_table new_table_offset = len(compound_table["table_names"]) new_column_offset = len(compound_table["column_names"]) - 1 compound_table["table_names"].extend(new_table["table_names"]) compound_table["table_names_original"].extend(new_table["table_names_original"]) for p in new_table["primary_keys"]: compound_table["primary_keys"].append(p + new_column_offset) for f, p in new_table["foreign_keys"]: compound_table["foreign_keys"].append([f + new_column_offset, p + new_column_offset]) compound_table["column_types"].extend(new_table["column_types"]) for t, name in new_table["column_names_original"][1:]: compound_table["column_names_original"].append([t + new_table_offset, name]) for t, name in new_table["column_names"][1:]: compound_table["column_names"].append([t + new_table_offset, name]) return compound_table def index_to_column_name(index, table): column_name = table["column_names"][index][1] table_index = table["column_names"][index][0] table_name = table["table_names"][table_index] return table_name, column_name, index
def to_batch_seq(batch): q_seq = [] history = [] label = [] for item in batch: q_seq.append(item['question_tokens']) history.append(item['history']) label.append(item['label']) return (q_seq, history, label) def to_batch_tables(batch, table_type): col_seq = [] tname_seqs = [] par_tnum_seqs = [] foreign_keys = [] for item in batch: ts = item['ts'] tname_toks = [x.split(' ') for x in ts[0]] col_type = ts[2] cols = [x.split(' ') for (xid, x) in ts[1]] tab_seq = [xid for (xid, x) in ts[1]] cols_add = [] for (tid, col, ct) in zip(tab_seq, cols, col_type): col_one = [ct] if tid == -1: tabn = ['all'] elif table_type == 'no': tabn = [] elif table_type == 'struct': tabn = [] else: tabn = tname_toks[tid] for t in tabn: if t not in col: col_one.append(t) col_one.extend(col) cols_add.append(col_one) col_seq.append(cols_add) tname_seqs.append(tname_toks) par_tnum_seqs.append(tab_seq) foreign_keys.append(ts[3]) return (col_seq, tname_seqs, par_tnum_seqs, foreign_keys) def to_batch_from_candidates(par_tab_nums, batch): from_candidates = [] for (idx, item) in enumerate(batch): table_candidate = item['from'] col_candidates = [0] for (col, par) in enumerate(par_tab_nums[idx]): if str(par) in table_candidate: col_candidates.append(col) from_candidates.append(col_candidates) return from_candidates def make_compound_table(dev_db_compound_num, table_dict, my_db_id, db_ids): if dev_db_compound_num == 0: return table_dict[my_db_id] selected_db_ids = random.sample(db_ids, dev_db_compound_num) if my_db_id in selected_db_ids: selected_db_ids.remove(my_db_id) compound_table = deepcopy(table_dict[my_db_id]) for dev_db_id in selected_db_ids: new_table = table_dict[dev_db_id] if random.randint(0, 10) < 5: new_table = compound_table compound_table = deepcopy(table_dict[dev_db_id]) compound_table = append_table(compound_table, new_table) return compound_table def append_table(compound_table, new_table): for table_name in new_table['table_names']: if table_name in compound_table['table_names']: return compound_table new_table_offset = len(compound_table['table_names']) new_column_offset = len(compound_table['column_names']) - 1 compound_table['table_names'].extend(new_table['table_names']) compound_table['table_names_original'].extend(new_table['table_names_original']) for p in new_table['primary_keys']: compound_table['primary_keys'].append(p + new_column_offset) for (f, p) in new_table['foreign_keys']: compound_table['foreign_keys'].append([f + new_column_offset, p + new_column_offset]) compound_table['column_types'].extend(new_table['column_types']) for (t, name) in new_table['column_names_original'][1:]: compound_table['column_names_original'].append([t + new_table_offset, name]) for (t, name) in new_table['column_names'][1:]: compound_table['column_names'].append([t + new_table_offset, name]) return compound_table def index_to_column_name(index, table): column_name = table['column_names'][index][1] table_index = table['column_names'][index][0] table_name = table['table_names'][table_index] return (table_name, column_name, index)
def horn(coefs, x0): n = len(coefs) b = coefs[0] for index in range(1,n): b = coefs[index] + b * x0 return b j=horn([2,2,3,-21,8],8) print(j)
def horn(coefs, x0): n = len(coefs) b = coefs[0] for index in range(1, n): b = coefs[index] + b * x0 return b j = horn([2, 2, 3, -21, 8], 8) print(j)
class TradingDayData: def __init__(self, pricebars, tradingday): self.__pricebars = pricebars self.__tradingday = tradingday @property def price_bars(self): return self.__pricebars
class Tradingdaydata: def __init__(self, pricebars, tradingday): self.__pricebars = pricebars self.__tradingday = tradingday @property def price_bars(self): return self.__pricebars
# MEDIUM # since this is looking for permutation, the Time would be O(N!) # 1. first check if the input can form a palindrome => only <=1 odd occured char can used # 2. only permutate the half of the input == permutation II # eg. input = "aabb" # only permutate ["a","b"], append reversed(input) to the end # Time O(N/2 !) Space O(N) class Solution: def generatePalindromes(self, s: str) -> List[str]: check = [0]* 128 half = [0]* (len(s)//2) if not self.canPalin(s,check): return [] k = 0 ch =0 for i in range(128): if check[i]%2== 1: ch = chr(i) for j in range(check[i]//2): half[k] = chr(i) k +=1 print(ch) print(half) result = set([]) self.dfs(half,0,ch,result) return list(result) def dfs(self,half,index,ch,result): if index == len(half): if ch: result.add("".join(half) + ch + "".join(reversed(half)) ) else: result.add("".join(half) + "".join(reversed(half)) ) return check = set([]) for i in range(index,len(half)): if half[i] not in check: check.add(half[i]) half[i],half[index] = half[index],half[i] self.dfs(half,index+1,ch,result) half[i],half[index] = half[index],half[i] def isPalin(self,s): i,j = 0,len(s)-1 while i<j: if s[i]!= s[j]: return False i+= 1 j -= 1 return True def canPalin(self,s,check): count = 0 for i in range(len(s)): t = ord(s[i]) check[t] += 1 if check[t] %2 == 0: count -= 1 else: count += 1 return count <= 1
class Solution: def generate_palindromes(self, s: str) -> List[str]: check = [0] * 128 half = [0] * (len(s) // 2) if not self.canPalin(s, check): return [] k = 0 ch = 0 for i in range(128): if check[i] % 2 == 1: ch = chr(i) for j in range(check[i] // 2): half[k] = chr(i) k += 1 print(ch) print(half) result = set([]) self.dfs(half, 0, ch, result) return list(result) def dfs(self, half, index, ch, result): if index == len(half): if ch: result.add(''.join(half) + ch + ''.join(reversed(half))) else: result.add(''.join(half) + ''.join(reversed(half))) return check = set([]) for i in range(index, len(half)): if half[i] not in check: check.add(half[i]) (half[i], half[index]) = (half[index], half[i]) self.dfs(half, index + 1, ch, result) (half[i], half[index]) = (half[index], half[i]) def is_palin(self, s): (i, j) = (0, len(s) - 1) while i < j: if s[i] != s[j]: return False i += 1 j -= 1 return True def can_palin(self, s, check): count = 0 for i in range(len(s)): t = ord(s[i]) check[t] += 1 if check[t] % 2 == 0: count -= 1 else: count += 1 return count <= 1
''' Created on 15 May 2018 @author: igoroya ''' def read_text(file_path): my_file = open(file_path, 'r', encoding="utf-8") text = my_file.read() my_file.close() return text def print_text(text): print(text) def get_lines(text): return text.split("\n") def get_words(text): words = [] lines = get_lines(text) for entry in lines: for w in entry.split(" "): words.append(w) return words def get_letters(text): letters = [] words = get_words(text) for w in words: for letter in w: letters.append(letter) return letters def print_words(words): for word in words: print(word) def get_text_stats(text): lines = len(get_lines(text)) words = len(get_words(text)) letters = len(get_letters(text)) print('Text Stats') print('lines: {}, words: {}, letters: {}'.format(lines, words, letters)) def find_letter_occurences(text): letter_set = set(get_letters(text.lower())) letter_occurence = dict() for letter in letter_set: letter_occurence[count_occurrences(text, letter)] = letter print(sorted(letter_occurence)) print('Occurrence of letters') print('Letter: times') for key in sorted(letter_occurence, reverse=True): print("%s: %s" % (letter_occurence[key], key)) def count_occurrences(text, letter): return text.count(letter) if __name__ == '__main__': text = read_text('Text') get_text_stats(text) print() find_letter_occurences(text)
""" Created on 15 May 2018 @author: igoroya """ def read_text(file_path): my_file = open(file_path, 'r', encoding='utf-8') text = my_file.read() my_file.close() return text def print_text(text): print(text) def get_lines(text): return text.split('\n') def get_words(text): words = [] lines = get_lines(text) for entry in lines: for w in entry.split(' '): words.append(w) return words def get_letters(text): letters = [] words = get_words(text) for w in words: for letter in w: letters.append(letter) return letters def print_words(words): for word in words: print(word) def get_text_stats(text): lines = len(get_lines(text)) words = len(get_words(text)) letters = len(get_letters(text)) print('Text Stats') print('lines: {}, words: {}, letters: {}'.format(lines, words, letters)) def find_letter_occurences(text): letter_set = set(get_letters(text.lower())) letter_occurence = dict() for letter in letter_set: letter_occurence[count_occurrences(text, letter)] = letter print(sorted(letter_occurence)) print('Occurrence of letters') print('Letter: times') for key in sorted(letter_occurence, reverse=True): print('%s: %s' % (letter_occurence[key], key)) def count_occurrences(text, letter): return text.count(letter) if __name__ == '__main__': text = read_text('Text') get_text_stats(text) print() find_letter_occurences(text)
class Solution: def isSubsequence(self, s: str, t: str) -> bool: if not s: return True m, n = 0, len(s) - 1 i, j = 0, len(t) - 1 while i <= j and m <= n: if t[i] == s[m]: m += 1 i += 1 else: i += 1 if t[j] == s[n]: j -= 1 n -= 1 else: j -= 1 return m > n s = Solution() print(s.isSubsequence("aa", "ahbgdc"))
class Solution: def is_subsequence(self, s: str, t: str) -> bool: if not s: return True (m, n) = (0, len(s) - 1) (i, j) = (0, len(t) - 1) while i <= j and m <= n: if t[i] == s[m]: m += 1 i += 1 else: i += 1 if t[j] == s[n]: j -= 1 n -= 1 else: j -= 1 return m > n s = solution() print(s.isSubsequence('aa', 'ahbgdc'))
def even(n): return n/2 def odd(n): return (3*n)+1 if __name__ == '__main__': appeared = [] z = 0 x = 0 for i in range(1,1000000): y = 0 a = i while a != 1: if i not in appeared: if a % 2 == 0: a = even(a) y += 1 else: a = odd(a) y += 1 #appeared.append(i) if y > x: x = y z = i print(z)
def even(n): return n / 2 def odd(n): return 3 * n + 1 if __name__ == '__main__': appeared = [] z = 0 x = 0 for i in range(1, 1000000): y = 0 a = i while a != 1: if i not in appeared: if a % 2 == 0: a = even(a) y += 1 else: a = odd(a) y += 1 if y > x: x = y z = i print(z)
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") def arm_toolchains_repositories(): rules_pkg() org_linaro_components_toolchain_gcc_5_3_1() raspi_components_toolchain_gcc_4_8_3() def org_linaro_components_toolchain_gcc_5_3_1(): http_archive( name = 'org_linaro_components_toolchain_gcc_5_3_1', build_file = '@site_colatkinson_arm_toolchain//:compilers/linaro_linux_gcc_5.3.1.BUILD', url = 'https://bazel-mirror.storage.googleapis.com/releases.linaro.org/components/toolchain/binaries/latest-5/arm-linux-gnueabihf/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf.tar.xz', strip_prefix = 'gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf', patches = ['@site_colatkinson_arm_toolchain//:patches/linaro_arm_linux.patch'], patch_args = ["-p1"], sha256 = "987941c9fffdf56ffcbe90e8984673c16648c477b537fcf43add22fa62f161cd", ) def raspi_components_toolchain_gcc_4_8_3(): toolchain_commit = '4a335520900ce55e251ac4f420f52bf0b2ab6b1f' http_archive( name = 'raspi_components_toolchain_gcc_4_8_3', build_file = '@site_colatkinson_arm_toolchain//:compilers/raspi_linux_gcc_4.8.3.BUILD', url = 'https://github.com/raspberrypi/tools/archive/%s.zip' % toolchain_commit, strip_prefix = 'tools-%s/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64' % toolchain_commit, patches = ['@site_colatkinson_arm_toolchain//:patches/raspi_linux_gcc.patch'], patch_args = ["-p1"], sha256 = "55ce12ae5246fa1f77410f730551cb63c8977cbf21828dddc99ebcba0b53530f", ) def rules_pkg(): http_archive( name = "rules_pkg", url = "https://github.com/bazelbuild/rules_pkg/releases/download/0.2.4/rules_pkg-0.2.4.tar.gz", sha256 = "4ba8f4ab0ff85f2484287ab06c0d871dcb31cc54d439457d28fd4ae14b18450a", )
load('@bazel_tools//tools/build_defs/repo:http.bzl', 'http_archive') def arm_toolchains_repositories(): rules_pkg() org_linaro_components_toolchain_gcc_5_3_1() raspi_components_toolchain_gcc_4_8_3() def org_linaro_components_toolchain_gcc_5_3_1(): http_archive(name='org_linaro_components_toolchain_gcc_5_3_1', build_file='@site_colatkinson_arm_toolchain//:compilers/linaro_linux_gcc_5.3.1.BUILD', url='https://bazel-mirror.storage.googleapis.com/releases.linaro.org/components/toolchain/binaries/latest-5/arm-linux-gnueabihf/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf.tar.xz', strip_prefix='gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabihf', patches=['@site_colatkinson_arm_toolchain//:patches/linaro_arm_linux.patch'], patch_args=['-p1'], sha256='987941c9fffdf56ffcbe90e8984673c16648c477b537fcf43add22fa62f161cd') def raspi_components_toolchain_gcc_4_8_3(): toolchain_commit = '4a335520900ce55e251ac4f420f52bf0b2ab6b1f' http_archive(name='raspi_components_toolchain_gcc_4_8_3', build_file='@site_colatkinson_arm_toolchain//:compilers/raspi_linux_gcc_4.8.3.BUILD', url='https://github.com/raspberrypi/tools/archive/%s.zip' % toolchain_commit, strip_prefix='tools-%s/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64' % toolchain_commit, patches=['@site_colatkinson_arm_toolchain//:patches/raspi_linux_gcc.patch'], patch_args=['-p1'], sha256='55ce12ae5246fa1f77410f730551cb63c8977cbf21828dddc99ebcba0b53530f') def rules_pkg(): http_archive(name='rules_pkg', url='https://github.com/bazelbuild/rules_pkg/releases/download/0.2.4/rules_pkg-0.2.4.tar.gz', sha256='4ba8f4ab0ff85f2484287ab06c0d871dcb31cc54d439457d28fd4ae14b18450a')
class Solution: def solve(self, a, b): def bin_sum(x,y,c): x = int(x) y = int(y) c = int(c) si = (x+y+c)%2 c = (x+y+c)//2 if c: c = 1 return str(si),str(c) n , m = len(a),len(b) i,j = n-1,m-1 ans = '' c = '0' while i >= 0 and j >= 0: si,c = bin_sum(a[i],b[j],c) ans = si + ans i -= 1 j -= 1 while i >= 0: if c: si,c = bin_sum(0,a[i],c) ans = si + ans else: ans = a[:i+1] + ans i -= 1 while j >= 0: if c: si , c = bin_sum(0,b[j],c) ans = si + ans else: ans = b[:j+1] + ans j -= 1 ans = c + ans ans = str(int(ans)) return ans
class Solution: def solve(self, a, b): def bin_sum(x, y, c): x = int(x) y = int(y) c = int(c) si = (x + y + c) % 2 c = (x + y + c) // 2 if c: c = 1 return (str(si), str(c)) (n, m) = (len(a), len(b)) (i, j) = (n - 1, m - 1) ans = '' c = '0' while i >= 0 and j >= 0: (si, c) = bin_sum(a[i], b[j], c) ans = si + ans i -= 1 j -= 1 while i >= 0: if c: (si, c) = bin_sum(0, a[i], c) ans = si + ans else: ans = a[:i + 1] + ans i -= 1 while j >= 0: if c: (si, c) = bin_sum(0, b[j], c) ans = si + ans else: ans = b[:j + 1] + ans j -= 1 ans = c + ans ans = str(int(ans)) return ans
# Copyright 2009-2017 Ram Rachum. # This program is distributed under the MIT license. '''Defines exceptions.''' class CuteBaseException(BaseException): ''' Base exception that uses its first docstring line in lieu of a message. ''' def __init__(self, message=None): # We use `None` as the default for `message`, so the user can input '' # to force an empty message. if message is None: if self.__doc__ and \ (type(self) not in (CuteBaseException, CuteException)): message = self.__doc__.strip().split('\n')[0] # Getting the first line of the documentation else: message = '' BaseException.__init__(self, message) self.message = message ''' The message of the exception, detailing what went wrong. We provide this `.message` attribute despite `BaseException.message` being deprecated in Python. The message can also be accessed as the Python-approved `BaseException.args[0]`. ''' class CuteException(CuteBaseException, Exception): '''Exception that uses its first docstring line in lieu of a message.'''
"""Defines exceptions.""" class Cutebaseexception(BaseException): """ Base exception that uses its first docstring line in lieu of a message. """ def __init__(self, message=None): if message is None: if self.__doc__ and type(self) not in (CuteBaseException, CuteException): message = self.__doc__.strip().split('\n')[0] else: message = '' BaseException.__init__(self, message) self.message = message '\n The message of the exception, detailing what went wrong.\n \n We provide this `.message` attribute despite `BaseException.message`\n being deprecated in Python. The message can also be accessed as the\n Python-approved `BaseException.args[0]`.\n ' class Cuteexception(CuteBaseException, Exception): """Exception that uses its first docstring line in lieu of a message."""
class RoutingRulesList: TITLE = "Maintain case routing rules" CREATE_BUTTON = "Create new routing rule" NO_CONTENT_NOTICE = "There are no registered routing rules at the moment." ACTIVE = "Active" DEACTIVATED = "Deactivated" DEACTIVATE = "Deactivate" REACTIVATE = "Reactivate" EDIT = "Edit" class Table: TEAM = "Team" CASE_STATUS = "Case Status" TIER = "Tier" CASE_TYPES = "Case types" FLAGS = "Flags" COUNTRY = "Country" QUEUE = "Queue" USERS = "Users" STATUS = "Status" ACTIONS = "Actions" class Filter: CASE_STATUS = "case status" TEAM = "team" QUEUE = "queue" TIER = "tier number" ACTIVE_ONLY = "Only show active rules" class AdditionalRules: CASE_TYPES = "Case Types" FLAGS = "Flags" COUNTRY = "Destinations" USERS = "Users" class Forms: CREATE_TITLE = "Routing rule parameters" EDIT_TITLE = "Edit the routing rule" CASE_STATUS = "Select a case status" TEAM = "Select a team to create a rule for" QUEUE = "Select a team work queue" TIER = "Enter a tier number" ADDITIONAL_RULES = "Select the combination of options you need to create the case routing rule" CASE_TYPES = "Select case types" FLAGS = "Select flags" COUNTRY = "Select a country" USER = "Select a team member to assign the case to" BACK_BUTTON = "Back to routing rules" CONFIRM_FORM_ERROR = "Select to confirm or not" class DeactivateForm: TITLE = "Are you sure you want to deactivate this routing rule?" DESCRIPTION = "You are deactivating the routing rule" YES_LABEL = "Deactivate this routing rule" NO_LABEL = "Cancel" class ActivateForm: TITLE = "Are you sure you want to activate this routing rule?" DESCRIPTION = "You are deactivating the routing rule" YES_LABEL = "Activate this routing rule" NO_LABEL = "Cancel"
class Routingruleslist: title = 'Maintain case routing rules' create_button = 'Create new routing rule' no_content_notice = 'There are no registered routing rules at the moment.' active = 'Active' deactivated = 'Deactivated' deactivate = 'Deactivate' reactivate = 'Reactivate' edit = 'Edit' class Table: team = 'Team' case_status = 'Case Status' tier = 'Tier' case_types = 'Case types' flags = 'Flags' country = 'Country' queue = 'Queue' users = 'Users' status = 'Status' actions = 'Actions' class Filter: case_status = 'case status' team = 'team' queue = 'queue' tier = 'tier number' active_only = 'Only show active rules' class Additionalrules: case_types = 'Case Types' flags = 'Flags' country = 'Destinations' users = 'Users' class Forms: create_title = 'Routing rule parameters' edit_title = 'Edit the routing rule' case_status = 'Select a case status' team = 'Select a team to create a rule for' queue = 'Select a team work queue' tier = 'Enter a tier number' additional_rules = 'Select the combination of options you need to create the case routing rule' case_types = 'Select case types' flags = 'Select flags' country = 'Select a country' user = 'Select a team member to assign the case to' back_button = 'Back to routing rules' confirm_form_error = 'Select to confirm or not' class Deactivateform: title = 'Are you sure you want to deactivate this routing rule?' description = 'You are deactivating the routing rule' yes_label = 'Deactivate this routing rule' no_label = 'Cancel' class Activateform: title = 'Are you sure you want to activate this routing rule?' description = 'You are deactivating the routing rule' yes_label = 'Activate this routing rule' no_label = 'Cancel'
__all__ = ["_nsgroup", "association_api", "association_service_api", "codesystem_api", "codesystem_service_api", "codesystemversion_api", "codesystemversion_service_api", "conceptdomain_api", "conceptdomain_service_api", "conceptdomainbinding_api", "conceptdomainbinding_service_api", "core_api", "core_service_api", "entity_api", "entity_service_api", "exceptions_api", "map_api", "map_service_api", "mapentry_service_api", "mapversion_api", "mapversion_service_api", "statement_api", "statement_service_api", "updates_api", "valueset_api", "valueset_service_api", "valuesetdefinition_api", "valuesetdefinition_service_api"]
__all__ = ['_nsgroup', 'association_api', 'association_service_api', 'codesystem_api', 'codesystem_service_api', 'codesystemversion_api', 'codesystemversion_service_api', 'conceptdomain_api', 'conceptdomain_service_api', 'conceptdomainbinding_api', 'conceptdomainbinding_service_api', 'core_api', 'core_service_api', 'entity_api', 'entity_service_api', 'exceptions_api', 'map_api', 'map_service_api', 'mapentry_service_api', 'mapversion_api', 'mapversion_service_api', 'statement_api', 'statement_service_api', 'updates_api', 'valueset_api', 'valueset_service_api', 'valuesetdefinition_api', 'valuesetdefinition_service_api']
# webex integration credentials webex_integration_client_id = "" webex_integration_client_secret= "" webex_integration_redirect_uri = "http://localhost:5000/webexoauth" webex_integration_scope = "spark:all meeting:schedules_write"
webex_integration_client_id = '' webex_integration_client_secret = '' webex_integration_redirect_uri = 'http://localhost:5000/webexoauth' webex_integration_scope = 'spark:all meeting:schedules_write'
# Advent of Code - Day 6 - Part Two class LanterFishPopulation: def __init__(self, initial_state): self.population = initial_state def tick(self, reset, gestation): spawn_count = self.population[0] # decrement all lantern fish timers for k in self.population.keys(): if k < gestation: self.population[k] = self.population[k + 1] # deal with regenerating lantern fish self.population[reset] += spawn_count # spawn the new generation self.population[gestation] = spawn_count def parse(line): return [int(num) for num in line[0].split(",")] def result(input, reset=6, gestation=8, cycles=256): initial_state = dict.fromkeys(range(gestation + 1), 0) periods = parse(input) for n in periods: initial_state[n] += 1 lfp = LanterFishPopulation(initial_state) for n in range(cycles): lfp.tick(reset, gestation) return sum(lfp.population.values()) sample_input = ["3,4,3,1,2"] input = sample_input print(result(input, cycles=18)) # print(result(input, cycles = 80)) # print(result(input, cycles = 256))
class Lanterfishpopulation: def __init__(self, initial_state): self.population = initial_state def tick(self, reset, gestation): spawn_count = self.population[0] for k in self.population.keys(): if k < gestation: self.population[k] = self.population[k + 1] self.population[reset] += spawn_count self.population[gestation] = spawn_count def parse(line): return [int(num) for num in line[0].split(',')] def result(input, reset=6, gestation=8, cycles=256): initial_state = dict.fromkeys(range(gestation + 1), 0) periods = parse(input) for n in periods: initial_state[n] += 1 lfp = lanter_fish_population(initial_state) for n in range(cycles): lfp.tick(reset, gestation) return sum(lfp.population.values()) sample_input = ['3,4,3,1,2'] input = sample_input print(result(input, cycles=18))
nombreACalculer = str(2**1000) somme=0 for i in nombreACalculer: somme += int(i) print(somme) input()
nombre_a_calculer = str(2 ** 1000) somme = 0 for i in nombreACalculer: somme += int(i) print(somme) input()
# -------------- print(bool) # -------------- print(bool)
print(bool) print(bool)
class Solution: def nextClosestTime(self, time): t = sorted(set(time))[:-1] nex = {a: b for a, b in zip(t, t[1:])} for i, d in enumerate(time[::-1]): if d in nex: if i == 0: return time[:4] + nex[d] elif i == 1 and nex[d] < '6': return time[:3] + nex[d] + t[0] elif i == 3 and int(time[0] + nex[d]) < 24: return time[0] + nex[d] + ':' + t[0] * 2 return t[0] * 2 + ':' + t[0] * 2
class Solution: def next_closest_time(self, time): t = sorted(set(time))[:-1] nex = {a: b for (a, b) in zip(t, t[1:])} for (i, d) in enumerate(time[::-1]): if d in nex: if i == 0: return time[:4] + nex[d] elif i == 1 and nex[d] < '6': return time[:3] + nex[d] + t[0] elif i == 3 and int(time[0] + nex[d]) < 24: return time[0] + nex[d] + ':' + t[0] * 2 return t[0] * 2 + ':' + t[0] * 2
class Solution: #Function to return a list containing the DFS traversal of the graph. def dfs(self,i,vis,q,adj): vis[i]=1 q.append(i) for i in adj[i]: if(vis[i]==0): self.dfs(i,vis,q,adj) def dfsOfGraph(self, V, adj): vis=[0 for i in range(V)] q=[] self.dfs(0,vis,q,adj) return q # code here #{ # Driver Code Starts if __name__ == '__main__': T=int(input()) for i in range(T): V, E = map(int, input().split()) adj = [[] for i in range(V)] for _ in range(E): u, v = map(int, input().split()) adj[u].append(v) adj[v].append(u) ob = Solution() ans = ob.dfsOfGraph(V, adj) for i in range(len(ans)): print(ans[i], end = " ") print() # } Driver Code Ends
class Solution: def dfs(self, i, vis, q, adj): vis[i] = 1 q.append(i) for i in adj[i]: if vis[i] == 0: self.dfs(i, vis, q, adj) def dfs_of_graph(self, V, adj): vis = [0 for i in range(V)] q = [] self.dfs(0, vis, q, adj) return q if __name__ == '__main__': t = int(input()) for i in range(T): (v, e) = map(int, input().split()) adj = [[] for i in range(V)] for _ in range(E): (u, v) = map(int, input().split()) adj[u].append(v) adj[v].append(u) ob = solution() ans = ob.dfsOfGraph(V, adj) for i in range(len(ans)): print(ans[i], end=' ') print()
# -*- coding: utf-8 -*- timeout = 8 keysize = 512 operator_root_path="/api/1.2" operator_cr_path="/cr" operator_slr_path="/slr" account_management_url="http://myaccount.dy.fi/" account_management_username="test_sdk" account_management_password="test_sdk_pw" operator_url="http://localhost:5000" service_url ="http://localhost:2000" cert_path = "./service_key.jwk" cert_key_path = "./service_key.jwk" cert_password_path = "./cert_pw"
timeout = 8 keysize = 512 operator_root_path = '/api/1.2' operator_cr_path = '/cr' operator_slr_path = '/slr' account_management_url = 'http://myaccount.dy.fi/' account_management_username = 'test_sdk' account_management_password = 'test_sdk_pw' operator_url = 'http://localhost:5000' service_url = 'http://localhost:2000' cert_path = './service_key.jwk' cert_key_path = './service_key.jwk' cert_password_path = './cert_pw'
def in1to10(n, outside_mode): if not outside_mode and n>=1 and n<=10: return True elif outside_mode: if n<=1 or n>=10: return True else: return False else: return False
def in1to10(n, outside_mode): if not outside_mode and n >= 1 and (n <= 10): return True elif outside_mode: if n <= 1 or n >= 10: return True else: return False else: return False
''' Serialize objects into SQLITE database calls. ''' class Serializable: ''' Serializable class that implements methods for objects wishing to serialize to SQLITE tables. This is done with a serialize table that maps property names to SQLITE table columns. When insert_into is called it takes the properties listed in serialize table and the corresponding table column names, building an SQLITE query to use on the database. ''' def __init__(self, serialize_table): ''' Initialize the Serializable class''' self.serialize_table = serialize_table def deserialize_from(self, row): ''' Deserialize object from the result of an sqlite SELECT call. Example: >>> class DeserializeMe(Serializable): >>> def __init__(self, name): >>> self.name = name >>> self.seiralize_table = {'name_column': 'name'} >>> >>> result = ['jake'] # SELECT name_column FROM names >>> test_class = DeserializeMe(None) >>> test_class.deserialize_from(result) >>> assertEquals(test_class.name, 'jake') ''' properties = [prop for _, prop in self.serialize_table] for prop, value in zip(properties, row): setattr(self, prop, value) def insert_into(self, sqlite_table): ''' Serialize object into a sqlite INSERT call. Example: >>> class SerializeMe(Serializable): >>> def __init__(self, name): >>> self.name = name >>> self.seiralize_table = {'name': 'name'} >>> >>> test = SerializeMe('jack') >>> query = test.insert_into('names') >>> assertEquals(query, ('INSERT INTO names (name) VALUES (?)', 'jack')) ''' keys = ', '.join(column for column, _ in self.serialize_table) values = [getattr(self, prop) for _, prop in self.serialize_table] placeholders = ', '.join('?' for value in values) sqlite_query_format = f'INSERT INTO {sqlite_table} ({keys}) VALUES ({placeholders})' return sqlite_query_format, values
""" Serialize objects into SQLITE database calls. """ class Serializable: """ Serializable class that implements methods for objects wishing to serialize to SQLITE tables. This is done with a serialize table that maps property names to SQLITE table columns. When insert_into is called it takes the properties listed in serialize table and the corresponding table column names, building an SQLITE query to use on the database. """ def __init__(self, serialize_table): """ Initialize the Serializable class""" self.serialize_table = serialize_table def deserialize_from(self, row): """ Deserialize object from the result of an sqlite SELECT call. Example: >>> class DeserializeMe(Serializable): >>> def __init__(self, name): >>> self.name = name >>> self.seiralize_table = {'name_column': 'name'} >>> >>> result = ['jake'] # SELECT name_column FROM names >>> test_class = DeserializeMe(None) >>> test_class.deserialize_from(result) >>> assertEquals(test_class.name, 'jake') """ properties = [prop for (_, prop) in self.serialize_table] for (prop, value) in zip(properties, row): setattr(self, prop, value) def insert_into(self, sqlite_table): """ Serialize object into a sqlite INSERT call. Example: >>> class SerializeMe(Serializable): >>> def __init__(self, name): >>> self.name = name >>> self.seiralize_table = {'name': 'name'} >>> >>> test = SerializeMe('jack') >>> query = test.insert_into('names') >>> assertEquals(query, ('INSERT INTO names (name) VALUES (?)', 'jack')) """ keys = ', '.join((column for (column, _) in self.serialize_table)) values = [getattr(self, prop) for (_, prop) in self.serialize_table] placeholders = ', '.join(('?' for value in values)) sqlite_query_format = f'INSERT INTO {sqlite_table} ({keys}) VALUES ({placeholders})' return (sqlite_query_format, values)
#!/usr/bin/env python3 SLIDE_WINDOWS = 3 f = open("input.txt", "r") window = [] for i in range(SLIDE_WINDOWS): window.append(int(f.readline())) count = 0 for cur in f: #print(f'current: {cur}') window.append(int(cur)) if sum(window[1:]) > sum(window[0:-1]): count +=1 window.pop(0) print(f'increase: {count}')
slide_windows = 3 f = open('input.txt', 'r') window = [] for i in range(SLIDE_WINDOWS): window.append(int(f.readline())) count = 0 for cur in f: window.append(int(cur)) if sum(window[1:]) > sum(window[0:-1]): count += 1 window.pop(0) print(f'increase: {count}')
def scale_01(feature,n_feature): for i in range(n_feature): feature_i=feature[:,i] feature[:,i]=0+(feature_i-min(feature_i))/(max(feature_i)-min(feature_i)) return feature
def scale_01(feature, n_feature): for i in range(n_feature): feature_i = feature[:, i] feature[:, i] = 0 + (feature_i - min(feature_i)) / (max(feature_i) - min(feature_i)) return feature
class DriverBase(object): def __init__(self, wheel_radius=0.06, wheel_track=0.33): self.wheel_speeds = [0.0, 0.0, 0.0, 0.0] self.wheel_radius = wheel_radius self.wheel_track = wheel_track def set_motors(self, linear, angular): raise NotImplementedError() class DriverStraight(DriverBase): def set_motors(self, linear, angular): if abs(linear) >= abs(angular): wheel_speed = linear / self.wheel_radius self.wheel_speeds = [wheel_speed] * 4 else: wheel_left_speed = (-angular * (self.wheel_track / 2)) / self.wheel_radius wheel_right_speed = (angular * (self.wheel_track / 2)) / self.wheel_radius self.wheel_speeds = [wheel_left_speed, wheel_right_speed] * 2 class DriverDifferential(DriverBase): def set_motors(self, linear, angular): wheel_left_speed = (linear - angular * (self.wheel_track / 2)) / self.wheel_radius wheel_right_speed = (linear + angular * (self.wheel_track / 2)) / self.wheel_radius self.wheel_speeds = [wheel_left_speed, wheel_right_speed] * 2
class Driverbase(object): def __init__(self, wheel_radius=0.06, wheel_track=0.33): self.wheel_speeds = [0.0, 0.0, 0.0, 0.0] self.wheel_radius = wheel_radius self.wheel_track = wheel_track def set_motors(self, linear, angular): raise not_implemented_error() class Driverstraight(DriverBase): def set_motors(self, linear, angular): if abs(linear) >= abs(angular): wheel_speed = linear / self.wheel_radius self.wheel_speeds = [wheel_speed] * 4 else: wheel_left_speed = -angular * (self.wheel_track / 2) / self.wheel_radius wheel_right_speed = angular * (self.wheel_track / 2) / self.wheel_radius self.wheel_speeds = [wheel_left_speed, wheel_right_speed] * 2 class Driverdifferential(DriverBase): def set_motors(self, linear, angular): wheel_left_speed = (linear - angular * (self.wheel_track / 2)) / self.wheel_radius wheel_right_speed = (linear + angular * (self.wheel_track / 2)) / self.wheel_radius self.wheel_speeds = [wheel_left_speed, wheel_right_speed] * 2
# -*- coding: utf-8 -*- # # Custom package settings # # Copyright (C) # Honda Research Institute Europe GmbH # Carl-Legien-Str. 30 # 63073 Offenbach/Main # Germany # # UNPUBLISHED PROPRIETARY MATERIAL. # ALL RIGHTS RESERVED. # # name = 'ToolBOSCore' package = 'ToolBOSCore' version = '4.0' section = 'DevelopmentTools' category = 'DevelopmentTools' patchlevel = 0 maintainer = ( 'mstein', 'Marijke Stein' ) gitBranch = 'TBCORE-2231-GitLabCI' gitCommitID = '020950dfc0913a1a18b80335f25dd7b1335b0d48' gitOrigin = 'https://github.com/HRI-EU/ToolBOSCore.git' gitRelPath = '' gitOriginForCIA = '[email protected]:ToolBOS/ToolBOSCore.git' recommends = [ 'deb://git', 'sit://External/CMake/3.4', 'sit://External/git/2.18', 'sit://External/wine/3.5' ] # EOF
name = 'ToolBOSCore' package = 'ToolBOSCore' version = '4.0' section = 'DevelopmentTools' category = 'DevelopmentTools' patchlevel = 0 maintainer = ('mstein', 'Marijke Stein') git_branch = 'TBCORE-2231-GitLabCI' git_commit_id = '020950dfc0913a1a18b80335f25dd7b1335b0d48' git_origin = 'https://github.com/HRI-EU/ToolBOSCore.git' git_rel_path = '' git_origin_for_cia = '[email protected]:ToolBOS/ToolBOSCore.git' recommends = ['deb://git', 'sit://External/CMake/3.4', 'sit://External/git/2.18', 'sit://External/wine/3.5']
INSTALLED_APPS = ( 'automatica_prometheus', ) TELEGRAM_BOT_NAME = 'name_bot'
installed_apps = ('automatica_prometheus',) telegram_bot_name = 'name_bot'
#Exercise 5.2.1 def check_fermat(a,b,c,n): a = int(a) b = int(b) c = int(c) n = int(n) if n>2 and a>0 and b>0 and c>0 and a**n + b**n == c**n: print('Holy smokes, Fermat was wrong!') else: print("No, that doesn't work") #Exercise 5.2.2 def prompting_fermat(): a = int(input('Type a and hit enter\n')) b = int(input('Type b and hit enter\n')) c = int(input('Type c and hit enter\n')) n = int(input('Type n and hit enter\n')) check_fermat(a,b,c,n) prompting_fermat()
def check_fermat(a, b, c, n): a = int(a) b = int(b) c = int(c) n = int(n) if n > 2 and a > 0 and (b > 0) and (c > 0) and (a ** n + b ** n == c ** n): print('Holy smokes, Fermat was wrong!') else: print("No, that doesn't work") def prompting_fermat(): a = int(input('Type a and hit enter\n')) b = int(input('Type b and hit enter\n')) c = int(input('Type c and hit enter\n')) n = int(input('Type n and hit enter\n')) check_fermat(a, b, c, n) prompting_fermat()
a,b,c=map(int,input().split()) x,d=0,0 while x<c: d+=1 x+=a if d%7==0: x+=b print(d)
(a, b, c) = map(int, input().split()) (x, d) = (0, 0) while x < c: d += 1 x += a if d % 7 == 0: x += b print(d)
load("//csharp:csharp_grpc_compile.bzl", "csharp_grpc_compile") load("//:compile.bzl", "invoke_transitive") load("@io_bazel_rules_dotnet//dotnet:defs.bzl", "core_library") def csharp_grpc_library(**kwargs): kwargs["srcs"] = [invoke_transitive(csharp_grpc_compile, "_pb", kwargs)] kwargs["deps"] = [ "@google.protobuf//:core", "@grpc.core//:core", "@io_bazel_rules_dotnet//dotnet/stdlib.core:system.io.dll", "@system.interactive.async//:core", ] kwargs["verbose"] = None core_library(**kwargs) name = kwargs.get("name") deps = kwargs.get("deps") visibility = kwargs.get("visibility")
load('//csharp:csharp_grpc_compile.bzl', 'csharp_grpc_compile') load('//:compile.bzl', 'invoke_transitive') load('@io_bazel_rules_dotnet//dotnet:defs.bzl', 'core_library') def csharp_grpc_library(**kwargs): kwargs['srcs'] = [invoke_transitive(csharp_grpc_compile, '_pb', kwargs)] kwargs['deps'] = ['@google.protobuf//:core', '@grpc.core//:core', '@io_bazel_rules_dotnet//dotnet/stdlib.core:system.io.dll', '@system.interactive.async//:core'] kwargs['verbose'] = None core_library(**kwargs) name = kwargs.get('name') deps = kwargs.get('deps') visibility = kwargs.get('visibility')
class TrieNode: def __init__(self): self.children = [None] * 26 self.isEndOfWord = False class Trie: def __init__(self): self.root_node = self.TrieNode() def getNewNode(self): return TrieNode() def char_to_index(self, char): return ord(char) - ord('a') def add(self, msg: str): for char in range(len(str)): ordinal = self.char_to_index(char) if ordinal not in self.root_node[msg[char]]: self.root_node[msg[char]] = self.getNewNode() self.root_node = self.root_node.children[char] self.root_node.isEndOfWord = True def search(self, msg: str): char = 0 node = self.root_node for counter in range(len(msg)): ordinal = self.char_to_index(msg[counter]) if ordinal not in node.children[counter]: return False node = self.children[counter] return self.root_node.isEndOfWord # if(self.node ==) if __name__ == '__main__': data = [ 'moto', 'nokia', 'samsung', 'appple', 'google', 'facebook', 'cognizant', 'Mango', 'Papaya', 'GameOfthrone', 'Hp' ] trie = Trie() for d in data: trie.insert(d)
class Trienode: def __init__(self): self.children = [None] * 26 self.isEndOfWord = False class Trie: def __init__(self): self.root_node = self.TrieNode() def get_new_node(self): return trie_node() def char_to_index(self, char): return ord(char) - ord('a') def add(self, msg: str): for char in range(len(str)): ordinal = self.char_to_index(char) if ordinal not in self.root_node[msg[char]]: self.root_node[msg[char]] = self.getNewNode() self.root_node = self.root_node.children[char] self.root_node.isEndOfWord = True def search(self, msg: str): char = 0 node = self.root_node for counter in range(len(msg)): ordinal = self.char_to_index(msg[counter]) if ordinal not in node.children[counter]: return False node = self.children[counter] return self.root_node.isEndOfWord if __name__ == '__main__': data = ['moto', 'nokia', 'samsung', 'appple', 'google', 'facebook', 'cognizant', 'Mango', 'Papaya', 'GameOfthrone', 'Hp'] trie = trie() for d in data: trie.insert(d)
def reverseWords(string: str) -> str: words = " ".join(string.split()) words = [word for word in words.split(' ')] left, right = 0, len(words) - 1 while left < right: temp = words[left] words[left] = words[right] words[right] = temp left += 1 right -= 1 return ' '.join(words) string = " Hello World! " print(reverseWords(string))
def reverse_words(string: str) -> str: words = ' '.join(string.split()) words = [word for word in words.split(' ')] (left, right) = (0, len(words) - 1) while left < right: temp = words[left] words[left] = words[right] words[right] = temp left += 1 right -= 1 return ' '.join(words) string = ' Hello World! ' print(reverse_words(string))
bind = "0.0.0.0:5000" workers = 1 worker_class = "eventlet" reload = True
bind = '0.0.0.0:5000' workers = 1 worker_class = 'eventlet' reload = True
class Timespan: def __init__( self, days: int = 0, hours: int = 0, minutes: int = 0, seconds: int = 0, milliseconds: int = 0): conv_days = days * 3600 * 24 * 1000 conv_hours = hours * 3600000 conv_minutes = minutes * 60000 conv_seconds = seconds * 1000 self._time = conv_days + conv_hours + conv_minutes + conv_seconds + milliseconds @property def milliseconds(self) -> int: return self._time @property def seconds(self) -> int: return int(self._time / 1000) @property def minutes(self) -> int: return int(self._time / 60000) @property def hours(self) -> int: return int(self._time / 3600000) @property def days(self) -> int: return int(self._time / (3600 * 24 * 1000)) @classmethod def from_days(cls, days: int): return cls(days=days) @classmethod def from_hours(cls, hours: int): return cls(hours=hours) @classmethod def from_minutes(cls, minutes: int): return cls(minutes=minutes) @classmethod def from_seconds(cls, seconds: int): return cls(seconds=seconds) @classmethod def from_milliseconds(cls, milliseconds: int): return cls(milliseconds=milliseconds)
class Timespan: def __init__(self, days: int=0, hours: int=0, minutes: int=0, seconds: int=0, milliseconds: int=0): conv_days = days * 3600 * 24 * 1000 conv_hours = hours * 3600000 conv_minutes = minutes * 60000 conv_seconds = seconds * 1000 self._time = conv_days + conv_hours + conv_minutes + conv_seconds + milliseconds @property def milliseconds(self) -> int: return self._time @property def seconds(self) -> int: return int(self._time / 1000) @property def minutes(self) -> int: return int(self._time / 60000) @property def hours(self) -> int: return int(self._time / 3600000) @property def days(self) -> int: return int(self._time / (3600 * 24 * 1000)) @classmethod def from_days(cls, days: int): return cls(days=days) @classmethod def from_hours(cls, hours: int): return cls(hours=hours) @classmethod def from_minutes(cls, minutes: int): return cls(minutes=minutes) @classmethod def from_seconds(cls, seconds: int): return cls(seconds=seconds) @classmethod def from_milliseconds(cls, milliseconds: int): return cls(milliseconds=milliseconds)
def merge(alist): if len(alist) > 1: mid = len(alist)//2 left = alist[:mid] right = alist[mid:] merge(left) merge(right) i,j,k = 0, 0, 0 while i<len(left) and j<len(right): if left[i]<right[j]: alist[k] = left[i] i += 1 else: alist[k] = right[j] j += 1 k += 1 while i<len(left): alist[k] = left[i] k += 1 i += 1 while j<len(right): alist[k] = right[j] k += 1 j += 1 def test_merge(): alist = [1,7,2,5,9,12,5] merge(alist) assert alist[0] == 1 assert alist[1] == 2 assert alist[6] == 12 assert alist[5] == 9
def merge(alist): if len(alist) > 1: mid = len(alist) // 2 left = alist[:mid] right = alist[mid:] merge(left) merge(right) (i, j, k) = (0, 0, 0) while i < len(left) and j < len(right): if left[i] < right[j]: alist[k] = left[i] i += 1 else: alist[k] = right[j] j += 1 k += 1 while i < len(left): alist[k] = left[i] k += 1 i += 1 while j < len(right): alist[k] = right[j] k += 1 j += 1 def test_merge(): alist = [1, 7, 2, 5, 9, 12, 5] merge(alist) assert alist[0] == 1 assert alist[1] == 2 assert alist[6] == 12 assert alist[5] == 9
class MACAddress: @staticmethod def isValid(macAddress): sanitizedMACAddress = macAddress.strip().upper() if sanitizedMACAddress == "": return False # Ensure that we have 6 sections items = sanitizedMACAddress.split(":") if len(items) != 6: return False # Ensure that every section of the MAC Address has 2 characters for section in items: if len(section) != 2: return False # Ensure that all characters is hexadecimal HEXADECIMAL_CHARS = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'] for section in items: for character in section: if character not in HEXADECIMAL_CHARS: return False return True
class Macaddress: @staticmethod def is_valid(macAddress): sanitized_mac_address = macAddress.strip().upper() if sanitizedMACAddress == '': return False items = sanitizedMACAddress.split(':') if len(items) != 6: return False for section in items: if len(section) != 2: return False hexadecimal_chars = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'] for section in items: for character in section: if character not in HEXADECIMAL_CHARS: return False return True
# GYP file to build experimental directory. { 'targets': [ { 'target_name': 'experimental', 'type': 'static_library', 'include_dirs': [ '../include/config', '../include/core', ], 'sources': [ '../experimental/SkSetPoly3To3.cpp', '../experimental/SkSetPoly3To3_A.cpp', '../experimental/SkSetPoly3To3_D.cpp', ], 'direct_dependent_settings': { 'include_dirs': [ '../experimental', ], }, }, { 'target_name': 'multipage_pdf_profiler', 'type': 'executable', 'sources': [ '../experimental/tools/multipage_pdf_profiler.cpp', '../experimental/tools/PageCachingDocument.cpp', ], 'dependencies': [ 'skia_lib.gyp:skia_lib', 'pdf.gyp:pdf', 'tools.gyp:proc_stats', 'tools.gyp:sk_tool_utils', ], }, { 'target_name': 'skp_to_pdf_md5', 'type': 'executable', 'sources': [ '../experimental/tools/skp_to_pdf_md5.cpp', '../experimental/tools/SkDmuxWStream.cpp', ], 'include_dirs': [ '../src/core', '../tools/flags', ], 'dependencies': [ 'pdf.gyp:pdf', 'skia_lib.gyp:skia_lib', 'tools.gyp:sk_tool_utils', ], }, ], }
{'targets': [{'target_name': 'experimental', 'type': 'static_library', 'include_dirs': ['../include/config', '../include/core'], 'sources': ['../experimental/SkSetPoly3To3.cpp', '../experimental/SkSetPoly3To3_A.cpp', '../experimental/SkSetPoly3To3_D.cpp'], 'direct_dependent_settings': {'include_dirs': ['../experimental']}}, {'target_name': 'multipage_pdf_profiler', 'type': 'executable', 'sources': ['../experimental/tools/multipage_pdf_profiler.cpp', '../experimental/tools/PageCachingDocument.cpp'], 'dependencies': ['skia_lib.gyp:skia_lib', 'pdf.gyp:pdf', 'tools.gyp:proc_stats', 'tools.gyp:sk_tool_utils']}, {'target_name': 'skp_to_pdf_md5', 'type': 'executable', 'sources': ['../experimental/tools/skp_to_pdf_md5.cpp', '../experimental/tools/SkDmuxWStream.cpp'], 'include_dirs': ['../src/core', '../tools/flags'], 'dependencies': ['pdf.gyp:pdf', 'skia_lib.gyp:skia_lib', 'tools.gyp:sk_tool_utils']}]}
# N stands for North # S stands for south # E stands for east # W stands for west #Oeste es West y Este es East #NoSe == NWSE North and South are opposites, so are West and East # N # | # W---+--E # | # S # L stands for Left # R stands for right # F stands for forward with open('E:\code\AoC\day12\input.txt', 'r') as input: instructions = input.read().split('\n') def degrees_to_position(action, degrees): #degrees have to be integers and action has to be string L or R if degrees == 90: if action == 'L': return 1 else: return -1 elif degrees == 180: return 2 else: # the last case is when it's 270 degrees if action == 'L': return 3 else: return -3 points = 'NWSE' facing_direction = 'E' x_dist_positive, y_dist_positive = 0, 0 x_dist_negative, y_dist_negative = 0, 0 for instruction in instructions: boat_action = instruction[0] value_action = int(instruction[1:]) if boat_action == 'N' or boat_action == 'S': if boat_action == 'N': y_dist_positive+= value_action else: y_dist_negative+= value_action elif boat_action == 'W' or boat_action == 'E': if boat_action == 'E': x_dist_positive+= value_action else: x_dist_negative+= value_action elif boat_action == 'L' or boat_action == 'R': position_index = 0 position_index = (degrees_to_position(boat_action, value_action) + \ points.find(facing_direction))%4 facing_direction = points[position_index] else: if facing_direction == 'N': y_dist_positive+= value_action elif facing_direction == 'S': y_dist_negative+= value_action elif facing_direction == 'E': x_dist_positive+= value_action elif facing_direction== 'W': x_dist_negative+= value_action print(abs(x_dist_positive-x_dist_negative)+abs(y_dist_positive-y_dist_negative))
with open('E:\\code\\AoC\\day12\\input.txt', 'r') as input: instructions = input.read().split('\n') def degrees_to_position(action, degrees): if degrees == 90: if action == 'L': return 1 else: return -1 elif degrees == 180: return 2 elif action == 'L': return 3 else: return -3 points = 'NWSE' facing_direction = 'E' (x_dist_positive, y_dist_positive) = (0, 0) (x_dist_negative, y_dist_negative) = (0, 0) for instruction in instructions: boat_action = instruction[0] value_action = int(instruction[1:]) if boat_action == 'N' or boat_action == 'S': if boat_action == 'N': y_dist_positive += value_action else: y_dist_negative += value_action elif boat_action == 'W' or boat_action == 'E': if boat_action == 'E': x_dist_positive += value_action else: x_dist_negative += value_action elif boat_action == 'L' or boat_action == 'R': position_index = 0 position_index = (degrees_to_position(boat_action, value_action) + points.find(facing_direction)) % 4 facing_direction = points[position_index] elif facing_direction == 'N': y_dist_positive += value_action elif facing_direction == 'S': y_dist_negative += value_action elif facing_direction == 'E': x_dist_positive += value_action elif facing_direction == 'W': x_dist_negative += value_action print(abs(x_dist_positive - x_dist_negative) + abs(y_dist_positive - y_dist_negative))
def divisors_count(n): count = 0 for i in range(1, n+1): if (n % i) == 0: count += 1 return count def triangulate(n): y = [int(x) for x in list(str(n))] return sum(y) triangle = 1 while divisors_count(triangle) <= 500: triangle += triangulate(triangle) print(triangle)
def divisors_count(n): count = 0 for i in range(1, n + 1): if n % i == 0: count += 1 return count def triangulate(n): y = [int(x) for x in list(str(n))] return sum(y) triangle = 1 while divisors_count(triangle) <= 500: triangle += triangulate(triangle) print(triangle)
class Solution: def countElements(self, nums: List[int]) -> int: nums.sort() k=0 for i in nums: if i+1 in nums: k=k+1 return k
class Solution: def count_elements(self, nums: List[int]) -> int: nums.sort() k = 0 for i in nums: if i + 1 in nums: k = k + 1 return k
# -*- coding: utf-8 -*- N = int(input()) answer = " ".join(["Ho"] * N) + "!" print(answer)
n = int(input()) answer = ' '.join(['Ho'] * N) + '!' print(answer)
for _ in range(int(input())): n,k=map(int,input().split()) a=bin(k)[2:] a=str(a) a=a.zfill(n) a=a[::-1] print(int(a,2))
for _ in range(int(input())): (n, k) = map(int, input().split()) a = bin(k)[2:] a = str(a) a = a.zfill(n) a = a[::-1] print(int(a, 2))
# -*- coding: utf-8 -*- ''' This module contains basic form access control classes. You can set permissions to form and fields like this:: class SampleForm(form.Form): permissions = 'rwcx' fields=[fields.Field('input', permissions='rw')] or define your own permission logic:: class SampleForm(form.Form): permissions = 'rwcx' fields=[fields.Field('input', perm_getter=UserBasedPerm({'admin': 'rw', 'user': 'r'}))] or pass form permissions to constructor:: >>> form = SampleForm(env, data, permissions='rw') To access current permissions set you can use field's :attr:`permissions` property: >>> form.get_field('input').permissions set(['r', 'w']) ''' DEFAULT_PERMISSIONS = set('rwc') class FieldPerm(object): ''' Default permission getter for Field objects Ancestor should override the :meth:`check` method. They can use field.env to get any values from outside. For example:: class RoleBased(FieldPerm): def __init__(self, role_perms): self.role_perms = role_perms def check(self, field): user = field.env.user perms = set(self.role_perms.get('*', '')) for role in user.roles: perms.update(self.role_perms.get(role, '')) return perms ''' permissions = None def __init__(self, permissions=None): if permissions is not None: self.permissions = set(permissions) def get_perms(self, obj): ''' Returns combined Environment's and object's permissions. Resulting condition is intersection of them. ''' return self.available(obj) & self.check(obj) def available(self, field): ''' Returns permissions according environment's limiting condition. Determined by object's context Allows only field's parents' permissions ''' return field.parent.permissions def check(self, field): ''' Returns permissions determined by object itself ''' if self.permissions is None: return field.parent.permissions return self.permissions def __repr__(self): return '{}({})'.format(self.__class__.__name__, str(self.permissions))
""" This module contains basic form access control classes. You can set permissions to form and fields like this:: class SampleForm(form.Form): permissions = 'rwcx' fields=[fields.Field('input', permissions='rw')] or define your own permission logic:: class SampleForm(form.Form): permissions = 'rwcx' fields=[fields.Field('input', perm_getter=UserBasedPerm({'admin': 'rw', 'user': 'r'}))] or pass form permissions to constructor:: >>> form = SampleForm(env, data, permissions='rw') To access current permissions set you can use field's :attr:`permissions` property: >>> form.get_field('input').permissions set(['r', 'w']) """ default_permissions = set('rwc') class Fieldperm(object): """ Default permission getter for Field objects Ancestor should override the :meth:`check` method. They can use field.env to get any values from outside. For example:: class RoleBased(FieldPerm): def __init__(self, role_perms): self.role_perms = role_perms def check(self, field): user = field.env.user perms = set(self.role_perms.get('*', '')) for role in user.roles: perms.update(self.role_perms.get(role, '')) return perms """ permissions = None def __init__(self, permissions=None): if permissions is not None: self.permissions = set(permissions) def get_perms(self, obj): """ Returns combined Environment's and object's permissions. Resulting condition is intersection of them. """ return self.available(obj) & self.check(obj) def available(self, field): """ Returns permissions according environment's limiting condition. Determined by object's context Allows only field's parents' permissions """ return field.parent.permissions def check(self, field): """ Returns permissions determined by object itself """ if self.permissions is None: return field.parent.permissions return self.permissions def __repr__(self): return '{}({})'.format(self.__class__.__name__, str(self.permissions))
# WAP in python to check the given year is leap or not. year=int(input("Enter Year: ")) if year % 4 == 0: if year % 100 == 0: if year % 400 == 0: print("{0} is a leap year".format(year)) else: print("{0} is not a leap year".format(year)) else: print("{0} is a leap year".format(year)) else: print("{0} is not a leap year".format(year))
year = int(input('Enter Year: ')) if year % 4 == 0: if year % 100 == 0: if year % 400 == 0: print('{0} is a leap year'.format(year)) else: print('{0} is not a leap year'.format(year)) else: print('{0} is a leap year'.format(year)) else: print('{0} is not a leap year'.format(year))
def power(n, m): if m == 0: return 1 elif m == 1: return n return (n*power(n, m-1)) print(power(2,3))
def power(n, m): if m == 0: return 1 elif m == 1: return n return n * power(n, m - 1) print(power(2, 3))
def convert_to_strsid(binsid): if len(binsid) < 24: return None dashes = int(binsid[2:4]) list_sid = ["S", "1"] range_parts = range(16, dashes*8+16, 8) list_sid.append(str(int(binsid[4:16], 16))) for i in range_parts: list_sid.append(str(int(invert_endian(binsid[i:i+8]), 16))) return "-".join(list_sid) def convert_to_binsid(strsid): if not strsid[0:8] == "S-1-5-21": return None list_strsid = strsid.split("-")[2:] list_sid = ["01", "{:02d}".format(len(list_strsid) - 1), "{:012X}".format(int(list_strsid[0]))] for n in list_strsid[1:]: list_sid.append(invert_endian("{:08X}".format(int(n)))) return "".join(list_sid) def invert_endian(number): s = "" for i in range(len(number) + 1 if len(number) % 2 == 1 else len(number), -1, -2): s += number[i:i+2] return s def print_list(l): if type(l).__name__ in ['list', 'tuple']: for r in l: print(r) elif type(l).__name__ == 'dict': for k, v in l: print(f'{k} => {v}') else: print(l)
def convert_to_strsid(binsid): if len(binsid) < 24: return None dashes = int(binsid[2:4]) list_sid = ['S', '1'] range_parts = range(16, dashes * 8 + 16, 8) list_sid.append(str(int(binsid[4:16], 16))) for i in range_parts: list_sid.append(str(int(invert_endian(binsid[i:i + 8]), 16))) return '-'.join(list_sid) def convert_to_binsid(strsid): if not strsid[0:8] == 'S-1-5-21': return None list_strsid = strsid.split('-')[2:] list_sid = ['01', '{:02d}'.format(len(list_strsid) - 1), '{:012X}'.format(int(list_strsid[0]))] for n in list_strsid[1:]: list_sid.append(invert_endian('{:08X}'.format(int(n)))) return ''.join(list_sid) def invert_endian(number): s = '' for i in range(len(number) + 1 if len(number) % 2 == 1 else len(number), -1, -2): s += number[i:i + 2] return s def print_list(l): if type(l).__name__ in ['list', 'tuple']: for r in l: print(r) elif type(l).__name__ == 'dict': for (k, v) in l: print(f'{k} => {v}') else: print(l)
# global settings data_root = "../../data/winequality_dataset/" feature_save_dir = data_root + "features/" img_save_dir = data_root + "imgs/" # split chunk settings split_chunk_path = data_root + 'chunk/' raw_train_file = dict( file_path=data_root + 'raw_data/train.csv', size=3397, split_mode=['train', 'valA', 'valB'], split_ratio=[0.6, 0.2, 0.2], chunk_size=200000, features_names=[ dict(name='quality', type='int'), dict(name='fixed acidity', type='float'), dict(name='volatile acidity', type='float'), dict(name='citric acid', type='float'), dict(name='residual sugar', type='float'), dict(name='chlorides', type='float'), dict(name='free sulfur dioxide', type='float'), dict(name='total sulfur dioxide', type='float'), dict(name='density', type='float'), dict(name='pH', type='float'), dict(name='sulphates', type='float'), dict(name='alcohol', type='float'), ] ) raw_test_file = dict( file_path=data_root + 'raw_data/test.csv', size=1500, split_mode=['test'], split_ratio=[1.0], chunk_size=200000, features_names=[ dict(name='fixed acidity', type='float'), dict(name='volatile acidity', type='float'), dict(name='citric acid', type='float'), dict(name='residual sugar', type='float'), dict(name='chlorides', type='float'), dict(name='free sulfur dioxide', type='float'), dict(name='total sulfur dioxide', type='float'), dict(name='density', type='float'), dict(name='pH', type='float'), dict(name='sulphates', type='float'), dict(name='alcohol', type='float'), ] ) other_train_files = [] # features settings feature_mode = ['train'] target_name = 'quality' id_name = 'id' feature_dict_file = feature_save_dir + "feature_dict_train.json" draw_feature = True style = 'darkgrid' # train settings train_type = 'Regressor' work_dirs = "./work_dirs/" dataset_name = "alcohol" balanced_data = False normalization = 'none' # global, local, none random_state = 666 train_mode = ['train', 'valA', 'valB'] val_mode = ['valA', 'valB'] train_models = [ dict(name='ABT', random_state=random_state, params=dict()), dict(name='RF', random_state=random_state, params=dict()), dict(name='XGB', random_state=random_state, params=dict()), dict(name='GBT', random_state=random_state, params=dict()), dict(name='LGB', random_state=random_state, params=dict()), dict(name='DT', random_state=random_state, params=dict()), dict(name='ET', random_state=random_state, params=dict()), dict(name='KNN', random_state=random_state, params=None), dict(name='LR', random_state=random_state, params=dict()), # dict(name='GNB', random_state=random_state, params=dict()), # dict(name='SVM', random_state=random_state, params=dict()), ]
data_root = '../../data/winequality_dataset/' feature_save_dir = data_root + 'features/' img_save_dir = data_root + 'imgs/' split_chunk_path = data_root + 'chunk/' raw_train_file = dict(file_path=data_root + 'raw_data/train.csv', size=3397, split_mode=['train', 'valA', 'valB'], split_ratio=[0.6, 0.2, 0.2], chunk_size=200000, features_names=[dict(name='quality', type='int'), dict(name='fixed acidity', type='float'), dict(name='volatile acidity', type='float'), dict(name='citric acid', type='float'), dict(name='residual sugar', type='float'), dict(name='chlorides', type='float'), dict(name='free sulfur dioxide', type='float'), dict(name='total sulfur dioxide', type='float'), dict(name='density', type='float'), dict(name='pH', type='float'), dict(name='sulphates', type='float'), dict(name='alcohol', type='float')]) raw_test_file = dict(file_path=data_root + 'raw_data/test.csv', size=1500, split_mode=['test'], split_ratio=[1.0], chunk_size=200000, features_names=[dict(name='fixed acidity', type='float'), dict(name='volatile acidity', type='float'), dict(name='citric acid', type='float'), dict(name='residual sugar', type='float'), dict(name='chlorides', type='float'), dict(name='free sulfur dioxide', type='float'), dict(name='total sulfur dioxide', type='float'), dict(name='density', type='float'), dict(name='pH', type='float'), dict(name='sulphates', type='float'), dict(name='alcohol', type='float')]) other_train_files = [] feature_mode = ['train'] target_name = 'quality' id_name = 'id' feature_dict_file = feature_save_dir + 'feature_dict_train.json' draw_feature = True style = 'darkgrid' train_type = 'Regressor' work_dirs = './work_dirs/' dataset_name = 'alcohol' balanced_data = False normalization = 'none' random_state = 666 train_mode = ['train', 'valA', 'valB'] val_mode = ['valA', 'valB'] train_models = [dict(name='ABT', random_state=random_state, params=dict()), dict(name='RF', random_state=random_state, params=dict()), dict(name='XGB', random_state=random_state, params=dict()), dict(name='GBT', random_state=random_state, params=dict()), dict(name='LGB', random_state=random_state, params=dict()), dict(name='DT', random_state=random_state, params=dict()), dict(name='ET', random_state=random_state, params=dict()), dict(name='KNN', random_state=random_state, params=None), dict(name='LR', random_state=random_state, params=dict())]
Import("env") src_filter = ["+<TRB_MCP23017.h>"] env.Replace(SRC_FILTER=src_filter) build_flags = env.ParseFlags(env['BUILD_FLAGS']) cppdefines = build_flags.get("CPPDEFINES") if "TRB_MCP23017_ESP_IDF" in cppdefines: env.Append(SRC_FILTER=["+<TRB_MCP23017.c>", "+<sys/esp_idf>"]) if "TRB_MCP23017_ARDUINO_WIRE" in cppdefines: env.Append(SRC_FILTER=["+<TRB_MCP23017.cpp>", "+<sys/arduino_wire>"]) if "TRB_MCP23017_ARDUINO_BRZO" in cppdefines: env.Append(SRC_FILTER=["+<TRB_MCP23017.cpp>", "+<sys/arduino_brzo>"])
import('env') src_filter = ['+<TRB_MCP23017.h>'] env.Replace(SRC_FILTER=src_filter) build_flags = env.ParseFlags(env['BUILD_FLAGS']) cppdefines = build_flags.get('CPPDEFINES') if 'TRB_MCP23017_ESP_IDF' in cppdefines: env.Append(SRC_FILTER=['+<TRB_MCP23017.c>', '+<sys/esp_idf>']) if 'TRB_MCP23017_ARDUINO_WIRE' in cppdefines: env.Append(SRC_FILTER=['+<TRB_MCP23017.cpp>', '+<sys/arduino_wire>']) if 'TRB_MCP23017_ARDUINO_BRZO' in cppdefines: env.Append(SRC_FILTER=['+<TRB_MCP23017.cpp>', '+<sys/arduino_brzo>'])
SEQUENCE_FILE = "data\\test_action_20_maxSeq15_20K.txt" CRASH_INDEX = "1" # SEQUENCE_FILE = "data\\activityseq_balanced_2018-02-05_2018-02-09_Excel_apphangb1_Production.tsv" # SEQUENCE_FILE = r"C:\Users\mahajiag\Documents\tmp\crash\eventseq_balanced_2018-02-05_2018-02-09_Excel_apphangb1_Production.tsv" ROOT_DIR = 'tfboard' ACTIONS_TO_BE_FILTERED = [''] # configs = { 'batchSize' : 512, # 'maxSeqSize': 40, # 'testSplit': .5, # 'embeddingSize': None, # 'epochs': 400, # 'dedup': 0, # 'conv1D':0, # 'lstmSize': None, # 'testFlag': False, # 'p2nRatio':1, # 'networkType':"bidirectional"} configs = { 'batchSize' : 512, 'maxSeqSize': 17, 'testSplit': .5, 'embeddingSize': None, 'epochs': 250, 'dedup': 1, 'conv1D':0, 'lstmSize': None, 'testFlag': True, 'p2nRatio':1, 'networkType':"bidirectional" } classWeights = {0: .5, 1: .5}
sequence_file = 'data\\test_action_20_maxSeq15_20K.txt' crash_index = '1' root_dir = 'tfboard' actions_to_be_filtered = [''] configs = {'batchSize': 512, 'maxSeqSize': 17, 'testSplit': 0.5, 'embeddingSize': None, 'epochs': 250, 'dedup': 1, 'conv1D': 0, 'lstmSize': None, 'testFlag': True, 'p2nRatio': 1, 'networkType': 'bidirectional'} class_weights = {0: 0.5, 1: 0.5}
major_colors = ["White", "Red", "Black", "Yellow", "Violet"] minor_colors = ["Blue", "Orange", "Green", "Brown", "Slate"] def color_mapping(): cp_rows = [] for i, major_color in enumerate(major_colors): for j, minor_color in enumerate(minor_colors): print_color_map((i * 5 + j)+1 , major_color, minor_color) cp_rows.append(f'{(i * 5 + j)+1} | {major_color} | {minor_color}') return len(major_colors) * len(minor_colors), cp_rows def print_color_map(pair_number, major_color, minor_color): print(f'{pair_number} | {major_color} | {minor_color}') result, cp_rows = color_mapping() assert (cp_rows[3] == '4 | White | Brown') assert (cp_rows[7] == '8 | Red | Green') assert (cp_rows[23] == '24 | Violet | Brown') print("All is well (maybe!)\n")
major_colors = ['White', 'Red', 'Black', 'Yellow', 'Violet'] minor_colors = ['Blue', 'Orange', 'Green', 'Brown', 'Slate'] def color_mapping(): cp_rows = [] for (i, major_color) in enumerate(major_colors): for (j, minor_color) in enumerate(minor_colors): print_color_map(i * 5 + j + 1, major_color, minor_color) cp_rows.append(f'{i * 5 + j + 1} | {major_color} | {minor_color}') return (len(major_colors) * len(minor_colors), cp_rows) def print_color_map(pair_number, major_color, minor_color): print(f'{pair_number} | {major_color} | {minor_color}') (result, cp_rows) = color_mapping() assert cp_rows[3] == '4 | White | Brown' assert cp_rows[7] == '8 | Red | Green' assert cp_rows[23] == '24 | Violet | Brown' print('All is well (maybe!)\n')
''' Nd Genie Ops Object Outputs for IOSXR. ''' class NdOutput(object): ShowIpv6Neighbors = { 'interfaces': { 'GigabitEthernet0/0/0/0.90': { 'interface': 'Gi0/0/0/0.90', 'neighbors': { 'fe80::f816:3eff:fe26:1224': { 'age': '131', 'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, }, }, 'GigabitEthernet0/0/0/1.90': { 'interface': 'Gi0/0/0/1.90', 'neighbors': { 'fe80::5c00:40ff:fe02:7': { 'age': '144', 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, }, }, 'GigabitEthernet0/0/0/0.110': { 'interface': 'Gi0/0/0/0.110', 'neighbors': { 'fe80::f816:3eff:fe26:1224': { 'age': '99', 'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, }, }, 'GigabitEthernet0/0/0/0.115': { 'interface': 'Gi0/0/0/0.115', 'neighbors': { 'fe80::f816:3eff:fe26:1224': { 'age': '46', 'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, }, }, 'GigabitEthernet0/0/0/0.120': { 'interface': 'Gi0/0/0/0.120', 'neighbors': { 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, }, }, 'GigabitEthernet0/0/0/0.390': { 'interface': 'Gi0/0/0/0.390', 'neighbors': { 'fe80::f816:3eff:fe26:1224': { 'age': '137', 'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, }, }, 'GigabitEthernet0/0/0/0.410': { 'interface': 'Gi0/0/0/0.410', 'neighbors': { 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, }, }, 'GigabitEthernet0/0/0/0.415': { 'interface': 'Gi0/0/0/0.415', 'neighbors': { 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, }, }, 'GigabitEthernet0/0/0/0.420': { 'interface': 'Gi0/0/0/0.420', 'neighbors': { 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, }, }, 'GigabitEthernet0/0/0/1.110': { 'interface': 'Gi0/0/0/1.110', 'neighbors': { 'fe80::5c00:40ff:fe02:7': { 'age': '167', 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, }, }, 'GigabitEthernet0/0/0/1.115': { 'interface': 'Gi0/0/0/1.115', 'neighbors': { 'fe80::5c00:40ff:fe02:7': { 'age': '137', 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, }, }, 'GigabitEthernet0/0/0/1.120': { 'interface': 'Gi0/0/0/1.120', 'neighbors': { 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, }, }, 'GigabitEthernet0/0/0/1.390': { 'interface': 'Gi0/0/0/1.390', 'neighbors': { 'fe80::5c00:40ff:fe02:7': { 'age': '101', 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, }, }, 'GigabitEthernet0/0/0/1.410': { 'interface': 'Gi0/0/0/1.410', 'neighbors': { 'fe80::5c00:40ff:fe02:7': { 'age': '121', 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, }, }, 'GigabitEthernet0/0/0/1.415': { 'interface': 'Gi0/0/0/1.415', 'neighbors': { 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, }, }, 'GigabitEthernet0/0/0/1.420': { 'interface': 'Gi0/0/0/1.420', 'neighbors': { 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', }, }, }, }, } ShowIpv6NeighborsDetail = { 'interfaces': { 'GigabitEthernet0/0/0/0.90': { 'interface': 'Gi0/0/0/0.90', 'neighbors': { 'fe80::f816:3eff:fe26:1224': { 'age': '138', 'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': 'Y', 'sync': '-', 'serg_flags': 'ff', 'origin': 'dynamic', }, 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/1.90': { 'interface': 'Gi0/0/0/1.90', 'neighbors': { 'fe80::5c00:40ff:fe02:7': { 'age': '151', 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': 'Y', 'sync': '-', 'serg_flags': 'ff', 'origin': 'dynamic', }, 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/0.110': { 'interface': 'Gi0/0/0/0.110', 'neighbors': { 'fe80::f816:3eff:fe26:1224': { 'age': '114', 'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': 'Y', 'sync': '-', 'serg_flags': 'ff', 'origin': 'dynamic', }, 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/0.115': { 'interface': 'Gi0/0/0/0.115', 'neighbors': { 'fe80::f816:3eff:fe26:1224': { 'age': '69', 'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': 'Y', 'sync': '-', 'serg_flags': 'ff', 'origin': 'dynamic', }, 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/0.120': { 'interface': 'Gi0/0/0/0.120', 'neighbors': { 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/0.390': { 'interface': 'Gi0/0/0/0.390', 'neighbors': { 'fe80::f816:3eff:fe26:1224': { 'age': '151', 'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': 'Y', 'sync': '-', 'serg_flags': 'ff', 'origin': 'dynamic', }, 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/0.410': { 'interface': 'Gi0/0/0/0.410', 'neighbors': { 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/0.415': { 'interface': 'Gi0/0/0/0.415', 'neighbors': { 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/0.420': { 'interface': 'Gi0/0/0/0.420', 'neighbors': { 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/1.110': { 'interface': 'Gi0/0/0/1.110', 'neighbors': { 'fe80::5c00:40ff:fe02:7': { 'age': '17', 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': 'Y', 'sync': '-', 'serg_flags': 'ff', 'origin': 'dynamic', }, 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/1.115': { 'interface': 'Gi0/0/0/1.115', 'neighbors': { 'fe80::5c00:40ff:fe02:7': { 'age': '165', 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': 'Y', 'sync': '-', 'serg_flags': 'ff', 'origin': 'dynamic', }, 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/1.120': { 'interface': 'Gi0/0/0/1.120', 'neighbors': { 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/1.390': { 'interface': 'Gi0/0/0/1.390', 'neighbors': { 'fe80::5c00:40ff:fe02:7': { 'age': '100', 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': 'Y', 'sync': '-', 'serg_flags': 'ff', 'origin': 'dynamic', }, 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/1.410': { 'interface': 'Gi0/0/0/1.410', 'neighbors': { 'fe80::5c00:40ff:fe02:7': { 'age': '125', 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': 'Y', 'sync': '-', 'serg_flags': 'ff', 'origin': 'dynamic', }, 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/1.415': { 'interface': 'Gi0/0/0/1.415', 'neighbors': { 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/1.420': { 'interface': 'Gi0/0/0/1.420', 'neighbors': { 'Mcast adjacency': { 'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other', }, }, }, }, } ShowIpv6VrfAllInterface = { 'Bundle-Ether12': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': False, }, 'Bundle-Ether23': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': False, }, 'Loopback0': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': True, 'ipv6': { '2001:2:2:2::2/128': { 'ipv6': '2001:2:2:2::2', 'ipv6_prefix_length': '128', 'ipv6_subnet': '2001:2:2:2::2', }, 'ipv6_link_local': 'fe80::8152:bfff:fed0:fbb5', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ffd0:fbb5', 'ff02::2', 'ff02::1', 'ff02::16', 'ff02::d'], 'ipv6_mtu': '1500', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'nd_dad': 'disabled', 'dad_attempts': '0', 'nd_reachable_time': '0', 'nd_cache_limit': '0', 'nd_adv_retrans_int': '0', 'stateless_autoconfig': True, 'table_id': '0xe0800000', 'complete_protocol_adj': '0', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0', }, }, 'Loopback300': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'VRF1', 'vrf_id': '0x60000001', 'enabled': True, 'ipv6': { '2001:2:2:2::2/128': { 'ipv6': '2001:2:2:2::2', 'ipv6_prefix_length': '128', 'ipv6_subnet': '2001:2:2:2::2', }, 'ipv6_link_local': 'fe80::8152:bfff:fed0:fbb5', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ffd0:fbb5', 'ff02::2', 'ff02::1', 'ff02::16', 'ff02::d'], 'ipv6_mtu': '1500', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'nd_dad': 'disabled', 'dad_attempts': '0', 'nd_reachable_time': '0', 'nd_cache_limit': '0', 'nd_adv_retrans_int': '0', 'stateless_autoconfig': True, 'table_id': '0xe0800001', 'complete_protocol_adj': '0', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0', }, }, 'MgmtEth0/RP0/CPU0/0': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'management', 'vrf_id': '0x60000002', 'enabled': False, }, 'GigabitEthernet0/0/0/0': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': False, }, 'GigabitEthernet0/0/0/0.90': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': True, 'ipv6': { '2001:10:12:90::2/64': { 'ipv6': '2001:10:12:90::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:12:90::', }, 'ipv6_link_local': 'fe80::f816:3eff:fe0f:b2ec', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff0f:b2ec', 'ff02::2', 'ff02::1', 'ff02::a'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'stateless_autoconfig': True, 'table_id': '0xe0800000', 'complete_protocol_adj': '0', 'complete_glean_adj': '1', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0', 'nd_suppress': True, }, }, 'GigabitEthernet0/0/0/0.110': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': True, 'ipv6': { '2001:10:12:110::2/64': { 'ipv6': '2001:10:12:110::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:12:110::', }, 'ipv6_link_local': 'fe80::f816:3eff:fe0f:b2ec', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff0f:b2ec', 'ff02::2', 'ff02::1', 'ff02::16', 'ff02::5', 'ff02::6', 'ff02::d'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800000', 'complete_protocol_adj': '1', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0', }, }, 'GigabitEthernet0/0/0/0.115': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': True, 'ipv6': { '2001:10:12:115::2/64': { 'ipv6': '2001:10:12:115::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:12:115::', }, 'ipv6_link_local': 'fe80::f816:3eff:fe0f:b2ec', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff0f:b2ec', 'ff02::2', 'ff02::1', 'ff1e:abcd:def1:2222::1', 'ff1e:abcd:def1:2222::2'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800000', 'complete_protocol_adj': '1', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0', }, }, 'GigabitEthernet0/0/0/0.120': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': True, 'ipv6': { '2001:10:12:120::2/64': { 'ipv6': '2001:10:12:120::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:12:120::', }, 'ipv6_link_local': 'fe80::f816:3eff:fe0f:b2ec', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff0f:b2ec', 'ff02::2', 'ff02::1'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800000', 'complete_protocol_adj': '0', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0', }, }, 'GigabitEthernet0/0/0/0.390': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'VRF1', 'vrf_id': '0x60000001', 'enabled': True, 'ipv6': { '2001:10:12:90::2/64': { 'ipv6': '2001:10:12:90::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:12:90::', }, 'ipv6_link_local': 'fe80::f816:3eff:fe0f:b2ec', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff0f:b2ec', 'ff02::2', 'ff02::1', 'ff02::a'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800001', 'complete_protocol_adj': '1', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0', }, }, 'GigabitEthernet0/0/0/0.410': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'VRF1', 'vrf_id': '0x60000001', 'enabled': True, 'ipv6': { '2001:10:12:110::2/64': { 'ipv6': '2001:10:12:110::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:12:110::', }, 'ipv6_link_local': 'fe80::f816:3eff:fe0f:b2ec', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff0f:b2ec', 'ff02::2', 'ff02::1', 'ff02::16', 'ff02::5', 'ff02::6', 'ff02::d'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800001', 'complete_protocol_adj': '0', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0', }, }, 'GigabitEthernet0/0/0/0.415': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'VRF1', 'vrf_id': '0x60000001', 'enabled': True, 'ipv6': { '2001:10:12:115::2/64': { 'ipv6': '2001:10:12:115::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:12:115::', }, 'ipv6_link_local': 'fe80::f816:3eff:fe0f:b2ec', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff0f:b2ec', 'ff02::2', 'ff02::1', 'ff1e:abcd:def1:2222::1', 'ff1e:abcd:def1:2222::2'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800001', 'complete_protocol_adj': '0', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0', }, }, 'GigabitEthernet0/0/0/0.420': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'VRF1', 'vrf_id': '0x60000001', 'enabled': True, 'ipv6': { '2001:10:12:120::2/64': { 'ipv6': '2001:10:12:120::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:12:120::', }, 'ipv6_link_local': 'fe80::f816:3eff:fe0f:b2ec', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff0f:b2ec', 'ff02::2', 'ff02::1'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800001', 'complete_protocol_adj': '0', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0', }, }, 'GigabitEthernet0/0/0/1': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': False, }, 'GigabitEthernet0/0/0/1.90': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': True, 'ipv6': { '2001:10:23:90::2/64': { 'ipv6': '2001:10:23:90::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:23:90::', }, 'ipv6_link_local': 'fe80::f816:3eff:fe59:8f2e', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff59:8f2e', 'ff02::2', 'ff02::1', 'ff02::a'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800000', 'complete_protocol_adj': '1', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0', }, }, 'GigabitEthernet0/0/0/1.110': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': True, 'ipv6': { '2001:10:23:110::2/64': { 'ipv6': '2001:10:23:110::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:23:110::', }, 'ipv6_link_local': 'fe80::f816:3eff:fe59:8f2e', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff59:8f2e', 'ff02::2', 'ff02::1', 'ff02::16', 'ff02::5', 'ff02::6', 'ff02::d'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800000', 'complete_protocol_adj': '1', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0', }, }, 'GigabitEthernet0/0/0/1.115': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': True, 'ipv6': { '2001:10:23:115::2/64': { 'ipv6': '2001:10:23:115::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:23:115::', }, 'ipv6_link_local': 'fe80::f816:3eff:fe59:8f2e', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff59:8f2e', 'ff02::2', 'ff02::1'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800000', 'complete_protocol_adj': '1', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0', }, }, 'GigabitEthernet0/0/0/1.120': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': True, 'ipv6': { '2001:10:23:120::2/64': { 'ipv6': '2001:10:23:120::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:23:120::', }, 'ipv6_link_local': 'fe80::f816:3eff:fe59:8f2e', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff59:8f2e', 'ff02::2', 'ff02::1'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800000', 'complete_protocol_adj': '0', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0', }, }, 'GigabitEthernet0/0/0/1.390': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'VRF1', 'vrf_id': '0x60000001', 'enabled': True, 'ipv6': { '2001:10:23:90::2/64': { 'ipv6': '2001:10:23:90::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:23:90::', }, 'ipv6_link_local': 'fe80::f816:3eff:fe59:8f2e', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff59:8f2e', 'ff02::2', 'ff02::1', 'ff02::a'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800001', 'complete_protocol_adj': '0', 'complete_glean_adj': '1', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0', }, }, 'GigabitEthernet0/0/0/1.410': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'VRF1', 'vrf_id': '0x60000001', 'enabled': True, 'ipv6': { '2001:10:23:110::2/64': { 'ipv6': '2001:10:23:110::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:23:110::', }, 'ipv6_link_local': 'fe80::f816:3eff:fe59:8f2e', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff59:8f2e', 'ff02::2', 'ff02::1', 'ff02::16', 'ff02::5', 'ff02::6', 'ff02::d'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800001', 'complete_protocol_adj': '0', 'complete_glean_adj': '1', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0', }, }, 'GigabitEthernet0/0/0/1.415': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'VRF1', 'vrf_id': '0x60000001', 'enabled': True, 'ipv6': { '2001:10:23:115::2/64': { 'ipv6': '2001:10:23:115::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:23:115::', }, 'ipv6_link_local': 'fe80::f816:3eff:fe59:8f2e', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff59:8f2e', 'ff02::2', 'ff02::1'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800001', 'complete_protocol_adj': '0', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0', }, }, 'GigabitEthernet0/0/0/1.420': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'VRF1', 'vrf_id': '0x60000001', 'enabled': True, 'ipv6': { '2001:10:23:120::2/64': { 'ipv6': '2001:10:23:120::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:23:120::', }, 'ipv6_link_local': 'fe80::f816:3eff:fe59:8f2e', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff59:8f2e', 'ff02::2', 'ff02::1'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800001', 'complete_protocol_adj': '0', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0', }, }, 'GigabitEthernet0/0/0/2': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': False, }, 'GigabitEthernet0/0/0/3': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': False, }, 'GigabitEthernet0/0/0/4': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': False, }, 'GigabitEthernet0/0/0/5': { 'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': False, }, } ShowRunInterface = '''\ interface Bundle-Ether12 ! interface Loopback0 ipv4 address 10.16.2.2 255.255.255.255 ipv6 address 2001:2:2:2::2/128 ! interface MgmtEth0/RP0/CPU0/0 vrf management ipv4 address 172.16.1.52 255.255.255.0 ! interface GigabitEthernet0/0/0/0 cdp ! interface GigabitEthernet0/0/0/0.90 ipv4 address 10.12.90.2 255.255.255.0 ipv6 nd ra-lifetime 2000 ipv6 nd suppress-ra ipv6 address 2001:10:12:90::2/64 encapsulation dot1q 90 ! interface GigabitEthernet0/0/0/0.110 ipv4 address 10.12.110.2 255.255.255.0 ipv6 address 2001:10:12:110::2/64 encapsulation dot1q 110 ! ''' ndOpsOutput = { 'interfaces': { 'GigabitEthernet0/0/0/1.420': { 'interface': 'Gi0/0/0/1.420', 'router_advertisement': { 'interval': '160-240', 'lifetime': '1800', }, 'neighbors': { 'Mcast adjacency': { 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/1.415': { 'interface': 'Gi0/0/0/1.415', 'router_advertisement': { 'interval': '160-240', 'lifetime': '1800', }, 'neighbors': { 'Mcast adjacency': { 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/1.410': { 'interface': 'Gi0/0/0/1.410', 'router_advertisement': { 'interval': '160-240', 'lifetime': '1800', }, 'neighbors': { 'Mcast adjacency': { 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other', }, 'fe80::5c00:40ff:fe02:7': { 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'age': '125', 'origin': 'dynamic', }, }, }, 'GigabitEthernet0/0/0/1.390': { 'interface': 'Gi0/0/0/1.390', 'router_advertisement': { 'interval': '160-240', 'lifetime': '1800', }, 'neighbors': { 'Mcast adjacency': { 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other', }, 'fe80::5c00:40ff:fe02:7': { 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'age': '100', 'origin': 'dynamic', }, }, }, 'GigabitEthernet0/0/0/1.120': { 'interface': 'Gi0/0/0/1.120', 'router_advertisement': { 'interval': '160-240', 'lifetime': '1800', }, 'neighbors': { 'Mcast adjacency': { 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/1.115': { 'interface': 'Gi0/0/0/1.115', 'router_advertisement': { 'interval': '160-240', 'lifetime': '1800', }, 'neighbors': { 'Mcast adjacency': { 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other', }, 'fe80::5c00:40ff:fe02:7': { 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'age': '165', 'origin': 'dynamic', }, }, }, 'GigabitEthernet0/0/0/1.110': { 'interface': 'Gi0/0/0/1.110', 'router_advertisement': { 'interval': '160-240', 'lifetime': '1800', }, 'neighbors': { 'Mcast adjacency': { 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other', }, 'fe80::5c00:40ff:fe02:7': { 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'age': '17', 'origin': 'dynamic', }, }, }, 'GigabitEthernet0/0/0/0.420': { 'interface': 'Gi0/0/0/0.420', 'router_advertisement': { 'interval': '160-240', 'lifetime': '1800', }, 'neighbors': { 'Mcast adjacency': { 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/0.415': { 'interface': 'Gi0/0/0/0.415', 'router_advertisement': { 'interval': '160-240', 'lifetime': '1800', }, 'neighbors': { 'Mcast adjacency': { 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/0.410': { 'interface': 'Gi0/0/0/0.410', 'router_advertisement': { 'interval': '160-240', 'lifetime': '1800', }, 'neighbors': { 'Mcast adjacency': { 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/0.390': { 'interface': 'Gi0/0/0/0.390', 'router_advertisement': { 'interval': '160-240', 'lifetime': '1800', }, 'neighbors': { 'Mcast adjacency': { 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other', }, 'fe80::f816:3eff:fe26:1224': { 'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'age': '151', 'origin': 'dynamic', }, }, }, 'GigabitEthernet0/0/0/0.120': { 'interface': 'Gi0/0/0/0.120', 'router_advertisement': { 'interval': '160-240', 'lifetime': '1800', }, 'neighbors': { 'Mcast adjacency': { 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other', }, }, }, 'GigabitEthernet0/0/0/0.115': { 'interface': 'Gi0/0/0/0.115', 'router_advertisement': { 'interval': '160-240', 'lifetime': '1800', }, 'neighbors': { 'Mcast adjacency': { 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other', }, 'fe80::f816:3eff:fe26:1224': { 'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'age': '69', 'origin': 'dynamic', }, }, }, 'GigabitEthernet0/0/0/0.110': { 'interface': 'Gi0/0/0/0.110', 'router_advertisement': { 'interval': '160-240', 'lifetime': '1800', }, 'neighbors': { 'Mcast adjacency': { 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other', }, 'fe80::f816:3eff:fe26:1224': { 'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'age': '114', 'origin': 'dynamic', }, }, }, 'GigabitEthernet0/0/0/1.90': { 'interface': 'Gi0/0/0/1.90', 'router_advertisement': { 'interval': '160-240', 'lifetime': '1800', }, 'neighbors': { 'Mcast adjacency': { 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other', }, 'fe80::5c00:40ff:fe02:7': { 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'age': '151', 'origin': 'dynamic', }, }, }, 'GigabitEthernet0/0/0/0.90': { 'interface': 'Gi0/0/0/0.90', 'router_advertisement': { 'suppress': True, }, 'neighbors': { 'Mcast adjacency': { 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other', }, 'fe80::f816:3eff:fe26:1224': { 'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'age': '138', 'origin': 'dynamic', }, }, }, }, } ShowRunInterface_custom = '''\ interface GigabitEthernet0/0/0/0.390 vrf VRF1 ipv4 address 10.12.90.2 255.255.255.0 ipv6 address 2001:10:12:90::2/64 encapsulation dot1q 390 ! ''' ndOpsOutput_custom = { 'interfaces': { 'GigabitEthernet0/0/0/0.390': { 'interface': 'Gi0/0/0/0.390', 'router_advertisement': { 'interval': '160-240', 'lifetime': '1800', }, 'neighbors': { 'Mcast adjacency': { 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other', }, 'fe80::f816:3eff:fe26:1224': { 'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'age': '151', 'origin': 'dynamic', }, }, }, }, }
""" Nd Genie Ops Object Outputs for IOSXR. """ class Ndoutput(object): show_ipv6_neighbors = {'interfaces': {'GigabitEthernet0/0/0/0.90': {'interface': 'Gi0/0/0/0.90', 'neighbors': {'fe80::f816:3eff:fe26:1224': {'age': '131', 'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}, 'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}}}, 'GigabitEthernet0/0/0/1.90': {'interface': 'Gi0/0/0/1.90', 'neighbors': {'fe80::5c00:40ff:fe02:7': {'age': '144', 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}, 'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}}}, 'GigabitEthernet0/0/0/0.110': {'interface': 'Gi0/0/0/0.110', 'neighbors': {'fe80::f816:3eff:fe26:1224': {'age': '99', 'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}, 'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}}}, 'GigabitEthernet0/0/0/0.115': {'interface': 'Gi0/0/0/0.115', 'neighbors': {'fe80::f816:3eff:fe26:1224': {'age': '46', 'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}, 'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}}}, 'GigabitEthernet0/0/0/0.120': {'interface': 'Gi0/0/0/0.120', 'neighbors': {'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}}}, 'GigabitEthernet0/0/0/0.390': {'interface': 'Gi0/0/0/0.390', 'neighbors': {'fe80::f816:3eff:fe26:1224': {'age': '137', 'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}, 'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}}}, 'GigabitEthernet0/0/0/0.410': {'interface': 'Gi0/0/0/0.410', 'neighbors': {'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}}}, 'GigabitEthernet0/0/0/0.415': {'interface': 'Gi0/0/0/0.415', 'neighbors': {'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}}}, 'GigabitEthernet0/0/0/0.420': {'interface': 'Gi0/0/0/0.420', 'neighbors': {'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}}}, 'GigabitEthernet0/0/0/1.110': {'interface': 'Gi0/0/0/1.110', 'neighbors': {'fe80::5c00:40ff:fe02:7': {'age': '167', 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}, 'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}}}, 'GigabitEthernet0/0/0/1.115': {'interface': 'Gi0/0/0/1.115', 'neighbors': {'fe80::5c00:40ff:fe02:7': {'age': '137', 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}, 'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}}}, 'GigabitEthernet0/0/0/1.120': {'interface': 'Gi0/0/0/1.120', 'neighbors': {'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}}}, 'GigabitEthernet0/0/0/1.390': {'interface': 'Gi0/0/0/1.390', 'neighbors': {'fe80::5c00:40ff:fe02:7': {'age': '101', 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}, 'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}}}, 'GigabitEthernet0/0/0/1.410': {'interface': 'Gi0/0/0/1.410', 'neighbors': {'fe80::5c00:40ff:fe02:7': {'age': '121', 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}, 'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}}}, 'GigabitEthernet0/0/0/1.415': {'interface': 'Gi0/0/0/1.415', 'neighbors': {'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}}}, 'GigabitEthernet0/0/0/1.420': {'interface': 'Gi0/0/0/1.420', 'neighbors': {'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0'}}}}} show_ipv6_neighbors_detail = {'interfaces': {'GigabitEthernet0/0/0/0.90': {'interface': 'Gi0/0/0/0.90', 'neighbors': {'fe80::f816:3eff:fe26:1224': {'age': '138', 'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': 'Y', 'sync': '-', 'serg_flags': 'ff', 'origin': 'dynamic'}, 'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/1.90': {'interface': 'Gi0/0/0/1.90', 'neighbors': {'fe80::5c00:40ff:fe02:7': {'age': '151', 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': 'Y', 'sync': '-', 'serg_flags': 'ff', 'origin': 'dynamic'}, 'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/0.110': {'interface': 'Gi0/0/0/0.110', 'neighbors': {'fe80::f816:3eff:fe26:1224': {'age': '114', 'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': 'Y', 'sync': '-', 'serg_flags': 'ff', 'origin': 'dynamic'}, 'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/0.115': {'interface': 'Gi0/0/0/0.115', 'neighbors': {'fe80::f816:3eff:fe26:1224': {'age': '69', 'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': 'Y', 'sync': '-', 'serg_flags': 'ff', 'origin': 'dynamic'}, 'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/0.120': {'interface': 'Gi0/0/0/0.120', 'neighbors': {'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/0.390': {'interface': 'Gi0/0/0/0.390', 'neighbors': {'fe80::f816:3eff:fe26:1224': {'age': '151', 'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': 'Y', 'sync': '-', 'serg_flags': 'ff', 'origin': 'dynamic'}, 'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/0.410': {'interface': 'Gi0/0/0/0.410', 'neighbors': {'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/0.415': {'interface': 'Gi0/0/0/0.415', 'neighbors': {'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/0.420': {'interface': 'Gi0/0/0/0.420', 'neighbors': {'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/1.110': {'interface': 'Gi0/0/0/1.110', 'neighbors': {'fe80::5c00:40ff:fe02:7': {'age': '17', 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': 'Y', 'sync': '-', 'serg_flags': 'ff', 'origin': 'dynamic'}, 'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/1.115': {'interface': 'Gi0/0/0/1.115', 'neighbors': {'fe80::5c00:40ff:fe02:7': {'age': '165', 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': 'Y', 'sync': '-', 'serg_flags': 'ff', 'origin': 'dynamic'}, 'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/1.120': {'interface': 'Gi0/0/0/1.120', 'neighbors': {'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/1.390': {'interface': 'Gi0/0/0/1.390', 'neighbors': {'fe80::5c00:40ff:fe02:7': {'age': '100', 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': 'Y', 'sync': '-', 'serg_flags': 'ff', 'origin': 'dynamic'}, 'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/1.410': {'interface': 'Gi0/0/0/1.410', 'neighbors': {'fe80::5c00:40ff:fe02:7': {'age': '125', 'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': 'Y', 'sync': '-', 'serg_flags': 'ff', 'origin': 'dynamic'}, 'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/1.415': {'interface': 'Gi0/0/0/1.415', 'neighbors': {'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/1.420': {'interface': 'Gi0/0/0/1.420', 'neighbors': {'Mcast adjacency': {'age': '-', 'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'location': '0/0/CPU0', 'static': '-', 'dynamic': '-', 'sync': '-', 'serg_flags': 'ff', 'origin': 'other'}}}}} show_ipv6_vrf_all_interface = {'Bundle-Ether12': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': False}, 'Bundle-Ether23': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': False}, 'Loopback0': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': True, 'ipv6': {'2001:2:2:2::2/128': {'ipv6': '2001:2:2:2::2', 'ipv6_prefix_length': '128', 'ipv6_subnet': '2001:2:2:2::2'}, 'ipv6_link_local': 'fe80::8152:bfff:fed0:fbb5', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ffd0:fbb5', 'ff02::2', 'ff02::1', 'ff02::16', 'ff02::d'], 'ipv6_mtu': '1500', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'nd_dad': 'disabled', 'dad_attempts': '0', 'nd_reachable_time': '0', 'nd_cache_limit': '0', 'nd_adv_retrans_int': '0', 'stateless_autoconfig': True, 'table_id': '0xe0800000', 'complete_protocol_adj': '0', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0'}}, 'Loopback300': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'VRF1', 'vrf_id': '0x60000001', 'enabled': True, 'ipv6': {'2001:2:2:2::2/128': {'ipv6': '2001:2:2:2::2', 'ipv6_prefix_length': '128', 'ipv6_subnet': '2001:2:2:2::2'}, 'ipv6_link_local': 'fe80::8152:bfff:fed0:fbb5', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ffd0:fbb5', 'ff02::2', 'ff02::1', 'ff02::16', 'ff02::d'], 'ipv6_mtu': '1500', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'nd_dad': 'disabled', 'dad_attempts': '0', 'nd_reachable_time': '0', 'nd_cache_limit': '0', 'nd_adv_retrans_int': '0', 'stateless_autoconfig': True, 'table_id': '0xe0800001', 'complete_protocol_adj': '0', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0'}}, 'MgmtEth0/RP0/CPU0/0': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'management', 'vrf_id': '0x60000002', 'enabled': False}, 'GigabitEthernet0/0/0/0': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': False}, 'GigabitEthernet0/0/0/0.90': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': True, 'ipv6': {'2001:10:12:90::2/64': {'ipv6': '2001:10:12:90::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:12:90::'}, 'ipv6_link_local': 'fe80::f816:3eff:fe0f:b2ec', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff0f:b2ec', 'ff02::2', 'ff02::1', 'ff02::a'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'stateless_autoconfig': True, 'table_id': '0xe0800000', 'complete_protocol_adj': '0', 'complete_glean_adj': '1', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0', 'nd_suppress': True}}, 'GigabitEthernet0/0/0/0.110': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': True, 'ipv6': {'2001:10:12:110::2/64': {'ipv6': '2001:10:12:110::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:12:110::'}, 'ipv6_link_local': 'fe80::f816:3eff:fe0f:b2ec', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff0f:b2ec', 'ff02::2', 'ff02::1', 'ff02::16', 'ff02::5', 'ff02::6', 'ff02::d'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800000', 'complete_protocol_adj': '1', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0'}}, 'GigabitEthernet0/0/0/0.115': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': True, 'ipv6': {'2001:10:12:115::2/64': {'ipv6': '2001:10:12:115::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:12:115::'}, 'ipv6_link_local': 'fe80::f816:3eff:fe0f:b2ec', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff0f:b2ec', 'ff02::2', 'ff02::1', 'ff1e:abcd:def1:2222::1', 'ff1e:abcd:def1:2222::2'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800000', 'complete_protocol_adj': '1', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0'}}, 'GigabitEthernet0/0/0/0.120': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': True, 'ipv6': {'2001:10:12:120::2/64': {'ipv6': '2001:10:12:120::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:12:120::'}, 'ipv6_link_local': 'fe80::f816:3eff:fe0f:b2ec', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff0f:b2ec', 'ff02::2', 'ff02::1'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800000', 'complete_protocol_adj': '0', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0'}}, 'GigabitEthernet0/0/0/0.390': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'VRF1', 'vrf_id': '0x60000001', 'enabled': True, 'ipv6': {'2001:10:12:90::2/64': {'ipv6': '2001:10:12:90::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:12:90::'}, 'ipv6_link_local': 'fe80::f816:3eff:fe0f:b2ec', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff0f:b2ec', 'ff02::2', 'ff02::1', 'ff02::a'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800001', 'complete_protocol_adj': '1', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0'}}, 'GigabitEthernet0/0/0/0.410': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'VRF1', 'vrf_id': '0x60000001', 'enabled': True, 'ipv6': {'2001:10:12:110::2/64': {'ipv6': '2001:10:12:110::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:12:110::'}, 'ipv6_link_local': 'fe80::f816:3eff:fe0f:b2ec', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff0f:b2ec', 'ff02::2', 'ff02::1', 'ff02::16', 'ff02::5', 'ff02::6', 'ff02::d'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800001', 'complete_protocol_adj': '0', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0'}}, 'GigabitEthernet0/0/0/0.415': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'VRF1', 'vrf_id': '0x60000001', 'enabled': True, 'ipv6': {'2001:10:12:115::2/64': {'ipv6': '2001:10:12:115::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:12:115::'}, 'ipv6_link_local': 'fe80::f816:3eff:fe0f:b2ec', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff0f:b2ec', 'ff02::2', 'ff02::1', 'ff1e:abcd:def1:2222::1', 'ff1e:abcd:def1:2222::2'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800001', 'complete_protocol_adj': '0', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0'}}, 'GigabitEthernet0/0/0/0.420': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'VRF1', 'vrf_id': '0x60000001', 'enabled': True, 'ipv6': {'2001:10:12:120::2/64': {'ipv6': '2001:10:12:120::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:12:120::'}, 'ipv6_link_local': 'fe80::f816:3eff:fe0f:b2ec', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff0f:b2ec', 'ff02::2', 'ff02::1'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800001', 'complete_protocol_adj': '0', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0'}}, 'GigabitEthernet0/0/0/1': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': False}, 'GigabitEthernet0/0/0/1.90': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': True, 'ipv6': {'2001:10:23:90::2/64': {'ipv6': '2001:10:23:90::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:23:90::'}, 'ipv6_link_local': 'fe80::f816:3eff:fe59:8f2e', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff59:8f2e', 'ff02::2', 'ff02::1', 'ff02::a'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800000', 'complete_protocol_adj': '1', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0'}}, 'GigabitEthernet0/0/0/1.110': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': True, 'ipv6': {'2001:10:23:110::2/64': {'ipv6': '2001:10:23:110::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:23:110::'}, 'ipv6_link_local': 'fe80::f816:3eff:fe59:8f2e', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff59:8f2e', 'ff02::2', 'ff02::1', 'ff02::16', 'ff02::5', 'ff02::6', 'ff02::d'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800000', 'complete_protocol_adj': '1', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0'}}, 'GigabitEthernet0/0/0/1.115': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': True, 'ipv6': {'2001:10:23:115::2/64': {'ipv6': '2001:10:23:115::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:23:115::'}, 'ipv6_link_local': 'fe80::f816:3eff:fe59:8f2e', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff59:8f2e', 'ff02::2', 'ff02::1'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800000', 'complete_protocol_adj': '1', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0'}}, 'GigabitEthernet0/0/0/1.120': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': True, 'ipv6': {'2001:10:23:120::2/64': {'ipv6': '2001:10:23:120::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:23:120::'}, 'ipv6_link_local': 'fe80::f816:3eff:fe59:8f2e', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff59:8f2e', 'ff02::2', 'ff02::1'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800000', 'complete_protocol_adj': '0', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0'}}, 'GigabitEthernet0/0/0/1.390': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'VRF1', 'vrf_id': '0x60000001', 'enabled': True, 'ipv6': {'2001:10:23:90::2/64': {'ipv6': '2001:10:23:90::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:23:90::'}, 'ipv6_link_local': 'fe80::f816:3eff:fe59:8f2e', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff59:8f2e', 'ff02::2', 'ff02::1', 'ff02::a'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800001', 'complete_protocol_adj': '0', 'complete_glean_adj': '1', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0'}}, 'GigabitEthernet0/0/0/1.410': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'VRF1', 'vrf_id': '0x60000001', 'enabled': True, 'ipv6': {'2001:10:23:110::2/64': {'ipv6': '2001:10:23:110::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:23:110::'}, 'ipv6_link_local': 'fe80::f816:3eff:fe59:8f2e', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff59:8f2e', 'ff02::2', 'ff02::1', 'ff02::16', 'ff02::5', 'ff02::6', 'ff02::d'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800001', 'complete_protocol_adj': '0', 'complete_glean_adj': '1', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0'}}, 'GigabitEthernet0/0/0/1.415': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'VRF1', 'vrf_id': '0x60000001', 'enabled': True, 'ipv6': {'2001:10:23:115::2/64': {'ipv6': '2001:10:23:115::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:23:115::'}, 'ipv6_link_local': 'fe80::f816:3eff:fe59:8f2e', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff59:8f2e', 'ff02::2', 'ff02::1'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800001', 'complete_protocol_adj': '0', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0'}}, 'GigabitEthernet0/0/0/1.420': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'VRF1', 'vrf_id': '0x60000001', 'enabled': True, 'ipv6': {'2001:10:23:120::2/64': {'ipv6': '2001:10:23:120::2', 'ipv6_prefix_length': '64', 'ipv6_subnet': '2001:10:23:120::'}, 'ipv6_link_local': 'fe80::f816:3eff:fe59:8f2e', 'ipv6_groups': ['ff02::1:ff00:2', 'ff02::1:ff59:8f2e', 'ff02::2', 'ff02::1'], 'ipv6_mtu': '1518', 'ipv6_mtu_available': '1500', 'icmp_redirects': 'disabled', 'icmp_unreachables': 'enabled', 'nd_dad': 'enabled', 'dad_attempts': '1', 'nd_reachable_time': '0', 'nd_cache_limit': '1000000000', 'nd_adv_retrans_int': '0', 'nd_adv_duration': '160-240', 'nd_router_adv': '1800', 'stateless_autoconfig': True, 'table_id': '0xe0800001', 'complete_protocol_adj': '0', 'complete_glean_adj': '0', 'incomplete_protocol_adj': '0', 'incomplete_glean_adj': '0', 'dropped_protocol_req': '0', 'dropped_glean_req': '0'}}, 'GigabitEthernet0/0/0/2': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': False}, 'GigabitEthernet0/0/0/3': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': False}, 'GigabitEthernet0/0/0/4': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': False}, 'GigabitEthernet0/0/0/5': {'ipv6_enabled': True, 'int_status': 'up', 'oper_status': 'up', 'vrf': 'default', 'vrf_id': '0x60000000', 'enabled': False}} show_run_interface = ' interface Bundle-Ether12\n !\n interface Loopback0\n ipv4 address 10.16.2.2 255.255.255.255\n ipv6 address 2001:2:2:2::2/128\n !\n interface MgmtEth0/RP0/CPU0/0\n vrf management\n ipv4 address 172.16.1.52 255.255.255.0\n !\n interface GigabitEthernet0/0/0/0\n cdp\n !\n interface GigabitEthernet0/0/0/0.90\n ipv4 address 10.12.90.2 255.255.255.0\n ipv6 nd ra-lifetime 2000\n ipv6 nd suppress-ra\n ipv6 address 2001:10:12:90::2/64\n encapsulation dot1q 90\n !\n interface GigabitEthernet0/0/0/0.110\n ipv4 address 10.12.110.2 255.255.255.0\n ipv6 address 2001:10:12:110::2/64\n encapsulation dot1q 110\n !\n ' nd_ops_output = {'interfaces': {'GigabitEthernet0/0/0/1.420': {'interface': 'Gi0/0/0/1.420', 'router_advertisement': {'interval': '160-240', 'lifetime': '1800'}, 'neighbors': {'Mcast adjacency': {'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/1.415': {'interface': 'Gi0/0/0/1.415', 'router_advertisement': {'interval': '160-240', 'lifetime': '1800'}, 'neighbors': {'Mcast adjacency': {'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/1.410': {'interface': 'Gi0/0/0/1.410', 'router_advertisement': {'interval': '160-240', 'lifetime': '1800'}, 'neighbors': {'Mcast adjacency': {'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other'}, 'fe80::5c00:40ff:fe02:7': {'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'age': '125', 'origin': 'dynamic'}}}, 'GigabitEthernet0/0/0/1.390': {'interface': 'Gi0/0/0/1.390', 'router_advertisement': {'interval': '160-240', 'lifetime': '1800'}, 'neighbors': {'Mcast adjacency': {'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other'}, 'fe80::5c00:40ff:fe02:7': {'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'age': '100', 'origin': 'dynamic'}}}, 'GigabitEthernet0/0/0/1.120': {'interface': 'Gi0/0/0/1.120', 'router_advertisement': {'interval': '160-240', 'lifetime': '1800'}, 'neighbors': {'Mcast adjacency': {'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/1.115': {'interface': 'Gi0/0/0/1.115', 'router_advertisement': {'interval': '160-240', 'lifetime': '1800'}, 'neighbors': {'Mcast adjacency': {'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other'}, 'fe80::5c00:40ff:fe02:7': {'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'age': '165', 'origin': 'dynamic'}}}, 'GigabitEthernet0/0/0/1.110': {'interface': 'Gi0/0/0/1.110', 'router_advertisement': {'interval': '160-240', 'lifetime': '1800'}, 'neighbors': {'Mcast adjacency': {'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other'}, 'fe80::5c00:40ff:fe02:7': {'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'age': '17', 'origin': 'dynamic'}}}, 'GigabitEthernet0/0/0/0.420': {'interface': 'Gi0/0/0/0.420', 'router_advertisement': {'interval': '160-240', 'lifetime': '1800'}, 'neighbors': {'Mcast adjacency': {'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/0.415': {'interface': 'Gi0/0/0/0.415', 'router_advertisement': {'interval': '160-240', 'lifetime': '1800'}, 'neighbors': {'Mcast adjacency': {'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/0.410': {'interface': 'Gi0/0/0/0.410', 'router_advertisement': {'interval': '160-240', 'lifetime': '1800'}, 'neighbors': {'Mcast adjacency': {'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/0.390': {'interface': 'Gi0/0/0/0.390', 'router_advertisement': {'interval': '160-240', 'lifetime': '1800'}, 'neighbors': {'Mcast adjacency': {'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other'}, 'fe80::f816:3eff:fe26:1224': {'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'age': '151', 'origin': 'dynamic'}}}, 'GigabitEthernet0/0/0/0.120': {'interface': 'Gi0/0/0/0.120', 'router_advertisement': {'interval': '160-240', 'lifetime': '1800'}, 'neighbors': {'Mcast adjacency': {'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other'}}}, 'GigabitEthernet0/0/0/0.115': {'interface': 'Gi0/0/0/0.115', 'router_advertisement': {'interval': '160-240', 'lifetime': '1800'}, 'neighbors': {'Mcast adjacency': {'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other'}, 'fe80::f816:3eff:fe26:1224': {'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'age': '69', 'origin': 'dynamic'}}}, 'GigabitEthernet0/0/0/0.110': {'interface': 'Gi0/0/0/0.110', 'router_advertisement': {'interval': '160-240', 'lifetime': '1800'}, 'neighbors': {'Mcast adjacency': {'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other'}, 'fe80::f816:3eff:fe26:1224': {'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'age': '114', 'origin': 'dynamic'}}}, 'GigabitEthernet0/0/0/1.90': {'interface': 'Gi0/0/0/1.90', 'router_advertisement': {'interval': '160-240', 'lifetime': '1800'}, 'neighbors': {'Mcast adjacency': {'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other'}, 'fe80::5c00:40ff:fe02:7': {'ip': 'fe80::5c00:40ff:fe02:7', 'link_layer_address': '5e00.4002.0007', 'neighbor_state': 'REACH', 'age': '151', 'origin': 'dynamic'}}}, 'GigabitEthernet0/0/0/0.90': {'interface': 'Gi0/0/0/0.90', 'router_advertisement': {'suppress': True}, 'neighbors': {'Mcast adjacency': {'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other'}, 'fe80::f816:3eff:fe26:1224': {'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'age': '138', 'origin': 'dynamic'}}}}} show_run_interface_custom = ' interface GigabitEthernet0/0/0/0.390\n vrf VRF1\n ipv4 address 10.12.90.2 255.255.255.0\n ipv6 address 2001:10:12:90::2/64\n encapsulation dot1q 390\n !\n ' nd_ops_output_custom = {'interfaces': {'GigabitEthernet0/0/0/0.390': {'interface': 'Gi0/0/0/0.390', 'router_advertisement': {'interval': '160-240', 'lifetime': '1800'}, 'neighbors': {'Mcast adjacency': {'ip': 'Mcast adjacency', 'link_layer_address': '0000.0000.0000', 'neighbor_state': 'REACH', 'age': '-', 'origin': 'other'}, 'fe80::f816:3eff:fe26:1224': {'ip': 'fe80::f816:3eff:fe26:1224', 'link_layer_address': 'fa16.3e26.1224', 'neighbor_state': 'REACH', 'age': '151', 'origin': 'dynamic'}}}}}
def solution(): sum = 0 for i in range(0,1000): if i % 3 == 0 or i % 5 == 0: sum += i return sum def test_MultiplesOf3And5(): assert solution() == 233168
def solution(): sum = 0 for i in range(0, 1000): if i % 3 == 0 or i % 5 == 0: sum += i return sum def test__multiples_of3_and5(): assert solution() == 233168
__all__ = ["__version__", "__version_info__"] __version__ = "0.0.3" __version_info__ = tuple(int(x) for x in __version__.split("."))
__all__ = ['__version__', '__version_info__'] __version__ = '0.0.3' __version_info__ = tuple((int(x) for x in __version__.split('.')))
@bot.message_handler(commands=['start', 'help']) def send_welcome(message): userid = message.from_user.id banlist = redisserver.sismember('zigzag_banlist', '{}'.format(userid)) if banlist: bot.reply_to(message, "You are banned!") return markup = types.ReplyKeyboardMarkup() numbers = list(range(3, 3000, 3)) numbers = [0] + numbers cline = 0 linelength = len(START_BUTTONS) try: while (cline < linelength): itembtn = [] cfrom = numbers[cline] cto = numbers[cline + 1] cline = cline + 1 while (cfrom < cto): itembtn.append(START_BUTTONS[cfrom]) cfrom = cfrom + 1 if len(itembtn) == 3: markup.row(*itembtn) except: lolalola = 0 if message.chat.type == "private": bot.reply_to(message, START_MSG.encode("utf-8"), reply_markup=markup, parse_mode="Markdown") redisserver.sadd('zigzag_members',message.from_user.id) else: bot.reply_to(message, START_MSG.encode("utf-8"), parse_mode="Markdown")
@bot.message_handler(commands=['start', 'help']) def send_welcome(message): userid = message.from_user.id banlist = redisserver.sismember('zigzag_banlist', '{}'.format(userid)) if banlist: bot.reply_to(message, 'You are banned!') return markup = types.ReplyKeyboardMarkup() numbers = list(range(3, 3000, 3)) numbers = [0] + numbers cline = 0 linelength = len(START_BUTTONS) try: while cline < linelength: itembtn = [] cfrom = numbers[cline] cto = numbers[cline + 1] cline = cline + 1 while cfrom < cto: itembtn.append(START_BUTTONS[cfrom]) cfrom = cfrom + 1 if len(itembtn) == 3: markup.row(*itembtn) except: lolalola = 0 if message.chat.type == 'private': bot.reply_to(message, START_MSG.encode('utf-8'), reply_markup=markup, parse_mode='Markdown') redisserver.sadd('zigzag_members', message.from_user.id) else: bot.reply_to(message, START_MSG.encode('utf-8'), parse_mode='Markdown')
src = Split(''' uart_test.c ''') component = aos_component('uart_test', src) component.add_cflags('-Wall') component.add_cflags('-Werror')
src = split('\n uart_test.c\n') component = aos_component('uart_test', src) component.add_cflags('-Wall') component.add_cflags('-Werror')
#Helpfer Function: def create_scoring_schema(number_objects): _field = "id*:int64,image:blob,_image_:blob,_nObjects_:double," for obj in range(0,number_objects): _field += "_Object" + str(obj) + "_:string," _field += "_P_Object" + str(obj) + "_:double," _field += "_Object" + str(obj) + "_x:double," _field += "_Object" + str(obj) + "_y:double," _field += "_Object" + str(obj) + "_width:double," _field += "_Object" + str(obj) + "_height:double," return _field[:-1] def create_scoring_schema(number_objects): _field = "id*:int64,image:blob,_image_:blob,_nObjects_:double," for obj in range(0,number_objects): _field += "_Object" + str(obj) + "_:string," _field += "_P_Object" + str(obj) + "_:double," _field += "_Object" + str(obj) + "_x:double," _field += "_Object" + str(obj) + "_y:double," _field += "_Object" + str(obj) + "_width:double," _field += "_Object" + str(obj) + "_height:double," return _field[:-1]
def create_scoring_schema(number_objects): _field = 'id*:int64,image:blob,_image_:blob,_nObjects_:double,' for obj in range(0, number_objects): _field += '_Object' + str(obj) + '_:string,' _field += '_P_Object' + str(obj) + '_:double,' _field += '_Object' + str(obj) + '_x:double,' _field += '_Object' + str(obj) + '_y:double,' _field += '_Object' + str(obj) + '_width:double,' _field += '_Object' + str(obj) + '_height:double,' return _field[:-1] def create_scoring_schema(number_objects): _field = 'id*:int64,image:blob,_image_:blob,_nObjects_:double,' for obj in range(0, number_objects): _field += '_Object' + str(obj) + '_:string,' _field += '_P_Object' + str(obj) + '_:double,' _field += '_Object' + str(obj) + '_x:double,' _field += '_Object' + str(obj) + '_y:double,' _field += '_Object' + str(obj) + '_width:double,' _field += '_Object' + str(obj) + '_height:double,' return _field[:-1]
def load(): with open("input") as f: return [int(x) for x in f.read().strip().split(",")] def align_crabs(): crabs = load() min_fuel = None for pos in range(min(crabs), max(crabs) + 1): fuel = sum(abs(c - pos) for c in crabs) min_fuel = fuel if min_fuel is None else min(min_fuel, fuel) return min_fuel print(align_crabs())
def load(): with open('input') as f: return [int(x) for x in f.read().strip().split(',')] def align_crabs(): crabs = load() min_fuel = None for pos in range(min(crabs), max(crabs) + 1): fuel = sum((abs(c - pos) for c in crabs)) min_fuel = fuel if min_fuel is None else min(min_fuel, fuel) return min_fuel print(align_crabs())
a = [ 1, 2, 3, 6, 10, 14, ] t = 10 l = 0 r = len(a) - 1 while l != r: c = (l + r) // 2 if a[c] < t: l = c + 1 elif a[c] > t: r = c - 1 else: r = l = c print(l, r, a[l], a[r])
a = [1, 2, 3, 6, 10, 14] t = 10 l = 0 r = len(a) - 1 while l != r: c = (l + r) // 2 if a[c] < t: l = c + 1 elif a[c] > t: r = c - 1 else: r = l = c print(l, r, a[l], a[r])
# Runtime: 1007 ms, faster than 66.76% of Python3 online submissions for 3Sum. # Memory Usage: 18.1 MB, less than 38.93% of Python3 online submissions for 3Sum. class Solution: def threeSum(self, nums: List[int]) -> List[List[int]]: nums = sorted(nums) res = [] for i in range(len(nums)): if nums[i] > 0: return res # Want to skip all duplicates elif i == 0 or nums[i] != nums[i - 1]: hi = len(nums) - 1 lo = i + 1 while hi > lo: if nums[hi] + nums[lo] == -nums[i]: res.append([nums[i], nums[lo], nums[hi]]) lo += 1 hi -= 1 # Want the lo to skip all duplicates while nums[lo] == nums[lo - 1] and lo < hi: lo += 1 elif nums[hi] + nums[lo] < -nums[i]: lo += 1 else: hi -= 1 return res # Unsorted Approach: gave me TLE # pairsDict = {} # for i in range(len(nums)): # for j in range(i): # # Append (i, j) to the list stored with key nums[i] + nums[j] # pairsDict[nums[i] + nums[j]] = pairsDict.get(nums[i] + nums[j], []) # pairsDict[nums[i] + nums[j]].append(tuple([i, j])) # res = [] # # Go through nums again, check for matches # for k in range(len(nums)): # # If we have seen the negative already: # if -nums[k] in pairsDict: # # Iterate through list of tuples, # # check that k is not already in a tuple there # for pair in pairsDict[-nums[k]]: # if k != pair[0] and k != pair[1]: # # We probably want to sort the values. # if sorted([nums[k], nums[pair[0]], nums[pair[1]]]) not in res: # res.append(sorted([nums[k], nums[pair[0]], nums[pair[1]]])) # return res
class Solution: def three_sum(self, nums: List[int]) -> List[List[int]]: nums = sorted(nums) res = [] for i in range(len(nums)): if nums[i] > 0: return res elif i == 0 or nums[i] != nums[i - 1]: hi = len(nums) - 1 lo = i + 1 while hi > lo: if nums[hi] + nums[lo] == -nums[i]: res.append([nums[i], nums[lo], nums[hi]]) lo += 1 hi -= 1 while nums[lo] == nums[lo - 1] and lo < hi: lo += 1 elif nums[hi] + nums[lo] < -nums[i]: lo += 1 else: hi -= 1 return res
# Adjusts numerical digits by a specified amount class Offsetter: # numericOffset is only altered by init numericOffset=0 def __init__(self, offset): self.numericOffset = int(offset) # apply offset def setOff(self, input_int): return (( int(input_int) + self.numericOffset ) % 10) # remove offset def setOn(self, input_int): return (( input_int + (10 - self.numericOffset) ) % 10) # apply offset to each digit of a longer string def stringOffset(self,input_string): output_string = '' for s in input_string: input_int = self.char2int(s) output_string = output_string + str(self.setOff( input_int )) return output_string # explicitly integer values chars def char2int(self,input_char): return { '0': 0, '1': 1, '2': 2, '3': 3, '4': 4, '5': 5, '6': 6, '7': 7, '8': 8, '9': 9, }.get(input_char,0) # Converts char to ascii class Encoder: def string2ascii (self, input_string): return_list = [] for i in range(0,len(input_string)): return_list.insert(i,self.char2ascii(input_string[i])) return return_list def char2ascii(self, input_char): return ord(input_char) # Converts ascii to char class Decoder: def string2ascii (self, input_list): return_string = '' for i in input_list: return_string= return_string + self.char2ascii(i) return return_string def char2ascii(self, input_int): return chr(input_int)
class Offsetter: numeric_offset = 0 def __init__(self, offset): self.numericOffset = int(offset) def set_off(self, input_int): return (int(input_int) + self.numericOffset) % 10 def set_on(self, input_int): return (input_int + (10 - self.numericOffset)) % 10 def string_offset(self, input_string): output_string = '' for s in input_string: input_int = self.char2int(s) output_string = output_string + str(self.setOff(input_int)) return output_string def char2int(self, input_char): return {'0': 0, '1': 1, '2': 2, '3': 3, '4': 4, '5': 5, '6': 6, '7': 7, '8': 8, '9': 9}.get(input_char, 0) class Encoder: def string2ascii(self, input_string): return_list = [] for i in range(0, len(input_string)): return_list.insert(i, self.char2ascii(input_string[i])) return return_list def char2ascii(self, input_char): return ord(input_char) class Decoder: def string2ascii(self, input_list): return_string = '' for i in input_list: return_string = return_string + self.char2ascii(i) return return_string def char2ascii(self, input_int): return chr(input_int)
## Sum of Intervals ## 4 kyu ## https://www.codewars.com/kata/52b7ed099cdc285c300001cd def sum_of_intervals(intervals): seen = set() for (low,high) in intervals: for length in range(low, high): seen.add(length) return len(seen)
def sum_of_intervals(intervals): seen = set() for (low, high) in intervals: for length in range(low, high): seen.add(length) return len(seen)
# https://leetcode.com/problems/guess-number-higher-or-lower/ # We are playing the Guess Game. The game is as follows: # # I pick a number from 1 to n. You have to guess which number I picked. # # Every time you guess wrong, I'll tell you whether the number is higher or lower. # # You call a pre-defined API guess(int num) which returns 3 possible results (-1, 1, or 0): # # -1 : My number is lower # 1 : My number is higher # 0 : Congrats! You got it! def guess(num,x): pass class Solution(object): def guessNumber(self, n): begin,end = 1,n while True: curNum = (begin + end) // 2 curBool = guess(curNum) if curBool == 1: end = curNum - 1 elif curBool == -1: begin = curNum + 1 else: return curNum
def guess(num, x): pass class Solution(object): def guess_number(self, n): (begin, end) = (1, n) while True: cur_num = (begin + end) // 2 cur_bool = guess(curNum) if curBool == 1: end = curNum - 1 elif curBool == -1: begin = curNum + 1 else: return curNum
def isPalindrome(number): ispalindrome = True list = intToList(number) #if list is not an even number it can't be a palindrome if len(list) % 2 != 0: ispalindrome = False for x in range(0,int(len(list)/2)): if(ispalindrome): ispalindrome = (list[x] == list[len(list)-(x+1)]) return ispalindrome def intToList(number): digits = [] number = str(number) for digit in number: digits.append(int(digit)) return digits #largest_palindrome largest_palindrome = 0 #For loop to generate multiples for i in range(1000,100,-1): for j in range(1000,100,-1): number = i*j if number > largest_palindrome and isPalindrome(number): largest_palindrome = number print(largest_palindrome)
def is_palindrome(number): ispalindrome = True list = int_to_list(number) if len(list) % 2 != 0: ispalindrome = False for x in range(0, int(len(list) / 2)): if ispalindrome: ispalindrome = list[x] == list[len(list) - (x + 1)] return ispalindrome def int_to_list(number): digits = [] number = str(number) for digit in number: digits.append(int(digit)) return digits largest_palindrome = 0 for i in range(1000, 100, -1): for j in range(1000, 100, -1): number = i * j if number > largest_palindrome and is_palindrome(number): largest_palindrome = number print(largest_palindrome)
sites = [ 'https://yii2-menu.pceuropa.net/', 'https://pceuropa.net', ] smtp = { 'server': '[email protected]:587', 'login': '[email protected]', 'password': 'pass', 'From': '[email protected]', 'to': '[email protected]', }
sites = ['https://yii2-menu.pceuropa.net/', 'https://pceuropa.net'] smtp = {'server': '[email protected]:587', 'login': '[email protected]', 'password': 'pass', 'From': '[email protected]', 'to': '[email protected]'}
broker_url = 'amqp://guest:guest@localhost:5672//' accept_content = ['application/json'] result_serializer = 'pickle' task_serializer = 'pickle'
broker_url = 'amqp://guest:guest@localhost:5672//' accept_content = ['application/json'] result_serializer = 'pickle' task_serializer = 'pickle'
word = "bottles" for beer_num in range(99, 0, -1): print(beer_num, word, " of beer on the wall,") print(beer_num, word, " bottles of beer.") print("You take one down,") print("You pass it around,") if (beer_num == 1): print("No more bottles of beer on the wall.") else: new_num = beer_num - 1 if new_num == 1: word = "bottle" print(new_num, word, "of beer on the wall.") print()
word = 'bottles' for beer_num in range(99, 0, -1): print(beer_num, word, ' of beer on the wall,') print(beer_num, word, ' bottles of beer.') print('You take one down,') print('You pass it around,') if beer_num == 1: print('No more bottles of beer on the wall.') else: new_num = beer_num - 1 if new_num == 1: word = 'bottle' print(new_num, word, 'of beer on the wall.') print()
## Mel-filterbank mel_n_channels = 80 win_length = 512 hop_length = 128 n_fft = 512 mel_window_length = 25 # In milliseconds mel_window_step = 10 # In milliseconds ## Audio sampling_rate = 24000 # Number of spectrogram frames in a partial utterance partials_n_frames = 240 # 2400 ms # Number of spectrogram frames at inference inference_n_frames = 120 # 1200 ms ## Voice Activation Detection # Window size of the VAD. Must be either 10, 20 or 30 milliseconds. # This sets the granularity of the VAD. Should not need to be changed. vad_window_length = 20 # In milliseconds # Number of frames to average together when performing the moving average smoothing. # The larger this value, the larger the VAD variations must be to not get smoothed out. vad_moving_average_width = 8 # Maximum number of consecutive silent frames a segment can have. vad_max_silence_length = 6 ## Audio volume normalization audio_norm_target_dBFS = -30
mel_n_channels = 80 win_length = 512 hop_length = 128 n_fft = 512 mel_window_length = 25 mel_window_step = 10 sampling_rate = 24000 partials_n_frames = 240 inference_n_frames = 120 vad_window_length = 20 vad_moving_average_width = 8 vad_max_silence_length = 6 audio_norm_target_d_bfs = -30
class CollapseRenderMixin: render_template = "djangocms_frontend/bootstrap5/collapse.html" class CollapseContainerRenderMixin: render_template = "djangocms_frontend/bootstrap5/collapse-container.html" def render(self, context, instance, placeholder): instance.add_classes("collapse") return super().render(context, instance, placeholder) class CollapseTriggerRenderMixin: render_template = "djangocms_frontend/bootstrap5/collapse-trigger.html"
class Collapserendermixin: render_template = 'djangocms_frontend/bootstrap5/collapse.html' class Collapsecontainerrendermixin: render_template = 'djangocms_frontend/bootstrap5/collapse-container.html' def render(self, context, instance, placeholder): instance.add_classes('collapse') return super().render(context, instance, placeholder) class Collapsetriggerrendermixin: render_template = 'djangocms_frontend/bootstrap5/collapse-trigger.html'
# # PySNMP MIB module AtiL2-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/AtiL2-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:33:22 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") ValueSizeConstraint, ValueRangeConstraint, ConstraintsIntersection, ConstraintsUnion, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsIntersection", "ConstraintsUnion", "SingleValueConstraint") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") enterprises, Counter32, ModuleIdentity, iso, TimeTicks, IpAddress, Integer32, Counter64, MibIdentifier, NotificationType, Gauge32, Bits, Unsigned32, ObjectIdentity, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn = mibBuilder.importSymbols("SNMPv2-SMI", "enterprises", "Counter32", "ModuleIdentity", "iso", "TimeTicks", "IpAddress", "Integer32", "Counter64", "MibIdentifier", "NotificationType", "Gauge32", "Bits", "Unsigned32", "ObjectIdentity", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") class MacAddress(OctetString): subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(6, 6) fixedLength = 6 class BridgeId(OctetString): subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(8, 8) fixedLength = 8 class Timeout(Integer32): pass alliedTelesyn = MibIdentifier((1, 3, 6, 1, 4, 1, 207)) atiProduct = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1)) swhub = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4)) at_8324 = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 37)).setLabel("at-8324") at_8124XL_V2 = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 52)).setLabel("at-8124XL-V2") at_8326GB = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 72)).setLabel("at-8326GB") at_9410GB = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 73)).setLabel("at-9410GB") at_8350GB = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 74)).setLabel("at-8350GB") at_8316F = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 77)).setLabel("at-8316F") mibObject = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8)) atiL2Mib = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 33)) atiL2GlobalGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 1)) atiL2IpGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 2)) atiL2NMGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 3)) atiL2DHCPGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 4)) atiL2DeviceGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 5)) atiL2EthernetStatsGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 6)) atiL2DevicePortConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 7)) atiL2VlanConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 8)) atiL2IfExt = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 9)) atiL2BridgeMib = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 10)) atiL2BrBase = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1)) atiL2BrStp = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2)) atiL2BrTp = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3)) atiL2TrapAttrGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 11)) atiL2QOSConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 12)) atiL2SwProduct = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2SwProduct.setStatus('mandatory') if mibBuilder.loadTexts: atiL2SwProduct.setDescription('Identifies the software product the device is running.') atiL2SwVersion = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2SwVersion.setStatus('mandatory') if mibBuilder.loadTexts: atiL2SwVersion.setDescription(' Identifies the version number of the present release.') atiL2Reset = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("switch-no-reset", 1), ("switch-reset", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2Reset.setStatus('mandatory') if mibBuilder.loadTexts: atiL2Reset.setDescription(' Object use to reset all the Modules globally.') atiL2MirroringSourceModule = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2MirroringSourceModule.setStatus('mandatory') if mibBuilder.loadTexts: atiL2MirroringSourceModule.setDescription(" This is the mirror source module number. If the atiL2EthConfigMirrorState is Enabled then the mirror source module/port data gets routed to the mirror destination module/port. Both transmitted and recieved source activity is mirrored to the destination. This arrangement is to put an RMON Probe on the destination port to probe the traffic on the Source port. This object will return a '0' if the MirrorState is not enabled.") atiL2MirroringSourcePort = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2MirroringSourcePort.setStatus('mandatory') if mibBuilder.loadTexts: atiL2MirroringSourcePort.setDescription(" This is the Source port number for which there is another mirror port.If the atiL2EthConfigMirrorState is Enabled then the mirror portgets routed with all the packets going in and out of Source port. This arrangement is to put an RMON Probe on mirrored port to Probe the traffic on the Source port. One of the port is dedicated to this so that for any port as source port, this dedicated port can be a mirrored port. This object will return a '0' if the MirrorState is not enabled.") atiL2MirroringDestinationModule = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2MirroringDestinationModule.setStatus('mandatory') if mibBuilder.loadTexts: atiL2MirroringDestinationModule.setDescription(" This is the mirror destination module number. If the atiL2EthConfigMirrorState is Enabled then the mirror source module/port data gets routed to the mirror destination module/port. Both transmitted and recieved source activity is mirrored to the destination. This arrangement is to put an RMON Probe on the destination port to probe the traffic on the Source port. This object will return a '0' if the MirrorState is not enabled.") atiL2MirroringDestinationPort = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 1, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2MirroringDestinationPort.setStatus('mandatory') if mibBuilder.loadTexts: atiL2MirroringDestinationPort.setDescription(" This is the Destination port number for which there is another mirror port.If the atiL2EthConfigMirrorState is Enabled then,the mirror portgets routed with all the packets going in and out of Destination port. This arrangement is to put an RMON Probe on mirrored port to Probe the traffic on the Destination port. One of the port is dedicated to this so that for any port as destination port, this dedicated port can be a mirrored port. This object will return a '0' if the MirrorState is not enabled.") atiL2MirrorState = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("receive-and-transmit", 1), ("disabled", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2MirrorState.setStatus('mandatory') if mibBuilder.loadTexts: atiL2MirrorState.setDescription(' if the state of Mirroring is enabled by selecting one of the two values , then the Mirroring explained above works. If disabled, port operation works normally. No Traffic gets routed from MirroringSourcePort to Destination Mirrored Port.') atiL2IGMPState = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2IGMPState.setStatus('mandatory') if mibBuilder.loadTexts: atiL2IGMPState.setDescription('This attribute allows an administrative request to configure IGMP') atiL2DeviceNumber = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 1, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2DeviceNumber.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DeviceNumber.setDescription('The total number of devices in the stack.') atiL2CurrentIpAddress = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 2, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2CurrentIpAddress.setStatus('mandatory') if mibBuilder.loadTexts: atiL2CurrentIpAddress.setDescription(' The Current IP address is the one which is currently used and is obtained dynamically through one of the protocols interaction.( DHCP or Bootp.) This address is NULL if the Address is Statically configured.') atiL2ConfiguredIpAddress = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 2, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2ConfiguredIpAddress.setStatus('mandatory') if mibBuilder.loadTexts: atiL2ConfiguredIpAddress.setDescription(' The Configured IP address of the device. This is the address configured through Network or Local Omega. ') atiL2ConfiguredSubnetMask = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 2, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2ConfiguredSubnetMask.setStatus('mandatory') if mibBuilder.loadTexts: atiL2ConfiguredSubnetMask.setDescription(' The Configured Subnet Mask of the device.') atiL2ConfiguredRouter = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 2, 4), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2ConfiguredRouter.setStatus('mandatory') if mibBuilder.loadTexts: atiL2ConfiguredRouter.setDescription(' The Configured Gateway/Router address of the device') atiL2IPAddressStatus = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 2, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("from-dhcp", 1), ("from-bootp", 2), ("from-psuedoip", 3), ("from-Omega", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2IPAddressStatus.setStatus('mandatory') if mibBuilder.loadTexts: atiL2IPAddressStatus.setDescription(' The IP Address can be obtained/configured by any of the above different ways. This object specifies how IP address currently on the switch Box, was configured/obtained.') atiL2DNServer = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 2, 6), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2DNServer.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DNServer.setDescription(' The Configured DNS Server address of the device') atiL2DefaultDomainName = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 2, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2DefaultDomainName.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DefaultDomainName.setDescription(' This Object defines the Default Domain where this switch can be belong to.') atiL2NwMgrTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 33, 3, 1), ) if mibBuilder.loadTexts: atiL2NwMgrTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2NwMgrTable.setDescription('A list of SNMP Trap Manager stations Entries. The number of entries is given by the switchNwMgrTotal mib object.') atiL2NwMgrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 33, 3, 1, 1), ).setIndexNames((0, "AtiL2-MIB", "atiL2NwMgrIndex")) if mibBuilder.loadTexts: atiL2NwMgrEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2NwMgrEntry.setDescription("Trap receipt Manager Entry containing ipaddress of the configured NMS's to which Traps are sent.") atiL2NwMgrIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 3, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2NwMgrIndex.setStatus('mandatory') if mibBuilder.loadTexts: atiL2NwMgrIndex.setDescription('The Index of the Managers Ip address.') atiL2NwMgrIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 3, 1, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2NwMgrIpAddr.setStatus('mandatory') if mibBuilder.loadTexts: atiL2NwMgrIpAddr.setDescription('The IP Address of the NMS host configured.') atiL2DHCPSysGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 4, 1)) atiL2DHCPTimerGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 4, 2)) atiL2DHCPCurrentDHCPClientAddress = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 4, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2DHCPCurrentDHCPClientAddress.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DHCPCurrentDHCPClientAddress.setDescription('Current IP address of the client. To start with,it might be null. This is filled by the server when sending a DHCPOFFER and the client uses the most comfortable offer from offers sent by different DHCP servers. A DHCPREQUEST packet is sent with the Client address agreed upon to the selected server ( Broadcast). Server Acks back this packet which is where Client/Server moves to the Bound state. Once reached into Bound state, the client address is made the official address on the client.') atiL2DHCPSubnetMask = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 4, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2DHCPSubnetMask.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DHCPSubnetMask.setDescription('When the client/server reaches the BOUND state, this is one of the parameters set by the server.') atiL2DHCPCurrentRelayAgentAddress = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 4, 1, 3), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2DHCPCurrentRelayAgentAddress.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DHCPCurrentRelayAgentAddress.setDescription('The IP address of the DHCP relay Agent on the same subnet. Normally there will be no DHCP server on each of the subnet and this Relay Agent will act in sending server across the subnets. There might not be any relay agent. This depends on the network Toplogy like where is the DHCP server and DHCP client.') atiL2DHCPNextDHCPServerAddress = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 4, 1, 4), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2DHCPNextDHCPServerAddress.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DHCPNextDHCPServerAddress.setDescription('The IP address of the next DHCP server to be used during bootstrap. This address is sent by the DHCP server in the messages DHCPOFFER, DHCPACK,DHCPNACK.') atiL2DHCPLeaseTimer = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 4, 2, 1), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2DHCPLeaseTimer.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DHCPLeaseTimer.setDescription('When the client/server reaches the BOUND state, this is one of the parameters set by the server. The lease time period in seconds for the DHCP client for using IP address on lease from the server. At the end of 50% of this timer a renewal request is sent by the client . This is the next Object atiL2DHCPReacquisitionTimer.') atiL2DHCPReacquisitionTimer = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 4, 2, 2), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2DHCPReacquisitionTimer.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DHCPReacquisitionTimer.setDescription("When the client/server reaches the BOUND state, this is one of the parameters set by the server. Mentioned in RFC2131 4.4.5 as T1, this renewal time period in secs for the DHCP client is for using IP address on lease from the server Once the Reacquisition Timer period in secs after the lease period is reached, the client sends a DHCPREQUEST to the DHCP server requesting for renewal of the lease. Default would be 50% of the Lease timer which is represeneted by the above object. The client moves from BOUND to RENEW state once the DHCPREQUEST is sent after time T1 secs is passed from the start of to release time. T1 is always less than T2 ( see below for 'T2') which is less than the lease Timer period.") atiL2DHCPExpirationTimer = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 4, 2, 3), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2DHCPExpirationTimer.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DHCPExpirationTimer.setDescription('When the client/server reaches the BOUND state, this is one of the parameters set by the server. Mentioned in RFC2131 4.4.5 as T2,this Expiration time period in secs is the time period in secs during which DHCP has gone through the BOUND->RENEWAL state. After T1 secs and when the state machine reaches T2 secs, ( T1 < T2 < lease period), DHCP client sends another DHCPREQUEST to the server asking the server to renew the lease for the IP parameters. By default it would be 87.5% of the Lease timer .If there is DHCPACK then the DHCP client moves from REBIND to BOUND. Else it moves to INIT state where it starts all over again sending a request for DHCPDISCOVER.') atiL2deviceTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1), ) if mibBuilder.loadTexts: atiL2deviceTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceTable.setDescription('The table contains the mapping of all devices in the chassis.') atiL2deviceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1), ).setIndexNames((0, "AtiL2-MIB", "atiL2deviceIndex")) if mibBuilder.loadTexts: atiL2deviceEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceEntry.setDescription('The device entry in the DeviceTable.') atiL2deviceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2deviceIndex.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceIndex.setDescription('The Slot number in the chassis where the device is installed.') atiL2deviceDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2deviceDescr.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceDescr.setDescription('A textual description of the device.') atiL2deviceProductType = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 20))).clone(namedValues=NamedValues(("at-8324", 1), ("at-8316F", 2), ("at-8124XL-V2", 3), ("at-8326GB", 4), ("at-9410GB", 5), ("at-8350GB", 6), ("other", 20)))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2deviceProductType.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceProductType.setDescription('This object will return Product Type.') atiL2devicePortCount = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1024))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2devicePortCount.setStatus('mandatory') if mibBuilder.loadTexts: atiL2devicePortCount.setDescription('The number of ports contained within the device. Valid range is 1-32. Within each device, the ports are uniquely numbered in the range from 1 to maxportCapacity.') atiL2deviceSecurityConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disabled", 1), ("enabled-with-learning-locked", 2), ("limited-enabled", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2deviceSecurityConfig.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceSecurityConfig.setDescription('Security feature configuration Object.The Security disable would let the device carry on the learn-new-address-as-it-comes-in mode as usual.When security is enabled-with-learning-locked, the learning of new address is stopped and the addresses locked in the device is used as the security Database. If an address comes in which is not present in the Device Security Database, then any of the atiL2SecurityAction Configured is triggered. When limited-enabled is selected, a per-port atiL2PortSecurityNumberOfAddresses specify the max number of MACs to be learned.') atiL2deviceSecurityAction = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("send-trap-only", 1), ("disable-port-only", 2), ("disable-port-and-send-trap", 3), ("do-nothing", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2deviceSecurityAction.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceSecurityAction.setDescription('Security Action to be carried when the atiL2SecurityConfig is enabled-with-learning-locked or limted-enabled.') atiL2deviceDebugAvailableBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2deviceDebugAvailableBytes.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceDebugAvailableBytes.setDescription('This is strictly for Debug reason and this object should not be believed as the correct number.') atiL2deviceMDA1Type = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("ten-100rj45-mii", 1), ("hundredfiber-mii", 2), ("oneGb-rj45", 3), ("oneGb-Fiber", 4), ("none", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2deviceMDA1Type.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceMDA1Type.setDescription("This object returns the MDA type of the Uplink port. The values of 1 and 2 are the only one present in 81XX. 82XX has all the values supported. This object returns the MDA type of the Uplink Port named 'A'. It returns 'none' if a 'A' MDA slot is not installed.") atiL2deviceMDA2Type = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("ten-100rj45-mii", 1), ("hundredfiber-mii", 2), ("oneGb-rj45", 3), ("oneGb-Fiber", 4), ("none", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2deviceMDA2Type.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceMDA2Type.setDescription("This Object is supported in 81XX 82XX product lines. The values of 1 and 2 are the only one present in 81XX. 82XX has all the values supported. This object returns the MDA type of the Uplink Port named 'B'. It returns 'none' if a 'B' MDA slot is not installed.") atiL2deviceReset = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("switch-no-reset", 1), ("switch-reset", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2deviceReset.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceReset.setDescription("Setting this object to 'switch-reset' will cause the switch to perform a hardware reset within approximately 4-6 seconds. Setting this object to 'switch-no-reset will have no effect. The value 'no-reset' will be returned whenever this object is retrieved.") atiL2EthMonStatsGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1)) atiL2EthErrStatsGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2)) atiL2EthMonStatsTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1), ) if mibBuilder.loadTexts: atiL2EthMonStatsTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthMonStatsTable.setDescription('A list of statistics entries.') atiL2EthMonStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1, 1), ).setIndexNames((0, "AtiL2-MIB", "atiL2EthMonModuleId")) if mibBuilder.loadTexts: atiL2EthMonStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthMonStatsEntry.setDescription('A collection of statistics kept for a particular port.') atiL2EthMonModuleId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthMonModuleId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthMonModuleId.setDescription('This Object Identifies the Module Id for which the Statistics is collected.') atiL2EthMonRxGoodFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthMonRxGoodFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthMonRxGoodFrames.setDescription('The total number of Good Frames received on this module.') atiL2EthMonTxGoodFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthMonTxGoodFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthMonTxGoodFrames.setDescription('The total number of Good Frames Transmitted by this module.') atiL2EthMonTxTotalBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthMonTxTotalBytes.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthMonTxTotalBytes.setDescription('The total number of Bytes transmitted from this module.') atiL2EthMonTxDeferred = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthMonTxDeferred.setStatus('deprecated') if mibBuilder.loadTexts: atiL2EthMonTxDeferred.setDescription('This is the count of first time Transmission attempt which failed on an interface due to medium being busy.') atiL2EthMonTxCollisions = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthMonTxCollisions.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthMonTxCollisions.setDescription('The total number of collisions while switching on an interface.') atiL2EthMonTxBroadcastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthMonTxBroadcastFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthMonTxBroadcastFrames.setDescription('The total number of Transmit Broadcast Frames while switching on an interface.') atiL2EthMonTxMulticastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthMonTxMulticastFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthMonTxMulticastFrames.setDescription('The total number of Transmit Multicast while switching on an interface.') atiL2EthMonRxOverruns = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthMonRxOverruns.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthMonRxOverruns.setDescription('The total number of Recieved Overrun Frames while switching on an interface.') atiL2EthPortMonStatsTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2), ) if mibBuilder.loadTexts: atiL2EthPortMonStatsTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonStatsTable.setDescription('A list of statistics entries per Port on a Module.') atiL2EthPortMonStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1), ).setIndexNames((0, "AtiL2-MIB", "atiL2EthPortMonModuleId"), (0, "AtiL2-MIB", "atiL2EthPortMonPortId")) if mibBuilder.loadTexts: atiL2EthPortMonStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonStatsEntry.setDescription('A collection of statistics kept for a particular port.') atiL2EthPortMonModuleId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthPortMonModuleId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonModuleId.setDescription('This Object Identifies the Module Id for which the Statistics is collected.') atiL2EthPortMonPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthPortMonPortId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonPortId.setDescription('This Object Identifies the Port on the Module recognised by EthMonPortModuleId for which the Statistics is collected.') atiL2EthPortMonRxGoodFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthPortMonRxGoodFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonRxGoodFrames.setDescription('The total number of Good Frames received on this module.') atiL2EthPortMonTxGoodFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthPortMonTxGoodFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonTxGoodFrames.setDescription('The total number of Good Frames Transmitted by this module.') atiL2EthPortMonTxTotalBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthPortMonTxTotalBytes.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonTxTotalBytes.setDescription('The total number of Bytes transmitted from this module.') atiL2EthPortMonTxDeferred = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthPortMonTxDeferred.setStatus('deprecated') if mibBuilder.loadTexts: atiL2EthPortMonTxDeferred.setDescription('This is the count of first time Transmission attempt which failed on an interface due to medium being busy.') atiL2EthPortMonTxCollisions = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthPortMonTxCollisions.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonTxCollisions.setDescription('The total number of collisions while switching on an interface.') atiL2EthPortMonTxBroadcastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthPortMonTxBroadcastFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonTxBroadcastFrames.setDescription('The total number of Transmit Broadcast Frames on this port and Module while switching on an interface.') atiL2EthPortMonTxMulticastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthPortMonTxMulticastFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonTxMulticastFrames.setDescription('The total number of Transmit Multicast on this port and Module while switching on an interface.') atiL2EthPortMonRxOverruns = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthPortMonRxOverruns.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonRxOverruns.setDescription('The total number of Recieved Overrun Frames on this port and Module while switching on an interface.') atiL2EthErrStatsTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 1), ) if mibBuilder.loadTexts: atiL2EthErrStatsTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthErrStatsTable.setDescription('A list of statistics entries.') atiL2EthErrorStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 1, 1), ).setIndexNames((0, "AtiL2-MIB", "atiL2EthErrModuleId")) if mibBuilder.loadTexts: atiL2EthErrorStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthErrorStatsEntry.setDescription('A collection of statistics kept for a particular port.') atiL2EthErrModuleId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthErrModuleId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthErrModuleId.setDescription('This Object Identifies the Module Id for which the Statistics is collected.') atiL2EthErrorCRC = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthErrorCRC.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthErrorCRC.setDescription('The total number of CRC errors on received packets.') atiL2EthErrorAlignment = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthErrorAlignment.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthErrorAlignment.setDescription('The total number of packets received that has alignment errors.') atiL2EthErrorRxBadFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthErrorRxBadFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthErrorRxBadFrames.setDescription('The counter is incremented when a bad frame was received.') atiL2EthErrorLateCollisions = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthErrorLateCollisions.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthErrorLateCollisions.setDescription('This object counts the number of times the collison was detected in the port.') atiL2EthErrorTxTotal = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthErrorTxTotal.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthErrorTxTotal.setDescription('Total number of error resulted from transfer operations.') atiL2EthPortErrStatsTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 2), ) if mibBuilder.loadTexts: atiL2EthPortErrStatsTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortErrStatsTable.setDescription('A list of statistics entries.') atiL2EthPortErrorStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 2, 1), ).setIndexNames((0, "AtiL2-MIB", "atiL2EthPortErrModuleId"), (0, "AtiL2-MIB", "atiL2EthPortErrPortId")) if mibBuilder.loadTexts: atiL2EthPortErrorStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortErrorStatsEntry.setDescription('A collection of statistics kept for a particular port.') atiL2EthPortErrModuleId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthPortErrModuleId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortErrModuleId.setDescription('This Object Identifies the Module Id for which the Statistics is collected.') atiL2EthPortErrPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthPortErrPortId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortErrPortId.setDescription('This Object Identifies the Port on the Module recognised by the above Object for which the Statistics is collected.') atiL2EthPortErrorCRC = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthPortErrorCRC.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortErrorCRC.setDescription('The total number of CRC errors on received packets.') atiL2EthPortErrorAlignment = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthPortErrorAlignment.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortErrorAlignment.setDescription('The total number of packets received that has alignment errors.') atiL2EthPortErrorRxBadFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthPortErrorRxBadFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortErrorRxBadFrames.setDescription('The counter is incremented when a bad frame was received.') atiL2EthPortErrorLateCollisions = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthPortErrorLateCollisions.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortErrorLateCollisions.setDescription('This object counts the number of times the collison was detected in the port.') atiL2EthPortErrorTxTotal = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2EthPortErrorTxTotal.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortErrorTxTotal.setDescription('Total number of error resulted from transfer operations.') atiL2DevicePortTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1), ) if mibBuilder.loadTexts: atiL2DevicePortTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortTable.setDescription('Table of basic port configuration information.') atiL2DevicePortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1), ).setIndexNames((0, "AtiL2-MIB", "atiL2DeviceId"), (0, "AtiL2-MIB", "atiL2DevicePortNumber")) if mibBuilder.loadTexts: atiL2DevicePortEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortEntry.setDescription('An entry in the port config table.') atiL2DeviceId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2DeviceId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DeviceId.setDescription('This object identifies the Module Id of the switch Stack.') atiL2DevicePortNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2DevicePortNumber.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortNumber.setDescription('This object identifies the Port on atiL2ModuleId of the switch Stack.') atiL2DevicePortName = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2DevicePortName.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortName.setDescription('This attribute associates a user defined string name with the port.') atiL2DevicePortAutosenseOrHalfDuplex = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("portAutoSense", 1), ("forceHalfDuplex-10M", 2), ("forceHalfDuplex-100M", 3), ("forceFullDuplex-10M", 4), ("forceFullDuplex-100M", 5), ("forceHalfDuplex-1G", 6), ("forceFullDuplex-1G", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2DevicePortAutosenseOrHalfDuplex.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortAutosenseOrHalfDuplex.setDescription('This attribute allows an administrative request to configure whether this port can Autosense or Force the Half Duplex or Full Duplex on different Port Speeds.') atiL2DevicePortLinkState = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("online", 1), ("offline", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2DevicePortLinkState.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortLinkState.setDescription('This attribute allows an administrative request to read the status of link state on this port.') atiL2DevicePortDuplexStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("fullDuplex", 1), ("halfDuplex", 2), ("autosense", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2DevicePortDuplexStatus.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortDuplexStatus.setDescription('This attribute allows an administrative request to read the status of Duplex on this port.') atiL2DevicePortSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("tenMBits", 1), ("hundredMBits", 2), ("gigaBits", 3), ("unknown", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2DevicePortSpeed.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortSpeed.setDescription("This attribute allows an administrative request to read or write the speed of this port. This Object is valid only for 10/100Mbits and gigaBits ports. The only gigabit port that can be set is that of AT-A14 and it's values can be either 2 or 3.") atiL2DevicePortState = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("blocking", 3), ("listening", 4), ("learning", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2DevicePortState.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortState.setDescription('This attribute allows an administrative request to disable or enable communications on this port.It also responds with the status of the port .Except enabled(1) and disabled(2), all values are read-only status.') atiL2DevicePortTransmitPacingConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2DevicePortTransmitPacingConfig.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortTransmitPacingConfig.setDescription('This Object is supported on at36XX product line Only. This attribute allows the transmit Pacing to be enabled or disabled.') atiL2DevicePortSTPConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2DevicePortSTPConfig.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortSTPConfig.setDescription('This attribute allows a bridging Mode to be configured with either Spanning Tree enabled or disabled. When Spanning tree is enabled, make sure that this port is belonging to a valid Bridge_id. Spanning Tree is enabled only when a valid Bridge_id is set.') atiL2DevicePortBridgeid = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2DevicePortBridgeid.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortBridgeid.setDescription(' The Bridge to which this port belongs to.') atiL2DevicePortSTPCost = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2DevicePortSTPCost.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortSTPCost.setDescription('The Cost of the Spanning Tree Protocol.This object is valid only when STP is enabled.') atiL2DevicePortSTPPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2DevicePortSTPPriority.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortSTPPriority.setDescription(' The Priority of the spanning Tree Protocol. This object is valid when STP is enabled.') atiL2DevicePortFlowControlEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2DevicePortFlowControlEnable.setStatus('deprecated') if mibBuilder.loadTexts: atiL2DevicePortFlowControlEnable.setDescription('This per-port attribute describes whether the port identified has flow Control Enabled or not. Flow Control on Full Duplex and Half Duplex is detected and automatically, flow control accordingly is taken care of. By Default, Flow Control is Disabled.') atiL2DevicePortBackPressureEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2DevicePortBackPressureEnable.setStatus('deprecated') if mibBuilder.loadTexts: atiL2DevicePortBackPressureEnable.setDescription('This per-port attribute describes whether the port identified has Back Pressure Enabled or not. By Default, Back Pressure is Disabled.') atiL2DevicePortVlanTagPriorityConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("use-vlan-priority", 1), ("override-vlan-priority", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2DevicePortVlanTagPriorityConfig.setStatus('deprecated') if mibBuilder.loadTexts: atiL2DevicePortVlanTagPriorityConfig.setDescription('This per-port attribute allows the configuration of the Tag Priority to be Override or Use the Tag Priority. By Default, all ports use Vlan Tag priority.') atiL2DevicePortQOSPriorityConfig = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("high-priority", 1), ("normal-priority", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2DevicePortQOSPriorityConfig.setStatus('deprecated') if mibBuilder.loadTexts: atiL2DevicePortQOSPriorityConfig.setDescription('This per-port attribute is applicable only to at-8324, at-8124XL-V2 and at-8316 and it allows for the configuration of the Priority of the port to be high or Low. In a switch environment, Ports with high Priority and traffic from and to the ports get more priority when compared with those with normal priority. By Default, all ports have Normal Priority.') atiL2BasicVlanTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1), ) if mibBuilder.loadTexts: atiL2BasicVlanTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BasicVlanTable.setDescription('Table of Virtual LAN configured.') atiL2BasicVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1), ).setIndexNames((0, "AtiL2-MIB", "atiL2BeVlanIndex")) if mibBuilder.loadTexts: atiL2BasicVlanEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BasicVlanEntry.setDescription('An entry in the table, containing VLAN information.') atiL2BeVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BeVlanIndex.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanIndex.setDescription('This object identifies the VLAN.') atiL2BeVlanName = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 20))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BeVlanName.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanName.setDescription("This attribute associates a user defined string with the Virtual LAN. To configure a new VLAN, do 'set' operation on this object with the VLAN name. To delete a VLAN, do 'set' operation with string '*<module_num>', where <module_num> is the module number (1..8) from which the delete request is being sent. If a vlan is being created or modified, before configuring any of the objects in this row, set atiL2VlanStatus to 'under-construction' and once configured with all the information, set the same object to operational. This step is not required when deleting a vlan.") atiL2BeVlanTagId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BeVlanTagId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanTagId.setDescription("This object configures the VId in the Tag Information header in accordance with 802.1q spec. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") atiL2BeVlanModule1UntaggedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 4), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BeVlanModule1UntaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule1UntaggedPorts.setDescription("This Object builds the Output Ports on the Module that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12..15,18-22,26'. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") atiL2BeVlanModule1TaggedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BeVlanModule1TaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule1TaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") atiL2BeVlanModule2UntaggedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BeVlanModule2UntaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule2UntaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") atiL2BeVlanModule2TaggedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 7), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BeVlanModule2TaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule2TaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") atiL2BeVlanModule3UntaggedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 8), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BeVlanModule3UntaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule3UntaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") atiL2BeVlanModule3TaggedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 9), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BeVlanModule3TaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule3TaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") atiL2BeVlanModule4UntaggedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 10), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BeVlanModule4UntaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule4UntaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") atiL2BeVlanModule4TaggedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 11), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BeVlanModule4TaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule4TaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") atiL2BeVlanModule5UntaggedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 12), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BeVlanModule5UntaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule5UntaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") atiL2BeVlanModule5TaggedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 13), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BeVlanModule5TaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule5TaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") atiL2BeVlanModule6UntaggedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 14), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BeVlanModule6UntaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule6UntaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") atiL2BeVlanModule6TaggedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 15), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BeVlanModule6TaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule6TaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") atiL2BeVlanModule7UntaggedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 16), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BeVlanModule7UntaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule7UntaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") atiL2BeVlanModule7TaggedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 17), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BeVlanModule7TaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule7TaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") atiL2BeVlanModule8UntaggedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 18), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BeVlanModule8UntaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule8UntaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") atiL2BeVlanModule8TaggedPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 19), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BeVlanModule8TaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule8TaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") atiL2BeVlanRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("idle", 1), ("operational", 2), ("under-construction", 3), ("not-operational", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BeVlanRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanRowStatus.setDescription('This object is used to create or modify a vlan. The user should first set this object to under-construction. After the vlan name, the tag Id and the ports belonging to the vlan are configured/modified, this object should be set to operational. If it is not set to operational, the whole row will be lost and the vlan will not be configured in the switch.') atiL2Port2VlanTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 2), ) if mibBuilder.loadTexts: atiL2Port2VlanTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2Port2VlanTable.setDescription('Table of per port Virtual LAN configuration.') atiL2Port2VlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 2, 1), ).setIndexNames((0, "AtiL2-MIB", "atiL2PvModuleId"), (0, "AtiL2-MIB", "atiL2PvPortNumber")) if mibBuilder.loadTexts: atiL2Port2VlanEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2Port2VlanEntry.setDescription('An entry in the table, containing per port VLAN information.') atiL2PvModuleId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2PvModuleId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2PvModuleId.setDescription('This object identifies the Module Id on the switching Stack.') atiL2PvPortNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2PvPortNumber.setStatus('mandatory') if mibBuilder.loadTexts: atiL2PvPortNumber.setDescription('This object identifies the port on the Module atiL2PvModuleId .') atiL2PvVlanName = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 2, 1, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2PvVlanName.setStatus('mandatory') if mibBuilder.loadTexts: atiL2PvVlanName.setDescription('This attribute associates a user defined string with the Virtual LAN. This Object is the same as atiL2BeVlanName. Please make sure to give the same string as atiL2BeVlanName.') atiL2IfExtensions = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 9, 1)) atiIfExtnTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 33, 9, 1, 1), ) if mibBuilder.loadTexts: atiIfExtnTable.setStatus('mandatory') if mibBuilder.loadTexts: atiIfExtnTable.setDescription('A list of interface entries. The number of entries is given by the value of ifNumber.') atiIfExtnEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 33, 9, 1, 1, 1), ).setIndexNames((0, "AtiL2-MIB", "atiIfExtnIndex")) if mibBuilder.loadTexts: atiIfExtnEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiIfExtnEntry.setDescription('An interface entry containing objects at the subnetwork layer and below for a particular interface.') atiIfExtnIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 9, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiIfExtnIndex.setStatus('mandatory') if mibBuilder.loadTexts: atiIfExtnIndex.setDescription('A unique value for each interface corresponding to the ifIndex value for the same interface.') atiIfExtnModuleId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 9, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiIfExtnModuleId.setStatus('mandatory') if mibBuilder.loadTexts: atiIfExtnModuleId.setDescription('The unit number associated with this particular interface.') atiIfExtnPort = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 9, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiIfExtnPort.setStatus('mandatory') if mibBuilder.loadTexts: atiIfExtnPort.setDescription('The port number within a unit or slot.') atiL2BrBaseTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 1), ) if mibBuilder.loadTexts: atiL2BrBaseTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBaseTable.setDescription('Table of basic bridge information.') atiL2BrBaseEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 1, 1), ).setIndexNames((0, "AtiL2-MIB", "atiL2BrBaseLanId")) if mibBuilder.loadTexts: atiL2BrBaseEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBaseEntry.setDescription('An entry in the atiL2BrBaseTable.') atiL2BrBaseLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrBaseLanId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBaseLanId.setDescription('This object uniquely identifies the lan or Virtual lan.') atiL2BrBaseBridgeAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 1, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrBaseBridgeAddress.setReference('IEEE 802.1D-1990: Sections 6.4.1.1.3 and 3.12.5') if mibBuilder.loadTexts: atiL2BrBaseBridgeAddress.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBaseBridgeAddress.setDescription('The MAC address used by this bridge when it must be referred to in a unique fashion. It is recommended that this be the numerically smallest MAC address of all ports that belong to this bridge. However it is only required to be unique. When concatenated with atiL2BrStpPriority a unique BridgeIdentifier is formed which is used in the Spanning Tree Protocol.') atiL2BrBaseNumPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrBaseNumPorts.setReference('IEEE 802.1D-1990: Section 6.4.1.1.3') if mibBuilder.loadTexts: atiL2BrBaseNumPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBaseNumPorts.setDescription('The number of ports controlled by this bridging entity.') atiL2BrBaseType = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("unknown", 1), ("transparent-only", 2), ("sourceroute-only", 3), ("srt", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrBaseType.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBaseType.setDescription('Indicates what type of bridging this bridge can perform. If a bridge is actually performing a certain type of bridging this will be indicated by entries in the port table for the given type.') atiL2BrBasePortTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 4), ) if mibBuilder.loadTexts: atiL2BrBasePortTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBasePortTable.setDescription('A table that contains generic information about every port that is associated with this bridge. Transparent, source-route, and srt ports are included.') atiL2BrBasePortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 4, 1), ).setIndexNames((0, "AtiL2-MIB", "atiL2BrBasePortLanId"), (0, "AtiL2-MIB", "atiL2BrBasePort")) if mibBuilder.loadTexts: atiL2BrBasePortEntry.setReference('IEEE 802.1D-1990: Section 6.4.2, 6.6.1') if mibBuilder.loadTexts: atiL2BrBasePortEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBasePortEntry.setDescription('A list of information for each port of the bridge.') atiL2BrBasePortLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrBasePortLanId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBasePortLanId.setDescription('This object uniquely identifies the lan or Virtual lan.') atiL2BrBasePort = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrBasePort.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBasePort.setDescription('The port number of the port for which this entry contains bridge management information.') atiL2BrBasePortIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 4, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrBasePortIfIndex.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBasePortIfIndex.setDescription('The value of the instance of the ifIndex object, defined in MIB-II, for the interface corresponding to this port.') atiL2BrBasePortCircuit = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 4, 1, 4), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrBasePortCircuit.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBasePortCircuit.setDescription('For a port which (potentially) has the same value of atiL2BrBasePortIfIndex as another port on the same bridge, this object contains the name of an object instance unique to this port. For example, in the case where multiple ports correspond one- to-one with multiple X.25 virtual circuits, this value might identify an (e.g., the first) object instance associated with the X.25 virtual circuit corresponding to this port. For a port which has a unique value of atiL2BrBasePortIfIndex, this object can have the value { 0 0 }.') atiL2BrBasePortDelayExceededDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrBasePortDelayExceededDiscards.setReference('IEEE 802.1D-1990: Section 6.6.1.1.3') if mibBuilder.loadTexts: atiL2BrBasePortDelayExceededDiscards.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBasePortDelayExceededDiscards.setDescription('The number of frames discarded by this port due to excessive transit delay through the bridge. It is incremented by both transparent and source route bridges.') atiL2BrBasePortMtuExceededDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrBasePortMtuExceededDiscards.setReference('IEEE 802.1D-1990: Section 6.6.1.1.3') if mibBuilder.loadTexts: atiL2BrBasePortMtuExceededDiscards.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBasePortMtuExceededDiscards.setDescription('The number of frames discarded by this port due to an excessive size. It is incremented by both transparent and source route bridges.') atiL2BrStpTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1), ) if mibBuilder.loadTexts: atiL2BrStpTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpTable.setDescription('Table of bridge spanning tree information.') atiL2BrStpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1), ).setIndexNames((0, "AtiL2-MIB", "atiL2BrStpLanId")) if mibBuilder.loadTexts: atiL2BrStpEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpEntry.setDescription('An entry in the atiL2BrStpTable.') atiL2BrStpLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrStpLanId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpLanId.setDescription('This object uniquely identifies the lan or Virtual lan.') atiL2BrStpProtocolSpecification = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("unknown", 1), ("decLb100", 2), ("ieee8021d", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrStpProtocolSpecification.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpProtocolSpecification.setDescription("An indication of what version of the Spanning Tree Protocol is being run. The value 'decLb100(2)' indicates the DEC LANbridge 100 Spanning Tree protocol. IEEE 802.1d implementations will return 'ieee8021d(3)'. If future versions of the IEEE Spanning Tree Protocol are released that are incompatible with the current version a new value will be defined.") atiL2BrStpPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BrStpPriority.setReference('IEEE 802.1D-1990: Section 4.5.3.7') if mibBuilder.loadTexts: atiL2BrStpPriority.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPriority.setDescription('The value of the write-able portion of the Bridge ID, i.e., the first two octets of the (8 octet long) Bridge ID. The other (last) 6 octets of the Bridge ID are given by the value of atiL2BrBaseBridgeAddress.') atiL2BrStpTimeSinceTopologyChange = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 4), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrStpTimeSinceTopologyChange.setReference('IEEE 802.1D-1990: Section 6.8.1.1.3') if mibBuilder.loadTexts: atiL2BrStpTimeSinceTopologyChange.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpTimeSinceTopologyChange.setDescription('The time (in hundredths of a second) since the last time a topology change was detected by the bridge entity.') atiL2BrStpTopChanges = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrStpTopChanges.setReference('IEEE 802.1D-1990: Section 6.8.1.1.3') if mibBuilder.loadTexts: atiL2BrStpTopChanges.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpTopChanges.setDescription('The total number of topology changes detected by this bridge since the management entity was last reset or initialized.') atiL2BrStpDesignatedRoot = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 6), BridgeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrStpDesignatedRoot.setReference('IEEE 802.1D-1990: Section 4.5.3.1') if mibBuilder.loadTexts: atiL2BrStpDesignatedRoot.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpDesignatedRoot.setDescription('The bridge identifier of the root of the spanning tree as determined by the Spanning Tree Protocol as executed by this node. This value is used as the Root Identifier parameter in all Configuration Bridge PDUs originated by this node.') atiL2BrStpRootCost = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrStpRootCost.setReference('IEEE 802.1D-1990: Section 4.5.3.2') if mibBuilder.loadTexts: atiL2BrStpRootCost.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpRootCost.setDescription('The cost of the path to the root as seen from this bridge.') atiL2BrStpRootPort = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrStpRootPort.setReference('IEEE 802.1D-1990: Section 4.5.3.3') if mibBuilder.loadTexts: atiL2BrStpRootPort.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpRootPort.setDescription('The port number of the port which offers the lowest cost path from this bridge to the root bridge.') atiL2BrStpMaxAge = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 9), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrStpMaxAge.setReference('IEEE 802.1D-1990: Section 4.5.3.4') if mibBuilder.loadTexts: atiL2BrStpMaxAge.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpMaxAge.setDescription('The maximum age of Spanning Tree Protocol information learned from the network on any port before it is discarded, in units of hundredths of a second. This is the actual value that this bridge is currently using.') atiL2BrStpHelloTime = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 10), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrStpHelloTime.setReference('IEEE 802.1D-1990: Section 4.5.3.5') if mibBuilder.loadTexts: atiL2BrStpHelloTime.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpHelloTime.setDescription('The amount of time between the transmission of Configuration bridge PDUs by this node on any port when it is the root of the spanning tree or trying to become so, in units of hundredths of a second. This is the actual value that this bridge is currently using.') atiL2BrStpHoldTime = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrStpHoldTime.setReference('IEEE 802.1D-1990: Section 4.5.3.14') if mibBuilder.loadTexts: atiL2BrStpHoldTime.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpHoldTime.setDescription('This time value determines the interval length during which no more than two Configuration bridge PDUs shall be transmitted by this node, in units of hundredths of a second.') atiL2BrStpForwardDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 12), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrStpForwardDelay.setReference('IEEE 802.1D-1990: Section 4.5.3.6') if mibBuilder.loadTexts: atiL2BrStpForwardDelay.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpForwardDelay.setDescription('This time value, measured in units of hundredths of a second, controls how fast a port changes its spanning state when moving towards the Forwarding state. The value determines how long the port stays in each of the Listening and Learning states, which precede the Forwarding state. This value is also used, when a topology change has been detected and is underway, to age all dynamic entries in the Forwarding Database. [Note that this value is the one that this bridge is currently using, in contrast to atiL2BrStpBridgeForwardDelay which is the value that this bridge and all others would start using if/when this bridge were to become the root.]') atiL2BrStpBridgeMaxAge = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 13), Timeout().subtype(subtypeSpec=ValueRangeConstraint(600, 4000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BrStpBridgeMaxAge.setReference('IEEE 802.1D-1990: Section 4.5.3.8') if mibBuilder.loadTexts: atiL2BrStpBridgeMaxAge.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpBridgeMaxAge.setDescription('The value that all bridges use for MaxAge when this bridge is acting as the root. Note that 802.1D-1990 specifies that the range for this parameter is related to the value of atiL2BrStpBridgeHelloTime. The granularity of this timer is specified by 802.1D-1990 to be 1 second. An agent may return a badValue error if a set is attempted to a value which is not a whole number of seconds.') atiL2BrStpBridgeHelloTime = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 14), Timeout().subtype(subtypeSpec=ValueRangeConstraint(100, 1000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BrStpBridgeHelloTime.setReference('IEEE 802.1D-1990: Section 4.5.3.9') if mibBuilder.loadTexts: atiL2BrStpBridgeHelloTime.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpBridgeHelloTime.setDescription('The value that all bridges use for HelloTime when this bridge is acting as the root. The granularity of this timer is specified by 802.1D- 1990 to be 1 second. An agent may return a badValue error if a set is attempted to a value which is not a whole number of seconds.') atiL2BrStpBridgeForwardDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 15), Timeout().subtype(subtypeSpec=ValueRangeConstraint(400, 3000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BrStpBridgeForwardDelay.setReference('IEEE 802.1D-1990: Section 4.5.3.10') if mibBuilder.loadTexts: atiL2BrStpBridgeForwardDelay.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpBridgeForwardDelay.setDescription('The value that all bridges use for ForwardDelay when this bridge is acting as the root. Note that 802.1D-1990 specifies that the range for this parameter is related to the value of atiL2BrStpBridgeMaxAge. The granularity of this timer is specified by 802.1D-1990 to be 1 second. An agent may return a badValue error if a set is attempted to a value which is not a whole number of seconds.') atiL2BrStpPortTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15), ) if mibBuilder.loadTexts: atiL2BrStpPortTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortTable.setDescription('A table that contains port-specific information for the Spanning Tree Protocol.') atiL2BrStpPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1), ).setIndexNames((0, "AtiL2-MIB", "atiL2BrStpPortLanId"), (0, "AtiL2-MIB", "atiL2BrStpPort")) if mibBuilder.loadTexts: atiL2BrStpPortEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortEntry.setDescription('A list of information maintained by every port about the Spanning Tree Protocol state for that port.') atiL2BrStpPortLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrStpPortLanId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortLanId.setDescription('This object uniquely identifies the lan or Virtual lan.') atiL2BrStpPort = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrStpPort.setReference('IEEE 802.1D-1990: Section 6.8.2.1.2') if mibBuilder.loadTexts: atiL2BrStpPort.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPort.setDescription('The port number of the port for which this entry contains Spanning Tree Protocol management information.') atiL2BrStpPortPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BrStpPortPriority.setReference('IEEE 802.1D-1990: Section 4.5.5.1') if mibBuilder.loadTexts: atiL2BrStpPortPriority.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortPriority.setDescription('The value of the priority field which is contained in the first (in network byte order) octet of the (2 octet long) Port ID. The other octet of the Port ID is given by the value of atiL2BrStpPort.') atiL2BrStpPortState = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("disabled", 1), ("blocking", 2), ("listening", 3), ("learning", 4), ("forwarding", 5), ("broken", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrStpPortState.setReference('IEEE 802.1D-1990: Section 4.5.5.2') if mibBuilder.loadTexts: atiL2BrStpPortState.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortState.setDescription("The port's current state as defined by application of the Spanning Tree Protocol. This state controls what action a port takes on reception of a frame. If the bridge has detected a port that is malfunctioning it will place that port into the broken(6) state. For ports which are disabled (see atiL2BrStpPortEnable), this object will have a value of disabled(1).") atiL2BrStpPortEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BrStpPortEnable.setReference('IEEE 802.1D-1990: Section 4.5.5.2') if mibBuilder.loadTexts: atiL2BrStpPortEnable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortEnable.setDescription('The enabled/disabled status of the port.') atiL2BrStpPortPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BrStpPortPathCost.setReference('IEEE 802.1D-1990: Section 4.5.5.3') if mibBuilder.loadTexts: atiL2BrStpPortPathCost.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortPathCost.setDescription('The contribution of this port to the path cost of paths towards the spanning tree root which include this port. 802.1D-1990 recommends that the default value of this parameter be in inverse proportion to the speed of the attached LAN.') atiL2BrStpPortDesignatedRoot = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 7), BridgeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrStpPortDesignatedRoot.setReference('IEEE 802.1D-1990: Section 4.5.5.4') if mibBuilder.loadTexts: atiL2BrStpPortDesignatedRoot.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortDesignatedRoot.setDescription('The unique Bridge Identifier of the Bridge recorded as the Root in the Configuration BPDUs transmitted by the Designated Bridge for the segment to which the port is attached.') atiL2BrStpPortDesignatedCost = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrStpPortDesignatedCost.setReference('IEEE 802.1D-1990: Section 4.5.5.5') if mibBuilder.loadTexts: atiL2BrStpPortDesignatedCost.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortDesignatedCost.setDescription('The path cost of the Designated Port of the segment connected to this port. This value is compared to the Root Path Cost field in received bridge PDUs.') atiL2BrStpPortDesignatedBridge = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 9), BridgeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrStpPortDesignatedBridge.setReference('IEEE 802.1D-1990: Section 4.5.5.6') if mibBuilder.loadTexts: atiL2BrStpPortDesignatedBridge.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortDesignatedBridge.setDescription("The Bridge Identifier of the bridge which this port considers to be the Designated Bridge for this port's segment.") atiL2BrStpPortDesignatedPort = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrStpPortDesignatedPort.setReference('IEEE 802.1D-1990: Section 4.5.5.7') if mibBuilder.loadTexts: atiL2BrStpPortDesignatedPort.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortDesignatedPort.setDescription("The Port Identifier of the port on the Designated Bridge for this port's segment.") atiL2BrStpPortForwardTransitions = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrStpPortForwardTransitions.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortForwardTransitions.setDescription('The number of times this port has transitioned from the Learning state to the Forwarding state.') atiL2BrTpTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 1), ) if mibBuilder.loadTexts: atiL2BrTpTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpTable.setDescription('Table of transparent bridging information.') atiL2BrTpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 1, 1), ).setIndexNames((0, "AtiL2-MIB", "atiL2BrTpLanId")) if mibBuilder.loadTexts: atiL2BrTpEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpEntry.setDescription('An entry in the atiL2BrTpTable.') atiL2BrTpLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrTpLanId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpLanId.setDescription('This object uniquely identifies the lan or Virtual lan.') atiL2BrTpLearnedEntryDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrTpLearnedEntryDiscards.setReference('IEEE 802.1D-1990: Section 6.7.1.1.3') if mibBuilder.loadTexts: atiL2BrTpLearnedEntryDiscards.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpLearnedEntryDiscards.setDescription('The total number of Forwarding Database entries, which have been or would have been learnt, but have been discarded due to a lack of space to store them in the Forwarding Database. If this counter is increasing, it indicates that the Forwarding Database is regularly becoming full (a condition which has unpleasant performance effects on the subnetwork). If this counter has a significant value but is not presently increasing, it indicates that the problem has been occurring but is not persistent.') atiL2BrTpAgingTime = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 1000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2BrTpAgingTime.setReference('IEEE 802.1D-1990: Section 6.7.1.1.3') if mibBuilder.loadTexts: atiL2BrTpAgingTime.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpAgingTime.setDescription('The timeout period in seconds for aging out dynamically learned forwarding information. 802.1D-1990 recommends a default of 300 seconds.') atiL2BrTpFdbTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 3), ) if mibBuilder.loadTexts: atiL2BrTpFdbTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpFdbTable.setDescription('A table that contains information about unicast entries for which the bridge has forwarding and/or filtering information. This information is used by the transparent bridging function in determining how to propagate a received frame.') atiL2BrTpFdbEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 3, 1), ).setIndexNames((0, "AtiL2-MIB", "atiL2BrTpFdbLanId"), (0, "AtiL2-MIB", "atiL2BrTpFdbAddress")) if mibBuilder.loadTexts: atiL2BrTpFdbEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpFdbEntry.setDescription('Information about a specific unicast MAC address for which the bridge has some forwarding and/or filtering information.') atiL2BrTpFdbLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrTpFdbLanId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpFdbLanId.setDescription('This object uniquely identifies the lan or Virtual lan.') atiL2BrTpFdbAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 3, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrTpFdbAddress.setReference('IEEE 802.1D-1990: Section 3.9.1, 3.9.2') if mibBuilder.loadTexts: atiL2BrTpFdbAddress.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpFdbAddress.setDescription('A unicast MAC address for which the bridge has forwarding and/or filtering information.') atiL2BrTpFdbPort = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 3, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrTpFdbPort.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpFdbPort.setDescription("Either the value '0', or the port number of the port on which a frame having a source address equal to the value of the corresponding instance of atiL2BrTpFdbAddress has been seen. A value of '0' indicates that the port number has not been learned but that the bridge does have some forwarding/filtering information about this address . Implementors are encouraged to assign the port value to this object whenever it is learned even for addresses for which the corresponding value of atiL2BrTpFdbStatus is not learned(3).") atiL2BrTpFdbStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("inactive", 1), ("active", 2), ("other", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrTpFdbStatus.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpFdbStatus.setDescription('The status of this entry. The meanings of the values are: inactive(1) : this entry is not longer valid (e.g., it was learned but has since aged-out), but has not yet been flushed from the table. active(2) : the value of the corresponding instance of atiL2BrTpFdbPort was active, and is being used. other(3) : none of the following. This would include the case where some other MIB object (not the corresponding instance of atiL2BrTpFdbPort ) is being used to determine if and how frames addressed to the value of the corresponding instance of atiL2BrTpFdbAddress are being forwarded.') atiL2BrTpPortTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 4), ) if mibBuilder.loadTexts: atiL2BrTpPortTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpPortTable.setDescription('A table that contains information about every port that is associated with this transparent bridge.') atiL2BrTpPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 4, 1), ).setIndexNames((0, "AtiL2-MIB", "atiL2BrTpPortLanId"), (0, "AtiL2-MIB", "atiL2BrTpPort")) if mibBuilder.loadTexts: atiL2BrTpPortEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpPortEntry.setDescription('A list of information for each port of a transparent bridge.') atiL2BrTpPortLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrTpPortLanId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpPortLanId.setDescription('This object uniquely identifies the lan or Virtual lan.') atiL2BrTpPort = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrTpPort.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpPort.setDescription('The port number of the port for which this entry contains Transparent bridging management information.') atiL2BrTpPortMaxInfo = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 4, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrTpPortMaxInfo.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpPortMaxInfo.setDescription('The maximum size of the INFO (non-MAC) field that this port will receive or transmit.') atiL2BrTpPortInFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 4, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrTpPortInFrames.setReference('IEEE 802.1D-1990: Section 6.6.1.1.3') if mibBuilder.loadTexts: atiL2BrTpPortInFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpPortInFrames.setDescription('The number of frames that have been received by this port from its segment. Note that a frame received on the interface corresponding to this port is only counted by this object if and only if it is for a protocol being processed by the local bridging function, including bridge management frames.') atiL2BrTpPortOutFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 4, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrTpPortOutFrames.setReference('IEEE 802.1D-1990: Section 6.6.1.1.3') if mibBuilder.loadTexts: atiL2BrTpPortOutFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpPortOutFrames.setDescription('The number of frames that have been transmitted by this port to its segment. Note that a frame transmitted on the interface corresponding to this port is only counted by this object if and only if it is for a protocol being processed by the local bridging function, including bridge management frames.') atiL2BrTpPortInDiscards = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 4, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2BrTpPortInDiscards.setReference('IEEE 802.1D-1990: Section 6.6.1.1.3') if mibBuilder.loadTexts: atiL2BrTpPortInDiscards.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpPortInDiscards.setDescription('Count of valid frames received which were discarded (i.e., filtered) by the Forwarding Process.') atiL2TrapAttrModuleId = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 11, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))) if mibBuilder.loadTexts: atiL2TrapAttrModuleId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2TrapAttrModuleId.setDescription('This attribute is the Module Numver used when Traps pertinent to Module is sent.') atiL2TrapAttrPortId = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 11, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32))) if mibBuilder.loadTexts: atiL2TrapAttrPortId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2TrapAttrPortId.setDescription('This attribute is the Port Number used when Traps pertinent to Ports are sent.') newRoot = NotificationType((1, 3, 6, 1, 4, 1, 207) + (0,101)) if mibBuilder.loadTexts: newRoot.setDescription('The newRoot trap indicates that the sending agent has become the new root of the Spanning Tree; the trap is sent by a bridge soon after its election as the new root, e.g., upon expiration of the Topology Change Timer immediately subsequent to its election. Implementation of this trap is optional.') topologyChange = NotificationType((1, 3, 6, 1, 4, 1, 207) + (0,102)) if mibBuilder.loadTexts: topologyChange.setDescription('A topologyChange trap is sent by a bridge when any of its configured ports transitions from the Learning state to the Forwarding state, or from the Forwarding state to the Blocking state. The trap is not sent if a newRoot trap is sent for the same transition. Implementation of this trap is optional.') atiL2FanStopTrap = NotificationType((1, 3, 6, 1, 4, 1, 207) + (0,103)).setObjects(("AtiL2-MIB", "atiL2TrapAttrModuleId")) if mibBuilder.loadTexts: atiL2FanStopTrap.setDescription(' A Trap sent from the Module defined by the varable above when a fan from that Module stops.') atiL2TemperatureAbnormalTrap = NotificationType((1, 3, 6, 1, 4, 1, 207) + (0,104)).setObjects(("AtiL2-MIB", "atiL2TrapAttrModuleId")) if mibBuilder.loadTexts: atiL2TemperatureAbnormalTrap.setDescription(' A Trap sent from the Module defined by the varable above when temperature of the Module is abnormal.') atiL2PowerSupplyOutage = NotificationType((1, 3, 6, 1, 4, 1, 207) + (0,105)).setObjects(("AtiL2-MIB", "atiL2TrapAttrModuleId")) if mibBuilder.loadTexts: atiL2PowerSupplyOutage.setDescription(' A Trap sent from the Module defined by the varable above when one of the power supply goes down.') atiL2IntruderAlert = NotificationType((1, 3, 6, 1, 4, 1, 207) + (0,106)).setObjects(("AtiL2-MIB", "atiL2TrapAttrModuleId"), ("AtiL2-MIB", "atiL2TrapAttrPortId")) if mibBuilder.loadTexts: atiL2IntruderAlert.setDescription(' A Trap sent from the specified module and specified port when an intruder has been detected.') atiL2QOSStatus = MibScalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 12, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2QOSStatus.setStatus('mandatory') if mibBuilder.loadTexts: atiL2QOSStatus.setDescription('If the QOS status is enabled, then QOS packets will be assigned to high or low priority queue. If it is disabled, packets works normally.(Applicable only to at-8326GB, at-9410GB and at-8350GB)') atiL2TrafficMappingTable = MibTable((1, 3, 6, 1, 4, 1, 207, 8, 33, 12, 2), ) if mibBuilder.loadTexts: atiL2TrafficMappingTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2TrafficMappingTable.setDescription('It contains the mapping of all traffic classes and their priority assignments.(Applicable only to at-8326GB, at-9410GB and at-8350GB)') atiL2TrafficMappingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 207, 8, 33, 12, 2, 1), ).setIndexNames((0, "AtiL2-MIB", "atiL2TrafficClassIndex")) if mibBuilder.loadTexts: atiL2TrafficMappingEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2TrafficMappingEntry.setDescription("Each entry maps a traffic class to the priority queue to be used for it's packets. (Applicable only to at-8326GB, at-9410GB and at-8350GB)") atiL2TrafficClassIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 12, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: atiL2TrafficClassIndex.setStatus('mandatory') if mibBuilder.loadTexts: atiL2TrafficClassIndex.setDescription('The Index of the traffic class. It is obtained from the packet format.(Applicable only to at-8326GB, at-9410GB and at-8350GB)') atiL2PriorityQueue = MibTableColumn((1, 3, 6, 1, 4, 1, 207, 8, 33, 12, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("highest", 0), ("lowest", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: atiL2PriorityQueue.setStatus('mandatory') if mibBuilder.loadTexts: atiL2PriorityQueue.setDescription('The priority queue to be used to forward packets. (Applicable only to at-8326GB, at-9410GB and at-8350GB)') mibBuilder.exportSymbols("AtiL2-MIB", atiL2DHCPGroup=atiL2DHCPGroup, atiL2BrStp=atiL2BrStp, atiL2BeVlanModule6UntaggedPorts=atiL2BeVlanModule6UntaggedPorts, atiL2BrTpPortLanId=atiL2BrTpPortLanId, atiL2PriorityQueue=atiL2PriorityQueue, atiL2EthErrorStatsEntry=atiL2EthErrorStatsEntry, atiL2EthMonTxBroadcastFrames=atiL2EthMonTxBroadcastFrames, atiL2FanStopTrap=atiL2FanStopTrap, atiL2BrStpPortTable=atiL2BrStpPortTable, atiL2EthPortMonModuleId=atiL2EthPortMonModuleId, atiL2deviceIndex=atiL2deviceIndex, atiL2EthPortMonTxMulticastFrames=atiL2EthPortMonTxMulticastFrames, atiL2EthPortErrorCRC=atiL2EthPortErrorCRC, atiL2BrStpTopChanges=atiL2BrStpTopChanges, atiL2BrTpPortEntry=atiL2BrTpPortEntry, atiL2BrStpBridgeHelloTime=atiL2BrStpBridgeHelloTime, atiL2BrTpPortInDiscards=atiL2BrTpPortInDiscards, atiL2DevicePortAutosenseOrHalfDuplex=atiL2DevicePortAutosenseOrHalfDuplex, atiL2TrafficMappingEntry=atiL2TrafficMappingEntry, atiIfExtnModuleId=atiIfExtnModuleId, atiL2DHCPLeaseTimer=atiL2DHCPLeaseTimer, atiL2BrTpLearnedEntryDiscards=atiL2BrTpLearnedEntryDiscards, atiL2DevicePortEntry=atiL2DevicePortEntry, atiL2DevicePortState=atiL2DevicePortState, atiL2EthPortErrorStatsEntry=atiL2EthPortErrorStatsEntry, atiL2DevicePortVlanTagPriorityConfig=atiL2DevicePortVlanTagPriorityConfig, atiL2BrStpDesignatedRoot=atiL2BrStpDesignatedRoot, atiL2EthPortMonRxGoodFrames=atiL2EthPortMonRxGoodFrames, at_8316F=at_8316F, atiL2SwVersion=atiL2SwVersion, atiL2DHCPSysGroup=atiL2DHCPSysGroup, atiL2DeviceId=atiL2DeviceId, atiL2BrStpRootPort=atiL2BrStpRootPort, mibObject=mibObject, atiL2EthPortMonTxGoodFrames=atiL2EthPortMonTxGoodFrames, atiL2EthPortErrorLateCollisions=atiL2EthPortErrorLateCollisions, topologyChange=topologyChange, at_9410GB=at_9410GB, atiL2BrStpPortState=atiL2BrStpPortState, atiL2DevicePortName=atiL2DevicePortName, atiL2BrStpLanId=atiL2BrStpLanId, atiL2BrBaseLanId=atiL2BrBaseLanId, atiL2BeVlanModule8TaggedPorts=atiL2BeVlanModule8TaggedPorts, atiL2NwMgrIpAddr=atiL2NwMgrIpAddr, newRoot=newRoot, atiL2TemperatureAbnormalTrap=atiL2TemperatureAbnormalTrap, atiL2EthMonTxTotalBytes=atiL2EthMonTxTotalBytes, atiL2BrStpPortForwardTransitions=atiL2BrStpPortForwardTransitions, atiL2DevicePortSTPCost=atiL2DevicePortSTPCost, atiL2BrStpTimeSinceTopologyChange=atiL2BrStpTimeSinceTopologyChange, atiL2deviceDescr=atiL2deviceDescr, atiL2BeVlanModule5TaggedPorts=atiL2BeVlanModule5TaggedPorts, atiL2NwMgrEntry=atiL2NwMgrEntry, atiL2TrapAttrPortId=atiL2TrapAttrPortId, atiL2GlobalGroup=atiL2GlobalGroup, atiL2BeVlanModule5UntaggedPorts=atiL2BeVlanModule5UntaggedPorts, atiL2PvPortNumber=atiL2PvPortNumber, atiL2BrTpPortInFrames=atiL2BrTpPortInFrames, atiL2deviceSecurityAction=atiL2deviceSecurityAction, alliedTelesyn=alliedTelesyn, atiL2EthPortMonRxOverruns=atiL2EthPortMonRxOverruns, atiL2BeVlanModule2UntaggedPorts=atiL2BeVlanModule2UntaggedPorts, atiL2BrStpMaxAge=atiL2BrStpMaxAge, atiL2DHCPTimerGroup=atiL2DHCPTimerGroup, atiL2QOSStatus=atiL2QOSStatus, atiL2TrafficMappingTable=atiL2TrafficMappingTable, atiL2BrBasePortCircuit=atiL2BrBasePortCircuit, atiL2DNServer=atiL2DNServer, atiL2DevicePortQOSPriorityConfig=atiL2DevicePortQOSPriorityConfig, atiL2ConfiguredRouter=atiL2ConfiguredRouter, atiL2ConfiguredSubnetMask=atiL2ConfiguredSubnetMask, atiL2EthPortErrPortId=atiL2EthPortErrPortId, atiL2DevicePortTable=atiL2DevicePortTable, atiL2IfExt=atiL2IfExt, atiL2DevicePortSTPPriority=atiL2DevicePortSTPPriority, atiL2IntruderAlert=atiL2IntruderAlert, atiL2VlanConfigGroup=atiL2VlanConfigGroup, atiL2EthErrorAlignment=atiL2EthErrorAlignment, atiL2BrStpPortDesignatedCost=atiL2BrStpPortDesignatedCost, atiL2BeVlanModule2TaggedPorts=atiL2BeVlanModule2TaggedPorts, atiIfExtnEntry=atiIfExtnEntry, atiL2BrBasePortTable=atiL2BrBasePortTable, atiL2SwProduct=atiL2SwProduct, atiL2BrStpBridgeForwardDelay=atiL2BrStpBridgeForwardDelay, atiL2Reset=atiL2Reset, atiL2PvModuleId=atiL2PvModuleId, atiL2BridgeMib=atiL2BridgeMib, atiL2BeVlanModule1TaggedPorts=atiL2BeVlanModule1TaggedPorts, atiL2deviceDebugAvailableBytes=atiL2deviceDebugAvailableBytes, atiL2BrTpAgingTime=atiL2BrTpAgingTime, atiL2IPAddressStatus=atiL2IPAddressStatus, atiL2DeviceGroup=atiL2DeviceGroup, at_8350GB=at_8350GB, atiL2CurrentIpAddress=atiL2CurrentIpAddress, atiL2BrTpFdbAddress=atiL2BrTpFdbAddress, atiL2BeVlanModule4UntaggedPorts=atiL2BeVlanModule4UntaggedPorts, atiL2DevicePortSTPConfig=atiL2DevicePortSTPConfig, atiL2BeVlanTagId=atiL2BeVlanTagId, atiL2BrBaseNumPorts=atiL2BrBaseNumPorts, atiL2BrTpFdbEntry=atiL2BrTpFdbEntry, atiL2BrStpTable=atiL2BrStpTable, atiL2BrTpPortTable=atiL2BrTpPortTable, atiL2BrStpHelloTime=atiL2BrStpHelloTime, atiL2BrBasePortMtuExceededDiscards=atiL2BrBasePortMtuExceededDiscards, atiL2EthPortMonStatsTable=atiL2EthPortMonStatsTable, atiL2DHCPSubnetMask=atiL2DHCPSubnetMask, atiL2BeVlanModule8UntaggedPorts=atiL2BeVlanModule8UntaggedPorts, atiL2PowerSupplyOutage=atiL2PowerSupplyOutage, atiL2BrTpPortMaxInfo=atiL2BrTpPortMaxInfo, atiL2deviceSecurityConfig=atiL2deviceSecurityConfig, atiL2DevicePortNumber=atiL2DevicePortNumber, atiL2BrBasePortLanId=atiL2BrBasePortLanId, atiL2BasicVlanEntry=atiL2BasicVlanEntry, atiL2BrStpEntry=atiL2BrStpEntry, atiL2deviceTable=atiL2deviceTable, atiL2DevicePortConfigGroup=atiL2DevicePortConfigGroup, atiL2BrStpPortDesignatedBridge=atiL2BrStpPortDesignatedBridge, atiL2BeVlanModule7UntaggedPorts=atiL2BeVlanModule7UntaggedPorts, atiL2IpGroup=atiL2IpGroup, atiL2QOSConfigGroup=atiL2QOSConfigGroup, atiL2DHCPCurrentRelayAgentAddress=atiL2DHCPCurrentRelayAgentAddress, atiL2EthErrStatsTable=atiL2EthErrStatsTable, atiL2EthErrorLateCollisions=atiL2EthErrorLateCollisions, atiProduct=atiProduct, atiL2EthPortErrModuleId=atiL2EthPortErrModuleId, atiL2BrTp=atiL2BrTp, atiL2BeVlanIndex=atiL2BeVlanIndex, atiL2BrStpPort=atiL2BrStpPort, atiL2BrBaseTable=atiL2BrBaseTable, atiL2BrBasePortIfIndex=atiL2BrBasePortIfIndex, at_8124XL_V2=at_8124XL_V2, atiL2DeviceNumber=atiL2DeviceNumber, atiL2DevicePortSpeed=atiL2DevicePortSpeed, atiL2BeVlanModule6TaggedPorts=atiL2BeVlanModule6TaggedPorts, atiL2TrapAttrGroup=atiL2TrapAttrGroup, atiL2NMGroup=atiL2NMGroup, atiL2EthErrStatsGroup=atiL2EthErrStatsGroup, atiL2EthErrorTxTotal=atiL2EthErrorTxTotal, atiL2BrBase=atiL2BrBase, atiL2BrTpTable=atiL2BrTpTable, atiL2deviceMDA2Type=atiL2deviceMDA2Type, atiL2ConfiguredIpAddress=atiL2ConfiguredIpAddress, atiL2BeVlanModule3UntaggedPorts=atiL2BeVlanModule3UntaggedPorts, at_8326GB=at_8326GB, atiL2BeVlanName=atiL2BeVlanName, atiL2MirroringDestinationPort=atiL2MirroringDestinationPort, at_8324=at_8324, atiL2MirrorState=atiL2MirrorState, atiL2EthPortMonPortId=atiL2EthPortMonPortId, atiL2PvVlanName=atiL2PvVlanName, atiIfExtnPort=atiIfExtnPort, atiL2BrBasePortEntry=atiL2BrBasePortEntry, atiL2TrapAttrModuleId=atiL2TrapAttrModuleId, atiL2BrStpPortDesignatedPort=atiL2BrStpPortDesignatedPort, atiL2BrStpPortPathCost=atiL2BrStpPortPathCost, atiL2BrTpFdbStatus=atiL2BrTpFdbStatus, atiL2DevicePortBackPressureEnable=atiL2DevicePortBackPressureEnable, atiL2EthMonStatsGroup=atiL2EthMonStatsGroup, atiIfExtnIndex=atiIfExtnIndex, atiL2EthMonModuleId=atiL2EthMonModuleId, MacAddress=MacAddress, atiL2BrBaseBridgeAddress=atiL2BrBaseBridgeAddress, atiL2BrTpPort=atiL2BrTpPort, atiL2deviceMDA1Type=atiL2deviceMDA1Type, atiL2BrTpLanId=atiL2BrTpLanId, atiL2EthMonTxCollisions=atiL2EthMonTxCollisions, atiL2deviceProductType=atiL2deviceProductType, atiL2MirroringSourceModule=atiL2MirroringSourceModule, atiL2DevicePortTransmitPacingConfig=atiL2DevicePortTransmitPacingConfig, atiL2IfExtensions=atiL2IfExtensions, atiL2DHCPExpirationTimer=atiL2DHCPExpirationTimer, atiL2EthMonTxGoodFrames=atiL2EthMonTxGoodFrames, atiL2EthPortMonTxTotalBytes=atiL2EthPortMonTxTotalBytes, atiL2BrBaseEntry=atiL2BrBaseEntry, Timeout=Timeout, atiL2deviceEntry=atiL2deviceEntry, atiL2EthPortErrorTxTotal=atiL2EthPortErrorTxTotal, atiL2EthMonTxDeferred=atiL2EthMonTxDeferred, atiL2DevicePortFlowControlEnable=atiL2DevicePortFlowControlEnable, atiL2BrStpRootCost=atiL2BrStpRootCost, atiL2BeVlanModule7TaggedPorts=atiL2BeVlanModule7TaggedPorts, atiL2IGMPState=atiL2IGMPState, atiL2BeVlanModule1UntaggedPorts=atiL2BeVlanModule1UntaggedPorts, atiL2BeVlanModule3TaggedPorts=atiL2BeVlanModule3TaggedPorts, atiL2DHCPReacquisitionTimer=atiL2DHCPReacquisitionTimer, atiL2BrTpPortOutFrames=atiL2BrTpPortOutFrames, atiL2EthPortMonTxCollisions=atiL2EthPortMonTxCollisions, atiL2BrStpPortEntry=atiL2BrStpPortEntry, atiL2BrStpPortDesignatedRoot=atiL2BrStpPortDesignatedRoot, atiL2DHCPCurrentDHCPClientAddress=atiL2DHCPCurrentDHCPClientAddress, atiL2MirroringSourcePort=atiL2MirroringSourcePort, atiL2EthMonRxOverruns=atiL2EthMonRxOverruns, atiL2BrBasePortDelayExceededDiscards=atiL2BrBasePortDelayExceededDiscards, atiL2BrStpHoldTime=atiL2BrStpHoldTime, atiL2NwMgrTable=atiL2NwMgrTable, atiL2BrStpPortEnable=atiL2BrStpPortEnable, atiL2BeVlanRowStatus=atiL2BeVlanRowStatus, atiL2EthPortMonStatsEntry=atiL2EthPortMonStatsEntry, atiL2EthPortErrorRxBadFrames=atiL2EthPortErrorRxBadFrames, atiIfExtnTable=atiIfExtnTable, atiL2BrStpPortLanId=atiL2BrStpPortLanId, atiL2BrStpProtocolSpecification=atiL2BrStpProtocolSpecification, atiL2BrTpFdbLanId=atiL2BrTpFdbLanId, atiL2BeVlanModule4TaggedPorts=atiL2BeVlanModule4TaggedPorts, atiL2NwMgrIndex=atiL2NwMgrIndex, atiL2Port2VlanTable=atiL2Port2VlanTable, atiL2EthPortMonTxDeferred=atiL2EthPortMonTxDeferred, atiL2EthErrorCRC=atiL2EthErrorCRC, atiL2BrStpBridgeMaxAge=atiL2BrStpBridgeMaxAge, atiL2BrStpPortPriority=atiL2BrStpPortPriority, atiL2EthPortMonTxBroadcastFrames=atiL2EthPortMonTxBroadcastFrames, atiL2EthErrorRxBadFrames=atiL2EthErrorRxBadFrames, atiL2DefaultDomainName=atiL2DefaultDomainName, BridgeId=BridgeId, atiL2EthPortErrorAlignment=atiL2EthPortErrorAlignment, atiL2BrBaseType=atiL2BrBaseType, atiL2BrBasePort=atiL2BrBasePort, atiL2EthPortErrStatsTable=atiL2EthPortErrStatsTable, atiL2BrTpFdbTable=atiL2BrTpFdbTable, atiL2BrTpEntry=atiL2BrTpEntry, atiL2BrStpForwardDelay=atiL2BrStpForwardDelay, atiL2devicePortCount=atiL2devicePortCount, atiL2BrStpPriority=atiL2BrStpPriority, swhub=swhub, atiL2DHCPNextDHCPServerAddress=atiL2DHCPNextDHCPServerAddress, atiL2EthernetStatsGroup=atiL2EthernetStatsGroup, atiL2EthMonStatsEntry=atiL2EthMonStatsEntry, atiL2EthMonRxGoodFrames=atiL2EthMonRxGoodFrames, atiL2EthErrModuleId=atiL2EthErrModuleId, atiL2Port2VlanEntry=atiL2Port2VlanEntry, atiL2TrafficClassIndex=atiL2TrafficClassIndex, atiL2deviceReset=atiL2deviceReset, atiL2EthMonStatsTable=atiL2EthMonStatsTable, atiL2Mib=atiL2Mib, atiL2DevicePortDuplexStatus=atiL2DevicePortDuplexStatus, atiL2EthMonTxMulticastFrames=atiL2EthMonTxMulticastFrames, atiL2BasicVlanTable=atiL2BasicVlanTable, atiL2DevicePortLinkState=atiL2DevicePortLinkState, atiL2DevicePortBridgeid=atiL2DevicePortBridgeid, atiL2MirroringDestinationModule=atiL2MirroringDestinationModule, atiL2BrTpFdbPort=atiL2BrTpFdbPort)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_size_constraint, value_range_constraint, constraints_intersection, constraints_union, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ConstraintsUnion', 'SingleValueConstraint') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (enterprises, counter32, module_identity, iso, time_ticks, ip_address, integer32, counter64, mib_identifier, notification_type, gauge32, bits, unsigned32, object_identity, notification_type, mib_scalar, mib_table, mib_table_row, mib_table_column) = mibBuilder.importSymbols('SNMPv2-SMI', 'enterprises', 'Counter32', 'ModuleIdentity', 'iso', 'TimeTicks', 'IpAddress', 'Integer32', 'Counter64', 'MibIdentifier', 'NotificationType', 'Gauge32', 'Bits', 'Unsigned32', 'ObjectIdentity', 'NotificationType', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') class Macaddress(OctetString): subtype_spec = OctetString.subtypeSpec + value_size_constraint(6, 6) fixed_length = 6 class Bridgeid(OctetString): subtype_spec = OctetString.subtypeSpec + value_size_constraint(8, 8) fixed_length = 8 class Timeout(Integer32): pass allied_telesyn = mib_identifier((1, 3, 6, 1, 4, 1, 207)) ati_product = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1)) swhub = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4)) at_8324 = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 37)).setLabel('at-8324') at_8124_xl_v2 = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 52)).setLabel('at-8124XL-V2') at_8326_gb = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 72)).setLabel('at-8326GB') at_9410_gb = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 73)).setLabel('at-9410GB') at_8350_gb = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 74)).setLabel('at-8350GB') at_8316_f = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 77)).setLabel('at-8316F') mib_object = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8)) ati_l2_mib = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 33)) ati_l2_global_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 1)) ati_l2_ip_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 2)) ati_l2_nm_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 3)) ati_l2_dhcp_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 4)) ati_l2_device_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 5)) ati_l2_ethernet_stats_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 6)) ati_l2_device_port_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 7)) ati_l2_vlan_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 8)) ati_l2_if_ext = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 9)) ati_l2_bridge_mib = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 10)) ati_l2_br_base = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1)) ati_l2_br_stp = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2)) ati_l2_br_tp = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3)) ati_l2_trap_attr_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 11)) ati_l2_qos_config_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 12)) ati_l2_sw_product = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2SwProduct.setStatus('mandatory') if mibBuilder.loadTexts: atiL2SwProduct.setDescription('Identifies the software product the device is running.') ati_l2_sw_version = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2SwVersion.setStatus('mandatory') if mibBuilder.loadTexts: atiL2SwVersion.setDescription(' Identifies the version number of the present release.') ati_l2_reset = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('switch-no-reset', 1), ('switch-reset', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2Reset.setStatus('mandatory') if mibBuilder.loadTexts: atiL2Reset.setDescription(' Object use to reset all the Modules globally.') ati_l2_mirroring_source_module = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 1, 4), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2MirroringSourceModule.setStatus('mandatory') if mibBuilder.loadTexts: atiL2MirroringSourceModule.setDescription(" This is the mirror source module number. If the atiL2EthConfigMirrorState is Enabled then the mirror source module/port data gets routed to the mirror destination module/port. Both transmitted and recieved source activity is mirrored to the destination. This arrangement is to put an RMON Probe on the destination port to probe the traffic on the Source port. This object will return a '0' if the MirrorState is not enabled.") ati_l2_mirroring_source_port = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 1, 5), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2MirroringSourcePort.setStatus('mandatory') if mibBuilder.loadTexts: atiL2MirroringSourcePort.setDescription(" This is the Source port number for which there is another mirror port.If the atiL2EthConfigMirrorState is Enabled then the mirror portgets routed with all the packets going in and out of Source port. This arrangement is to put an RMON Probe on mirrored port to Probe the traffic on the Source port. One of the port is dedicated to this so that for any port as source port, this dedicated port can be a mirrored port. This object will return a '0' if the MirrorState is not enabled.") ati_l2_mirroring_destination_module = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 1, 6), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2MirroringDestinationModule.setStatus('mandatory') if mibBuilder.loadTexts: atiL2MirroringDestinationModule.setDescription(" This is the mirror destination module number. If the atiL2EthConfigMirrorState is Enabled then the mirror source module/port data gets routed to the mirror destination module/port. Both transmitted and recieved source activity is mirrored to the destination. This arrangement is to put an RMON Probe on the destination port to probe the traffic on the Source port. This object will return a '0' if the MirrorState is not enabled.") ati_l2_mirroring_destination_port = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 1, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2MirroringDestinationPort.setStatus('mandatory') if mibBuilder.loadTexts: atiL2MirroringDestinationPort.setDescription(" This is the Destination port number for which there is another mirror port.If the atiL2EthConfigMirrorState is Enabled then,the mirror portgets routed with all the packets going in and out of Destination port. This arrangement is to put an RMON Probe on mirrored port to Probe the traffic on the Destination port. One of the port is dedicated to this so that for any port as destination port, this dedicated port can be a mirrored port. This object will return a '0' if the MirrorState is not enabled.") ati_l2_mirror_state = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('receive-and-transmit', 1), ('disabled', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2MirrorState.setStatus('mandatory') if mibBuilder.loadTexts: atiL2MirrorState.setDescription(' if the state of Mirroring is enabled by selecting one of the two values , then the Mirroring explained above works. If disabled, port operation works normally. No Traffic gets routed from MirroringSourcePort to Destination Mirrored Port.') ati_l2_igmp_state = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2IGMPState.setStatus('mandatory') if mibBuilder.loadTexts: atiL2IGMPState.setDescription('This attribute allows an administrative request to configure IGMP') ati_l2_device_number = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 1, 10), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2DeviceNumber.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DeviceNumber.setDescription('The total number of devices in the stack.') ati_l2_current_ip_address = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 2, 1), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2CurrentIpAddress.setStatus('mandatory') if mibBuilder.loadTexts: atiL2CurrentIpAddress.setDescription(' The Current IP address is the one which is currently used and is obtained dynamically through one of the protocols interaction.( DHCP or Bootp.) This address is NULL if the Address is Statically configured.') ati_l2_configured_ip_address = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 2, 2), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2ConfiguredIpAddress.setStatus('mandatory') if mibBuilder.loadTexts: atiL2ConfiguredIpAddress.setDescription(' The Configured IP address of the device. This is the address configured through Network or Local Omega. ') ati_l2_configured_subnet_mask = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 2, 3), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2ConfiguredSubnetMask.setStatus('mandatory') if mibBuilder.loadTexts: atiL2ConfiguredSubnetMask.setDescription(' The Configured Subnet Mask of the device.') ati_l2_configured_router = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 2, 4), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2ConfiguredRouter.setStatus('mandatory') if mibBuilder.loadTexts: atiL2ConfiguredRouter.setDescription(' The Configured Gateway/Router address of the device') ati_l2_ip_address_status = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 2, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('from-dhcp', 1), ('from-bootp', 2), ('from-psuedoip', 3), ('from-Omega', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2IPAddressStatus.setStatus('mandatory') if mibBuilder.loadTexts: atiL2IPAddressStatus.setDescription(' The IP Address can be obtained/configured by any of the above different ways. This object specifies how IP address currently on the switch Box, was configured/obtained.') ati_l2_dn_server = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 2, 6), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2DNServer.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DNServer.setDescription(' The Configured DNS Server address of the device') ati_l2_default_domain_name = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 2, 7), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2DefaultDomainName.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DefaultDomainName.setDescription(' This Object defines the Default Domain where this switch can be belong to.') ati_l2_nw_mgr_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 33, 3, 1)) if mibBuilder.loadTexts: atiL2NwMgrTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2NwMgrTable.setDescription('A list of SNMP Trap Manager stations Entries. The number of entries is given by the switchNwMgrTotal mib object.') ati_l2_nw_mgr_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 33, 3, 1, 1)).setIndexNames((0, 'AtiL2-MIB', 'atiL2NwMgrIndex')) if mibBuilder.loadTexts: atiL2NwMgrEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2NwMgrEntry.setDescription("Trap receipt Manager Entry containing ipaddress of the configured NMS's to which Traps are sent.") ati_l2_nw_mgr_index = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 3, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2NwMgrIndex.setStatus('mandatory') if mibBuilder.loadTexts: atiL2NwMgrIndex.setDescription('The Index of the Managers Ip address.') ati_l2_nw_mgr_ip_addr = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 3, 1, 1, 2), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2NwMgrIpAddr.setStatus('mandatory') if mibBuilder.loadTexts: atiL2NwMgrIpAddr.setDescription('The IP Address of the NMS host configured.') ati_l2_dhcp_sys_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 4, 1)) ati_l2_dhcp_timer_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 4, 2)) ati_l2_dhcp_current_dhcp_client_address = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 4, 1, 1), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2DHCPCurrentDHCPClientAddress.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DHCPCurrentDHCPClientAddress.setDescription('Current IP address of the client. To start with,it might be null. This is filled by the server when sending a DHCPOFFER and the client uses the most comfortable offer from offers sent by different DHCP servers. A DHCPREQUEST packet is sent with the Client address agreed upon to the selected server ( Broadcast). Server Acks back this packet which is where Client/Server moves to the Bound state. Once reached into Bound state, the client address is made the official address on the client.') ati_l2_dhcp_subnet_mask = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 4, 1, 2), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2DHCPSubnetMask.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DHCPSubnetMask.setDescription('When the client/server reaches the BOUND state, this is one of the parameters set by the server.') ati_l2_dhcp_current_relay_agent_address = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 4, 1, 3), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2DHCPCurrentRelayAgentAddress.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DHCPCurrentRelayAgentAddress.setDescription('The IP address of the DHCP relay Agent on the same subnet. Normally there will be no DHCP server on each of the subnet and this Relay Agent will act in sending server across the subnets. There might not be any relay agent. This depends on the network Toplogy like where is the DHCP server and DHCP client.') ati_l2_dhcp_next_dhcp_server_address = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 4, 1, 4), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2DHCPNextDHCPServerAddress.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DHCPNextDHCPServerAddress.setDescription('The IP address of the next DHCP server to be used during bootstrap. This address is sent by the DHCP server in the messages DHCPOFFER, DHCPACK,DHCPNACK.') ati_l2_dhcp_lease_timer = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 4, 2, 1), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2DHCPLeaseTimer.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DHCPLeaseTimer.setDescription('When the client/server reaches the BOUND state, this is one of the parameters set by the server. The lease time period in seconds for the DHCP client for using IP address on lease from the server. At the end of 50% of this timer a renewal request is sent by the client . This is the next Object atiL2DHCPReacquisitionTimer.') ati_l2_dhcp_reacquisition_timer = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 4, 2, 2), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2DHCPReacquisitionTimer.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DHCPReacquisitionTimer.setDescription("When the client/server reaches the BOUND state, this is one of the parameters set by the server. Mentioned in RFC2131 4.4.5 as T1, this renewal time period in secs for the DHCP client is for using IP address on lease from the server Once the Reacquisition Timer period in secs after the lease period is reached, the client sends a DHCPREQUEST to the DHCP server requesting for renewal of the lease. Default would be 50% of the Lease timer which is represeneted by the above object. The client moves from BOUND to RENEW state once the DHCPREQUEST is sent after time T1 secs is passed from the start of to release time. T1 is always less than T2 ( see below for 'T2') which is less than the lease Timer period.") ati_l2_dhcp_expiration_timer = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 4, 2, 3), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2DHCPExpirationTimer.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DHCPExpirationTimer.setDescription('When the client/server reaches the BOUND state, this is one of the parameters set by the server. Mentioned in RFC2131 4.4.5 as T2,this Expiration time period in secs is the time period in secs during which DHCP has gone through the BOUND->RENEWAL state. After T1 secs and when the state machine reaches T2 secs, ( T1 < T2 < lease period), DHCP client sends another DHCPREQUEST to the server asking the server to renew the lease for the IP parameters. By default it would be 87.5% of the Lease timer .If there is DHCPACK then the DHCP client moves from REBIND to BOUND. Else it moves to INIT state where it starts all over again sending a request for DHCPDISCOVER.') ati_l2device_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1)) if mibBuilder.loadTexts: atiL2deviceTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceTable.setDescription('The table contains the mapping of all devices in the chassis.') ati_l2device_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1)).setIndexNames((0, 'AtiL2-MIB', 'atiL2deviceIndex')) if mibBuilder.loadTexts: atiL2deviceEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceEntry.setDescription('The device entry in the DeviceTable.') ati_l2device_index = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2deviceIndex.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceIndex.setDescription('The Slot number in the chassis where the device is installed.') ati_l2device_descr = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2deviceDescr.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceDescr.setDescription('A textual description of the device.') ati_l2device_product_type = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 20))).clone(namedValues=named_values(('at-8324', 1), ('at-8316F', 2), ('at-8124XL-V2', 3), ('at-8326GB', 4), ('at-9410GB', 5), ('at-8350GB', 6), ('other', 20)))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2deviceProductType.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceProductType.setDescription('This object will return Product Type.') ati_l2device_port_count = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 1024))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2devicePortCount.setStatus('mandatory') if mibBuilder.loadTexts: atiL2devicePortCount.setDescription('The number of ports contained within the device. Valid range is 1-32. Within each device, the ports are uniquely numbered in the range from 1 to maxportCapacity.') ati_l2device_security_config = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('disabled', 1), ('enabled-with-learning-locked', 2), ('limited-enabled', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2deviceSecurityConfig.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceSecurityConfig.setDescription('Security feature configuration Object.The Security disable would let the device carry on the learn-new-address-as-it-comes-in mode as usual.When security is enabled-with-learning-locked, the learning of new address is stopped and the addresses locked in the device is used as the security Database. If an address comes in which is not present in the Device Security Database, then any of the atiL2SecurityAction Configured is triggered. When limited-enabled is selected, a per-port atiL2PortSecurityNumberOfAddresses specify the max number of MACs to be learned.') ati_l2device_security_action = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('send-trap-only', 1), ('disable-port-only', 2), ('disable-port-and-send-trap', 3), ('do-nothing', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2deviceSecurityAction.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceSecurityAction.setDescription('Security Action to be carried when the atiL2SecurityConfig is enabled-with-learning-locked or limted-enabled.') ati_l2device_debug_available_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2deviceDebugAvailableBytes.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceDebugAvailableBytes.setDescription('This is strictly for Debug reason and this object should not be believed as the correct number.') ati_l2device_mda1_type = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('ten-100rj45-mii', 1), ('hundredfiber-mii', 2), ('oneGb-rj45', 3), ('oneGb-Fiber', 4), ('none', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2deviceMDA1Type.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceMDA1Type.setDescription("This object returns the MDA type of the Uplink port. The values of 1 and 2 are the only one present in 81XX. 82XX has all the values supported. This object returns the MDA type of the Uplink Port named 'A'. It returns 'none' if a 'A' MDA slot is not installed.") ati_l2device_mda2_type = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('ten-100rj45-mii', 1), ('hundredfiber-mii', 2), ('oneGb-rj45', 3), ('oneGb-Fiber', 4), ('none', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2deviceMDA2Type.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceMDA2Type.setDescription("This Object is supported in 81XX 82XX product lines. The values of 1 and 2 are the only one present in 81XX. 82XX has all the values supported. This object returns the MDA type of the Uplink Port named 'B'. It returns 'none' if a 'B' MDA slot is not installed.") ati_l2device_reset = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 5, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('switch-no-reset', 1), ('switch-reset', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2deviceReset.setStatus('mandatory') if mibBuilder.loadTexts: atiL2deviceReset.setDescription("Setting this object to 'switch-reset' will cause the switch to perform a hardware reset within approximately 4-6 seconds. Setting this object to 'switch-no-reset will have no effect. The value 'no-reset' will be returned whenever this object is retrieved.") ati_l2_eth_mon_stats_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1)) ati_l2_eth_err_stats_group = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2)) ati_l2_eth_mon_stats_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1)) if mibBuilder.loadTexts: atiL2EthMonStatsTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthMonStatsTable.setDescription('A list of statistics entries.') ati_l2_eth_mon_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1, 1)).setIndexNames((0, 'AtiL2-MIB', 'atiL2EthMonModuleId')) if mibBuilder.loadTexts: atiL2EthMonStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthMonStatsEntry.setDescription('A collection of statistics kept for a particular port.') ati_l2_eth_mon_module_id = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthMonModuleId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthMonModuleId.setDescription('This Object Identifies the Module Id for which the Statistics is collected.') ati_l2_eth_mon_rx_good_frames = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthMonRxGoodFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthMonRxGoodFrames.setDescription('The total number of Good Frames received on this module.') ati_l2_eth_mon_tx_good_frames = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthMonTxGoodFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthMonTxGoodFrames.setDescription('The total number of Good Frames Transmitted by this module.') ati_l2_eth_mon_tx_total_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthMonTxTotalBytes.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthMonTxTotalBytes.setDescription('The total number of Bytes transmitted from this module.') ati_l2_eth_mon_tx_deferred = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthMonTxDeferred.setStatus('deprecated') if mibBuilder.loadTexts: atiL2EthMonTxDeferred.setDescription('This is the count of first time Transmission attempt which failed on an interface due to medium being busy.') ati_l2_eth_mon_tx_collisions = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthMonTxCollisions.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthMonTxCollisions.setDescription('The total number of collisions while switching on an interface.') ati_l2_eth_mon_tx_broadcast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthMonTxBroadcastFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthMonTxBroadcastFrames.setDescription('The total number of Transmit Broadcast Frames while switching on an interface.') ati_l2_eth_mon_tx_multicast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthMonTxMulticastFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthMonTxMulticastFrames.setDescription('The total number of Transmit Multicast while switching on an interface.') ati_l2_eth_mon_rx_overruns = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 1, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthMonRxOverruns.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthMonRxOverruns.setDescription('The total number of Recieved Overrun Frames while switching on an interface.') ati_l2_eth_port_mon_stats_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2)) if mibBuilder.loadTexts: atiL2EthPortMonStatsTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonStatsTable.setDescription('A list of statistics entries per Port on a Module.') ati_l2_eth_port_mon_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1)).setIndexNames((0, 'AtiL2-MIB', 'atiL2EthPortMonModuleId'), (0, 'AtiL2-MIB', 'atiL2EthPortMonPortId')) if mibBuilder.loadTexts: atiL2EthPortMonStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonStatsEntry.setDescription('A collection of statistics kept for a particular port.') ati_l2_eth_port_mon_module_id = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthPortMonModuleId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonModuleId.setDescription('This Object Identifies the Module Id for which the Statistics is collected.') ati_l2_eth_port_mon_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthPortMonPortId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonPortId.setDescription('This Object Identifies the Port on the Module recognised by EthMonPortModuleId for which the Statistics is collected.') ati_l2_eth_port_mon_rx_good_frames = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthPortMonRxGoodFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonRxGoodFrames.setDescription('The total number of Good Frames received on this module.') ati_l2_eth_port_mon_tx_good_frames = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthPortMonTxGoodFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonTxGoodFrames.setDescription('The total number of Good Frames Transmitted by this module.') ati_l2_eth_port_mon_tx_total_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthPortMonTxTotalBytes.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonTxTotalBytes.setDescription('The total number of Bytes transmitted from this module.') ati_l2_eth_port_mon_tx_deferred = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthPortMonTxDeferred.setStatus('deprecated') if mibBuilder.loadTexts: atiL2EthPortMonTxDeferred.setDescription('This is the count of first time Transmission attempt which failed on an interface due to medium being busy.') ati_l2_eth_port_mon_tx_collisions = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthPortMonTxCollisions.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonTxCollisions.setDescription('The total number of collisions while switching on an interface.') ati_l2_eth_port_mon_tx_broadcast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthPortMonTxBroadcastFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonTxBroadcastFrames.setDescription('The total number of Transmit Broadcast Frames on this port and Module while switching on an interface.') ati_l2_eth_port_mon_tx_multicast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthPortMonTxMulticastFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonTxMulticastFrames.setDescription('The total number of Transmit Multicast on this port and Module while switching on an interface.') ati_l2_eth_port_mon_rx_overruns = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 1, 2, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthPortMonRxOverruns.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortMonRxOverruns.setDescription('The total number of Recieved Overrun Frames on this port and Module while switching on an interface.') ati_l2_eth_err_stats_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 1)) if mibBuilder.loadTexts: atiL2EthErrStatsTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthErrStatsTable.setDescription('A list of statistics entries.') ati_l2_eth_error_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 1, 1)).setIndexNames((0, 'AtiL2-MIB', 'atiL2EthErrModuleId')) if mibBuilder.loadTexts: atiL2EthErrorStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthErrorStatsEntry.setDescription('A collection of statistics kept for a particular port.') ati_l2_eth_err_module_id = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthErrModuleId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthErrModuleId.setDescription('This Object Identifies the Module Id for which the Statistics is collected.') ati_l2_eth_error_crc = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 1, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthErrorCRC.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthErrorCRC.setDescription('The total number of CRC errors on received packets.') ati_l2_eth_error_alignment = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 1, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthErrorAlignment.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthErrorAlignment.setDescription('The total number of packets received that has alignment errors.') ati_l2_eth_error_rx_bad_frames = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 1, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthErrorRxBadFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthErrorRxBadFrames.setDescription('The counter is incremented when a bad frame was received.') ati_l2_eth_error_late_collisions = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 1, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthErrorLateCollisions.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthErrorLateCollisions.setDescription('This object counts the number of times the collison was detected in the port.') ati_l2_eth_error_tx_total = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 1, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthErrorTxTotal.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthErrorTxTotal.setDescription('Total number of error resulted from transfer operations.') ati_l2_eth_port_err_stats_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 2)) if mibBuilder.loadTexts: atiL2EthPortErrStatsTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortErrStatsTable.setDescription('A list of statistics entries.') ati_l2_eth_port_error_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 2, 1)).setIndexNames((0, 'AtiL2-MIB', 'atiL2EthPortErrModuleId'), (0, 'AtiL2-MIB', 'atiL2EthPortErrPortId')) if mibBuilder.loadTexts: atiL2EthPortErrorStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortErrorStatsEntry.setDescription('A collection of statistics kept for a particular port.') ati_l2_eth_port_err_module_id = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthPortErrModuleId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortErrModuleId.setDescription('This Object Identifies the Module Id for which the Statistics is collected.') ati_l2_eth_port_err_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 2, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthPortErrPortId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortErrPortId.setDescription('This Object Identifies the Port on the Module recognised by the above Object for which the Statistics is collected.') ati_l2_eth_port_error_crc = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 2, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthPortErrorCRC.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortErrorCRC.setDescription('The total number of CRC errors on received packets.') ati_l2_eth_port_error_alignment = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 2, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthPortErrorAlignment.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortErrorAlignment.setDescription('The total number of packets received that has alignment errors.') ati_l2_eth_port_error_rx_bad_frames = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 2, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthPortErrorRxBadFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortErrorRxBadFrames.setDescription('The counter is incremented when a bad frame was received.') ati_l2_eth_port_error_late_collisions = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 2, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthPortErrorLateCollisions.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortErrorLateCollisions.setDescription('This object counts the number of times the collison was detected in the port.') ati_l2_eth_port_error_tx_total = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 6, 2, 2, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2EthPortErrorTxTotal.setStatus('mandatory') if mibBuilder.loadTexts: atiL2EthPortErrorTxTotal.setDescription('Total number of error resulted from transfer operations.') ati_l2_device_port_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1)) if mibBuilder.loadTexts: atiL2DevicePortTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortTable.setDescription('Table of basic port configuration information.') ati_l2_device_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1)).setIndexNames((0, 'AtiL2-MIB', 'atiL2DeviceId'), (0, 'AtiL2-MIB', 'atiL2DevicePortNumber')) if mibBuilder.loadTexts: atiL2DevicePortEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortEntry.setDescription('An entry in the port config table.') ati_l2_device_id = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2DeviceId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DeviceId.setDescription('This object identifies the Module Id of the switch Stack.') ati_l2_device_port_number = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2DevicePortNumber.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortNumber.setDescription('This object identifies the Port on atiL2ModuleId of the switch Stack.') ati_l2_device_port_name = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 20))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2DevicePortName.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortName.setDescription('This attribute associates a user defined string name with the port.') ati_l2_device_port_autosense_or_half_duplex = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('portAutoSense', 1), ('forceHalfDuplex-10M', 2), ('forceHalfDuplex-100M', 3), ('forceFullDuplex-10M', 4), ('forceFullDuplex-100M', 5), ('forceHalfDuplex-1G', 6), ('forceFullDuplex-1G', 7)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2DevicePortAutosenseOrHalfDuplex.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortAutosenseOrHalfDuplex.setDescription('This attribute allows an administrative request to configure whether this port can Autosense or Force the Half Duplex or Full Duplex on different Port Speeds.') ati_l2_device_port_link_state = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('online', 1), ('offline', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2DevicePortLinkState.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortLinkState.setDescription('This attribute allows an administrative request to read the status of link state on this port.') ati_l2_device_port_duplex_status = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('fullDuplex', 1), ('halfDuplex', 2), ('autosense', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2DevicePortDuplexStatus.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortDuplexStatus.setDescription('This attribute allows an administrative request to read the status of Duplex on this port.') ati_l2_device_port_speed = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('tenMBits', 1), ('hundredMBits', 2), ('gigaBits', 3), ('unknown', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2DevicePortSpeed.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortSpeed.setDescription("This attribute allows an administrative request to read or write the speed of this port. This Object is valid only for 10/100Mbits and gigaBits ports. The only gigabit port that can be set is that of AT-A14 and it's values can be either 2 or 3.") ati_l2_device_port_state = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2), ('blocking', 3), ('listening', 4), ('learning', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2DevicePortState.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortState.setDescription('This attribute allows an administrative request to disable or enable communications on this port.It also responds with the status of the port .Except enabled(1) and disabled(2), all values are read-only status.') ati_l2_device_port_transmit_pacing_config = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2DevicePortTransmitPacingConfig.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortTransmitPacingConfig.setDescription('This Object is supported on at36XX product line Only. This attribute allows the transmit Pacing to be enabled or disabled.') ati_l2_device_port_stp_config = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2DevicePortSTPConfig.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortSTPConfig.setDescription('This attribute allows a bridging Mode to be configured with either Spanning Tree enabled or disabled. When Spanning tree is enabled, make sure that this port is belonging to a valid Bridge_id. Spanning Tree is enabled only when a valid Bridge_id is set.') ati_l2_device_port_bridgeid = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(1, 64))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2DevicePortBridgeid.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortBridgeid.setDescription(' The Bridge to which this port belongs to.') ati_l2_device_port_stp_cost = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2DevicePortSTPCost.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortSTPCost.setDescription('The Cost of the Spanning Tree Protocol.This object is valid only when STP is enabled.') ati_l2_device_port_stp_priority = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2DevicePortSTPPriority.setStatus('mandatory') if mibBuilder.loadTexts: atiL2DevicePortSTPPriority.setDescription(' The Priority of the spanning Tree Protocol. This object is valid when STP is enabled.') ati_l2_device_port_flow_control_enable = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2DevicePortFlowControlEnable.setStatus('deprecated') if mibBuilder.loadTexts: atiL2DevicePortFlowControlEnable.setDescription('This per-port attribute describes whether the port identified has flow Control Enabled or not. Flow Control on Full Duplex and Half Duplex is detected and automatically, flow control accordingly is taken care of. By Default, Flow Control is Disabled.') ati_l2_device_port_back_pressure_enable = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2DevicePortBackPressureEnable.setStatus('deprecated') if mibBuilder.loadTexts: atiL2DevicePortBackPressureEnable.setDescription('This per-port attribute describes whether the port identified has Back Pressure Enabled or not. By Default, Back Pressure is Disabled.') ati_l2_device_port_vlan_tag_priority_config = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('use-vlan-priority', 1), ('override-vlan-priority', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2DevicePortVlanTagPriorityConfig.setStatus('deprecated') if mibBuilder.loadTexts: atiL2DevicePortVlanTagPriorityConfig.setDescription('This per-port attribute allows the configuration of the Tag Priority to be Override or Use the Tag Priority. By Default, all ports use Vlan Tag priority.') ati_l2_device_port_qos_priority_config = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 7, 1, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('high-priority', 1), ('normal-priority', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2DevicePortQOSPriorityConfig.setStatus('deprecated') if mibBuilder.loadTexts: atiL2DevicePortQOSPriorityConfig.setDescription('This per-port attribute is applicable only to at-8324, at-8124XL-V2 and at-8316 and it allows for the configuration of the Priority of the port to be high or Low. In a switch environment, Ports with high Priority and traffic from and to the ports get more priority when compared with those with normal priority. By Default, all ports have Normal Priority.') ati_l2_basic_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1)) if mibBuilder.loadTexts: atiL2BasicVlanTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BasicVlanTable.setDescription('Table of Virtual LAN configured.') ati_l2_basic_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1)).setIndexNames((0, 'AtiL2-MIB', 'atiL2BeVlanIndex')) if mibBuilder.loadTexts: atiL2BasicVlanEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BasicVlanEntry.setDescription('An entry in the table, containing VLAN information.') ati_l2_be_vlan_index = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 64))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BeVlanIndex.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanIndex.setDescription('This object identifies the VLAN.') ati_l2_be_vlan_name = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 20))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BeVlanName.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanName.setDescription("This attribute associates a user defined string with the Virtual LAN. To configure a new VLAN, do 'set' operation on this object with the VLAN name. To delete a VLAN, do 'set' operation with string '*<module_num>', where <module_num> is the module number (1..8) from which the delete request is being sent. If a vlan is being created or modified, before configuring any of the objects in this row, set atiL2VlanStatus to 'under-construction' and once configured with all the information, set the same object to operational. This step is not required when deleting a vlan.") ati_l2_be_vlan_tag_id = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BeVlanTagId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanTagId.setDescription("This object configures the VId in the Tag Information header in accordance with 802.1q spec. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") ati_l2_be_vlan_module1_untagged_ports = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 4), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BeVlanModule1UntaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule1UntaggedPorts.setDescription("This Object builds the Output Ports on the Module that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12..15,18-22,26'. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") ati_l2_be_vlan_module1_tagged_ports = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BeVlanModule1TaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule1TaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") ati_l2_be_vlan_module2_untagged_ports = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BeVlanModule2UntaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule2UntaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") ati_l2_be_vlan_module2_tagged_ports = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 7), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BeVlanModule2TaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule2TaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") ati_l2_be_vlan_module3_untagged_ports = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 8), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BeVlanModule3UntaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule3UntaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") ati_l2_be_vlan_module3_tagged_ports = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 9), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BeVlanModule3TaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule3TaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") ati_l2_be_vlan_module4_untagged_ports = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 10), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BeVlanModule4UntaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule4UntaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") ati_l2_be_vlan_module4_tagged_ports = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 11), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BeVlanModule4TaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule4TaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") ati_l2_be_vlan_module5_untagged_ports = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 12), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BeVlanModule5UntaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule5UntaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") ati_l2_be_vlan_module5_tagged_ports = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 13), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BeVlanModule5TaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule5TaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") ati_l2_be_vlan_module6_untagged_ports = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 14), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BeVlanModule6UntaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule6UntaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") ati_l2_be_vlan_module6_tagged_ports = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 15), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BeVlanModule6TaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule6TaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") ati_l2_be_vlan_module7_untagged_ports = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 16), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BeVlanModule7UntaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule7UntaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") ati_l2_be_vlan_module7_tagged_ports = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 17), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BeVlanModule7TaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule7TaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") ati_l2_be_vlan_module8_untagged_ports = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 18), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BeVlanModule8UntaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule8UntaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") ati_l2_be_vlan_module8_tagged_ports = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 19), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BeVlanModule8TaggedPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanModule8TaggedPorts.setDescription("This Object builds the Output Ports on the Module atiL2BeVlanModuleId that participate in the Vlan with the atiL2BeVlanName. The Format of the input string would be like '1,2,5,7,12'. Please select the Module by setting the atiL2BeVlanModuleId with the Module Id and then set the port mask. If this is not set, by default this will be set to 1. Before configuring any of the objects in this row , set the atiL2VlanStatus to 'under-construction' and once configured with all the information, please set the same object to operational.") ati_l2_be_vlan_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 1, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('idle', 1), ('operational', 2), ('under-construction', 3), ('not-operational', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BeVlanRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BeVlanRowStatus.setDescription('This object is used to create or modify a vlan. The user should first set this object to under-construction. After the vlan name, the tag Id and the ports belonging to the vlan are configured/modified, this object should be set to operational. If it is not set to operational, the whole row will be lost and the vlan will not be configured in the switch.') ati_l2_port2_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 2)) if mibBuilder.loadTexts: atiL2Port2VlanTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2Port2VlanTable.setDescription('Table of per port Virtual LAN configuration.') ati_l2_port2_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 2, 1)).setIndexNames((0, 'AtiL2-MIB', 'atiL2PvModuleId'), (0, 'AtiL2-MIB', 'atiL2PvPortNumber')) if mibBuilder.loadTexts: atiL2Port2VlanEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2Port2VlanEntry.setDescription('An entry in the table, containing per port VLAN information.') ati_l2_pv_module_id = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2PvModuleId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2PvModuleId.setDescription('This object identifies the Module Id on the switching Stack.') ati_l2_pv_port_number = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 2, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2PvPortNumber.setStatus('mandatory') if mibBuilder.loadTexts: atiL2PvPortNumber.setDescription('This object identifies the port on the Module atiL2PvModuleId .') ati_l2_pv_vlan_name = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 8, 2, 1, 3), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2PvVlanName.setStatus('mandatory') if mibBuilder.loadTexts: atiL2PvVlanName.setDescription('This attribute associates a user defined string with the Virtual LAN. This Object is the same as atiL2BeVlanName. Please make sure to give the same string as atiL2BeVlanName.') ati_l2_if_extensions = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 33, 9, 1)) ati_if_extn_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 33, 9, 1, 1)) if mibBuilder.loadTexts: atiIfExtnTable.setStatus('mandatory') if mibBuilder.loadTexts: atiIfExtnTable.setDescription('A list of interface entries. The number of entries is given by the value of ifNumber.') ati_if_extn_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 33, 9, 1, 1, 1)).setIndexNames((0, 'AtiL2-MIB', 'atiIfExtnIndex')) if mibBuilder.loadTexts: atiIfExtnEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiIfExtnEntry.setDescription('An interface entry containing objects at the subnetwork layer and below for a particular interface.') ati_if_extn_index = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 9, 1, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 256))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiIfExtnIndex.setStatus('mandatory') if mibBuilder.loadTexts: atiIfExtnIndex.setDescription('A unique value for each interface corresponding to the ifIndex value for the same interface.') ati_if_extn_module_id = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 9, 1, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiIfExtnModuleId.setStatus('mandatory') if mibBuilder.loadTexts: atiIfExtnModuleId.setDescription('The unit number associated with this particular interface.') ati_if_extn_port = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 9, 1, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiIfExtnPort.setStatus('mandatory') if mibBuilder.loadTexts: atiIfExtnPort.setDescription('The port number within a unit or slot.') ati_l2_br_base_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 1)) if mibBuilder.loadTexts: atiL2BrBaseTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBaseTable.setDescription('Table of basic bridge information.') ati_l2_br_base_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 1, 1)).setIndexNames((0, 'AtiL2-MIB', 'atiL2BrBaseLanId')) if mibBuilder.loadTexts: atiL2BrBaseEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBaseEntry.setDescription('An entry in the atiL2BrBaseTable.') ati_l2_br_base_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrBaseLanId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBaseLanId.setDescription('This object uniquely identifies the lan or Virtual lan.') ati_l2_br_base_bridge_address = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 1, 1, 2), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrBaseBridgeAddress.setReference('IEEE 802.1D-1990: Sections 6.4.1.1.3 and 3.12.5') if mibBuilder.loadTexts: atiL2BrBaseBridgeAddress.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBaseBridgeAddress.setDescription('The MAC address used by this bridge when it must be referred to in a unique fashion. It is recommended that this be the numerically smallest MAC address of all ports that belong to this bridge. However it is only required to be unique. When concatenated with atiL2BrStpPriority a unique BridgeIdentifier is formed which is used in the Spanning Tree Protocol.') ati_l2_br_base_num_ports = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 1, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrBaseNumPorts.setReference('IEEE 802.1D-1990: Section 6.4.1.1.3') if mibBuilder.loadTexts: atiL2BrBaseNumPorts.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBaseNumPorts.setDescription('The number of ports controlled by this bridging entity.') ati_l2_br_base_type = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('unknown', 1), ('transparent-only', 2), ('sourceroute-only', 3), ('srt', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrBaseType.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBaseType.setDescription('Indicates what type of bridging this bridge can perform. If a bridge is actually performing a certain type of bridging this will be indicated by entries in the port table for the given type.') ati_l2_br_base_port_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 4)) if mibBuilder.loadTexts: atiL2BrBasePortTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBasePortTable.setDescription('A table that contains generic information about every port that is associated with this bridge. Transparent, source-route, and srt ports are included.') ati_l2_br_base_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 4, 1)).setIndexNames((0, 'AtiL2-MIB', 'atiL2BrBasePortLanId'), (0, 'AtiL2-MIB', 'atiL2BrBasePort')) if mibBuilder.loadTexts: atiL2BrBasePortEntry.setReference('IEEE 802.1D-1990: Section 6.4.2, 6.6.1') if mibBuilder.loadTexts: atiL2BrBasePortEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBasePortEntry.setDescription('A list of information for each port of the bridge.') ati_l2_br_base_port_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 4, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrBasePortLanId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBasePortLanId.setDescription('This object uniquely identifies the lan or Virtual lan.') ati_l2_br_base_port = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 4, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrBasePort.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBasePort.setDescription('The port number of the port for which this entry contains bridge management information.') ati_l2_br_base_port_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 4, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrBasePortIfIndex.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBasePortIfIndex.setDescription('The value of the instance of the ifIndex object, defined in MIB-II, for the interface corresponding to this port.') ati_l2_br_base_port_circuit = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 4, 1, 4), object_identifier()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrBasePortCircuit.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBasePortCircuit.setDescription('For a port which (potentially) has the same value of atiL2BrBasePortIfIndex as another port on the same bridge, this object contains the name of an object instance unique to this port. For example, in the case where multiple ports correspond one- to-one with multiple X.25 virtual circuits, this value might identify an (e.g., the first) object instance associated with the X.25 virtual circuit corresponding to this port. For a port which has a unique value of atiL2BrBasePortIfIndex, this object can have the value { 0 0 }.') ati_l2_br_base_port_delay_exceeded_discards = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 4, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrBasePortDelayExceededDiscards.setReference('IEEE 802.1D-1990: Section 6.6.1.1.3') if mibBuilder.loadTexts: atiL2BrBasePortDelayExceededDiscards.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBasePortDelayExceededDiscards.setDescription('The number of frames discarded by this port due to excessive transit delay through the bridge. It is incremented by both transparent and source route bridges.') ati_l2_br_base_port_mtu_exceeded_discards = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 1, 4, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrBasePortMtuExceededDiscards.setReference('IEEE 802.1D-1990: Section 6.6.1.1.3') if mibBuilder.loadTexts: atiL2BrBasePortMtuExceededDiscards.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrBasePortMtuExceededDiscards.setDescription('The number of frames discarded by this port due to an excessive size. It is incremented by both transparent and source route bridges.') ati_l2_br_stp_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1)) if mibBuilder.loadTexts: atiL2BrStpTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpTable.setDescription('Table of bridge spanning tree information.') ati_l2_br_stp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1)).setIndexNames((0, 'AtiL2-MIB', 'atiL2BrStpLanId')) if mibBuilder.loadTexts: atiL2BrStpEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpEntry.setDescription('An entry in the atiL2BrStpTable.') ati_l2_br_stp_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrStpLanId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpLanId.setDescription('This object uniquely identifies the lan or Virtual lan.') ati_l2_br_stp_protocol_specification = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 2), 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: atiL2BrStpProtocolSpecification.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpProtocolSpecification.setDescription("An indication of what version of the Spanning Tree Protocol is being run. The value 'decLb100(2)' indicates the DEC LANbridge 100 Spanning Tree protocol. IEEE 802.1d implementations will return 'ieee8021d(3)'. If future versions of the IEEE Spanning Tree Protocol are released that are incompatible with the current version a new value will be defined.") ati_l2_br_stp_priority = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BrStpPriority.setReference('IEEE 802.1D-1990: Section 4.5.3.7') if mibBuilder.loadTexts: atiL2BrStpPriority.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPriority.setDescription('The value of the write-able portion of the Bridge ID, i.e., the first two octets of the (8 octet long) Bridge ID. The other (last) 6 octets of the Bridge ID are given by the value of atiL2BrBaseBridgeAddress.') ati_l2_br_stp_time_since_topology_change = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 4), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrStpTimeSinceTopologyChange.setReference('IEEE 802.1D-1990: Section 6.8.1.1.3') if mibBuilder.loadTexts: atiL2BrStpTimeSinceTopologyChange.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpTimeSinceTopologyChange.setDescription('The time (in hundredths of a second) since the last time a topology change was detected by the bridge entity.') ati_l2_br_stp_top_changes = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrStpTopChanges.setReference('IEEE 802.1D-1990: Section 6.8.1.1.3') if mibBuilder.loadTexts: atiL2BrStpTopChanges.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpTopChanges.setDescription('The total number of topology changes detected by this bridge since the management entity was last reset or initialized.') ati_l2_br_stp_designated_root = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 6), bridge_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrStpDesignatedRoot.setReference('IEEE 802.1D-1990: Section 4.5.3.1') if mibBuilder.loadTexts: atiL2BrStpDesignatedRoot.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpDesignatedRoot.setDescription('The bridge identifier of the root of the spanning tree as determined by the Spanning Tree Protocol as executed by this node. This value is used as the Root Identifier parameter in all Configuration Bridge PDUs originated by this node.') ati_l2_br_stp_root_cost = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrStpRootCost.setReference('IEEE 802.1D-1990: Section 4.5.3.2') if mibBuilder.loadTexts: atiL2BrStpRootCost.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpRootCost.setDescription('The cost of the path to the root as seen from this bridge.') ati_l2_br_stp_root_port = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrStpRootPort.setReference('IEEE 802.1D-1990: Section 4.5.3.3') if mibBuilder.loadTexts: atiL2BrStpRootPort.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpRootPort.setDescription('The port number of the port which offers the lowest cost path from this bridge to the root bridge.') ati_l2_br_stp_max_age = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 9), timeout()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrStpMaxAge.setReference('IEEE 802.1D-1990: Section 4.5.3.4') if mibBuilder.loadTexts: atiL2BrStpMaxAge.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpMaxAge.setDescription('The maximum age of Spanning Tree Protocol information learned from the network on any port before it is discarded, in units of hundredths of a second. This is the actual value that this bridge is currently using.') ati_l2_br_stp_hello_time = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 10), timeout()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrStpHelloTime.setReference('IEEE 802.1D-1990: Section 4.5.3.5') if mibBuilder.loadTexts: atiL2BrStpHelloTime.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpHelloTime.setDescription('The amount of time between the transmission of Configuration bridge PDUs by this node on any port when it is the root of the spanning tree or trying to become so, in units of hundredths of a second. This is the actual value that this bridge is currently using.') ati_l2_br_stp_hold_time = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 11), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrStpHoldTime.setReference('IEEE 802.1D-1990: Section 4.5.3.14') if mibBuilder.loadTexts: atiL2BrStpHoldTime.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpHoldTime.setDescription('This time value determines the interval length during which no more than two Configuration bridge PDUs shall be transmitted by this node, in units of hundredths of a second.') ati_l2_br_stp_forward_delay = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 12), timeout()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrStpForwardDelay.setReference('IEEE 802.1D-1990: Section 4.5.3.6') if mibBuilder.loadTexts: atiL2BrStpForwardDelay.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpForwardDelay.setDescription('This time value, measured in units of hundredths of a second, controls how fast a port changes its spanning state when moving towards the Forwarding state. The value determines how long the port stays in each of the Listening and Learning states, which precede the Forwarding state. This value is also used, when a topology change has been detected and is underway, to age all dynamic entries in the Forwarding Database. [Note that this value is the one that this bridge is currently using, in contrast to atiL2BrStpBridgeForwardDelay which is the value that this bridge and all others would start using if/when this bridge were to become the root.]') ati_l2_br_stp_bridge_max_age = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 13), timeout().subtype(subtypeSpec=value_range_constraint(600, 4000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BrStpBridgeMaxAge.setReference('IEEE 802.1D-1990: Section 4.5.3.8') if mibBuilder.loadTexts: atiL2BrStpBridgeMaxAge.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpBridgeMaxAge.setDescription('The value that all bridges use for MaxAge when this bridge is acting as the root. Note that 802.1D-1990 specifies that the range for this parameter is related to the value of atiL2BrStpBridgeHelloTime. The granularity of this timer is specified by 802.1D-1990 to be 1 second. An agent may return a badValue error if a set is attempted to a value which is not a whole number of seconds.') ati_l2_br_stp_bridge_hello_time = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 14), timeout().subtype(subtypeSpec=value_range_constraint(100, 1000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BrStpBridgeHelloTime.setReference('IEEE 802.1D-1990: Section 4.5.3.9') if mibBuilder.loadTexts: atiL2BrStpBridgeHelloTime.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpBridgeHelloTime.setDescription('The value that all bridges use for HelloTime when this bridge is acting as the root. The granularity of this timer is specified by 802.1D- 1990 to be 1 second. An agent may return a badValue error if a set is attempted to a value which is not a whole number of seconds.') ati_l2_br_stp_bridge_forward_delay = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 1, 1, 15), timeout().subtype(subtypeSpec=value_range_constraint(400, 3000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BrStpBridgeForwardDelay.setReference('IEEE 802.1D-1990: Section 4.5.3.10') if mibBuilder.loadTexts: atiL2BrStpBridgeForwardDelay.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpBridgeForwardDelay.setDescription('The value that all bridges use for ForwardDelay when this bridge is acting as the root. Note that 802.1D-1990 specifies that the range for this parameter is related to the value of atiL2BrStpBridgeMaxAge. The granularity of this timer is specified by 802.1D-1990 to be 1 second. An agent may return a badValue error if a set is attempted to a value which is not a whole number of seconds.') ati_l2_br_stp_port_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15)) if mibBuilder.loadTexts: atiL2BrStpPortTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortTable.setDescription('A table that contains port-specific information for the Spanning Tree Protocol.') ati_l2_br_stp_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1)).setIndexNames((0, 'AtiL2-MIB', 'atiL2BrStpPortLanId'), (0, 'AtiL2-MIB', 'atiL2BrStpPort')) if mibBuilder.loadTexts: atiL2BrStpPortEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortEntry.setDescription('A list of information maintained by every port about the Spanning Tree Protocol state for that port.') ati_l2_br_stp_port_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrStpPortLanId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortLanId.setDescription('This object uniquely identifies the lan or Virtual lan.') ati_l2_br_stp_port = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrStpPort.setReference('IEEE 802.1D-1990: Section 6.8.2.1.2') if mibBuilder.loadTexts: atiL2BrStpPort.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPort.setDescription('The port number of the port for which this entry contains Spanning Tree Protocol management information.') ati_l2_br_stp_port_priority = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BrStpPortPriority.setReference('IEEE 802.1D-1990: Section 4.5.5.1') if mibBuilder.loadTexts: atiL2BrStpPortPriority.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortPriority.setDescription('The value of the priority field which is contained in the first (in network byte order) octet of the (2 octet long) Port ID. The other octet of the Port ID is given by the value of atiL2BrStpPort.') ati_l2_br_stp_port_state = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('disabled', 1), ('blocking', 2), ('listening', 3), ('learning', 4), ('forwarding', 5), ('broken', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrStpPortState.setReference('IEEE 802.1D-1990: Section 4.5.5.2') if mibBuilder.loadTexts: atiL2BrStpPortState.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortState.setDescription("The port's current state as defined by application of the Spanning Tree Protocol. This state controls what action a port takes on reception of a frame. If the bridge has detected a port that is malfunctioning it will place that port into the broken(6) state. For ports which are disabled (see atiL2BrStpPortEnable), this object will have a value of disabled(1).") ati_l2_br_stp_port_enable = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BrStpPortEnable.setReference('IEEE 802.1D-1990: Section 4.5.5.2') if mibBuilder.loadTexts: atiL2BrStpPortEnable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortEnable.setDescription('The enabled/disabled status of the port.') ati_l2_br_stp_port_path_cost = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BrStpPortPathCost.setReference('IEEE 802.1D-1990: Section 4.5.5.3') if mibBuilder.loadTexts: atiL2BrStpPortPathCost.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortPathCost.setDescription('The contribution of this port to the path cost of paths towards the spanning tree root which include this port. 802.1D-1990 recommends that the default value of this parameter be in inverse proportion to the speed of the attached LAN.') ati_l2_br_stp_port_designated_root = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 7), bridge_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrStpPortDesignatedRoot.setReference('IEEE 802.1D-1990: Section 4.5.5.4') if mibBuilder.loadTexts: atiL2BrStpPortDesignatedRoot.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortDesignatedRoot.setDescription('The unique Bridge Identifier of the Bridge recorded as the Root in the Configuration BPDUs transmitted by the Designated Bridge for the segment to which the port is attached.') ati_l2_br_stp_port_designated_cost = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrStpPortDesignatedCost.setReference('IEEE 802.1D-1990: Section 4.5.5.5') if mibBuilder.loadTexts: atiL2BrStpPortDesignatedCost.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortDesignatedCost.setDescription('The path cost of the Designated Port of the segment connected to this port. This value is compared to the Root Path Cost field in received bridge PDUs.') ati_l2_br_stp_port_designated_bridge = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 9), bridge_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrStpPortDesignatedBridge.setReference('IEEE 802.1D-1990: Section 4.5.5.6') if mibBuilder.loadTexts: atiL2BrStpPortDesignatedBridge.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortDesignatedBridge.setDescription("The Bridge Identifier of the bridge which this port considers to be the Designated Bridge for this port's segment.") ati_l2_br_stp_port_designated_port = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 10), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrStpPortDesignatedPort.setReference('IEEE 802.1D-1990: Section 4.5.5.7') if mibBuilder.loadTexts: atiL2BrStpPortDesignatedPort.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortDesignatedPort.setDescription("The Port Identifier of the port on the Designated Bridge for this port's segment.") ati_l2_br_stp_port_forward_transitions = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 2, 15, 1, 11), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrStpPortForwardTransitions.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrStpPortForwardTransitions.setDescription('The number of times this port has transitioned from the Learning state to the Forwarding state.') ati_l2_br_tp_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 1)) if mibBuilder.loadTexts: atiL2BrTpTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpTable.setDescription('Table of transparent bridging information.') ati_l2_br_tp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 1, 1)).setIndexNames((0, 'AtiL2-MIB', 'atiL2BrTpLanId')) if mibBuilder.loadTexts: atiL2BrTpEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpEntry.setDescription('An entry in the atiL2BrTpTable.') ati_l2_br_tp_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrTpLanId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpLanId.setDescription('This object uniquely identifies the lan or Virtual lan.') ati_l2_br_tp_learned_entry_discards = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 1, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrTpLearnedEntryDiscards.setReference('IEEE 802.1D-1990: Section 6.7.1.1.3') if mibBuilder.loadTexts: atiL2BrTpLearnedEntryDiscards.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpLearnedEntryDiscards.setDescription('The total number of Forwarding Database entries, which have been or would have been learnt, but have been discarded due to a lack of space to store them in the Forwarding Database. If this counter is increasing, it indicates that the Forwarding Database is regularly becoming full (a condition which has unpleasant performance effects on the subnetwork). If this counter has a significant value but is not presently increasing, it indicates that the problem has been occurring but is not persistent.') ati_l2_br_tp_aging_time = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(10, 1000000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2BrTpAgingTime.setReference('IEEE 802.1D-1990: Section 6.7.1.1.3') if mibBuilder.loadTexts: atiL2BrTpAgingTime.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpAgingTime.setDescription('The timeout period in seconds for aging out dynamically learned forwarding information. 802.1D-1990 recommends a default of 300 seconds.') ati_l2_br_tp_fdb_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 3)) if mibBuilder.loadTexts: atiL2BrTpFdbTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpFdbTable.setDescription('A table that contains information about unicast entries for which the bridge has forwarding and/or filtering information. This information is used by the transparent bridging function in determining how to propagate a received frame.') ati_l2_br_tp_fdb_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 3, 1)).setIndexNames((0, 'AtiL2-MIB', 'atiL2BrTpFdbLanId'), (0, 'AtiL2-MIB', 'atiL2BrTpFdbAddress')) if mibBuilder.loadTexts: atiL2BrTpFdbEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpFdbEntry.setDescription('Information about a specific unicast MAC address for which the bridge has some forwarding and/or filtering information.') ati_l2_br_tp_fdb_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 3, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrTpFdbLanId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpFdbLanId.setDescription('This object uniquely identifies the lan or Virtual lan.') ati_l2_br_tp_fdb_address = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 3, 1, 2), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrTpFdbAddress.setReference('IEEE 802.1D-1990: Section 3.9.1, 3.9.2') if mibBuilder.loadTexts: atiL2BrTpFdbAddress.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpFdbAddress.setDescription('A unicast MAC address for which the bridge has forwarding and/or filtering information.') ati_l2_br_tp_fdb_port = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 3, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrTpFdbPort.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpFdbPort.setDescription("Either the value '0', or the port number of the port on which a frame having a source address equal to the value of the corresponding instance of atiL2BrTpFdbAddress has been seen. A value of '0' indicates that the port number has not been learned but that the bridge does have some forwarding/filtering information about this address . Implementors are encouraged to assign the port value to this object whenever it is learned even for addresses for which the corresponding value of atiL2BrTpFdbStatus is not learned(3).") ati_l2_br_tp_fdb_status = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('inactive', 1), ('active', 2), ('other', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrTpFdbStatus.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpFdbStatus.setDescription('The status of this entry. The meanings of the values are: inactive(1) : this entry is not longer valid (e.g., it was learned but has since aged-out), but has not yet been flushed from the table. active(2) : the value of the corresponding instance of atiL2BrTpFdbPort was active, and is being used. other(3) : none of the following. This would include the case where some other MIB object (not the corresponding instance of atiL2BrTpFdbPort ) is being used to determine if and how frames addressed to the value of the corresponding instance of atiL2BrTpFdbAddress are being forwarded.') ati_l2_br_tp_port_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 4)) if mibBuilder.loadTexts: atiL2BrTpPortTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpPortTable.setDescription('A table that contains information about every port that is associated with this transparent bridge.') ati_l2_br_tp_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 4, 1)).setIndexNames((0, 'AtiL2-MIB', 'atiL2BrTpPortLanId'), (0, 'AtiL2-MIB', 'atiL2BrTpPort')) if mibBuilder.loadTexts: atiL2BrTpPortEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpPortEntry.setDescription('A list of information for each port of a transparent bridge.') ati_l2_br_tp_port_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 4, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrTpPortLanId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpPortLanId.setDescription('This object uniquely identifies the lan or Virtual lan.') ati_l2_br_tp_port = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 4, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrTpPort.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpPort.setDescription('The port number of the port for which this entry contains Transparent bridging management information.') ati_l2_br_tp_port_max_info = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 4, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrTpPortMaxInfo.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpPortMaxInfo.setDescription('The maximum size of the INFO (non-MAC) field that this port will receive or transmit.') ati_l2_br_tp_port_in_frames = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 4, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrTpPortInFrames.setReference('IEEE 802.1D-1990: Section 6.6.1.1.3') if mibBuilder.loadTexts: atiL2BrTpPortInFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpPortInFrames.setDescription('The number of frames that have been received by this port from its segment. Note that a frame received on the interface corresponding to this port is only counted by this object if and only if it is for a protocol being processed by the local bridging function, including bridge management frames.') ati_l2_br_tp_port_out_frames = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 4, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrTpPortOutFrames.setReference('IEEE 802.1D-1990: Section 6.6.1.1.3') if mibBuilder.loadTexts: atiL2BrTpPortOutFrames.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpPortOutFrames.setDescription('The number of frames that have been transmitted by this port to its segment. Note that a frame transmitted on the interface corresponding to this port is only counted by this object if and only if it is for a protocol being processed by the local bridging function, including bridge management frames.') ati_l2_br_tp_port_in_discards = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 10, 3, 4, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2BrTpPortInDiscards.setReference('IEEE 802.1D-1990: Section 6.6.1.1.3') if mibBuilder.loadTexts: atiL2BrTpPortInDiscards.setStatus('mandatory') if mibBuilder.loadTexts: atiL2BrTpPortInDiscards.setDescription('Count of valid frames received which were discarded (i.e., filtered) by the Forwarding Process.') ati_l2_trap_attr_module_id = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 11, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))) if mibBuilder.loadTexts: atiL2TrapAttrModuleId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2TrapAttrModuleId.setDescription('This attribute is the Module Numver used when Traps pertinent to Module is sent.') ati_l2_trap_attr_port_id = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 11, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 32))) if mibBuilder.loadTexts: atiL2TrapAttrPortId.setStatus('mandatory') if mibBuilder.loadTexts: atiL2TrapAttrPortId.setDescription('This attribute is the Port Number used when Traps pertinent to Ports are sent.') new_root = notification_type((1, 3, 6, 1, 4, 1, 207) + (0, 101)) if mibBuilder.loadTexts: newRoot.setDescription('The newRoot trap indicates that the sending agent has become the new root of the Spanning Tree; the trap is sent by a bridge soon after its election as the new root, e.g., upon expiration of the Topology Change Timer immediately subsequent to its election. Implementation of this trap is optional.') topology_change = notification_type((1, 3, 6, 1, 4, 1, 207) + (0, 102)) if mibBuilder.loadTexts: topologyChange.setDescription('A topologyChange trap is sent by a bridge when any of its configured ports transitions from the Learning state to the Forwarding state, or from the Forwarding state to the Blocking state. The trap is not sent if a newRoot trap is sent for the same transition. Implementation of this trap is optional.') ati_l2_fan_stop_trap = notification_type((1, 3, 6, 1, 4, 1, 207) + (0, 103)).setObjects(('AtiL2-MIB', 'atiL2TrapAttrModuleId')) if mibBuilder.loadTexts: atiL2FanStopTrap.setDescription(' A Trap sent from the Module defined by the varable above when a fan from that Module stops.') ati_l2_temperature_abnormal_trap = notification_type((1, 3, 6, 1, 4, 1, 207) + (0, 104)).setObjects(('AtiL2-MIB', 'atiL2TrapAttrModuleId')) if mibBuilder.loadTexts: atiL2TemperatureAbnormalTrap.setDescription(' A Trap sent from the Module defined by the varable above when temperature of the Module is abnormal.') ati_l2_power_supply_outage = notification_type((1, 3, 6, 1, 4, 1, 207) + (0, 105)).setObjects(('AtiL2-MIB', 'atiL2TrapAttrModuleId')) if mibBuilder.loadTexts: atiL2PowerSupplyOutage.setDescription(' A Trap sent from the Module defined by the varable above when one of the power supply goes down.') ati_l2_intruder_alert = notification_type((1, 3, 6, 1, 4, 1, 207) + (0, 106)).setObjects(('AtiL2-MIB', 'atiL2TrapAttrModuleId'), ('AtiL2-MIB', 'atiL2TrapAttrPortId')) if mibBuilder.loadTexts: atiL2IntruderAlert.setDescription(' A Trap sent from the specified module and specified port when an intruder has been detected.') ati_l2_qos_status = mib_scalar((1, 3, 6, 1, 4, 1, 207, 8, 33, 12, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2QOSStatus.setStatus('mandatory') if mibBuilder.loadTexts: atiL2QOSStatus.setDescription('If the QOS status is enabled, then QOS packets will be assigned to high or low priority queue. If it is disabled, packets works normally.(Applicable only to at-8326GB, at-9410GB and at-8350GB)') ati_l2_traffic_mapping_table = mib_table((1, 3, 6, 1, 4, 1, 207, 8, 33, 12, 2)) if mibBuilder.loadTexts: atiL2TrafficMappingTable.setStatus('mandatory') if mibBuilder.loadTexts: atiL2TrafficMappingTable.setDescription('It contains the mapping of all traffic classes and their priority assignments.(Applicable only to at-8326GB, at-9410GB and at-8350GB)') ati_l2_traffic_mapping_entry = mib_table_row((1, 3, 6, 1, 4, 1, 207, 8, 33, 12, 2, 1)).setIndexNames((0, 'AtiL2-MIB', 'atiL2TrafficClassIndex')) if mibBuilder.loadTexts: atiL2TrafficMappingEntry.setStatus('mandatory') if mibBuilder.loadTexts: atiL2TrafficMappingEntry.setDescription("Each entry maps a traffic class to the priority queue to be used for it's packets. (Applicable only to at-8326GB, at-9410GB and at-8350GB)") ati_l2_traffic_class_index = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 12, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly') if mibBuilder.loadTexts: atiL2TrafficClassIndex.setStatus('mandatory') if mibBuilder.loadTexts: atiL2TrafficClassIndex.setDescription('The Index of the traffic class. It is obtained from the packet format.(Applicable only to at-8326GB, at-9410GB and at-8350GB)') ati_l2_priority_queue = mib_table_column((1, 3, 6, 1, 4, 1, 207, 8, 33, 12, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('highest', 0), ('lowest', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: atiL2PriorityQueue.setStatus('mandatory') if mibBuilder.loadTexts: atiL2PriorityQueue.setDescription('The priority queue to be used to forward packets. (Applicable only to at-8326GB, at-9410GB and at-8350GB)') mibBuilder.exportSymbols('AtiL2-MIB', atiL2DHCPGroup=atiL2DHCPGroup, atiL2BrStp=atiL2BrStp, atiL2BeVlanModule6UntaggedPorts=atiL2BeVlanModule6UntaggedPorts, atiL2BrTpPortLanId=atiL2BrTpPortLanId, atiL2PriorityQueue=atiL2PriorityQueue, atiL2EthErrorStatsEntry=atiL2EthErrorStatsEntry, atiL2EthMonTxBroadcastFrames=atiL2EthMonTxBroadcastFrames, atiL2FanStopTrap=atiL2FanStopTrap, atiL2BrStpPortTable=atiL2BrStpPortTable, atiL2EthPortMonModuleId=atiL2EthPortMonModuleId, atiL2deviceIndex=atiL2deviceIndex, atiL2EthPortMonTxMulticastFrames=atiL2EthPortMonTxMulticastFrames, atiL2EthPortErrorCRC=atiL2EthPortErrorCRC, atiL2BrStpTopChanges=atiL2BrStpTopChanges, atiL2BrTpPortEntry=atiL2BrTpPortEntry, atiL2BrStpBridgeHelloTime=atiL2BrStpBridgeHelloTime, atiL2BrTpPortInDiscards=atiL2BrTpPortInDiscards, atiL2DevicePortAutosenseOrHalfDuplex=atiL2DevicePortAutosenseOrHalfDuplex, atiL2TrafficMappingEntry=atiL2TrafficMappingEntry, atiIfExtnModuleId=atiIfExtnModuleId, atiL2DHCPLeaseTimer=atiL2DHCPLeaseTimer, atiL2BrTpLearnedEntryDiscards=atiL2BrTpLearnedEntryDiscards, atiL2DevicePortEntry=atiL2DevicePortEntry, atiL2DevicePortState=atiL2DevicePortState, atiL2EthPortErrorStatsEntry=atiL2EthPortErrorStatsEntry, atiL2DevicePortVlanTagPriorityConfig=atiL2DevicePortVlanTagPriorityConfig, atiL2BrStpDesignatedRoot=atiL2BrStpDesignatedRoot, atiL2EthPortMonRxGoodFrames=atiL2EthPortMonRxGoodFrames, at_8316F=at_8316F, atiL2SwVersion=atiL2SwVersion, atiL2DHCPSysGroup=atiL2DHCPSysGroup, atiL2DeviceId=atiL2DeviceId, atiL2BrStpRootPort=atiL2BrStpRootPort, mibObject=mibObject, atiL2EthPortMonTxGoodFrames=atiL2EthPortMonTxGoodFrames, atiL2EthPortErrorLateCollisions=atiL2EthPortErrorLateCollisions, topologyChange=topologyChange, at_9410GB=at_9410GB, atiL2BrStpPortState=atiL2BrStpPortState, atiL2DevicePortName=atiL2DevicePortName, atiL2BrStpLanId=atiL2BrStpLanId, atiL2BrBaseLanId=atiL2BrBaseLanId, atiL2BeVlanModule8TaggedPorts=atiL2BeVlanModule8TaggedPorts, atiL2NwMgrIpAddr=atiL2NwMgrIpAddr, newRoot=newRoot, atiL2TemperatureAbnormalTrap=atiL2TemperatureAbnormalTrap, atiL2EthMonTxTotalBytes=atiL2EthMonTxTotalBytes, atiL2BrStpPortForwardTransitions=atiL2BrStpPortForwardTransitions, atiL2DevicePortSTPCost=atiL2DevicePortSTPCost, atiL2BrStpTimeSinceTopologyChange=atiL2BrStpTimeSinceTopologyChange, atiL2deviceDescr=atiL2deviceDescr, atiL2BeVlanModule5TaggedPorts=atiL2BeVlanModule5TaggedPorts, atiL2NwMgrEntry=atiL2NwMgrEntry, atiL2TrapAttrPortId=atiL2TrapAttrPortId, atiL2GlobalGroup=atiL2GlobalGroup, atiL2BeVlanModule5UntaggedPorts=atiL2BeVlanModule5UntaggedPorts, atiL2PvPortNumber=atiL2PvPortNumber, atiL2BrTpPortInFrames=atiL2BrTpPortInFrames, atiL2deviceSecurityAction=atiL2deviceSecurityAction, alliedTelesyn=alliedTelesyn, atiL2EthPortMonRxOverruns=atiL2EthPortMonRxOverruns, atiL2BeVlanModule2UntaggedPorts=atiL2BeVlanModule2UntaggedPorts, atiL2BrStpMaxAge=atiL2BrStpMaxAge, atiL2DHCPTimerGroup=atiL2DHCPTimerGroup, atiL2QOSStatus=atiL2QOSStatus, atiL2TrafficMappingTable=atiL2TrafficMappingTable, atiL2BrBasePortCircuit=atiL2BrBasePortCircuit, atiL2DNServer=atiL2DNServer, atiL2DevicePortQOSPriorityConfig=atiL2DevicePortQOSPriorityConfig, atiL2ConfiguredRouter=atiL2ConfiguredRouter, atiL2ConfiguredSubnetMask=atiL2ConfiguredSubnetMask, atiL2EthPortErrPortId=atiL2EthPortErrPortId, atiL2DevicePortTable=atiL2DevicePortTable, atiL2IfExt=atiL2IfExt, atiL2DevicePortSTPPriority=atiL2DevicePortSTPPriority, atiL2IntruderAlert=atiL2IntruderAlert, atiL2VlanConfigGroup=atiL2VlanConfigGroup, atiL2EthErrorAlignment=atiL2EthErrorAlignment, atiL2BrStpPortDesignatedCost=atiL2BrStpPortDesignatedCost, atiL2BeVlanModule2TaggedPorts=atiL2BeVlanModule2TaggedPorts, atiIfExtnEntry=atiIfExtnEntry, atiL2BrBasePortTable=atiL2BrBasePortTable, atiL2SwProduct=atiL2SwProduct, atiL2BrStpBridgeForwardDelay=atiL2BrStpBridgeForwardDelay, atiL2Reset=atiL2Reset, atiL2PvModuleId=atiL2PvModuleId, atiL2BridgeMib=atiL2BridgeMib, atiL2BeVlanModule1TaggedPorts=atiL2BeVlanModule1TaggedPorts, atiL2deviceDebugAvailableBytes=atiL2deviceDebugAvailableBytes, atiL2BrTpAgingTime=atiL2BrTpAgingTime, atiL2IPAddressStatus=atiL2IPAddressStatus, atiL2DeviceGroup=atiL2DeviceGroup, at_8350GB=at_8350GB, atiL2CurrentIpAddress=atiL2CurrentIpAddress, atiL2BrTpFdbAddress=atiL2BrTpFdbAddress, atiL2BeVlanModule4UntaggedPorts=atiL2BeVlanModule4UntaggedPorts, atiL2DevicePortSTPConfig=atiL2DevicePortSTPConfig, atiL2BeVlanTagId=atiL2BeVlanTagId, atiL2BrBaseNumPorts=atiL2BrBaseNumPorts, atiL2BrTpFdbEntry=atiL2BrTpFdbEntry, atiL2BrStpTable=atiL2BrStpTable, atiL2BrTpPortTable=atiL2BrTpPortTable, atiL2BrStpHelloTime=atiL2BrStpHelloTime, atiL2BrBasePortMtuExceededDiscards=atiL2BrBasePortMtuExceededDiscards, atiL2EthPortMonStatsTable=atiL2EthPortMonStatsTable, atiL2DHCPSubnetMask=atiL2DHCPSubnetMask, atiL2BeVlanModule8UntaggedPorts=atiL2BeVlanModule8UntaggedPorts, atiL2PowerSupplyOutage=atiL2PowerSupplyOutage, atiL2BrTpPortMaxInfo=atiL2BrTpPortMaxInfo, atiL2deviceSecurityConfig=atiL2deviceSecurityConfig, atiL2DevicePortNumber=atiL2DevicePortNumber, atiL2BrBasePortLanId=atiL2BrBasePortLanId, atiL2BasicVlanEntry=atiL2BasicVlanEntry, atiL2BrStpEntry=atiL2BrStpEntry, atiL2deviceTable=atiL2deviceTable, atiL2DevicePortConfigGroup=atiL2DevicePortConfigGroup, atiL2BrStpPortDesignatedBridge=atiL2BrStpPortDesignatedBridge, atiL2BeVlanModule7UntaggedPorts=atiL2BeVlanModule7UntaggedPorts, atiL2IpGroup=atiL2IpGroup, atiL2QOSConfigGroup=atiL2QOSConfigGroup, atiL2DHCPCurrentRelayAgentAddress=atiL2DHCPCurrentRelayAgentAddress, atiL2EthErrStatsTable=atiL2EthErrStatsTable, atiL2EthErrorLateCollisions=atiL2EthErrorLateCollisions, atiProduct=atiProduct, atiL2EthPortErrModuleId=atiL2EthPortErrModuleId, atiL2BrTp=atiL2BrTp, atiL2BeVlanIndex=atiL2BeVlanIndex, atiL2BrStpPort=atiL2BrStpPort, atiL2BrBaseTable=atiL2BrBaseTable, atiL2BrBasePortIfIndex=atiL2BrBasePortIfIndex, at_8124XL_V2=at_8124XL_V2, atiL2DeviceNumber=atiL2DeviceNumber, atiL2DevicePortSpeed=atiL2DevicePortSpeed, atiL2BeVlanModule6TaggedPorts=atiL2BeVlanModule6TaggedPorts, atiL2TrapAttrGroup=atiL2TrapAttrGroup, atiL2NMGroup=atiL2NMGroup, atiL2EthErrStatsGroup=atiL2EthErrStatsGroup, atiL2EthErrorTxTotal=atiL2EthErrorTxTotal, atiL2BrBase=atiL2BrBase, atiL2BrTpTable=atiL2BrTpTable, atiL2deviceMDA2Type=atiL2deviceMDA2Type, atiL2ConfiguredIpAddress=atiL2ConfiguredIpAddress, atiL2BeVlanModule3UntaggedPorts=atiL2BeVlanModule3UntaggedPorts, at_8326GB=at_8326GB, atiL2BeVlanName=atiL2BeVlanName, atiL2MirroringDestinationPort=atiL2MirroringDestinationPort, at_8324=at_8324, atiL2MirrorState=atiL2MirrorState, atiL2EthPortMonPortId=atiL2EthPortMonPortId, atiL2PvVlanName=atiL2PvVlanName, atiIfExtnPort=atiIfExtnPort, atiL2BrBasePortEntry=atiL2BrBasePortEntry, atiL2TrapAttrModuleId=atiL2TrapAttrModuleId, atiL2BrStpPortDesignatedPort=atiL2BrStpPortDesignatedPort, atiL2BrStpPortPathCost=atiL2BrStpPortPathCost, atiL2BrTpFdbStatus=atiL2BrTpFdbStatus, atiL2DevicePortBackPressureEnable=atiL2DevicePortBackPressureEnable, atiL2EthMonStatsGroup=atiL2EthMonStatsGroup, atiIfExtnIndex=atiIfExtnIndex, atiL2EthMonModuleId=atiL2EthMonModuleId, MacAddress=MacAddress, atiL2BrBaseBridgeAddress=atiL2BrBaseBridgeAddress, atiL2BrTpPort=atiL2BrTpPort, atiL2deviceMDA1Type=atiL2deviceMDA1Type, atiL2BrTpLanId=atiL2BrTpLanId, atiL2EthMonTxCollisions=atiL2EthMonTxCollisions, atiL2deviceProductType=atiL2deviceProductType, atiL2MirroringSourceModule=atiL2MirroringSourceModule, atiL2DevicePortTransmitPacingConfig=atiL2DevicePortTransmitPacingConfig, atiL2IfExtensions=atiL2IfExtensions, atiL2DHCPExpirationTimer=atiL2DHCPExpirationTimer, atiL2EthMonTxGoodFrames=atiL2EthMonTxGoodFrames, atiL2EthPortMonTxTotalBytes=atiL2EthPortMonTxTotalBytes, atiL2BrBaseEntry=atiL2BrBaseEntry, Timeout=Timeout, atiL2deviceEntry=atiL2deviceEntry, atiL2EthPortErrorTxTotal=atiL2EthPortErrorTxTotal, atiL2EthMonTxDeferred=atiL2EthMonTxDeferred, atiL2DevicePortFlowControlEnable=atiL2DevicePortFlowControlEnable, atiL2BrStpRootCost=atiL2BrStpRootCost, atiL2BeVlanModule7TaggedPorts=atiL2BeVlanModule7TaggedPorts, atiL2IGMPState=atiL2IGMPState, atiL2BeVlanModule1UntaggedPorts=atiL2BeVlanModule1UntaggedPorts, atiL2BeVlanModule3TaggedPorts=atiL2BeVlanModule3TaggedPorts, atiL2DHCPReacquisitionTimer=atiL2DHCPReacquisitionTimer, atiL2BrTpPortOutFrames=atiL2BrTpPortOutFrames, atiL2EthPortMonTxCollisions=atiL2EthPortMonTxCollisions, atiL2BrStpPortEntry=atiL2BrStpPortEntry, atiL2BrStpPortDesignatedRoot=atiL2BrStpPortDesignatedRoot, atiL2DHCPCurrentDHCPClientAddress=atiL2DHCPCurrentDHCPClientAddress, atiL2MirroringSourcePort=atiL2MirroringSourcePort, atiL2EthMonRxOverruns=atiL2EthMonRxOverruns, atiL2BrBasePortDelayExceededDiscards=atiL2BrBasePortDelayExceededDiscards, atiL2BrStpHoldTime=atiL2BrStpHoldTime, atiL2NwMgrTable=atiL2NwMgrTable, atiL2BrStpPortEnable=atiL2BrStpPortEnable, atiL2BeVlanRowStatus=atiL2BeVlanRowStatus, atiL2EthPortMonStatsEntry=atiL2EthPortMonStatsEntry, atiL2EthPortErrorRxBadFrames=atiL2EthPortErrorRxBadFrames, atiIfExtnTable=atiIfExtnTable, atiL2BrStpPortLanId=atiL2BrStpPortLanId, atiL2BrStpProtocolSpecification=atiL2BrStpProtocolSpecification, atiL2BrTpFdbLanId=atiL2BrTpFdbLanId, atiL2BeVlanModule4TaggedPorts=atiL2BeVlanModule4TaggedPorts, atiL2NwMgrIndex=atiL2NwMgrIndex, atiL2Port2VlanTable=atiL2Port2VlanTable, atiL2EthPortMonTxDeferred=atiL2EthPortMonTxDeferred, atiL2EthErrorCRC=atiL2EthErrorCRC, atiL2BrStpBridgeMaxAge=atiL2BrStpBridgeMaxAge, atiL2BrStpPortPriority=atiL2BrStpPortPriority, atiL2EthPortMonTxBroadcastFrames=atiL2EthPortMonTxBroadcastFrames, atiL2EthErrorRxBadFrames=atiL2EthErrorRxBadFrames, atiL2DefaultDomainName=atiL2DefaultDomainName, BridgeId=BridgeId, atiL2EthPortErrorAlignment=atiL2EthPortErrorAlignment, atiL2BrBaseType=atiL2BrBaseType, atiL2BrBasePort=atiL2BrBasePort, atiL2EthPortErrStatsTable=atiL2EthPortErrStatsTable, atiL2BrTpFdbTable=atiL2BrTpFdbTable, atiL2BrTpEntry=atiL2BrTpEntry, atiL2BrStpForwardDelay=atiL2BrStpForwardDelay, atiL2devicePortCount=atiL2devicePortCount, atiL2BrStpPriority=atiL2BrStpPriority, swhub=swhub, atiL2DHCPNextDHCPServerAddress=atiL2DHCPNextDHCPServerAddress, atiL2EthernetStatsGroup=atiL2EthernetStatsGroup, atiL2EthMonStatsEntry=atiL2EthMonStatsEntry, atiL2EthMonRxGoodFrames=atiL2EthMonRxGoodFrames, atiL2EthErrModuleId=atiL2EthErrModuleId, atiL2Port2VlanEntry=atiL2Port2VlanEntry, atiL2TrafficClassIndex=atiL2TrafficClassIndex, atiL2deviceReset=atiL2deviceReset, atiL2EthMonStatsTable=atiL2EthMonStatsTable, atiL2Mib=atiL2Mib, atiL2DevicePortDuplexStatus=atiL2DevicePortDuplexStatus, atiL2EthMonTxMulticastFrames=atiL2EthMonTxMulticastFrames, atiL2BasicVlanTable=atiL2BasicVlanTable, atiL2DevicePortLinkState=atiL2DevicePortLinkState, atiL2DevicePortBridgeid=atiL2DevicePortBridgeid, atiL2MirroringDestinationModule=atiL2MirroringDestinationModule, atiL2BrTpFdbPort=atiL2BrTpFdbPort)
TEST_CHANGES = { ('+1', '+1', '+1'): 3, ('+1', '+1', '-2'): 0, ('-1', '-2', '-3'): -6, } TEST_CHANGES_2 = { ('+1', '-1'): 0, ('+3', '+3', '+4', '-2', '-4'): 10, ('-6', '+3', '+8', '+5', '-6'): 5, ('+7', '+7', '-2', '-7', '-4'): 14, } def calibrate(deltas): frequency = 0 for delta in deltas: frequency += int(delta) return frequency def calibrate_2(deltas): current_frequency = 0 frequency_history = {0} while True: for delta in deltas: current_frequency += int(delta) if current_frequency in frequency_history: return current_frequency frequency_history.add(current_frequency) def test_calibrate(test_data, calibration_fn): for deltas, expected_frequency in test_data.items(): frequency = calibration_fn(deltas) assert frequency == expected_frequency, '{} != {}'.format( frequency, expected_frequency ) def get_input(): with open('input.txt') as input_file: data = input_file.read() lines = data.split('\n') return list(filter(None, lines)) if __name__ == '__main__': deltas = get_input() test_calibrate(TEST_CHANGES, calibrate) frequency = calibrate(deltas) print(frequency) test_calibrate(TEST_CHANGES_2, calibrate_2) frequency = calibrate_2(deltas) print(frequency)
test_changes = {('+1', '+1', '+1'): 3, ('+1', '+1', '-2'): 0, ('-1', '-2', '-3'): -6} test_changes_2 = {('+1', '-1'): 0, ('+3', '+3', '+4', '-2', '-4'): 10, ('-6', '+3', '+8', '+5', '-6'): 5, ('+7', '+7', '-2', '-7', '-4'): 14} def calibrate(deltas): frequency = 0 for delta in deltas: frequency += int(delta) return frequency def calibrate_2(deltas): current_frequency = 0 frequency_history = {0} while True: for delta in deltas: current_frequency += int(delta) if current_frequency in frequency_history: return current_frequency frequency_history.add(current_frequency) def test_calibrate(test_data, calibration_fn): for (deltas, expected_frequency) in test_data.items(): frequency = calibration_fn(deltas) assert frequency == expected_frequency, '{} != {}'.format(frequency, expected_frequency) def get_input(): with open('input.txt') as input_file: data = input_file.read() lines = data.split('\n') return list(filter(None, lines)) if __name__ == '__main__': deltas = get_input() test_calibrate(TEST_CHANGES, calibrate) frequency = calibrate(deltas) print(frequency) test_calibrate(TEST_CHANGES_2, calibrate_2) frequency = calibrate_2(deltas) print(frequency)
class Solution: def reinitializePermutation(self, n: int) -> int: perm = [] for i in range(n): perm.append(i) def op(perm): arr = [0] * len(perm) for i in range(len(perm)): if i % 2 == 0: arr[i] = perm[int(i / 2)] else: arr[i] = perm[int(len(perm) / 2 + (i - 1) / 2)] return arr count = 0 arr_list = [] temp = [0] * n for i in range(n): temp[i] = perm[i] while True: arr = op(temp) # print(arr, perm) count += 1 if arr == perm: return count # else: # if arr in arr_list: # return -1 # arr_list.append(arr) for i in range(n): temp[i] = arr[i] n = 2 n = 4 n = 6 n = 8 s = Solution() print(s.reinitializePermutation(n)) for i in range(2, 1000, 2): print(i, s.reinitializePermutation(i))
class Solution: def reinitialize_permutation(self, n: int) -> int: perm = [] for i in range(n): perm.append(i) def op(perm): arr = [0] * len(perm) for i in range(len(perm)): if i % 2 == 0: arr[i] = perm[int(i / 2)] else: arr[i] = perm[int(len(perm) / 2 + (i - 1) / 2)] return arr count = 0 arr_list = [] temp = [0] * n for i in range(n): temp[i] = perm[i] while True: arr = op(temp) count += 1 if arr == perm: return count for i in range(n): temp[i] = arr[i] n = 2 n = 4 n = 6 n = 8 s = solution() print(s.reinitializePermutation(n)) for i in range(2, 1000, 2): print(i, s.reinitializePermutation(i))
N = int(input()) C = [list(map(int, input().split())) for _ in range(N)] INF = 10 ** 18 a = INF i, j = 0, 0 for y in range(N): for x in range(N): if C[y][x] >= a: continue i, j = y, x a = C[y][x] def f(z): A = [INF] * N B = [INF] * N A[i] = z for x in range(N): B[x] = C[i][x] - z for y in range(N): A[y] = C[y][0] - B[0] for y in range(N): for x in range(N): if C[y][x] != A[y] + B[x]: return None return A, B for z in range(max(0, a // 2 - 10), min(a // 2 + 10, a + 1)): result = f(z) if result is None: continue print('Yes') print(*result[0]) print(*result[1]) break else: print('No')
n = int(input()) c = [list(map(int, input().split())) for _ in range(N)] inf = 10 ** 18 a = INF (i, j) = (0, 0) for y in range(N): for x in range(N): if C[y][x] >= a: continue (i, j) = (y, x) a = C[y][x] def f(z): a = [INF] * N b = [INF] * N A[i] = z for x in range(N): B[x] = C[i][x] - z for y in range(N): A[y] = C[y][0] - B[0] for y in range(N): for x in range(N): if C[y][x] != A[y] + B[x]: return None return (A, B) for z in range(max(0, a // 2 - 10), min(a // 2 + 10, a + 1)): result = f(z) if result is None: continue print('Yes') print(*result[0]) print(*result[1]) break else: print('No')
{ "targets": [ { "target_name": "lzh", "sources": [ "src/binding.cc", "src/lzh.c" ], "include_dirs": [ "<!(node -e \"require('nan')\")", "<!(node -e \"require('cpp-debug')\")" ] } ] }
{'targets': [{'target_name': 'lzh', 'sources': ['src/binding.cc', 'src/lzh.c'], 'include_dirs': ['<!(node -e "require(\'nan\')")', '<!(node -e "require(\'cpp-debug\')")']}]}
class TP_Texts: # __init__() init_error1 = "Start and End must be of type datetime.datetime!" init_error2 = "End must be larger than start!" # start() start_error1 = "Time must be of type datetime.datetime!" start_error2 = "start must be smaller than end of Time_Period!" # end() end_error1 = "end must be larger than start of TimePeriod!" # general general_error1 = "'another' must be of type datetime.datetime or sptemp.zeit.Time_Period!" general_error2 = "'another' must be of type sptemp.zeit.Time_Period!" class TS_Texts: # __init__() init_error1 = "ts must be of type datetime.datetime or sptemp.zeit.Time_Period!" # value() v_error1 = "value must be of same type as old value of the TS_Object!" class Unit_Texts: # __init__() init_error1 = "value must be of type 'types.FunctionType'!" init_error2 = "ts must be of type sptemp.zeit.Time_Period!" #interpolate() i_error1 = "start_ts AND end_ts must be of type sptemp.zeit.TS_Object!" i_error2 = "Time must be of type datetime.datetime!" i_error3 = "start_ts.end_time() must be included in self.ts!" #i_error4 = "end_ts.start_time() must be included in self.ts!" i_error5 = "time must be included in self.ts!" class IP_Texts: # __init__() init_error1 = "Empty instantiation not possible!" init_error2 = "ts_unit_list must be list holding objects of type sptemp.zeit.TS_Unit!" init_error3 = "TS_Unit elements of ts_unit_list must be time-sorted and end_times of units must equal start_times of next unit!" # setitem() set_error1 = "Index must be of type integer! Slices not allowed" set_error2 = "Value must be of type TS_Unit!" set_error3 = "Index out of range!" set_error4 = "Value must cover same time_period as the value it replaces!" # delitem() del_error1 = "Only first and last item can be deleted!" del_error2 = "Interpolator object cannot be empty!" # interpolate() ip_error1 = "start_ts and end_ts must be of type sptemp.zeit.TS_Object!" ip_error2 = "time must be of type datetime.datetime!" ip_error3 = "start_ts.end_time() must be >= self.start_time()!" ip_error4 = "time must be >= start_ts.end_time() and <= end_ts.start_time()!" ip_error5 = "time must be >= self.start_time() and <= self.end_time()!" ip_error6 = "start_ts.end_time() must be < end_ts.start_time()!" # value() val_error1 = "time must be of type datetime.datetime!" # value() slice_error1 = "time must be of type sptemp.zeit.Time_Period!" slice_error2 = "slice produces empty Interpolator. Either time.start or time.end must be contained in timespan of Interpolator!" # append() app_error1 = "Value must be of type sptemp.zeit.TS_Unit!" app_error2 = "Value.start_time() must equal Interpolator.end_time()" # insert() in_error1 = "Value must be of type sptemp.zeit.TS_Unit!" in_error2 = "Either value.start_time() or value.end_time() must be >= Interpolator.start_time() and <= Interpolator.end_time()!" # delete() delete_error1 = "time must be of type sptemp.zeit.Time_Period!" delete_error2 = "Interpolator object cannot be empty!" delete_error3 = "Invalid time. Time must overlap Interpolator.start_time() or Interpolator.end_time()!" class MO_Texts: # init() init_error1 = "Empty instantiation not possible!" init_error2 = "ts_object_list must be list holding objects of type sptemp.zeit.TS_Object!" init_error3 = "interpolator must be of type sptemp.zeit.Interpolator!" init_error4 = "TS_Objects must have same type!" init_error5 = "ts_object_list must be time-sorted and TS_Objects must be disjoint!" # setitem() set_error1 = "Index must be of type integer! Slices not allowed" set_error2 = "Value must be of type TS_Object!" set_error3 = "Value.type must be equal to self.type!" set_error4 = "Index out of range!" set_error5 = "Value and existing TS_Objects in Moving_Object are not disjoint!" # delitem() del_error1 = "key must be of type interger or slice!" del_error2 = "Moving_Object cannot become empty!" # interpolate() i_error1 = "time must be of type datetime.datetime!" i_error2 = "time must be >= self.start_time() and <= self.end_time()!" i_error3 = "Interpolator must return TSO_object with same type as self.type!" # slice() slice_error1 = "Time must be of type sptemp.zeit.Time_Period!" slice_error2 = "interpolator must be of type sptemp.zeit.Interpolator!" slice_error3 = "Slice is empty!" # resampled_slice() re_slice_error1 = "Times must be of type slice!" re_slice_error2 = "Lenght of times must be > 1!" re_slice_error3 = "interpolator must be of type sptemp.zeit.Interpolator!" # prev_ts() prev_error1 = "Time must be of type datetime.datetime!" # append() app_error1 = "Value must be of type spetemp.zeit.TS_Object!" app_error2 = "Value.start_time() must be > Moving_Object.end_time()" # insert() in_error1 = "Value must be of type spetemp.zeit.TS_Object!" in_error2 = "Value.ts and timestamps of esisting TS_Objects in Moving_Object must be disjoint!" in_error3 = "Value.type must be equal to self.type!" # delete() delete_error1 = "Time must be of type sptemp.zeit.Time_Period!" delete_error2 = "Moving_Object cannot become empty!" class TS_Geometry_Texts: # __init__(): init_error1 = "Value must be of type shapely.geometry!" init_error2 = "Value must not be empty!" init_error3 = "crs must be of type pyproj.Proj!" # value() v_error1 = "value must be equal to self.type!" v_error2 = "self.has_z and value.has_z must be equal!" # reproject() r_error1 = "TS_Geometry has no coordinate reference system!" r_error2 = "to_crs must be of type pyproj.Proj!" class TS_Point_Texts: # __init__(): init_error1 = "Value must be of type shapely.geometry.Point!" init_error2 = "Point must not be empty!" init_error3 = "crs must be of type pyproj.Proj!" # value() v_error1 = "value must be of type shapey.geometry.Point!" v_error2 = "self.has_z and value.has_z must be equal!" # reproject() r_error1 = "TS_Point has no coordinate reference system!" r_error2 = "to_crs must be of type pyproj.Proj!" class MG_Texts: # within w_error1 = "another must be of type shapely.geometry or TS_Geometry or Moving_Geometry or Moving_Collection!" w_error2 = "timedelta must be positive!" w_error3 = "td1 must be larger or equal to td2!" class MP_Texts: # __init__() init_error1 = "ts_objects_list can only elements of type sptemp.moving_geometry.TS_Points!" init_error2 = "coordinate reference system of all TS_Points in ts_object_list must be equal!" init_error3 = "TS_Point.has_z must be equal for all TS_Points in ts_object_list!" # __setitem__() set_error1 = "value must be of type sptemp.moving_geometry.TS_Point!" # __append__() app_error1 = "value must be of type sptemp.moving_geometry.TS_Point!" # insert() in_error1 = "value must be of type sptemp.moving_geometry.TS_Point!" # reproject() re_error1 = "Moving_Object has no coorinate reference system!" class TS_LineString_Texts: # __init__(): init_error1 = "Value must be of type shapely.geometry.LineString!" init_error2 = "LineString must not be empty!" init_error3 = "crs must be of type pyproj.Proj!" # value() v_error1 = "value must be of type shapey.geometry.LineString!" v_error2 = "self.has_z and value.has_z must be equal!" # reproject() r_error1 = "TS_LineString has no coordinate reference system!" r_error2 = "to_crs must be of type pyproj.Proj!" class ML_Texts: # __init__() init_error1 = "ts_objects_list can only elements of type sptemp.moving_geometry.TS_LineString!" init_error2 = "coordinate reference system of all TS_LineStrings in ts_object_list must be equal!" init_error3 = "TS_LineSTring.has_z must be equal for all TS_LineStrings in ts_object_list!" # __setitem__() set_error1 = "value must be of type sptemp.moving_geometry.TS_LineString!" # __append__() app_error1 = "value must be of type sptemp.moving_geometry.TS_LineString!" # insert() in_error1 = "value must be of type sptemp.moving_geometry.TS_LineString!" # reproject() re_error1 = "Moving_Object has no coordinate reference system!" class TS_LinearRing_Texts: # __init__(): init_error1 = "Value must be of type shapely.geometry.LinearRing!" class MLR_Texts: # __init__() init_error1 = "ts_objects_list can only elements of type sptemp.moving_geometry.TS_LinearRing!" init_error2 = "coordinate reference system of all TS_LinearRings in ts_object_list must be equal!" init_error3 = "TS_LinearRing.has_z must be equal for all TS_LinearRings in ts_object_list!" # __setitem__() set_error1 = "value must be of type sptemp.moving_geometry.TS_LinearRing!" # __append__() app_error1 = "value must be of type sptemp.moving_geometry.TS_LinearRing!" # insert() in_error1 = "value must be of type sptemp.moving_geometry.TS_LinearRing!" class MC_Texts: # __init__() init_error1 = "moving_list cannot be empty!" init_error2 = "moving_list must be of type list!" init_error3 = "moving_list can only contain values of type Moving_Point, Moving_LineString and Moving_Polygon!" # interpolate() ip_error1 = "time must be of type datetime.datetime!" ip_error2 = "args_dict must be of type dict!" # slice() slice_error1 = "time must be type sptemp.zeit.TimePeriod!" slice_error2 = "interpolator_dict must be of type dict!" # resampled_slice() re_slice_error1 = "Times must be of type slice!" re_slice_error2 = "Lenght of times must be > 1!" re_slice_error3 = "interpolator must be of type dict!" class MPL_Texts: # __init__() init_error1 = "exterior ring must be of type sptemp.moving_geometry.Moving_LinearRing!" init_error2 = "interior rings must be of type list!" init_error3 = "interior ring must be of type sptemp.moving_geometry.Moving_LinearRing!" # interpolate() ip_error1 = "time must be of type datetime.datetime!" ip_error2 = "args_dict must be of type dict!" # slice() slice_error1 = "time must be of type sptemp.zeit.Time_Period!" slice_error2 = "interpolator_dict must be of type dict!" class MMP_Texts: # __init__() init_error1 = "moving_list cannot be empty!" init_error2 = "moving_list must be of type list!" init_error3 = "moving_list can only contain values of type Moving_Point!" class MML_Texts: # __init__() init_error1 = "moving_list cannot be empty!" init_error2 = "moving_list must be of type list!" init_error3 = "moving_list can only contain values of type Moving_LineString!" class MMPL_Texts: # __init__() init_error1 = "moving_list cannot be empty!" init_error2 = "moving_list must be of type list!" init_error3 = "moving_list can only contain values of type Moving_Polygon!" # slice() slice_error1 = "time must be type sptemp.zeit.TimePeriod!" slice_error2 = "interpolator_dict must be of type dict!" class MG_Helper_Texts: # has_z_equal() hz_error1 = "has_z and has_z must be consistent!" # crs_equal() crs_error1 = "crs must be consistent!" class IC_Texts: # linear() error1 = "start_ts AND end_ts must be of type sptemp.zeit.TS_Object!" error2 = "Time must be of type datetime.datetime!" error3 = "start_ts.type must be equal to end_ts.type" error4 = "start_ts must lay before end_ts on the time_axis" class IPoint_Texts: # linear_point() lp_error1 = "start_ts and end_ts must be of type sptemp.moving_geometry.TS_Point!" lp_error2 = "time must be of type datetime.datetime!" lp_error3 = "start_ts.has_z must be equal to end_ts.has_z!" lp_error4 = "start_ts must lay before end_ts on the time_axis!" lp_error5 = "time must be >= start_ts.end_time() and <= end_ts.start_time()!" lp_error6 = "start_ts.crs must be equal to end_ts.crs!" # curve_point() c_error1 = "start_ts and end_ts must be of type sptemp.moving_geometry.TS_Point!" c_error2 = "time must be of type datetime.datetime!" c_error3 = "curve must be of type shpely.geometry.LineString!" c_error4 = "start_ts.has_z, end_ts.has_z and curve.has_z must be equal!" c_error5 = "start_ts.crs must be equal to end_ts.crs!" c_error6 = "start_ts must lay before end_ts on the time_axis" c_error7 = "time must be >= start_ts.end_time() and <= end_ts.start_time()!" c_error8 = "start_ts.value must be equal to start point of curve and end_ts.value must be equal to end point of curve!" class ICurve_Texts: # basic_linear() bl_error1 = "start_ts and end_ts must be of type sptemp.moving_geometry.TS_LineString!" bl_error2 = "time must be of type datetime.datetime!" bl_error3 = "start_ts.has_z and end_ts.has_z must be equal!" bl_error4 = "start_ts.crs must be equal to end_ts.crs!" bl_error5 = "start_ts must lay before end_ts on the time_axis" bl_error6 = "time must be >= start_ts.end_time() and <= end_ts.start_time()!" bl_error7 = "s_type must be in ['angle', 'distance']!" class IRing_Texts: # linear_translation() lt_error1 = "start_ts and end_ts must be of type sptemp.moving_geometry.TS_LinearRing!" lt_error2 = "time must be of type datetime.datetime!" lt_error3 = "start_ts.has_z and end_ts.has_z must be equal!" lt_error4 = "start_ts.crs must be equal to end_ts.crs!" lt_error5 = "start_ts must lay before end_ts on the time_axis" lt_error6 = "time must be >= start_ts.end_time() and <= end_ts.start_time()!" lt_error7 = "s_type must be in ['angle', 'distance']!" class IHelper_Texts: # linear_point() lp_error1 = "invalid coordinate dimensions!" # angle() ang_error1 = "invalid coordinate dimensions!" class SPT_Texts: # __init__() init_error1 = "dataframe must be of type pandas.DataFrame!" init_error2 = "Geometry column must have name 'geometry'!" #init_error3 = "empty instantiation not possible!" init_error4 = "crs must be of type pyproj.Proj!" init_error5 = "Geometry type must be shapely.geometry or Moving_Point, Moving_LineString, Moving_LinearRing or Moving_Collection!" # interpolate ip_error1 = "time must be of type datetime.datetime!" ip_error2 = "args must be stored in dict for Moving_Collections and in list for Moving_Objects!" # slice slice_error1 = "time must be of type sptemp.zeit.Time_Period!" # reproject re_error1 = "If geometry column holds values of type shapely.geometry SPT_DataFrame.crs has to be set for reprojection!" re_error2 = "to_crs must be of type pyproj.Proj!" # read_from_json rj_error1 = "File does not exist!" rj_error2 = "interpolator_dict must of type dict!" rj_error3 = "For empty instantiation, column_names must be defined!"
class Tp_Texts: init_error1 = 'Start and End must be of type datetime.datetime!' init_error2 = 'End must be larger than start!' start_error1 = 'Time must be of type datetime.datetime!' start_error2 = 'start must be smaller than end of Time_Period!' end_error1 = 'end must be larger than start of TimePeriod!' general_error1 = "'another' must be of type datetime.datetime or sptemp.zeit.Time_Period!" general_error2 = "'another' must be of type sptemp.zeit.Time_Period!" class Ts_Texts: init_error1 = 'ts must be of type datetime.datetime or sptemp.zeit.Time_Period!' v_error1 = 'value must be of same type as old value of the TS_Object!' class Unit_Texts: init_error1 = "value must be of type 'types.FunctionType'!" init_error2 = 'ts must be of type sptemp.zeit.Time_Period!' i_error1 = 'start_ts AND end_ts must be of type sptemp.zeit.TS_Object!' i_error2 = 'Time must be of type datetime.datetime!' i_error3 = 'start_ts.end_time() must be included in self.ts!' i_error5 = 'time must be included in self.ts!' class Ip_Texts: init_error1 = 'Empty instantiation not possible!' init_error2 = 'ts_unit_list must be list holding objects of type sptemp.zeit.TS_Unit!' init_error3 = 'TS_Unit elements of ts_unit_list must be time-sorted and end_times of units must equal start_times of next unit!' set_error1 = 'Index must be of type integer! Slices not allowed' set_error2 = 'Value must be of type TS_Unit!' set_error3 = 'Index out of range!' set_error4 = 'Value must cover same time_period as the value it replaces!' del_error1 = 'Only first and last item can be deleted!' del_error2 = 'Interpolator object cannot be empty!' ip_error1 = 'start_ts and end_ts must be of type sptemp.zeit.TS_Object!' ip_error2 = 'time must be of type datetime.datetime!' ip_error3 = 'start_ts.end_time() must be >= self.start_time()!' ip_error4 = 'time must be >= start_ts.end_time() and <= end_ts.start_time()!' ip_error5 = 'time must be >= self.start_time() and <= self.end_time()!' ip_error6 = 'start_ts.end_time() must be < end_ts.start_time()!' val_error1 = 'time must be of type datetime.datetime!' slice_error1 = 'time must be of type sptemp.zeit.Time_Period!' slice_error2 = 'slice produces empty Interpolator. Either time.start or time.end must be contained in timespan of Interpolator!' app_error1 = 'Value must be of type sptemp.zeit.TS_Unit!' app_error2 = 'Value.start_time() must equal Interpolator.end_time()' in_error1 = 'Value must be of type sptemp.zeit.TS_Unit!' in_error2 = 'Either value.start_time() or value.end_time() must be >= Interpolator.start_time() and <= Interpolator.end_time()!' delete_error1 = 'time must be of type sptemp.zeit.Time_Period!' delete_error2 = 'Interpolator object cannot be empty!' delete_error3 = 'Invalid time. Time must overlap Interpolator.start_time() or Interpolator.end_time()!' class Mo_Texts: init_error1 = 'Empty instantiation not possible!' init_error2 = 'ts_object_list must be list holding objects of type sptemp.zeit.TS_Object!' init_error3 = 'interpolator must be of type sptemp.zeit.Interpolator!' init_error4 = 'TS_Objects must have same type!' init_error5 = 'ts_object_list must be time-sorted and TS_Objects must be disjoint!' set_error1 = 'Index must be of type integer! Slices not allowed' set_error2 = 'Value must be of type TS_Object!' set_error3 = 'Value.type must be equal to self.type!' set_error4 = 'Index out of range!' set_error5 = 'Value and existing TS_Objects in Moving_Object are not disjoint!' del_error1 = 'key must be of type interger or slice!' del_error2 = 'Moving_Object cannot become empty!' i_error1 = 'time must be of type datetime.datetime!' i_error2 = 'time must be >= self.start_time() and <= self.end_time()!' i_error3 = 'Interpolator must return TSO_object with same type as self.type!' slice_error1 = 'Time must be of type sptemp.zeit.Time_Period!' slice_error2 = 'interpolator must be of type sptemp.zeit.Interpolator!' slice_error3 = 'Slice is empty!' re_slice_error1 = 'Times must be of type slice!' re_slice_error2 = 'Lenght of times must be > 1!' re_slice_error3 = 'interpolator must be of type sptemp.zeit.Interpolator!' prev_error1 = 'Time must be of type datetime.datetime!' app_error1 = 'Value must be of type spetemp.zeit.TS_Object!' app_error2 = 'Value.start_time() must be > Moving_Object.end_time()' in_error1 = 'Value must be of type spetemp.zeit.TS_Object!' in_error2 = 'Value.ts and timestamps of esisting TS_Objects in Moving_Object must be disjoint!' in_error3 = 'Value.type must be equal to self.type!' delete_error1 = 'Time must be of type sptemp.zeit.Time_Period!' delete_error2 = 'Moving_Object cannot become empty!' class Ts_Geometry_Texts: init_error1 = 'Value must be of type shapely.geometry!' init_error2 = 'Value must not be empty!' init_error3 = 'crs must be of type pyproj.Proj!' v_error1 = 'value must be equal to self.type!' v_error2 = 'self.has_z and value.has_z must be equal!' r_error1 = 'TS_Geometry has no coordinate reference system!' r_error2 = 'to_crs must be of type pyproj.Proj!' class Ts_Point_Texts: init_error1 = 'Value must be of type shapely.geometry.Point!' init_error2 = 'Point must not be empty!' init_error3 = 'crs must be of type pyproj.Proj!' v_error1 = 'value must be of type shapey.geometry.Point!' v_error2 = 'self.has_z and value.has_z must be equal!' r_error1 = 'TS_Point has no coordinate reference system!' r_error2 = 'to_crs must be of type pyproj.Proj!' class Mg_Texts: w_error1 = 'another must be of type shapely.geometry or TS_Geometry or Moving_Geometry or Moving_Collection!' w_error2 = 'timedelta must be positive!' w_error3 = 'td1 must be larger or equal to td2!' class Mp_Texts: init_error1 = 'ts_objects_list can only elements of type sptemp.moving_geometry.TS_Points!' init_error2 = 'coordinate reference system of all TS_Points in ts_object_list must be equal!' init_error3 = 'TS_Point.has_z must be equal for all TS_Points in ts_object_list!' set_error1 = 'value must be of type sptemp.moving_geometry.TS_Point!' app_error1 = 'value must be of type sptemp.moving_geometry.TS_Point!' in_error1 = 'value must be of type sptemp.moving_geometry.TS_Point!' re_error1 = 'Moving_Object has no coorinate reference system!' class Ts_Linestring_Texts: init_error1 = 'Value must be of type shapely.geometry.LineString!' init_error2 = 'LineString must not be empty!' init_error3 = 'crs must be of type pyproj.Proj!' v_error1 = 'value must be of type shapey.geometry.LineString!' v_error2 = 'self.has_z and value.has_z must be equal!' r_error1 = 'TS_LineString has no coordinate reference system!' r_error2 = 'to_crs must be of type pyproj.Proj!' class Ml_Texts: init_error1 = 'ts_objects_list can only elements of type sptemp.moving_geometry.TS_LineString!' init_error2 = 'coordinate reference system of all TS_LineStrings in ts_object_list must be equal!' init_error3 = 'TS_LineSTring.has_z must be equal for all TS_LineStrings in ts_object_list!' set_error1 = 'value must be of type sptemp.moving_geometry.TS_LineString!' app_error1 = 'value must be of type sptemp.moving_geometry.TS_LineString!' in_error1 = 'value must be of type sptemp.moving_geometry.TS_LineString!' re_error1 = 'Moving_Object has no coordinate reference system!' class Ts_Linearring_Texts: init_error1 = 'Value must be of type shapely.geometry.LinearRing!' class Mlr_Texts: init_error1 = 'ts_objects_list can only elements of type sptemp.moving_geometry.TS_LinearRing!' init_error2 = 'coordinate reference system of all TS_LinearRings in ts_object_list must be equal!' init_error3 = 'TS_LinearRing.has_z must be equal for all TS_LinearRings in ts_object_list!' set_error1 = 'value must be of type sptemp.moving_geometry.TS_LinearRing!' app_error1 = 'value must be of type sptemp.moving_geometry.TS_LinearRing!' in_error1 = 'value must be of type sptemp.moving_geometry.TS_LinearRing!' class Mc_Texts: init_error1 = 'moving_list cannot be empty!' init_error2 = 'moving_list must be of type list!' init_error3 = 'moving_list can only contain values of type Moving_Point, Moving_LineString and Moving_Polygon!' ip_error1 = 'time must be of type datetime.datetime!' ip_error2 = 'args_dict must be of type dict!' slice_error1 = 'time must be type sptemp.zeit.TimePeriod!' slice_error2 = 'interpolator_dict must be of type dict!' re_slice_error1 = 'Times must be of type slice!' re_slice_error2 = 'Lenght of times must be > 1!' re_slice_error3 = 'interpolator must be of type dict!' class Mpl_Texts: init_error1 = 'exterior ring must be of type sptemp.moving_geometry.Moving_LinearRing!' init_error2 = 'interior rings must be of type list!' init_error3 = 'interior ring must be of type sptemp.moving_geometry.Moving_LinearRing!' ip_error1 = 'time must be of type datetime.datetime!' ip_error2 = 'args_dict must be of type dict!' slice_error1 = 'time must be of type sptemp.zeit.Time_Period!' slice_error2 = 'interpolator_dict must be of type dict!' class Mmp_Texts: init_error1 = 'moving_list cannot be empty!' init_error2 = 'moving_list must be of type list!' init_error3 = 'moving_list can only contain values of type Moving_Point!' class Mml_Texts: init_error1 = 'moving_list cannot be empty!' init_error2 = 'moving_list must be of type list!' init_error3 = 'moving_list can only contain values of type Moving_LineString!' class Mmpl_Texts: init_error1 = 'moving_list cannot be empty!' init_error2 = 'moving_list must be of type list!' init_error3 = 'moving_list can only contain values of type Moving_Polygon!' slice_error1 = 'time must be type sptemp.zeit.TimePeriod!' slice_error2 = 'interpolator_dict must be of type dict!' class Mg_Helper_Texts: hz_error1 = 'has_z and has_z must be consistent!' crs_error1 = 'crs must be consistent!' class Ic_Texts: error1 = 'start_ts AND end_ts must be of type sptemp.zeit.TS_Object!' error2 = 'Time must be of type datetime.datetime!' error3 = 'start_ts.type must be equal to end_ts.type' error4 = 'start_ts must lay before end_ts on the time_axis' class Ipoint_Texts: lp_error1 = 'start_ts and end_ts must be of type sptemp.moving_geometry.TS_Point!' lp_error2 = 'time must be of type datetime.datetime!' lp_error3 = 'start_ts.has_z must be equal to end_ts.has_z!' lp_error4 = 'start_ts must lay before end_ts on the time_axis!' lp_error5 = 'time must be >= start_ts.end_time() and <= end_ts.start_time()!' lp_error6 = 'start_ts.crs must be equal to end_ts.crs!' c_error1 = 'start_ts and end_ts must be of type sptemp.moving_geometry.TS_Point!' c_error2 = 'time must be of type datetime.datetime!' c_error3 = 'curve must be of type shpely.geometry.LineString!' c_error4 = 'start_ts.has_z, end_ts.has_z and curve.has_z must be equal!' c_error5 = 'start_ts.crs must be equal to end_ts.crs!' c_error6 = 'start_ts must lay before end_ts on the time_axis' c_error7 = 'time must be >= start_ts.end_time() and <= end_ts.start_time()!' c_error8 = 'start_ts.value must be equal to start point of curve and end_ts.value must be equal to end point of curve!' class Icurve_Texts: bl_error1 = 'start_ts and end_ts must be of type sptemp.moving_geometry.TS_LineString!' bl_error2 = 'time must be of type datetime.datetime!' bl_error3 = 'start_ts.has_z and end_ts.has_z must be equal!' bl_error4 = 'start_ts.crs must be equal to end_ts.crs!' bl_error5 = 'start_ts must lay before end_ts on the time_axis' bl_error6 = 'time must be >= start_ts.end_time() and <= end_ts.start_time()!' bl_error7 = "s_type must be in ['angle', 'distance']!" class Iring_Texts: lt_error1 = 'start_ts and end_ts must be of type sptemp.moving_geometry.TS_LinearRing!' lt_error2 = 'time must be of type datetime.datetime!' lt_error3 = 'start_ts.has_z and end_ts.has_z must be equal!' lt_error4 = 'start_ts.crs must be equal to end_ts.crs!' lt_error5 = 'start_ts must lay before end_ts on the time_axis' lt_error6 = 'time must be >= start_ts.end_time() and <= end_ts.start_time()!' lt_error7 = "s_type must be in ['angle', 'distance']!" class Ihelper_Texts: lp_error1 = 'invalid coordinate dimensions!' ang_error1 = 'invalid coordinate dimensions!' class Spt_Texts: init_error1 = 'dataframe must be of type pandas.DataFrame!' init_error2 = "Geometry column must have name 'geometry'!" init_error4 = 'crs must be of type pyproj.Proj!' init_error5 = 'Geometry type must be shapely.geometry or Moving_Point, Moving_LineString, Moving_LinearRing or Moving_Collection!' ip_error1 = 'time must be of type datetime.datetime!' ip_error2 = 'args must be stored in dict for Moving_Collections and in list for Moving_Objects!' slice_error1 = 'time must be of type sptemp.zeit.Time_Period!' re_error1 = 'If geometry column holds values of type shapely.geometry SPT_DataFrame.crs has to be set for reprojection!' re_error2 = 'to_crs must be of type pyproj.Proj!' rj_error1 = 'File does not exist!' rj_error2 = 'interpolator_dict must of type dict!' rj_error3 = 'For empty instantiation, column_names must be defined!'
# # PySNMP MIB module CISCO-OTV-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-OTV-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:09:07 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, ConstraintsIntersection, SingleValueConstraint, ValueSizeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsIntersection", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsUnion") ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt") Cisco2KVlanList, = mibBuilder.importSymbols("CISCO-TC", "Cisco2KVlanList") InterfaceIndexOrZero, = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero") InetAddress, InetAddressType, InetAddressPrefixLength = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType", "InetAddressPrefixLength") VlanIndex, = mibBuilder.importSymbols("Q-BRIDGE-MIB", "VlanIndex") SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") ObjectGroup, ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup") Bits, IpAddress, Unsigned32, ModuleIdentity, Counter32, MibScalar, MibTable, MibTableRow, MibTableColumn, Integer32, TimeTicks, Gauge32, ObjectIdentity, NotificationType, Counter64, iso, MibIdentifier = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "IpAddress", "Unsigned32", "ModuleIdentity", "Counter32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Integer32", "TimeTicks", "Gauge32", "ObjectIdentity", "NotificationType", "Counter64", "iso", "MibIdentifier") TextualConvention, RowStatus, DisplayString, MacAddress, TruthValue, StorageType = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "RowStatus", "DisplayString", "MacAddress", "TruthValue", "StorageType") ciscoOtvMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 810)) ciscoOtvMIB.setRevisions(('2013-08-05 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ciscoOtvMIB.setRevisionsDescriptions(('Initial version of this MIB module.',)) if mibBuilder.loadTexts: ciscoOtvMIB.setLastUpdated('201308050000Z') if mibBuilder.loadTexts: ciscoOtvMIB.setOrganization('Cisco Systems, Inc.') if mibBuilder.loadTexts: ciscoOtvMIB.setContactInfo('Cisco Systems Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553-NETS E-mail: [email protected]') if mibBuilder.loadTexts: ciscoOtvMIB.setDescription("This MIB module is for configuration & statistic query of Overlay Transport Virtualization (OTV) functionality on Cisco routers and switches. Overlay Transport Virtualization is a Cisco's innovative LAN extension technology. It is an IP-based functionality that provides Layer 2 extension capabilities over any transport infrastructure: Layer 2 based, Layer 3 based, IP switched, label switched, and so on. OTV provides an overlay that enables Layer 2 connectivity between separate Layer 2 domains while keeping these domains independent and preserving the fault- isolation, resiliency, and load-balancing benefits of an IP- based interconnection. OTV introduces the concept of MAC routing, which means a control plane protocol is used to exchange MAC reachability information between network devices providing LAN extension functionality. This is a significant shift from Layer 2 switching that traditionally leverages data plane learning, and it is justified by the need to limit flooding of Layer 2 traffic across the transport infrastructure. OTV also introduces the concept of dynamic encapsulation for Layer 2 flows that need to be sent to remote locations. Each Ethernet frame is individually encapsulated into an IP packet and delivered across the transport network. Finally, OTV provides a native built-in multi-homing capability with automatic detection, critical to increasing high availability of the overall solution. Two or more devices can be leveraged in each data center to provide LAN extension functionality without running the risk of creating an end-to-end loop that would jeopardize the overall stability of the design. The followings detail the OTV specific terminology: Edge Device The edge device performs OTV functions: it receives the Layer 2 traffic for all VLANs that need to be extended to remote locations and dynamically encapsulates the Ethernet frames into IP packets that are then sent across the transport infrastructure. Internal Interfaces To perform OTV functionality, the edge device must receive the Layer 2 traffic for all VLANs that need to be extended to remote locations. The Layer 2 interfaces, where the Layer 2 traffic is usually received, are named internal interfaces. Join Interface The Join interface is used to source the OTV encapsulated traffic and send it to the Layer 3 domain of the data center network. Overlay Interface The Overlay interface is a logical multi-access and multicast- capable interface that must be explicitly defined by the user and where the entire OTV configuration is applied. The following terms are used throughout this MIB: AED Authoritative Edge Device ARP Address Resolution Protocol DNS Domain Name System ISIS Intermediate System to Intermediate System Routing Protocol LSPDB Link State PDU Database OTV Overlay Transport Virtualization VLAN Virtual Local Area Network VPN Virtual Private Network") ciscoOtvMIBNotifs = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 0)) ciscoOtvMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 1)) ciscoOtvMIBConform = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 2)) cotvGlobalObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 1)) cotvOverlayObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2)) cotvAdjacencyObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 3)) cotvArpNdObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 4)) cotvRouteObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5)) cotvSiteObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 1, 1)) cotvGlobalStatsObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 1, 2)) cotvSiteIdAdmin = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 1, 1, 1), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4, 4), ValueSizeConstraint(6, 6), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: cotvSiteIdAdmin.setStatus('current') if mibBuilder.loadTexts: cotvSiteIdAdmin.setDescription('This object specifies OTV site identifier for this device. The OTV site identifier could be either a four octets value or a six octets valid MAC address. If the OTV site identifier is not configured, this object will have four zero octets.') cotvSiteIdOper = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvSiteIdOper.setStatus('current') if mibBuilder.loadTexts: cotvSiteIdOper.setDescription('This object indicates OTV site identifier in use for this device. There is no operational OTV site identifier if the value of this object contains all zeros.') cotvSiteVlan = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 1, 1, 3), VlanIndex()).setMaxAccess("readwrite") if mibBuilder.loadTexts: cotvSiteVlan.setStatus('current') if mibBuilder.loadTexts: cotvSiteVlan.setDescription('This object specifies the OTV site VLAN for this device.') cotvSiteVlanState = MibScalar((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvSiteVlanState.setStatus('current') if mibBuilder.loadTexts: cotvSiteVlanState.setDescription("This object indicates the state of OTV site VLAN. 'up' - OTV site VLAN is up 'down' - OTV site VLAN is down") cotvOverlayTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1), ) if mibBuilder.loadTexts: cotvOverlayTable.setStatus('current') if mibBuilder.loadTexts: cotvOverlayTable.setDescription('A list of Overlay interfaces configured on this device.') cotvOverlayEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1), ).setIndexNames((0, "CISCO-OTV-MIB", "cotvOverlayNumber")) if mibBuilder.loadTexts: cotvOverlayEntry.setStatus('current') if mibBuilder.loadTexts: cotvOverlayEntry.setDescription('An entry containing management information for a particular Overlay interface.') cotvOverlayNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 1), Unsigned32()) if mibBuilder.loadTexts: cotvOverlayNumber.setStatus('current') if mibBuilder.loadTexts: cotvOverlayNumber.setDescription('A unique number to identify an Overlay interface.') cotvOverlayVpnName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 2), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvOverlayVpnName.setStatus('current') if mibBuilder.loadTexts: cotvOverlayVpnName.setDescription('This object indicates the name of the Virtual Private Network associated with this Overlay interface.') cotvOverlayVpnState = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("other", 0), ("down", 1), ("up", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvOverlayVpnState.setStatus('current') if mibBuilder.loadTexts: cotvOverlayVpnState.setDescription("This object indicates the state of Virtual Private Network which is associated with this Overlay interface. 'other' - Any other state not covered by below enumerations. 'up' - The Overlay Virtual Private Network is up 'down' - The Overlay Virtual Private Network is down") cotvOverlayVpnDownReason = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 4), 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))).clone(namedValues=NamedValues(("other", 0), ("configChange", 1), ("missingControlGroup", 2), ("missingDataGroupRange", 3), ("missingJoinOrSourceInterface", 4), ("missingVpnName", 5), ("missingJoinInterfaceAddr", 6), ("joinInterfaceDown", 7), ("adminDown", 8), ("deleteHoldDown", 9), ("reinit", 10), ("missingSiteId", 11), ("siteIdMismatch", 12), ("missingSourceInterfaceAddr", 13), ("sourceInterfaceDown", 14), ("changingSiteId", 15), ("changingControlGroup", 16), ("missingDeviceId", 17), ("changingDeviceId", 18), ("cleanupInProgress", 19)))).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvOverlayVpnDownReason.setStatus('current') if mibBuilder.loadTexts: cotvOverlayVpnDownReason.setDescription("This object indicates the reason why this Overlay Virtual Private Network is down. 'other' - Any other reason not covered by below enumerations 'configChange' - Configuration changed 'missingControlGroup' - Control Group information is unavailable 'missingDataGroupRange' - Data Group range information is unavailable 'misssingJoinOrSourceInterface' - Join or Source interface information is unavailable 'missingVpnName' - VPN name is unavailable 'missingJoinInterfaceAddr' - IP address is missing for Join Interface 'joinInterfaceDown' - Join Interface is down 'adminDown' - Overlay is administratively shutdown 'deleteHoldDown' - Overlay is in delete hold down phase 'reinit' - VPN is reinitializing 'missingSiteId' - Site ID information is unavailable 'siteIdMismatch' - Site ID mismatch has occurred 'missingSourceInterfaceAddr' - IP address is missing for Source Interface 'sourceInterfaceDown' - Source interface is down 'changingSiteId' - Changing site identifier 'changingControlGroup' - Changing control group 'missingDeviceId' - Device ID information is unavailable 'changingDeviceId' - Changing device ID 'cleanupInProgress' - Cleanup in progress") cotvOverlayVlansExtendedFirst2k = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 5), Cisco2KVlanList()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cotvOverlayVlansExtendedFirst2k.setStatus('current') if mibBuilder.loadTexts: cotvOverlayVlansExtendedFirst2k.setDescription('This object specifies the list of VLANs extended on this Overlay interface. It is a string of octets containing one bit per VLAN with VlanIndex values of 0 through 2047. If the bit corresponding to a VLAN is set to 1, it indicates that VLAN is being extended on this Overlay interface. If the bit corresponding to a VLAN is set to 0, it indicates that VLAN is not being extended on this Overlay interface.') cotvOverlayVlansExtendedSecond2k = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 6), Cisco2KVlanList()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cotvOverlayVlansExtendedSecond2k.setStatus('current') if mibBuilder.loadTexts: cotvOverlayVlansExtendedSecond2k.setDescription('This object specifies the list of VLANs extended on this Overlay interface. It is a string of octets containing one bit per VLAN with VlanIndex values of 2048 through 4095. If the bit corresponding to a VLAN is set to 1, it indicates that VLAN is being extended on this Overlay interface. If the bit corresponding to a VLAN is set to 0, it indicates that VLAN is not being extended on this Overlay interface.') cotvOverlayControlGroupAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 7), InetAddressType().clone('unknown')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cotvOverlayControlGroupAddrType.setStatus('current') if mibBuilder.loadTexts: cotvOverlayControlGroupAddrType.setDescription('This object specifies the type of Internet address of Control Group.') cotvOverlayControlGroupAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 8), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cotvOverlayControlGroupAddr.setStatus('current') if mibBuilder.loadTexts: cotvOverlayControlGroupAddr.setDescription('This object specifies the Internet address of Control Group. The type of this address is determined by cotvOverlayControlGroupAddrType.') cotvOverlayBroadcastGroupAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 9), InetAddressType().clone('unknown')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cotvOverlayBroadcastGroupAddrType.setStatus('current') if mibBuilder.loadTexts: cotvOverlayBroadcastGroupAddrType.setDescription('This object specifies the type of Internet address to be used as Broadcast Group Address.') cotvOverlayBroadcastGroupAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 10), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cotvOverlayBroadcastGroupAddr.setStatus('current') if mibBuilder.loadTexts: cotvOverlayBroadcastGroupAddr.setDescription('This object specifies the Internet address to be used as Broadcast Group Address. The type of this address is determined by cotvOverlayBroadcastGroupAddrType.') cotvOverlayJoinInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 11), InterfaceIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cotvOverlayJoinInterface.setStatus('current') if mibBuilder.loadTexts: cotvOverlayJoinInterface.setDescription('This object specifies the OTV Join Interface for this Overlay interface.') cotvOverlaySourceInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 12), InterfaceIndexOrZero()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cotvOverlaySourceInterface.setStatus('current') if mibBuilder.loadTexts: cotvOverlaySourceInterface.setDescription('This object specifies the Source Interface for this Overlay interface.') cotvOverlayAedCapable = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 13), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvOverlayAedCapable.setStatus('current') if mibBuilder.loadTexts: cotvOverlayAedCapable.setDescription("This object indicates AED (Authoritative Edge Device) capability on this Overlay interface. A value of 'true' indicates that the edge device has capability to act as an AED on this Overlay interface. A value of 'false' indicates that the edge device does not have the capability to act as an AED on this Overlay interface.") cotvOverlayAedIncapableReason = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=NamedValues(("other", 0), ("overlayDown", 1), ("siteIdNotConfigured", 2), ("siteIdMismatch", 3), ("versionMismatch", 4), ("siteVlanDown", 5), ("noExtendedVlanUp", 6), ("noOverlayAdjacencyUp", 7), ("lspdbSyncIncomplete", 8), ("overlayDownInProgress", 9), ("isisControlGroupSyncPending", 10)))).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvOverlayAedIncapableReason.setStatus('current') if mibBuilder.loadTexts: cotvOverlayAedIncapableReason.setDescription("This object indicates the reason why the overlay is AED-incapable. 'other' - Any other reason not covered by below enumerations 'overlayDown' - Overlay is Down 'siteIdNotConfigured' - Site ID is not configured 'siteIdMismatch' - Site ID mismatch 'versionMismatch' - Version mismatch 'siteVlanDown' - Site VLAN is Down 'noExtendedVlanUp' - No extended VLAN is operationally up 'noOverlayAdjacencyUp' - No Overlay Adjacency is up 'lspdbSyncIncomplete' - LSPDB sync incomplete 'overlayDownInProgress' - Overlay state down event in progress 'isisControlGroupSyncPending' - ISIS control group sync pending") cotvOverlayAdjServerTransportType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("multicastAndUnicast", 1), ("unicastOnly", 2))).clone('multicastAndUnicast')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cotvOverlayAdjServerTransportType.setStatus('current') if mibBuilder.loadTexts: cotvOverlayAdjServerTransportType.setDescription("The type of transport OTV control plane can use to exchange Adjacency Server information. 'multicastAndUnicast' - OTV control plane can use both multicast and unicast to exchange Adjacency Server information 'unicastOnly' - OTV control plane can use only unicast to exchange Adjacency Server information. Value of this object can be set to 'unicastOnly' only if the value of cotvOverlayPrimaryAdjServerAddrType is 'unknown'.") cotvOverlayAdjServerEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 16), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cotvOverlayAdjServerEnable.setStatus('current') if mibBuilder.loadTexts: cotvOverlayAdjServerEnable.setDescription("This object specifies Adjacency Server functionality for this Overlay interface. Setting the object to 'true' enables Adjacency Server functionality. Setting the object to 'false' disables Adjacency Server functionality.") cotvOverlayPrimaryAdjServerAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 17), InetAddressType().clone('unknown')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cotvOverlayPrimaryAdjServerAddrType.setStatus('current') if mibBuilder.loadTexts: cotvOverlayPrimaryAdjServerAddrType.setDescription('This object specifies the type of Internet address of the Primary Adjacency Server for this Overlay interface.') cotvOverlayPrimaryAdjServerAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 18), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cotvOverlayPrimaryAdjServerAddr.setStatus('current') if mibBuilder.loadTexts: cotvOverlayPrimaryAdjServerAddr.setDescription('This object specifies the Internet address of the Primary Adjacency Server for this Overlay interface. The type of this address is determined by the value of cotvOverlayPrimaryAdjServerAddrType.') cotvOverlaySecondaryAdjServerAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 19), InetAddressType().clone('unknown')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cotvOverlaySecondaryAdjServerAddrType.setStatus('current') if mibBuilder.loadTexts: cotvOverlaySecondaryAdjServerAddrType.setDescription('This object specifies the type of Internet address of the Secondary Adjacency Server for this Overlay interface.') cotvOverlaySecondaryAdjServerAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 20), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cotvOverlaySecondaryAdjServerAddr.setStatus('current') if mibBuilder.loadTexts: cotvOverlaySecondaryAdjServerAddr.setDescription('This object specifies the Internet address of the Secondary Adjacency Server for this Overlay interface. The type of this address is determined by cotvOverlaySecondaryAdjServerAddrType.') cotvOverlaySuppressArpND = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 21), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cotvOverlaySuppressArpND.setStatus('current') if mibBuilder.loadTexts: cotvOverlaySuppressArpND.setDescription("This object specifies ARP Neighbor Discovery behavior on this Overlay interface. Setting the object to 'true' enables suppression of ARP Neighbor Discovery on this Overlay interface. Setting the object to 'false' disables suppression of ARP Neighbor Discovery on this Overlay interface.") cotvOverlayStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 22), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cotvOverlayStorageType.setStatus('current') if mibBuilder.loadTexts: cotvOverlayStorageType.setDescription('This object specifies the storage type for this conceptual row.') cotvOverlayRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 23), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cotvOverlayRowStatus.setStatus('current') if mibBuilder.loadTexts: cotvOverlayRowStatus.setDescription('This object specifies the status of this conceptual row.') cotvVlansTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 2), ) if mibBuilder.loadTexts: cotvVlansTable.setStatus('current') if mibBuilder.loadTexts: cotvVlansTable.setDescription('A list of VLANs extended on Overlay interfaces.') cotvVlansEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 2, 1), ).setIndexNames((0, "CISCO-OTV-MIB", "cotvOverlayNumber"), (0, "CISCO-OTV-MIB", "cotvVlanId")) if mibBuilder.loadTexts: cotvVlansEntry.setStatus('current') if mibBuilder.loadTexts: cotvVlansEntry.setDescription('An entry containing management information for a particular VLAN extended on an Overlay interface.') cotvVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 2, 1, 1), VlanIndex()) if mibBuilder.loadTexts: cotvVlanId.setStatus('current') if mibBuilder.loadTexts: cotvVlanId.setDescription('This object indicates the VLAN ID of the extended VLAN.') cotvVlanState = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("active", 1), ("inactive", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvVlanState.setStatus('current') if mibBuilder.loadTexts: cotvVlanState.setDescription("This object indicates the state of the extended VLAN. 'active' - OTV is ready to forward traffic for this VLAN 'inactive' - OTV can not forward traffic for this VLAN") cotvVlanInactiveReason = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("other", 1), ("nonAed", 2), ("vlanDisabled", 3), ("overlayDown", 4), ("deleteHoldDown", 5), ("hwDown", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvVlanInactiveReason.setStatus('current') if mibBuilder.loadTexts: cotvVlanInactiveReason.setDescription("This object indicates the reason the VLAN is in 'inactive' state. 'other' - Any other reason not covered by the below enumerations 'nonAed' - Device is not an AED on this VLAN 'vlanDisabled' - Vlan is in disabled state 'overlayDown' - Overlay is currently down 'deleteHoldDown' - The VLAN is in delete hold-down state 'hwDown' - An issue with hardware is preventing VLAN from becoming 'active' Value of this object should be ignored if the value of cotvVlanInactiveReason is not 'inactive'.") cotvVlanAedAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 2, 1, 4), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvVlanAedAddrType.setStatus('current') if mibBuilder.loadTexts: cotvVlanAedAddrType.setDescription('This object indicates the type of Internet address of Authoritative Edge Device (AED) on this VLAN.') cotvVlanAedAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 2, 1, 5), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvVlanAedAddr.setStatus('current') if mibBuilder.loadTexts: cotvVlanAedAddr.setDescription('This object indicates the Internet address of Authoritative Edge Device (AED) on this VLAN. The type of this address is determined by the value of cotvVlanAedAddrType.') cotvVlanEdgeDevIsAed = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 2, 1, 6), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvVlanEdgeDevIsAed.setStatus('current') if mibBuilder.loadTexts: cotvVlanEdgeDevIsAed.setDescription("This object indicates if this device is acting as an AED for the VLAN. A value of 'true' indicates that this device is acting as an AED for the VLAN. A value of 'false' indicates that this device is not acting as an AED for the VLAN.") cotvDataGroupConfigTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 3), ) if mibBuilder.loadTexts: cotvDataGroupConfigTable.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupConfigTable.setDescription('A list of multicast data-group ranges configured for each Overlay interface.') cotvDataGroupConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 3, 1), ).setIndexNames((0, "CISCO-OTV-MIB", "cotvOverlayNumber"), (0, "CISCO-OTV-MIB", "cotvDataGroupMcastRangeAddrType"), (0, "CISCO-OTV-MIB", "cotvDataGroupMcastRangeAddr"), (0, "CISCO-OTV-MIB", "cotvDataGroupMcastRangePrefixLength")) if mibBuilder.loadTexts: cotvDataGroupConfigEntry.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupConfigEntry.setDescription('An entry containing management information for a particular multicast data-group range configured for an Overlay interface.') cotvDataGroupMcastRangeAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 3, 1, 1), InetAddressType()) if mibBuilder.loadTexts: cotvDataGroupMcastRangeAddrType.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupMcastRangeAddrType.setDescription('The type of Internet address of multicast data-group range.') cotvDataGroupMcastRangeAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 3, 1, 2), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4, 4), ValueSizeConstraint(16, 16), ))) if mibBuilder.loadTexts: cotvDataGroupMcastRangeAddr.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupMcastRangeAddr.setDescription('The Internet address of multicast data-group range. The type of this address is determined by the value of the cotvDataGroupMcastRangeAddrType object.') cotvDataGroupMcastRangePrefixLength = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 3, 1, 3), InetAddressPrefixLength()) if mibBuilder.loadTexts: cotvDataGroupMcastRangePrefixLength.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupMcastRangePrefixLength.setDescription('The length of the prefix associated with cotvDataGroupMcastRangeAddr. The type of this address prefix is determined by the value of the cotvDataGroupMcastRangeAddrType object.') cotvDataGroupStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 3, 1, 4), StorageType().clone('volatile')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cotvDataGroupStorageType.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupStorageType.setDescription('This object specifies the storage type for this conceptual row.') cotvDataGroupRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 3, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cotvDataGroupRowStatus.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupRowStatus.setDescription('This object specifies the status of this conceptual row.') cotvDataGroupInfoTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4), ) if mibBuilder.loadTexts: cotvDataGroupInfoTable.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupInfoTable.setDescription('A table listing management information for active multicast sources and multicast groups on each Overlay interface.') cotvDataGroupInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1), ).setIndexNames((0, "CISCO-OTV-MIB", "cotvOverlayNumber"), (0, "CISCO-OTV-MIB", "cotvDataGroupActiveSrcLocation"), (0, "CISCO-OTV-MIB", "cotvDataGroupVlanId"), (0, "CISCO-OTV-MIB", "cotvDataGroupActiveGroupAddrType"), (0, "CISCO-OTV-MIB", "cotvDataGroupActiveGroupAddr"), (0, "CISCO-OTV-MIB", "cotvDataGroupActiveSrcAddrType"), (0, "CISCO-OTV-MIB", "cotvDataGroupActiveSrcAddr"), (0, "CISCO-OTV-MIB", "cotvDataGroupDeliveryGroupAddrType"), (0, "CISCO-OTV-MIB", "cotvDataGroupDeliveryGroupAddr"), (0, "CISCO-OTV-MIB", "cotvDataGroupDeliverySrcAddrType"), (0, "CISCO-OTV-MIB", "cotvDataGroupDeliverySrcAddr")) if mibBuilder.loadTexts: cotvDataGroupInfoEntry.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupInfoEntry.setDescription('An entry containing management information for an active multicast data-group.') cotvDataGroupActiveSrcLocation = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("local", 1), ("remote", 2)))) if mibBuilder.loadTexts: cotvDataGroupActiveSrcLocation.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupActiveSrcLocation.setDescription('The location of Active Multicast source.') cotvDataGroupVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 2), VlanIndex()) if mibBuilder.loadTexts: cotvDataGroupVlanId.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupVlanId.setDescription('The VLAN associated with Active Multicast data-group.') cotvDataGroupActiveGroupAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 3), InetAddressType()) if mibBuilder.loadTexts: cotvDataGroupActiveGroupAddrType.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupActiveGroupAddrType.setDescription('The type of Internet address of the active multicast group (multicast group of the active multicast source).') cotvDataGroupActiveGroupAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 4), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4, 4), ValueSizeConstraint(16, 16), ))) if mibBuilder.loadTexts: cotvDataGroupActiveGroupAddr.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupActiveGroupAddr.setDescription('The Internet address of the active multicast group of the (multicast group of the active multicast source). The type of this address is determined by the value of cotvDataGroupActiveGroupAddrType.') cotvDataGroupActiveSrcAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 5), InetAddressType()) if mibBuilder.loadTexts: cotvDataGroupActiveSrcAddrType.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupActiveSrcAddrType.setDescription('The type of Internet address of active multicast source.') cotvDataGroupActiveSrcAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 6), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4, 4), ValueSizeConstraint(16, 16), ))) if mibBuilder.loadTexts: cotvDataGroupActiveSrcAddr.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupActiveSrcAddr.setDescription('The Internet address of active multicast source. The type of this address is determined by the value of cotvDataGroupActiveSrcAddrType.') cotvDataGroupDeliveryGroupAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 7), InetAddressType()) if mibBuilder.loadTexts: cotvDataGroupDeliveryGroupAddrType.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupDeliveryGroupAddrType.setDescription('The type of Internet address of the delivery group that is mapped to active multicast group.') cotvDataGroupDeliveryGroupAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 8), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4, 4), ValueSizeConstraint(16, 16), ))) if mibBuilder.loadTexts: cotvDataGroupDeliveryGroupAddr.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupDeliveryGroupAddr.setDescription('The Internet address of delivery group that is mapped to active multicast group. The type of this address is determined by cotvDataGroupDeliveryGroupAddrType.') cotvDataGroupDeliverySrcAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 9), InetAddressType()) if mibBuilder.loadTexts: cotvDataGroupDeliverySrcAddrType.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupDeliverySrcAddrType.setDescription('The type of Internet address of the delivery source that is mapped to the active multicast source.') cotvDataGroupDeliverySrcAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 10), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4, 4), ValueSizeConstraint(16, 16), ))) if mibBuilder.loadTexts: cotvDataGroupDeliverySrcAddr.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupDeliverySrcAddr.setDescription('The Internet address of the delivery source that is mapped to the active multicast source. The type of this address is determined by the value of cotvDataGroupDeliverySrcAddrType.') cotvDataGroupJoinInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 11), InterfaceIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvDataGroupJoinInterface.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupJoinInterface.setDescription('This object indicates the OTV Join interface on which active multicast source is located.') cotvDataGroupLocalActiveSrcState = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("none", 1), ("local", 2), ("remote", 3), ("orphan", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvDataGroupLocalActiveSrcState.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupLocalActiveSrcState.setDescription("This object indicates the state of the local Active Multicast source. 'none' - State of the multicast source is not applicable 'local' - multicast source state is local 'remote' - multicast source state is remote 'orphan' - multicast source state is orphan Value of this object should be 'none' if cotvDataGroupActiveSrcLocation is 'remote'.") cotvAdjacencyDatabaseTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 3, 1), ) if mibBuilder.loadTexts: cotvAdjacencyDatabaseTable.setStatus('current') if mibBuilder.loadTexts: cotvAdjacencyDatabaseTable.setDescription('A table containing OTV adjacency database information.') cotvAdjacencyDatabaseEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 3, 1, 1), ).setIndexNames((0, "CISCO-OTV-MIB", "cotvOverlayNumber"), (0, "CISCO-OTV-MIB", "cotvAdjacentDevAddrType"), (0, "CISCO-OTV-MIB", "cotvAdjacentDevAddr")) if mibBuilder.loadTexts: cotvAdjacencyDatabaseEntry.setStatus('current') if mibBuilder.loadTexts: cotvAdjacencyDatabaseEntry.setDescription('An entry containing management information about a particular OTV adjacency.') cotvAdjacentDevAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 3, 1, 1, 1), InetAddressType()) if mibBuilder.loadTexts: cotvAdjacentDevAddrType.setStatus('current') if mibBuilder.loadTexts: cotvAdjacentDevAddrType.setDescription('The type of Internet address of adjacent edge device.') cotvAdjacentDevAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 3, 1, 1, 2), InetAddress().subtype(subtypeSpec=ValueSizeConstraint(1, 64))) if mibBuilder.loadTexts: cotvAdjacentDevAddr.setStatus('current') if mibBuilder.loadTexts: cotvAdjacentDevAddr.setDescription('The Internet address of adjacent edge device. The type of this address is determined by the value of cotvAdjacentDevAddrType.') cotvAdjacentDevSystemID = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 3, 1, 1, 3), OctetString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0, 0), ValueSizeConstraint(6, 6), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvAdjacentDevSystemID.setStatus('current') if mibBuilder.loadTexts: cotvAdjacentDevSystemID.setDescription('This object indicates the system identifier of the adjacent edge device. The value of this object contains zero length octet, if the system identifier of the adjacent edge devices is not available.') cotvAdjacentDevName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 3, 1, 1, 4), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvAdjacentDevName.setStatus('current') if mibBuilder.loadTexts: cotvAdjacentDevName.setDescription('This object indicates the DNS name of the adjacent edge device.') cotvAdjacentDevState = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("other", 0), ("up", 1), ("down", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvAdjacentDevState.setStatus('current') if mibBuilder.loadTexts: cotvAdjacentDevState.setDescription("This object indicates the state of adjacent edge device. 'other' - Any other state not covered by below enumeration. 'up' - The adjacent device is up 'down' - The adjacent device is down.") cotvAdjacentDevUpTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 3, 1, 1, 6), Unsigned32()).setUnits('seconds').setMaxAccess("readonly") if mibBuilder.loadTexts: cotvAdjacentDevUpTime.setStatus('current') if mibBuilder.loadTexts: cotvAdjacentDevUpTime.setDescription('This object indicates the amount of time for which the adjacent device has been up.') cotvArpNdCacheTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 4, 1), ) if mibBuilder.loadTexts: cotvArpNdCacheTable.setStatus('current') if mibBuilder.loadTexts: cotvArpNdCacheTable.setDescription('A table containing ARP Neighbor Discovery cache information.') cotvArpNdCacheEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 4, 1, 1), ).setIndexNames((0, "CISCO-OTV-MIB", "cotvOverlayNumber"), (0, "CISCO-OTV-MIB", "cotvVlanId"), (0, "CISCO-OTV-MIB", "cotvArpNdCacheL3AddrType"), (0, "CISCO-OTV-MIB", "cotvArpNdCacheL3Addr")) if mibBuilder.loadTexts: cotvArpNdCacheEntry.setStatus('current') if mibBuilder.loadTexts: cotvArpNdCacheEntry.setDescription('An entry containing management information about a particular entry in ARP Neighbor Discovery cache.') cotvArpNdCacheL3AddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 4, 1, 1, 1), InetAddressType()) if mibBuilder.loadTexts: cotvArpNdCacheL3AddrType.setStatus('current') if mibBuilder.loadTexts: cotvArpNdCacheL3AddrType.setDescription('The type of Internet address (IPv4/IPv6 address) of host discovered using ARP Neighbor discovery.') cotvArpNdCacheL3Addr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 4, 1, 1, 2), InetAddress().subtype(subtypeSpec=ValueSizeConstraint(0, 64))) if mibBuilder.loadTexts: cotvArpNdCacheL3Addr.setStatus('current') if mibBuilder.loadTexts: cotvArpNdCacheL3Addr.setDescription('The Internet address (IPv4/IPv6 address) of the host discovered using ARP Neighbor discovery. The type of this address is determined by the value of cotvArpNdCacheL3AddrType.') cotvArpNdCacheMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 4, 1, 1, 3), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvArpNdCacheMacAddr.setStatus('current') if mibBuilder.loadTexts: cotvArpNdCacheMacAddr.setDescription('This object indicates the MAC address discovered using ARP Neighbor discovery and cached in this table.') cotvArpNdCacheAge = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 4, 1, 1, 4), Unsigned32()).setUnits('seconds').setMaxAccess("readonly") if mibBuilder.loadTexts: cotvArpNdCacheAge.setStatus('current') if mibBuilder.loadTexts: cotvArpNdCacheAge.setDescription('This object indicates the amount of time for which this entry has existed on the system.') cotvArpNdCacheTimeToExpire = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 4, 1, 1, 5), Unsigned32()).setUnits('seconds').setMaxAccess("readonly") if mibBuilder.loadTexts: cotvArpNdCacheTimeToExpire.setStatus('current') if mibBuilder.loadTexts: cotvArpNdCacheTimeToExpire.setDescription('This object indicates the amount of time left for this cache entry to be expired.') cotvRouteTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 1), ) if mibBuilder.loadTexts: cotvRouteTable.setStatus('current') if mibBuilder.loadTexts: cotvRouteTable.setDescription('A table listing route (unicast) information in OTV Routing Information Base (ORIB).') cotvRouteEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 1, 1), ).setIndexNames((0, "CISCO-OTV-MIB", "cotvRouteVlanId"), (0, "CISCO-OTV-MIB", "cotvRouteMacAddr")) if mibBuilder.loadTexts: cotvRouteEntry.setStatus('current') if mibBuilder.loadTexts: cotvRouteEntry.setDescription('An entry containing management information about a particular route (unicast) in ORIB.') cotvRouteVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 1, 1, 1), VlanIndex()) if mibBuilder.loadTexts: cotvRouteVlanId.setStatus('current') if mibBuilder.loadTexts: cotvRouteVlanId.setDescription('The object indicates VLAN associated with this route.') cotvRouteMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 1, 1, 2), MacAddress()) if mibBuilder.loadTexts: cotvRouteMacAddr.setStatus('current') if mibBuilder.loadTexts: cotvRouteMacAddr.setDescription('This object indicates the MAC address to be routed.') cotvRouteMetric = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 1, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvRouteMetric.setStatus('current') if mibBuilder.loadTexts: cotvRouteMetric.setDescription('This object indicates the metric associated with this route.') cotvRouteUpTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 1, 1, 4), Unsigned32()).setUnits('seconds').setMaxAccess("readonly") if mibBuilder.loadTexts: cotvRouteUpTime.setStatus('current') if mibBuilder.loadTexts: cotvRouteUpTime.setDescription('This object indicates the amount of time elapsed since the MAC route entry was installed in this table.') cotvRouteOwner = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 1, 1, 5), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvRouteOwner.setStatus('current') if mibBuilder.loadTexts: cotvRouteOwner.setDescription('This object indicates the type of owner (source) from where the MAC address was learnt.') cotvRouteNextHopIf = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 1, 1, 6), InterfaceIndexOrZero()).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvRouteNextHopIf.setStatus('current') if mibBuilder.loadTexts: cotvRouteNextHopIf.setDescription("This object indicates the interface on the device through which the MAC address will be routed. Value of this object should be ignored if cotvRouteOwner is other than 'site' or 'static'.") cotvRouteNextHopAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 1, 1, 7), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvRouteNextHopAddrType.setStatus('current') if mibBuilder.loadTexts: cotvRouteNextHopAddrType.setDescription("This object indicates the type of Internet address of the edge device through which the MAC address will be routed. Value of this object should be ignored if cotvRouteOwner is other than 'overlay'.") cotvRouteNextHopAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 1, 1, 8), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvRouteNextHopAddr.setStatus('current') if mibBuilder.loadTexts: cotvRouteNextHopAddr.setDescription("This object indicates the Internet address of the edge device through which the MAC address will be routed. The type of this address is determined by the value of cotvRouteNextHopAddrType. Value of this object should be ignored if cotvRouteOwner is other than 'overlay'.") cotvMcastRouteTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 2), ) if mibBuilder.loadTexts: cotvMcastRouteTable.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteTable.setDescription('A table listing multicast route information in OTV Routing Information Base (ORIB).') cotvMcastRouteEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 2, 1), ).setIndexNames((0, "CISCO-OTV-MIB", "cotvMcastRouteVlanId"), (0, "CISCO-OTV-MIB", "cotvMcastRouteActiveSrcAddrType"), (0, "CISCO-OTV-MIB", "cotvMcastRouteActiveSrcAddr"), (0, "CISCO-OTV-MIB", "cotvMcastRouteActiveGroupAddrType"), (0, "CISCO-OTV-MIB", "cotvMcastRouteActiveGroupAddr")) if mibBuilder.loadTexts: cotvMcastRouteEntry.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteEntry.setDescription('An entry containing information about a particular multicast route in ORIB.') cotvMcastRouteVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 2, 1, 1), VlanIndex()) if mibBuilder.loadTexts: cotvMcastRouteVlanId.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteVlanId.setDescription('The object indicates VLAN associated with this multicast route.') cotvMcastRouteActiveSrcAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 2, 1, 2), InetAddressType()) if mibBuilder.loadTexts: cotvMcastRouteActiveSrcAddrType.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteActiveSrcAddrType.setDescription('The type of Internet address of active multicast source.') cotvMcastRouteActiveSrcAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 2, 1, 3), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4, 4), ValueSizeConstraint(16, 16), ))) if mibBuilder.loadTexts: cotvMcastRouteActiveSrcAddr.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteActiveSrcAddr.setDescription('The Internet address of active multicast source. The type of this address is determined by the value of cotvMcastRouteActiveSrcAddrType.') cotvMcastRouteActiveGroupAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 2, 1, 4), InetAddressType()) if mibBuilder.loadTexts: cotvMcastRouteActiveGroupAddrType.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteActiveGroupAddrType.setDescription('The type of Internet address of the active multicast group (multicast group of the active multicast source).') cotvMcastRouteActiveGroupAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 2, 1, 5), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4, 4), ValueSizeConstraint(16, 16), ))) if mibBuilder.loadTexts: cotvMcastRouteActiveGroupAddr.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteActiveGroupAddr.setDescription('The Internet address of the active multicast group of the (multicast group of the active multicast source). The type of this address is determined by the value of cotvMcastRouteActiveGroupAddrType.') cotvMcastRouteOwners = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 2, 1, 6), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvMcastRouteOwners.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteOwners.setDescription('This object indicates the type of owner(s) (sources) from where this route was learnt.') cotvMcastRouteMetric = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 2, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvMcastRouteMetric.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteMetric.setDescription('This object indicates the metric associated with this multicast route.') cotvMcastRouteUpTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 2, 1, 8), Unsigned32()).setUnits('seconds').setMaxAccess("readonly") if mibBuilder.loadTexts: cotvMcastRouteUpTime.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteUpTime.setDescription('This object indicates the amount of time elapsed since this multicast route was installed in this table.') cotvMcastRouteInfoTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3), ) if mibBuilder.loadTexts: cotvMcastRouteInfoTable.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoTable.setDescription('A table listing next-hop information associated with each multicast route in OTV Routing Information Base (ORIB).') cotvMcastRouteInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1), ).setIndexNames((0, "CISCO-OTV-MIB", "cotvMcastRouteInfoVlanId"), (0, "CISCO-OTV-MIB", "cotvMcastRouteInfoActiveSrcAddrType"), (0, "CISCO-OTV-MIB", "cotvMcastRouteInfoActiveSrcAddr"), (0, "CISCO-OTV-MIB", "cotvMcastRouteInfoActiveGroupAddrType"), (0, "CISCO-OTV-MIB", "cotvMcastRouteInfoActiveGroupAddr"), (0, "CISCO-OTV-MIB", "cotvMcastRouteInfoIf")) if mibBuilder.loadTexts: cotvMcastRouteInfoEntry.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoEntry.setDescription('An entry containing next-hop information about a particular multicast route in ORIB.') cotvMcastRouteInfoVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 1), VlanIndex()) if mibBuilder.loadTexts: cotvMcastRouteInfoVlanId.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoVlanId.setDescription('The object indicates VLAN associated with this multicast route.') cotvMcastRouteInfoActiveSrcAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 2), InetAddressType()) if mibBuilder.loadTexts: cotvMcastRouteInfoActiveSrcAddrType.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoActiveSrcAddrType.setDescription('The type of Internet address of active multicast source.') cotvMcastRouteInfoActiveSrcAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 3), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4, 4), ValueSizeConstraint(16, 16), ))) if mibBuilder.loadTexts: cotvMcastRouteInfoActiveSrcAddr.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoActiveSrcAddr.setDescription('The Internet address of active multicast source. The type of this address is determined by the value of cotvMcastRouteInfoActiveSrcAddrType.') cotvMcastRouteInfoActiveGroupAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 4), InetAddressType()) if mibBuilder.loadTexts: cotvMcastRouteInfoActiveGroupAddrType.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoActiveGroupAddrType.setDescription('The type of Internet address of the active multicast group (multicast group of the active multicast source).') cotvMcastRouteInfoActiveGroupAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 5), InetAddress().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(4, 4), ValueSizeConstraint(16, 16), ))) if mibBuilder.loadTexts: cotvMcastRouteInfoActiveGroupAddr.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoActiveGroupAddr.setDescription('The Internet address of the active multicast group of the (multicast group of the active multicast source). The type of this address is determined by the value of cotvMcastRouteInfoActiveGroupAddrType.') cotvMcastRouteInfoIf = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 6), InterfaceIndexOrZero()) if mibBuilder.loadTexts: cotvMcastRouteInfoIf.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoIf.setDescription('This object indicates the next-hop interface on the device through which the multicast group will be routed.') cotvMcastRouteInfoHostAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 7), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvMcastRouteInfoHostAddrType.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoHostAddrType.setDescription("This object indicates the type of Internet address of the next-hop edge device through which the multicast group will be routed. Value of this object will be 'unknown' if no next-hop edge device information is associated with this route.") cotvMcastRouteInfoHostAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 8), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvMcastRouteInfoHostAddr.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoHostAddr.setDescription('This object indicates the Internet address of the next-hop edge device through which the multicast group will be routed. The type of this address is determined by the value of cotvMcastRouteInfoHostAddrType. Value of this object will be a zero length string if no next-hop edge device information is associated with this route.') cotvMcastRouteInfoProtocolOwners = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 9), SnmpAdminString()).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvMcastRouteInfoProtocolOwners.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoProtocolOwners.setDescription('This object indicates the protocols used by multicast route owner to learn this route information.') cotvMcastRouteInfoMetric = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: cotvMcastRouteInfoMetric.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoMetric.setDescription('This object indicates the metric associated with this multicast route.') cotvMcastRouteInfoUpTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 11), Unsigned32()).setUnits('seconds').setMaxAccess("readonly") if mibBuilder.loadTexts: cotvMcastRouteInfoUpTime.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoUpTime.setDescription('This object indicates the amount of time elapsed since this multicast route entry was installed in this table.') ciscoOtvMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 1)) ciscoOtvMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2)) ciscoOtvMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 1, 1)).setObjects(("CISCO-OTV-MIB", "ciscoOtvSiteGroup"), ("CISCO-OTV-MIB", "ciscoOtvOverlayGroup"), ("CISCO-OTV-MIB", "ciscoOtvVlanGroup"), ("CISCO-OTV-MIB", "ciscoOtvDataGroupConfigGroup"), ("CISCO-OTV-MIB", "ciscoOtvDataGroupInfoGroup"), ("CISCO-OTV-MIB", "ciscoOtvAdjacencyGroup"), ("CISCO-OTV-MIB", "ciscoOtvArpNdCacheGroup"), ("CISCO-OTV-MIB", "ciscoOtvRouteGroup"), ("CISCO-OTV-MIB", "ciscoOtvMcastRouteGroup"), ("CISCO-OTV-MIB", "ciscoOtvMcastRouteInfoGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoOtvMIBCompliance = ciscoOtvMIBCompliance.setStatus('current') if mibBuilder.loadTexts: ciscoOtvMIBCompliance.setDescription('The compliance statement for CISCO-OTV-MIB.') ciscoOtvSiteGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2, 1)).setObjects(("CISCO-OTV-MIB", "cotvSiteIdAdmin"), ("CISCO-OTV-MIB", "cotvSiteIdOper"), ("CISCO-OTV-MIB", "cotvSiteVlan"), ("CISCO-OTV-MIB", "cotvSiteVlanState")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoOtvSiteGroup = ciscoOtvSiteGroup.setStatus('current') if mibBuilder.loadTexts: ciscoOtvSiteGroup.setDescription('A collection of objects providing OTV site information.') ciscoOtvOverlayGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2, 2)).setObjects(("CISCO-OTV-MIB", "cotvOverlayVpnName"), ("CISCO-OTV-MIB", "cotvOverlayVpnState"), ("CISCO-OTV-MIB", "cotvOverlayVpnDownReason"), ("CISCO-OTV-MIB", "cotvOverlayVlansExtendedFirst2k"), ("CISCO-OTV-MIB", "cotvOverlayVlansExtendedSecond2k"), ("CISCO-OTV-MIB", "cotvOverlayControlGroupAddrType"), ("CISCO-OTV-MIB", "cotvOverlayControlGroupAddr"), ("CISCO-OTV-MIB", "cotvOverlayBroadcastGroupAddrType"), ("CISCO-OTV-MIB", "cotvOverlayBroadcastGroupAddr"), ("CISCO-OTV-MIB", "cotvOverlayJoinInterface"), ("CISCO-OTV-MIB", "cotvOverlaySourceInterface"), ("CISCO-OTV-MIB", "cotvOverlayAedCapable"), ("CISCO-OTV-MIB", "cotvOverlayAedIncapableReason"), ("CISCO-OTV-MIB", "cotvOverlayAdjServerTransportType"), ("CISCO-OTV-MIB", "cotvOverlayAdjServerEnable"), ("CISCO-OTV-MIB", "cotvOverlayPrimaryAdjServerAddrType"), ("CISCO-OTV-MIB", "cotvOverlayPrimaryAdjServerAddr"), ("CISCO-OTV-MIB", "cotvOverlaySecondaryAdjServerAddrType"), ("CISCO-OTV-MIB", "cotvOverlaySecondaryAdjServerAddr"), ("CISCO-OTV-MIB", "cotvOverlaySuppressArpND"), ("CISCO-OTV-MIB", "cotvOverlayStorageType"), ("CISCO-OTV-MIB", "cotvOverlayRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoOtvOverlayGroup = ciscoOtvOverlayGroup.setStatus('current') if mibBuilder.loadTexts: ciscoOtvOverlayGroup.setDescription('A collection of objects providing OTV overlay information.') ciscoOtvVlanGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2, 3)).setObjects(("CISCO-OTV-MIB", "cotvVlanState"), ("CISCO-OTV-MIB", "cotvVlanInactiveReason"), ("CISCO-OTV-MIB", "cotvVlanAedAddrType"), ("CISCO-OTV-MIB", "cotvVlanAedAddr"), ("CISCO-OTV-MIB", "cotvVlanEdgeDevIsAed")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoOtvVlanGroup = ciscoOtvVlanGroup.setStatus('current') if mibBuilder.loadTexts: ciscoOtvVlanGroup.setDescription('A collection of objects providing OTV extended VLANs.') ciscoOtvDataGroupConfigGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2, 4)).setObjects(("CISCO-OTV-MIB", "cotvDataGroupStorageType"), ("CISCO-OTV-MIB", "cotvDataGroupRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoOtvDataGroupConfigGroup = ciscoOtvDataGroupConfigGroup.setStatus('current') if mibBuilder.loadTexts: ciscoOtvDataGroupConfigGroup.setDescription('A collection of objects providing overlay multicast data-group configuration information.') ciscoOtvDataGroupInfoGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2, 5)).setObjects(("CISCO-OTV-MIB", "cotvDataGroupJoinInterface"), ("CISCO-OTV-MIB", "cotvDataGroupLocalActiveSrcState")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoOtvDataGroupInfoGroup = ciscoOtvDataGroupInfoGroup.setStatus('current') if mibBuilder.loadTexts: ciscoOtvDataGroupInfoGroup.setDescription('A collection of objects providing active data-group related information.') ciscoOtvAdjacencyGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2, 6)).setObjects(("CISCO-OTV-MIB", "cotvAdjacentDevSystemID"), ("CISCO-OTV-MIB", "cotvAdjacentDevName"), ("CISCO-OTV-MIB", "cotvAdjacentDevState"), ("CISCO-OTV-MIB", "cotvAdjacentDevUpTime")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoOtvAdjacencyGroup = ciscoOtvAdjacencyGroup.setStatus('current') if mibBuilder.loadTexts: ciscoOtvAdjacencyGroup.setDescription('A collection of objects providing information about OTV Adjacency Database.') ciscoOtvArpNdCacheGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2, 7)).setObjects(("CISCO-OTV-MIB", "cotvArpNdCacheMacAddr"), ("CISCO-OTV-MIB", "cotvArpNdCacheAge"), ("CISCO-OTV-MIB", "cotvArpNdCacheTimeToExpire")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoOtvArpNdCacheGroup = ciscoOtvArpNdCacheGroup.setStatus('current') if mibBuilder.loadTexts: ciscoOtvArpNdCacheGroup.setDescription('A collection of objects providing ARP/ND cache information.') ciscoOtvRouteGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2, 8)).setObjects(("CISCO-OTV-MIB", "cotvRouteMetric"), ("CISCO-OTV-MIB", "cotvRouteUpTime"), ("CISCO-OTV-MIB", "cotvRouteOwner"), ("CISCO-OTV-MIB", "cotvRouteNextHopIf"), ("CISCO-OTV-MIB", "cotvRouteNextHopAddrType"), ("CISCO-OTV-MIB", "cotvRouteNextHopAddr")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoOtvRouteGroup = ciscoOtvRouteGroup.setStatus('current') if mibBuilder.loadTexts: ciscoOtvRouteGroup.setDescription('A collection of objects providing information about unicast routes in ORIB.') ciscoOtvMcastRouteGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2, 9)).setObjects(("CISCO-OTV-MIB", "cotvMcastRouteOwners"), ("CISCO-OTV-MIB", "cotvMcastRouteMetric"), ("CISCO-OTV-MIB", "cotvMcastRouteUpTime")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoOtvMcastRouteGroup = ciscoOtvMcastRouteGroup.setStatus('current') if mibBuilder.loadTexts: ciscoOtvMcastRouteGroup.setDescription('A collection of objects providing information about multicast routes in ORIB.') ciscoOtvMcastRouteInfoGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2, 10)).setObjects(("CISCO-OTV-MIB", "cotvMcastRouteInfoHostAddrType"), ("CISCO-OTV-MIB", "cotvMcastRouteInfoHostAddr"), ("CISCO-OTV-MIB", "cotvMcastRouteInfoProtocolOwners"), ("CISCO-OTV-MIB", "cotvMcastRouteInfoMetric"), ("CISCO-OTV-MIB", "cotvMcastRouteInfoUpTime")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): ciscoOtvMcastRouteInfoGroup = ciscoOtvMcastRouteInfoGroup.setStatus('current') if mibBuilder.loadTexts: ciscoOtvMcastRouteInfoGroup.setDescription('A collection of objects providing interface level information for multicast routes in ORIB.') mibBuilder.exportSymbols("CISCO-OTV-MIB", cotvDataGroupActiveSrcLocation=cotvDataGroupActiveSrcLocation, cotvMcastRouteInfoActiveGroupAddrType=cotvMcastRouteInfoActiveGroupAddrType, cotvMcastRouteInfoTable=cotvMcastRouteInfoTable, cotvArpNdCacheMacAddr=cotvArpNdCacheMacAddr, ciscoOtvMIBNotifs=ciscoOtvMIBNotifs, cotvOverlayBroadcastGroupAddr=cotvOverlayBroadcastGroupAddr, cotvArpNdCacheL3Addr=cotvArpNdCacheL3Addr, cotvOverlayAedCapable=cotvOverlayAedCapable, cotvDataGroupActiveSrcAddrType=cotvDataGroupActiveSrcAddrType, cotvMcastRouteInfoActiveSrcAddrType=cotvMcastRouteInfoActiveSrcAddrType, cotvArpNdCacheEntry=cotvArpNdCacheEntry, cotvVlansTable=cotvVlansTable, cotvRouteEntry=cotvRouteEntry, cotvDataGroupDeliveryGroupAddrType=cotvDataGroupDeliveryGroupAddrType, cotvVlanId=cotvVlanId, PYSNMP_MODULE_ID=ciscoOtvMIB, ciscoOtvMIBGroups=ciscoOtvMIBGroups, cotvOverlayControlGroupAddrType=cotvOverlayControlGroupAddrType, cotvDataGroupDeliverySrcAddr=cotvDataGroupDeliverySrcAddr, cotvDataGroupLocalActiveSrcState=cotvDataGroupLocalActiveSrcState, cotvRouteNextHopAddrType=cotvRouteNextHopAddrType, cotvMcastRouteInfoMetric=cotvMcastRouteInfoMetric, cotvAdjacentDevUpTime=cotvAdjacentDevUpTime, cotvVlanState=cotvVlanState, cotvRouteNextHopIf=cotvRouteNextHopIf, cotvMcastRouteInfoProtocolOwners=cotvMcastRouteInfoProtocolOwners, cotvArpNdCacheTable=cotvArpNdCacheTable, ciscoOtvMcastRouteInfoGroup=ciscoOtvMcastRouteInfoGroup, cotvDataGroupMcastRangeAddrType=cotvDataGroupMcastRangeAddrType, ciscoOtvMIBCompliance=ciscoOtvMIBCompliance, cotvRouteUpTime=cotvRouteUpTime, cotvMcastRouteOwners=cotvMcastRouteOwners, cotvOverlayVpnDownReason=cotvOverlayVpnDownReason, cotvVlansEntry=cotvVlansEntry, cotvDataGroupActiveGroupAddr=cotvDataGroupActiveGroupAddr, cotvOverlayVpnState=cotvOverlayVpnState, cotvOverlaySecondaryAdjServerAddrType=cotvOverlaySecondaryAdjServerAddrType, cotvOverlayAedIncapableReason=cotvOverlayAedIncapableReason, cotvSiteObjects=cotvSiteObjects, ciscoOtvArpNdCacheGroup=ciscoOtvArpNdCacheGroup, cotvAdjacentDevSystemID=cotvAdjacentDevSystemID, cotvMcastRouteEntry=cotvMcastRouteEntry, ciscoOtvMIBObjects=ciscoOtvMIBObjects, cotvMcastRouteTable=cotvMcastRouteTable, cotvVlanAedAddrType=cotvVlanAedAddrType, cotvVlanInactiveReason=cotvVlanInactiveReason, ciscoOtvSiteGroup=ciscoOtvSiteGroup, cotvDataGroupMcastRangeAddr=cotvDataGroupMcastRangeAddr, cotvOverlaySecondaryAdjServerAddr=cotvOverlaySecondaryAdjServerAddr, cotvAdjacentDevName=cotvAdjacentDevName, ciscoOtvMIBConform=ciscoOtvMIBConform, cotvRouteTable=cotvRouteTable, cotvMcastRouteInfoIf=cotvMcastRouteInfoIf, cotvMcastRouteInfoHostAddrType=cotvMcastRouteInfoHostAddrType, cotvDataGroupMcastRangePrefixLength=cotvDataGroupMcastRangePrefixLength, cotvSiteVlanState=cotvSiteVlanState, ciscoOtvDataGroupConfigGroup=ciscoOtvDataGroupConfigGroup, cotvSiteIdOper=cotvSiteIdOper, cotvDataGroupActiveSrcAddr=cotvDataGroupActiveSrcAddr, cotvOverlayControlGroupAddr=cotvOverlayControlGroupAddr, cotvVlanAedAddr=cotvVlanAedAddr, cotvMcastRouteInfoActiveSrcAddr=cotvMcastRouteInfoActiveSrcAddr, cotvDataGroupRowStatus=cotvDataGroupRowStatus, cotvOverlayVlansExtendedSecond2k=cotvOverlayVlansExtendedSecond2k, cotvOverlayJoinInterface=cotvOverlayJoinInterface, cotvMcastRouteMetric=cotvMcastRouteMetric, cotvAdjacentDevAddrType=cotvAdjacentDevAddrType, ciscoOtvMIB=ciscoOtvMIB, cotvDataGroupDeliverySrcAddrType=cotvDataGroupDeliverySrcAddrType, cotvDataGroupStorageType=cotvDataGroupStorageType, cotvOverlayNumber=cotvOverlayNumber, cotvMcastRouteUpTime=cotvMcastRouteUpTime, cotvOverlayRowStatus=cotvOverlayRowStatus, cotvOverlayBroadcastGroupAddrType=cotvOverlayBroadcastGroupAddrType, cotvMcastRouteInfoVlanId=cotvMcastRouteInfoVlanId, cotvDataGroupDeliveryGroupAddr=cotvDataGroupDeliveryGroupAddr, cotvAdjacencyObjects=cotvAdjacencyObjects, cotvOverlayPrimaryAdjServerAddrType=cotvOverlayPrimaryAdjServerAddrType, cotvMcastRouteInfoEntry=cotvMcastRouteInfoEntry, cotvMcastRouteActiveGroupAddrType=cotvMcastRouteActiveGroupAddrType, cotvOverlayAdjServerTransportType=cotvOverlayAdjServerTransportType, cotvRouteMacAddr=cotvRouteMacAddr, ciscoOtvMIBCompliances=ciscoOtvMIBCompliances, cotvOverlayVlansExtendedFirst2k=cotvOverlayVlansExtendedFirst2k, cotvOverlaySourceInterface=cotvOverlaySourceInterface, ciscoOtvVlanGroup=ciscoOtvVlanGroup, cotvArpNdCacheL3AddrType=cotvArpNdCacheL3AddrType, cotvSiteVlan=cotvSiteVlan, cotvDataGroupJoinInterface=cotvDataGroupJoinInterface, ciscoOtvRouteGroup=ciscoOtvRouteGroup, cotvAdjacentDevState=cotvAdjacentDevState, cotvDataGroupVlanId=cotvDataGroupVlanId, cotvOverlayStorageType=cotvOverlayStorageType, cotvArpNdCacheTimeToExpire=cotvArpNdCacheTimeToExpire, cotvMcastRouteActiveSrcAddr=cotvMcastRouteActiveSrcAddr, ciscoOtvAdjacencyGroup=ciscoOtvAdjacencyGroup, cotvMcastRouteVlanId=cotvMcastRouteVlanId, cotvOverlayVpnName=cotvOverlayVpnName, cotvRouteOwner=cotvRouteOwner, ciscoOtvMcastRouteGroup=ciscoOtvMcastRouteGroup, cotvDataGroupInfoEntry=cotvDataGroupInfoEntry, cotvDataGroupActiveGroupAddrType=cotvDataGroupActiveGroupAddrType, cotvRouteObjects=cotvRouteObjects, cotvMcastRouteActiveGroupAddr=cotvMcastRouteActiveGroupAddr, cotvOverlayPrimaryAdjServerAddr=cotvOverlayPrimaryAdjServerAddr, cotvMcastRouteActiveSrcAddrType=cotvMcastRouteActiveSrcAddrType, cotvGlobalStatsObjects=cotvGlobalStatsObjects, cotvAdjacencyDatabaseTable=cotvAdjacencyDatabaseTable, cotvRouteNextHopAddr=cotvRouteNextHopAddr, cotvArpNdObjects=cotvArpNdObjects, cotvGlobalObjects=cotvGlobalObjects, cotvMcastRouteInfoUpTime=cotvMcastRouteInfoUpTime, cotvSiteIdAdmin=cotvSiteIdAdmin, cotvRouteMetric=cotvRouteMetric, cotvOverlayObjects=cotvOverlayObjects, cotvOverlayEntry=cotvOverlayEntry, cotvOverlayTable=cotvOverlayTable, cotvMcastRouteInfoHostAddr=cotvMcastRouteInfoHostAddr, cotvRouteVlanId=cotvRouteVlanId, cotvDataGroupConfigTable=cotvDataGroupConfigTable, cotvOverlaySuppressArpND=cotvOverlaySuppressArpND, cotvVlanEdgeDevIsAed=cotvVlanEdgeDevIsAed, ciscoOtvDataGroupInfoGroup=ciscoOtvDataGroupInfoGroup, cotvArpNdCacheAge=cotvArpNdCacheAge, ciscoOtvOverlayGroup=ciscoOtvOverlayGroup, cotvAdjacencyDatabaseEntry=cotvAdjacencyDatabaseEntry, cotvAdjacentDevAddr=cotvAdjacentDevAddr, cotvOverlayAdjServerEnable=cotvOverlayAdjServerEnable, cotvDataGroupConfigEntry=cotvDataGroupConfigEntry, cotvMcastRouteInfoActiveGroupAddr=cotvMcastRouteInfoActiveGroupAddr, cotvDataGroupInfoTable=cotvDataGroupInfoTable)
(integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, constraints_intersection, single_value_constraint, value_size_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsUnion') (cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt') (cisco2_k_vlan_list,) = mibBuilder.importSymbols('CISCO-TC', 'Cisco2KVlanList') (interface_index_or_zero,) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndexOrZero') (inet_address, inet_address_type, inet_address_prefix_length) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddress', 'InetAddressType', 'InetAddressPrefixLength') (vlan_index,) = mibBuilder.importSymbols('Q-BRIDGE-MIB', 'VlanIndex') (snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString') (object_group, module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'ModuleCompliance', 'NotificationGroup') (bits, ip_address, unsigned32, module_identity, counter32, mib_scalar, mib_table, mib_table_row, mib_table_column, integer32, time_ticks, gauge32, object_identity, notification_type, counter64, iso, mib_identifier) = mibBuilder.importSymbols('SNMPv2-SMI', 'Bits', 'IpAddress', 'Unsigned32', 'ModuleIdentity', 'Counter32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Integer32', 'TimeTicks', 'Gauge32', 'ObjectIdentity', 'NotificationType', 'Counter64', 'iso', 'MibIdentifier') (textual_convention, row_status, display_string, mac_address, truth_value, storage_type) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'RowStatus', 'DisplayString', 'MacAddress', 'TruthValue', 'StorageType') cisco_otv_mib = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 810)) ciscoOtvMIB.setRevisions(('2013-08-05 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ciscoOtvMIB.setRevisionsDescriptions(('Initial version of this MIB module.',)) if mibBuilder.loadTexts: ciscoOtvMIB.setLastUpdated('201308050000Z') if mibBuilder.loadTexts: ciscoOtvMIB.setOrganization('Cisco Systems, Inc.') if mibBuilder.loadTexts: ciscoOtvMIB.setContactInfo('Cisco Systems Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553-NETS E-mail: [email protected]') if mibBuilder.loadTexts: ciscoOtvMIB.setDescription("This MIB module is for configuration & statistic query of Overlay Transport Virtualization (OTV) functionality on Cisco routers and switches. Overlay Transport Virtualization is a Cisco's innovative LAN extension technology. It is an IP-based functionality that provides Layer 2 extension capabilities over any transport infrastructure: Layer 2 based, Layer 3 based, IP switched, label switched, and so on. OTV provides an overlay that enables Layer 2 connectivity between separate Layer 2 domains while keeping these domains independent and preserving the fault- isolation, resiliency, and load-balancing benefits of an IP- based interconnection. OTV introduces the concept of MAC routing, which means a control plane protocol is used to exchange MAC reachability information between network devices providing LAN extension functionality. This is a significant shift from Layer 2 switching that traditionally leverages data plane learning, and it is justified by the need to limit flooding of Layer 2 traffic across the transport infrastructure. OTV also introduces the concept of dynamic encapsulation for Layer 2 flows that need to be sent to remote locations. Each Ethernet frame is individually encapsulated into an IP packet and delivered across the transport network. Finally, OTV provides a native built-in multi-homing capability with automatic detection, critical to increasing high availability of the overall solution. Two or more devices can be leveraged in each data center to provide LAN extension functionality without running the risk of creating an end-to-end loop that would jeopardize the overall stability of the design. The followings detail the OTV specific terminology: Edge Device The edge device performs OTV functions: it receives the Layer 2 traffic for all VLANs that need to be extended to remote locations and dynamically encapsulates the Ethernet frames into IP packets that are then sent across the transport infrastructure. Internal Interfaces To perform OTV functionality, the edge device must receive the Layer 2 traffic for all VLANs that need to be extended to remote locations. The Layer 2 interfaces, where the Layer 2 traffic is usually received, are named internal interfaces. Join Interface The Join interface is used to source the OTV encapsulated traffic and send it to the Layer 3 domain of the data center network. Overlay Interface The Overlay interface is a logical multi-access and multicast- capable interface that must be explicitly defined by the user and where the entire OTV configuration is applied. The following terms are used throughout this MIB: AED Authoritative Edge Device ARP Address Resolution Protocol DNS Domain Name System ISIS Intermediate System to Intermediate System Routing Protocol LSPDB Link State PDU Database OTV Overlay Transport Virtualization VLAN Virtual Local Area Network VPN Virtual Private Network") cisco_otv_mib_notifs = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 0)) cisco_otv_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 1)) cisco_otv_mib_conform = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 2)) cotv_global_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 1)) cotv_overlay_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2)) cotv_adjacency_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 3)) cotv_arp_nd_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 4)) cotv_route_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5)) cotv_site_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 1, 1)) cotv_global_stats_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 1, 2)) cotv_site_id_admin = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 1, 1, 1), octet_string().subtype(subtypeSpec=constraints_union(value_size_constraint(4, 4), value_size_constraint(6, 6)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: cotvSiteIdAdmin.setStatus('current') if mibBuilder.loadTexts: cotvSiteIdAdmin.setDescription('This object specifies OTV site identifier for this device. The OTV site identifier could be either a four octets value or a six octets valid MAC address. If the OTV site identifier is not configured, this object will have four zero octets.') cotv_site_id_oper = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 1, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(6, 6)).setFixedLength(6)).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvSiteIdOper.setStatus('current') if mibBuilder.loadTexts: cotvSiteIdOper.setDescription('This object indicates OTV site identifier in use for this device. There is no operational OTV site identifier if the value of this object contains all zeros.') cotv_site_vlan = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 1, 1, 3), vlan_index()).setMaxAccess('readwrite') if mibBuilder.loadTexts: cotvSiteVlan.setStatus('current') if mibBuilder.loadTexts: cotvSiteVlan.setDescription('This object specifies the OTV site VLAN for this device.') cotv_site_vlan_state = mib_scalar((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('up', 1), ('down', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvSiteVlanState.setStatus('current') if mibBuilder.loadTexts: cotvSiteVlanState.setDescription("This object indicates the state of OTV site VLAN. 'up' - OTV site VLAN is up 'down' - OTV site VLAN is down") cotv_overlay_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1)) if mibBuilder.loadTexts: cotvOverlayTable.setStatus('current') if mibBuilder.loadTexts: cotvOverlayTable.setDescription('A list of Overlay interfaces configured on this device.') cotv_overlay_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1)).setIndexNames((0, 'CISCO-OTV-MIB', 'cotvOverlayNumber')) if mibBuilder.loadTexts: cotvOverlayEntry.setStatus('current') if mibBuilder.loadTexts: cotvOverlayEntry.setDescription('An entry containing management information for a particular Overlay interface.') cotv_overlay_number = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 1), unsigned32()) if mibBuilder.loadTexts: cotvOverlayNumber.setStatus('current') if mibBuilder.loadTexts: cotvOverlayNumber.setDescription('A unique number to identify an Overlay interface.') cotv_overlay_vpn_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 2), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvOverlayVpnName.setStatus('current') if mibBuilder.loadTexts: cotvOverlayVpnName.setDescription('This object indicates the name of the Virtual Private Network associated with this Overlay interface.') cotv_overlay_vpn_state = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('other', 0), ('down', 1), ('up', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvOverlayVpnState.setStatus('current') if mibBuilder.loadTexts: cotvOverlayVpnState.setDescription("This object indicates the state of Virtual Private Network which is associated with this Overlay interface. 'other' - Any other state not covered by below enumerations. 'up' - The Overlay Virtual Private Network is up 'down' - The Overlay Virtual Private Network is down") cotv_overlay_vpn_down_reason = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 4), 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))).clone(namedValues=named_values(('other', 0), ('configChange', 1), ('missingControlGroup', 2), ('missingDataGroupRange', 3), ('missingJoinOrSourceInterface', 4), ('missingVpnName', 5), ('missingJoinInterfaceAddr', 6), ('joinInterfaceDown', 7), ('adminDown', 8), ('deleteHoldDown', 9), ('reinit', 10), ('missingSiteId', 11), ('siteIdMismatch', 12), ('missingSourceInterfaceAddr', 13), ('sourceInterfaceDown', 14), ('changingSiteId', 15), ('changingControlGroup', 16), ('missingDeviceId', 17), ('changingDeviceId', 18), ('cleanupInProgress', 19)))).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvOverlayVpnDownReason.setStatus('current') if mibBuilder.loadTexts: cotvOverlayVpnDownReason.setDescription("This object indicates the reason why this Overlay Virtual Private Network is down. 'other' - Any other reason not covered by below enumerations 'configChange' - Configuration changed 'missingControlGroup' - Control Group information is unavailable 'missingDataGroupRange' - Data Group range information is unavailable 'misssingJoinOrSourceInterface' - Join or Source interface information is unavailable 'missingVpnName' - VPN name is unavailable 'missingJoinInterfaceAddr' - IP address is missing for Join Interface 'joinInterfaceDown' - Join Interface is down 'adminDown' - Overlay is administratively shutdown 'deleteHoldDown' - Overlay is in delete hold down phase 'reinit' - VPN is reinitializing 'missingSiteId' - Site ID information is unavailable 'siteIdMismatch' - Site ID mismatch has occurred 'missingSourceInterfaceAddr' - IP address is missing for Source Interface 'sourceInterfaceDown' - Source interface is down 'changingSiteId' - Changing site identifier 'changingControlGroup' - Changing control group 'missingDeviceId' - Device ID information is unavailable 'changingDeviceId' - Changing device ID 'cleanupInProgress' - Cleanup in progress") cotv_overlay_vlans_extended_first2k = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 5), cisco2_k_vlan_list()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cotvOverlayVlansExtendedFirst2k.setStatus('current') if mibBuilder.loadTexts: cotvOverlayVlansExtendedFirst2k.setDescription('This object specifies the list of VLANs extended on this Overlay interface. It is a string of octets containing one bit per VLAN with VlanIndex values of 0 through 2047. If the bit corresponding to a VLAN is set to 1, it indicates that VLAN is being extended on this Overlay interface. If the bit corresponding to a VLAN is set to 0, it indicates that VLAN is not being extended on this Overlay interface.') cotv_overlay_vlans_extended_second2k = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 6), cisco2_k_vlan_list()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cotvOverlayVlansExtendedSecond2k.setStatus('current') if mibBuilder.loadTexts: cotvOverlayVlansExtendedSecond2k.setDescription('This object specifies the list of VLANs extended on this Overlay interface. It is a string of octets containing one bit per VLAN with VlanIndex values of 2048 through 4095. If the bit corresponding to a VLAN is set to 1, it indicates that VLAN is being extended on this Overlay interface. If the bit corresponding to a VLAN is set to 0, it indicates that VLAN is not being extended on this Overlay interface.') cotv_overlay_control_group_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 7), inet_address_type().clone('unknown')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cotvOverlayControlGroupAddrType.setStatus('current') if mibBuilder.loadTexts: cotvOverlayControlGroupAddrType.setDescription('This object specifies the type of Internet address of Control Group.') cotv_overlay_control_group_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 8), inet_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cotvOverlayControlGroupAddr.setStatus('current') if mibBuilder.loadTexts: cotvOverlayControlGroupAddr.setDescription('This object specifies the Internet address of Control Group. The type of this address is determined by cotvOverlayControlGroupAddrType.') cotv_overlay_broadcast_group_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 9), inet_address_type().clone('unknown')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cotvOverlayBroadcastGroupAddrType.setStatus('current') if mibBuilder.loadTexts: cotvOverlayBroadcastGroupAddrType.setDescription('This object specifies the type of Internet address to be used as Broadcast Group Address.') cotv_overlay_broadcast_group_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 10), inet_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cotvOverlayBroadcastGroupAddr.setStatus('current') if mibBuilder.loadTexts: cotvOverlayBroadcastGroupAddr.setDescription('This object specifies the Internet address to be used as Broadcast Group Address. The type of this address is determined by cotvOverlayBroadcastGroupAddrType.') cotv_overlay_join_interface = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 11), interface_index_or_zero()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cotvOverlayJoinInterface.setStatus('current') if mibBuilder.loadTexts: cotvOverlayJoinInterface.setDescription('This object specifies the OTV Join Interface for this Overlay interface.') cotv_overlay_source_interface = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 12), interface_index_or_zero()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cotvOverlaySourceInterface.setStatus('current') if mibBuilder.loadTexts: cotvOverlaySourceInterface.setDescription('This object specifies the Source Interface for this Overlay interface.') cotv_overlay_aed_capable = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 13), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvOverlayAedCapable.setStatus('current') if mibBuilder.loadTexts: cotvOverlayAedCapable.setDescription("This object indicates AED (Authoritative Edge Device) capability on this Overlay interface. A value of 'true' indicates that the edge device has capability to act as an AED on this Overlay interface. A value of 'false' indicates that the edge device does not have the capability to act as an AED on this Overlay interface.") cotv_overlay_aed_incapable_reason = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10))).clone(namedValues=named_values(('other', 0), ('overlayDown', 1), ('siteIdNotConfigured', 2), ('siteIdMismatch', 3), ('versionMismatch', 4), ('siteVlanDown', 5), ('noExtendedVlanUp', 6), ('noOverlayAdjacencyUp', 7), ('lspdbSyncIncomplete', 8), ('overlayDownInProgress', 9), ('isisControlGroupSyncPending', 10)))).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvOverlayAedIncapableReason.setStatus('current') if mibBuilder.loadTexts: cotvOverlayAedIncapableReason.setDescription("This object indicates the reason why the overlay is AED-incapable. 'other' - Any other reason not covered by below enumerations 'overlayDown' - Overlay is Down 'siteIdNotConfigured' - Site ID is not configured 'siteIdMismatch' - Site ID mismatch 'versionMismatch' - Version mismatch 'siteVlanDown' - Site VLAN is Down 'noExtendedVlanUp' - No extended VLAN is operationally up 'noOverlayAdjacencyUp' - No Overlay Adjacency is up 'lspdbSyncIncomplete' - LSPDB sync incomplete 'overlayDownInProgress' - Overlay state down event in progress 'isisControlGroupSyncPending' - ISIS control group sync pending") cotv_overlay_adj_server_transport_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('multicastAndUnicast', 1), ('unicastOnly', 2))).clone('multicastAndUnicast')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cotvOverlayAdjServerTransportType.setStatus('current') if mibBuilder.loadTexts: cotvOverlayAdjServerTransportType.setDescription("The type of transport OTV control plane can use to exchange Adjacency Server information. 'multicastAndUnicast' - OTV control plane can use both multicast and unicast to exchange Adjacency Server information 'unicastOnly' - OTV control plane can use only unicast to exchange Adjacency Server information. Value of this object can be set to 'unicastOnly' only if the value of cotvOverlayPrimaryAdjServerAddrType is 'unknown'.") cotv_overlay_adj_server_enable = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 16), truth_value().clone('false')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cotvOverlayAdjServerEnable.setStatus('current') if mibBuilder.loadTexts: cotvOverlayAdjServerEnable.setDescription("This object specifies Adjacency Server functionality for this Overlay interface. Setting the object to 'true' enables Adjacency Server functionality. Setting the object to 'false' disables Adjacency Server functionality.") cotv_overlay_primary_adj_server_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 17), inet_address_type().clone('unknown')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cotvOverlayPrimaryAdjServerAddrType.setStatus('current') if mibBuilder.loadTexts: cotvOverlayPrimaryAdjServerAddrType.setDescription('This object specifies the type of Internet address of the Primary Adjacency Server for this Overlay interface.') cotv_overlay_primary_adj_server_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 18), inet_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cotvOverlayPrimaryAdjServerAddr.setStatus('current') if mibBuilder.loadTexts: cotvOverlayPrimaryAdjServerAddr.setDescription('This object specifies the Internet address of the Primary Adjacency Server for this Overlay interface. The type of this address is determined by the value of cotvOverlayPrimaryAdjServerAddrType.') cotv_overlay_secondary_adj_server_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 19), inet_address_type().clone('unknown')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cotvOverlaySecondaryAdjServerAddrType.setStatus('current') if mibBuilder.loadTexts: cotvOverlaySecondaryAdjServerAddrType.setDescription('This object specifies the type of Internet address of the Secondary Adjacency Server for this Overlay interface.') cotv_overlay_secondary_adj_server_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 20), inet_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cotvOverlaySecondaryAdjServerAddr.setStatus('current') if mibBuilder.loadTexts: cotvOverlaySecondaryAdjServerAddr.setDescription('This object specifies the Internet address of the Secondary Adjacency Server for this Overlay interface. The type of this address is determined by cotvOverlaySecondaryAdjServerAddrType.') cotv_overlay_suppress_arp_nd = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 21), truth_value().clone('false')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cotvOverlaySuppressArpND.setStatus('current') if mibBuilder.loadTexts: cotvOverlaySuppressArpND.setDescription("This object specifies ARP Neighbor Discovery behavior on this Overlay interface. Setting the object to 'true' enables suppression of ARP Neighbor Discovery on this Overlay interface. Setting the object to 'false' disables suppression of ARP Neighbor Discovery on this Overlay interface.") cotv_overlay_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 22), storage_type().clone('volatile')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cotvOverlayStorageType.setStatus('current') if mibBuilder.loadTexts: cotvOverlayStorageType.setDescription('This object specifies the storage type for this conceptual row.') cotv_overlay_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 1, 1, 23), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cotvOverlayRowStatus.setStatus('current') if mibBuilder.loadTexts: cotvOverlayRowStatus.setDescription('This object specifies the status of this conceptual row.') cotv_vlans_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 2)) if mibBuilder.loadTexts: cotvVlansTable.setStatus('current') if mibBuilder.loadTexts: cotvVlansTable.setDescription('A list of VLANs extended on Overlay interfaces.') cotv_vlans_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 2, 1)).setIndexNames((0, 'CISCO-OTV-MIB', 'cotvOverlayNumber'), (0, 'CISCO-OTV-MIB', 'cotvVlanId')) if mibBuilder.loadTexts: cotvVlansEntry.setStatus('current') if mibBuilder.loadTexts: cotvVlansEntry.setDescription('An entry containing management information for a particular VLAN extended on an Overlay interface.') cotv_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 2, 1, 1), vlan_index()) if mibBuilder.loadTexts: cotvVlanId.setStatus('current') if mibBuilder.loadTexts: cotvVlanId.setDescription('This object indicates the VLAN ID of the extended VLAN.') cotv_vlan_state = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('active', 1), ('inactive', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvVlanState.setStatus('current') if mibBuilder.loadTexts: cotvVlanState.setDescription("This object indicates the state of the extended VLAN. 'active' - OTV is ready to forward traffic for this VLAN 'inactive' - OTV can not forward traffic for this VLAN") cotv_vlan_inactive_reason = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('other', 1), ('nonAed', 2), ('vlanDisabled', 3), ('overlayDown', 4), ('deleteHoldDown', 5), ('hwDown', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvVlanInactiveReason.setStatus('current') if mibBuilder.loadTexts: cotvVlanInactiveReason.setDescription("This object indicates the reason the VLAN is in 'inactive' state. 'other' - Any other reason not covered by the below enumerations 'nonAed' - Device is not an AED on this VLAN 'vlanDisabled' - Vlan is in disabled state 'overlayDown' - Overlay is currently down 'deleteHoldDown' - The VLAN is in delete hold-down state 'hwDown' - An issue with hardware is preventing VLAN from becoming 'active' Value of this object should be ignored if the value of cotvVlanInactiveReason is not 'inactive'.") cotv_vlan_aed_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 2, 1, 4), inet_address_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvVlanAedAddrType.setStatus('current') if mibBuilder.loadTexts: cotvVlanAedAddrType.setDescription('This object indicates the type of Internet address of Authoritative Edge Device (AED) on this VLAN.') cotv_vlan_aed_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 2, 1, 5), inet_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvVlanAedAddr.setStatus('current') if mibBuilder.loadTexts: cotvVlanAedAddr.setDescription('This object indicates the Internet address of Authoritative Edge Device (AED) on this VLAN. The type of this address is determined by the value of cotvVlanAedAddrType.') cotv_vlan_edge_dev_is_aed = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 2, 1, 6), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvVlanEdgeDevIsAed.setStatus('current') if mibBuilder.loadTexts: cotvVlanEdgeDevIsAed.setDescription("This object indicates if this device is acting as an AED for the VLAN. A value of 'true' indicates that this device is acting as an AED for the VLAN. A value of 'false' indicates that this device is not acting as an AED for the VLAN.") cotv_data_group_config_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 3)) if mibBuilder.loadTexts: cotvDataGroupConfigTable.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupConfigTable.setDescription('A list of multicast data-group ranges configured for each Overlay interface.') cotv_data_group_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 3, 1)).setIndexNames((0, 'CISCO-OTV-MIB', 'cotvOverlayNumber'), (0, 'CISCO-OTV-MIB', 'cotvDataGroupMcastRangeAddrType'), (0, 'CISCO-OTV-MIB', 'cotvDataGroupMcastRangeAddr'), (0, 'CISCO-OTV-MIB', 'cotvDataGroupMcastRangePrefixLength')) if mibBuilder.loadTexts: cotvDataGroupConfigEntry.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupConfigEntry.setDescription('An entry containing management information for a particular multicast data-group range configured for an Overlay interface.') cotv_data_group_mcast_range_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 3, 1, 1), inet_address_type()) if mibBuilder.loadTexts: cotvDataGroupMcastRangeAddrType.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupMcastRangeAddrType.setDescription('The type of Internet address of multicast data-group range.') cotv_data_group_mcast_range_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 3, 1, 2), inet_address().subtype(subtypeSpec=constraints_union(value_size_constraint(4, 4), value_size_constraint(16, 16)))) if mibBuilder.loadTexts: cotvDataGroupMcastRangeAddr.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupMcastRangeAddr.setDescription('The Internet address of multicast data-group range. The type of this address is determined by the value of the cotvDataGroupMcastRangeAddrType object.') cotv_data_group_mcast_range_prefix_length = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 3, 1, 3), inet_address_prefix_length()) if mibBuilder.loadTexts: cotvDataGroupMcastRangePrefixLength.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupMcastRangePrefixLength.setDescription('The length of the prefix associated with cotvDataGroupMcastRangeAddr. The type of this address prefix is determined by the value of the cotvDataGroupMcastRangeAddrType object.') cotv_data_group_storage_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 3, 1, 4), storage_type().clone('volatile')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cotvDataGroupStorageType.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupStorageType.setDescription('This object specifies the storage type for this conceptual row.') cotv_data_group_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 3, 1, 5), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cotvDataGroupRowStatus.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupRowStatus.setDescription('This object specifies the status of this conceptual row.') cotv_data_group_info_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4)) if mibBuilder.loadTexts: cotvDataGroupInfoTable.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupInfoTable.setDescription('A table listing management information for active multicast sources and multicast groups on each Overlay interface.') cotv_data_group_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1)).setIndexNames((0, 'CISCO-OTV-MIB', 'cotvOverlayNumber'), (0, 'CISCO-OTV-MIB', 'cotvDataGroupActiveSrcLocation'), (0, 'CISCO-OTV-MIB', 'cotvDataGroupVlanId'), (0, 'CISCO-OTV-MIB', 'cotvDataGroupActiveGroupAddrType'), (0, 'CISCO-OTV-MIB', 'cotvDataGroupActiveGroupAddr'), (0, 'CISCO-OTV-MIB', 'cotvDataGroupActiveSrcAddrType'), (0, 'CISCO-OTV-MIB', 'cotvDataGroupActiveSrcAddr'), (0, 'CISCO-OTV-MIB', 'cotvDataGroupDeliveryGroupAddrType'), (0, 'CISCO-OTV-MIB', 'cotvDataGroupDeliveryGroupAddr'), (0, 'CISCO-OTV-MIB', 'cotvDataGroupDeliverySrcAddrType'), (0, 'CISCO-OTV-MIB', 'cotvDataGroupDeliverySrcAddr')) if mibBuilder.loadTexts: cotvDataGroupInfoEntry.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupInfoEntry.setDescription('An entry containing management information for an active multicast data-group.') cotv_data_group_active_src_location = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('local', 1), ('remote', 2)))) if mibBuilder.loadTexts: cotvDataGroupActiveSrcLocation.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupActiveSrcLocation.setDescription('The location of Active Multicast source.') cotv_data_group_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 2), vlan_index()) if mibBuilder.loadTexts: cotvDataGroupVlanId.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupVlanId.setDescription('The VLAN associated with Active Multicast data-group.') cotv_data_group_active_group_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 3), inet_address_type()) if mibBuilder.loadTexts: cotvDataGroupActiveGroupAddrType.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupActiveGroupAddrType.setDescription('The type of Internet address of the active multicast group (multicast group of the active multicast source).') cotv_data_group_active_group_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 4), inet_address().subtype(subtypeSpec=constraints_union(value_size_constraint(4, 4), value_size_constraint(16, 16)))) if mibBuilder.loadTexts: cotvDataGroupActiveGroupAddr.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupActiveGroupAddr.setDescription('The Internet address of the active multicast group of the (multicast group of the active multicast source). The type of this address is determined by the value of cotvDataGroupActiveGroupAddrType.') cotv_data_group_active_src_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 5), inet_address_type()) if mibBuilder.loadTexts: cotvDataGroupActiveSrcAddrType.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupActiveSrcAddrType.setDescription('The type of Internet address of active multicast source.') cotv_data_group_active_src_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 6), inet_address().subtype(subtypeSpec=constraints_union(value_size_constraint(4, 4), value_size_constraint(16, 16)))) if mibBuilder.loadTexts: cotvDataGroupActiveSrcAddr.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupActiveSrcAddr.setDescription('The Internet address of active multicast source. The type of this address is determined by the value of cotvDataGroupActiveSrcAddrType.') cotv_data_group_delivery_group_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 7), inet_address_type()) if mibBuilder.loadTexts: cotvDataGroupDeliveryGroupAddrType.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupDeliveryGroupAddrType.setDescription('The type of Internet address of the delivery group that is mapped to active multicast group.') cotv_data_group_delivery_group_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 8), inet_address().subtype(subtypeSpec=constraints_union(value_size_constraint(4, 4), value_size_constraint(16, 16)))) if mibBuilder.loadTexts: cotvDataGroupDeliveryGroupAddr.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupDeliveryGroupAddr.setDescription('The Internet address of delivery group that is mapped to active multicast group. The type of this address is determined by cotvDataGroupDeliveryGroupAddrType.') cotv_data_group_delivery_src_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 9), inet_address_type()) if mibBuilder.loadTexts: cotvDataGroupDeliverySrcAddrType.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupDeliverySrcAddrType.setDescription('The type of Internet address of the delivery source that is mapped to the active multicast source.') cotv_data_group_delivery_src_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 10), inet_address().subtype(subtypeSpec=constraints_union(value_size_constraint(4, 4), value_size_constraint(16, 16)))) if mibBuilder.loadTexts: cotvDataGroupDeliverySrcAddr.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupDeliverySrcAddr.setDescription('The Internet address of the delivery source that is mapped to the active multicast source. The type of this address is determined by the value of cotvDataGroupDeliverySrcAddrType.') cotv_data_group_join_interface = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 11), interface_index_or_zero()).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvDataGroupJoinInterface.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupJoinInterface.setDescription('This object indicates the OTV Join interface on which active multicast source is located.') cotv_data_group_local_active_src_state = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 2, 4, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('none', 1), ('local', 2), ('remote', 3), ('orphan', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvDataGroupLocalActiveSrcState.setStatus('current') if mibBuilder.loadTexts: cotvDataGroupLocalActiveSrcState.setDescription("This object indicates the state of the local Active Multicast source. 'none' - State of the multicast source is not applicable 'local' - multicast source state is local 'remote' - multicast source state is remote 'orphan' - multicast source state is orphan Value of this object should be 'none' if cotvDataGroupActiveSrcLocation is 'remote'.") cotv_adjacency_database_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 3, 1)) if mibBuilder.loadTexts: cotvAdjacencyDatabaseTable.setStatus('current') if mibBuilder.loadTexts: cotvAdjacencyDatabaseTable.setDescription('A table containing OTV adjacency database information.') cotv_adjacency_database_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 3, 1, 1)).setIndexNames((0, 'CISCO-OTV-MIB', 'cotvOverlayNumber'), (0, 'CISCO-OTV-MIB', 'cotvAdjacentDevAddrType'), (0, 'CISCO-OTV-MIB', 'cotvAdjacentDevAddr')) if mibBuilder.loadTexts: cotvAdjacencyDatabaseEntry.setStatus('current') if mibBuilder.loadTexts: cotvAdjacencyDatabaseEntry.setDescription('An entry containing management information about a particular OTV adjacency.') cotv_adjacent_dev_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 3, 1, 1, 1), inet_address_type()) if mibBuilder.loadTexts: cotvAdjacentDevAddrType.setStatus('current') if mibBuilder.loadTexts: cotvAdjacentDevAddrType.setDescription('The type of Internet address of adjacent edge device.') cotv_adjacent_dev_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 3, 1, 1, 2), inet_address().subtype(subtypeSpec=value_size_constraint(1, 64))) if mibBuilder.loadTexts: cotvAdjacentDevAddr.setStatus('current') if mibBuilder.loadTexts: cotvAdjacentDevAddr.setDescription('The Internet address of adjacent edge device. The type of this address is determined by the value of cotvAdjacentDevAddrType.') cotv_adjacent_dev_system_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 3, 1, 1, 3), octet_string().subtype(subtypeSpec=constraints_union(value_size_constraint(0, 0), value_size_constraint(6, 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvAdjacentDevSystemID.setStatus('current') if mibBuilder.loadTexts: cotvAdjacentDevSystemID.setDescription('This object indicates the system identifier of the adjacent edge device. The value of this object contains zero length octet, if the system identifier of the adjacent edge devices is not available.') cotv_adjacent_dev_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 3, 1, 1, 4), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvAdjacentDevName.setStatus('current') if mibBuilder.loadTexts: cotvAdjacentDevName.setDescription('This object indicates the DNS name of the adjacent edge device.') cotv_adjacent_dev_state = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 3, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('other', 0), ('up', 1), ('down', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvAdjacentDevState.setStatus('current') if mibBuilder.loadTexts: cotvAdjacentDevState.setDescription("This object indicates the state of adjacent edge device. 'other' - Any other state not covered by below enumeration. 'up' - The adjacent device is up 'down' - The adjacent device is down.") cotv_adjacent_dev_up_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 3, 1, 1, 6), unsigned32()).setUnits('seconds').setMaxAccess('readonly') if mibBuilder.loadTexts: cotvAdjacentDevUpTime.setStatus('current') if mibBuilder.loadTexts: cotvAdjacentDevUpTime.setDescription('This object indicates the amount of time for which the adjacent device has been up.') cotv_arp_nd_cache_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 4, 1)) if mibBuilder.loadTexts: cotvArpNdCacheTable.setStatus('current') if mibBuilder.loadTexts: cotvArpNdCacheTable.setDescription('A table containing ARP Neighbor Discovery cache information.') cotv_arp_nd_cache_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 4, 1, 1)).setIndexNames((0, 'CISCO-OTV-MIB', 'cotvOverlayNumber'), (0, 'CISCO-OTV-MIB', 'cotvVlanId'), (0, 'CISCO-OTV-MIB', 'cotvArpNdCacheL3AddrType'), (0, 'CISCO-OTV-MIB', 'cotvArpNdCacheL3Addr')) if mibBuilder.loadTexts: cotvArpNdCacheEntry.setStatus('current') if mibBuilder.loadTexts: cotvArpNdCacheEntry.setDescription('An entry containing management information about a particular entry in ARP Neighbor Discovery cache.') cotv_arp_nd_cache_l3_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 4, 1, 1, 1), inet_address_type()) if mibBuilder.loadTexts: cotvArpNdCacheL3AddrType.setStatus('current') if mibBuilder.loadTexts: cotvArpNdCacheL3AddrType.setDescription('The type of Internet address (IPv4/IPv6 address) of host discovered using ARP Neighbor discovery.') cotv_arp_nd_cache_l3_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 4, 1, 1, 2), inet_address().subtype(subtypeSpec=value_size_constraint(0, 64))) if mibBuilder.loadTexts: cotvArpNdCacheL3Addr.setStatus('current') if mibBuilder.loadTexts: cotvArpNdCacheL3Addr.setDescription('The Internet address (IPv4/IPv6 address) of the host discovered using ARP Neighbor discovery. The type of this address is determined by the value of cotvArpNdCacheL3AddrType.') cotv_arp_nd_cache_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 4, 1, 1, 3), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvArpNdCacheMacAddr.setStatus('current') if mibBuilder.loadTexts: cotvArpNdCacheMacAddr.setDescription('This object indicates the MAC address discovered using ARP Neighbor discovery and cached in this table.') cotv_arp_nd_cache_age = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 4, 1, 1, 4), unsigned32()).setUnits('seconds').setMaxAccess('readonly') if mibBuilder.loadTexts: cotvArpNdCacheAge.setStatus('current') if mibBuilder.loadTexts: cotvArpNdCacheAge.setDescription('This object indicates the amount of time for which this entry has existed on the system.') cotv_arp_nd_cache_time_to_expire = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 4, 1, 1, 5), unsigned32()).setUnits('seconds').setMaxAccess('readonly') if mibBuilder.loadTexts: cotvArpNdCacheTimeToExpire.setStatus('current') if mibBuilder.loadTexts: cotvArpNdCacheTimeToExpire.setDescription('This object indicates the amount of time left for this cache entry to be expired.') cotv_route_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 1)) if mibBuilder.loadTexts: cotvRouteTable.setStatus('current') if mibBuilder.loadTexts: cotvRouteTable.setDescription('A table listing route (unicast) information in OTV Routing Information Base (ORIB).') cotv_route_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 1, 1)).setIndexNames((0, 'CISCO-OTV-MIB', 'cotvRouteVlanId'), (0, 'CISCO-OTV-MIB', 'cotvRouteMacAddr')) if mibBuilder.loadTexts: cotvRouteEntry.setStatus('current') if mibBuilder.loadTexts: cotvRouteEntry.setDescription('An entry containing management information about a particular route (unicast) in ORIB.') cotv_route_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 1, 1, 1), vlan_index()) if mibBuilder.loadTexts: cotvRouteVlanId.setStatus('current') if mibBuilder.loadTexts: cotvRouteVlanId.setDescription('The object indicates VLAN associated with this route.') cotv_route_mac_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 1, 1, 2), mac_address()) if mibBuilder.loadTexts: cotvRouteMacAddr.setStatus('current') if mibBuilder.loadTexts: cotvRouteMacAddr.setDescription('This object indicates the MAC address to be routed.') cotv_route_metric = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 1, 1, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvRouteMetric.setStatus('current') if mibBuilder.loadTexts: cotvRouteMetric.setDescription('This object indicates the metric associated with this route.') cotv_route_up_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 1, 1, 4), unsigned32()).setUnits('seconds').setMaxAccess('readonly') if mibBuilder.loadTexts: cotvRouteUpTime.setStatus('current') if mibBuilder.loadTexts: cotvRouteUpTime.setDescription('This object indicates the amount of time elapsed since the MAC route entry was installed in this table.') cotv_route_owner = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 1, 1, 5), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvRouteOwner.setStatus('current') if mibBuilder.loadTexts: cotvRouteOwner.setDescription('This object indicates the type of owner (source) from where the MAC address was learnt.') cotv_route_next_hop_if = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 1, 1, 6), interface_index_or_zero()).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvRouteNextHopIf.setStatus('current') if mibBuilder.loadTexts: cotvRouteNextHopIf.setDescription("This object indicates the interface on the device through which the MAC address will be routed. Value of this object should be ignored if cotvRouteOwner is other than 'site' or 'static'.") cotv_route_next_hop_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 1, 1, 7), inet_address_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvRouteNextHopAddrType.setStatus('current') if mibBuilder.loadTexts: cotvRouteNextHopAddrType.setDescription("This object indicates the type of Internet address of the edge device through which the MAC address will be routed. Value of this object should be ignored if cotvRouteOwner is other than 'overlay'.") cotv_route_next_hop_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 1, 1, 8), inet_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvRouteNextHopAddr.setStatus('current') if mibBuilder.loadTexts: cotvRouteNextHopAddr.setDescription("This object indicates the Internet address of the edge device through which the MAC address will be routed. The type of this address is determined by the value of cotvRouteNextHopAddrType. Value of this object should be ignored if cotvRouteOwner is other than 'overlay'.") cotv_mcast_route_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 2)) if mibBuilder.loadTexts: cotvMcastRouteTable.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteTable.setDescription('A table listing multicast route information in OTV Routing Information Base (ORIB).') cotv_mcast_route_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 2, 1)).setIndexNames((0, 'CISCO-OTV-MIB', 'cotvMcastRouteVlanId'), (0, 'CISCO-OTV-MIB', 'cotvMcastRouteActiveSrcAddrType'), (0, 'CISCO-OTV-MIB', 'cotvMcastRouteActiveSrcAddr'), (0, 'CISCO-OTV-MIB', 'cotvMcastRouteActiveGroupAddrType'), (0, 'CISCO-OTV-MIB', 'cotvMcastRouteActiveGroupAddr')) if mibBuilder.loadTexts: cotvMcastRouteEntry.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteEntry.setDescription('An entry containing information about a particular multicast route in ORIB.') cotv_mcast_route_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 2, 1, 1), vlan_index()) if mibBuilder.loadTexts: cotvMcastRouteVlanId.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteVlanId.setDescription('The object indicates VLAN associated with this multicast route.') cotv_mcast_route_active_src_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 2, 1, 2), inet_address_type()) if mibBuilder.loadTexts: cotvMcastRouteActiveSrcAddrType.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteActiveSrcAddrType.setDescription('The type of Internet address of active multicast source.') cotv_mcast_route_active_src_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 2, 1, 3), inet_address().subtype(subtypeSpec=constraints_union(value_size_constraint(4, 4), value_size_constraint(16, 16)))) if mibBuilder.loadTexts: cotvMcastRouteActiveSrcAddr.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteActiveSrcAddr.setDescription('The Internet address of active multicast source. The type of this address is determined by the value of cotvMcastRouteActiveSrcAddrType.') cotv_mcast_route_active_group_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 2, 1, 4), inet_address_type()) if mibBuilder.loadTexts: cotvMcastRouteActiveGroupAddrType.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteActiveGroupAddrType.setDescription('The type of Internet address of the active multicast group (multicast group of the active multicast source).') cotv_mcast_route_active_group_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 2, 1, 5), inet_address().subtype(subtypeSpec=constraints_union(value_size_constraint(4, 4), value_size_constraint(16, 16)))) if mibBuilder.loadTexts: cotvMcastRouteActiveGroupAddr.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteActiveGroupAddr.setDescription('The Internet address of the active multicast group of the (multicast group of the active multicast source). The type of this address is determined by the value of cotvMcastRouteActiveGroupAddrType.') cotv_mcast_route_owners = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 2, 1, 6), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvMcastRouteOwners.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteOwners.setDescription('This object indicates the type of owner(s) (sources) from where this route was learnt.') cotv_mcast_route_metric = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 2, 1, 7), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvMcastRouteMetric.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteMetric.setDescription('This object indicates the metric associated with this multicast route.') cotv_mcast_route_up_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 2, 1, 8), unsigned32()).setUnits('seconds').setMaxAccess('readonly') if mibBuilder.loadTexts: cotvMcastRouteUpTime.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteUpTime.setDescription('This object indicates the amount of time elapsed since this multicast route was installed in this table.') cotv_mcast_route_info_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3)) if mibBuilder.loadTexts: cotvMcastRouteInfoTable.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoTable.setDescription('A table listing next-hop information associated with each multicast route in OTV Routing Information Base (ORIB).') cotv_mcast_route_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1)).setIndexNames((0, 'CISCO-OTV-MIB', 'cotvMcastRouteInfoVlanId'), (0, 'CISCO-OTV-MIB', 'cotvMcastRouteInfoActiveSrcAddrType'), (0, 'CISCO-OTV-MIB', 'cotvMcastRouteInfoActiveSrcAddr'), (0, 'CISCO-OTV-MIB', 'cotvMcastRouteInfoActiveGroupAddrType'), (0, 'CISCO-OTV-MIB', 'cotvMcastRouteInfoActiveGroupAddr'), (0, 'CISCO-OTV-MIB', 'cotvMcastRouteInfoIf')) if mibBuilder.loadTexts: cotvMcastRouteInfoEntry.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoEntry.setDescription('An entry containing next-hop information about a particular multicast route in ORIB.') cotv_mcast_route_info_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 1), vlan_index()) if mibBuilder.loadTexts: cotvMcastRouteInfoVlanId.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoVlanId.setDescription('The object indicates VLAN associated with this multicast route.') cotv_mcast_route_info_active_src_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 2), inet_address_type()) if mibBuilder.loadTexts: cotvMcastRouteInfoActiveSrcAddrType.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoActiveSrcAddrType.setDescription('The type of Internet address of active multicast source.') cotv_mcast_route_info_active_src_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 3), inet_address().subtype(subtypeSpec=constraints_union(value_size_constraint(4, 4), value_size_constraint(16, 16)))) if mibBuilder.loadTexts: cotvMcastRouteInfoActiveSrcAddr.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoActiveSrcAddr.setDescription('The Internet address of active multicast source. The type of this address is determined by the value of cotvMcastRouteInfoActiveSrcAddrType.') cotv_mcast_route_info_active_group_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 4), inet_address_type()) if mibBuilder.loadTexts: cotvMcastRouteInfoActiveGroupAddrType.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoActiveGroupAddrType.setDescription('The type of Internet address of the active multicast group (multicast group of the active multicast source).') cotv_mcast_route_info_active_group_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 5), inet_address().subtype(subtypeSpec=constraints_union(value_size_constraint(4, 4), value_size_constraint(16, 16)))) if mibBuilder.loadTexts: cotvMcastRouteInfoActiveGroupAddr.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoActiveGroupAddr.setDescription('The Internet address of the active multicast group of the (multicast group of the active multicast source). The type of this address is determined by the value of cotvMcastRouteInfoActiveGroupAddrType.') cotv_mcast_route_info_if = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 6), interface_index_or_zero()) if mibBuilder.loadTexts: cotvMcastRouteInfoIf.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoIf.setDescription('This object indicates the next-hop interface on the device through which the multicast group will be routed.') cotv_mcast_route_info_host_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 7), inet_address_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvMcastRouteInfoHostAddrType.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoHostAddrType.setDescription("This object indicates the type of Internet address of the next-hop edge device through which the multicast group will be routed. Value of this object will be 'unknown' if no next-hop edge device information is associated with this route.") cotv_mcast_route_info_host_addr = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 8), inet_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvMcastRouteInfoHostAddr.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoHostAddr.setDescription('This object indicates the Internet address of the next-hop edge device through which the multicast group will be routed. The type of this address is determined by the value of cotvMcastRouteInfoHostAddrType. Value of this object will be a zero length string if no next-hop edge device information is associated with this route.') cotv_mcast_route_info_protocol_owners = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 9), snmp_admin_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvMcastRouteInfoProtocolOwners.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoProtocolOwners.setDescription('This object indicates the protocols used by multicast route owner to learn this route information.') cotv_mcast_route_info_metric = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 10), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: cotvMcastRouteInfoMetric.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoMetric.setDescription('This object indicates the metric associated with this multicast route.') cotv_mcast_route_info_up_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 810, 1, 5, 3, 1, 11), unsigned32()).setUnits('seconds').setMaxAccess('readonly') if mibBuilder.loadTexts: cotvMcastRouteInfoUpTime.setStatus('current') if mibBuilder.loadTexts: cotvMcastRouteInfoUpTime.setDescription('This object indicates the amount of time elapsed since this multicast route entry was installed in this table.') cisco_otv_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 1)) cisco_otv_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2)) cisco_otv_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 1, 1)).setObjects(('CISCO-OTV-MIB', 'ciscoOtvSiteGroup'), ('CISCO-OTV-MIB', 'ciscoOtvOverlayGroup'), ('CISCO-OTV-MIB', 'ciscoOtvVlanGroup'), ('CISCO-OTV-MIB', 'ciscoOtvDataGroupConfigGroup'), ('CISCO-OTV-MIB', 'ciscoOtvDataGroupInfoGroup'), ('CISCO-OTV-MIB', 'ciscoOtvAdjacencyGroup'), ('CISCO-OTV-MIB', 'ciscoOtvArpNdCacheGroup'), ('CISCO-OTV-MIB', 'ciscoOtvRouteGroup'), ('CISCO-OTV-MIB', 'ciscoOtvMcastRouteGroup'), ('CISCO-OTV-MIB', 'ciscoOtvMcastRouteInfoGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_otv_mib_compliance = ciscoOtvMIBCompliance.setStatus('current') if mibBuilder.loadTexts: ciscoOtvMIBCompliance.setDescription('The compliance statement for CISCO-OTV-MIB.') cisco_otv_site_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2, 1)).setObjects(('CISCO-OTV-MIB', 'cotvSiteIdAdmin'), ('CISCO-OTV-MIB', 'cotvSiteIdOper'), ('CISCO-OTV-MIB', 'cotvSiteVlan'), ('CISCO-OTV-MIB', 'cotvSiteVlanState')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_otv_site_group = ciscoOtvSiteGroup.setStatus('current') if mibBuilder.loadTexts: ciscoOtvSiteGroup.setDescription('A collection of objects providing OTV site information.') cisco_otv_overlay_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2, 2)).setObjects(('CISCO-OTV-MIB', 'cotvOverlayVpnName'), ('CISCO-OTV-MIB', 'cotvOverlayVpnState'), ('CISCO-OTV-MIB', 'cotvOverlayVpnDownReason'), ('CISCO-OTV-MIB', 'cotvOverlayVlansExtendedFirst2k'), ('CISCO-OTV-MIB', 'cotvOverlayVlansExtendedSecond2k'), ('CISCO-OTV-MIB', 'cotvOverlayControlGroupAddrType'), ('CISCO-OTV-MIB', 'cotvOverlayControlGroupAddr'), ('CISCO-OTV-MIB', 'cotvOverlayBroadcastGroupAddrType'), ('CISCO-OTV-MIB', 'cotvOverlayBroadcastGroupAddr'), ('CISCO-OTV-MIB', 'cotvOverlayJoinInterface'), ('CISCO-OTV-MIB', 'cotvOverlaySourceInterface'), ('CISCO-OTV-MIB', 'cotvOverlayAedCapable'), ('CISCO-OTV-MIB', 'cotvOverlayAedIncapableReason'), ('CISCO-OTV-MIB', 'cotvOverlayAdjServerTransportType'), ('CISCO-OTV-MIB', 'cotvOverlayAdjServerEnable'), ('CISCO-OTV-MIB', 'cotvOverlayPrimaryAdjServerAddrType'), ('CISCO-OTV-MIB', 'cotvOverlayPrimaryAdjServerAddr'), ('CISCO-OTV-MIB', 'cotvOverlaySecondaryAdjServerAddrType'), ('CISCO-OTV-MIB', 'cotvOverlaySecondaryAdjServerAddr'), ('CISCO-OTV-MIB', 'cotvOverlaySuppressArpND'), ('CISCO-OTV-MIB', 'cotvOverlayStorageType'), ('CISCO-OTV-MIB', 'cotvOverlayRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_otv_overlay_group = ciscoOtvOverlayGroup.setStatus('current') if mibBuilder.loadTexts: ciscoOtvOverlayGroup.setDescription('A collection of objects providing OTV overlay information.') cisco_otv_vlan_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2, 3)).setObjects(('CISCO-OTV-MIB', 'cotvVlanState'), ('CISCO-OTV-MIB', 'cotvVlanInactiveReason'), ('CISCO-OTV-MIB', 'cotvVlanAedAddrType'), ('CISCO-OTV-MIB', 'cotvVlanAedAddr'), ('CISCO-OTV-MIB', 'cotvVlanEdgeDevIsAed')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_otv_vlan_group = ciscoOtvVlanGroup.setStatus('current') if mibBuilder.loadTexts: ciscoOtvVlanGroup.setDescription('A collection of objects providing OTV extended VLANs.') cisco_otv_data_group_config_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2, 4)).setObjects(('CISCO-OTV-MIB', 'cotvDataGroupStorageType'), ('CISCO-OTV-MIB', 'cotvDataGroupRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_otv_data_group_config_group = ciscoOtvDataGroupConfigGroup.setStatus('current') if mibBuilder.loadTexts: ciscoOtvDataGroupConfigGroup.setDescription('A collection of objects providing overlay multicast data-group configuration information.') cisco_otv_data_group_info_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2, 5)).setObjects(('CISCO-OTV-MIB', 'cotvDataGroupJoinInterface'), ('CISCO-OTV-MIB', 'cotvDataGroupLocalActiveSrcState')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_otv_data_group_info_group = ciscoOtvDataGroupInfoGroup.setStatus('current') if mibBuilder.loadTexts: ciscoOtvDataGroupInfoGroup.setDescription('A collection of objects providing active data-group related information.') cisco_otv_adjacency_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2, 6)).setObjects(('CISCO-OTV-MIB', 'cotvAdjacentDevSystemID'), ('CISCO-OTV-MIB', 'cotvAdjacentDevName'), ('CISCO-OTV-MIB', 'cotvAdjacentDevState'), ('CISCO-OTV-MIB', 'cotvAdjacentDevUpTime')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_otv_adjacency_group = ciscoOtvAdjacencyGroup.setStatus('current') if mibBuilder.loadTexts: ciscoOtvAdjacencyGroup.setDescription('A collection of objects providing information about OTV Adjacency Database.') cisco_otv_arp_nd_cache_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2, 7)).setObjects(('CISCO-OTV-MIB', 'cotvArpNdCacheMacAddr'), ('CISCO-OTV-MIB', 'cotvArpNdCacheAge'), ('CISCO-OTV-MIB', 'cotvArpNdCacheTimeToExpire')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_otv_arp_nd_cache_group = ciscoOtvArpNdCacheGroup.setStatus('current') if mibBuilder.loadTexts: ciscoOtvArpNdCacheGroup.setDescription('A collection of objects providing ARP/ND cache information.') cisco_otv_route_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2, 8)).setObjects(('CISCO-OTV-MIB', 'cotvRouteMetric'), ('CISCO-OTV-MIB', 'cotvRouteUpTime'), ('CISCO-OTV-MIB', 'cotvRouteOwner'), ('CISCO-OTV-MIB', 'cotvRouteNextHopIf'), ('CISCO-OTV-MIB', 'cotvRouteNextHopAddrType'), ('CISCO-OTV-MIB', 'cotvRouteNextHopAddr')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_otv_route_group = ciscoOtvRouteGroup.setStatus('current') if mibBuilder.loadTexts: ciscoOtvRouteGroup.setDescription('A collection of objects providing information about unicast routes in ORIB.') cisco_otv_mcast_route_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2, 9)).setObjects(('CISCO-OTV-MIB', 'cotvMcastRouteOwners'), ('CISCO-OTV-MIB', 'cotvMcastRouteMetric'), ('CISCO-OTV-MIB', 'cotvMcastRouteUpTime')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_otv_mcast_route_group = ciscoOtvMcastRouteGroup.setStatus('current') if mibBuilder.loadTexts: ciscoOtvMcastRouteGroup.setDescription('A collection of objects providing information about multicast routes in ORIB.') cisco_otv_mcast_route_info_group = object_group((1, 3, 6, 1, 4, 1, 9, 9, 810, 2, 2, 10)).setObjects(('CISCO-OTV-MIB', 'cotvMcastRouteInfoHostAddrType'), ('CISCO-OTV-MIB', 'cotvMcastRouteInfoHostAddr'), ('CISCO-OTV-MIB', 'cotvMcastRouteInfoProtocolOwners'), ('CISCO-OTV-MIB', 'cotvMcastRouteInfoMetric'), ('CISCO-OTV-MIB', 'cotvMcastRouteInfoUpTime')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cisco_otv_mcast_route_info_group = ciscoOtvMcastRouteInfoGroup.setStatus('current') if mibBuilder.loadTexts: ciscoOtvMcastRouteInfoGroup.setDescription('A collection of objects providing interface level information for multicast routes in ORIB.') mibBuilder.exportSymbols('CISCO-OTV-MIB', cotvDataGroupActiveSrcLocation=cotvDataGroupActiveSrcLocation, cotvMcastRouteInfoActiveGroupAddrType=cotvMcastRouteInfoActiveGroupAddrType, cotvMcastRouteInfoTable=cotvMcastRouteInfoTable, cotvArpNdCacheMacAddr=cotvArpNdCacheMacAddr, ciscoOtvMIBNotifs=ciscoOtvMIBNotifs, cotvOverlayBroadcastGroupAddr=cotvOverlayBroadcastGroupAddr, cotvArpNdCacheL3Addr=cotvArpNdCacheL3Addr, cotvOverlayAedCapable=cotvOverlayAedCapable, cotvDataGroupActiveSrcAddrType=cotvDataGroupActiveSrcAddrType, cotvMcastRouteInfoActiveSrcAddrType=cotvMcastRouteInfoActiveSrcAddrType, cotvArpNdCacheEntry=cotvArpNdCacheEntry, cotvVlansTable=cotvVlansTable, cotvRouteEntry=cotvRouteEntry, cotvDataGroupDeliveryGroupAddrType=cotvDataGroupDeliveryGroupAddrType, cotvVlanId=cotvVlanId, PYSNMP_MODULE_ID=ciscoOtvMIB, ciscoOtvMIBGroups=ciscoOtvMIBGroups, cotvOverlayControlGroupAddrType=cotvOverlayControlGroupAddrType, cotvDataGroupDeliverySrcAddr=cotvDataGroupDeliverySrcAddr, cotvDataGroupLocalActiveSrcState=cotvDataGroupLocalActiveSrcState, cotvRouteNextHopAddrType=cotvRouteNextHopAddrType, cotvMcastRouteInfoMetric=cotvMcastRouteInfoMetric, cotvAdjacentDevUpTime=cotvAdjacentDevUpTime, cotvVlanState=cotvVlanState, cotvRouteNextHopIf=cotvRouteNextHopIf, cotvMcastRouteInfoProtocolOwners=cotvMcastRouteInfoProtocolOwners, cotvArpNdCacheTable=cotvArpNdCacheTable, ciscoOtvMcastRouteInfoGroup=ciscoOtvMcastRouteInfoGroup, cotvDataGroupMcastRangeAddrType=cotvDataGroupMcastRangeAddrType, ciscoOtvMIBCompliance=ciscoOtvMIBCompliance, cotvRouteUpTime=cotvRouteUpTime, cotvMcastRouteOwners=cotvMcastRouteOwners, cotvOverlayVpnDownReason=cotvOverlayVpnDownReason, cotvVlansEntry=cotvVlansEntry, cotvDataGroupActiveGroupAddr=cotvDataGroupActiveGroupAddr, cotvOverlayVpnState=cotvOverlayVpnState, cotvOverlaySecondaryAdjServerAddrType=cotvOverlaySecondaryAdjServerAddrType, cotvOverlayAedIncapableReason=cotvOverlayAedIncapableReason, cotvSiteObjects=cotvSiteObjects, ciscoOtvArpNdCacheGroup=ciscoOtvArpNdCacheGroup, cotvAdjacentDevSystemID=cotvAdjacentDevSystemID, cotvMcastRouteEntry=cotvMcastRouteEntry, ciscoOtvMIBObjects=ciscoOtvMIBObjects, cotvMcastRouteTable=cotvMcastRouteTable, cotvVlanAedAddrType=cotvVlanAedAddrType, cotvVlanInactiveReason=cotvVlanInactiveReason, ciscoOtvSiteGroup=ciscoOtvSiteGroup, cotvDataGroupMcastRangeAddr=cotvDataGroupMcastRangeAddr, cotvOverlaySecondaryAdjServerAddr=cotvOverlaySecondaryAdjServerAddr, cotvAdjacentDevName=cotvAdjacentDevName, ciscoOtvMIBConform=ciscoOtvMIBConform, cotvRouteTable=cotvRouteTable, cotvMcastRouteInfoIf=cotvMcastRouteInfoIf, cotvMcastRouteInfoHostAddrType=cotvMcastRouteInfoHostAddrType, cotvDataGroupMcastRangePrefixLength=cotvDataGroupMcastRangePrefixLength, cotvSiteVlanState=cotvSiteVlanState, ciscoOtvDataGroupConfigGroup=ciscoOtvDataGroupConfigGroup, cotvSiteIdOper=cotvSiteIdOper, cotvDataGroupActiveSrcAddr=cotvDataGroupActiveSrcAddr, cotvOverlayControlGroupAddr=cotvOverlayControlGroupAddr, cotvVlanAedAddr=cotvVlanAedAddr, cotvMcastRouteInfoActiveSrcAddr=cotvMcastRouteInfoActiveSrcAddr, cotvDataGroupRowStatus=cotvDataGroupRowStatus, cotvOverlayVlansExtendedSecond2k=cotvOverlayVlansExtendedSecond2k, cotvOverlayJoinInterface=cotvOverlayJoinInterface, cotvMcastRouteMetric=cotvMcastRouteMetric, cotvAdjacentDevAddrType=cotvAdjacentDevAddrType, ciscoOtvMIB=ciscoOtvMIB, cotvDataGroupDeliverySrcAddrType=cotvDataGroupDeliverySrcAddrType, cotvDataGroupStorageType=cotvDataGroupStorageType, cotvOverlayNumber=cotvOverlayNumber, cotvMcastRouteUpTime=cotvMcastRouteUpTime, cotvOverlayRowStatus=cotvOverlayRowStatus, cotvOverlayBroadcastGroupAddrType=cotvOverlayBroadcastGroupAddrType, cotvMcastRouteInfoVlanId=cotvMcastRouteInfoVlanId, cotvDataGroupDeliveryGroupAddr=cotvDataGroupDeliveryGroupAddr, cotvAdjacencyObjects=cotvAdjacencyObjects, cotvOverlayPrimaryAdjServerAddrType=cotvOverlayPrimaryAdjServerAddrType, cotvMcastRouteInfoEntry=cotvMcastRouteInfoEntry, cotvMcastRouteActiveGroupAddrType=cotvMcastRouteActiveGroupAddrType, cotvOverlayAdjServerTransportType=cotvOverlayAdjServerTransportType, cotvRouteMacAddr=cotvRouteMacAddr, ciscoOtvMIBCompliances=ciscoOtvMIBCompliances, cotvOverlayVlansExtendedFirst2k=cotvOverlayVlansExtendedFirst2k, cotvOverlaySourceInterface=cotvOverlaySourceInterface, ciscoOtvVlanGroup=ciscoOtvVlanGroup, cotvArpNdCacheL3AddrType=cotvArpNdCacheL3AddrType, cotvSiteVlan=cotvSiteVlan, cotvDataGroupJoinInterface=cotvDataGroupJoinInterface, ciscoOtvRouteGroup=ciscoOtvRouteGroup, cotvAdjacentDevState=cotvAdjacentDevState, cotvDataGroupVlanId=cotvDataGroupVlanId, cotvOverlayStorageType=cotvOverlayStorageType, cotvArpNdCacheTimeToExpire=cotvArpNdCacheTimeToExpire, cotvMcastRouteActiveSrcAddr=cotvMcastRouteActiveSrcAddr, ciscoOtvAdjacencyGroup=ciscoOtvAdjacencyGroup, cotvMcastRouteVlanId=cotvMcastRouteVlanId, cotvOverlayVpnName=cotvOverlayVpnName, cotvRouteOwner=cotvRouteOwner, ciscoOtvMcastRouteGroup=ciscoOtvMcastRouteGroup, cotvDataGroupInfoEntry=cotvDataGroupInfoEntry, cotvDataGroupActiveGroupAddrType=cotvDataGroupActiveGroupAddrType, cotvRouteObjects=cotvRouteObjects, cotvMcastRouteActiveGroupAddr=cotvMcastRouteActiveGroupAddr, cotvOverlayPrimaryAdjServerAddr=cotvOverlayPrimaryAdjServerAddr, cotvMcastRouteActiveSrcAddrType=cotvMcastRouteActiveSrcAddrType, cotvGlobalStatsObjects=cotvGlobalStatsObjects, cotvAdjacencyDatabaseTable=cotvAdjacencyDatabaseTable, cotvRouteNextHopAddr=cotvRouteNextHopAddr, cotvArpNdObjects=cotvArpNdObjects, cotvGlobalObjects=cotvGlobalObjects, cotvMcastRouteInfoUpTime=cotvMcastRouteInfoUpTime, cotvSiteIdAdmin=cotvSiteIdAdmin, cotvRouteMetric=cotvRouteMetric, cotvOverlayObjects=cotvOverlayObjects, cotvOverlayEntry=cotvOverlayEntry, cotvOverlayTable=cotvOverlayTable, cotvMcastRouteInfoHostAddr=cotvMcastRouteInfoHostAddr, cotvRouteVlanId=cotvRouteVlanId, cotvDataGroupConfigTable=cotvDataGroupConfigTable, cotvOverlaySuppressArpND=cotvOverlaySuppressArpND, cotvVlanEdgeDevIsAed=cotvVlanEdgeDevIsAed, ciscoOtvDataGroupInfoGroup=ciscoOtvDataGroupInfoGroup, cotvArpNdCacheAge=cotvArpNdCacheAge, ciscoOtvOverlayGroup=ciscoOtvOverlayGroup, cotvAdjacencyDatabaseEntry=cotvAdjacencyDatabaseEntry, cotvAdjacentDevAddr=cotvAdjacentDevAddr, cotvOverlayAdjServerEnable=cotvOverlayAdjServerEnable, cotvDataGroupConfigEntry=cotvDataGroupConfigEntry, cotvMcastRouteInfoActiveGroupAddr=cotvMcastRouteInfoActiveGroupAddr, cotvDataGroupInfoTable=cotvDataGroupInfoTable)
class ServerError(Exception): def __init__(self, details, model, response): self.details = details self.model = model self.response = response super(ServerError, self).__init__(self.details) def encode(self): return { "details": self.details, "expected": str(self.model), "actual": self.response } class BadRequest(Exception): def __init__(self, message, **kwargs): self.kwargs = kwargs self.message = message def encode(self): encoded ={"details": self.message} encoded.update(self.kwargs) return encoded
class Servererror(Exception): def __init__(self, details, model, response): self.details = details self.model = model self.response = response super(ServerError, self).__init__(self.details) def encode(self): return {'details': self.details, 'expected': str(self.model), 'actual': self.response} class Badrequest(Exception): def __init__(self, message, **kwargs): self.kwargs = kwargs self.message = message def encode(self): encoded = {'details': self.message} encoded.update(self.kwargs) return encoded
# Ariant Treasure Vault Entrance (915020100) => Ariant Treasure Vault if 2400 <= chr.getJob() <= 2412 and not sm.hasMobsInField(): sm.warp(915020101, 1) elif sm.hasMobsInField(): sm.chat("Eliminate all of the intruders first.")
if 2400 <= chr.getJob() <= 2412 and (not sm.hasMobsInField()): sm.warp(915020101, 1) elif sm.hasMobsInField(): sm.chat('Eliminate all of the intruders first.')
# Copyright (c) 2011 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'targets': [ { 'target_name': 'libflac', 'product_name': 'flac', 'type': 'static_library', 'sources': [ 'include/FLAC/all.h', 'include/FLAC/assert.h', 'include/FLAC/callback.h', 'include/FLAC/export.h', 'include/FLAC/format.h', 'include/FLAC/metadata.h', 'include/FLAC/ordinals.h', 'include/FLAC/stream_decoder.h', 'include/FLAC/stream_encoder.h', 'include/share/alloc.h', 'include/share/compat.h', 'include/share/endswap.h', 'include/share/private.h', 'src/libFLAC/alloc.c', 'src/libFLAC/bitmath.c', 'src/libFLAC/bitreader.c', 'src/libFLAC/bitwriter.c', 'src/libFLAC/cpu.c', 'src/libFLAC/crc.c', 'src/libFLAC/fixed.c', 'src/libFLAC/float.c', 'src/libFLAC/format.c', 'src/libFLAC/lpc.c', 'src/libFLAC/md5.c', 'src/libFLAC/memory.c', 'src/libFLAC/stream_decoder.c', 'src/libFLAC/stream_encoder.c', 'src/libFLAC/stream_encoder_framing.c', 'src/libFLAC/window.c', 'src/libFLAC/include/private/all.h', 'src/libFLAC/include/private/bitmath.h', 'src/libFLAC/include/private/bitreader.h', 'src/libFLAC/include/private/bitwriter.h', 'src/libFLAC/include/private/cpu.h', 'src/libFLAC/include/private/crc.h', 'src/libFLAC/include/private/fixed.h', 'src/libFLAC/include/private/float.h', 'src/libFLAC/include/private/format.h', 'src/libFLAC/include/private/lpc.h', 'src/libFLAC/include/private/macros.h', 'src/libFLAC/include/private/md5.h', 'src/libFLAC/include/private/memory.h', 'src/libFLAC/include/private/metadata.h', 'src/libFLAC/include/private/stream_encoder.h', 'src/libFLAC/include/private/stream_encoder_framing.h', 'src/libFLAC/include/private/window.h', 'src/libFLAC/include/protected/all.h', 'src/libFLAC/include/protected/stream_decoder.h', 'src/libFLAC/include/protected/stream_encoder.h', ], 'defines': [ 'FLAC__NO_DLL', 'FLAC__OVERFLOW_DETECT', 'VERSION="1.3.1"', 'HAVE_LROUND', ], 'conditions': [ ['OS=="win"', { 'sources': [ 'include/share/win_utf8_io.h', 'src/share/win_utf8_io/win_utf8_io.c', ], 'defines!': [ 'WIN32_LEAN_AND_MEAN', # win_utf8_io.c defines this itself. ], 'msvs_settings': { 'VCCLCompilerTool': { 'AdditionalOptions': [ '/wd4334', # 32-bit shift converted to 64 bits. '/wd4267', # Converting from size_t to unsigned on 64-bit. ], }, }, }, { 'defines': [ 'HAVE_INTTYPES_H', ], }], ], 'include_dirs': [ 'include', 'src/libFLAC/include', ], 'direct_dependent_settings': { 'defines': [ 'FLAC__NO_DLL', ], }, 'variables': { 'clang_warning_flags': [ # libflac converts between FLAC__StreamDecoderState and # FLAC__StreamDecoderInitStatus a lot in stream_decoder.c. '-Wno-conversion', # libflac contains constants that are only used in certain # compile-time cases, which triggers unused-const-variable warnings in # other cases. '-Wno-unused-const-variable', ], }, }, ], } # Local Variables: # tab-width:2 # indent-tabs-mode:nil # End: # vim: set expandtab tabstop=2 shiftwidth=2:
{'targets': [{'target_name': 'libflac', 'product_name': 'flac', 'type': 'static_library', 'sources': ['include/FLAC/all.h', 'include/FLAC/assert.h', 'include/FLAC/callback.h', 'include/FLAC/export.h', 'include/FLAC/format.h', 'include/FLAC/metadata.h', 'include/FLAC/ordinals.h', 'include/FLAC/stream_decoder.h', 'include/FLAC/stream_encoder.h', 'include/share/alloc.h', 'include/share/compat.h', 'include/share/endswap.h', 'include/share/private.h', 'src/libFLAC/alloc.c', 'src/libFLAC/bitmath.c', 'src/libFLAC/bitreader.c', 'src/libFLAC/bitwriter.c', 'src/libFLAC/cpu.c', 'src/libFLAC/crc.c', 'src/libFLAC/fixed.c', 'src/libFLAC/float.c', 'src/libFLAC/format.c', 'src/libFLAC/lpc.c', 'src/libFLAC/md5.c', 'src/libFLAC/memory.c', 'src/libFLAC/stream_decoder.c', 'src/libFLAC/stream_encoder.c', 'src/libFLAC/stream_encoder_framing.c', 'src/libFLAC/window.c', 'src/libFLAC/include/private/all.h', 'src/libFLAC/include/private/bitmath.h', 'src/libFLAC/include/private/bitreader.h', 'src/libFLAC/include/private/bitwriter.h', 'src/libFLAC/include/private/cpu.h', 'src/libFLAC/include/private/crc.h', 'src/libFLAC/include/private/fixed.h', 'src/libFLAC/include/private/float.h', 'src/libFLAC/include/private/format.h', 'src/libFLAC/include/private/lpc.h', 'src/libFLAC/include/private/macros.h', 'src/libFLAC/include/private/md5.h', 'src/libFLAC/include/private/memory.h', 'src/libFLAC/include/private/metadata.h', 'src/libFLAC/include/private/stream_encoder.h', 'src/libFLAC/include/private/stream_encoder_framing.h', 'src/libFLAC/include/private/window.h', 'src/libFLAC/include/protected/all.h', 'src/libFLAC/include/protected/stream_decoder.h', 'src/libFLAC/include/protected/stream_encoder.h'], 'defines': ['FLAC__NO_DLL', 'FLAC__OVERFLOW_DETECT', 'VERSION="1.3.1"', 'HAVE_LROUND'], 'conditions': [['OS=="win"', {'sources': ['include/share/win_utf8_io.h', 'src/share/win_utf8_io/win_utf8_io.c'], 'defines!': ['WIN32_LEAN_AND_MEAN'], 'msvs_settings': {'VCCLCompilerTool': {'AdditionalOptions': ['/wd4334', '/wd4267']}}}, {'defines': ['HAVE_INTTYPES_H']}]], 'include_dirs': ['include', 'src/libFLAC/include'], 'direct_dependent_settings': {'defines': ['FLAC__NO_DLL']}, 'variables': {'clang_warning_flags': ['-Wno-conversion', '-Wno-unused-const-variable']}}]}
class LUISEmulator(object): def __init__(self): self.name='luis' def normalise_request_json(self,data): _data = {} _data["text"]=data['q'][0] return _data def normalise_response_json(self,data): return { "query": data["text"], "topScoringIntent": { "intent": "inform", "score": None }, "entities": [ { "entity": e[0], "type": e[1], "startIndex": None, "endIndex": None, "score": None } for e in data["entities"] ] }
class Luisemulator(object): def __init__(self): self.name = 'luis' def normalise_request_json(self, data): _data = {} _data['text'] = data['q'][0] return _data def normalise_response_json(self, data): return {'query': data['text'], 'topScoringIntent': {'intent': 'inform', 'score': None}, 'entities': [{'entity': e[0], 'type': e[1], 'startIndex': None, 'endIndex': None, 'score': None} for e in data['entities']]}
def test_vm_reconfigured(controller, vm_service, vn_service, vmi_service, vrouter_port_service, vm_reconfigured_update): controller.handle_update(vm_reconfigured_update) vm_service.update_vm_models_interfaces.assert_called_once() vn_service.update_vns.assert_called_once() vmi_service.update_vmis.assert_called_once() vrouter_port_service.sync_ports.assert_called_once()
def test_vm_reconfigured(controller, vm_service, vn_service, vmi_service, vrouter_port_service, vm_reconfigured_update): controller.handle_update(vm_reconfigured_update) vm_service.update_vm_models_interfaces.assert_called_once() vn_service.update_vns.assert_called_once() vmi_service.update_vmis.assert_called_once() vrouter_port_service.sync_ports.assert_called_once()
with open('lexical.csv') as f: string=f.read() arr=string.split('\n') arr=arr[:10000] result='\n'.join(arr) with open('sub.csv','w') as f: f.write(result)
with open('lexical.csv') as f: string = f.read() arr = string.split('\n') arr = arr[:10000] result = '\n'.join(arr) with open('sub.csv', 'w') as f: f.write(result)
# program to restore the original string by entering the compressed string with this rule. However, # the # character does not appear in the restored character string. def restore_original_str(a1): result = "" ind = 0 end = len(a1) while ind < end: if a1[ind] == "#": result += a1[ind + 2] * int(a1[ind + 1]) ind += 3 else: result += a1[ind] ind += 1 return result print("Original text:","XY#6Z1#4023") print(restore_original_str("XY#6Z1#4023")) print("Original text:","#39+1=1#30") print(restore_original_str("#39+1=1#30"))
def restore_original_str(a1): result = '' ind = 0 end = len(a1) while ind < end: if a1[ind] == '#': result += a1[ind + 2] * int(a1[ind + 1]) ind += 3 else: result += a1[ind] ind += 1 return result print('Original text:', 'XY#6Z1#4023') print(restore_original_str('XY#6Z1#4023')) print('Original text:', '#39+1=1#30') print(restore_original_str('#39+1=1#30'))
def example2(n): h = lambda : print(n) return(h) ourfunc = example2(5) ourfunc()
def example2(n): h = lambda : print(n) return h ourfunc = example2(5) ourfunc()
# Outputs the sum of the range of all numbers from 1 to n. # Source: https://pynative.com/python-program-to-calculate-sum-and-average-of-numbers/ def main(): print("\n") input_string = input('Enter numbers separated by space ') print("\n") # Take input numbers into list numbers = input_string.split() # convert each item to int type for i in range(len(numbers)): # convert each item to int type numbers[i] = int(numbers[i]) # Calculating the sum and average print("Sum = ", sum(numbers)) print("Average = ", sum(numbers) / len(numbers)) if __name__ == '__main__' : main()
def main(): print('\n') input_string = input('Enter numbers separated by space ') print('\n') numbers = input_string.split() for i in range(len(numbers)): numbers[i] = int(numbers[i]) print('Sum = ', sum(numbers)) print('Average = ', sum(numbers) / len(numbers)) if __name__ == '__main__': main()
# https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero/ class Solution: def sumZero(self, n: int) -> List[int]: res = [] if n % 2 == 0: for i in range(1, (n // 2) + 1): res.append(i) for i in range(-(n // 2), 0): res.append(i) return res else: for i in range(1, (n // 2) + 1): res.append(i) res.append(0) for i in range(-(n // 2), 0): res.append(i) return res
class Solution: def sum_zero(self, n: int) -> List[int]: res = [] if n % 2 == 0: for i in range(1, n // 2 + 1): res.append(i) for i in range(-(n // 2), 0): res.append(i) return res else: for i in range(1, n // 2 + 1): res.append(i) res.append(0) for i in range(-(n // 2), 0): res.append(i) return res
# # PySNMP MIB module ARBOR-SMI (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ARBOR-SMI # Produced by pysmi-0.3.4 at Mon Apr 29 17:08:55 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") ValueRangeConstraint, ValueSizeConstraint, ConstraintsUnion, ConstraintsIntersection, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsUnion", "ConstraintsIntersection", "SingleValueConstraint") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") ModuleIdentity, ObjectIdentity, Counter32, Gauge32, enterprises, Integer32, IpAddress, MibIdentifier, Counter64, NotificationType, iso, MibScalar, MibTable, MibTableRow, MibTableColumn, Unsigned32, TimeTicks, Bits = mibBuilder.importSymbols("SNMPv2-SMI", "ModuleIdentity", "ObjectIdentity", "Counter32", "Gauge32", "enterprises", "Integer32", "IpAddress", "MibIdentifier", "Counter64", "NotificationType", "iso", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Unsigned32", "TimeTicks", "Bits") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") arbornetworks = ModuleIdentity((1, 3, 6, 1, 4, 1, 9694)) arbornetworks.setRevisions(('2013-08-19 00:00', '2011-07-20 00:00', '2009-03-30 00:00', '2008-11-13 00:00', '2005-09-12 00:00',)) if mibBuilder.loadTexts: arbornetworks.setLastUpdated('201308190000Z') if mibBuilder.loadTexts: arbornetworks.setOrganization('Arbor Networks, Inc.') arbornetworksProducts = ObjectIdentity((1, 3, 6, 1, 4, 1, 9694, 1)) if mibBuilder.loadTexts: arbornetworksProducts.setStatus('current') arborExperimental = ObjectIdentity((1, 3, 6, 1, 4, 1, 9694, 2)) if mibBuilder.loadTexts: arborExperimental.setStatus('current') mibBuilder.exportSymbols("ARBOR-SMI", arborExperimental=arborExperimental, arbornetworks=arbornetworks, arbornetworksProducts=arbornetworksProducts, PYSNMP_MODULE_ID=arbornetworks)
(octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, value_size_constraint, constraints_union, constraints_intersection, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ValueSizeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'SingleValueConstraint') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (module_identity, object_identity, counter32, gauge32, enterprises, integer32, ip_address, mib_identifier, counter64, notification_type, iso, mib_scalar, mib_table, mib_table_row, mib_table_column, unsigned32, time_ticks, bits) = mibBuilder.importSymbols('SNMPv2-SMI', 'ModuleIdentity', 'ObjectIdentity', 'Counter32', 'Gauge32', 'enterprises', 'Integer32', 'IpAddress', 'MibIdentifier', 'Counter64', 'NotificationType', 'iso', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Unsigned32', 'TimeTicks', 'Bits') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') arbornetworks = module_identity((1, 3, 6, 1, 4, 1, 9694)) arbornetworks.setRevisions(('2013-08-19 00:00', '2011-07-20 00:00', '2009-03-30 00:00', '2008-11-13 00:00', '2005-09-12 00:00')) if mibBuilder.loadTexts: arbornetworks.setLastUpdated('201308190000Z') if mibBuilder.loadTexts: arbornetworks.setOrganization('Arbor Networks, Inc.') arbornetworks_products = object_identity((1, 3, 6, 1, 4, 1, 9694, 1)) if mibBuilder.loadTexts: arbornetworksProducts.setStatus('current') arbor_experimental = object_identity((1, 3, 6, 1, 4, 1, 9694, 2)) if mibBuilder.loadTexts: arborExperimental.setStatus('current') mibBuilder.exportSymbols('ARBOR-SMI', arborExperimental=arborExperimental, arbornetworks=arbornetworks, arbornetworksProducts=arbornetworksProducts, PYSNMP_MODULE_ID=arbornetworks)
# default value from class context class A: FOO = 1 def foo(self, param=F<ref>OO): pass
class A: foo = 1 def foo(self, param=F < ref > OO): pass
class Solution: def climbStairs(self, n: int) -> int: if n == 1 or n == 0: return 1 prev, curr = 1, 1 for i in range(2, n + 1): temp = curr curr += prev prev = temp return curr
class Solution: def climb_stairs(self, n: int) -> int: if n == 1 or n == 0: return 1 (prev, curr) = (1, 1) for i in range(2, n + 1): temp = curr curr += prev prev = temp return curr
#Given two cells of a chessboard. If they are painted in one color, print the word YES, and if in a different color - NO. r = int(input("Row number of the first cell on Chessboard, r = ?")) if ((r > 8) or (r < 1)): print("Invalid row number for a Chessboard!") exit() c = int(input("The column number for the first cell on Chessboard, c = ?")) if((c > 8) or (c <1)): print("Invalid column number for a Chessboard!") exit() R = int(input("THe row number for the second cell on Chessboard, R = ?")) if ((R > 8) or (R < 1)): print("Invalid row number for a Chessboard!") exit() C = int(input("The column for the second cell on Chessboard, C = ?")) if ((C > 8) or (C <1 )): print("Invalid column number for a Chessboard!") exit() if ( ( r % 2 == 0) and ( (c % 2 == 0)) )or ( (r % 2 != 0) and (c % 2 != 0)): if ( ((R %2 == 0)and(C% 2 ==0)) or (( R % 2 != 0)and(C %2 != 0)) ): print("YES, The two given cells has the SAME color.") else: print("NO, The two given cells are NOT the same color") elif ( ((r % 2 == 0) and(c %2 != 0)) or ((r % 2 != 0) and (c% 2 ==0)) ): if ( ((R %2 == 0)and(C% 2 !=0)) or (( R % 2 != 0)and(C %2 == 0)) ): print("YES, The two given cells has the SAME color.") else: print("NO, The two given cells are NOT the same color") exit()
r = int(input('Row number of the first cell on Chessboard, r = ?')) if r > 8 or r < 1: print('Invalid row number for a Chessboard!') exit() c = int(input('The column number for the first cell on Chessboard, c = ?')) if c > 8 or c < 1: print('Invalid column number for a Chessboard!') exit() r = int(input('THe row number for the second cell on Chessboard, R = ?')) if R > 8 or R < 1: print('Invalid row number for a Chessboard!') exit() c = int(input('The column for the second cell on Chessboard, C = ?')) if C > 8 or C < 1: print('Invalid column number for a Chessboard!') exit() if r % 2 == 0 and c % 2 == 0 or (r % 2 != 0 and c % 2 != 0): if R % 2 == 0 and C % 2 == 0 or (R % 2 != 0 and C % 2 != 0): print('YES, The two given cells has the SAME color.') else: print('NO, The two given cells are NOT the same color') elif r % 2 == 0 and c % 2 != 0 or (r % 2 != 0 and c % 2 == 0): if R % 2 == 0 and C % 2 != 0 or (R % 2 != 0 and C % 2 == 0): print('YES, The two given cells has the SAME color.') else: print('NO, The two given cells are NOT the same color') exit()
def int_to_byte(i): return i.to_bytes(1, byteorder='big') def byte_to_int(b): return int.from_bytes(b, byteorder='big', signed=False)
def int_to_byte(i): return i.to_bytes(1, byteorder='big') def byte_to_int(b): return int.from_bytes(b, byteorder='big', signed=False)
class ServicePrincipal: def __init__(self, client_id=None, tenant_id=None, credential=None): self.client_id = client_id self.tenant_id = tenant_id self.credential = credential def from_dict(self, service_principal_dict): self.client_id = service_principal_dict['client_id'] self.tenant_id = service_principal_dict['tenant_id'] self.credential = service_principal_dict['credential'] return self
class Serviceprincipal: def __init__(self, client_id=None, tenant_id=None, credential=None): self.client_id = client_id self.tenant_id = tenant_id self.credential = credential def from_dict(self, service_principal_dict): self.client_id = service_principal_dict['client_id'] self.tenant_id = service_principal_dict['tenant_id'] self.credential = service_principal_dict['credential'] return self
num_inpt = a = 7484 num_inpt_2 = b = 12312 while num_inpt != num_inpt_2: # nod if num_inpt > num_inpt_2: num_inpt = num_inpt - num_inpt_2 elif num_inpt_2 > num_inpt: num_inpt_2 = num_inpt_2 - num_inpt nok = a * b // num_inpt_2 #nok print(nok)
num_inpt = a = 7484 num_inpt_2 = b = 12312 while num_inpt != num_inpt_2: if num_inpt > num_inpt_2: num_inpt = num_inpt - num_inpt_2 elif num_inpt_2 > num_inpt: num_inpt_2 = num_inpt_2 - num_inpt nok = a * b // num_inpt_2 print(nok)
def count_and_print(f, l): c=0 for e in l: f.write(e) f.write("\n") c+=1 f.close() return c
def count_and_print(f, l): c = 0 for e in l: f.write(e) f.write('\n') c += 1 f.close() return c
def readFlat(filename, delimiter): f = open(filename) ans = [] for line in f: ans.append(map(lambda x:float(x), filter(lambda x:len(x)>0,line.split(delimiter)))) return ans
def read_flat(filename, delimiter): f = open(filename) ans = [] for line in f: ans.append(map(lambda x: float(x), filter(lambda x: len(x) > 0, line.split(delimiter)))) return ans
# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 # For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt def b(x): msg = "x is %s" % x print(msg)
def b(x): msg = 'x is %s' % x print(msg)
class DoubleNode: def __init__(self, value): self.value = value self.next = None self.previous = None class DoublyLinkedList: def __init__(self): self.head = None self.tail = None def append(self, value): if self.head == None: self.head = DoubleNode(value) self.tail = self.head return new_node = DoubleNode(value) new_node.previous = self.tail self.tail.next = new_node self.tail = self.tail.next def to_list(self): #Write a function to convert DoublyLinkedList to Python list list = [] node = self.head while node: list.append(node.value) node = node.next return list def to_list_reverse(self): list = [] node = self.tail while node: list.append(node.value) node = node.previous return list
class Doublenode: def __init__(self, value): self.value = value self.next = None self.previous = None class Doublylinkedlist: def __init__(self): self.head = None self.tail = None def append(self, value): if self.head == None: self.head = double_node(value) self.tail = self.head return new_node = double_node(value) new_node.previous = self.tail self.tail.next = new_node self.tail = self.tail.next def to_list(self): list = [] node = self.head while node: list.append(node.value) node = node.next return list def to_list_reverse(self): list = [] node = self.tail while node: list.append(node.value) node = node.previous return list
# Authors: Soledad Galli <[email protected]> # License: BSD 3 clause # functions shared across transformers def _define_variables(variables): # Check that variable names are passed in a list. # Can take None as value if not variables or isinstance(variables, list): variables = variables else: variables = [variables] return variables def _find_numerical_variables(X, variables=None): # Find numerical variables in a data set or check that # the variables entered by the user are numerical. if not variables: variables = list(X.select_dtypes(include='number').columns) else: if len(X[variables].select_dtypes(exclude='number').columns) != 0: raise TypeError("Some of the variables are not numerical. Please cast them as numerical " "before calling this transformer") return variables def _find_categorical_variables(X, variables=None): # Find categorical variables in a data set or check that # the variables entered by user are categorical. if not variables: variables = list(X.select_dtypes(include='O').columns) else: # variables indicated by user if len(X[variables].select_dtypes(exclude='O').columns) != 0: raise TypeError("Some of the variables are not categorical. Please cast them as object " "before calling this transformer") return variables
def _define_variables(variables): if not variables or isinstance(variables, list): variables = variables else: variables = [variables] return variables def _find_numerical_variables(X, variables=None): if not variables: variables = list(X.select_dtypes(include='number').columns) elif len(X[variables].select_dtypes(exclude='number').columns) != 0: raise type_error('Some of the variables are not numerical. Please cast them as numerical before calling this transformer') return variables def _find_categorical_variables(X, variables=None): if not variables: variables = list(X.select_dtypes(include='O').columns) elif len(X[variables].select_dtypes(exclude='O').columns) != 0: raise type_error('Some of the variables are not categorical. Please cast them as object before calling this transformer') return variables
K, A, B = map(int, input().split()) if B-A <= 2: print(K+1) exit(0) if 1+(K-2) < A: print(K+1) exit(0) exchange_times, last = divmod(K-(A-1), 2) profit = B - A ans = A + exchange_times * profit + last print(ans)
(k, a, b) = map(int, input().split()) if B - A <= 2: print(K + 1) exit(0) if 1 + (K - 2) < A: print(K + 1) exit(0) (exchange_times, last) = divmod(K - (A - 1), 2) profit = B - A ans = A + exchange_times * profit + last print(ans)
m = "sdjlwdd" c print(mBytes) mInt = int.from_bytes(mBytes, byteorder="big") mBytes2 = mInt.to_bytes(((mInt.bit_length() + 7) // 8), byteorder="big") m2 = mBytes2.decode("utf-8") print(m == m2)
m = 'sdjlwdd' c print(mBytes) m_int = int.from_bytes(mBytes, byteorder='big') m_bytes2 = mInt.to_bytes((mInt.bit_length() + 7) // 8, byteorder='big') m2 = mBytes2.decode('utf-8') print(m == m2)
# -*- coding: UTF-8 -*- # vim: ts=4 sts=4 sw=4 tw=100 sta et class NotInRole(Exception): pass def check_role(my_roles, requested_roles): if not my_roles: return True for role in my_roles: if role in requested_roles: return True raise NotInRole()
class Notinrole(Exception): pass def check_role(my_roles, requested_roles): if not my_roles: return True for role in my_roles: if role in requested_roles: return True raise not_in_role()