content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
#create empty list for DAG wl = [] #dummy string gen = "genotype" #dummy list of fake gene names ng = ["gen1", "gen2", "gen3"] for i in range(len(ng)): temp = [gen, ng[i]] wl.append(temp) #append season and growth rate wl.append(["season", "gr"]) #create list of tuples wl_tup = list(map(tuple, wl)) print(wl_tup) #create blacklist in similar fashion bl = [["season", "genotype"]] for x in range(len(ng)): temp2 = [ng[i], "season"] bl.append(temp2) bl_tup = list(map(tuple, bl)) print(bl_tup)
wl = [] gen = 'genotype' ng = ['gen1', 'gen2', 'gen3'] for i in range(len(ng)): temp = [gen, ng[i]] wl.append(temp) wl.append(['season', 'gr']) wl_tup = list(map(tuple, wl)) print(wl_tup) bl = [['season', 'genotype']] for x in range(len(ng)): temp2 = [ng[i], 'season'] bl.append(temp2) bl_tup = list(map(tuple, bl)) print(bl_tup)
class Solution: def longestPalindromeSubseq(self, s: str) -> int: n = len(s) pre = [0] * n cur = [0] * n for i in reversed(range(n)): for j in range(i, n): if i == j: cur[j] = 1 elif s[i] == s[j]: cur[j] = pre[j - 1] + 2 else: cur[j] = max(pre[j], cur[j - 1]) pre = cur.copy() return pre[-1]
class Solution: def longest_palindrome_subseq(self, s: str) -> int: n = len(s) pre = [0] * n cur = [0] * n for i in reversed(range(n)): for j in range(i, n): if i == j: cur[j] = 1 elif s[i] == s[j]: cur[j] = pre[j - 1] + 2 else: cur[j] = max(pre[j], cur[j - 1]) pre = cur.copy() return pre[-1]
# Copyright (C) 2019 Snild Dolkow # Licensed under the LICENSE. class TestShadowing(object): def setUp(self): self.heap, = self.hf.heaps self.cbase, = self.heap.classes['com.example.Base'] self.ci, = self.heap.classes['com.example.ShadowI'] self.cs, = self.heap.classes['com.example.ShadowS'] self.cii, = self.heap.classes['com.example.ShadowII'] self.cis, = self.heap.classes['com.example.ShadowIS'] self.csi, = self.heap.classes['com.example.ShadowSI'] self.css, = self.heap.classes['com.example.ShadowSS'] def test_static_attr(self): for cls, expected in ( (self.cbase, 10), (self.cs, 13), (self.cis, 11), (self.css, 12), ): with self.subTest(cls=cls): with self.subTest(access='non-static'): obj, = self.heap.exact_instances(cls) self.assertEqual(obj.val, expected) with self.subTest(access='static'): self.assertEqual(cls.val, expected) def test_instance_attr(self): for cls, expected in ( (self.ci, 4), (self.cii, 5), (self.csi, 6), ): with self.subTest(cls=cls): with self.subTest(access='non-static'): obj, = self.heap.exact_instances(cls) self.assertEqual(obj.val, expected) with self.subTest(access='static'): pass # TODO: #with self.assertRaisesRegex(AttributeError, 'non-static'): # cls.val
class Testshadowing(object): def set_up(self): (self.heap,) = self.hf.heaps (self.cbase,) = self.heap.classes['com.example.Base'] (self.ci,) = self.heap.classes['com.example.ShadowI'] (self.cs,) = self.heap.classes['com.example.ShadowS'] (self.cii,) = self.heap.classes['com.example.ShadowII'] (self.cis,) = self.heap.classes['com.example.ShadowIS'] (self.csi,) = self.heap.classes['com.example.ShadowSI'] (self.css,) = self.heap.classes['com.example.ShadowSS'] def test_static_attr(self): for (cls, expected) in ((self.cbase, 10), (self.cs, 13), (self.cis, 11), (self.css, 12)): with self.subTest(cls=cls): with self.subTest(access='non-static'): (obj,) = self.heap.exact_instances(cls) self.assertEqual(obj.val, expected) with self.subTest(access='static'): self.assertEqual(cls.val, expected) def test_instance_attr(self): for (cls, expected) in ((self.ci, 4), (self.cii, 5), (self.csi, 6)): with self.subTest(cls=cls): with self.subTest(access='non-static'): (obj,) = self.heap.exact_instances(cls) self.assertEqual(obj.val, expected) with self.subTest(access='static'): pass
database = 'test_data' datasets = ['monthly_sunspots', 'metro_traffic_ts'] # datasets = ['monthly_sunspots', ] tables = { 'monthly_sunspots': f""" CREATE TABLE IF NOT EXISTS {database}.monthly_sunspots ( Month Date, Sunspots Float64 ) ENGINE = MergeTree() ORDER BY Month PARTITION BY Month """, 'metro_traffic_ts': f""" CREATE TABLE IF NOT EXISTS {database}.metro_traffic_ts ( holiday String, temp Float64, rain_1h Float64, snow_1h Float64, clouds_all UInt8, weather_main String, weather_description String, date_time DateTime('UTC'), traffic_volume Int16 ) ENGINE = MergeTree() ORDER BY traffic_volume PARTITION BY weather_main """ }
database = 'test_data' datasets = ['monthly_sunspots', 'metro_traffic_ts'] tables = {'monthly_sunspots': f'\n CREATE TABLE IF NOT EXISTS {database}.monthly_sunspots (\n Month Date,\n Sunspots Float64\n ) ENGINE = MergeTree()\n ORDER BY Month\n PARTITION BY Month\n ', 'metro_traffic_ts': f"\n CREATE TABLE IF NOT EXISTS {database}.metro_traffic_ts (\n holiday String,\n temp Float64,\n rain_1h Float64,\n snow_1h Float64,\n clouds_all UInt8,\n weather_main String,\n weather_description String,\n date_time DateTime('UTC'),\n traffic_volume Int16\n ) ENGINE = MergeTree()\n ORDER BY traffic_volume\n PARTITION BY weather_main\n "}
TEST_API_KEY = "" TEST_API_SECRET = "" REAL_API_KEY = "" REAL_API_SECRET = "" sleeptime = 2 #in seconds sleeptime_HTTPTooManyRequests = 10 sleeptime_HTTPServiceUnavailable = 2 use_last_symbol_as_default = True default_symbol = "XBTUSD" default_stop_inst = "IndexPrice" verbose = 1 testnet = True
test_api_key = '' test_api_secret = '' real_api_key = '' real_api_secret = '' sleeptime = 2 sleeptime_http_too_many_requests = 10 sleeptime_http_service_unavailable = 2 use_last_symbol_as_default = True default_symbol = 'XBTUSD' default_stop_inst = 'IndexPrice' verbose = 1 testnet = True
class Area(SpatialElement,IDisposable): """ Provides access to the area topology in Autodesk Revit. """ def Dispose(self): """ Dispose(self: Element,A_0: bool) """ pass def getBoundingBox(self,*args): """ getBoundingBox(self: Element,view: View) -> BoundingBoxXYZ """ pass def ReleaseUnmanagedResources(self,*args): """ ReleaseUnmanagedResources(self: Element,disposing: bool) """ pass def setElementType(self,*args): """ setElementType(self: Element,type: ElementType,incompatibleExceptionMessage: str) """ pass def __enter__(self,*args): """ __enter__(self: IDisposable) -> object """ pass def __exit__(self,*args): """ __exit__(self: IDisposable,exc_type: object,exc_value: object,exc_back: object) """ pass def __init__(self,*args): """ x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """ pass AreaScheme=property(lambda self: object(),lambda self,v: None,lambda self: None) """The area scheme. Get: AreaScheme(self: Area) -> AreaScheme """ IsGrossInterior=property(lambda self: object(),lambda self,v: None,lambda self: None) """The boolean value that indicates whether the area is gross interior. Get: IsGrossInterior(self: Area) -> bool """
class Area(SpatialElement, IDisposable): """ Provides access to the area topology in Autodesk Revit. """ def dispose(self): """ Dispose(self: Element,A_0: bool) """ pass def get_bounding_box(self, *args): """ getBoundingBox(self: Element,view: View) -> BoundingBoxXYZ """ pass def release_unmanaged_resources(self, *args): """ ReleaseUnmanagedResources(self: Element,disposing: bool) """ pass def set_element_type(self, *args): """ setElementType(self: Element,type: ElementType,incompatibleExceptionMessage: str) """ pass def __enter__(self, *args): """ __enter__(self: IDisposable) -> object """ pass def __exit__(self, *args): """ __exit__(self: IDisposable,exc_type: object,exc_value: object,exc_back: object) """ pass def __init__(self, *args): """ x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """ pass area_scheme = property(lambda self: object(), lambda self, v: None, lambda self: None) 'The area scheme.\n\n\n\nGet: AreaScheme(self: Area) -> AreaScheme\n\n\n\n' is_gross_interior = property(lambda self: object(), lambda self, v: None, lambda self: None) 'The boolean value that indicates whether the area is gross interior.\n\n\n\nGet: IsGrossInterior(self: Area) -> bool\n\n\n\n'
# Create your code using this format # Create a file with a file-name of your program code # For example : sumOfTwoNumbers.py or factorialOfANumber.py # Now start hacking # Keep this as a format while coding # PROGRAM-NAME : Your-program-name # By 'your-name' # PROGRAM-CODE : # # **Start coding ..... your code fragment comes here** # Finally it will look like this ... # PROGRAM-NAME : Hello, World! # By John Doe # PROGRAM-CODE : print('Hello ,world'); #Now follow the same from CONTRIBUTING.md on how create a pull request.
print('Hello ,world')
chromosome_name="chr1" file_name="/home/slow/onimaru/1000genome/HG00119_1000.fa" with open(file_name, "r") as fin, open(file_name+"_"+chromosome_name, "w") as fout: WRITE=False for line in fin: if line.startswith('>'): #line1=line.split() a=line.strip('>\n') #print a if a.startswith(chromosome_name): fout.write(line) WRITE=True else: WRITE=False elif WRITE: fout.write(line)
chromosome_name = 'chr1' file_name = '/home/slow/onimaru/1000genome/HG00119_1000.fa' with open(file_name, 'r') as fin, open(file_name + '_' + chromosome_name, 'w') as fout: write = False for line in fin: if line.startswith('>'): a = line.strip('>\n') if a.startswith(chromosome_name): fout.write(line) write = True else: write = False elif WRITE: fout.write(line)
kata1 = "Hallo" kata2 = "Dunia" hasil = kata1 + " " + kata2 print(hasil)
kata1 = 'Hallo' kata2 = 'Dunia' hasil = kata1 + ' ' + kata2 print(hasil)
def make_factorial_table(n): result = [0] * (n + 1) result[0] = 1 for i in range(1, n + 1): result[i] = result[i - 1] * i % m return result def mcomb(n, k): if n == 0 and k == 0: return 1 if n < k or k < 0: return 0 return fac[n] * pow(fac[n - k], m - 2, m) * pow(fac[k], m - 2, m) % m m = 1000000007 N, *a = map(int, open(0).read().split()) fac = make_factorial_table(N) result = 0 for i in range(N): result += mcomb(N - 1, i) * a[i] result %= m print(result)
def make_factorial_table(n): result = [0] * (n + 1) result[0] = 1 for i in range(1, n + 1): result[i] = result[i - 1] * i % m return result def mcomb(n, k): if n == 0 and k == 0: return 1 if n < k or k < 0: return 0 return fac[n] * pow(fac[n - k], m - 2, m) * pow(fac[k], m - 2, m) % m m = 1000000007 (n, *a) = map(int, open(0).read().split()) fac = make_factorial_table(N) result = 0 for i in range(N): result += mcomb(N - 1, i) * a[i] result %= m print(result)
class PowerException(Exception): """ An error occurred talking the the DLI Power switch """ pass
class Powerexception(Exception): """ An error occurred talking the the DLI Power switch """ pass
lista = [] for i in range(5): n = input('numero: ') lista.append(n) print(lista) maior = lista[0] menor = lista[0] for i in range(len(lista)): if int(lista[int(i)]) > int(maior): maior = lista[int(i)] if int(lista[int(i)]) < int(menor): menor = lista[int(i)] print(f'maior: {maior}, menor:{menor}')
lista = [] for i in range(5): n = input('numero: ') lista.append(n) print(lista) maior = lista[0] menor = lista[0] for i in range(len(lista)): if int(lista[int(i)]) > int(maior): maior = lista[int(i)] if int(lista[int(i)]) < int(menor): menor = lista[int(i)] print(f'maior: {maior}, menor:{menor}')
p1 = 4 p2 = 8 #p2 = 10 rolls = { 3:1, 4:3, 5:27, 6:81, 7:27, 8:9, 9:1 } class Player: def __init__(self, pos, score, count, steps): self.pos = pos self.score = score self.count = count self.steps = steps def __repr__(self): return f"Player(pos={self.pos} score={self.score} count={self.count} steps={self.steps})" def simulate(pos1): players = [ Player(pos1-1, 0, 1, 0) ] finish = [] while len(players) > 0: next = [] for p in players: #print(p) for roll, c in rolls.items(): #print(roll, c) pos = (p.pos + roll) % 10 score = p.score + pos + 1 count = p.count * c steps = p.steps + 1 clone = Player(pos, score, count, steps) if score >= 21: finish.append(clone) else: next.append(clone) players = next total = {} for p in finish: if not p.steps in total: total[p.steps] = p.count else: total[p.steps] += p.count print(total) return total t1 = simulate(4) t2 = simulate(8) x = 0 y = 0 for s1 in t1: for s2 in t2: if s1 <= s2: x += t1[s1] else: y += t1[s2] print(x, y)
p1 = 4 p2 = 8 rolls = {3: 1, 4: 3, 5: 27, 6: 81, 7: 27, 8: 9, 9: 1} class Player: def __init__(self, pos, score, count, steps): self.pos = pos self.score = score self.count = count self.steps = steps def __repr__(self): return f'Player(pos={self.pos} score={self.score} count={self.count} steps={self.steps})' def simulate(pos1): players = [player(pos1 - 1, 0, 1, 0)] finish = [] while len(players) > 0: next = [] for p in players: for (roll, c) in rolls.items(): pos = (p.pos + roll) % 10 score = p.score + pos + 1 count = p.count * c steps = p.steps + 1 clone = player(pos, score, count, steps) if score >= 21: finish.append(clone) else: next.append(clone) players = next total = {} for p in finish: if not p.steps in total: total[p.steps] = p.count else: total[p.steps] += p.count print(total) return total t1 = simulate(4) t2 = simulate(8) x = 0 y = 0 for s1 in t1: for s2 in t2: if s1 <= s2: x += t1[s1] else: y += t1[s2] print(x, y)
#!/usr/bin/python class NumArray(object): def __init__(self, nums): self.nums = nums self.sums = [] summ = 0 for i in xrange(len(nums)): summ += self.nums[i] self.sums.append(summ) def sumRange(self, i, j): if i == j: return self.nums[i] if i > j: return 0 if i < 0 or i >= len(self.nums): return 0 previous_sum = self.sums[i - 1] if i - 1 >= 0 else 0 return self.sums[j] - previous_sum x = [1, -1, 2, -3, 4, 5, 2, -1] s = NumArray(x) assert s.sumRange(0, 0) == 1 assert s.sumRange(0, 2) == 2 assert s.sumRange(3, 7) == 7
class Numarray(object): def __init__(self, nums): self.nums = nums self.sums = [] summ = 0 for i in xrange(len(nums)): summ += self.nums[i] self.sums.append(summ) def sum_range(self, i, j): if i == j: return self.nums[i] if i > j: return 0 if i < 0 or i >= len(self.nums): return 0 previous_sum = self.sums[i - 1] if i - 1 >= 0 else 0 return self.sums[j] - previous_sum x = [1, -1, 2, -3, 4, 5, 2, -1] s = num_array(x) assert s.sumRange(0, 0) == 1 assert s.sumRange(0, 2) == 2 assert s.sumRange(3, 7) == 7
# AUTOGENERATED BY NBDEV! DO NOT EDIT! __all__ = ["index", "modules", "custom_doc_links", "git_url"] index = {} modules = [] doc_url = "https://fastai.github.io/embedding-gym/" git_url = "https://github.com/fastai/embedding-gym/tree/master/" def custom_doc_links(name): return None
__all__ = ['index', 'modules', 'custom_doc_links', 'git_url'] index = {} modules = [] doc_url = 'https://fastai.github.io/embedding-gym/' git_url = 'https://github.com/fastai/embedding-gym/tree/master/' def custom_doc_links(name): return None
num1 = 10 num2 = 20 num3 = 300
num1 = 10 num2 = 20 num3 = 300
# Created by Agamdeep Singh / CodeWithAgam # Youtube: CodeWithAgam # Github: CodeWithAgam # Instagram: @coderagam001 / @codewithagam # Twitter: @CoderAgam001 # Linkdin: Agamdeep Singh # Print a welcome message print(''' ******************************************************************************* | | | | _________|________________.=""_;=.______________|_____________________|_______ | | ,-"_,="" `"=.| | |___________________|__"=._o`"-._ `"=.______________|___________________ | `"=._o`"=._ _`"=._ | _________|_____________________:=._o "=._."_.-="'"=.__________________|_______ | | __.--" , ; `"=._o." ,-"""-._ ". | |___________________|_._" ,. .` ` `` , `"-._"-._ ". '__|___________________ | |o`"=._` , "` `; .". , "-._"-._; ; | _________|___________| ;`-.o`"=._; ." ` '`."\` . "-._ /_______________|_______ | | |o; `"-.o`"=._`` '` " ,__.--o; | |___________________|_| ; (#) `-.o `"=.`_.--"_o.-; ;___|___________________ ____/______/______/___|o;._ " `".o|o_.--" ;o;____/______/______/____ /______/______/______/_"=._o--._ ; | ; ; ;/______/______/______/_ ____/______/______/______/__"=._o--._ ;o|o; _._;o;____/______/______/____ /______/______/______/______/____"=._o._; | ;_.--"o.--"_/______/______/______/_ ____/______/______/______/______/_____"=.o|o_.--""___/______/______/______/____ /______/______/______/______/______/______/______/______/______/______/_____/__ ******************************************************************************* ''') print("Hi Explorer, and welcome to Treasure Island.") print("Your mission is to find the Treasure.\n") choice1 = input("You have to start your journey now. Take the Boat by yourself or wait for the Helicopter. Type 'Boat' or 'Helicopter'\n").lower() if choice1 == "helicopter": choice2 = input("Great, you reached the Bahamas! You're on an empty island name Jeff. You need to make a shelter to survive the night. Type 'Find' to find wood or 'Cut' to cut a tree\n").lower() if choice2 == "find": choice3 = input("Great, you've made a shelter with some extra wood left and also found a cave. Type 'Explore' to explore the cave or 'Weapons' to make weapons\n").lower() if choice3 == "weapons": choice4 = input("You made an Axe and a Sword. You're now ready to explore the cave and you found the Treasure Chest. Type 'Open' to open it or 'Take' to take it with you\n").lower() if choice4 == "C": print("Congratulations! You've found the treasure and you've successfully completed the hunt.") else: print("Oh no! You were attacked by a tribe while taking the treasure back home. Game Over!") else: print("Oh no! You entered the cave but there's a bear and you had no weapons to fight. Game Over!") else: print("oh no! The tree fell over your head. Game Over!") else: print("Oh no! There are sharks in the ocean. Game Over!")
print('\n*******************************************************************************\n | | | |\n _________|________________.=""_;=.______________|_____________________|_______\n| | ,-"_,="" `"=.| |\n|___________________|__"=._o`"-._ `"=.______________|___________________\n | `"=._o`"=._ _`"=._ |\n _________|_____________________:=._o "=._."_.-="\'"=.__________________|_______\n| | __.--" , ; `"=._o." ,-"""-._ ". |\n|___________________|_._" ,. .` ` `` , `"-._"-._ ". \'__|___________________\n | |o`"=._` , "` `; .". , "-._"-._; ; |\n _________|___________| ;`-.o`"=._; ." ` \'`."\\` . "-._ /_______________|_______\n| | |o; `"-.o`"=._`` \'` " ,__.--o; |\n|___________________|_| ; (#) `-.o `"=.`_.--"_o.-; ;___|___________________\n____/______/______/___|o;._ " `".o|o_.--" ;o;____/______/______/____\n/______/______/______/_"=._o--._ ; | ; ; ;/______/______/______/_\n____/______/______/______/__"=._o--._ ;o|o; _._;o;____/______/______/____\n/______/______/______/______/____"=._o._; | ;_.--"o.--"_/______/______/______/_\n____/______/______/______/______/_____"=.o|o_.--""___/______/______/______/____\n/______/______/______/______/______/______/______/______/______/______/_____/__\n*******************************************************************************\n') print('Hi Explorer, and welcome to Treasure Island.') print('Your mission is to find the Treasure.\n') choice1 = input("You have to start your journey now. Take the Boat by yourself or wait for the Helicopter. Type 'Boat' or 'Helicopter'\n").lower() if choice1 == 'helicopter': choice2 = input("Great, you reached the Bahamas! You're on an empty island name Jeff. You need to make a shelter to survive the night. Type 'Find' to find wood or 'Cut' to cut a tree\n").lower() if choice2 == 'find': choice3 = input("Great, you've made a shelter with some extra wood left and also found a cave. Type 'Explore' to explore the cave or 'Weapons' to make weapons\n").lower() if choice3 == 'weapons': choice4 = input("You made an Axe and a Sword. You're now ready to explore the cave and you found the Treasure Chest. Type 'Open' to open it or 'Take' to take it with you\n").lower() if choice4 == 'C': print("Congratulations! You've found the treasure and you've successfully completed the hunt.") else: print('Oh no! You were attacked by a tribe while taking the treasure back home. Game Over!') else: print("Oh no! You entered the cave but there's a bear and you had no weapons to fight. Game Over!") else: print('oh no! The tree fell over your head. Game Over!') else: print('Oh no! There are sharks in the ocean. Game Over!')
class Solution: def reachNumber(self, target: int) -> int: target = abs(target) i = 0 while target > 0: i += 1 target -= i if target % 2 == 0: result = i elif i % 2 == 0: result = i + 1 else: result = i + 2 return result
class Solution: def reach_number(self, target: int) -> int: target = abs(target) i = 0 while target > 0: i += 1 target -= i if target % 2 == 0: result = i elif i % 2 == 0: result = i + 1 else: result = i + 2 return result
# coding=utf-8 class BaseLearningRate(): """Abstract class for Learning Rate """ def __init__(self, **kwargs): for k, v in kwargs.items(): setattr(self, k, v) def get_learning_rate(self): raise NotImplementedError()
class Baselearningrate: """Abstract class for Learning Rate """ def __init__(self, **kwargs): for (k, v) in kwargs.items(): setattr(self, k, v) def get_learning_rate(self): raise not_implemented_error()
# Toate programarile cu numar maxim de spectacole (Greedy + backtracking) # comparator dupa ora de sfarsit a unui spectacol def cmp_spectacole(sp): return sp[2] # functie care determina numarul maxim de spectacole care pot fi programate # folosind metoda Greedy def numarMaximSpectacole(lsp): lsp.sort(key=cmp_spectacole) # ora de sfarsit a ultimului spectacol programat ult = "00:00" cnt = 0 for sp in lsp: if sp[1] >= ult: cnt += 1 ult = sp[2] return cnt # generarea tuturor programarilor cu numar maxim de spectacole # folosind metoda backtracking def bkt(k): global sol, nms, fout, lsp for v in range(len(lsp)): sol[k] = v if (v not in sol[:k]) and (k == 0 or lsp[sol[k]][1] >= lsp[sol[k-1]][2]): if k == nms-1: for p in sol: fout.write(lsp[p][1] + "-" + lsp[p][2] + " " + lsp[p][0] + "\n") fout.write("\n") else: bkt(k+1) fin = open("spectacole.txt") # lsp = lista spectacolelor lsp = [] for linie in fin: aux = linie.split() # ora de inceput si ora de sfarsit pentru spectacolul curent tsp = aux[0].split("-") lsp.append((" ".join(aux[1:]), tsp[0], tsp[1])) print(lsp) fin.close() fout = open("programari.txt", "w") # nms = numarul maxim de spectacole = lungimea solutiilor care vor fi generate cu backtracking nms = numarMaximSpectacole(lsp) sol = [0] * nms bkt(0) fout.close()
def cmp_spectacole(sp): return sp[2] def numar_maxim_spectacole(lsp): lsp.sort(key=cmp_spectacole) ult = '00:00' cnt = 0 for sp in lsp: if sp[1] >= ult: cnt += 1 ult = sp[2] return cnt def bkt(k): global sol, nms, fout, lsp for v in range(len(lsp)): sol[k] = v if v not in sol[:k] and (k == 0 or lsp[sol[k]][1] >= lsp[sol[k - 1]][2]): if k == nms - 1: for p in sol: fout.write(lsp[p][1] + '-' + lsp[p][2] + ' ' + lsp[p][0] + '\n') fout.write('\n') else: bkt(k + 1) fin = open('spectacole.txt') lsp = [] for linie in fin: aux = linie.split() tsp = aux[0].split('-') lsp.append((' '.join(aux[1:]), tsp[0], tsp[1])) print(lsp) fin.close() fout = open('programari.txt', 'w') nms = numar_maxim_spectacole(lsp) sol = [0] * nms bkt(0) fout.close()
"""Map file definitions for postfix.""" class RelayDomainsMap(object): """Map file to list all relay domains.""" filename = "sql-relaydomains.cf" mysql = ( "SELECT name FROM admin_domain " "WHERE name='%s' AND type='relaydomain' AND enabled=1" ) postgres = ( "SELECT name FROM admin_domain " "WHERE name='%s' AND type='relaydomain' AND enabled" ) sqlite = ( "SELECT name FROM admin_domain " "WHERE name='%s' AND type='relaydomain' AND enabled=1" ) class SplitedDomainsTransportMap(object): """A transport map for splited domains. (ie. ones with both local and remote mailboxes) """ filename = "sql-spliteddomains-transport.cf" mysql = ( "SELECT 'lmtp:unix:private/dovecot-lmtp' " "FROM admin_domain AS dom " "INNER JOIN admin_mailbox AS mbox ON dom.id=mbox.domain_id " "INNER JOIN core_user AS u ON mbox.user_id=u.id " "WHERE dom.type='relaydomain' AND dom.enabled=1 " "AND dom.name='%d' AND u.is_active=1 " "AND mbox.address='%u'" ) postgres = ( "SELECT 'lmtp:unix:private/dovecot-lmtp' " "FROM admin_domain AS dom " "INNER JOIN admin_mailbox AS mbox ON dom.id=mbox.domain_id " "INNER JOIN core_user AS u ON mbox.user_id=u.id " "WHERE dom.type='relaydomain' AND dom.enabled " "AND dom.name='%d' AND u.is_active " "AND mbox.address='%u'" ) sqlite = ( "SELECT 'lmtp:unix:private/dovecot-lmtp' " "FROM admin_domain AS dom " "INNER JOIN admin_mailbox AS mbox ON dom.id=mbox.domain_id " "INNER JOIN core_user AS u ON mbox.user_id=u.id " "WHERE dom.type='relaydomain' AND dom.enabled=1 " "AND dom.name='%d' AND u.is_active=1 " "AND mbox.address='%u'" ) class RelayRecipientVerification(object): """A map file to enable recipient verification.""" filename = "sql-relay-recipient-verification.cf" mysql = ( "SELECT action FROM relaydomains_recipientaccess WHERE pattern='%d'" ) postgres = ( "SELECT action FROM relaydomains_recipientaccess WHERE pattern='%d'" ) sqlite = ( "SELECT action FROM relaydomains_recipientaccess WHERE pattern='%d'" )
"""Map file definitions for postfix.""" class Relaydomainsmap(object): """Map file to list all relay domains.""" filename = 'sql-relaydomains.cf' mysql = "SELECT name FROM admin_domain WHERE name='%s' AND type='relaydomain' AND enabled=1" postgres = "SELECT name FROM admin_domain WHERE name='%s' AND type='relaydomain' AND enabled" sqlite = "SELECT name FROM admin_domain WHERE name='%s' AND type='relaydomain' AND enabled=1" class Spliteddomainstransportmap(object): """A transport map for splited domains. (ie. ones with both local and remote mailboxes) """ filename = 'sql-spliteddomains-transport.cf' mysql = "SELECT 'lmtp:unix:private/dovecot-lmtp' FROM admin_domain AS dom INNER JOIN admin_mailbox AS mbox ON dom.id=mbox.domain_id INNER JOIN core_user AS u ON mbox.user_id=u.id WHERE dom.type='relaydomain' AND dom.enabled=1 AND dom.name='%d' AND u.is_active=1 AND mbox.address='%u'" postgres = "SELECT 'lmtp:unix:private/dovecot-lmtp' FROM admin_domain AS dom INNER JOIN admin_mailbox AS mbox ON dom.id=mbox.domain_id INNER JOIN core_user AS u ON mbox.user_id=u.id WHERE dom.type='relaydomain' AND dom.enabled AND dom.name='%d' AND u.is_active AND mbox.address='%u'" sqlite = "SELECT 'lmtp:unix:private/dovecot-lmtp' FROM admin_domain AS dom INNER JOIN admin_mailbox AS mbox ON dom.id=mbox.domain_id INNER JOIN core_user AS u ON mbox.user_id=u.id WHERE dom.type='relaydomain' AND dom.enabled=1 AND dom.name='%d' AND u.is_active=1 AND mbox.address='%u'" class Relayrecipientverification(object): """A map file to enable recipient verification.""" filename = 'sql-relay-recipient-verification.cf' mysql = "SELECT action FROM relaydomains_recipientaccess WHERE pattern='%d'" postgres = "SELECT action FROM relaydomains_recipientaccess WHERE pattern='%d'" sqlite = "SELECT action FROM relaydomains_recipientaccess WHERE pattern='%d'"
#!/usr/bin/env python3 # Copyright 2009-2017 BHG http://bw.org/ # Key-word args are list args that are dictionaries instead of tuples # Allows your function to have a variable number of named arguments def main(): kitten(Buffy = 'meow', Zilla = 'grr', Angel = 'rawr') def kitten(**kwargs): # Note two asterisks. kwargs is conventional name if len(kwargs): for k in kwargs: print('Kitten {} says {}'.format(k, kwargs[k])) else: print('Meow.') if __name__ == '__main__': main() # Another example of how to pass in kwargs x = dict(Todd = 'Bingo', Mike = 'Pizza Boy', Jerry = 'racecar') kitten(**kwargs)
def main(): kitten(Buffy='meow', Zilla='grr', Angel='rawr') def kitten(**kwargs): if len(kwargs): for k in kwargs: print('Kitten {} says {}'.format(k, kwargs[k])) else: print('Meow.') if __name__ == '__main__': main() x = dict(Todd='Bingo', Mike='Pizza Boy', Jerry='racecar') kitten(**kwargs)
f = open("rec_parse.ipynb.txt", mode='r') all = f.readlines() f.close() raw = open("ipynb_raw.txt", mode='w') saveNext = False for line in all: if saveNext: if " ]" in line: saveNext = False else: strippedLine = line[4:].strip('\",') raw.write(strippedLine) else: if "\"source\": [" in line: saveNext = True raw.close()
f = open('rec_parse.ipynb.txt', mode='r') all = f.readlines() f.close() raw = open('ipynb_raw.txt', mode='w') save_next = False for line in all: if saveNext: if ' ]' in line: save_next = False else: stripped_line = line[4:].strip('",') raw.write(strippedLine) elif '"source": [' in line: save_next = True raw.close()
n,k = list(map(int,input().split())) tree_adj_list = {} for i in range(n-1): u,v = list(map(int,input().split())) try: tree_adj_list[u].append(v) except: tree_adj_list[u] = [v] try: tree_adj_list[v].append(u) except: tree_adj_list[v] = [u] ltk = [] for i in tree_adj_list.keys(): if i<k: ltk.append(i) else: tp = [] for j in range(len(tree_adj_list[i])): if tree_adj_list[i][j]>=k: tp.append(tree_adj_list[i][j]) tree_adj_list[i] = tp for i in ltk: del tree_adj_list[i] dfsstack = [] not_yet_visited = set(tree_adj_list.keys()) final_answer = [] while len(not_yet_visited)!=0: start = list(not_yet_visited)[0] dfsstack.append(start) tp_set = set() while dfsstack!=[]: curr = dfsstack.pop() if curr in not_yet_visited: dfsstack.extend(tree_adj_list[curr]) tp_set.add(curr) not_yet_visited.remove(curr) final_answer.append(tp_set) ans = 0 for i in range(len(final_answer)): n = len(final_answer[i]) ans += n*(n-1) / 2 print(int(ans))
(n, k) = list(map(int, input().split())) tree_adj_list = {} for i in range(n - 1): (u, v) = list(map(int, input().split())) try: tree_adj_list[u].append(v) except: tree_adj_list[u] = [v] try: tree_adj_list[v].append(u) except: tree_adj_list[v] = [u] ltk = [] for i in tree_adj_list.keys(): if i < k: ltk.append(i) else: tp = [] for j in range(len(tree_adj_list[i])): if tree_adj_list[i][j] >= k: tp.append(tree_adj_list[i][j]) tree_adj_list[i] = tp for i in ltk: del tree_adj_list[i] dfsstack = [] not_yet_visited = set(tree_adj_list.keys()) final_answer = [] while len(not_yet_visited) != 0: start = list(not_yet_visited)[0] dfsstack.append(start) tp_set = set() while dfsstack != []: curr = dfsstack.pop() if curr in not_yet_visited: dfsstack.extend(tree_adj_list[curr]) tp_set.add(curr) not_yet_visited.remove(curr) final_answer.append(tp_set) ans = 0 for i in range(len(final_answer)): n = len(final_answer[i]) ans += n * (n - 1) / 2 print(int(ans))
# add to the dictionary a name with its phone number # result should be phone_book = {'Python': 1} phone_book = {} phone_book['Python'] = 1 print(phone_book)
phone_book = {} phone_book['Python'] = 1 print(phone_book)
'''input 5 10 3 0 ''' inp = -1 while True: inp = int(input()) if inp == 0: exit() out = [] for i in range(1, inp+1): out.append(str(i)) print("{}".format(" ".join(out)))
"""input 5 10 3 0 """ inp = -1 while True: inp = int(input()) if inp == 0: exit() out = [] for i in range(1, inp + 1): out.append(str(i)) print('{}'.format(' '.join(out)))
''' A noob programmer was given two simple tasks: sum and sort the elements of the given array a = [a1, a2, ..., an]. He started with summing and did it easily, but decided to store the sum he found in some random position of the original array which was a bad idea. Now he needs to cope with the second task, sorting the original array a, and it's giving him trouble since he modified it. Given the array shuffled, consisting of elements a1, a2, ..., an, a1 + a2 + ... + an in random order, return the sorted array of original elements a1, a2, ..., an. Example For shuffled = [1, 12, 3, 6, 2], the output should be shuffledArray(shuffled) = [1, 2, 3, 6]. 1 + 3 + 6 + 2 = 12, which means that 1, 3, 6 and 2 are original elements of the array. For shuffled = [1, -3, -5, 7, 2], the output should be shuffledArray(shuffled) = [-5, -3, 2, 7]. ''' def shuffledArray(shuffled): s = sum(shuffled) for i in range(len(shuffled)): if s - shuffled[i] == shuffled[i]: print("Found sum in", i, "value", shuffled[i]) return sorted(shuffled[:i] + shuffled[i+1:])
""" A noob programmer was given two simple tasks: sum and sort the elements of the given array a = [a1, a2, ..., an]. He started with summing and did it easily, but decided to store the sum he found in some random position of the original array which was a bad idea. Now he needs to cope with the second task, sorting the original array a, and it's giving him trouble since he modified it. Given the array shuffled, consisting of elements a1, a2, ..., an, a1 + a2 + ... + an in random order, return the sorted array of original elements a1, a2, ..., an. Example For shuffled = [1, 12, 3, 6, 2], the output should be shuffledArray(shuffled) = [1, 2, 3, 6]. 1 + 3 + 6 + 2 = 12, which means that 1, 3, 6 and 2 are original elements of the array. For shuffled = [1, -3, -5, 7, 2], the output should be shuffledArray(shuffled) = [-5, -3, 2, 7]. """ def shuffled_array(shuffled): s = sum(shuffled) for i in range(len(shuffled)): if s - shuffled[i] == shuffled[i]: print('Found sum in', i, 'value', shuffled[i]) return sorted(shuffled[:i] + shuffled[i + 1:])
"""Generates and compiles C++ grpc stubs from proto_library rules.""" load("//:bazel/generate_cc.bzl", "generate_cc") def cc_grpc_library(name, srcs, deps, proto_only, well_known_protos, use_external = False, **kwargs): """Generates C++ grpc classes from a .proto file. Assumes the generated classes will be used in cc_api_version = 2. Arguments: name: name of rule. srcs: a single proto_library, which wraps the .proto files with services. deps: a list of C++ proto_library (or cc_proto_library) which provides the compiled code of any message that the services depend on. well_known_protos: The target from protobuf library that exports well known protos. Currently it will only work if the value is "@submodule_protobuf//:well_known_protos" use_external: When True the grpc deps are prefixed with //external. This allows grpc to be used as a dependency in other bazel projects. **kwargs: rest of arguments, e.g., compatible_with and visibility. """ if len(srcs) > 1: fail("Only one srcs value supported", "srcs") proto_target = "_" + name + "_only" codegen_target = "_" + name + "_codegen" codegen_grpc_target = "_" + name + "_grpc_codegen" proto_deps = ["_" + dep + "_only" for dep in deps if dep.find(':') == -1] proto_deps += [dep.split(':')[0] + ':' + "_" + dep.split(':')[1] + "_only" for dep in deps if dep.find(':') != -1] native.proto_library( name = proto_target, srcs = srcs, deps = proto_deps, **kwargs ) generate_cc( name = codegen_target, srcs = [proto_target], well_known_protos = well_known_protos, **kwargs ) if not proto_only: if use_external: # when this file is used by non-grpc projects plugin = "//external:grpc_cpp_plugin" else: plugin = "//:grpc_cpp_plugin" generate_cc( name = codegen_grpc_target, srcs = [proto_target], plugin = plugin, well_known_protos = well_known_protos, **kwargs ) if use_external: # when this file is used by non-grpc projects grpc_deps = ["//external:grpc++", "//external:grpc++_codegen_proto", "//external:protobuf"] else: grpc_deps = ["//:grpc++", "//:grpc++_codegen_proto", "//external:protobuf"] native.cc_library( name = name, srcs = [":" + codegen_grpc_target, ":" + codegen_target], hdrs = [":" + codegen_grpc_target, ":" + codegen_target], deps = deps + grpc_deps, **kwargs ) else: native.cc_library( name = name, srcs = [":" + codegen_target], hdrs = [":" + codegen_target], deps = deps + ["//external:protobuf"], **kwargs )
"""Generates and compiles C++ grpc stubs from proto_library rules.""" load('//:bazel/generate_cc.bzl', 'generate_cc') def cc_grpc_library(name, srcs, deps, proto_only, well_known_protos, use_external=False, **kwargs): """Generates C++ grpc classes from a .proto file. Assumes the generated classes will be used in cc_api_version = 2. Arguments: name: name of rule. srcs: a single proto_library, which wraps the .proto files with services. deps: a list of C++ proto_library (or cc_proto_library) which provides the compiled code of any message that the services depend on. well_known_protos: The target from protobuf library that exports well known protos. Currently it will only work if the value is "@submodule_protobuf//:well_known_protos" use_external: When True the grpc deps are prefixed with //external. This allows grpc to be used as a dependency in other bazel projects. **kwargs: rest of arguments, e.g., compatible_with and visibility. """ if len(srcs) > 1: fail('Only one srcs value supported', 'srcs') proto_target = '_' + name + '_only' codegen_target = '_' + name + '_codegen' codegen_grpc_target = '_' + name + '_grpc_codegen' proto_deps = ['_' + dep + '_only' for dep in deps if dep.find(':') == -1] proto_deps += [dep.split(':')[0] + ':' + '_' + dep.split(':')[1] + '_only' for dep in deps if dep.find(':') != -1] native.proto_library(name=proto_target, srcs=srcs, deps=proto_deps, **kwargs) generate_cc(name=codegen_target, srcs=[proto_target], well_known_protos=well_known_protos, **kwargs) if not proto_only: if use_external: plugin = '//external:grpc_cpp_plugin' else: plugin = '//:grpc_cpp_plugin' generate_cc(name=codegen_grpc_target, srcs=[proto_target], plugin=plugin, well_known_protos=well_known_protos, **kwargs) if use_external: grpc_deps = ['//external:grpc++', '//external:grpc++_codegen_proto', '//external:protobuf'] else: grpc_deps = ['//:grpc++', '//:grpc++_codegen_proto', '//external:protobuf'] native.cc_library(name=name, srcs=[':' + codegen_grpc_target, ':' + codegen_target], hdrs=[':' + codegen_grpc_target, ':' + codegen_target], deps=deps + grpc_deps, **kwargs) else: native.cc_library(name=name, srcs=[':' + codegen_target], hdrs=[':' + codegen_target], deps=deps + ['//external:protobuf'], **kwargs)
def depth(obj): """ """ if obj == []: return 1 elif isinstance(obj, list): return 1 + max([depth(x) for x in obj]) else: return 0 def nested_contains(L, value): """ """ return True in [nested_contains(x, value) if isinstance(x, list) else x == value for x in L] #any([nested_contains(x, value) if isinstance(x, list) else x == value for x in L]) if __name__ == '__main__': L = ['how', ['now', 'low'],1] print(nested_contains(L, 'low'))
def depth(obj): """ """ if obj == []: return 1 elif isinstance(obj, list): return 1 + max([depth(x) for x in obj]) else: return 0 def nested_contains(L, value): """ """ return True in [nested_contains(x, value) if isinstance(x, list) else x == value for x in L] if __name__ == '__main__': l = ['how', ['now', 'low'], 1] print(nested_contains(L, 'low'))
class RequestAdapter(object): """ RequestAdapters bridge transmute's representation of a request, with the framework's implementation. implement the unimplemented methods. """ @property def body(self): """ return the request body. """ raise NotImplementedError() def _get_framework_args(self): """ often, a framework provides specific variables that are passed into the handler function (e.g. the request object in aiohttp). return a dictionary of these arguments, which will be added to the function arguments if they appear. """ raise NotImplementedError() def _query_argument(self, key, is_list): raise NotImplementedError() def _header_argument(self, key): raise NotImplementedError() def _path_argument(self, key): raise NotImplementedError()
class Requestadapter(object): """ RequestAdapters bridge transmute's representation of a request, with the framework's implementation. implement the unimplemented methods. """ @property def body(self): """ return the request body. """ raise not_implemented_error() def _get_framework_args(self): """ often, a framework provides specific variables that are passed into the handler function (e.g. the request object in aiohttp). return a dictionary of these arguments, which will be added to the function arguments if they appear. """ raise not_implemented_error() def _query_argument(self, key, is_list): raise not_implemented_error() def _header_argument(self, key): raise not_implemented_error() def _path_argument(self, key): raise not_implemented_error()
class Context: def __init__(self): self.data = {} def __getitem__(self, key): return self.data.get(self.convert_key(key), None) def __setitem__(self, key, value): self.data[self.convert_key(key)] = value def get(self, key, default): return self.data.get(self.convert_key(key), default) def convert_key(self, key): return key.lower()
class Context: def __init__(self): self.data = {} def __getitem__(self, key): return self.data.get(self.convert_key(key), None) def __setitem__(self, key, value): self.data[self.convert_key(key)] = value def get(self, key, default): return self.data.get(self.convert_key(key), default) def convert_key(self, key): return key.lower()
# # PySNMP MIB module S5-ETH-REDUNDANT-LINKS-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/S5-ETH-REDUNDANT-LINKS-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:59:32 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") ConstraintsIntersection, ValueSizeConstraint, ConstraintsUnion, SingleValueConstraint, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueSizeConstraint", "ConstraintsUnion", "SingleValueConstraint", "ValueRangeConstraint") s5EnCfg, = mibBuilder.importSymbols("S5-ETHERNET-MIB", "s5EnCfg") TimeIntervalSec, = mibBuilder.importSymbols("S5-TCS-MIB", "TimeIntervalSec") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Integer32, IpAddress, ObjectIdentity, MibIdentifier, Bits, Gauge32, NotificationType, Unsigned32, iso, TimeTicks, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32, Counter64, ModuleIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "IpAddress", "ObjectIdentity", "MibIdentifier", "Bits", "Gauge32", "NotificationType", "Unsigned32", "iso", "TimeTicks", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32", "Counter64", "ModuleIdentity") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") s5EthRedundantLinksMib2 = ModuleIdentity((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 99)) s5EthRedundantLinksMib2.setRevisions(('2004-11-03 00:00', '2004-07-20 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: s5EthRedundantLinksMib2.setRevisionsDescriptions(('Version 104: Use sane OID for s5EthRedundantLinksMib', 'Version 103: Conversion to SMIv2',)) if mibBuilder.loadTexts: s5EthRedundantLinksMib2.setLastUpdated('200411030000Z') if mibBuilder.loadTexts: s5EthRedundantLinksMib2.setOrganization('Nortel Networks') if mibBuilder.loadTexts: s5EthRedundantLinksMib2.setContactInfo('Nortel Networks') if mibBuilder.loadTexts: s5EthRedundantLinksMib2.setDescription("5000 Ethernet Redundant Links MIB Copyright 1993-2004 Nortel Networks, Inc. All rights reserved. This Nortel Networks SNMP Management Information Base Specification (Specification) embodies Nortel Networks' confidential and proprietary intellectual property. Nortel Networks retains all title and ownership in the Specification, including any revisions. This Specification is supplied 'AS IS,' and Nortel Networks makes no warranty, either express or implied, as to the use, operation, condition, or performance of the Specification.") s5EnRedun = MibIdentifier((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2)) s5EnRedPortTable = MibTable((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1), ) if mibBuilder.loadTexts: s5EnRedPortTable.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortTable.setDescription('A table with redundancy status and control for each redundancy-capable port in the chassis. The number of entries is determined by the number of redundancy-capable ports in the chassis. The ports appearing in this table can be divided into two categories: Those with remote fault signaling capability and those without. The latter kind depends on the port link status to provide the required redundancy. Ports that are not capable of supporting redundancy do not have an entry in this table.') s5EnRedPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1), ).setIndexNames((0, "S5-ETH-REDUNDANT-LINKS-MIB", "s5EnRedPortBrdIndx"), (0, "S5-ETH-REDUNDANT-LINKS-MIB", "s5EnRedPortPortIndx")) if mibBuilder.loadTexts: s5EnRedPortEntry.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortEntry.setDescription('A row in the table of redundancy status and control for each redundancy-capable port in the chassis. Entries in the table cannot be created or deleted via SNMP.') s5EnRedPortBrdIndx = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: s5EnRedPortBrdIndx.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortBrdIndx.setDescription('The index of the slot containing the board on which the port is located.') s5EnRedPortPortIndx = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: s5EnRedPortPortIndx.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortPortIndx.setDescription('The index of the port on the board.') s5EnRedPortCapability = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hwRedOnly", 1), ("swRedOnly", 2), ("hwAndSwRed", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: s5EnRedPortCapability.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortCapability.setDescription('The redundancy capability of the port: hwRedOnly(1).....hardware redundancy only. swRedOnly(2).....software redundacy only. hwAndSwRed(3)....both hardware and software redundancy. A value of hwRedOnly(1) or hwAndSwRed(3) means that the port is capable of being configured into a hardware-redundant pair. In this case, the identity of the potential redundant companion is given by the objects s5EnRedPortCompanionBrdNum and s5EnRedPortCompanionPortNum. A value of swRedOnly(2) or hwAndSwRed(3) means that the port is capable of being configured into a software-redundant pair.') s5EnRedPortRedundMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("standAlone", 1), ("hwActive", 2), ("hwStandby", 3), ("swActive", 4), ("swStandby", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: s5EnRedPortRedundMode.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortRedundMode.setDescription('The redundancy mode of the port. The values when written change the redundancy mode, and when read report the redundancy mode: standalone(1)..the port is not in any redundant pair. hwActive(2)....the port is the active companion in a hardware-redundant pair. hwStandby(3)...the port is the standby companion in a hardware-redundant pair. swActive(4)....the port is the active companion in a software-redundant pair. swStandby(5)...the port is the standby companion in a software-redundant pair. The values that can be written, which change the redundancy mode, are: standalone(1)...causes the redundant pair to be broken up. hwActive(2).....if the previous value was hwStandby(3), this value will cause the port to become the active port in the hardware-redundant pair, resulting in a switchover. hwStandby(3)....if the previous value was hwActive(2), this value will cause the port to become the standby port in the hardware-redundant pair, resulting in a switchover. swActive(4).....if the previous value was swStandby(5), this value will cause the port to become the active port in the software-redundant pair, resulting in a switchover. swStandby(5)....if the previous value was swActive(4), this value will cause the port to become the standby port in the software-redundant pair, resulting in a switchover. To create a hardware-redundant pair, change this object to hwActive(2) or hwStandby(3). To create a software-redundant pair, change this object to swActive(4) or swStandby(5). The same SNMP SET PDU must also write to objects s5EnRedPortCompanionBrdNum and s5EnRedPortCompanionPortNum.') s5EnRedPortOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("ok", 2), ("localFault", 3), ("remoteFault", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: s5EnRedPortOperStatus.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortOperStatus.setDescription('The redundancy status of the port. The values are: other(1).............none of the following. ok(2)...................no fault localFault(3)....the local port has sensed a fault condition. remoteFault(4)...the remote port has sensed a fault condition and has signaled the local port accordingly. Either a localFault(3) or remoteFault(4) condition should cause a healthy redundant port pair to switchover. If the port does not belong to a redundant pair, a value of other(1) is returned. Note: If the redundant link consists of ports without remote fault capability, the value remoteFault(4) will not be reported and the value localFault(3) implies that link is off.') s5EnRedPortRemoteOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("snpxFLRemFltCpblPortUp", 1), ("snpxFLFBRemFltCpblPortUp", 2), ("tenBaseTFLPortUp", 3), ("tenBaseFBPortUp", 4), ("snpxRemFltCpblPortFault", 5), ("tenBaseFBPortFault", 6), ("unknown", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: s5EnRedPortRemoteOperStatus.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortRemoteOperStatus.setDescription('This object reflects the real time status of the received data from the remote port. The values are: snpxFLRemFltCpblPortUp(1)....10BASE-FL signaling, plus capable of SynOptics proprietary remote fault signaling. A remote fault on such a port is indicated by snpxRemFltCpblPortFault(5). snpxFLFBRemFltCpblPortUp(2)..10BASE-FL signaling, plus capable of SynOptics proprietary remote fault signaling and 10BASE-FB signaling. A remote fault on such a port is indicated by snpxRemFltCpblPortFault(5). tenBaseTFLPortUp(3)...........regular idle 10BASE-T or 10BASE-FL signaling, and is incapable of remote fault signaling. tenBaseFBPortUp(4)...........10BASE-FB synchronous signaling. A remote fault on such a port is indicated by tenBaseFBPortFault(6). snpxRemFltCpblPortFault(5)...SynOptics proprietary remote fault signaling. tenBaseFBPortFault(6)........10BASE-FB remote fault signaling. unknown(7)...................none of the above. A value of snpxFLRemFltCpblPortUp(1) indicates that the remote port is using 10BASE-FL signaling, and is capable of SynOptics proprietary idle and remote fault signaling. A remote fault on such a port is indicated by snpxRemFltCpblPortFault(5). A value of snpxFLFBRemFltCpblPortUp(2) indicates that the remote port is using 10BASE-FL signaling, and is capable of SynOptics proprietary idle and remote fault signaling, and is also capable of synchronous signaling. A remote fault on such a port is indicated by snpxRemFltCpblPortFault(5). A value of tenBaseFLPortUp(3) indicates that the remote port uses regular idle 10BASE-FL signaling, and is incapable of remote fault signaling. A value of tenBaseFBPortUp(4) indicates that the remote port uses 10BASE-FB synchronous signaling. A remote fault on such a port is indicated by tenBaseFBPortFault(6).') s5EnRedPortRemFltSelectMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("synoptics", 1), ("standard", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: s5EnRedPortRemFltSelectMode.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortRemFltSelectMode.setDescription('This mode specifies the set of local fault events which will cause a switchover. The values are: synoptics(1)..The SynOptics Tx Remote Fault events consist of auto-partition and NM (network management) partition events in addition to the standard events. standard(2)...The standard events are link-off for all ports, and low light, jabber, Rx invalid idle, Tx dark, and Tx remote fault (for diagnostics) for ports with transmit remote fault capability.') s5EnRedPortTxMode = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("autoCfg", 1), ("fl", 2), ("fb", 3), ("other", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: s5EnRedPortTxMode.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortTxMode.setDescription('The Transmit Fiber Mode, which determines the port transmit idle. The values are: autoCfg(1)...The port will auto configure based upon the received idle. fl(2)........The port is configured in FL mode. fb(3)........The port is configured in FB mode. other(4).....None of the above. The port is not a fiber port. The value other(4) is read-only.') s5EnRedPortFaults = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: s5EnRedPortFaults.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortFaults.setDescription('A count of local or remote faults on this port. This counter increments on a transition between the fault and no-fault states.') s5EnRedPortModeChanges = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: s5EnRedPortModeChanges.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortModeChanges.setDescription('A count of the number of times this port has transitioned from standby mode to non-standby mode (includes active mode and standalone mode), or vice versa.') s5EnRedPortCompanionBrdNum = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: s5EnRedPortCompanionBrdNum.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortCompanionBrdNum.setDescription('The index of the slot containing the board of the other port in the redundant pair. If the port (whose slot-port identity is given by the instance) is hardware-redundant capable, this object has the value of the slot number of the (potential) redundant companion, even if the port is in standalone mode. This allows the network manager to determine the identity of the potential companion, which is fixed by the hardware of the board. Changing this object is permitted only when creating a software-redundant pair.') s5EnRedPortCompanionPortNum = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: s5EnRedPortCompanionPortNum.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortCompanionPortNum.setDescription('The index of the other port in the redundant pair. If the port (whose slot-port identity is given by the instance) is hardware-redundant capable, this object has the value of the port number of the (potential) redundant companion, even if the port is in standalone mode. This allows the network manager to determine the identity of the potential companion, which is fixed by the hardware of the board. Changing this object is permitted only when creating a software-redundant pair.') s5EnRedPortSwitchoverStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("other", 1), ("timedSwitchover", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: s5EnRedPortSwitchoverStatus.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortSwitchoverStatus.setDescription('The switchover status of the port (and its companion). The following values can be written: timedSwitchover(2)...cause a timed switchover (see value of s5EnRedPortSwitchoverTime) The following values reflect the switchover status of the redundant port pair: other(1)..............not undergoing switchover timedSwitchover(2)....port is undergoing timed switchover (see value of s5EnRedPortSwitchoverTime). On GETs with switchover status of timedSwitchover(2), if the time remaining before the completion of the switchover and reversal is available, it will be reported in object s5EnRedPortSwitchoverTime as a positive value If not available, the value of s5EnRedSwitchoverTime will be zero. When changing a port to timedSwitchover(2), the SET request must also contain the value for object s5EnRedSwitchoverTime.') s5EnRedPortSwitchoverTime = MibTableColumn((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 14), TimeIntervalSec().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: s5EnRedPortSwitchoverTime.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortSwitchoverTime.setDescription('The length of time between switching over a redundant port pair and switching back, when a timed switchover is done to the port. This object can only be written in the same request that sets s5EnRedPortSwitchoverStatus to timedSwitchover(2). Afterwards, it indicates the amount of time left before the timed switchover is completed, at which time another switchover occurs and s5EnRedSwitchoverStatus is changed to other(1). This object has the value of zero if the port is not undergoing a timed switchover, or if the amount of time is not available.') s5EnRedLastChg = MibScalar((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 2), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: s5EnRedLastChg.setStatus('current') if mibBuilder.loadTexts: s5EnRedLastChg.setDescription('The value of sysUpTime when the last change in the redundant ports table was observed by the agent.') mibBuilder.exportSymbols("S5-ETH-REDUNDANT-LINKS-MIB", s5EnRedPortSwitchoverStatus=s5EnRedPortSwitchoverStatus, s5EnRedPortCompanionBrdNum=s5EnRedPortCompanionBrdNum, s5EnRedPortFaults=s5EnRedPortFaults, s5EnRedPortTable=s5EnRedPortTable, s5EnRedun=s5EnRedun, s5EnRedPortTxMode=s5EnRedPortTxMode, s5EnRedPortRemoteOperStatus=s5EnRedPortRemoteOperStatus, s5EnRedPortBrdIndx=s5EnRedPortBrdIndx, s5EnRedPortEntry=s5EnRedPortEntry, s5EnRedPortRemFltSelectMode=s5EnRedPortRemFltSelectMode, s5EnRedPortCompanionPortNum=s5EnRedPortCompanionPortNum, s5EthRedundantLinksMib2=s5EthRedundantLinksMib2, s5EnRedLastChg=s5EnRedLastChg, s5EnRedPortOperStatus=s5EnRedPortOperStatus, s5EnRedPortPortIndx=s5EnRedPortPortIndx, s5EnRedPortSwitchoverTime=s5EnRedPortSwitchoverTime, PYSNMP_MODULE_ID=s5EthRedundantLinksMib2, s5EnRedPortModeChanges=s5EnRedPortModeChanges, s5EnRedPortCapability=s5EnRedPortCapability, s5EnRedPortRedundMode=s5EnRedPortRedundMode)
(integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, value_size_constraint, constraints_union, single_value_constraint, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ConstraintsUnion', 'SingleValueConstraint', 'ValueRangeConstraint') (s5_en_cfg,) = mibBuilder.importSymbols('S5-ETHERNET-MIB', 's5EnCfg') (time_interval_sec,) = mibBuilder.importSymbols('S5-TCS-MIB', 'TimeIntervalSec') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (integer32, ip_address, object_identity, mib_identifier, bits, gauge32, notification_type, unsigned32, iso, time_ticks, mib_scalar, mib_table, mib_table_row, mib_table_column, counter32, counter64, module_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'IpAddress', 'ObjectIdentity', 'MibIdentifier', 'Bits', 'Gauge32', 'NotificationType', 'Unsigned32', 'iso', 'TimeTicks', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter32', 'Counter64', 'ModuleIdentity') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') s5_eth_redundant_links_mib2 = module_identity((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 99)) s5EthRedundantLinksMib2.setRevisions(('2004-11-03 00:00', '2004-07-20 00:00')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: s5EthRedundantLinksMib2.setRevisionsDescriptions(('Version 104: Use sane OID for s5EthRedundantLinksMib', 'Version 103: Conversion to SMIv2')) if mibBuilder.loadTexts: s5EthRedundantLinksMib2.setLastUpdated('200411030000Z') if mibBuilder.loadTexts: s5EthRedundantLinksMib2.setOrganization('Nortel Networks') if mibBuilder.loadTexts: s5EthRedundantLinksMib2.setContactInfo('Nortel Networks') if mibBuilder.loadTexts: s5EthRedundantLinksMib2.setDescription("5000 Ethernet Redundant Links MIB Copyright 1993-2004 Nortel Networks, Inc. All rights reserved. This Nortel Networks SNMP Management Information Base Specification (Specification) embodies Nortel Networks' confidential and proprietary intellectual property. Nortel Networks retains all title and ownership in the Specification, including any revisions. This Specification is supplied 'AS IS,' and Nortel Networks makes no warranty, either express or implied, as to the use, operation, condition, or performance of the Specification.") s5_en_redun = mib_identifier((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2)) s5_en_red_port_table = mib_table((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1)) if mibBuilder.loadTexts: s5EnRedPortTable.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortTable.setDescription('A table with redundancy status and control for each redundancy-capable port in the chassis. The number of entries is determined by the number of redundancy-capable ports in the chassis. The ports appearing in this table can be divided into two categories: Those with remote fault signaling capability and those without. The latter kind depends on the port link status to provide the required redundancy. Ports that are not capable of supporting redundancy do not have an entry in this table.') s5_en_red_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1)).setIndexNames((0, 'S5-ETH-REDUNDANT-LINKS-MIB', 's5EnRedPortBrdIndx'), (0, 'S5-ETH-REDUNDANT-LINKS-MIB', 's5EnRedPortPortIndx')) if mibBuilder.loadTexts: s5EnRedPortEntry.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortEntry.setDescription('A row in the table of redundancy status and control for each redundancy-capable port in the chassis. Entries in the table cannot be created or deleted via SNMP.') s5_en_red_port_brd_indx = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: s5EnRedPortBrdIndx.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortBrdIndx.setDescription('The index of the slot containing the board on which the port is located.') s5_en_red_port_port_indx = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: s5EnRedPortPortIndx.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortPortIndx.setDescription('The index of the port on the board.') s5_en_red_port_capability = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hwRedOnly', 1), ('swRedOnly', 2), ('hwAndSwRed', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: s5EnRedPortCapability.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortCapability.setDescription('The redundancy capability of the port: hwRedOnly(1).....hardware redundancy only. swRedOnly(2).....software redundacy only. hwAndSwRed(3)....both hardware and software redundancy. A value of hwRedOnly(1) or hwAndSwRed(3) means that the port is capable of being configured into a hardware-redundant pair. In this case, the identity of the potential redundant companion is given by the objects s5EnRedPortCompanionBrdNum and s5EnRedPortCompanionPortNum. A value of swRedOnly(2) or hwAndSwRed(3) means that the port is capable of being configured into a software-redundant pair.') s5_en_red_port_redund_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('standAlone', 1), ('hwActive', 2), ('hwStandby', 3), ('swActive', 4), ('swStandby', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: s5EnRedPortRedundMode.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortRedundMode.setDescription('The redundancy mode of the port. The values when written change the redundancy mode, and when read report the redundancy mode: standalone(1)..the port is not in any redundant pair. hwActive(2)....the port is the active companion in a hardware-redundant pair. hwStandby(3)...the port is the standby companion in a hardware-redundant pair. swActive(4)....the port is the active companion in a software-redundant pair. swStandby(5)...the port is the standby companion in a software-redundant pair. The values that can be written, which change the redundancy mode, are: standalone(1)...causes the redundant pair to be broken up. hwActive(2).....if the previous value was hwStandby(3), this value will cause the port to become the active port in the hardware-redundant pair, resulting in a switchover. hwStandby(3)....if the previous value was hwActive(2), this value will cause the port to become the standby port in the hardware-redundant pair, resulting in a switchover. swActive(4).....if the previous value was swStandby(5), this value will cause the port to become the active port in the software-redundant pair, resulting in a switchover. swStandby(5)....if the previous value was swActive(4), this value will cause the port to become the standby port in the software-redundant pair, resulting in a switchover. To create a hardware-redundant pair, change this object to hwActive(2) or hwStandby(3). To create a software-redundant pair, change this object to swActive(4) or swStandby(5). The same SNMP SET PDU must also write to objects s5EnRedPortCompanionBrdNum and s5EnRedPortCompanionPortNum.') s5_en_red_port_oper_status = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('ok', 2), ('localFault', 3), ('remoteFault', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: s5EnRedPortOperStatus.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortOperStatus.setDescription('The redundancy status of the port. The values are: other(1).............none of the following. ok(2)...................no fault localFault(3)....the local port has sensed a fault condition. remoteFault(4)...the remote port has sensed a fault condition and has signaled the local port accordingly. Either a localFault(3) or remoteFault(4) condition should cause a healthy redundant port pair to switchover. If the port does not belong to a redundant pair, a value of other(1) is returned. Note: If the redundant link consists of ports without remote fault capability, the value remoteFault(4) will not be reported and the value localFault(3) implies that link is off.') s5_en_red_port_remote_oper_status = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('snpxFLRemFltCpblPortUp', 1), ('snpxFLFBRemFltCpblPortUp', 2), ('tenBaseTFLPortUp', 3), ('tenBaseFBPortUp', 4), ('snpxRemFltCpblPortFault', 5), ('tenBaseFBPortFault', 6), ('unknown', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: s5EnRedPortRemoteOperStatus.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortRemoteOperStatus.setDescription('This object reflects the real time status of the received data from the remote port. The values are: snpxFLRemFltCpblPortUp(1)....10BASE-FL signaling, plus capable of SynOptics proprietary remote fault signaling. A remote fault on such a port is indicated by snpxRemFltCpblPortFault(5). snpxFLFBRemFltCpblPortUp(2)..10BASE-FL signaling, plus capable of SynOptics proprietary remote fault signaling and 10BASE-FB signaling. A remote fault on such a port is indicated by snpxRemFltCpblPortFault(5). tenBaseTFLPortUp(3)...........regular idle 10BASE-T or 10BASE-FL signaling, and is incapable of remote fault signaling. tenBaseFBPortUp(4)...........10BASE-FB synchronous signaling. A remote fault on such a port is indicated by tenBaseFBPortFault(6). snpxRemFltCpblPortFault(5)...SynOptics proprietary remote fault signaling. tenBaseFBPortFault(6)........10BASE-FB remote fault signaling. unknown(7)...................none of the above. A value of snpxFLRemFltCpblPortUp(1) indicates that the remote port is using 10BASE-FL signaling, and is capable of SynOptics proprietary idle and remote fault signaling. A remote fault on such a port is indicated by snpxRemFltCpblPortFault(5). A value of snpxFLFBRemFltCpblPortUp(2) indicates that the remote port is using 10BASE-FL signaling, and is capable of SynOptics proprietary idle and remote fault signaling, and is also capable of synchronous signaling. A remote fault on such a port is indicated by snpxRemFltCpblPortFault(5). A value of tenBaseFLPortUp(3) indicates that the remote port uses regular idle 10BASE-FL signaling, and is incapable of remote fault signaling. A value of tenBaseFBPortUp(4) indicates that the remote port uses 10BASE-FB synchronous signaling. A remote fault on such a port is indicated by tenBaseFBPortFault(6).') s5_en_red_port_rem_flt_select_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('synoptics', 1), ('standard', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: s5EnRedPortRemFltSelectMode.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortRemFltSelectMode.setDescription('This mode specifies the set of local fault events which will cause a switchover. The values are: synoptics(1)..The SynOptics Tx Remote Fault events consist of auto-partition and NM (network management) partition events in addition to the standard events. standard(2)...The standard events are link-off for all ports, and low light, jabber, Rx invalid idle, Tx dark, and Tx remote fault (for diagnostics) for ports with transmit remote fault capability.') s5_en_red_port_tx_mode = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('autoCfg', 1), ('fl', 2), ('fb', 3), ('other', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: s5EnRedPortTxMode.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortTxMode.setDescription('The Transmit Fiber Mode, which determines the port transmit idle. The values are: autoCfg(1)...The port will auto configure based upon the received idle. fl(2)........The port is configured in FL mode. fb(3)........The port is configured in FB mode. other(4).....None of the above. The port is not a fiber port. The value other(4) is read-only.') s5_en_red_port_faults = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: s5EnRedPortFaults.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortFaults.setDescription('A count of local or remote faults on this port. This counter increments on a transition between the fault and no-fault states.') s5_en_red_port_mode_changes = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: s5EnRedPortModeChanges.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortModeChanges.setDescription('A count of the number of times this port has transitioned from standby mode to non-standby mode (includes active mode and standalone mode), or vice versa.') s5_en_red_port_companion_brd_num = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: s5EnRedPortCompanionBrdNum.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortCompanionBrdNum.setDescription('The index of the slot containing the board of the other port in the redundant pair. If the port (whose slot-port identity is given by the instance) is hardware-redundant capable, this object has the value of the slot number of the (potential) redundant companion, even if the port is in standalone mode. This allows the network manager to determine the identity of the potential companion, which is fixed by the hardware of the board. Changing this object is permitted only when creating a software-redundant pair.') s5_en_red_port_companion_port_num = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(1, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: s5EnRedPortCompanionPortNum.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortCompanionPortNum.setDescription('The index of the other port in the redundant pair. If the port (whose slot-port identity is given by the instance) is hardware-redundant capable, this object has the value of the port number of the (potential) redundant companion, even if the port is in standalone mode. This allows the network manager to determine the identity of the potential companion, which is fixed by the hardware of the board. Changing this object is permitted only when creating a software-redundant pair.') s5_en_red_port_switchover_status = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('other', 1), ('timedSwitchover', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: s5EnRedPortSwitchoverStatus.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortSwitchoverStatus.setDescription('The switchover status of the port (and its companion). The following values can be written: timedSwitchover(2)...cause a timed switchover (see value of s5EnRedPortSwitchoverTime) The following values reflect the switchover status of the redundant port pair: other(1)..............not undergoing switchover timedSwitchover(2)....port is undergoing timed switchover (see value of s5EnRedPortSwitchoverTime). On GETs with switchover status of timedSwitchover(2), if the time remaining before the completion of the switchover and reversal is available, it will be reported in object s5EnRedPortSwitchoverTime as a positive value If not available, the value of s5EnRedSwitchoverTime will be zero. When changing a port to timedSwitchover(2), the SET request must also contain the value for object s5EnRedSwitchoverTime.') s5_en_red_port_switchover_time = mib_table_column((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 1, 1, 14), time_interval_sec().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: s5EnRedPortSwitchoverTime.setStatus('current') if mibBuilder.loadTexts: s5EnRedPortSwitchoverTime.setDescription('The length of time between switching over a redundant port pair and switching back, when a timed switchover is done to the port. This object can only be written in the same request that sets s5EnRedPortSwitchoverStatus to timedSwitchover(2). Afterwards, it indicates the amount of time left before the timed switchover is completed, at which time another switchover occurs and s5EnRedSwitchoverStatus is changed to other(1). This object has the value of zero if the port is not undergoing a timed switchover, or if the amount of time is not available.') s5_en_red_last_chg = mib_scalar((1, 3, 6, 1, 4, 1, 45, 1, 6, 6, 1, 2, 2), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: s5EnRedLastChg.setStatus('current') if mibBuilder.loadTexts: s5EnRedLastChg.setDescription('The value of sysUpTime when the last change in the redundant ports table was observed by the agent.') mibBuilder.exportSymbols('S5-ETH-REDUNDANT-LINKS-MIB', s5EnRedPortSwitchoverStatus=s5EnRedPortSwitchoverStatus, s5EnRedPortCompanionBrdNum=s5EnRedPortCompanionBrdNum, s5EnRedPortFaults=s5EnRedPortFaults, s5EnRedPortTable=s5EnRedPortTable, s5EnRedun=s5EnRedun, s5EnRedPortTxMode=s5EnRedPortTxMode, s5EnRedPortRemoteOperStatus=s5EnRedPortRemoteOperStatus, s5EnRedPortBrdIndx=s5EnRedPortBrdIndx, s5EnRedPortEntry=s5EnRedPortEntry, s5EnRedPortRemFltSelectMode=s5EnRedPortRemFltSelectMode, s5EnRedPortCompanionPortNum=s5EnRedPortCompanionPortNum, s5EthRedundantLinksMib2=s5EthRedundantLinksMib2, s5EnRedLastChg=s5EnRedLastChg, s5EnRedPortOperStatus=s5EnRedPortOperStatus, s5EnRedPortPortIndx=s5EnRedPortPortIndx, s5EnRedPortSwitchoverTime=s5EnRedPortSwitchoverTime, PYSNMP_MODULE_ID=s5EthRedundantLinksMib2, s5EnRedPortModeChanges=s5EnRedPortModeChanges, s5EnRedPortCapability=s5EnRedPortCapability, s5EnRedPortRedundMode=s5EnRedPortRedundMode)
# # PySNMP MIB module Wellfleet-DSUCSU-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Wellfleet-DSUCSU-MIB # Produced by pysmi-0.3.4 at Wed May 1 15:40:01 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ValueRangeConstraint, ConstraintsIntersection, SingleValueConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueRangeConstraint", "ConstraintsIntersection", "SingleValueConstraint", "ValueSizeConstraint") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") Integer32, MibIdentifier, ModuleIdentity, Gauge32, TimeTicks, Bits, Unsigned32, MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, Counter32, iso, NotificationType, ObjectIdentity, Counter64, NotificationType = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "MibIdentifier", "ModuleIdentity", "Gauge32", "TimeTicks", "Bits", "Unsigned32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "Counter32", "iso", "NotificationType", "ObjectIdentity", "Counter64", "NotificationType") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") wfDsuCsuGroup, = mibBuilder.importSymbols("Wellfleet-COMMON-MIB", "wfDsuCsuGroup") wfDsuCsuIfTable = MibTable((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1), ) if mibBuilder.loadTexts: wfDsuCsuIfTable.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuIfTable.setDescription('DSU CSU line record.') wfDsuCsuIfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1), ).setIndexNames((0, "Wellfleet-DSUCSU-MIB", "wfDsuCsuIfSlot"), (0, "Wellfleet-DSUCSU-MIB", "wfDsuCsuIfConnector")) if mibBuilder.loadTexts: wfDsuCsuIfEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuIfEntry.setDescription('An entry in the DSU CSU IF table') wfDsuCsuIfDelete = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("created", 1), ("deleted", 2))).clone('created')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfDsuCsuIfDelete.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuIfDelete.setDescription('Create/Delete parameter') wfDsuCsuIfSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfDsuCsuIfSlot.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuIfSlot.setDescription('Instance ID Slot, filled in by driver') wfDsuCsuIfConnector = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfDsuCsuIfConnector.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuIfConnector.setDescription('Instance ID Connector, filled in by the driver.') wfDsuCsuSoftRev = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: wfDsuCsuSoftRev.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuSoftRev.setDescription('Displays the Software Revision of the DSU CSU card.') wfDsuCsuHardRev = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: wfDsuCsuHardRev.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuHardRev.setDescription('Displays the Hardware Revision of the DSU CSU card.') wfDsuCsuOpMode = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("dds156kbps", 1), ("cc64kbps", 2))).clone('dds156kbps')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfDsuCsuOpMode.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuOpMode.setDescription('Identifies the type of telco service that the DSU CSU is connected to. Opmode should be set to dds1-56kbps (1) when connected to a DDS1 56 Kbps line. Opmode should be set to cc-64kbps (2) when connected to a Clear Channel 64Kbps line.') wfDsuCsuTxClkSelect = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("slave", 1), ("master", 2))).clone('slave')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfDsuCsuTxClkSelect.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuTxClkSelect.setDescription('Default timing, or clock, source for transmiting data to the network. There must be only one source on a DDS line. Timing should always be slave (1) when connected to a network. Timing should be set to master (2) on either end of a private-wire configuration, with the other end being set to slave (1).') wfDsuCsuUnitReset = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("resetUnit", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfDsuCsuUnitReset.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuUnitReset.setDescription('Enables the operator to remotely reset the unit. Using this command will cause the unit to terminate all its connections and drop data.') wfDsuCsu64KTxMonitor = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfDsuCsu64KTxMonitor.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsu64KTxMonitor.setDescription('This signal is used in 64K Clear Channel mode to suppress customer data in the event that the data duplicates a network control code. A setting of enabled(1) suppresses customer data. A setting of disabled(2) allows all customer data through, which could potentially put the other end into a loop if the data duplicates a network control code.') wfDsuCsuOpState = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("normal", 1), ("localLpbk", 2), ("digitalLpbk", 3), ("remDigitalLpbk", 4), ("telcoLpbk", 5), ("remDigLpbkWPattern", 6), ("localAnlgLpbkWPattern", 7), ("pattern2047Gen", 8))).clone('normal')).setMaxAccess("readonly") if mibBuilder.loadTexts: wfDsuCsuOpState.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuOpState.setDescription('Indicates the current operating state of the DSU CSU card.') wfDsuCsuServiceStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 5, 6))).clone(namedValues=NamedValues(("inService", 1), ("outOfService", 2), ("frameError", 3), ("lossOfLine", 5), ("telcoLpbk", 6))).clone('inService')).setMaxAccess("readonly") if mibBuilder.loadTexts: wfDsuCsuServiceStatus.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuServiceStatus.setDescription('The Current status of the physical interface. Your network carrier can send Out-of-Service or Maintenance Mode codes.') wfDsuCsuV54Lpbk = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("noLoop", 1), ("localAnlgLpbk", 2), ("localDigLpbk", 3), ("remDigLpbk", 4), ("remDigLpbkWPattern", 5), ("localAnlgLpbkWPattern", 6), ("pattern2047Gen", 7))).clone('noLoop')).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfDsuCsuV54Lpbk.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuV54Lpbk.setDescription('Enables the operator to control, and examine the state of, V.54 loopbacks within the DSU CSU.') wfDsuCsuV54Timer = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfDsuCsuV54Timer.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuV54Timer.setDescription('Duration in seconds that a test specified in wfDsuCsuTestLpbk is to execute.') wfDsuCsuV54Errors = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfDsuCsuV54Errors.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuV54Errors.setDescription('Indicates the number of errors reported during the last loopback test. This count will only be updated for loopbacks with test pattern.') wfDsuCsuCqmsLaWindow = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(15)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfDsuCsuCqmsLaWindow.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuCqmsLaWindow.setDescription('Indicates the number of minutes within the window in which the availability of the line (network) is to be calculated. The availability of the line is an indication of the percentage of time the line has been in service. It is calculated as follows: (((wfDsuCsuCqmsLaWindow*60) - (wfDsuCsuCqmsLaErrCnt*wfDsuCsuCqmsLaPollRate))/ wfDsuCsuCqmsLaWindow*60)') wfDsuCsuCqmsLaErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfDsuCsuCqmsLaErrors.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuCqmsLaErrors.setDescription('Indicates the total number of seconds that the line was not in service in the last window of size wfDsuCsuCqmsLaWindow.') wfDsuCsuCqmsLaPollRate = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 60)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfDsuCsuCqmsLaPollRate.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuCqmsLaPollRate.setDescription('Indicates the number of seconds between polls for line status from the DsuCsu. A value of 1 forces polling every second. A value of 60 forces polling every minute.') wfDsuCsuCqmsReset = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("resetCqms", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: wfDsuCsuCqmsReset.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuCqmsReset.setDescription('Resets the CQMS counters to their default values. For Line Availability, wfDsuCsuCqmsLaErrCnt is reset.') wfDsuCsuOOSErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfDsuCsuOOSErrors.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuOOSErrors.setDescription('The number of seconds in which Out of Service control codes were received from the Telco. The counter is incremented whenever a sample within a second indicated the unit received an out of service control code.') wfDsuCsuFrameErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfDsuCsuFrameErrors.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuFrameErrors.setDescription('The number of seconds in which the unit was out of frame with the Telco. This is only applicable in 64K mode. The counter is incremented whenever a sample within a second indicated the unit was out of frame.') wfDsuCsuLOLErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: wfDsuCsuLOLErrors.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuLOLErrors.setDescription('The number of seconds in which the unit has detected that no signal is present on the line, and/or no line is present.') wfDsuCsuInitState = MibTableColumn((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("startup", 1), ("init", 2), ("monitor", 3), ("loopback", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: wfDsuCsuInitState.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuInitState.setDescription('Indictes the state of the DSU/CSU initialization sequence. The state will indicate if the DSU/CSU has been initialized and is in the *monitor* state polling the card for line condition, or in the *loopback state running a user-initiated loopback') wfDsuCsuIfTrap = NotificationType((1, 3, 6, 1, 4, 1, 18, 3, 4, 30) + (0,1)).setObjects(("Wellfleet-DSUCSU-MIB", "wfDsuCsuServiceStatus")) if mibBuilder.loadTexts: wfDsuCsuIfTrap.setDescription('Indicates a change in the status of the line. The value returned in the trap will indicate the current state as defined in wfDsuCsuServiceStatus.') mibBuilder.exportSymbols("Wellfleet-DSUCSU-MIB", wfDsuCsuIfTable=wfDsuCsuIfTable, wfDsuCsuHardRev=wfDsuCsuHardRev, wfDsuCsuTxClkSelect=wfDsuCsuTxClkSelect, wfDsuCsuV54Errors=wfDsuCsuV54Errors, wfDsuCsuOpState=wfDsuCsuOpState, wfDsuCsuV54Lpbk=wfDsuCsuV54Lpbk, wfDsuCsuUnitReset=wfDsuCsuUnitReset, wfDsuCsuCqmsReset=wfDsuCsuCqmsReset, wfDsuCsuIfTrap=wfDsuCsuIfTrap, wfDsuCsuServiceStatus=wfDsuCsuServiceStatus, wfDsuCsuCqmsLaErrors=wfDsuCsuCqmsLaErrors, wfDsuCsuIfEntry=wfDsuCsuIfEntry, wfDsuCsuV54Timer=wfDsuCsuV54Timer, wfDsuCsuOOSErrors=wfDsuCsuOOSErrors, wfDsuCsuFrameErrors=wfDsuCsuFrameErrors, wfDsuCsuIfDelete=wfDsuCsuIfDelete, wfDsuCsuIfSlot=wfDsuCsuIfSlot, wfDsuCsuSoftRev=wfDsuCsuSoftRev, wfDsuCsu64KTxMonitor=wfDsuCsu64KTxMonitor, wfDsuCsuLOLErrors=wfDsuCsuLOLErrors, wfDsuCsuInitState=wfDsuCsuInitState, wfDsuCsuIfConnector=wfDsuCsuIfConnector, wfDsuCsuOpMode=wfDsuCsuOpMode, wfDsuCsuCqmsLaPollRate=wfDsuCsuCqmsLaPollRate, wfDsuCsuCqmsLaWindow=wfDsuCsuCqmsLaWindow)
(integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, value_range_constraint, constraints_intersection, single_value_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueRangeConstraint', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueSizeConstraint') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (integer32, mib_identifier, module_identity, gauge32, time_ticks, bits, unsigned32, mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address, counter32, iso, notification_type, object_identity, counter64, notification_type) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'MibIdentifier', 'ModuleIdentity', 'Gauge32', 'TimeTicks', 'Bits', 'Unsigned32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress', 'Counter32', 'iso', 'NotificationType', 'ObjectIdentity', 'Counter64', 'NotificationType') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') (wf_dsu_csu_group,) = mibBuilder.importSymbols('Wellfleet-COMMON-MIB', 'wfDsuCsuGroup') wf_dsu_csu_if_table = mib_table((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1)) if mibBuilder.loadTexts: wfDsuCsuIfTable.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuIfTable.setDescription('DSU CSU line record.') wf_dsu_csu_if_entry = mib_table_row((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1)).setIndexNames((0, 'Wellfleet-DSUCSU-MIB', 'wfDsuCsuIfSlot'), (0, 'Wellfleet-DSUCSU-MIB', 'wfDsuCsuIfConnector')) if mibBuilder.loadTexts: wfDsuCsuIfEntry.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuIfEntry.setDescription('An entry in the DSU CSU IF table') wf_dsu_csu_if_delete = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('created', 1), ('deleted', 2))).clone('created')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfDsuCsuIfDelete.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuIfDelete.setDescription('Create/Delete parameter') wf_dsu_csu_if_slot = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfDsuCsuIfSlot.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuIfSlot.setDescription('Instance ID Slot, filled in by driver') wf_dsu_csu_if_connector = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfDsuCsuIfConnector.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuIfConnector.setDescription('Instance ID Connector, filled in by the driver.') wf_dsu_csu_soft_rev = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 10))).setMaxAccess('readonly') if mibBuilder.loadTexts: wfDsuCsuSoftRev.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuSoftRev.setDescription('Displays the Software Revision of the DSU CSU card.') wf_dsu_csu_hard_rev = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 10))).setMaxAccess('readonly') if mibBuilder.loadTexts: wfDsuCsuHardRev.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuHardRev.setDescription('Displays the Hardware Revision of the DSU CSU card.') wf_dsu_csu_op_mode = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('dds156kbps', 1), ('cc64kbps', 2))).clone('dds156kbps')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfDsuCsuOpMode.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuOpMode.setDescription('Identifies the type of telco service that the DSU CSU is connected to. Opmode should be set to dds1-56kbps (1) when connected to a DDS1 56 Kbps line. Opmode should be set to cc-64kbps (2) when connected to a Clear Channel 64Kbps line.') wf_dsu_csu_tx_clk_select = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('slave', 1), ('master', 2))).clone('slave')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfDsuCsuTxClkSelect.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuTxClkSelect.setDescription('Default timing, or clock, source for transmiting data to the network. There must be only one source on a DDS line. Timing should always be slave (1) when connected to a network. Timing should be set to master (2) on either end of a private-wire configuration, with the other end being set to slave (1).') wf_dsu_csu_unit_reset = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('resetUnit', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfDsuCsuUnitReset.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuUnitReset.setDescription('Enables the operator to remotely reset the unit. Using this command will cause the unit to terminate all its connections and drop data.') wf_dsu_csu64_k_tx_monitor = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2))).clone('disabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfDsuCsu64KTxMonitor.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsu64KTxMonitor.setDescription('This signal is used in 64K Clear Channel mode to suppress customer data in the event that the data duplicates a network control code. A setting of enabled(1) suppresses customer data. A setting of disabled(2) allows all customer data through, which could potentially put the other end into a loop if the data duplicates a network control code.') wf_dsu_csu_op_state = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=named_values(('normal', 1), ('localLpbk', 2), ('digitalLpbk', 3), ('remDigitalLpbk', 4), ('telcoLpbk', 5), ('remDigLpbkWPattern', 6), ('localAnlgLpbkWPattern', 7), ('pattern2047Gen', 8))).clone('normal')).setMaxAccess('readonly') if mibBuilder.loadTexts: wfDsuCsuOpState.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuOpState.setDescription('Indicates the current operating state of the DSU CSU card.') wf_dsu_csu_service_status = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 5, 6))).clone(namedValues=named_values(('inService', 1), ('outOfService', 2), ('frameError', 3), ('lossOfLine', 5), ('telcoLpbk', 6))).clone('inService')).setMaxAccess('readonly') if mibBuilder.loadTexts: wfDsuCsuServiceStatus.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuServiceStatus.setDescription('The Current status of the physical interface. Your network carrier can send Out-of-Service or Maintenance Mode codes.') wf_dsu_csu_v54_lpbk = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('noLoop', 1), ('localAnlgLpbk', 2), ('localDigLpbk', 3), ('remDigLpbk', 4), ('remDigLpbkWPattern', 5), ('localAnlgLpbkWPattern', 6), ('pattern2047Gen', 7))).clone('noLoop')).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfDsuCsuV54Lpbk.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuV54Lpbk.setDescription('Enables the operator to control, and examine the state of, V.54 loopbacks within the DSU CSU.') wf_dsu_csu_v54_timer = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 13), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfDsuCsuV54Timer.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuV54Timer.setDescription('Duration in seconds that a test specified in wfDsuCsuTestLpbk is to execute.') wf_dsu_csu_v54_errors = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfDsuCsuV54Errors.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuV54Errors.setDescription('Indicates the number of errors reported during the last loopback test. This count will only be updated for loopbacks with test pattern.') wf_dsu_csu_cqms_la_window = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 15), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(15)).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfDsuCsuCqmsLaWindow.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuCqmsLaWindow.setDescription('Indicates the number of minutes within the window in which the availability of the line (network) is to be calculated. The availability of the line is an indication of the percentage of time the line has been in service. It is calculated as follows: (((wfDsuCsuCqmsLaWindow*60) - (wfDsuCsuCqmsLaErrCnt*wfDsuCsuCqmsLaPollRate))/ wfDsuCsuCqmsLaWindow*60)') wf_dsu_csu_cqms_la_errors = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 16), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfDsuCsuCqmsLaErrors.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuCqmsLaErrors.setDescription('Indicates the total number of seconds that the line was not in service in the last window of size wfDsuCsuCqmsLaWindow.') wf_dsu_csu_cqms_la_poll_rate = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 17), integer32().subtype(subtypeSpec=value_range_constraint(1, 60)).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfDsuCsuCqmsLaPollRate.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuCqmsLaPollRate.setDescription('Indicates the number of seconds between polls for line status from the DsuCsu. A value of 1 forces polling every second. A value of 60 forces polling every minute.') wf_dsu_csu_cqms_reset = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('resetCqms', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: wfDsuCsuCqmsReset.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuCqmsReset.setDescription('Resets the CQMS counters to their default values. For Line Availability, wfDsuCsuCqmsLaErrCnt is reset.') wf_dsu_csu_oos_errors = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 19), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfDsuCsuOOSErrors.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuOOSErrors.setDescription('The number of seconds in which Out of Service control codes were received from the Telco. The counter is incremented whenever a sample within a second indicated the unit received an out of service control code.') wf_dsu_csu_frame_errors = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 20), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfDsuCsuFrameErrors.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuFrameErrors.setDescription('The number of seconds in which the unit was out of frame with the Telco. This is only applicable in 64K mode. The counter is incremented whenever a sample within a second indicated the unit was out of frame.') wf_dsu_csu_lol_errors = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 21), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: wfDsuCsuLOLErrors.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuLOLErrors.setDescription('The number of seconds in which the unit has detected that no signal is present on the line, and/or no line is present.') wf_dsu_csu_init_state = mib_table_column((1, 3, 6, 1, 4, 1, 18, 3, 4, 30, 1, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('startup', 1), ('init', 2), ('monitor', 3), ('loopback', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: wfDsuCsuInitState.setStatus('mandatory') if mibBuilder.loadTexts: wfDsuCsuInitState.setDescription('Indictes the state of the DSU/CSU initialization sequence. The state will indicate if the DSU/CSU has been initialized and is in the *monitor* state polling the card for line condition, or in the *loopback state running a user-initiated loopback') wf_dsu_csu_if_trap = notification_type((1, 3, 6, 1, 4, 1, 18, 3, 4, 30) + (0, 1)).setObjects(('Wellfleet-DSUCSU-MIB', 'wfDsuCsuServiceStatus')) if mibBuilder.loadTexts: wfDsuCsuIfTrap.setDescription('Indicates a change in the status of the line. The value returned in the trap will indicate the current state as defined in wfDsuCsuServiceStatus.') mibBuilder.exportSymbols('Wellfleet-DSUCSU-MIB', wfDsuCsuIfTable=wfDsuCsuIfTable, wfDsuCsuHardRev=wfDsuCsuHardRev, wfDsuCsuTxClkSelect=wfDsuCsuTxClkSelect, wfDsuCsuV54Errors=wfDsuCsuV54Errors, wfDsuCsuOpState=wfDsuCsuOpState, wfDsuCsuV54Lpbk=wfDsuCsuV54Lpbk, wfDsuCsuUnitReset=wfDsuCsuUnitReset, wfDsuCsuCqmsReset=wfDsuCsuCqmsReset, wfDsuCsuIfTrap=wfDsuCsuIfTrap, wfDsuCsuServiceStatus=wfDsuCsuServiceStatus, wfDsuCsuCqmsLaErrors=wfDsuCsuCqmsLaErrors, wfDsuCsuIfEntry=wfDsuCsuIfEntry, wfDsuCsuV54Timer=wfDsuCsuV54Timer, wfDsuCsuOOSErrors=wfDsuCsuOOSErrors, wfDsuCsuFrameErrors=wfDsuCsuFrameErrors, wfDsuCsuIfDelete=wfDsuCsuIfDelete, wfDsuCsuIfSlot=wfDsuCsuIfSlot, wfDsuCsuSoftRev=wfDsuCsuSoftRev, wfDsuCsu64KTxMonitor=wfDsuCsu64KTxMonitor, wfDsuCsuLOLErrors=wfDsuCsuLOLErrors, wfDsuCsuInitState=wfDsuCsuInitState, wfDsuCsuIfConnector=wfDsuCsuIfConnector, wfDsuCsuOpMode=wfDsuCsuOpMode, wfDsuCsuCqmsLaPollRate=wfDsuCsuCqmsLaPollRate, wfDsuCsuCqmsLaWindow=wfDsuCsuCqmsLaWindow)
# Copyright 2017 The Bazel Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. "Unit testing in a browser" load("@io_bazel_rules_webtesting//web/internal:constants.bzl", "DEFAULT_WRAPPED_TEST_TAGS") load("@io_bazel_rules_webtesting//web:web.bzl", "web_test_suite") load(":karma_web_test.bzl", "KARMA_GENERIC_WEB_TEST_ATTRS", "run_karma_web_test") # Using generic karma_web_test attributes under the hood TS_WEB_TEST_ATTRS = dict(KARMA_GENERIC_WEB_TEST_ATTRS, **{}) def _ts_web_test_impl(ctx): # Using karma_web_test under the hood runfiles = run_karma_web_test(ctx) return [DefaultInfo( files = depset([ctx.outputs.executable]), runfiles = runfiles, executable = ctx.outputs.executable, )] _ts_web_test = rule( implementation = _ts_web_test_impl, test = True, executable = True, attrs = TS_WEB_TEST_ATTRS, ) def ts_web_test( srcs = [], deps = [], data = [], configuration_env_vars = [], bootstrap = [], runtime_deps = [], static_files = [], tags = [], **kwargs): """Runs unit tests in a browser. When executed under `bazel test`, this uses a headless browser for speed. This is also because `bazel test` allows multiple targets to be tested together, and we don't want to open a Chrome window on your machine for each one. Also, under `bazel test` the test will execute and immediately terminate. Running under `ibazel test` gives you a "watch mode" for your tests. The rule is optimized for this case - the test runner server will stay running and just re-serve the up-to-date JavaScript source bundle. To debug a single test target, run it with `bazel run` instead. This will open a browser window on your computer. Also you can use any other browser by opening the URL printed when the test starts up. The test will remain running until you cancel the `bazel run` command. This rule will use your system Chrome. Your environment must specify CHROME_BIN so that the rule will know which Chrome binary to run. Currently this rule uses Karma as the test runner under the hood, but this is an implementation detail. We might switch to another runner like Jest in the future. Args: srcs: A list of JavaScript test files deps: Other targets which produce JavaScript such as `ts_library` data: Runtime dependencies configuration_env_vars: Pass these configuration environment variables to the resulting binary. Chooses a subset of the configuration environment variables (taken from ctx.var), which also includes anything specified via the --define flag. Note, this can lead to different outputs produced by this rule. bootstrap: JavaScript files to include *before* the module loader (require.js). For example, you can include Reflect,js for TypeScript decorator metadata reflection, or UMD bundles for third-party libraries. runtime_deps: Dependencies which should be loaded after the module loader but before the srcs and deps. These should be a list of targets which produce JavaScript such as `ts_library`. The files will be loaded in the same order they are declared by that rule. static_files: Arbitrary files which are available to be served on request. Files are served at: `/base/<WORKSPACE_NAME>/<path-to-file>`, e.g. `/base/npm_bazel_typescript/examples/testing/static_script.js` tags: Standard Bazel tags, this macro adds tags for ibazel support as well as `browser:chromium-system` to allow for filtering on systems with no system Chrome. **kwargs: Passed through to `ts_web_test` """ _ts_web_test( srcs = srcs, deps = deps, data = data, configuration_env_vars = configuration_env_vars, bootstrap = bootstrap, runtime_deps = runtime_deps, static_files = static_files, tags = tags + [ # Users don't need to know that this tag is required to run under ibazel "ibazel_notify_changes", # Always attach this label to allow filtering, eg. envs w/ no browser "browser:chromium-system", ], **kwargs ) def ts_web_test_suite( name, browsers = ["@io_bazel_rules_webtesting//browsers:chromium-local"], args = None, browser_overrides = None, config = None, flaky = None, local = None, shard_count = None, size = None, tags = [], test_suite_tags = None, timeout = None, visibility = None, web_test_data = [], wrapped_test_tags = None, **remaining_keyword_args): """Defines a test_suite of web_test targets that wrap a ts_web_test target. This macro also accepts all parameters in ts_web_test. See ts_web_test docs for details. Args: name: The base name of the test. browsers: A sequence of labels specifying the browsers to use. args: Args for web_test targets generated by this extension. browser_overrides: Dictionary; optional; default is an empty dictionary. A dictionary mapping from browser names to browser-specific web_test attributes, such as shard_count, flakiness, timeout, etc. For example: {'//browsers:chrome-native': {'shard_count': 3, 'flaky': 1} '//browsers:firefox-native': {'shard_count': 1, 'timeout': 100}}. config: Label; optional; Configuration of web test features. flaky: A boolean specifying that the test is flaky. If set, the test will be retried up to 3 times (default: 0) local: boolean; optional. shard_count: The number of test shards to use per browser. (default: 1) size: A string specifying the test size. (default: 'large') tags: A list of test tag strings to apply to each generated web_test_suite target. This macro adds a couple for ibazel. test_suite_tags: A list of tag strings for the generated test_suite. timeout: A string specifying the test timeout (default: computed from size) visibility: List of labels; optional. web_test_data: Data dependencies for the web_test_suite. wrapped_test_tags: A list of test tag strings to use for the wrapped test **remaining_keyword_args: Arguments for the wrapped test target. """ # Check explicitly for None so that users can set this to the empty list if wrapped_test_tags == None: wrapped_test_tags = DEFAULT_WRAPPED_TEST_TAGS size = size or "large" wrapped_test_name = name + "_wrapped_test" _ts_web_test( name = wrapped_test_name, args = args, flaky = flaky, local = local, shard_count = shard_count, size = size, tags = wrapped_test_tags, timeout = timeout, visibility = ["//visibility:private"], **remaining_keyword_args ) web_test_suite( name = name, launcher = ":" + wrapped_test_name, args = args, browsers = browsers, browser_overrides = browser_overrides, config = config, data = web_test_data, flaky = flaky, local = local, shard_count = shard_count, size = size, tags = tags + [ # Users don't need to know that this tag is required to run under ibazel "ibazel_notify_changes", ], test = wrapped_test_name, test_suite_tags = test_suite_tags, timeout = timeout, visibility = visibility, )
"""Unit testing in a browser""" load('@io_bazel_rules_webtesting//web/internal:constants.bzl', 'DEFAULT_WRAPPED_TEST_TAGS') load('@io_bazel_rules_webtesting//web:web.bzl', 'web_test_suite') load(':karma_web_test.bzl', 'KARMA_GENERIC_WEB_TEST_ATTRS', 'run_karma_web_test') ts_web_test_attrs = dict(KARMA_GENERIC_WEB_TEST_ATTRS, **{}) def _ts_web_test_impl(ctx): runfiles = run_karma_web_test(ctx) return [default_info(files=depset([ctx.outputs.executable]), runfiles=runfiles, executable=ctx.outputs.executable)] _ts_web_test = rule(implementation=_ts_web_test_impl, test=True, executable=True, attrs=TS_WEB_TEST_ATTRS) def ts_web_test(srcs=[], deps=[], data=[], configuration_env_vars=[], bootstrap=[], runtime_deps=[], static_files=[], tags=[], **kwargs): """Runs unit tests in a browser. When executed under `bazel test`, this uses a headless browser for speed. This is also because `bazel test` allows multiple targets to be tested together, and we don't want to open a Chrome window on your machine for each one. Also, under `bazel test` the test will execute and immediately terminate. Running under `ibazel test` gives you a "watch mode" for your tests. The rule is optimized for this case - the test runner server will stay running and just re-serve the up-to-date JavaScript source bundle. To debug a single test target, run it with `bazel run` instead. This will open a browser window on your computer. Also you can use any other browser by opening the URL printed when the test starts up. The test will remain running until you cancel the `bazel run` command. This rule will use your system Chrome. Your environment must specify CHROME_BIN so that the rule will know which Chrome binary to run. Currently this rule uses Karma as the test runner under the hood, but this is an implementation detail. We might switch to another runner like Jest in the future. Args: srcs: A list of JavaScript test files deps: Other targets which produce JavaScript such as `ts_library` data: Runtime dependencies configuration_env_vars: Pass these configuration environment variables to the resulting binary. Chooses a subset of the configuration environment variables (taken from ctx.var), which also includes anything specified via the --define flag. Note, this can lead to different outputs produced by this rule. bootstrap: JavaScript files to include *before* the module loader (require.js). For example, you can include Reflect,js for TypeScript decorator metadata reflection, or UMD bundles for third-party libraries. runtime_deps: Dependencies which should be loaded after the module loader but before the srcs and deps. These should be a list of targets which produce JavaScript such as `ts_library`. The files will be loaded in the same order they are declared by that rule. static_files: Arbitrary files which are available to be served on request. Files are served at: `/base/<WORKSPACE_NAME>/<path-to-file>`, e.g. `/base/npm_bazel_typescript/examples/testing/static_script.js` tags: Standard Bazel tags, this macro adds tags for ibazel support as well as `browser:chromium-system` to allow for filtering on systems with no system Chrome. **kwargs: Passed through to `ts_web_test` """ _ts_web_test(srcs=srcs, deps=deps, data=data, configuration_env_vars=configuration_env_vars, bootstrap=bootstrap, runtime_deps=runtime_deps, static_files=static_files, tags=tags + ['ibazel_notify_changes', 'browser:chromium-system'], **kwargs) def ts_web_test_suite(name, browsers=['@io_bazel_rules_webtesting//browsers:chromium-local'], args=None, browser_overrides=None, config=None, flaky=None, local=None, shard_count=None, size=None, tags=[], test_suite_tags=None, timeout=None, visibility=None, web_test_data=[], wrapped_test_tags=None, **remaining_keyword_args): """Defines a test_suite of web_test targets that wrap a ts_web_test target. This macro also accepts all parameters in ts_web_test. See ts_web_test docs for details. Args: name: The base name of the test. browsers: A sequence of labels specifying the browsers to use. args: Args for web_test targets generated by this extension. browser_overrides: Dictionary; optional; default is an empty dictionary. A dictionary mapping from browser names to browser-specific web_test attributes, such as shard_count, flakiness, timeout, etc. For example: {'//browsers:chrome-native': {'shard_count': 3, 'flaky': 1} '//browsers:firefox-native': {'shard_count': 1, 'timeout': 100}}. config: Label; optional; Configuration of web test features. flaky: A boolean specifying that the test is flaky. If set, the test will be retried up to 3 times (default: 0) local: boolean; optional. shard_count: The number of test shards to use per browser. (default: 1) size: A string specifying the test size. (default: 'large') tags: A list of test tag strings to apply to each generated web_test_suite target. This macro adds a couple for ibazel. test_suite_tags: A list of tag strings for the generated test_suite. timeout: A string specifying the test timeout (default: computed from size) visibility: List of labels; optional. web_test_data: Data dependencies for the web_test_suite. wrapped_test_tags: A list of test tag strings to use for the wrapped test **remaining_keyword_args: Arguments for the wrapped test target. """ if wrapped_test_tags == None: wrapped_test_tags = DEFAULT_WRAPPED_TEST_TAGS size = size or 'large' wrapped_test_name = name + '_wrapped_test' _ts_web_test(name=wrapped_test_name, args=args, flaky=flaky, local=local, shard_count=shard_count, size=size, tags=wrapped_test_tags, timeout=timeout, visibility=['//visibility:private'], **remaining_keyword_args) web_test_suite(name=name, launcher=':' + wrapped_test_name, args=args, browsers=browsers, browser_overrides=browser_overrides, config=config, data=web_test_data, flaky=flaky, local=local, shard_count=shard_count, size=size, tags=tags + ['ibazel_notify_changes'], test=wrapped_test_name, test_suite_tags=test_suite_tags, timeout=timeout, visibility=visibility)
pkgname = "u-boot-tools" pkgver = "2021.10" pkgrel = 0 build_style = "makefile" make_cmd = "gmake" make_build_target = "tools" make_build_args = ["envtools", "HOSTSTRIP=:", "STRIP=:", "NO_SDL=1"] hostmakedepends = ["gmake", "bison", "flex", "linux-headers"] makedepends = ["openssl-devel", "linux-headers"] pkgdesc = "Das U-Boot tools" maintainer = "q66 <q66@chimera-linux.org>" license = "GPL-2.0-or-later" url = "https://www.denx.de/wiki/U-Boot" source = f"ftp://ftp.denx.de/pub/u-boot/u-boot-{pkgver}.tar.bz2" sha256 = "cde723e19262e646f2670d25e5ec4b1b368490de950d4e26275a988c36df0bd4" # weird test suite options = ["!check"] if self.profile().cross: make_build_args += [ "CROSS_BUILD_TOOLS=y", f"CROSS_COMPILE={self.profile().triplet}-" ] def do_configure(self): tcfl = self.get_cflags(shell = True) tlfl = self.get_ldflags(shell = True) tcc = self.get_tool("CC") with self.profile("host"): hcfl = self.get_cflags(shell = True) hlfl = self.get_ldflags(shell = True) hcc = self.get_tool("CC") self.make.invoke("tools-only_defconfig", [ "CC=" + tcc, "HOSTCC=" + hcc, "CFLAGS=" + tcfl, "HOSTCFLAGS=" + hcfl, "LDFLAGS=" + tlfl, "HOSTLDFLAGS=" + hlfl, ]) def post_build(self): self.ln_s("fw_printenv", "tools/env/fw_setenv") def do_install(self): for t in [ "dumpimage", "fdtgrep", "fit_check_sign", "fit_info", "gen_eth_addr", "gen_ethaddr_crc", "ifwitool", "img2srec", "mkenvimage", "mkimage", "proftool", "spl_size_limit", "env/fw_printenv", "env/fw_setenv", ]: self.install_bin(f"tools/{t}")
pkgname = 'u-boot-tools' pkgver = '2021.10' pkgrel = 0 build_style = 'makefile' make_cmd = 'gmake' make_build_target = 'tools' make_build_args = ['envtools', 'HOSTSTRIP=:', 'STRIP=:', 'NO_SDL=1'] hostmakedepends = ['gmake', 'bison', 'flex', 'linux-headers'] makedepends = ['openssl-devel', 'linux-headers'] pkgdesc = 'Das U-Boot tools' maintainer = 'q66 <q66@chimera-linux.org>' license = 'GPL-2.0-or-later' url = 'https://www.denx.de/wiki/U-Boot' source = f'ftp://ftp.denx.de/pub/u-boot/u-boot-{pkgver}.tar.bz2' sha256 = 'cde723e19262e646f2670d25e5ec4b1b368490de950d4e26275a988c36df0bd4' options = ['!check'] if self.profile().cross: make_build_args += ['CROSS_BUILD_TOOLS=y', f'CROSS_COMPILE={self.profile().triplet}-'] def do_configure(self): tcfl = self.get_cflags(shell=True) tlfl = self.get_ldflags(shell=True) tcc = self.get_tool('CC') with self.profile('host'): hcfl = self.get_cflags(shell=True) hlfl = self.get_ldflags(shell=True) hcc = self.get_tool('CC') self.make.invoke('tools-only_defconfig', ['CC=' + tcc, 'HOSTCC=' + hcc, 'CFLAGS=' + tcfl, 'HOSTCFLAGS=' + hcfl, 'LDFLAGS=' + tlfl, 'HOSTLDFLAGS=' + hlfl]) def post_build(self): self.ln_s('fw_printenv', 'tools/env/fw_setenv') def do_install(self): for t in ['dumpimage', 'fdtgrep', 'fit_check_sign', 'fit_info', 'gen_eth_addr', 'gen_ethaddr_crc', 'ifwitool', 'img2srec', 'mkenvimage', 'mkimage', 'proftool', 'spl_size_limit', 'env/fw_printenv', 'env/fw_setenv']: self.install_bin(f'tools/{t}')
""" Test environment for The Bowling Game """ def log(message): """ generic log function """ print(message) def init(): """ set up environment for testing """ log(""" ... environment setup started ... """) init()
""" Test environment for The Bowling Game """ def log(message): """ generic log function """ print(message) def init(): """ set up environment for testing """ log('\n ... environment setup started ...\n ') init()
def infer_ref_stem(src, ref): n, remainder = divmod(len(ref), len(src)) if n < 0 or remainder != 0: raise ValueError('mismatched src and refs. (len(src)=%d and len(ref)= %d)' % (len(src), len(ref))) ref_stem = [] for i in xrange(0, len(ref), n): ref_i = ref[i:i + n] prefix = ref_i[0] if n > 1: # check trailing number try: _ = [int(f[-1]) for f in ref_i] except ValueError as e: raise ValueError("broken format for refs: {}".format(ref_i)) # remove trailing number for multiple references case prefixes = [f[:-1] for f in ref_i] if len(set(prefixes)) > 1: raise ValueError("broken format for refs: {}".format(ref_i)) prefix = prefixes[0] ref_stem.append(prefix) return ref_stem
def infer_ref_stem(src, ref): (n, remainder) = divmod(len(ref), len(src)) if n < 0 or remainder != 0: raise value_error('mismatched src and refs. (len(src)=%d and len(ref)= %d)' % (len(src), len(ref))) ref_stem = [] for i in xrange(0, len(ref), n): ref_i = ref[i:i + n] prefix = ref_i[0] if n > 1: try: _ = [int(f[-1]) for f in ref_i] except ValueError as e: raise value_error('broken format for refs: {}'.format(ref_i)) prefixes = [f[:-1] for f in ref_i] if len(set(prefixes)) > 1: raise value_error('broken format for refs: {}'.format(ref_i)) prefix = prefixes[0] ref_stem.append(prefix) return ref_stem
# Given an array of integers, find if the array contains any duplicates. # Your function should return true if any value appears at least twice in the array, # and it should return false if every element is distinct. # Example 1: # Input: [1,2,3,1] # Output: true # Example 2: # Input: [1,2,3,4] # Output: false # Example 3: # Input: [1,1,1,3,3,4,3,2,4,2] # Output: true def containsDuplicate(nums): unique_nums = set(nums) if len(unique_nums) < len(nums): return True else: return False if __name__ == "__main__": nums = list(map(int, input().split(','))) res = containsDuplicate(nums) print("true" if res == True else "false")
def contains_duplicate(nums): unique_nums = set(nums) if len(unique_nums) < len(nums): return True else: return False if __name__ == '__main__': nums = list(map(int, input().split(','))) res = contains_duplicate(nums) print('true' if res == True else 'false')
"""converted from ..\fonts\M32_8x14.bin """ WIDTH = 8 HEIGHT = 14 FIRST = 0x20 LAST = 0x7f _FONT =\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x18\x3c\x3c\x3c\x18\x18\x00\x18\x18\x00\x00\x00'\ b'\x00\x36\x36\x36\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x6c\x6c\x6c\xfe\x6c\x6c\xfe\x6c\x6c\x00\x00\x00'\ b'\x00\x18\x18\x7c\xc6\xc0\x78\x3c\x06\xc6\x7c\x18\x18\x00'\ b'\x00\x00\x00\x00\x62\x66\x0c\x18\x30\x66\xc6\x00\x00\x00'\ b'\x00\x00\x38\x6c\x38\x38\x76\xf6\xce\xcc\x76\x00\x00\x00'\ b'\x00\x0c\x0c\x0c\x18\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x0c\x18\x30\x30\x30\x30\x30\x18\x0c\x00\x00\x00'\ b'\x00\x00\x30\x18\x0c\x0c\x0c\x0c\x0c\x18\x30\x00\x00\x00'\ b'\x00\x00\x00\x00\x6c\x38\xfe\x38\x6c\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x18\x18\x7e\x18\x18\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x0c\x0c\x18\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\xfe\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18\x18\x00\x00\x00'\ b'\x00\x00\x00\x02\x06\x0c\x18\x30\x60\xc0\x80\x00\x00\x00'\ b'\x00\x00\x7c\xc6\xce\xde\xf6\xe6\xc6\xc6\x7c\x00\x00\x00'\ b'\x00\x00\x18\x78\x18\x18\x18\x18\x18\x18\x7e\x00\x00\x00'\ b'\x00\x00\x7c\xc6\xc6\x0c\x18\x30\x60\xc6\xfe\x00\x00\x00'\ b'\x00\x00\x7c\xc6\x06\x06\x3c\x06\x06\xc6\x7c\x00\x00\x00'\ b'\x00\x00\x0c\x1c\x3c\x6c\xcc\xfe\x0c\x0c\x0c\x00\x00\x00'\ b'\x00\x00\xfe\xc0\xc0\xc0\xfc\x06\x06\xc6\x7c\x00\x00\x00'\ b'\x00\x00\x7c\xc6\xc0\xc0\xfc\xc6\xc6\xc6\x7c\x00\x00\x00'\ b'\x00\x00\xfe\xc6\x0c\x18\x30\x30\x30\x30\x30\x00\x00\x00'\ b'\x00\x00\x7c\xc6\xc6\xc6\x7c\xc6\xc6\xc6\x7c\x00\x00\x00'\ b'\x00\x00\x7c\xc6\xc6\xc6\x7e\x06\x06\xc6\x7c\x00\x00\x00'\ b'\x00\x00\x00\x00\x0c\x0c\x00\x00\x0c\x0c\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x0c\x0c\x00\x00\x0c\x0c\x0c\x18\x00\x00'\ b'\x00\x00\x0c\x18\x30\x60\xc0\x60\x30\x18\x0c\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\xfe\x00\xfe\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x60\x30\x18\x0c\x06\x0c\x18\x30\x60\x00\x00\x00'\ b'\x00\x00\x7c\xc6\xc6\x0c\x18\x18\x00\x18\x18\x00\x00\x00'\ b'\x00\x00\x7c\xc6\xc6\xde\xde\xde\xdc\xc0\x7e\x00\x00\x00'\ b'\x00\x00\x38\x6c\xc6\xc6\xc6\xfe\xc6\xc6\xc6\x00\x00\x00'\ b'\x00\x00\xfc\x66\x66\x66\x7c\x66\x66\x66\xfc\x00\x00\x00'\ b'\x00\x00\x3c\x66\xc0\xc0\xc0\xc0\xc0\x66\x3c\x00\x00\x00'\ b'\x00\x00\xf8\x6c\x66\x66\x66\x66\x66\x6c\xf8\x00\x00\x00'\ b'\x00\x00\xfe\x66\x60\x60\x7c\x60\x60\x66\xfe\x00\x00\x00'\ b'\x00\x00\xfe\x66\x60\x60\x7c\x60\x60\x60\xf0\x00\x00\x00'\ b'\x00\x00\x7c\xc6\xc6\xc0\xc0\xce\xc6\xc6\x7c\x00\x00\x00'\ b'\x00\x00\xc6\xc6\xc6\xc6\xfe\xc6\xc6\xc6\xc6\x00\x00\x00'\ b'\x00\x00\x3c\x18\x18\x18\x18\x18\x18\x18\x3c\x00\x00\x00'\ b'\x00\x00\x3c\x18\x18\x18\x18\x18\xd8\xd8\x70\x00\x00\x00'\ b'\x00\x00\xc6\xcc\xd8\xf0\xf0\xd8\xcc\xc6\xc6\x00\x00\x00'\ b'\x00\x00\xf0\x60\x60\x60\x60\x60\x62\x66\xfe\x00\x00\x00'\ b'\x00\x00\xc6\xc6\xee\xfe\xd6\xd6\xd6\xc6\xc6\x00\x00\x00'\ b'\x00\x00\xc6\xc6\xe6\xe6\xf6\xde\xce\xce\xc6\x00\x00\x00'\ b'\x00\x00\x7c\xc6\xc6\xc6\xc6\xc6\xc6\xc6\x7c\x00\x00\x00'\ b'\x00\x00\xfc\x66\x66\x66\x7c\x60\x60\x60\xf0\x00\x00\x00'\ b'\x00\x00\x7c\xc6\xc6\xc6\xc6\xc6\xc6\xd6\x7c\x06\x00\x00'\ b'\x00\x00\xfc\x66\x66\x66\x7c\x78\x6c\x66\xe6\x00\x00\x00'\ b'\x00\x00\x7c\xc6\xc0\x60\x38\x0c\x06\xc6\x7c\x00\x00\x00'\ b'\x00\x00\x7e\x5a\x18\x18\x18\x18\x18\x18\x3c\x00\x00\x00'\ b'\x00\x00\xc6\xc6\xc6\xc6\xc6\xc6\xc6\xc6\x7c\x00\x00\x00'\ b'\x00\x00\xc6\xc6\xc6\xc6\xc6\xc6\x6c\x38\x10\x00\x00\x00'\ b'\x00\x00\xc6\xc6\xd6\xd6\xd6\xfe\xee\xc6\xc6\x00\x00\x00'\ b'\x00\x00\xc6\xc6\x6c\x38\x38\x38\x6c\xc6\xc6\x00\x00\x00'\ b'\x00\x00\x66\x66\x66\x66\x3c\x18\x18\x18\x3c\x00\x00\x00'\ b'\x00\x00\xfe\xc6\x8c\x18\x30\x60\xc2\xc6\xfe\x00\x00\x00'\ b'\x00\x00\x7c\x60\x60\x60\x60\x60\x60\x60\x7c\x00\x00\x00'\ b'\x00\x00\x00\x80\xc0\x60\x30\x18\x0c\x06\x02\x00\x00\x00'\ b'\x00\x00\x7c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x7c\x00\x00\x00'\ b'\x00\x10\x38\x6c\xc6\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x00'\ b'\x00\x18\x18\x18\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x78\x0c\x7c\xcc\xdc\x76\x00\x00\x00'\ b'\x00\x00\xe0\x60\x60\x7c\x66\x66\x66\x66\xfc\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x7c\xc6\xc0\xc0\xc6\x7c\x00\x00\x00'\ b'\x00\x00\x1c\x0c\x0c\x7c\xcc\xcc\xcc\xcc\x7e\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x7c\xc6\xfe\xc0\xc6\x7c\x00\x00\x00'\ b'\x00\x00\x1c\x36\x30\x30\xfc\x30\x30\x30\x78\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x76\xce\xc6\xc6\x7e\x06\xc6\x7c\x00'\ b'\x00\x00\xe0\x60\x60\x6c\x76\x66\x66\x66\xe6\x00\x00\x00'\ b'\x00\x00\x18\x18\x00\x38\x18\x18\x18\x18\x3c\x00\x00\x00'\ b'\x00\x00\x0c\x0c\x00\x1c\x0c\x0c\x0c\x0c\xcc\xcc\x78\x00'\ b'\x00\x00\xe0\x60\x60\x66\x6c\x78\x6c\x66\xe6\x00\x00\x00'\ b'\x00\x00\x18\x18\x18\x18\x18\x18\x18\x18\x1c\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x6c\xfe\xd6\xd6\xc6\xc6\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\xdc\x66\x66\x66\x66\x66\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x7c\xc6\xc6\xc6\xc6\x7c\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\xdc\x66\x66\x66\x7c\x60\x60\xf0\x00'\ b'\x00\x00\x00\x00\x00\x76\xcc\xcc\xcc\x7c\x0c\x0c\x1e\x00'\ b'\x00\x00\x00\x00\x00\xdc\x66\x60\x60\x60\xf0\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\x7c\xc6\x70\x1c\xc6\x7c\x00\x00\x00'\ b'\x00\x00\x30\x30\x30\xfc\x30\x30\x30\x36\x1c\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\xcc\xcc\xcc\xcc\xcc\x76\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\xc6\xc6\xc6\x6c\x38\x10\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\xc6\xc6\xd6\xd6\xfe\x6c\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\xc6\x6c\x38\x38\x6c\xc6\x00\x00\x00'\ b'\x00\x00\x00\x00\x00\xc6\xc6\xc6\xce\x76\x06\xc6\x7c\x00'\ b'\x00\x00\x00\x00\x00\xfe\x8c\x18\x30\x62\xfe\x00\x00\x00'\ b'\x00\x00\x0e\x18\x18\x18\x70\x18\x18\x18\x0e\x00\x00\x00'\ b'\x00\x00\x18\x18\x18\x18\x00\x18\x18\x18\x18\x00\x00\x00'\ b'\x00\x00\x70\x18\x18\x18\x0e\x18\x18\x18\x70\x00\x00\x00'\ b'\x00\x00\x76\xdc\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'\ b'\x00\x00\x00\x00\x10\x38\x38\x6c\x6c\xfe\x00\x00\x00\x00'\ FONT = memoryview(_FONT)
"""converted from ..\x0conts\\M32_8x14.bin """ width = 8 height = 14 first = 32 last = 127 _font = b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18<<<\x18\x18\x00\x18\x18\x00\x00\x00\x00666\x14\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00lll\xfell\xfell\x00\x00\x00\x00\x18\x18|\xc6\xc0x<\x06\xc6|\x18\x18\x00\x00\x00\x00\x00bf\x0c\x180f\xc6\x00\x00\x00\x00\x008l88v\xf6\xce\xccv\x00\x00\x00\x00\x0c\x0c\x0c\x18\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x1800000\x18\x0c\x00\x00\x00\x00\x000\x18\x0c\x0c\x0c\x0c\x0c\x180\x00\x00\x00\x00\x00\x00\x00l8\xfe8l\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18\x18~\x18\x18\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x0c\x0c\x18\x00\x00\x00\x00\x00\x00\x00\x00\xfe\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x18\x18\x00\x00\x00\x00\x00\x00\x02\x06\x0c\x180`\xc0\x80\x00\x00\x00\x00\x00|\xc6\xce\xde\xf6\xe6\xc6\xc6|\x00\x00\x00\x00\x00\x18x\x18\x18\x18\x18\x18\x18~\x00\x00\x00\x00\x00|\xc6\xc6\x0c\x180`\xc6\xfe\x00\x00\x00\x00\x00|\xc6\x06\x06<\x06\x06\xc6|\x00\x00\x00\x00\x00\x0c\x1c<l\xcc\xfe\x0c\x0c\x0c\x00\x00\x00\x00\x00\xfe\xc0\xc0\xc0\xfc\x06\x06\xc6|\x00\x00\x00\x00\x00|\xc6\xc0\xc0\xfc\xc6\xc6\xc6|\x00\x00\x00\x00\x00\xfe\xc6\x0c\x1800000\x00\x00\x00\x00\x00|\xc6\xc6\xc6|\xc6\xc6\xc6|\x00\x00\x00\x00\x00|\xc6\xc6\xc6~\x06\x06\xc6|\x00\x00\x00\x00\x00\x00\x00\x0c\x0c\x00\x00\x0c\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x0c\x00\x00\x0c\x0c\x0c\x18\x00\x00\x00\x00\x0c\x180`\xc0`0\x18\x0c\x00\x00\x00\x00\x00\x00\x00\x00\xfe\x00\xfe\x00\x00\x00\x00\x00\x00\x00\x00`0\x18\x0c\x06\x0c\x180`\x00\x00\x00\x00\x00|\xc6\xc6\x0c\x18\x18\x00\x18\x18\x00\x00\x00\x00\x00|\xc6\xc6\xde\xde\xde\xdc\xc0~\x00\x00\x00\x00\x008l\xc6\xc6\xc6\xfe\xc6\xc6\xc6\x00\x00\x00\x00\x00\xfcfff|fff\xfc\x00\x00\x00\x00\x00<f\xc0\xc0\xc0\xc0\xc0f<\x00\x00\x00\x00\x00\xf8lfffffl\xf8\x00\x00\x00\x00\x00\xfef``|``f\xfe\x00\x00\x00\x00\x00\xfef``|```\xf0\x00\x00\x00\x00\x00|\xc6\xc6\xc0\xc0\xce\xc6\xc6|\x00\x00\x00\x00\x00\xc6\xc6\xc6\xc6\xfe\xc6\xc6\xc6\xc6\x00\x00\x00\x00\x00<\x18\x18\x18\x18\x18\x18\x18<\x00\x00\x00\x00\x00<\x18\x18\x18\x18\x18\xd8\xd8p\x00\x00\x00\x00\x00\xc6\xcc\xd8\xf0\xf0\xd8\xcc\xc6\xc6\x00\x00\x00\x00\x00\xf0`````bf\xfe\x00\x00\x00\x00\x00\xc6\xc6\xee\xfe\xd6\xd6\xd6\xc6\xc6\x00\x00\x00\x00\x00\xc6\xc6\xe6\xe6\xf6\xde\xce\xce\xc6\x00\x00\x00\x00\x00|\xc6\xc6\xc6\xc6\xc6\xc6\xc6|\x00\x00\x00\x00\x00\xfcfff|```\xf0\x00\x00\x00\x00\x00|\xc6\xc6\xc6\xc6\xc6\xc6\xd6|\x06\x00\x00\x00\x00\xfcfff|xlf\xe6\x00\x00\x00\x00\x00|\xc6\xc0`8\x0c\x06\xc6|\x00\x00\x00\x00\x00~Z\x18\x18\x18\x18\x18\x18<\x00\x00\x00\x00\x00\xc6\xc6\xc6\xc6\xc6\xc6\xc6\xc6|\x00\x00\x00\x00\x00\xc6\xc6\xc6\xc6\xc6\xc6l8\x10\x00\x00\x00\x00\x00\xc6\xc6\xd6\xd6\xd6\xfe\xee\xc6\xc6\x00\x00\x00\x00\x00\xc6\xc6l888l\xc6\xc6\x00\x00\x00\x00\x00ffff<\x18\x18\x18<\x00\x00\x00\x00\x00\xfe\xc6\x8c\x180`\xc2\xc6\xfe\x00\x00\x00\x00\x00|```````|\x00\x00\x00\x00\x00\x00\x80\xc0`0\x18\x0c\x06\x02\x00\x00\x00\x00\x00|\x0c\x0c\x0c\x0c\x0c\x0c\x0c|\x00\x00\x00\x00\x108l\xc6\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x00\x00\x18\x18\x18\x0c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00x\x0c|\xcc\xdcv\x00\x00\x00\x00\x00\xe0``|ffff\xfc\x00\x00\x00\x00\x00\x00\x00\x00|\xc6\xc0\xc0\xc6|\x00\x00\x00\x00\x00\x1c\x0c\x0c|\xcc\xcc\xcc\xcc~\x00\x00\x00\x00\x00\x00\x00\x00|\xc6\xfe\xc0\xc6|\x00\x00\x00\x00\x00\x1c600\xfc000x\x00\x00\x00\x00\x00\x00\x00\x00v\xce\xc6\xc6~\x06\xc6|\x00\x00\x00\xe0``lvfff\xe6\x00\x00\x00\x00\x00\x18\x18\x008\x18\x18\x18\x18<\x00\x00\x00\x00\x00\x0c\x0c\x00\x1c\x0c\x0c\x0c\x0c\xcc\xccx\x00\x00\x00\xe0``flxlf\xe6\x00\x00\x00\x00\x00\x18\x18\x18\x18\x18\x18\x18\x18\x1c\x00\x00\x00\x00\x00\x00\x00\x00l\xfe\xd6\xd6\xc6\xc6\x00\x00\x00\x00\x00\x00\x00\x00\xdcfffff\x00\x00\x00\x00\x00\x00\x00\x00|\xc6\xc6\xc6\xc6|\x00\x00\x00\x00\x00\x00\x00\x00\xdcfff|``\xf0\x00\x00\x00\x00\x00\x00v\xcc\xcc\xcc|\x0c\x0c\x1e\x00\x00\x00\x00\x00\x00\xdcf```\xf0\x00\x00\x00\x00\x00\x00\x00\x00|\xc6p\x1c\xc6|\x00\x00\x00\x00\x00000\xfc0006\x1c\x00\x00\x00\x00\x00\x00\x00\x00\xcc\xcc\xcc\xcc\xccv\x00\x00\x00\x00\x00\x00\x00\x00\xc6\xc6\xc6l8\x10\x00\x00\x00\x00\x00\x00\x00\x00\xc6\xc6\xd6\xd6\xfel\x00\x00\x00\x00\x00\x00\x00\x00\xc6l88l\xc6\x00\x00\x00\x00\x00\x00\x00\x00\xc6\xc6\xc6\xcev\x06\xc6|\x00\x00\x00\x00\x00\x00\xfe\x8c\x180b\xfe\x00\x00\x00\x00\x00\x0e\x18\x18\x18p\x18\x18\x18\x0e\x00\x00\x00\x00\x00\x18\x18\x18\x18\x00\x18\x18\x18\x18\x00\x00\x00\x00\x00p\x18\x18\x18\x0e\x18\x18\x18p\x00\x00\x00\x00\x00v\xdc\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x1088ll\xfe\x00\x00\x00\x00' font = memoryview(_FONT)
rename_dictionary = { "base": { # key -> file_name: value -> list of dictionaries of words to replace. '_data_manager.py': { "words": [{"word": 'DataManager', "word_format": 'str_capitalize', 'word_type': 'append-left'}] }, '_model_manager.py': { "words": [{"word": 'ModelManager', "word_format": 'str_capitalize', 'word_type': 'append-left'}] }, '_train_config.py': { 'inner_path': 'configs', "words": [{"word": '"asset_name": "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*"'}, {"word": '"asset_name": \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*\''}, {"word": '\'asset_name\': \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*\''}, {"word": '\'asset_name\': "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*"'}, {"word": '_config ', "word_format": 'str.lower', 'word_type': 'append-left'}] }, '_forecast_config.py': { 'inner_path': 'configs', "words": [{"word": '"asset_name": "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*"'}, {"word": '"asset_name": \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*\''}, {"word": '\'asset_name\': \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*\''}, {"word": '\'asset_name\': "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*"'}, {"word": '_config ', "word_format": 'str.lower', 'word_type': 'append-left'}] } }, "classification": { '_data_manager.py': { "words": [{"word": 'DataManager', "word_format": 'str_capitalize', 'word_type': 'append-left'}, {"word": '_feature_engineering', "word_format": 'str.lower', 'word_type': 'append-left'}, {"word": 'from assets.', "word_format": 'str.lower', 'word_type': 'append-right'}, {"word": 'FeatureEngineering', "word_format": 'str_capitalize', 'word_type': 'append-left'}] }, '_model_manager.py': { "words": [{"word": 'ModelManager', "word_format": 'str_capitalize', 'word_type': 'append-left'}, {"word": '_visualizations', "word_format": 'str.lower', 'word_type': 'append-left'}, {"word": 'from assets.', "word_format": 'str.lower', 'word_type': 'append-right'}] }, '_train_config.py': { 'inner_path': 'configs', "words": [{"word": '"asset_name": "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*"'}, {"word": '"asset_name": \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*\''}, {"word": '\'asset_name\': \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*\''}, {"word": '\'asset_name\': "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*"'}, {"word": '_config ', "word_format": 'str.lower', 'word_type': 'append-left'}] }, '_forecast_config.py': { 'inner_path': 'configs', "words": [{"word": '"asset_name": "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*\n*\s*:\s*\n*\s*"'}, {"word": '"asset_name": \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*\''}, {"word": '\'asset_name\': \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*\''}, {"word": '\'asset_name\': "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*"'}, {"word": '_config ', "word_format": 'str.lower', 'word_type': 'append-left'}] }, '_feature_engineering_config.py': { 'inner_path': 'configs', "words": [{"word": '"asset_name": "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*\n*\s*:\s*\n*\s*"'}, {"word": '"asset_name": \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*\''}, {"word": '\'asset_name\': \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*\''}, {"word": '\'asset_name\': "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*"'}, {"word": '_config ', "word_format": 'str.lower', 'word_type': 'append-left'}] }, '_reuse_features_and_train_config.py': { 'inner_path': 'configs', "words": [{"word": '"asset_name": "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*\n*\s*:\s*\n*\s*"'}, {"word": '"asset_name": \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*\''}, {"word": '\'asset_name\': \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*\''}, {"word": '\'asset_name\': "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*"'}, {"word": '_config ', "word_format": 'str.lower', 'word_type': 'append-left'}] }, '_feature_engineering.py': { "words": [{"word": 'FeatureEngineering', "word_format": 'str_capitalize', 'word_type': 'append-left'}] }, '_visualizations.py': { "words": [] } }, "crash_course": { '_data_manager.py': { "words": [{"word": 'DataManager', "word_format": 'str_capitalize', 'word_type': 'append-left'}] }, '_model_manager.py': { "words": [{"word": 'ModelManager', "word_format": 'str_capitalize', 'word_type': 'append-left'}] }, '_train_config.json': { 'inner_path': 'configs', "words": [{"word": '"asset_name": "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*"'}, {"word": '_config ', "word_format": 'str.lower', 'word_type': 'append-left'}] }, '_forecast_config.json': { 'inner_path': 'configs', "words": [{"word": '"asset_name": "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*"'}, {"word": '_config ', "word_format": 'str.lower', 'word_type': 'append-left'}] } }, "basic_regression": { '_data_manager.py': { "words": [{"word": 'DataManager', "word_format": 'str_capitalize', 'word_type': 'append-left'}] }, '_model_manager.py': { "words": [{"word": 'ModelManager', "word_format": 'str_capitalize', 'word_type': 'append-left'}] }, '_train_config.py': { 'inner_path': 'configs', "words": [{"word": '"asset_name": "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*"'}, {"word": '"asset_name": \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*\''}, {"word": '\'asset_name\': \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*\''}, {"word": '\'asset_name\': "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*"'}, {"word": '_config ', "word_format": 'str.lower', 'word_type': 'append-left'}] }, '_forecast_config.py': { 'inner_path': 'configs', "words": [{"word": '"asset_name": "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*"'}, {"word": '"asset_name": \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*\''}, {"word": '\'asset_name\': \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*\''}, {"word": '\'asset_name\': "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*"'}, {"word": '_config ', "word_format": 'str.lower', 'word_type': 'append-left'}] }, '_custom_pipeline_config.py': { 'inner_path': 'configs', "words": [{"word": '"asset_name": "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*"'}, {"word": '"asset_name": \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*\''}, {"word": '\'asset_name\': \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*\''}, {"word": '\'asset_name\': "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*"'}, {"word": '_config ', "word_format": 'str.lower', 'word_type': 'append-left'}] }, '_feature_engineering_config.py': { 'inner_path': 'configs', "words": [{"word": '"asset_name": "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*"'}, {"word": '"asset_name": \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*\''}, {"word": '\'asset_name\': \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*\''}, {"word": '\'asset_name\': "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*"'}, {"word": '_config ', "word_format": 'str.lower', 'word_type': 'append-left'}] }, '_train_step_config.py': { 'inner_path': 'configs', "words": [{"word": '"asset_name": "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*"'}, {"word": '"asset_name": \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*\''}, {"word": '\'asset_name\': \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*\''}, {"word": '\'asset_name\': "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*"'}, {"word": '_config ', "word_format": 'str.lower', 'word_type': 'append-left'}] }, '_reuse_features_and_train_config.py': { 'inner_path': 'configs', "words": [{"word": '"asset_name": "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*"'}, {"word": '"asset_name": \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*\''}, {"word": '\'asset_name\': \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*\''}, {"word": '\'asset_name\': "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*"'}, {"word": '_config ', "word_format": 'str.lower', 'word_type': 'append-left'}] } }, "spark_classification": { '_data_manager.py': { "words": [{"word": 'DataManager', "word_format": 'str_capitalize', 'word_type': 'append-left'}, {"word": '_feature_engineering', "word_format": 'str.lower', 'word_type': 'append-left'}, {"word": 'from assets.', "word_format": 'str.lower', 'word_type': 'append-right'}, {"word": 'FeatureEngineering', "word_format": 'str_capitalize', 'word_type': 'append-left'}] }, '_model_manager.py': { "words": [{"word": 'ModelManager', "word_format": 'str_capitalize', 'word_type': 'append-left'}] }, '_train_config.py': { 'inner_path': 'configs', "words": [{"word": '"asset_name": "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*"'}, {"word": '"asset_name": \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*\''}, {"word": '\'asset_name\': \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*\''}, {"word": '\'asset_name\': "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*"'}, {"word": '_config ', "word_format": 'str.lower', 'word_type': 'append-left'}] }, '_forecast_config.py': { 'inner_path': 'configs', "words": [{"word": '"asset_name": "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*"'}, {"word": '"asset_name": \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*\''}, {"word": '\'asset_name\': \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*\''}, {"word": '\'asset_name\': "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*"'}, {"word": '_config ', "word_format": 'str.lower', 'word_type': 'append-left'}] }, '_feature_engineering.py': { "words": [{"word": 'FeatureEngineering', "word_format": 'str_capitalize', 'word_type': 'append-left'}] } }, "spark_regression": { '_data_manager.py': { "words": [{"word": 'DataManager', "word_format": 'str_capitalize', 'word_type': 'append-left'}] }, '_model_manager.py': { "words": [{"word": 'ModelManager', "word_format": 'str_capitalize', 'word_type': 'append-left'}] }, '_train_config.py': { 'inner_path': 'configs', "words": [{"word": '"asset_name": "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*"'}, {"word": '"asset_name": \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*\''}, {"word": '\'asset_name\': \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*\''}, {"word": '\'asset_name\': "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*"'}, {"word": '_config ', "word_format": 'str.lower', 'word_type': 'append-left'}] }, '_forecast_config.py': { 'inner_path': 'configs', "words": [{"word": '"asset_name": "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*"'}, {"word": '"asset_name": \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*\''}, {"word": '\'asset_name\': \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*\''}, {"word": '\'asset_name\': "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*"'}, {"word": '_config ', "word_format": 'str.lower', 'word_type': 'append-left'}] }, }, "advanced_regression": { '_data_manager.py': { "words": [{"word": 'DataManager', "word_format": 'str_capitalize', 'word_type': 'append-left'}] }, '_model_manager.py': { "words": [{"word": 'ModelManager', "word_format": 'str_capitalize', 'word_type': 'append-left'}] }, '_train_config.py': { 'inner_path': 'configs', "words": [{"word": '"asset_name": "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*"'}, {"word": '"asset_name": \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*\''}, {"word": '\'asset_name\': \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*\''}, {"word": '\'asset_name\': "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*"'}, {"word": '_config ', "word_format": 'str.lower', 'word_type': 'append-left'}] }, '_forecast_config.py': { 'inner_path': 'configs', "words": [{"word": '"asset_name": "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*"'}, {"word": '"asset_name": \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '"asset_name"\s*:\s*\''}, {"word": '\'asset_name\': \'', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*\''}, {"word": '\'asset_name\': "', "word_format": 'str.lower', 'word_type': 'append-right', "word_pattern": '\'asset_name\'\s*:\s*"'}, {"word": '_config ', "word_format": 'str.lower', 'word_type': 'append-left'}] } } }
rename_dictionary = {'base': {'_data_manager.py': {'words': [{'word': 'DataManager', 'word_format': 'str_capitalize', 'word_type': 'append-left'}]}, '_model_manager.py': {'words': [{'word': 'ModelManager', 'word_format': 'str_capitalize', 'word_type': 'append-left'}]}, '_train_config.py': {'inner_path': 'configs', 'words': [{'word': '"asset_name": "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*"'}, {'word': '"asset_name": \'', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*\''}, {'word': "'asset_name': '", 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': "'asset_name'\\s*:\\s*'"}, {'word': '\'asset_name\': "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '\'asset_name\'\\s*:\\s*"'}, {'word': '_config ', 'word_format': 'str.lower', 'word_type': 'append-left'}]}, '_forecast_config.py': {'inner_path': 'configs', 'words': [{'word': '"asset_name": "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*"'}, {'word': '"asset_name": \'', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*\''}, {'word': "'asset_name': '", 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': "'asset_name'\\s*:\\s*'"}, {'word': '\'asset_name\': "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '\'asset_name\'\\s*:\\s*"'}, {'word': '_config ', 'word_format': 'str.lower', 'word_type': 'append-left'}]}}, 'classification': {'_data_manager.py': {'words': [{'word': 'DataManager', 'word_format': 'str_capitalize', 'word_type': 'append-left'}, {'word': '_feature_engineering', 'word_format': 'str.lower', 'word_type': 'append-left'}, {'word': 'from assets.', 'word_format': 'str.lower', 'word_type': 'append-right'}, {'word': 'FeatureEngineering', 'word_format': 'str_capitalize', 'word_type': 'append-left'}]}, '_model_manager.py': {'words': [{'word': 'ModelManager', 'word_format': 'str_capitalize', 'word_type': 'append-left'}, {'word': '_visualizations', 'word_format': 'str.lower', 'word_type': 'append-left'}, {'word': 'from assets.', 'word_format': 'str.lower', 'word_type': 'append-right'}]}, '_train_config.py': {'inner_path': 'configs', 'words': [{'word': '"asset_name": "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*"'}, {'word': '"asset_name": \'', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*\''}, {'word': "'asset_name': '", 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': "'asset_name'\\s*:\\s*'"}, {'word': '\'asset_name\': "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '\'asset_name\'\\s*:\\s*"'}, {'word': '_config ', 'word_format': 'str.lower', 'word_type': 'append-left'}]}, '_forecast_config.py': {'inner_path': 'configs', 'words': [{'word': '"asset_name": "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*\n*\\s*:\\s*\n*\\s*"'}, {'word': '"asset_name": \'', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*\''}, {'word': "'asset_name': '", 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': "'asset_name'\\s*:\\s*'"}, {'word': '\'asset_name\': "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '\'asset_name\'\\s*:\\s*"'}, {'word': '_config ', 'word_format': 'str.lower', 'word_type': 'append-left'}]}, '_feature_engineering_config.py': {'inner_path': 'configs', 'words': [{'word': '"asset_name": "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*\n*\\s*:\\s*\n*\\s*"'}, {'word': '"asset_name": \'', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*\''}, {'word': "'asset_name': '", 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': "'asset_name'\\s*:\\s*'"}, {'word': '\'asset_name\': "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '\'asset_name\'\\s*:\\s*"'}, {'word': '_config ', 'word_format': 'str.lower', 'word_type': 'append-left'}]}, '_reuse_features_and_train_config.py': {'inner_path': 'configs', 'words': [{'word': '"asset_name": "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*\n*\\s*:\\s*\n*\\s*"'}, {'word': '"asset_name": \'', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*\''}, {'word': "'asset_name': '", 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': "'asset_name'\\s*:\\s*'"}, {'word': '\'asset_name\': "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '\'asset_name\'\\s*:\\s*"'}, {'word': '_config ', 'word_format': 'str.lower', 'word_type': 'append-left'}]}, '_feature_engineering.py': {'words': [{'word': 'FeatureEngineering', 'word_format': 'str_capitalize', 'word_type': 'append-left'}]}, '_visualizations.py': {'words': []}}, 'crash_course': {'_data_manager.py': {'words': [{'word': 'DataManager', 'word_format': 'str_capitalize', 'word_type': 'append-left'}]}, '_model_manager.py': {'words': [{'word': 'ModelManager', 'word_format': 'str_capitalize', 'word_type': 'append-left'}]}, '_train_config.json': {'inner_path': 'configs', 'words': [{'word': '"asset_name": "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*"'}, {'word': '_config ', 'word_format': 'str.lower', 'word_type': 'append-left'}]}, '_forecast_config.json': {'inner_path': 'configs', 'words': [{'word': '"asset_name": "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*"'}, {'word': '_config ', 'word_format': 'str.lower', 'word_type': 'append-left'}]}}, 'basic_regression': {'_data_manager.py': {'words': [{'word': 'DataManager', 'word_format': 'str_capitalize', 'word_type': 'append-left'}]}, '_model_manager.py': {'words': [{'word': 'ModelManager', 'word_format': 'str_capitalize', 'word_type': 'append-left'}]}, '_train_config.py': {'inner_path': 'configs', 'words': [{'word': '"asset_name": "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*"'}, {'word': '"asset_name": \'', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*\''}, {'word': "'asset_name': '", 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': "'asset_name'\\s*:\\s*'"}, {'word': '\'asset_name\': "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '\'asset_name\'\\s*:\\s*"'}, {'word': '_config ', 'word_format': 'str.lower', 'word_type': 'append-left'}]}, '_forecast_config.py': {'inner_path': 'configs', 'words': [{'word': '"asset_name": "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*"'}, {'word': '"asset_name": \'', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*\''}, {'word': "'asset_name': '", 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': "'asset_name'\\s*:\\s*'"}, {'word': '\'asset_name\': "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '\'asset_name\'\\s*:\\s*"'}, {'word': '_config ', 'word_format': 'str.lower', 'word_type': 'append-left'}]}, '_custom_pipeline_config.py': {'inner_path': 'configs', 'words': [{'word': '"asset_name": "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*"'}, {'word': '"asset_name": \'', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*\''}, {'word': "'asset_name': '", 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': "'asset_name'\\s*:\\s*'"}, {'word': '\'asset_name\': "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '\'asset_name\'\\s*:\\s*"'}, {'word': '_config ', 'word_format': 'str.lower', 'word_type': 'append-left'}]}, '_feature_engineering_config.py': {'inner_path': 'configs', 'words': [{'word': '"asset_name": "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*"'}, {'word': '"asset_name": \'', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*\''}, {'word': "'asset_name': '", 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': "'asset_name'\\s*:\\s*'"}, {'word': '\'asset_name\': "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '\'asset_name\'\\s*:\\s*"'}, {'word': '_config ', 'word_format': 'str.lower', 'word_type': 'append-left'}]}, '_train_step_config.py': {'inner_path': 'configs', 'words': [{'word': '"asset_name": "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*"'}, {'word': '"asset_name": \'', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*\''}, {'word': "'asset_name': '", 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': "'asset_name'\\s*:\\s*'"}, {'word': '\'asset_name\': "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '\'asset_name\'\\s*:\\s*"'}, {'word': '_config ', 'word_format': 'str.lower', 'word_type': 'append-left'}]}, '_reuse_features_and_train_config.py': {'inner_path': 'configs', 'words': [{'word': '"asset_name": "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*"'}, {'word': '"asset_name": \'', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*\''}, {'word': "'asset_name': '", 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': "'asset_name'\\s*:\\s*'"}, {'word': '\'asset_name\': "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '\'asset_name\'\\s*:\\s*"'}, {'word': '_config ', 'word_format': 'str.lower', 'word_type': 'append-left'}]}}, 'spark_classification': {'_data_manager.py': {'words': [{'word': 'DataManager', 'word_format': 'str_capitalize', 'word_type': 'append-left'}, {'word': '_feature_engineering', 'word_format': 'str.lower', 'word_type': 'append-left'}, {'word': 'from assets.', 'word_format': 'str.lower', 'word_type': 'append-right'}, {'word': 'FeatureEngineering', 'word_format': 'str_capitalize', 'word_type': 'append-left'}]}, '_model_manager.py': {'words': [{'word': 'ModelManager', 'word_format': 'str_capitalize', 'word_type': 'append-left'}]}, '_train_config.py': {'inner_path': 'configs', 'words': [{'word': '"asset_name": "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*"'}, {'word': '"asset_name": \'', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*\''}, {'word': "'asset_name': '", 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': "'asset_name'\\s*:\\s*'"}, {'word': '\'asset_name\': "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '\'asset_name\'\\s*:\\s*"'}, {'word': '_config ', 'word_format': 'str.lower', 'word_type': 'append-left'}]}, '_forecast_config.py': {'inner_path': 'configs', 'words': [{'word': '"asset_name": "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*"'}, {'word': '"asset_name": \'', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*\''}, {'word': "'asset_name': '", 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': "'asset_name'\\s*:\\s*'"}, {'word': '\'asset_name\': "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '\'asset_name\'\\s*:\\s*"'}, {'word': '_config ', 'word_format': 'str.lower', 'word_type': 'append-left'}]}, '_feature_engineering.py': {'words': [{'word': 'FeatureEngineering', 'word_format': 'str_capitalize', 'word_type': 'append-left'}]}}, 'spark_regression': {'_data_manager.py': {'words': [{'word': 'DataManager', 'word_format': 'str_capitalize', 'word_type': 'append-left'}]}, '_model_manager.py': {'words': [{'word': 'ModelManager', 'word_format': 'str_capitalize', 'word_type': 'append-left'}]}, '_train_config.py': {'inner_path': 'configs', 'words': [{'word': '"asset_name": "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*"'}, {'word': '"asset_name": \'', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*\''}, {'word': "'asset_name': '", 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': "'asset_name'\\s*:\\s*'"}, {'word': '\'asset_name\': "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '\'asset_name\'\\s*:\\s*"'}, {'word': '_config ', 'word_format': 'str.lower', 'word_type': 'append-left'}]}, '_forecast_config.py': {'inner_path': 'configs', 'words': [{'word': '"asset_name": "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*"'}, {'word': '"asset_name": \'', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*\''}, {'word': "'asset_name': '", 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': "'asset_name'\\s*:\\s*'"}, {'word': '\'asset_name\': "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '\'asset_name\'\\s*:\\s*"'}, {'word': '_config ', 'word_format': 'str.lower', 'word_type': 'append-left'}]}}, 'advanced_regression': {'_data_manager.py': {'words': [{'word': 'DataManager', 'word_format': 'str_capitalize', 'word_type': 'append-left'}]}, '_model_manager.py': {'words': [{'word': 'ModelManager', 'word_format': 'str_capitalize', 'word_type': 'append-left'}]}, '_train_config.py': {'inner_path': 'configs', 'words': [{'word': '"asset_name": "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*"'}, {'word': '"asset_name": \'', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*\''}, {'word': "'asset_name': '", 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': "'asset_name'\\s*:\\s*'"}, {'word': '\'asset_name\': "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '\'asset_name\'\\s*:\\s*"'}, {'word': '_config ', 'word_format': 'str.lower', 'word_type': 'append-left'}]}, '_forecast_config.py': {'inner_path': 'configs', 'words': [{'word': '"asset_name": "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*"'}, {'word': '"asset_name": \'', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '"asset_name"\\s*:\\s*\''}, {'word': "'asset_name': '", 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': "'asset_name'\\s*:\\s*'"}, {'word': '\'asset_name\': "', 'word_format': 'str.lower', 'word_type': 'append-right', 'word_pattern': '\'asset_name\'\\s*:\\s*"'}, {'word': '_config ', 'word_format': 'str.lower', 'word_type': 'append-left'}]}}}
# # PySNMP MIB module DELL-WLAN-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/DELL-WLAN-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:38:17 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueSizeConstraint, ValueRangeConstraint, ConstraintsUnion, SingleValueConstraint, ConstraintsIntersection = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsUnion", "SingleValueConstraint", "ConstraintsIntersection") ModuleCompliance, ObjectGroup, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "ObjectGroup", "NotificationGroup") Counter64, MibScalar, MibTable, MibTableRow, MibTableColumn, snmpModules, TimeTicks, ObjectIdentity, ModuleIdentity, Unsigned32, iso, enterprises, Integer32, IpAddress, NotificationType, MibIdentifier, Counter32, Gauge32, Bits = mibBuilder.importSymbols("SNMPv2-SMI", "Counter64", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "snmpModules", "TimeTicks", "ObjectIdentity", "ModuleIdentity", "Unsigned32", "iso", "enterprises", "Integer32", "IpAddress", "NotificationType", "MibIdentifier", "Counter32", "Gauge32", "Bits") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") dell = MibIdentifier((1, 3, 6, 1, 4, 1, 674)) powerConnect = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895)) w_650 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5001)).setLabel("w-650") w_651 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5002)).setLabel("w-651") w_3200 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5003)).setLabel("w-3200") w_3400 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5004)).setLabel("w-3400") w_3600 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5005)).setLabel("w-3600") w_AP92 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5006)).setLabel("w-AP92") w_AP93 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5007)).setLabel("w-AP93") w_AP105 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5008)).setLabel("w-AP105") w_AP124 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5009)).setLabel("w-AP124") w_AP125 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5010)).setLabel("w-AP125") w_RAP5 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5011)).setLabel("w-RAP5") w_RAP5WN = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5012)).setLabel("w-RAP5WN") w_RAP2 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5013)).setLabel("w-RAP2") w_620 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5014)).setLabel("w-620") w_6000M3 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5015)).setLabel("w-6000M3") w_7210 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5027)).setLabel("w-7210") w_7220 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5028)).setLabel("w-7220") w_7240 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5029)).setLabel("w-7240") w_7005 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5043)).setLabel("w-7005") w_7010 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5044)).setLabel("w-7010") w_7030 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5049)).setLabel("w-7030") w_7205 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5050)).setLabel("w-7205") w_7024 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5051)).setLabel("w-7024") w_AP68 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5016)).setLabel("w-AP68") w_AP68P = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5017)).setLabel("w-AP68P") w_AP175P = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5018)).setLabel("w-AP175P") w_AP175AC = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5019)).setLabel("w-AP175AC") w_AP175DC = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5020)).setLabel("w-AP175DC") w_AP134 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5021)).setLabel("w-AP134") w_AP135 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5022)).setLabel("w-AP135") w_AP93H = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5023)).setLabel("w-AP93H") w_AP104 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5024)).setLabel("w-AP104") w_IAP3WN = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5025)).setLabel("w-IAP3WN") w_IAP3WNP = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5026)).setLabel("w-IAP3WNP") w_IAP108 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5031)).setLabel("w-IAP108") w_IAP109 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5032)).setLabel("w-IAP109") w_AP224 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5033)).setLabel("w-AP224") w_AP225 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5034)).setLabel("w-AP225") w_IAP155 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5035)).setLabel("w-IAP155") w_IAP155P = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5036)).setLabel("w-IAP155P") w_AP114 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5037)).setLabel("w-AP114") w_AP115 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5038)).setLabel("w-AP115") w_AP274 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5039)).setLabel("w-AP274") w_AP275 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5040)).setLabel("w-AP275") w_AP277 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5052)).setLabel("w-AP277") w_AP228 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5054)).setLabel("w-AP228") w_AP103 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5045)).setLabel("w-AP103") w_AP103H = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5046)).setLabel("w-AP103H") w_AP204 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5047)).setLabel("w-AP204") w_AP205 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5048)).setLabel("w-AP205") w_AP205H = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5055)).setLabel("w-AP205H") w_AP214 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5041)).setLabel("w-AP214") w_AP215 = MibIdentifier((1, 3, 6, 1, 4, 1, 674, 10895, 5042)).setLabel("w-AP215") mibBuilder.exportSymbols("DELL-WLAN-MIB", w_AP175P=w_AP175P, w_AP68P=w_AP68P, w_AP205=w_AP205, w_7240=w_7240, w_AP225=w_AP225, powerConnect=powerConnect, w_6000M3=w_6000M3, w_7030=w_7030, w_7024=w_7024, w_AP224=w_AP224, w_3200=w_3200, w_AP134=w_AP134, w_7220=w_7220, w_AP124=w_AP124, w_AP204=w_AP204, w_3600=w_3600, w_AP215=w_AP215, w_AP92=w_AP92, w_7005=w_7005, w_AP93H=w_AP93H, w_AP105=w_AP105, w_AP103H=w_AP103H, w_620=w_620, w_AP104=w_AP104, w_IAP155=w_IAP155, w_RAP2=w_RAP2, w_AP115=w_AP115, w_RAP5=w_RAP5, w_AP125=w_AP125, w_IAP109=w_IAP109, w_IAP155P=w_IAP155P, w_AP214=w_AP214, w_AP135=w_AP135, w_AP228=w_AP228, w_IAP108=w_IAP108, w_7210=w_7210, w_IAP3WN=w_IAP3WN, w_AP93=w_AP93, dell=dell, w_IAP3WNP=w_IAP3WNP, w_650=w_650, w_AP68=w_AP68, w_651=w_651, w_AP277=w_AP277, w_AP274=w_AP274, w_AP205H=w_AP205H, w_AP275=w_AP275, w_3400=w_3400, w_7010=w_7010, w_AP175AC=w_AP175AC, w_AP175DC=w_AP175DC, w_AP114=w_AP114, w_RAP5WN=w_RAP5WN, w_7205=w_7205, w_AP103=w_AP103)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_size_constraint, value_range_constraint, constraints_union, single_value_constraint, constraints_intersection) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsUnion', 'SingleValueConstraint', 'ConstraintsIntersection') (module_compliance, object_group, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'ObjectGroup', 'NotificationGroup') (counter64, mib_scalar, mib_table, mib_table_row, mib_table_column, snmp_modules, time_ticks, object_identity, module_identity, unsigned32, iso, enterprises, integer32, ip_address, notification_type, mib_identifier, counter32, gauge32, bits) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter64', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'snmpModules', 'TimeTicks', 'ObjectIdentity', 'ModuleIdentity', 'Unsigned32', 'iso', 'enterprises', 'Integer32', 'IpAddress', 'NotificationType', 'MibIdentifier', 'Counter32', 'Gauge32', 'Bits') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') dell = mib_identifier((1, 3, 6, 1, 4, 1, 674)) power_connect = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895)) w_650 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5001)).setLabel('w-650') w_651 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5002)).setLabel('w-651') w_3200 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5003)).setLabel('w-3200') w_3400 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5004)).setLabel('w-3400') w_3600 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5005)).setLabel('w-3600') w_ap92 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5006)).setLabel('w-AP92') w_ap93 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5007)).setLabel('w-AP93') w_ap105 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5008)).setLabel('w-AP105') w_ap124 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5009)).setLabel('w-AP124') w_ap125 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5010)).setLabel('w-AP125') w_rap5 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5011)).setLabel('w-RAP5') w_rap5_wn = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5012)).setLabel('w-RAP5WN') w_rap2 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5013)).setLabel('w-RAP2') w_620 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5014)).setLabel('w-620') w_6000_m3 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5015)).setLabel('w-6000M3') w_7210 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5027)).setLabel('w-7210') w_7220 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5028)).setLabel('w-7220') w_7240 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5029)).setLabel('w-7240') w_7005 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5043)).setLabel('w-7005') w_7010 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5044)).setLabel('w-7010') w_7030 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5049)).setLabel('w-7030') w_7205 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5050)).setLabel('w-7205') w_7024 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5051)).setLabel('w-7024') w_ap68 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5016)).setLabel('w-AP68') w_ap68_p = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5017)).setLabel('w-AP68P') w_ap175_p = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5018)).setLabel('w-AP175P') w_ap175_ac = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5019)).setLabel('w-AP175AC') w_ap175_dc = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5020)).setLabel('w-AP175DC') w_ap134 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5021)).setLabel('w-AP134') w_ap135 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5022)).setLabel('w-AP135') w_ap93_h = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5023)).setLabel('w-AP93H') w_ap104 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5024)).setLabel('w-AP104') w_iap3_wn = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5025)).setLabel('w-IAP3WN') w_iap3_wnp = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5026)).setLabel('w-IAP3WNP') w_iap108 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5031)).setLabel('w-IAP108') w_iap109 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5032)).setLabel('w-IAP109') w_ap224 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5033)).setLabel('w-AP224') w_ap225 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5034)).setLabel('w-AP225') w_iap155 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5035)).setLabel('w-IAP155') w_iap155_p = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5036)).setLabel('w-IAP155P') w_ap114 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5037)).setLabel('w-AP114') w_ap115 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5038)).setLabel('w-AP115') w_ap274 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5039)).setLabel('w-AP274') w_ap275 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5040)).setLabel('w-AP275') w_ap277 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5052)).setLabel('w-AP277') w_ap228 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5054)).setLabel('w-AP228') w_ap103 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5045)).setLabel('w-AP103') w_ap103_h = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5046)).setLabel('w-AP103H') w_ap204 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5047)).setLabel('w-AP204') w_ap205 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5048)).setLabel('w-AP205') w_ap205_h = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5055)).setLabel('w-AP205H') w_ap214 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5041)).setLabel('w-AP214') w_ap215 = mib_identifier((1, 3, 6, 1, 4, 1, 674, 10895, 5042)).setLabel('w-AP215') mibBuilder.exportSymbols('DELL-WLAN-MIB', w_AP175P=w_AP175P, w_AP68P=w_AP68P, w_AP205=w_AP205, w_7240=w_7240, w_AP225=w_AP225, powerConnect=powerConnect, w_6000M3=w_6000M3, w_7030=w_7030, w_7024=w_7024, w_AP224=w_AP224, w_3200=w_3200, w_AP134=w_AP134, w_7220=w_7220, w_AP124=w_AP124, w_AP204=w_AP204, w_3600=w_3600, w_AP215=w_AP215, w_AP92=w_AP92, w_7005=w_7005, w_AP93H=w_AP93H, w_AP105=w_AP105, w_AP103H=w_AP103H, w_620=w_620, w_AP104=w_AP104, w_IAP155=w_IAP155, w_RAP2=w_RAP2, w_AP115=w_AP115, w_RAP5=w_RAP5, w_AP125=w_AP125, w_IAP109=w_IAP109, w_IAP155P=w_IAP155P, w_AP214=w_AP214, w_AP135=w_AP135, w_AP228=w_AP228, w_IAP108=w_IAP108, w_7210=w_7210, w_IAP3WN=w_IAP3WN, w_AP93=w_AP93, dell=dell, w_IAP3WNP=w_IAP3WNP, w_650=w_650, w_AP68=w_AP68, w_651=w_651, w_AP277=w_AP277, w_AP274=w_AP274, w_AP205H=w_AP205H, w_AP275=w_AP275, w_3400=w_3400, w_7010=w_7010, w_AP175AC=w_AP175AC, w_AP175DC=w_AP175DC, w_AP114=w_AP114, w_RAP5WN=w_RAP5WN, w_7205=w_7205, w_AP103=w_AP103)
class SyscallHandler: def __init__(self, idx, name, arg_count, callback): self.idx = idx self.name = name self.arg_count = arg_count self.callback = callback
class Syscallhandler: def __init__(self, idx, name, arg_count, callback): self.idx = idx self.name = name self.arg_count = arg_count self.callback = callback
""" Determine whether the sequence of elements `items` is ascending so that each element is strictly larger than (and not merely equal to) the element that precedes it. Input: Iterable with ints. Output: Bool. The mission was taken from Python CCPS 109 Fall 2018. It is taught for Ryerson Chang School of Continuing Education by Ilkka Kokkarinen """ ... if __name__ == '__main__': print("Example:") print(is_ascending([-5, 10, 99, 123456])) # These "asserts" are used for self-checking and not for an auto-testing assert is_ascending([-5, 10, 99, 123456]) is True assert is_ascending([99]) is True assert is_ascending([4, 5, 6, 7, 3, 7, 9]) is False assert is_ascending([]) is True assert is_ascending([1, 1, 1, 1]) is False
""" Determine whether the sequence of elements `items` is ascending so that each element is strictly larger than (and not merely equal to) the element that precedes it. Input: Iterable with ints. Output: Bool. The mission was taken from Python CCPS 109 Fall 2018. It is taught for Ryerson Chang School of Continuing Education by Ilkka Kokkarinen """ ... if __name__ == '__main__': print('Example:') print(is_ascending([-5, 10, 99, 123456])) assert is_ascending([-5, 10, 99, 123456]) is True assert is_ascending([99]) is True assert is_ascending([4, 5, 6, 7, 3, 7, 9]) is False assert is_ascending([]) is True assert is_ascending([1, 1, 1, 1]) is False
# Definition for an interval. # class Interval: # def __init__(self, s=0, e=0): # self.start = s # self.end = e class Solution: def merge(self, intervals: List[Interval]) -> List[Interval]: result = [] for interval in sorted(intervals, key=lambda x:x.start): if result and interval.start <= result[-1].end: result[-1].end = max(result[-1].end, interval.end) else: result.append(interval) return result
class Solution: def merge(self, intervals: List[Interval]) -> List[Interval]: result = [] for interval in sorted(intervals, key=lambda x: x.start): if result and interval.start <= result[-1].end: result[-1].end = max(result[-1].end, interval.end) else: result.append(interval) return result
#!/usr/bin/env python3 class ConfKeys: ''' A central place to keep all the cashshuffle-related config and wallet.storage keys for easier code maintenance. ''' class Global: '''The below go in the global config ''' # keys to be deleted if we ever see them. This keys are from older versions and are irrelevant now. DEFUNCT = ('cashshuffle_server', 'cashshuffle_server_v1', 'shuffle_noprompt', 'shuffle_noprompt2',) SERVER = "cashshuffle_server_v2" # specifies server config to use VIEW_POOLS_SIMPLE = 'shuffle_view_pools_simple' # specifies that the "Pools" window shows a reduced/simplified view. Defaults to True if not found in conf. HIDE_TXS_FROM_HISTORY = 'shuffle_hide_txs_from_history' # Default false. if true, all history lists app-wide will suppress the Shuffle transactions from the history MIN_COIN_VALUE = 'shuffle_min_coin_value' # specifies the lower bound that the user set on what coin value (amount) can be eligible for shuffling. MAX_COIN_VALUE = 'shuffle_max_coin_value' # spcifies the upper bound that the user set on what coin value (amount) can be eligible for shuffling. class PerWallet: '''The below are per-wallet and go in wallet.storage''' # keys to be deleted if we ever see them. This keys are from older versions and are irrelevant now. DEFUNCT = ('shuffle_spend_mode',) ENABLED = 'cashshuffle_enabled' # whether cashshuffle is enabeld for this wallet. MAIN_WINDOW_NAGGER_ANSWER = 'shuffle_nagger_answer' # if None, nag user about "this wallet has cashshuffle disabled" on wallet startup. see main_window.py, if boolean value and not None, user won't be nagged but cashshuffle will auto-enable itself (or not) based on this value. TODO: also put this in the app preferences. SESSION_COUNTER = 'shuffle_session_counter' # the number of times this wallet window has run cashshuffle. Incremented on each enabling, per wallet. SHUFFLE_COUNTER = 'shuffle_shuffle_counter' # the number of successful shuffles we have performed with this plugin for this wallet. COINS_FROZEN_BY_SHUFFLING = 'coins_frozen_by_shuffling' # list of coins frozen by shuffling. in case we crash. SPEND_UNSHUFFLED_NAGGER_NOPROMPT = 'shuffle_spend_unshuffled_nonag' # Whether or not to nag the user when they select "spend unshuffled" in Send tab. DISABLE_NAGGER_NOPROMPT = 'shuffle_disable_nonag' CHANGE_SHARED_WITH_OTHERS = 'shuffle_change_addrs_shared_with_others' # A list of addresses we've sent over the network as 'change' addrs. These should not be used as shuffled output addresses as it would leak a bit of privacy. See clifordsymack#105
class Confkeys: """ A central place to keep all the cashshuffle-related config and wallet.storage keys for easier code maintenance. """ class Global: """The below go in the global config """ defunct = ('cashshuffle_server', 'cashshuffle_server_v1', 'shuffle_noprompt', 'shuffle_noprompt2') server = 'cashshuffle_server_v2' view_pools_simple = 'shuffle_view_pools_simple' hide_txs_from_history = 'shuffle_hide_txs_from_history' min_coin_value = 'shuffle_min_coin_value' max_coin_value = 'shuffle_max_coin_value' class Perwallet: """The below are per-wallet and go in wallet.storage""" defunct = ('shuffle_spend_mode',) enabled = 'cashshuffle_enabled' main_window_nagger_answer = 'shuffle_nagger_answer' session_counter = 'shuffle_session_counter' shuffle_counter = 'shuffle_shuffle_counter' coins_frozen_by_shuffling = 'coins_frozen_by_shuffling' spend_unshuffled_nagger_noprompt = 'shuffle_spend_unshuffled_nonag' disable_nagger_noprompt = 'shuffle_disable_nonag' change_shared_with_others = 'shuffle_change_addrs_shared_with_others'
L = [ lambda x: x**2, lambda x: x**3, lambda x: x**4] for f in L: print(f(3)) # call the 3 lamnda expression, i.e. print 2**2, 2**3, 2**4 print('L[0]={0}'.format(L[0])) print(L[0](2)) sum = lambda x, y : x + y print('sum = ', sum(1, 2)) f = print f('sum == ', sum(200,100))
l = [lambda x: x ** 2, lambda x: x ** 3, lambda x: x ** 4] for f in L: print(f(3)) print('L[0]={0}'.format(L[0])) print(L[0](2)) sum = lambda x, y: x + y print('sum = ', sum(1, 2)) f = print f('sum == ', sum(200, 100))
# A rule that declares all the files needed to run an Android emulator. # Targets that depend on this rule can then launch the emulator using # the script that is generated by this rule. def _avd_impl(ctx): # Look for the source.properties file in the system image to get information # about the image from. source_properties_path = None system_image_files = ctx.attr.image[DefaultInfo].files.to_list() for system_image_file in system_image_files: if system_image_file.basename == "source.properties": source_properties_path = system_image_file.path break if source_properties_path == None: fail("Supplied system image does not contain a source.properties file") executable = ctx.outputs.executable ctx.actions.expand_template( template = ctx.file._template, output = executable, is_executable = True, substitutions = { "%source_properties_path%": source_properties_path, }, ) runfiles = ctx.runfiles(files = [executable] + ctx.files._emulator + ctx.files.platform + ctx.files._platform_tools + ctx.files.image) return [DefaultInfo(runfiles = runfiles)] avd = rule( implementation = _avd_impl, attrs = { "_template": attr.label( default = "//tools/base/bazel/avd:emulator_launcher.sh.template", allow_single_file = True, ), "_emulator": attr.label( default = "//prebuilts/android-emulator:emulator", ), "_platform_tools": attr.label( default = "//prebuilts/studio/sdk:platform-tools", ), "image": attr.label( default = "@system_image_android-29_default_x86_64//:x86_64-android-29-images", ), "platform": attr.label( default = "//prebuilts/studio/sdk:platforms/latest", ), }, executable = True, )
def _avd_impl(ctx): source_properties_path = None system_image_files = ctx.attr.image[DefaultInfo].files.to_list() for system_image_file in system_image_files: if system_image_file.basename == 'source.properties': source_properties_path = system_image_file.path break if source_properties_path == None: fail('Supplied system image does not contain a source.properties file') executable = ctx.outputs.executable ctx.actions.expand_template(template=ctx.file._template, output=executable, is_executable=True, substitutions={'%source_properties_path%': source_properties_path}) runfiles = ctx.runfiles(files=[executable] + ctx.files._emulator + ctx.files.platform + ctx.files._platform_tools + ctx.files.image) return [default_info(runfiles=runfiles)] avd = rule(implementation=_avd_impl, attrs={'_template': attr.label(default='//tools/base/bazel/avd:emulator_launcher.sh.template', allow_single_file=True), '_emulator': attr.label(default='//prebuilts/android-emulator:emulator'), '_platform_tools': attr.label(default='//prebuilts/studio/sdk:platform-tools'), 'image': attr.label(default='@system_image_android-29_default_x86_64//:x86_64-android-29-images'), 'platform': attr.label(default='//prebuilts/studio/sdk:platforms/latest')}, executable=True)
class Solution: def sortArrayByParityII(self, A: List[int]) -> List[int]: n = len(A) i = 0 j = 1 while i < n: while i < n and A[i] % 2 == 0: i += 2 while j < n and A[j] % 2 == 1: j += 2 if i < n: A[i], A[j] = A[j], A[i] i += 2 j += 2 return A
class Solution: def sort_array_by_parity_ii(self, A: List[int]) -> List[int]: n = len(A) i = 0 j = 1 while i < n: while i < n and A[i] % 2 == 0: i += 2 while j < n and A[j] % 2 == 1: j += 2 if i < n: (A[i], A[j]) = (A[j], A[i]) i += 2 j += 2 return A
description = 'Devices for configuring Histogram Memory' excludes = ['hm_config_strobo'] devices = dict( hm_connector = device('nicos_sinq.devices.sinqhm.connector.HttpConnector', description = "Connector for Histogram Memory Server", byteorder = configdata('config.HISTOGRAM_MEMORY_ENDIANESS'), baseurl = configdata('config.HISTOGRAM_MEMORY_URL'), base64auth = 'c3B5OjAwNw==', lowlevel = True ), hm_b0_ax_x = device('nicos_sinq.devices.sinqhm.configurator.HistogramConfAxis', description = 'Detector ID', lowlevel = True, length = 16384, mapping = 'direct', label = 'Detector-ID', unit = '', ), hm_bank0 = device('nicos_sinq.devices.sinqhm.configurator.HistogramConfBank', description = 'HM First Bank', lowlevel = True, bankid = 0, axes = ['hm_b0_ax_x'] ), hm_configurator = device('nicos_sinq.devices.sinqhm.configurator.ConfiguratorBase', description = 'Configurator for the histogram memory', filler = 'dig', mask = '0x2000000', active = '0x00000000', increment = 1, banks = ['hm_bank0'], connector = 'hm_connector' ), )
description = 'Devices for configuring Histogram Memory' excludes = ['hm_config_strobo'] devices = dict(hm_connector=device('nicos_sinq.devices.sinqhm.connector.HttpConnector', description='Connector for Histogram Memory Server', byteorder=configdata('config.HISTOGRAM_MEMORY_ENDIANESS'), baseurl=configdata('config.HISTOGRAM_MEMORY_URL'), base64auth='c3B5OjAwNw==', lowlevel=True), hm_b0_ax_x=device('nicos_sinq.devices.sinqhm.configurator.HistogramConfAxis', description='Detector ID', lowlevel=True, length=16384, mapping='direct', label='Detector-ID', unit=''), hm_bank0=device('nicos_sinq.devices.sinqhm.configurator.HistogramConfBank', description='HM First Bank', lowlevel=True, bankid=0, axes=['hm_b0_ax_x']), hm_configurator=device('nicos_sinq.devices.sinqhm.configurator.ConfiguratorBase', description='Configurator for the histogram memory', filler='dig', mask='0x2000000', active='0x00000000', increment=1, banks=['hm_bank0'], connector='hm_connector'))
a=[] n=int(input("Range: ")) for i in range(1,n+1): num=int(input("Enter Values: ")) a.append(num) for i in range(1,n+1): if(i not in a): print(i)
a = [] n = int(input('Range: ')) for i in range(1, n + 1): num = int(input('Enter Values: ')) a.append(num) for i in range(1, n + 1): if i not in a: print(i)
SCREENWIDTH = 288 SCREENHEIGHT = 512 FPS = 30 totalPlayers = 50 totalParents = 20 PIPEGAPSIZE = 150 BASEY = SCREENHEIGHT * 0.79 PLAYER_IMAGE = ( 'assets/sprites/bluebird-upflap.png', 'assets/sprites/bluebird-midflap.png', 'assets/sprites/bluebird-downflap.png', ) BACKGROUND_IMAGE = ( 'assets/sprites/background-day.png', ) PIPE_IMAGE = ( 'assets/sprites/pipe-green.png', ) BASE_IMAGE = ( 'assets/sprites/base.png' )
screenwidth = 288 screenheight = 512 fps = 30 total_players = 50 total_parents = 20 pipegapsize = 150 basey = SCREENHEIGHT * 0.79 player_image = ('assets/sprites/bluebird-upflap.png', 'assets/sprites/bluebird-midflap.png', 'assets/sprites/bluebird-downflap.png') background_image = ('assets/sprites/background-day.png',) pipe_image = ('assets/sprites/pipe-green.png',) base_image = 'assets/sprites/base.png'
# Version number of the latest code of conduct CONDUCT_VERSION = 1 # Number of elements in each page of ratings RATING_PAGE_SIZE = 10 # Threshold of number of ratings to display overall rating NUM_RATING_SIGNIFICANT = 3 # Maximum number of characters of comment MAX_COMMENT_LENGTH = 25565
conduct_version = 1 rating_page_size = 10 num_rating_significant = 3 max_comment_length = 25565
"""Example Process class.""" class Process(object): """Example process.""" def __init__(self, num=0): """Initialize a new Process. :num: Number """ self.num = num def get_double(self): """Return the number.""" return {"double": (2 * self.num)}
"""Example Process class.""" class Process(object): """Example process.""" def __init__(self, num=0): """Initialize a new Process. :num: Number """ self.num = num def get_double(self): """Return the number.""" return {'double': 2 * self.num}
_base_ = ['../_base_/base_dynamic.py', '../../_base_/backends/ncnn.py'] codebase_config = dict(model_type='ncnn_end2end') onnx_config = dict(output_names=['detection_output'], input_shape=None)
_base_ = ['../_base_/base_dynamic.py', '../../_base_/backends/ncnn.py'] codebase_config = dict(model_type='ncnn_end2end') onnx_config = dict(output_names=['detection_output'], input_shape=None)
# Copyright Pincer 2021-Present # Full MIT License can be found in `LICENSE` at the project root. """ sent when a user parts a subscribed voice channel""" # TODO: Implement event
""" sent when a user parts a subscribed voice channel"""
#! /usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2018, Sujeet Akula <sujeet@freeboson.org> # Distributed under terms of the MIT license. __version__ = '0.1.0'
__version__ = '0.1.0'
N = int(input()) S = input() for kind1 in range(2): for kind2 in range(2): T = [0] * (N + 2) T[0] = kind1 T[1] = kind2 for i in range(1, N + 1): if T[i] == 0 and S[i % N] == 'o': T[i + 1] = T[i - 1] elif T[i] == 0 and S[i % N] == 'x': T[i + 1] = T[i - 1] ^ 1 elif T[i] == 1 and S[i % N] == 'o': T[i + 1] = T[i - 1] ^ 1 else: T[i + 1] = T[i - 1] if T[0] == T[-2] and T[1] == T[-1]: print(''.join("SW"[t] for t in T[:-2])) quit() print(-1)
n = int(input()) s = input() for kind1 in range(2): for kind2 in range(2): t = [0] * (N + 2) T[0] = kind1 T[1] = kind2 for i in range(1, N + 1): if T[i] == 0 and S[i % N] == 'o': T[i + 1] = T[i - 1] elif T[i] == 0 and S[i % N] == 'x': T[i + 1] = T[i - 1] ^ 1 elif T[i] == 1 and S[i % N] == 'o': T[i + 1] = T[i - 1] ^ 1 else: T[i + 1] = T[i - 1] if T[0] == T[-2] and T[1] == T[-1]: print(''.join(('SW'[t] for t in T[:-2]))) quit() print(-1)
print("Bitwise Operator") # 0 - 00 # 1 - 01 # 2 - 10 # 3 - 11 print(0 | 1) # OR print(0 | 2) print(1 | 3) print(2 | 3) print(0 & 1) # AND
print('Bitwise Operator') print(0 | 1) print(0 | 2) print(1 | 3) print(2 | 3) print(0 & 1)
''' There are n rooms labeled from 0 to n - 1 and all the rooms are locked except for room 0. Your goal is to visit all the rooms. However, you cannot enter a locked room without having its key. When you visit a room, you may find a set of distinct keys in it. Each key has a number on it, denoting which room it unlocks, and you can take all of them with you to unlock the other rooms. Given an array rooms where rooms[i] is the set of keys that you can obtain if you visited room i, return true if you can visit all the rooms, or false otherwise. ''' class Solution: def canVisitAllRooms(self, rooms: List[List[int]]) -> bool: que = [0] visited = set() visited.add(0) while que: room_id = que.pop(0) for key in rooms[room_id]: if key not in visited: que.append(key) visited.add(key) # print(visited) return len(visited) == len(rooms)
""" There are n rooms labeled from 0 to n - 1 and all the rooms are locked except for room 0. Your goal is to visit all the rooms. However, you cannot enter a locked room without having its key. When you visit a room, you may find a set of distinct keys in it. Each key has a number on it, denoting which room it unlocks, and you can take all of them with you to unlock the other rooms. Given an array rooms where rooms[i] is the set of keys that you can obtain if you visited room i, return true if you can visit all the rooms, or false otherwise. """ class Solution: def can_visit_all_rooms(self, rooms: List[List[int]]) -> bool: que = [0] visited = set() visited.add(0) while que: room_id = que.pop(0) for key in rooms[room_id]: if key not in visited: que.append(key) visited.add(key) return len(visited) == len(rooms)
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ''' constants.py Contains all the application constants. As a rule all constants are named in all caps. ''' APPLICATION = "countdown" QTGUI = True PYPROPS_CORELIBPATH = '../../core' PUBLISHALLDATA_PERIOD = 30.0 USE_GPIO = True #__________________________________________________________________ # Required by QtMqttApp ORGANIZATIONDOMAIN = "xcape.io" ORGANIZATIONNAME = "xcape.io" MQTT_DEFAULT_HOST = 'localhost' MQTT_DEFAULT_PORT = 1883 MQTT_DEFAULT_QoS = 1 MQTT_KEEPALIVE = 15 # 15 seconds is default MQTT_KEEPALIVE in Arduino PubSubClient.h #__________________________________________________________________ # Required by CountdownApp
""" constants.py Contains all the application constants. As a rule all constants are named in all caps. """ application = 'countdown' qtgui = True pyprops_corelibpath = '../../core' publishalldata_period = 30.0 use_gpio = True organizationdomain = 'xcape.io' organizationname = 'xcape.io' mqtt_default_host = 'localhost' mqtt_default_port = 1883 mqtt_default__qo_s = 1 mqtt_keepalive = 15
print('Calories Burned Running Calculator') km = float(input('Please enter your km: ')) weight = float(input('Please enter your weight: ')) kcal = km*weight*1.036 print('This is your burn running: '+ str(kcal))
print('Calories Burned Running Calculator') km = float(input('Please enter your km: ')) weight = float(input('Please enter your weight: ')) kcal = km * weight * 1.036 print('This is your burn running: ' + str(kcal))
word = list(input()) word[0] = word[0].upper() print(''.join(word))
word = list(input()) word[0] = word[0].upper() print(''.join(word))
## https://leetcode.com/problems/reverse-words-in-a-string-iii ## this one is actually easier than II because we just split on ## empty space, then join the reversed words around a space ## comes in at ~91st percentile for runtime and 91st for memory. class Solution: def reverseWords(self, s: str) -> str: return ' '.join(w[::-1] for w in s.split())
class Solution: def reverse_words(self, s: str) -> str: return ' '.join((w[::-1] for w in s.split()))
with open('inputs/input15.txt') as fin: a = [int(x) for x in (fin.read()).split(',')] def solve(data, number): loc = {index: value for value, index in enumerate(data[:-1])} num = data[-1] index = len(data) - 2 while index < (number - 2): if num in loc: store = loc[num] loc[num] = index + 1 num = index - store + 1 index += 1 else: loc[num] = index + 1 num = 0 index += 1 return num print(solve(a, 2020)) print(solve(a, 30000000))
with open('inputs/input15.txt') as fin: a = [int(x) for x in fin.read().split(',')] def solve(data, number): loc = {index: value for (value, index) in enumerate(data[:-1])} num = data[-1] index = len(data) - 2 while index < number - 2: if num in loc: store = loc[num] loc[num] = index + 1 num = index - store + 1 index += 1 else: loc[num] = index + 1 num = 0 index += 1 return num print(solve(a, 2020)) print(solve(a, 30000000))
"""Given an array of integers arr, a lucky integer is an integer that has a frequency in the array equal to its value. Return the largest lucky integer in the array. If there is no lucky integer return -1. Example 1: Input: arr = [2,2,3,4] Output: 2 Explanation: The only lucky number in the array is 2 because frequency[2] == 2.""" def solution(arr): keyequalsvalue = [] hashtable = {i: arr.count(i) for i in arr} for k, v in hashtable.items(): if k == v: # storing all the lucky integers keyequalsvalue.append(k) # checking whether there is any lucky inteher or not if keyequalsvalue: # finding the max lucky integer from all the lucky integers return max(keyequalsvalue) return -1 arr = [1, 2, 2, 3, 3, 3] print(solution(arr))
"""Given an array of integers arr, a lucky integer is an integer that has a frequency in the array equal to its value. Return the largest lucky integer in the array. If there is no lucky integer return -1. Example 1: Input: arr = [2,2,3,4] Output: 2 Explanation: The only lucky number in the array is 2 because frequency[2] == 2.""" def solution(arr): keyequalsvalue = [] hashtable = {i: arr.count(i) for i in arr} for (k, v) in hashtable.items(): if k == v: keyequalsvalue.append(k) if keyequalsvalue: return max(keyequalsvalue) return -1 arr = [1, 2, 2, 3, 3, 3] print(solution(arr))
#!/usr/bin/python def solution(S, C): pass # Press the green button in the gutter to run the script. if __name__ == '__main__': solution("abccdb", [0, 1, 2, 3, 4, 5])
def solution(S, C): pass if __name__ == '__main__': solution('abccdb', [0, 1, 2, 3, 4, 5])
''' A class is a structure that allows you to combine the data and functionality associated with a particular task. The variables of a class are attributes. The functions of a class are methods. ''' class Arithmetic: #def __init__(self, number1=10, number2=20): #def __init__(self, number1=4, number2=8): def __init__(self, number1=100, number2=200): # Idea behind this logic is to ensure number2 is greater or equal to number1. if(number1 > number2): self.number2 = number1 self.number1 = number2 else: self.number1 = number1 self.number2 = number2 def add(self): return self.number1 + self.number2 def subtract(self): return self.number2 - self.number1 def multiply(self): return self.number1 * self.number2 def divide(self): return self.number2 / self.number1 def remainder(self): return self.number2 % self.number1 def expo_num1(self): return self.number1**2 def expo_num2(self): return self.number2**2 def print_self(self): print(self) ''' print("-----Practice ---Example of a 'class' ----------") class Computer: def config(self): print('cable', 'mouse', 'key_board') com1 = Computer() Computer.config(com1) print('--or--') com1.config() '''
""" A class is a structure that allows you to combine the data and functionality associated with a particular task. The variables of a class are attributes. The functions of a class are methods. """ class Arithmetic: def __init__(self, number1=100, number2=200): if number1 > number2: self.number2 = number1 self.number1 = number2 else: self.number1 = number1 self.number2 = number2 def add(self): return self.number1 + self.number2 def subtract(self): return self.number2 - self.number1 def multiply(self): return self.number1 * self.number2 def divide(self): return self.number2 / self.number1 def remainder(self): return self.number2 % self.number1 def expo_num1(self): return self.number1 ** 2 def expo_num2(self): return self.number2 ** 2 def print_self(self): print(self) '\nprint("-----Practice ---Example of a \'class\' ----------")\n\nclass Computer:\n def config(self):\n print(\'cable\', \'mouse\', \'key_board\')\n\ncom1 = Computer()\nComputer.config(com1)\nprint(\'--or--\')\ncom1.config()\n'
class RequestOptionsBase(object): def apply_query_params(self, url): raise NotImplementedError() class RequestOptions(RequestOptionsBase): class Operator: Equals = 'eq' GreaterThan = 'gt' GreaterThanOrEqual = 'gte' LessThan = 'lt' LessThanOrEqual = 'lte' In = 'in' class Field: CreatedAt = 'createdAt' LastLogin = 'lastLogin' Name = 'name' OwnerName = 'ownerName' SiteRole = 'siteRole' Tags = 'tags' UpdatedAt = 'updatedAt' class Direction: Desc = 'desc' Asc = 'asc' def __init__(self, pagenumber=1, pagesize=100): self.pagenumber = pagenumber self.pagesize = pagesize self.sort = set() self.filter = set() def page_size(self, page_size): self.pagesize = page_size return self def page_number(self, page_number): self.pagenumber = page_number return self def apply_query_params(self, url): params = [] if '?' in url: url, existing_params = url.split('?') params.append(existing_params) if self.page_number: params.append('pageNumber={0}'.format(self.pagenumber)) if self.page_size: params.append('pageSize={0}'.format(self.pagesize)) if len(self.sort) > 0: sort_options = (str(sort_item) for sort_item in self.sort) ordered_sort_options = sorted(sort_options) params.append('sort={}'.format(','.join(ordered_sort_options))) if len(self.filter) > 0: filter_options = (str(filter_item) for filter_item in self.filter) ordered_filter_options = sorted(filter_options) params.append('filter={}'.format(','.join(ordered_filter_options))) return "{0}?{1}".format(url, '&'.join(params)) class ImageRequestOptions(RequestOptionsBase): # if 'high' isn't specified, the REST API endpoint returns an image with standard resolution class Resolution: High = 'high' def __init__(self, imageresolution=None): self.image_resolution = imageresolution def apply_query_params(self, url): params = [] if self.image_resolution: params.append('resolution={0}'.format(self.image_resolution)) return "{0}?{1}".format(url, '&'.join(params)) class PDFRequestOptions(RequestOptionsBase): # if 'high' isn't specified, the REST API endpoint returns an image with standard resolution class PageType: A3 = "a3" A4 = "a4" A5 = "a5" B4 = "b4" B5 = "b5" Executive = "executive" Folio = "folio" Ledger = "ledger" Legal = "legal" Letter = "letter" Note = "note" Quarto = "quarto" Tabloid = "tabloid" class Orientation: Portrait = "portrait" Landscape = "landscape" def __init__(self, page_type=None, orientation=None): self.page_type = page_type self.orientation = orientation def apply_query_params(self, url): params = [] if self.page_type: params.append('type={0}'.format(self.page_type)) if self.orientation: params.append('orientation={0}'.format(self.orientation)) return "{0}?{1}".format(url, '&'.join(params))
class Requestoptionsbase(object): def apply_query_params(self, url): raise not_implemented_error() class Requestoptions(RequestOptionsBase): class Operator: equals = 'eq' greater_than = 'gt' greater_than_or_equal = 'gte' less_than = 'lt' less_than_or_equal = 'lte' in = 'in' class Field: created_at = 'createdAt' last_login = 'lastLogin' name = 'name' owner_name = 'ownerName' site_role = 'siteRole' tags = 'tags' updated_at = 'updatedAt' class Direction: desc = 'desc' asc = 'asc' def __init__(self, pagenumber=1, pagesize=100): self.pagenumber = pagenumber self.pagesize = pagesize self.sort = set() self.filter = set() def page_size(self, page_size): self.pagesize = page_size return self def page_number(self, page_number): self.pagenumber = page_number return self def apply_query_params(self, url): params = [] if '?' in url: (url, existing_params) = url.split('?') params.append(existing_params) if self.page_number: params.append('pageNumber={0}'.format(self.pagenumber)) if self.page_size: params.append('pageSize={0}'.format(self.pagesize)) if len(self.sort) > 0: sort_options = (str(sort_item) for sort_item in self.sort) ordered_sort_options = sorted(sort_options) params.append('sort={}'.format(','.join(ordered_sort_options))) if len(self.filter) > 0: filter_options = (str(filter_item) for filter_item in self.filter) ordered_filter_options = sorted(filter_options) params.append('filter={}'.format(','.join(ordered_filter_options))) return '{0}?{1}'.format(url, '&'.join(params)) class Imagerequestoptions(RequestOptionsBase): class Resolution: high = 'high' def __init__(self, imageresolution=None): self.image_resolution = imageresolution def apply_query_params(self, url): params = [] if self.image_resolution: params.append('resolution={0}'.format(self.image_resolution)) return '{0}?{1}'.format(url, '&'.join(params)) class Pdfrequestoptions(RequestOptionsBase): class Pagetype: a3 = 'a3' a4 = 'a4' a5 = 'a5' b4 = 'b4' b5 = 'b5' executive = 'executive' folio = 'folio' ledger = 'ledger' legal = 'legal' letter = 'letter' note = 'note' quarto = 'quarto' tabloid = 'tabloid' class Orientation: portrait = 'portrait' landscape = 'landscape' def __init__(self, page_type=None, orientation=None): self.page_type = page_type self.orientation = orientation def apply_query_params(self, url): params = [] if self.page_type: params.append('type={0}'.format(self.page_type)) if self.orientation: params.append('orientation={0}'.format(self.orientation)) return '{0}?{1}'.format(url, '&'.join(params))
def increment(n): return n+1 def square(n): return n*n def imperative (initial, goal): list_functions=[(" increment", increment),(" square", square)] candidates=[(str(initial), initial)] for x in range (goal-initial+1): newCandidates=[] for (action,result) in candidates: for (a, r) in list_functions: newCandidates.append((action+a,r(result))) if newCandidates[-1][1]==goal: return newCandidates[-1][0] candidates=newCandidates class Node: def __init__(self, parent, action, result): self.parent=parent self.action=action self.result=result def path(self): if self.parent==None: return [(self.action, self.result)] else: return self.parent.path()+[(self.action, self.result)] def objective(initial, goal): start=[Node(None, None, initial)] for x in range (goal-initial+1): parent=start[0] start=start[1:] for (a,r) in [(" increment", increment), (" square", square)]: newNode=Node(parent,a, r(parent.result)) if newNode.result==goal: return newNode.path() else: start=start+[newNode]
def increment(n): return n + 1 def square(n): return n * n def imperative(initial, goal): list_functions = [(' increment', increment), (' square', square)] candidates = [(str(initial), initial)] for x in range(goal - initial + 1): new_candidates = [] for (action, result) in candidates: for (a, r) in list_functions: newCandidates.append((action + a, r(result))) if newCandidates[-1][1] == goal: return newCandidates[-1][0] candidates = newCandidates class Node: def __init__(self, parent, action, result): self.parent = parent self.action = action self.result = result def path(self): if self.parent == None: return [(self.action, self.result)] else: return self.parent.path() + [(self.action, self.result)] def objective(initial, goal): start = [node(None, None, initial)] for x in range(goal - initial + 1): parent = start[0] start = start[1:] for (a, r) in [(' increment', increment), (' square', square)]: new_node = node(parent, a, r(parent.result)) if newNode.result == goal: return newNode.path() else: start = start + [newNode]
''' Q: 2^15 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26. What is the sum of the digits of the number 2^1000? ''' ''' final answer: 1366 ''' # init constant pwr = 1000 base = 2 # compute def compute(): result = str(base ** pwr) digits = [int(d) for d in result] return (sum(digits)) if __name__ == '__main__': print("the sum of the digits of the number 2^1000 is " + str(compute()))
""" Q: 2^15 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26. What is the sum of the digits of the number 2^1000? """ '\nfinal answer: 1366\n' pwr = 1000 base = 2 def compute(): result = str(base ** pwr) digits = [int(d) for d in result] return sum(digits) if __name__ == '__main__': print('the sum of the digits of the number 2^1000 is ' + str(compute()))
# Load csv with no additional arguments data = pd.read_csv("vt_tax_data_2016.csv") # Print the data types print(data.dtypes) ''' <script.py> output: STATEFIPS int64 N00700 int64 ... N85770 int64 A85770 int64 Length: 147, dtype: object ''' # Create dict specifying data types for agi_stub and zipcode data_types = {'agi_stub': 'category', 'zipcode': str} # Load csv using dtype to set correct data types data = pd.read_csv("vt_tax_data_2016.csv", dtype = data_types) # Print data types of resulting frame print(data.dtypes.head()) ''' <script.py> output: STATEFIPS int64 STATE object zipcode object agi_stub category N1 int64 dtype: object Setting data types at import requires becoming familiar with the data first, but it can save effort later on. A common workflow is to load the data and explore it, then write code that sets data types at import to share with colleagues or other audiences. '''
data = pd.read_csv('vt_tax_data_2016.csv') print(data.dtypes) ' \n<script.py> output:\n STATEFIPS int64\n N00700 int64\n ... \n N85770 int64\n A85770 int64\n\n Length: 147, dtype: object\n' data_types = {'agi_stub': 'category', 'zipcode': str} data = pd.read_csv('vt_tax_data_2016.csv', dtype=data_types) print(data.dtypes.head()) ' \n<script.py> output:\n STATEFIPS int64\n STATE object\n zipcode object\n agi_stub category\n N1 int64\n dtype: object\n\nSetting data types at import requires becoming familiar with the data first, \nbut it can save effort later on. A common workflow is to load the data and explore it, \nthen write code that sets data types at import to share with colleagues or other audiences.\n '
""" sciwebvis.JSRenderable ---------------------- :copyright: 2015, Juan David Adarve. See AUTHORS for more details :license: 3-clause BSD, see LICENSE for more details """ __all__ = ['JSRenderable'] class JSRenderable(object): """ Base class for Javascript render classes """ def __init__(self): pass def render(self): """ returns Javascript code for rendering the object. """ pass
""" sciwebvis.JSRenderable ---------------------- :copyright: 2015, Juan David Adarve. See AUTHORS for more details :license: 3-clause BSD, see LICENSE for more details """ __all__ = ['JSRenderable'] class Jsrenderable(object): """ Base class for Javascript render classes """ def __init__(self): pass def render(self): """ returns Javascript code for rendering the object. """ pass
#Pig Latin - Pig Latin is a game of alterations played on the English language game. To create the Pig Latin form of an English word the initial consonant sound is transposed to the end of the word and an ay is affixed (Ex.: "banana" would yield anana-bay). Read Wikipedia for more information on rules. st = input('Give me a word : ') cons = 'bcdfghjklmnpqrstvwxyz' vowel = 'aeiou' if (st[0] in cons) and (st[1] in cons): #if two initial letter are both consonant first = st[0] sec = st[1] st =st.replace(st[0],' ') st = st.replace(st[1],' ') st = st.strip() print((st+first+sec+'ay').title()) elif st[0] in cons: #if the initial letter is a consonant first = st[0] st = st.replace(st[0],' ') st = st.strip() print((st+first+'ay').title()) elif st[0] in vowel: #if the initial letter is a vowel print(st+'ay')
st = input('Give me a word : ') cons = 'bcdfghjklmnpqrstvwxyz' vowel = 'aeiou' if st[0] in cons and st[1] in cons: first = st[0] sec = st[1] st = st.replace(st[0], ' ') st = st.replace(st[1], ' ') st = st.strip() print((st + first + sec + 'ay').title()) elif st[0] in cons: first = st[0] st = st.replace(st[0], ' ') st = st.strip() print((st + first + 'ay').title()) elif st[0] in vowel: print(st + 'ay')
power = {'BUSES': {'Area': 1.33155, 'Bus/Area': 1.33155, 'Bus/Gate Leakage': 0.00662954, 'Bus/Peak Dynamic': 0.0, 'Bus/Runtime Dynamic': 0.0, 'Bus/Subthreshold Leakage': 0.0691322, 'Bus/Subthreshold Leakage with power gating': 0.0259246, 'Gate Leakage': 0.00662954, 'Peak Dynamic': 0.0, 'Runtime Dynamic': 0.0, 'Subthreshold Leakage': 0.0691322, 'Subthreshold Leakage with power gating': 0.0259246}, 'Core': [{'Area': 32.6082, 'Execution Unit/Area': 8.2042, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.315901, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.450812, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 1.8361, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.122718, 'Execution Unit/Instruction Scheduler/Area': 2.17927, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.328073, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.00115349, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.20978, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.653476, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.017004, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00962066, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00730101, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 1.00996, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00529112, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 2.07911, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 1.13158, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0800117, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0455351, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 4.84781, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.841232, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.000856399, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.55892, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.648995, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.0178624, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00897339, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 2.43406, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.114878, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.0641291, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.364435, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 8.81851, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.346878, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.023689, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.284279, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.175195, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.631157, 'Execution Unit/Register Files/Runtime Dynamic': 0.198884, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0442632, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00607074, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.773479, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 1.76805, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.0920413, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0345155, 'Execution Unit/Runtime Dynamic': 5.25717, 'Execution Unit/Subthreshold Leakage': 1.83518, 'Execution Unit/Subthreshold Leakage with power gating': 0.709678, 'Gate Leakage': 0.372997, 'Instruction Fetch Unit/Area': 5.86007, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000743737, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000743737, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000646759, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000249805, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00251669, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00465092, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00716787, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0590479, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.168419, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 6.43323, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.389567, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.572027, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 8.96874, 'Instruction Fetch Unit/Runtime Dynamic': 1.14183, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932587, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.408542, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.098595, 'L2/Runtime Dynamic': 0.0212693, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80969, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 6.41252, 'Load Store Unit/Data Cache/Runtime Dynamic': 2.5062, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0351387, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.167436, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.167436, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 7.20641, 'Load Store Unit/Runtime Dynamic': 3.49938, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.41287, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.825739, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591622, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283406, 'Memory Management Unit/Area': 0.434579, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.146529, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.147985, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00813591, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.399995, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0639356, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.811814, 'Memory Management Unit/Runtime Dynamic': 0.211921, 'Memory Management Unit/Subthreshold Leakage': 0.0769113, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462, 'Peak Dynamic': 30.4658, 'Renaming Unit/Area': 0.369768, 'Renaming Unit/FP Front End RAT/Area': 0.168486, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00489731, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 3.33511, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 1.21018, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0437281, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.024925, 'Renaming Unit/Free List/Area': 0.0414755, 'Renaming Unit/Free List/Gate Leakage': 4.15911e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0401324, 'Renaming Unit/Free List/Runtime Dynamic': 0.0479776, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000670426, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000377987, 'Renaming Unit/Gate Leakage': 0.00863632, 'Renaming Unit/Int Front End RAT/Area': 0.114751, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.00038343, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.86945, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.315686, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00611897, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00348781, 'Renaming Unit/Peak Dynamic': 4.56169, 'Renaming Unit/Runtime Dynamic': 1.57384, 'Renaming Unit/Subthreshold Leakage': 0.070483, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779, 'Runtime Dynamic': 11.7054, 'Subthreshold Leakage': 6.21877, 'Subthreshold Leakage with power gating': 2.58311}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.136084, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.309574, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.797652, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.251785, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.40612, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.204996, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.862902, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.165679, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 5.5166, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.150694, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.010561, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.124765, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0781051, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.275459, 'Execution Unit/Register Files/Runtime Dynamic': 0.0886661, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.296874, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.691131, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 2.35765, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000376894, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000376894, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000329837, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.00012854, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00112199, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00220561, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00355779, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0750845, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 4.77602, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.178011, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.255021, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 7.22632, 'Instruction Fetch Unit/Runtime Dynamic': 0.513879, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.045595, 'L2/Runtime Dynamic': 0.00877062, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.58398, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.13583, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0759266, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0759266, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.94252, 'Load Store Unit/Runtime Dynamic': 1.5862, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.187222, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.374444, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0664457, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0671173, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.296955, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0292213, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.567206, 'Memory Management Unit/Runtime Dynamic': 0.0963386, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 20.8877, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.396406, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.016184, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.120258, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.532848, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 5.09569, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.179236, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.343469, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.997388, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.308416, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.497463, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.251103, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 1.05698, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.199824, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 5.95449, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.188428, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0129363, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.159451, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0956722, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.347879, 'Execution Unit/Register Files/Runtime Dynamic': 0.108609, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.380738, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.805977, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 2.72041, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000651223, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000651223, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000569303, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000221529, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00137434, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00324609, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00616923, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0919721, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 5.85021, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.20347, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.312379, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 8.35265, 'Instruction Fetch Unit/Runtime Dynamic': 0.617236, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0466842, 'L2/Runtime Dynamic': 0.00644507, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.40524, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.04453, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0701438, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0701439, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.73647, 'Load Store Unit/Runtime Dynamic': 1.4606, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.172963, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.345926, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.061385, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0620814, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.363745, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0333701, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.625302, 'Memory Management Unit/Runtime Dynamic': 0.0954515, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 22.3051, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.495668, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.019947, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.146459, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.662073, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 5.56222, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.209512, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.367249, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 1.15216, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.343277, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.553693, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.279486, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 1.17646, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.215969, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 6.26383, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.217667, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0143986, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.181715, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.106486, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.399382, 'Execution Unit/Register Files/Runtime Dynamic': 0.120885, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.435213, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.912457, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 2.98242, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000684763, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000684763, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000596675, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000231118, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00152968, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00349589, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00655661, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.102368, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 6.43323, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.219719, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.347688, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 8.96396, 'Instruction Fetch Unit/Runtime Dynamic': 0.679827, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0500278, 'L2/Runtime Dynamic': 0.00792427, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.56757, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.12261, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0753955, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0753955, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.9236, 'Load Store Unit/Runtime Dynamic': 1.56983, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.185912, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.371825, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0659809, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0667291, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.399995, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0360286, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.669447, 'Memory Management Unit/Runtime Dynamic': 0.102758, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 23.4603, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.572582, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.0224559, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.162322, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.757359, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 6.10012, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}], 'DRAM': {'Area': 0, 'Gate Leakage': 0, 'Peak Dynamic': 2.67763722357763, 'Runtime Dynamic': 2.67763722357763, 'Subthreshold Leakage': 4.252, 'Subthreshold Leakage with power gating': 4.252}, 'L3': [{'Area': 61.9075, 'Gate Leakage': 0.0484137, 'Peak Dynamic': 0.266145, 'Runtime Dynamic': 0.139506, 'Subthreshold Leakage': 6.80085, 'Subthreshold Leakage with power gating': 3.32364}], 'Processor': {'Area': 191.908, 'Gate Leakage': 1.53485, 'Peak Dynamic': 97.385, 'Peak Power': 130.497, 'Runtime Dynamic': 28.603, 'Subthreshold Leakage': 31.5774, 'Subthreshold Leakage with power gating': 13.9484, 'Total Cores/Area': 128.669, 'Total Cores/Gate Leakage': 1.4798, 'Total Cores/Peak Dynamic': 97.1189, 'Total Cores/Runtime Dynamic': 28.4634, 'Total Cores/Subthreshold Leakage': 24.7074, 'Total Cores/Subthreshold Leakage with power gating': 10.2429, 'Total L3s/Area': 61.9075, 'Total L3s/Gate Leakage': 0.0484137, 'Total L3s/Peak Dynamic': 0.266145, 'Total L3s/Runtime Dynamic': 0.139506, 'Total L3s/Subthreshold Leakage': 6.80085, 'Total L3s/Subthreshold Leakage with power gating': 3.32364, 'Total Leakage': 33.1122, 'Total NoCs/Area': 1.33155, 'Total NoCs/Gate Leakage': 0.00662954, 'Total NoCs/Peak Dynamic': 0.0, 'Total NoCs/Runtime Dynamic': 0.0, 'Total NoCs/Subthreshold Leakage': 0.0691322, 'Total NoCs/Subthreshold Leakage with power gating': 0.0259246}}
power = {'BUSES': {'Area': 1.33155, 'Bus/Area': 1.33155, 'Bus/Gate Leakage': 0.00662954, 'Bus/Peak Dynamic': 0.0, 'Bus/Runtime Dynamic': 0.0, 'Bus/Subthreshold Leakage': 0.0691322, 'Bus/Subthreshold Leakage with power gating': 0.0259246, 'Gate Leakage': 0.00662954, 'Peak Dynamic': 0.0, 'Runtime Dynamic': 0.0, 'Subthreshold Leakage': 0.0691322, 'Subthreshold Leakage with power gating': 0.0259246}, 'Core': [{'Area': 32.6082, 'Execution Unit/Area': 8.2042, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.315901, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.450812, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 1.8361, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.122718, 'Execution Unit/Instruction Scheduler/Area': 2.17927, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.328073, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.00115349, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.20978, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.653476, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.017004, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00962066, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00730101, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 1.00996, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00529112, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 2.07911, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 1.13158, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0800117, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0455351, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 4.84781, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.841232, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.000856399, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.55892, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.648995, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.0178624, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00897339, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 2.43406, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.114878, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.0641291, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.364435, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 8.81851, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.346878, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.023689, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.284279, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.175195, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.631157, 'Execution Unit/Register Files/Runtime Dynamic': 0.198884, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0442632, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00607074, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.773479, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 1.76805, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.0920413, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0345155, 'Execution Unit/Runtime Dynamic': 5.25717, 'Execution Unit/Subthreshold Leakage': 1.83518, 'Execution Unit/Subthreshold Leakage with power gating': 0.709678, 'Gate Leakage': 0.372997, 'Instruction Fetch Unit/Area': 5.86007, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000743737, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000743737, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000646759, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000249805, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00251669, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00465092, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00716787, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0590479, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.168419, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 6.43323, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.389567, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.572027, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 8.96874, 'Instruction Fetch Unit/Runtime Dynamic': 1.14183, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932587, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.408542, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.098595, 'L2/Runtime Dynamic': 0.0212693, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80969, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 6.41252, 'Load Store Unit/Data Cache/Runtime Dynamic': 2.5062, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0351387, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.167436, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.167436, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 7.20641, 'Load Store Unit/Runtime Dynamic': 3.49938, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.41287, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.825739, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591622, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283406, 'Memory Management Unit/Area': 0.434579, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.146529, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.147985, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00813591, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.399995, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0639356, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.811814, 'Memory Management Unit/Runtime Dynamic': 0.211921, 'Memory Management Unit/Subthreshold Leakage': 0.0769113, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0399462, 'Peak Dynamic': 30.4658, 'Renaming Unit/Area': 0.369768, 'Renaming Unit/FP Front End RAT/Area': 0.168486, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00489731, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 3.33511, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 1.21018, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0437281, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.024925, 'Renaming Unit/Free List/Area': 0.0414755, 'Renaming Unit/Free List/Gate Leakage': 4.15911e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0401324, 'Renaming Unit/Free List/Runtime Dynamic': 0.0479776, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000670426, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000377987, 'Renaming Unit/Gate Leakage': 0.00863632, 'Renaming Unit/Int Front End RAT/Area': 0.114751, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.00038343, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.86945, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.315686, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00611897, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00348781, 'Renaming Unit/Peak Dynamic': 4.56169, 'Renaming Unit/Runtime Dynamic': 1.57384, 'Renaming Unit/Subthreshold Leakage': 0.070483, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0362779, 'Runtime Dynamic': 11.7054, 'Subthreshold Leakage': 6.21877, 'Subthreshold Leakage with power gating': 2.58311}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.136084, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.309574, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.797652, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.251785, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.40612, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.204996, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 0.862902, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.165679, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 5.5166, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.150694, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.010561, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.124765, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0781051, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.275459, 'Execution Unit/Register Files/Runtime Dynamic': 0.0886661, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.296874, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.691131, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 2.35765, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000376894, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000376894, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000329837, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.00012854, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00112199, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00220561, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00355779, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0750845, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 4.77602, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.178011, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.255021, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 7.22632, 'Instruction Fetch Unit/Runtime Dynamic': 0.513879, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.045595, 'L2/Runtime Dynamic': 0.00877062, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.58398, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.13583, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0759266, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0759266, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.94252, 'Load Store Unit/Runtime Dynamic': 1.5862, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.187222, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.374444, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0664457, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0671173, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.296955, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0292213, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.567206, 'Memory Management Unit/Runtime Dynamic': 0.0963386, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 20.8877, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.396406, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.016184, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.120258, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.532848, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 5.09569, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.179236, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.343469, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 0.997388, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.308416, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.497463, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.251103, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 1.05698, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.199824, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 5.95449, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.188428, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0129363, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.159451, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.0956722, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.347879, 'Execution Unit/Register Files/Runtime Dynamic': 0.108609, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.380738, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.805977, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 2.72041, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000651223, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000651223, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000569303, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000221529, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00137434, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00324609, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00616923, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.0919721, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 5.85021, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.20347, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.312379, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 8.35265, 'Instruction Fetch Unit/Runtime Dynamic': 0.617236, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0466842, 'L2/Runtime Dynamic': 0.00644507, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.40524, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.04453, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0701438, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0701439, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.73647, 'Load Store Unit/Runtime Dynamic': 1.4606, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.172963, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.345926, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.061385, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0620814, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.363745, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0333701, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.625302, 'Memory Management Unit/Runtime Dynamic': 0.0954515, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 22.3051, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.495668, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.019947, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.146459, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.662073, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 5.56222, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}, {'Area': 32.0201, 'Execution Unit/Area': 7.68434, 'Execution Unit/Complex ALUs/Area': 0.235435, 'Execution Unit/Complex ALUs/Gate Leakage': 0.0132646, 'Execution Unit/Complex ALUs/Peak Dynamic': 0.209512, 'Execution Unit/Complex ALUs/Runtime Dynamic': 0.367249, 'Execution Unit/Complex ALUs/Subthreshold Leakage': 0.20111, 'Execution Unit/Complex ALUs/Subthreshold Leakage with power gating': 0.0754163, 'Execution Unit/Floating Point Units/Area': 4.6585, 'Execution Unit/Floating Point Units/Gate Leakage': 0.0656156, 'Execution Unit/Floating Point Units/Peak Dynamic': 1.15216, 'Execution Unit/Floating Point Units/Runtime Dynamic': 0.304033, 'Execution Unit/Floating Point Units/Subthreshold Leakage': 0.994829, 'Execution Unit/Floating Point Units/Subthreshold Leakage with power gating': 0.373061, 'Execution Unit/Gate Leakage': 0.120359, 'Execution Unit/Instruction Scheduler/Area': 1.66526, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Area': 0.275653, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Gate Leakage': 0.000977433, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Peak Dynamic': 1.04181, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Runtime Dynamic': 0.343277, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage': 0.0143453, 'Execution Unit/Instruction Scheduler/FP Instruction Window/Subthreshold Leakage with power gating': 0.00810519, 'Execution Unit/Instruction Scheduler/Gate Leakage': 0.00568913, 'Execution Unit/Instruction Scheduler/Instruction Window/Area': 0.805223, 'Execution Unit/Instruction Scheduler/Instruction Window/Gate Leakage': 0.00414562, 'Execution Unit/Instruction Scheduler/Instruction Window/Peak Dynamic': 1.6763, 'Execution Unit/Instruction Scheduler/Instruction Window/Runtime Dynamic': 0.553693, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage': 0.0625755, 'Execution Unit/Instruction Scheduler/Instruction Window/Subthreshold Leakage with power gating': 0.0355964, 'Execution Unit/Instruction Scheduler/Peak Dynamic': 3.82262, 'Execution Unit/Instruction Scheduler/ROB/Area': 0.584388, 'Execution Unit/Instruction Scheduler/ROB/Gate Leakage': 0.00056608, 'Execution Unit/Instruction Scheduler/ROB/Peak Dynamic': 1.10451, 'Execution Unit/Instruction Scheduler/ROB/Runtime Dynamic': 0.279486, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage': 0.00906853, 'Execution Unit/Instruction Scheduler/ROB/Subthreshold Leakage with power gating': 0.00364446, 'Execution Unit/Instruction Scheduler/Runtime Dynamic': 1.17646, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage': 0.0859892, 'Execution Unit/Instruction Scheduler/Subthreshold Leakage with power gating': 0.047346, 'Execution Unit/Integer ALUs/Area': 0.47087, 'Execution Unit/Integer ALUs/Gate Leakage': 0.0265291, 'Execution Unit/Integer ALUs/Peak Dynamic': 0.215969, 'Execution Unit/Integer ALUs/Runtime Dynamic': 0.101344, 'Execution Unit/Integer ALUs/Subthreshold Leakage': 0.40222, 'Execution Unit/Integer ALUs/Subthreshold Leakage with power gating': 0.150833, 'Execution Unit/Peak Dynamic': 6.26383, 'Execution Unit/Register Files/Area': 0.570804, 'Execution Unit/Register Files/Floating Point RF/Area': 0.208131, 'Execution Unit/Register Files/Floating Point RF/Gate Leakage': 0.000232788, 'Execution Unit/Register Files/Floating Point RF/Peak Dynamic': 0.217667, 'Execution Unit/Register Files/Floating Point RF/Runtime Dynamic': 0.0143986, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage': 0.00399698, 'Execution Unit/Register Files/Floating Point RF/Subthreshold Leakage with power gating': 0.00176968, 'Execution Unit/Register Files/Gate Leakage': 0.000622708, 'Execution Unit/Register Files/Integer RF/Area': 0.362673, 'Execution Unit/Register Files/Integer RF/Gate Leakage': 0.00038992, 'Execution Unit/Register Files/Integer RF/Peak Dynamic': 0.181715, 'Execution Unit/Register Files/Integer RF/Runtime Dynamic': 0.106486, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage': 0.00614175, 'Execution Unit/Register Files/Integer RF/Subthreshold Leakage with power gating': 0.00246675, 'Execution Unit/Register Files/Peak Dynamic': 0.399382, 'Execution Unit/Register Files/Runtime Dynamic': 0.120885, 'Execution Unit/Register Files/Subthreshold Leakage': 0.0101387, 'Execution Unit/Register Files/Subthreshold Leakage with power gating': 0.00423643, 'Execution Unit/Results Broadcast Bus/Area Overhead': 0.0390912, 'Execution Unit/Results Broadcast Bus/Gate Leakage': 0.00537402, 'Execution Unit/Results Broadcast Bus/Peak Dynamic': 0.435213, 'Execution Unit/Results Broadcast Bus/Runtime Dynamic': 0.912457, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage': 0.081478, 'Execution Unit/Results Broadcast Bus/Subthreshold Leakage with power gating': 0.0305543, 'Execution Unit/Runtime Dynamic': 2.98242, 'Execution Unit/Subthreshold Leakage': 1.79543, 'Execution Unit/Subthreshold Leakage with power gating': 0.688821, 'Gate Leakage': 0.368936, 'Instruction Fetch Unit/Area': 5.85939, 'Instruction Fetch Unit/Branch Predictor/Area': 0.138516, 'Instruction Fetch Unit/Branch Predictor/Chooser/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Chooser/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Chooser/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Chooser/Runtime Dynamic': 0.000684763, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Chooser/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/Gate Leakage': 0.000757657, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Area': 0.0435221, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Gate Leakage': 0.000278362, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Peak Dynamic': 0.0168831, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Runtime Dynamic': 0.000684763, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage': 0.00759719, 'Instruction Fetch Unit/Branch Predictor/Global Predictor/Subthreshold Leakage with power gating': 0.0039236, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Area': 0.0257064, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Gate Leakage': 0.000154548, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Peak Dynamic': 0.0142575, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Runtime Dynamic': 0.000596675, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage': 0.00384344, 'Instruction Fetch Unit/Branch Predictor/L1_Local Predictor/Subthreshold Leakage with power gating': 0.00198631, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Area': 0.0151917, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Gate Leakage': 8.00196e-05, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Peak Dynamic': 0.00527447, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Runtime Dynamic': 0.000231118, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage': 0.00181347, 'Instruction Fetch Unit/Branch Predictor/L2_Local Predictor/Subthreshold Leakage with power gating': 0.000957045, 'Instruction Fetch Unit/Branch Predictor/Peak Dynamic': 0.0597838, 'Instruction Fetch Unit/Branch Predictor/RAS/Area': 0.0105732, 'Instruction Fetch Unit/Branch Predictor/RAS/Gate Leakage': 4.63858e-05, 'Instruction Fetch Unit/Branch Predictor/RAS/Peak Dynamic': 0.0117602, 'Instruction Fetch Unit/Branch Predictor/RAS/Runtime Dynamic': 0.00152968, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage': 0.000932505, 'Instruction Fetch Unit/Branch Predictor/RAS/Subthreshold Leakage with power gating': 0.000494733, 'Instruction Fetch Unit/Branch Predictor/Runtime Dynamic': 0.00349589, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage': 0.0199703, 'Instruction Fetch Unit/Branch Predictor/Subthreshold Leakage with power gating': 0.0103282, 'Instruction Fetch Unit/Branch Target Buffer/Area': 0.64954, 'Instruction Fetch Unit/Branch Target Buffer/Gate Leakage': 0.00272758, 'Instruction Fetch Unit/Branch Target Buffer/Peak Dynamic': 0.177867, 'Instruction Fetch Unit/Branch Target Buffer/Runtime Dynamic': 0.00655661, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage': 0.0811682, 'Instruction Fetch Unit/Branch Target Buffer/Subthreshold Leakage with power gating': 0.0435357, 'Instruction Fetch Unit/Gate Leakage': 0.0589979, 'Instruction Fetch Unit/Instruction Buffer/Area': 0.0226323, 'Instruction Fetch Unit/Instruction Buffer/Gate Leakage': 6.83558e-05, 'Instruction Fetch Unit/Instruction Buffer/Peak Dynamic': 0.606827, 'Instruction Fetch Unit/Instruction Buffer/Runtime Dynamic': 0.102368, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage': 0.00151885, 'Instruction Fetch Unit/Instruction Buffer/Subthreshold Leakage with power gating': 0.000701682, 'Instruction Fetch Unit/Instruction Cache/Area': 3.14635, 'Instruction Fetch Unit/Instruction Cache/Gate Leakage': 0.029931, 'Instruction Fetch Unit/Instruction Cache/Peak Dynamic': 6.43323, 'Instruction Fetch Unit/Instruction Cache/Runtime Dynamic': 0.219719, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage': 0.367022, 'Instruction Fetch Unit/Instruction Cache/Subthreshold Leakage with power gating': 0.180386, 'Instruction Fetch Unit/Instruction Decoder/Area': 1.85799, 'Instruction Fetch Unit/Instruction Decoder/Gate Leakage': 0.0222493, 'Instruction Fetch Unit/Instruction Decoder/Peak Dynamic': 1.37404, 'Instruction Fetch Unit/Instruction Decoder/Runtime Dynamic': 0.347688, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage': 0.442943, 'Instruction Fetch Unit/Instruction Decoder/Subthreshold Leakage with power gating': 0.166104, 'Instruction Fetch Unit/Peak Dynamic': 8.96396, 'Instruction Fetch Unit/Runtime Dynamic': 0.679827, 'Instruction Fetch Unit/Subthreshold Leakage': 0.932286, 'Instruction Fetch Unit/Subthreshold Leakage with power gating': 0.40843, 'L2/Area': 4.53318, 'L2/Gate Leakage': 0.015464, 'L2/Peak Dynamic': 0.0500278, 'L2/Runtime Dynamic': 0.00792427, 'L2/Subthreshold Leakage': 0.834142, 'L2/Subthreshold Leakage with power gating': 0.401066, 'Load Store Unit/Area': 8.80901, 'Load Store Unit/Data Cache/Area': 6.84535, 'Load Store Unit/Data Cache/Gate Leakage': 0.0279261, 'Load Store Unit/Data Cache/Peak Dynamic': 3.56757, 'Load Store Unit/Data Cache/Runtime Dynamic': 1.12261, 'Load Store Unit/Data Cache/Subthreshold Leakage': 0.527675, 'Load Store Unit/Data Cache/Subthreshold Leakage with power gating': 0.25085, 'Load Store Unit/Gate Leakage': 0.0350888, 'Load Store Unit/LoadQ/Area': 0.0836782, 'Load Store Unit/LoadQ/Gate Leakage': 0.00059896, 'Load Store Unit/LoadQ/Peak Dynamic': 0.0753955, 'Load Store Unit/LoadQ/Runtime Dynamic': 0.0753955, 'Load Store Unit/LoadQ/Subthreshold Leakage': 0.00941961, 'Load Store Unit/LoadQ/Subthreshold Leakage with power gating': 0.00536918, 'Load Store Unit/Peak Dynamic': 3.9236, 'Load Store Unit/Runtime Dynamic': 1.56983, 'Load Store Unit/StoreQ/Area': 0.322079, 'Load Store Unit/StoreQ/Gate Leakage': 0.00329971, 'Load Store Unit/StoreQ/Peak Dynamic': 0.185912, 'Load Store Unit/StoreQ/Runtime Dynamic': 0.371825, 'Load Store Unit/StoreQ/Subthreshold Leakage': 0.0345621, 'Load Store Unit/StoreQ/Subthreshold Leakage with power gating': 0.0197004, 'Load Store Unit/Subthreshold Leakage': 0.591321, 'Load Store Unit/Subthreshold Leakage with power gating': 0.283293, 'Memory Management Unit/Area': 0.4339, 'Memory Management Unit/Dtlb/Area': 0.0879726, 'Memory Management Unit/Dtlb/Gate Leakage': 0.00088729, 'Memory Management Unit/Dtlb/Peak Dynamic': 0.0659809, 'Memory Management Unit/Dtlb/Runtime Dynamic': 0.0667291, 'Memory Management Unit/Dtlb/Subthreshold Leakage': 0.0155699, 'Memory Management Unit/Dtlb/Subthreshold Leakage with power gating': 0.00887485, 'Memory Management Unit/Gate Leakage': 0.00808595, 'Memory Management Unit/Itlb/Area': 0.301552, 'Memory Management Unit/Itlb/Gate Leakage': 0.00393464, 'Memory Management Unit/Itlb/Peak Dynamic': 0.399995, 'Memory Management Unit/Itlb/Runtime Dynamic': 0.0360286, 'Memory Management Unit/Itlb/Subthreshold Leakage': 0.0413758, 'Memory Management Unit/Itlb/Subthreshold Leakage with power gating': 0.0235842, 'Memory Management Unit/Peak Dynamic': 0.669447, 'Memory Management Unit/Runtime Dynamic': 0.102758, 'Memory Management Unit/Subthreshold Leakage': 0.0766103, 'Memory Management Unit/Subthreshold Leakage with power gating': 0.0398333, 'Peak Dynamic': 23.4603, 'Renaming Unit/Area': 0.303608, 'Renaming Unit/FP Front End RAT/Area': 0.131045, 'Renaming Unit/FP Front End RAT/Gate Leakage': 0.00351123, 'Renaming Unit/FP Front End RAT/Peak Dynamic': 2.51468, 'Renaming Unit/FP Front End RAT/Runtime Dynamic': 0.572582, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage': 0.0308571, 'Renaming Unit/FP Front End RAT/Subthreshold Leakage with power gating': 0.0175885, 'Renaming Unit/Free List/Area': 0.0340654, 'Renaming Unit/Free List/Gate Leakage': 2.5481e-05, 'Renaming Unit/Free List/Peak Dynamic': 0.0306032, 'Renaming Unit/Free List/Runtime Dynamic': 0.0224559, 'Renaming Unit/Free List/Subthreshold Leakage': 0.000370144, 'Renaming Unit/Free List/Subthreshold Leakage with power gating': 0.000201064, 'Renaming Unit/Gate Leakage': 0.00708398, 'Renaming Unit/Int Front End RAT/Area': 0.0941223, 'Renaming Unit/Int Front End RAT/Gate Leakage': 0.000283242, 'Renaming Unit/Int Front End RAT/Peak Dynamic': 0.731965, 'Renaming Unit/Int Front End RAT/Runtime Dynamic': 0.162322, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage': 0.00435488, 'Renaming Unit/Int Front End RAT/Subthreshold Leakage with power gating': 0.00248228, 'Renaming Unit/Peak Dynamic': 3.58947, 'Renaming Unit/Runtime Dynamic': 0.757359, 'Renaming Unit/Subthreshold Leakage': 0.0552466, 'Renaming Unit/Subthreshold Leakage with power gating': 0.0276461, 'Runtime Dynamic': 6.10012, 'Subthreshold Leakage': 6.16288, 'Subthreshold Leakage with power gating': 2.55328}], 'DRAM': {'Area': 0, 'Gate Leakage': 0, 'Peak Dynamic': 2.67763722357763, 'Runtime Dynamic': 2.67763722357763, 'Subthreshold Leakage': 4.252, 'Subthreshold Leakage with power gating': 4.252}, 'L3': [{'Area': 61.9075, 'Gate Leakage': 0.0484137, 'Peak Dynamic': 0.266145, 'Runtime Dynamic': 0.139506, 'Subthreshold Leakage': 6.80085, 'Subthreshold Leakage with power gating': 3.32364}], 'Processor': {'Area': 191.908, 'Gate Leakage': 1.53485, 'Peak Dynamic': 97.385, 'Peak Power': 130.497, 'Runtime Dynamic': 28.603, 'Subthreshold Leakage': 31.5774, 'Subthreshold Leakage with power gating': 13.9484, 'Total Cores/Area': 128.669, 'Total Cores/Gate Leakage': 1.4798, 'Total Cores/Peak Dynamic': 97.1189, 'Total Cores/Runtime Dynamic': 28.4634, 'Total Cores/Subthreshold Leakage': 24.7074, 'Total Cores/Subthreshold Leakage with power gating': 10.2429, 'Total L3s/Area': 61.9075, 'Total L3s/Gate Leakage': 0.0484137, 'Total L3s/Peak Dynamic': 0.266145, 'Total L3s/Runtime Dynamic': 0.139506, 'Total L3s/Subthreshold Leakage': 6.80085, 'Total L3s/Subthreshold Leakage with power gating': 3.32364, 'Total Leakage': 33.1122, 'Total NoCs/Area': 1.33155, 'Total NoCs/Gate Leakage': 0.00662954, 'Total NoCs/Peak Dynamic': 0.0, 'Total NoCs/Runtime Dynamic': 0.0, 'Total NoCs/Subthreshold Leakage': 0.0691322, 'Total NoCs/Subthreshold Leakage with power gating': 0.0259246}}
""" Advent of Code, 2020: Day 15, b """ with open(__file__[:-5] + "_input") as f: inputs = [line.strip() for line in f] def run(): """ Maintain a dictionary of last-positions instead of counting """ numbers = [int(n) for n in inputs[0].split(",")] seen = {n: i for (i, n) in enumerate(numbers)} last = -1 index, target = len(seen) - 1, 30000000 while True: age = 0 if last in seen: age = index - seen[last] seen[last] = index if index + 2 == target: return age index += 1 last = age return 0 if __name__ == "__main__": print(run())
""" Advent of Code, 2020: Day 15, b """ with open(__file__[:-5] + '_input') as f: inputs = [line.strip() for line in f] def run(): """ Maintain a dictionary of last-positions instead of counting """ numbers = [int(n) for n in inputs[0].split(',')] seen = {n: i for (i, n) in enumerate(numbers)} last = -1 (index, target) = (len(seen) - 1, 30000000) while True: age = 0 if last in seen: age = index - seen[last] seen[last] = index if index + 2 == target: return age index += 1 last = age return 0 if __name__ == '__main__': print(run())
def test_in(neuron_instance): """Test 1D diffusion in a single section""" h, rxd, data = neuron_instance soma = h.Section(name='soma') dend = h.Section(name='dend') soma.nseg = 3 cyt = rxd.Region(h.allsec(), name='cyt') c = rxd.Species(cyt, name='c') for node in c.nodes(soma): assert(node in soma) assert(node not in dend) for node in c.nodes(dend): assert(node in dend) assert(node not in soma)
def test_in(neuron_instance): """Test 1D diffusion in a single section""" (h, rxd, data) = neuron_instance soma = h.Section(name='soma') dend = h.Section(name='dend') soma.nseg = 3 cyt = rxd.Region(h.allsec(), name='cyt') c = rxd.Species(cyt, name='c') for node in c.nodes(soma): assert node in soma assert node not in dend for node in c.nodes(dend): assert node in dend assert node not in soma
# __init__.py # Copyright 2019 Roger Marsh # Licence: See LICENCE (BSD licence) """Provide an identical interface to several Python database modules. The supported modules, or packages, are apsw, bsbdb3, dbm, dptdb, ndbm, sqlite3, unqlite, and vedis. """
"""Provide an identical interface to several Python database modules. The supported modules, or packages, are apsw, bsbdb3, dbm, dptdb, ndbm, sqlite3, unqlite, and vedis. """
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Helper functions common to all Fuchsia-specific code.""" class FuchsiaConfigError(Exception): """Exception for unrecoverable Fuchsia-related misconfigrations.""" class FuchsiaSdkError(Exception): """Exception for errors downloading, building, or using the Fuchsia SDK, in such a way that execution cannot continue.""" class FuchsiaConnectionError(Exception): """Exception for errors connecting to Fuchsia instances."""
"""Helper functions common to all Fuchsia-specific code.""" class Fuchsiaconfigerror(Exception): """Exception for unrecoverable Fuchsia-related misconfigrations.""" class Fuchsiasdkerror(Exception): """Exception for errors downloading, building, or using the Fuchsia SDK, in such a way that execution cannot continue.""" class Fuchsiaconnectionerror(Exception): """Exception for errors connecting to Fuchsia instances."""
#!/usr/bin/env python3 # Copyright (c) 2011 Qtrac Ltd. All rights reserved. # This program or module is free software: you can redistribute it and/or # modify it under the terms of the GNU General Public License as published # by the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. It is provided for educational # purposes and is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. __all__ = ["Block", "get_root_block", "get_empty_block", "get_new_row", "is_new_row"] class Block: def __init__(self, name, color="white"): self.name = name self.color = color self.children = [] def has_children(self): return bool(self.children) def __str__(self): blocks = [] if self.name is not None: color = "{0}: ".format(self.color) if self.color else "" block = "[{0}{1}".format(color, self.name) blocks.append(block) if self.children: blocks.append("\n") for block in self.children: if is_new_row(block): blocks.append("/\n") else: blocks.append(str(block)) if self.name is not None: blocks[-1] += "]\n" return "".join(blocks) get_root_block = lambda: Block(None, None) get_empty_block = lambda: Block("") get_new_row = lambda: None is_new_row = lambda x: x is None
__all__ = ['Block', 'get_root_block', 'get_empty_block', 'get_new_row', 'is_new_row'] class Block: def __init__(self, name, color='white'): self.name = name self.color = color self.children = [] def has_children(self): return bool(self.children) def __str__(self): blocks = [] if self.name is not None: color = '{0}: '.format(self.color) if self.color else '' block = '[{0}{1}'.format(color, self.name) blocks.append(block) if self.children: blocks.append('\n') for block in self.children: if is_new_row(block): blocks.append('/\n') else: blocks.append(str(block)) if self.name is not None: blocks[-1] += ']\n' return ''.join(blocks) get_root_block = lambda : block(None, None) get_empty_block = lambda : block('') get_new_row = lambda : None is_new_row = lambda x: x is None
class InstallNotFoundError(FileNotFoundError): def __init__(self): super().__init__("Could not find a ProPresenter 6 installation on your system.") class InvalidInstallError(BaseException): def __init__(self, sub): super().__init__("A problem was found with your ProPresenter 6 installation: %s" % sub)
class Installnotfounderror(FileNotFoundError): def __init__(self): super().__init__('Could not find a ProPresenter 6 installation on your system.') class Invalidinstallerror(BaseException): def __init__(self, sub): super().__init__('A problem was found with your ProPresenter 6 installation: %s' % sub)
class Solution(object): def isOneEditDistance(self, s, t): """ :type s: str :type t: str :rtype: bool """ ls_s, ls_t = len(s) ,len(t) # reverse to reduce conditions if ls_s > ls_t: return self.isOneEditDistance(t, s) # edit distance is greater than 1 if ls_t - ls_s > 1: return False i, shift = 0, ls_t - ls_s # find the different position while i < ls_s and s[i] == t[i]: i += 1 if i == ls_s: return shift > 0 if shift == 0: i += 1 while i < ls_s and s[i] == t[i + shift]: i += 1 return i == ls_s
class Solution(object): def is_one_edit_distance(self, s, t): """ :type s: str :type t: str :rtype: bool """ (ls_s, ls_t) = (len(s), len(t)) if ls_s > ls_t: return self.isOneEditDistance(t, s) if ls_t - ls_s > 1: return False (i, shift) = (0, ls_t - ls_s) while i < ls_s and s[i] == t[i]: i += 1 if i == ls_s: return shift > 0 if shift == 0: i += 1 while i < ls_s and s[i] == t[i + shift]: i += 1 return i == ls_s
#!/usr/bin/env python class Solution: def longestConsecutive(self, nums) -> int: consecutive, self.longest = dict(), 1 if len(nums) > 0 else 0 def union(i, j): # merge i with j if len(consecutive[i]) > len(consecutive[j]): i, j = j, i consecutive[j] += consecutive[i] self.longest = max(self.longest, len(consecutive[j])) for k in consecutive[i]: consecutive[k] = consecutive[j] for n in nums: if n in consecutive: continue consecutive[n] = [n] if (n-1) in consecutive: union(n, (n-1)) if (n+1) in consecutive: union(n, (n+1)) return self.longest nums = [100, 4, 200, 1, 3, 2] nums = [] nums = [0, 3, 1, 4, 5] nums = [0,1,2,3,4,5] nums = list(range(100000)) nums = [0] nums = [0, 3] nums = [1,2,0,1] sol = Solution() print(sol.longestConsecutive(nums))
class Solution: def longest_consecutive(self, nums) -> int: (consecutive, self.longest) = (dict(), 1 if len(nums) > 0 else 0) def union(i, j): if len(consecutive[i]) > len(consecutive[j]): (i, j) = (j, i) consecutive[j] += consecutive[i] self.longest = max(self.longest, len(consecutive[j])) for k in consecutive[i]: consecutive[k] = consecutive[j] for n in nums: if n in consecutive: continue consecutive[n] = [n] if n - 1 in consecutive: union(n, n - 1) if n + 1 in consecutive: union(n, n + 1) return self.longest nums = [100, 4, 200, 1, 3, 2] nums = [] nums = [0, 3, 1, 4, 5] nums = [0, 1, 2, 3, 4, 5] nums = list(range(100000)) nums = [0] nums = [0, 3] nums = [1, 2, 0, 1] sol = solution() print(sol.longestConsecutive(nums))
#!/usr/bin/python # # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # The max length of a Data Catalog Entry ID. ENTRY_ID_LENGTH = 64 # This is the common prefix for all Tableau Entries. ENTRY_ID_PREFIX = 't__' # This constant represents the max length a generated Entry ID can have before # appending the standard ENTRY_ID_PREFIX to it. The necessary right-most chars # will be removed from a generated Entry ID if it has more chars than the value # of this constant. NO_PREFIX_ENTRY_ID_LENGTH = ENTRY_ID_LENGTH - len(ENTRY_ID_PREFIX) # The ID of the Tag Template created to store additional metadata for # Dashboard-related Entries. TAG_TEMPLATE_ID_DASHBOARD = 'tableau_dashboard_metadata' # The ID of the Tag Template created to store additional metadata for # Sheet-related Entries. TAG_TEMPLATE_ID_SHEET = 'tableau_sheet_metadata' # The ID of the Tag Template created to store additional metadata for # Workbook-related Entries. TAG_TEMPLATE_ID_WORKBOOK = 'tableau_workbook_metadata' # The user specified type of Dashboard-related Entries. USER_SPECIFIED_TYPE_DASHBOARD = 'dashboard' # The user specified type of Sheet-related Entries. USER_SPECIFIED_TYPE_SHEET = 'sheet' # The user specified type of Workbook-related Entries. USER_SPECIFIED_TYPE_WORKBOOK = 'workbook'
entry_id_length = 64 entry_id_prefix = 't__' no_prefix_entry_id_length = ENTRY_ID_LENGTH - len(ENTRY_ID_PREFIX) tag_template_id_dashboard = 'tableau_dashboard_metadata' tag_template_id_sheet = 'tableau_sheet_metadata' tag_template_id_workbook = 'tableau_workbook_metadata' user_specified_type_dashboard = 'dashboard' user_specified_type_sheet = 'sheet' user_specified_type_workbook = 'workbook'
# $Id: constants.py,v 1.1 2010-09-07 15:09:35 wirawan Exp $ # # pyqmc.libs.constants module # Created: 20100902 # Wirawan Purwanto # """ Library of constants from various computational packages. At present it contain constants from: * nwchem 5.1.1 * MPQC 2.3.1 """ class nwchem_5_1_1: """Constants from NWCHEM 5.1.1 . References: geom.F (where the printout of the geometries is done) """ # The default scaling is 1.88972598858 a.u. per angstrom # defined in geom_input.F ang2bohr = 1.88972598858 #bohr_in_ang = 0.52917715 -- in geom_hnd.F, perhaps not used for # this purpose bohr2ang = 1.0 / ang_in_bohr class mpqc_2_3_1: """Constants in MPQC 2.3.1 . References: mpqc-2.3.1/src/lib/util/misc/units.cc """ # Old from CRC Handbook 77th Ed. Tables 1&2 (CODATA 1986) # But at least, it is consistent with nwchem 5.1.1 constant: bohr2ang = 5.29177249e-01 ang2bohr = 1.0 / bohr2ang hartree2eV = 27.2113834
""" Library of constants from various computational packages. At present it contain constants from: * nwchem 5.1.1 * MPQC 2.3.1 """ class Nwchem_5_1_1: """Constants from NWCHEM 5.1.1 . References: geom.F (where the printout of the geometries is done) """ ang2bohr = 1.88972598858 bohr2ang = 1.0 / ang_in_bohr class Mpqc_2_3_1: """Constants in MPQC 2.3.1 . References: mpqc-2.3.1/src/lib/util/misc/units.cc """ bohr2ang = 0.529177249 ang2bohr = 1.0 / bohr2ang hartree2e_v = 27.2113834
#! python3 print("4.1") pizzas = ['pepperoni', 'capricosa', 'rimini'] for pizza in pizzas: print(f"I like pizza' {pizza.title()}") print('I love pizza!') print("4.2") animals = ['dog', 'cat', 'monkey'] for animal in animals: print(f'{animal.title()} is a good friend.') print("All of this animals are great!")
print('4.1') pizzas = ['pepperoni', 'capricosa', 'rimini'] for pizza in pizzas: print(f"I like pizza' {pizza.title()}") print('I love pizza!') print('4.2') animals = ['dog', 'cat', 'monkey'] for animal in animals: print(f'{animal.title()} is a good friend.') print('All of this animals are great!')
def some_fun(name, /, pos_or_keyword, *a, content, **b): print("Positional args:\n", name, "\n", pos_or_keyword, sep="") for i in a: print(i) print("\nKeyword args:\n", content, sep="") for key, val in b.items(): print(key, "->", val) if __name__ == "__main__": some_fun("trayan", 1, 2, 3, pos = "the default", content = "My content ...", title="Digits", sep=", ", )
def some_fun(name, /, pos_or_keyword, *a, content, **b): print('Positional args:\n', name, '\n', pos_or_keyword, sep='') for i in a: print(i) print('\nKeyword args:\n', content, sep='') for (key, val) in b.items(): print(key, '->', val) if __name__ == '__main__': some_fun('trayan', 1, 2, 3, pos='the default', content='My content ...', title='Digits', sep=', ')
# Time: O(n^2) # Space: O(n) class MyCalendarTwo(object): def __init__(self): self.__overlaps = [] self.__calendar = [] def book(self, start, end): """ :type start: int :type end: int :rtype: bool """ for i, j in self.__overlaps: if start < j and end > i: return False for i, j in self.__calendar: if start < j and end > i: self.__overlaps.append((max(start, i), min(end, j))) self.__calendar.append((start, end)) return True
class Mycalendartwo(object): def __init__(self): self.__overlaps = [] self.__calendar = [] def book(self, start, end): """ :type start: int :type end: int :rtype: bool """ for (i, j) in self.__overlaps: if start < j and end > i: return False for (i, j) in self.__calendar: if start < j and end > i: self.__overlaps.append((max(start, i), min(end, j))) self.__calendar.append((start, end)) return True
def provide_test_geojson(): d = { "type": 'FeatureCollection', "features": [ { "type": 'Feature', "properties": { "name": 'Lafayette (LAFY)', "code": 'LF', "address": '3601 Deer Hill Road, Lafayette CA 94549', "entries": '3481', "exits": '3616', "latitude": 37.893394, "longitude": -122.123801 }, "geometry": { "type": 'Point', "coordinates": [ -122.123801, 37.893394 ] } }, { "type": 'Feature', "properties": { "name": '12th St. Oakland City Center (12TH)', "code": '12', "address": '1245 Broadway, Oakland CA 94612', "entries": '13418', "exits": '13547', "latitude": 37.803664, "longitude": -122.271604 }, "geometry": { "type": 'Point', "coordinates": [ -122.271604, 37.803664 ] } }, { "type": 'Feature', "properties": { "name": '16th St. Mission (16TH)', "code": '16', "address": '2000 Mission Street, San Francisco CA 94110', "entries": '12409', "exits": '12351', "latitude": 37.765062, "longitude": -122.419694 }, "geometry": { "type": 'Point', "coordinates": [ -122.419694, 37.765062 ] } }, { "type": 'Feature', "properties": { "name": '19th St. Oakland (19TH)', "code": '19', "address": '1900 Broadway, Oakland CA 94612', "entries": '13108', "exits": '13090', "latitude": 37.80787, "longitude": -122.269029 }, "geometry": { "type": 'Point', "coordinates": [ -122.269029, 37.80787 ] } }, { "type": 'Feature', "properties": { "name": '24th St. Mission (24TH)', "code": '24', "address": '2800 Mission Street, San Francisco CA 94110', "entries": '12817', "exits": '12529', "latitude": 37.752254, "longitude": -122.418466 }, "geometry": { "type": 'Point', "coordinates": [ -122.418466, 37.752254 ] } }, { "type": 'Feature', "properties": { "name": 'Ashby (ASHB)', "code": 'AS', "address": '3100 Adeline Street, Berkeley CA 94703', "entries": '5452', "exits": '5341', "latitude": 37.853024, "longitude": -122.26978 }, "geometry": { "type": 'Point', "coordinates": [ -122.26978, 37.853024 ] } }, { "type": 'Feature', "properties": { "name": 'Balboa Park (BALB)', "code": 'BP', "address": '401 Geneva Avenue, San Francisco CA 94112', "entries": '11170', "exits": '9817', "latitude": 37.721981, "longitude": -122.447414 }, "geometry": { "type": 'Point', "coordinates": [ -122.447414, 37.721981 ] } }, { "type": 'Feature', "properties": { "name": 'Bay Fair (BAYF)', "code": 'BF', "address": '15242 Hesperian Blvd., San Leandro CA 94578', "entries": '5564', "exits": '5516', "latitude": 37.697185, "longitude": -122.126871 }, "geometry": { "type": 'Point', "coordinates": [ -122.126871, 37.697185 ] } }, { "type": 'Feature', "properties": { "name": 'Castro Valley (CAST)', "code": 'CV', "address": '3301 Norbridge Dr., Castro Valley CA 94546', "entries": '2781', "exits": '2735', "latitude": 37.690754, "longitude": -122.075567 }, "geometry": { "type": 'Point', "coordinates": [ -122.075567, 37.690754 ] } } ] } return d
def provide_test_geojson(): d = {'type': 'FeatureCollection', 'features': [{'type': 'Feature', 'properties': {'name': 'Lafayette (LAFY)', 'code': 'LF', 'address': '3601 Deer Hill Road, Lafayette CA 94549', 'entries': '3481', 'exits': '3616', 'latitude': 37.893394, 'longitude': -122.123801}, 'geometry': {'type': 'Point', 'coordinates': [-122.123801, 37.893394]}}, {'type': 'Feature', 'properties': {'name': '12th St. Oakland City Center (12TH)', 'code': '12', 'address': '1245 Broadway, Oakland CA 94612', 'entries': '13418', 'exits': '13547', 'latitude': 37.803664, 'longitude': -122.271604}, 'geometry': {'type': 'Point', 'coordinates': [-122.271604, 37.803664]}}, {'type': 'Feature', 'properties': {'name': '16th St. Mission (16TH)', 'code': '16', 'address': '2000 Mission Street, San Francisco CA 94110', 'entries': '12409', 'exits': '12351', 'latitude': 37.765062, 'longitude': -122.419694}, 'geometry': {'type': 'Point', 'coordinates': [-122.419694, 37.765062]}}, {'type': 'Feature', 'properties': {'name': '19th St. Oakland (19TH)', 'code': '19', 'address': '1900 Broadway, Oakland CA 94612', 'entries': '13108', 'exits': '13090', 'latitude': 37.80787, 'longitude': -122.269029}, 'geometry': {'type': 'Point', 'coordinates': [-122.269029, 37.80787]}}, {'type': 'Feature', 'properties': {'name': '24th St. Mission (24TH)', 'code': '24', 'address': '2800 Mission Street, San Francisco CA 94110', 'entries': '12817', 'exits': '12529', 'latitude': 37.752254, 'longitude': -122.418466}, 'geometry': {'type': 'Point', 'coordinates': [-122.418466, 37.752254]}}, {'type': 'Feature', 'properties': {'name': 'Ashby (ASHB)', 'code': 'AS', 'address': '3100 Adeline Street, Berkeley CA 94703', 'entries': '5452', 'exits': '5341', 'latitude': 37.853024, 'longitude': -122.26978}, 'geometry': {'type': 'Point', 'coordinates': [-122.26978, 37.853024]}}, {'type': 'Feature', 'properties': {'name': 'Balboa Park (BALB)', 'code': 'BP', 'address': '401 Geneva Avenue, San Francisco CA 94112', 'entries': '11170', 'exits': '9817', 'latitude': 37.721981, 'longitude': -122.447414}, 'geometry': {'type': 'Point', 'coordinates': [-122.447414, 37.721981]}}, {'type': 'Feature', 'properties': {'name': 'Bay Fair (BAYF)', 'code': 'BF', 'address': '15242 Hesperian Blvd., San Leandro CA 94578', 'entries': '5564', 'exits': '5516', 'latitude': 37.697185, 'longitude': -122.126871}, 'geometry': {'type': 'Point', 'coordinates': [-122.126871, 37.697185]}}, {'type': 'Feature', 'properties': {'name': 'Castro Valley (CAST)', 'code': 'CV', 'address': '3301 Norbridge Dr., Castro Valley CA 94546', 'entries': '2781', 'exits': '2735', 'latitude': 37.690754, 'longitude': -122.075567}, 'geometry': {'type': 'Point', 'coordinates': [-122.075567, 37.690754]}}]} return d
class Solution: def maxSubArray(self, nums: List[int]) -> int: maxSub = nums[0] cur_sum = 0 for num in nums: if cur_sum < 0: cur_sum = 0 cur_sum += num maxSub = max(maxSub, cur_sum) print(maxSub) return maxSub
class Solution: def max_sub_array(self, nums: List[int]) -> int: max_sub = nums[0] cur_sum = 0 for num in nums: if cur_sum < 0: cur_sum = 0 cur_sum += num max_sub = max(maxSub, cur_sum) print(maxSub) return maxSub
# apis_v1/documentation_source/office_retrieve_doc.py # Brought to you by We Vote. Be good. # -*- coding: UTF-8 -*- def office_retrieve_doc_template_values(url_root): """ Show documentation about officeRetrieve """ required_query_parameter_list = [ { 'name': 'voter_device_id', 'value': 'string', # boolean, integer, long, string 'description': 'An 88 character unique identifier linked to a voter record on the server', }, { 'name': 'api_key', 'value': 'string (from post, cookie, or get (in that order))', # boolean, integer, long, string 'description': 'The unique key provided to any organization using the WeVoteServer APIs', }, { 'name': 'office_id', 'value': 'integer', # boolean, integer, long, string 'description': 'The unique internal identifier for this office ' '(either office_id OR office_we_vote_id required -- not both. ' 'If it exists, office_id is used instead of office_we_vote_id)', }, { 'name': 'office_we_vote_id', 'value': 'integer', # boolean, integer, long, string 'description': 'The unique identifier for this office across all networks ' '(either office_id OR office_we_vote_id required -- not both.) NOTE: In the future we ' 'might support other identifiers used in the industry.', }, ] optional_query_parameter_list = [ ] potential_status_codes_list = [ { 'code': 'VALID_VOTER_DEVICE_ID_MISSING', 'description': 'Cannot proceed. A valid voter_device_id parameter was not included.', }, { 'code': 'VALID_VOTER_ID_MISSING', 'description': 'Cannot proceed. A valid voter_id was not found.', }, ] try_now_link_variables_dict = { 'office_we_vote_id': 'wv01off922', } api_response = '{\n' \ ' "status": string,\n' \ ' "success": boolean,\n' \ ' "voter_device_id": string (88 characters long),\n' \ ' "kind_of_ballot_item": string (CANDIDATE, MEASURE),\n' \ ' "id": integer,\n' \ ' "we_vote_id": string,\n' \ ' "google_civic_election_id": integer,\n' \ ' "ballot_item_display_name": string,\n' \ ' "ocd_division_id": string,\n' \ ' "maplight_id": string,\n' \ ' "ballotpedia_id": string,\n' \ ' "wikipedia_id": string,\n' \ ' "number_voting_for": integer,\n' \ ' "number_elected": integer,\n' \ ' "state_code": string,\n' \ ' "primary_party": string,\n' \ ' "district_name": string,\n' \ '}' template_values = { 'api_name': 'officeRetrieve', 'api_slug': 'officeRetrieve', 'api_introduction': "Retrieve detailed information about one office.", 'try_now_link': 'apis_v1:officeRetrieveView', 'try_now_link_variables_dict': try_now_link_variables_dict, 'url_root': url_root, 'get_or_post': 'GET', 'required_query_parameter_list': required_query_parameter_list, 'optional_query_parameter_list': optional_query_parameter_list, 'api_response': api_response, 'api_response_notes': "", 'potential_status_codes_list': potential_status_codes_list, } return template_values
def office_retrieve_doc_template_values(url_root): """ Show documentation about officeRetrieve """ required_query_parameter_list = [{'name': 'voter_device_id', 'value': 'string', 'description': 'An 88 character unique identifier linked to a voter record on the server'}, {'name': 'api_key', 'value': 'string (from post, cookie, or get (in that order))', 'description': 'The unique key provided to any organization using the WeVoteServer APIs'}, {'name': 'office_id', 'value': 'integer', 'description': 'The unique internal identifier for this office (either office_id OR office_we_vote_id required -- not both. If it exists, office_id is used instead of office_we_vote_id)'}, {'name': 'office_we_vote_id', 'value': 'integer', 'description': 'The unique identifier for this office across all networks (either office_id OR office_we_vote_id required -- not both.) NOTE: In the future we might support other identifiers used in the industry.'}] optional_query_parameter_list = [] potential_status_codes_list = [{'code': 'VALID_VOTER_DEVICE_ID_MISSING', 'description': 'Cannot proceed. A valid voter_device_id parameter was not included.'}, {'code': 'VALID_VOTER_ID_MISSING', 'description': 'Cannot proceed. A valid voter_id was not found.'}] try_now_link_variables_dict = {'office_we_vote_id': 'wv01off922'} api_response = '{\n "status": string,\n "success": boolean,\n "voter_device_id": string (88 characters long),\n "kind_of_ballot_item": string (CANDIDATE, MEASURE),\n "id": integer,\n "we_vote_id": string,\n "google_civic_election_id": integer,\n "ballot_item_display_name": string,\n "ocd_division_id": string,\n "maplight_id": string,\n "ballotpedia_id": string,\n "wikipedia_id": string,\n "number_voting_for": integer,\n "number_elected": integer,\n "state_code": string,\n "primary_party": string,\n "district_name": string,\n}' template_values = {'api_name': 'officeRetrieve', 'api_slug': 'officeRetrieve', 'api_introduction': 'Retrieve detailed information about one office.', 'try_now_link': 'apis_v1:officeRetrieveView', 'try_now_link_variables_dict': try_now_link_variables_dict, 'url_root': url_root, 'get_or_post': 'GET', 'required_query_parameter_list': required_query_parameter_list, 'optional_query_parameter_list': optional_query_parameter_list, 'api_response': api_response, 'api_response_notes': '', 'potential_status_codes_list': potential_status_codes_list} return template_values
#!/usr/bin/env python try: x = (1 / 0) print (x) except ZeroDivisionError: print('Erro ao tentar dividir por zero.')
try: x = 1 / 0 print(x) except ZeroDivisionError: print('Erro ao tentar dividir por zero.')
# 1. ------------------------------------ def logistic_map(x, r): return r * x * (1 - x) # 2. ------------------------------------ initial_condition = 0.5 t_final = 10 r = 1.0 trajectory = [initial_condition] for t in range(1, t_final): trajectory[t] = logistic_map(trajectory[t-1], r) # 3. ----------------------------------- def iterate(initial_condition, t_final, r): trajectory = [initial_condition] for t in range(1, t_final): trajectory[t] = logistic_map(trajectory[t-1], r) return trajectory
def logistic_map(x, r): return r * x * (1 - x) initial_condition = 0.5 t_final = 10 r = 1.0 trajectory = [initial_condition] for t in range(1, t_final): trajectory[t] = logistic_map(trajectory[t - 1], r) def iterate(initial_condition, t_final, r): trajectory = [initial_condition] for t in range(1, t_final): trajectory[t] = logistic_map(trajectory[t - 1], r) return trajectory
# # PySNMP MIB module REPEATER-REV4-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/REPEATER-REV4-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:44:24 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, ValueRangeConstraint, ConstraintsUnion, ValueSizeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueRangeConstraint", "ConstraintsUnion", "ValueSizeConstraint", "SingleValueConstraint") repeaterRev4, = mibBuilder.importSymbols("CTRON-MIB-NAMES", "repeaterRev4") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, TimeTicks, Counter32, Integer32, Counter64, NotificationType, ObjectIdentity, iso, MibIdentifier, ModuleIdentity, Unsigned32, Bits, Gauge32 = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "TimeTicks", "Counter32", "Integer32", "Counter64", "NotificationType", "ObjectIdentity", "iso", "MibIdentifier", "ModuleIdentity", "Unsigned32", "Bits", "Gauge32") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") repeaterrev4 = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4)) rptr = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1)) rptrMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 1)) rptrMgmtName = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(20, 20)).setFixedLength(20)).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrMgmtName.setStatus('mandatory') if mibBuilder.loadTexts: rptrMgmtName.setDescription('The ASCII name assigned to this network.') rptrMgmtPortCount = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMgmtPortCount.setStatus('mandatory') if mibBuilder.loadTexts: rptrMgmtPortCount.setDescription('Total number of ports residing on this lan segment.') rptrMgmtPortsEnable = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("noEnable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrMgmtPortsEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrMgmtPortsEnable.setDescription('Setting this object to Enable will cause all the ports residing in this network segment to be enabled. Setting this object to noEnable will have no effect. When read this object will always return noEnable.') rptrMgmtPortsOn = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMgmtPortsOn.setStatus('mandatory') if mibBuilder.loadTexts: rptrMgmtPortsOn.setDescription('Get the total number of ON ports in this network.') rptrMgmtPortsOper = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMgmtPortsOper.setStatus('mandatory') if mibBuilder.loadTexts: rptrMgmtPortsOper.setDescription('Get the number of operational ports in this network.') rptrMgmtBoardMap = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMgmtBoardMap.setStatus('mandatory') if mibBuilder.loadTexts: rptrMgmtBoardMap.setDescription('Get a map of the chassis slots occupied by the boards in this network.') rptrMgmtInterfaceNum = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrMgmtInterfaceNum.setStatus('mandatory') if mibBuilder.loadTexts: rptrMgmtInterfaceNum.setDescription('Get the MIBII interface number of this network. A return of zero will mean this network is not associated with a MIBII interface.') rptrMgmtResetCounters = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("normal", 1), ("reseStaticCounters", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrMgmtResetCounters.setStatus('mandatory') if mibBuilder.loadTexts: rptrMgmtResetCounters.setDescription("Setting this OID to 2 will reset the 'rptrPktStats', 'rptrProtocols' and 'rptrFrameSizes' RREV-4 branch static counters. Reading this OID will always return a 1.") rptrStats = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2)) rptrPktStats = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1)) rptrPktStatsPackets = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPktStatsPackets.setStatus('mandatory') if mibBuilder.loadTexts: rptrPktStatsPackets.setDescription("Get this repeater's total received packets.") rptrPktStatsBytes = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPktStatsBytes.setStatus('mandatory') if mibBuilder.loadTexts: rptrPktStatsBytes.setDescription("Get this repeater's total received bytes.") rptrPktStatsColls = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPktStatsColls.setStatus('mandatory') if mibBuilder.loadTexts: rptrPktStatsColls.setDescription("Get this repeater's total collisions.") rptrPktStatsErrors = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPktStatsErrors.setStatus('mandatory') if mibBuilder.loadTexts: rptrPktStatsErrors.setDescription("Get this repeater's total errors.") rptrPktStatsAlign = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPktStatsAlign.setStatus('mandatory') if mibBuilder.loadTexts: rptrPktStatsAlign.setDescription("Get this repeater's total frame alignment errors.") rptrPktStatsCRC = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPktStatsCRC.setStatus('mandatory') if mibBuilder.loadTexts: rptrPktStatsCRC.setDescription("Get this repeater's total CRC errors.") rptrPktStatsOOW = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPktStatsOOW.setStatus('mandatory') if mibBuilder.loadTexts: rptrPktStatsOOW.setDescription("Get this repeater's total out-of-window collisions.") rptrPktStatsNoRsc = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPktStatsNoRsc.setStatus('mandatory') if mibBuilder.loadTexts: rptrPktStatsNoRsc.setDescription('This counter is the number of packets on this network that the hardware has processed that the management has either not seen yet, in the case of an active network, or has missed missed all together, in the case of a once active network.') rptrPktStatsBroadcasts = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPktStatsBroadcasts.setStatus('mandatory') if mibBuilder.loadTexts: rptrPktStatsBroadcasts.setDescription('This counter is the number of broadcast packets on this network that the hardware has processed.') rptrPktStatsMulticasts = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPktStatsMulticasts.setStatus('mandatory') if mibBuilder.loadTexts: rptrPktStatsMulticasts.setDescription('This counter is the number of multicast packets on this network that the hardware has processed.') rptrProtocols = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 2)) rptrProtocolsOSI = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 2, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrProtocolsOSI.setStatus('mandatory') if mibBuilder.loadTexts: rptrProtocolsOSI.setDescription("Get this repeater's total received OSI packets.") rptrProtocolsNovell = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 2, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrProtocolsNovell.setStatus('mandatory') if mibBuilder.loadTexts: rptrProtocolsNovell.setDescription("Get this repeater's total received Novell packets.") rptrProtocolsBanyan = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 2, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrProtocolsBanyan.setStatus('mandatory') if mibBuilder.loadTexts: rptrProtocolsBanyan.setDescription("Get this repeater's total received Banyan packets.") rptrProtocolsDECNet = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 2, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrProtocolsDECNet.setStatus('mandatory') if mibBuilder.loadTexts: rptrProtocolsDECNet.setDescription("Get this repeater's total received DECNet packets.") rptrProtocolsXNS = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 2, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrProtocolsXNS.setStatus('mandatory') if mibBuilder.loadTexts: rptrProtocolsXNS.setDescription("Get this repeater's total received XNS packets.") rptrProtocolsIP = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 2, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrProtocolsIP.setStatus('mandatory') if mibBuilder.loadTexts: rptrProtocolsIP.setDescription("Get this repeater's total received TCP/IP packets.") rptrProtocolsCtron = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 2, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrProtocolsCtron.setStatus('mandatory') if mibBuilder.loadTexts: rptrProtocolsCtron.setDescription("Get this repeater's total received CTRON Management packets.") rptrProtocolsAppletalk = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 2, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrProtocolsAppletalk.setStatus('mandatory') if mibBuilder.loadTexts: rptrProtocolsAppletalk.setDescription("Get this repeater's total received Appletalk packets.") rptrProtocolsOther = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 2, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrProtocolsOther.setStatus('mandatory') if mibBuilder.loadTexts: rptrProtocolsOther.setDescription("Get this repeater's total received unknown protocol packets.") rptrFrameSizes = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 3)) rptrFrameSzRunt = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 3, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrFrameSzRunt.setStatus('mandatory') if mibBuilder.loadTexts: rptrFrameSzRunt.setDescription("Get this repeater's total received packets of size less than 64 bytes.") rptrFrameSz64To127 = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 3, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrFrameSz64To127.setStatus('mandatory') if mibBuilder.loadTexts: rptrFrameSz64To127.setDescription("Get this repeater's total received packets of size between 64 and 127 bytes.") rptrFrameSz128To255 = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 3, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrFrameSz128To255.setStatus('mandatory') if mibBuilder.loadTexts: rptrFrameSz128To255.setDescription("Get this repeater's total received packets of size between 128 and 255 bytes.") rptrFrameSz256To511 = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 3, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrFrameSz256To511.setStatus('mandatory') if mibBuilder.loadTexts: rptrFrameSz256To511.setDescription("Get this repeater's total received packets of size between 256 and 511 bytes.") rptrFrameSz512To1023 = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 3, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrFrameSz512To1023.setStatus('mandatory') if mibBuilder.loadTexts: rptrFrameSz512To1023.setDescription("Get this repeater's total received packets of size between 512 and 1023 bytes.") rptrFrameSz1024To1518 = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 3, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrFrameSz1024To1518.setStatus('mandatory') if mibBuilder.loadTexts: rptrFrameSz1024To1518.setDescription("Get this repeater's total received packets of size between 1024 and 1518 bytes.") rptrFrameSzGiant = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 3, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrFrameSzGiant.setStatus('mandatory') if mibBuilder.loadTexts: rptrFrameSzGiant.setDescription("Get this repeater's total received packets of size greater than 1518 bytes.") rptrAlarms = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3)) rptrAlarmsTrafEnable = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrAlarmsTrafEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrAlarmsTrafEnable.setDescription('Get returns whether traffic alarms are enabled/disabled. Set allows for enabling/disabling of traffic alarms.') rptrAlarmsTrafThreshold = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrAlarmsTrafThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrAlarmsTrafThreshold.setDescription('The maximum number of packets that will be allowed before an alarm is generated.') rptrAlarmsCollEnable = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrAlarmsCollEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrAlarmsCollEnable.setDescription('Get returns whether collision alarms are enabled/disabled. Set allows for enabling/disabling of collision alarms.') rptrAlarmsCollThreshold = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrAlarmsCollThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrAlarmsCollThreshold.setDescription('The collision threshold is the maximum number of collisions within the time base that will be allowed before an alarm is generated.') rptrAlarmsErrEnable = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrAlarmsErrEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrAlarmsErrEnable.setDescription('Get returns whether error alarms are enabled/disabled. Set allows for enabling/disabling of error alarms.') rptrAlarmsErrThreshold = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrAlarmsErrThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrAlarmsErrThreshold.setDescription('The percentage of errors per good packet within the timebase that will cause an alarm. The units of this value is in seconds.') rptrAlarmsErrSource = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrAlarmsErrSource.setStatus('mandatory') if mibBuilder.loadTexts: rptrAlarmsErrSource.setDescription('Get/Set a bit encoded map of which errors to include in the error sum, as follows: CRC_errors - Bit 0 - Least Significant Bit runts - Bit 1 OOW_colls - Bit 2 align_errs - Bit 3 undefined - Bit 4 Giants - Bit 5') rptrAlarmsAlarmTimebase = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 999999))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrAlarmsAlarmTimebase.setStatus('mandatory') if mibBuilder.loadTexts: rptrAlarmsAlarmTimebase.setDescription('The alarm timebase, in seconds.') rptrAlarmsBroadEnable = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrAlarmsBroadEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrAlarmsBroadEnable.setDescription('Get returns whether broadcast alarms are enabled/disabled. Set allows for enabling/disabling of broadcast alarms.') rptrAlarmsBroadThreshold = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3, 10), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrAlarmsBroadThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrAlarmsBroadThreshold.setDescription('The broadcase threshold represents the maximum number of broadcasts that are allowed during the time base before an alarm is generated.') rptrRedundancy = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4)) rptrRedund = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 1)) rptrRedundReset = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("noReset", 1), ("reset", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrRedundReset.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundReset.setDescription('If this object is set to Reset it will cause a reset of the redundancy object to occur. Setting this object to NoReset will do nothing. This object will always be read as NoReset.') rptrRedundPollInterval = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 1, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrRedundPollInterval.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundPollInterval.setDescription('Get/Set the number of seconds between polls for redundancy.') rptrRedundTestTOD = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrRedundTestTOD.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundTestTOD.setDescription('Get/Set the time of day at which the redundant circuits will be tested. The format of the time string is hh:mm:ss.') rptrRedundPerformTest = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("noTest", 1), ("test", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrRedundPerformTest.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundPerformTest.setDescription('If this object is set to Test it will cause a test of the redundant circuits to be performed. Setting this object to NoTest will have no effect. When read this object will always return NoTest.') rptrRedundMaxCrcts = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrRedundMaxCrcts.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundMaxCrcts.setDescription('Returns the maximum number of circuits which may exist on this network.') rptrRedundCrctTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2), ) if mibBuilder.loadTexts: rptrRedundCrctTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctTable.setDescription('A list of redundant circuit objects for this repeater.') rptrRedundCrctEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrRedundCrctId")) if mibBuilder.loadTexts: rptrRedundCrctEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctEntry.setDescription('A list of objects for a particular redundant circuit.') rptrRedundCrctId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrRedundCrctId.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctId.setDescription('Returns the index for a member circuit in the table of redundant circuits.') rptrRedundCrctName = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2, 1, 2), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrRedundCrctName.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctName.setDescription('Get/Set the name of the indicated circuit.') rptrRedundCrctRetrys = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrRedundCrctRetrys.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctRetrys.setDescription('Get/Set the the number of unanswered polls allowed for the circuit.') rptrRedundCrctNumBPs = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrRedundCrctNumBPs.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctNumBPs.setDescription('Get the number of board/port combinations associated with the circuit.') rptrRedundCrctNumAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrRedundCrctNumAddr.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctNumAddr.setDescription('Get the number of IP Addresses associated with the circuit.') rptrRedundCrctAddAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2, 1, 6), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrRedundCrctAddAddr.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctAddAddr.setDescription('Add an IP Address to the polling list for the indicated circuit.') rptrRedundCrctDelAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2, 1, 7), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrRedundCrctDelAddr.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctDelAddr.setDescription('Delete an IP Address from the polling list of the indicated circuit.') rptrRedundCrctEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrRedundCrctEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctEnable.setDescription('If this object is set to Enable, the circuit is enabled. If this object is set to Disable, the circuit is disbabled. When read, this object returns the state of the object based on the last request made.') rptrRedundCrctReset = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("noReset", 1), ("reset", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrRedundCrctReset.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctReset.setDescription("If this object is set to Reset, the circuit is reset. All of the circuit's associated boards and ports are returned to NOT_USED, any associated IP Addresses are purged from the circuit's address list, the name is cleared, and the retry count is reset to a default value. Setting this object to NoReset has no effect. When read, NoReset is always returned.") rptrRedundPortTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 3), ) if mibBuilder.loadTexts: rptrRedundPortTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundPortTable.setDescription('A list of redundant port objects for this repeater.') rptrRedundPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 3, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrRedundPortCrctId"), (0, "REPEATER-REV4-MIB", "rptrRedundPortId")) if mibBuilder.loadTexts: rptrRedundPortEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundPortEntry.setDescription('A redundant port entry containing objects pertaining to a particular redundant port.') rptrRedundPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrRedundPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundPortId.setDescription('A unique value identifying an element in a sequence of member ports which belong to a circuit in the table of redundant circuits. This value is not a port number; rather it is a value which goes from 1 to the maximum number of ports which may be included in a redundant circuit.') rptrRedundPortCrctId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 3, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrRedundPortCrctId.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundPortCrctId.setDescription('A unique value identifying a member circuit in the table of redundant circuits. This value is similar to rptrRedundCrctId.') rptrRedundPortNum = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 3, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrRedundPortNum.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundPortNum.setDescription('Returns the port number of a member port belonging to a redundant circuit.') rptrRedundPortBoardNum = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 3, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrRedundPortBoardNum.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundPortBoardNum.setDescription('Returns the board number of a member port belonging to a redundant circuit.') rptrRedundPortType = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notUsed", 1), ("primary", 2), ("backup", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrRedundPortType.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundPortType.setDescription('Return the state of a port associated with the indicated circuit.') rptrRedundAddrTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 4), ) if mibBuilder.loadTexts: rptrRedundAddrTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundAddrTable.setDescription('A list of redundant IP Address objects which belong to a circuit for this repeater.') rptrRedundAddrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 4, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrRedundAddrCrctId"), (0, "REPEATER-REV4-MIB", "rptrRedundAddrId")) if mibBuilder.loadTexts: rptrRedundAddrEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundAddrEntry.setDescription('A entry containing objects pertaining to a particular redundant IP Address which belongs to a circuit.') rptrRedundAddrId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrRedundAddrId.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundAddrId.setDescription('A unique value identifying an element in a sequence of member IP Addresses which belong to a circuit in the table of redundant circuits. This value goes from 1 to the maximum number of IP Addresses which may be included in a redundant circuit.') rptrRedundAddrCrctId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 4, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrRedundAddrCrctId.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundAddrCrctId.setDescription('A unique value identifying a member circuit in the table of redundant circuits. This value is similar to rptrRedundCrctId.') rptrRedundAddrIPAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 4, 1, 3), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrRedundAddrIPAddr.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundAddrIPAddr.setDescription('Returns an IP Address associated with the indicated circuit.') rptrSourceAddress = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5)) rptrSrcAddrListTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 1), ) if mibBuilder.loadTexts: rptrSrcAddrListTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrListTable.setDescription('This table defines the source address list that is defined at the repeater level.') rptrSrcAddrListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 1, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrSrcAddrListId")) if mibBuilder.loadTexts: rptrSrcAddrListEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrListEntry.setDescription('Defines a specific source address object.') rptrSrcAddrListId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrSrcAddrListId.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrListId.setDescription('Returns an index into a table of source address seen by this repeater.') rptrSrcAddrAddressList = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrSrcAddrAddressList.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrAddressList.setDescription('Returns a source address seen by this repeater.') rptrSrcAddrSrcTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 2), ) if mibBuilder.loadTexts: rptrSrcAddrSrcTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrSrcTable.setDescription('This table defines the list of all source addresses that have been seen.') rptrSrcAddrSrcTableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 2, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrSrcAddrSrcTableEntryId")) if mibBuilder.loadTexts: rptrSrcAddrSrcTableEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrSrcTableEntry.setDescription('Describes a particular source address source entry.') rptrSrcAddrSrcTableEntryId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 2, 1, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrSrcAddrSrcTableEntryId.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrSrcTableEntryId.setDescription("Returns the source address to which this table's information pertains.") rptrSrcAddrSrcTableEntryPort = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrSrcAddrSrcTableEntryPort.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrSrcTableEntryPort.setDescription('Returns the port# of the port that sourced the source address.') rptrSrcAddrSrcTableEntryPortGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrSrcAddrSrcTableEntryPortGroup.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrSrcTableEntryPortGroup.setDescription('Returns the port group# of the port that sourced the source address.') rptrSrcAddrMgmt = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 3)) rptrSrcAddrMgmtSrcAgeInterval = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 3, 1), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrSrcAddrMgmtSrcAgeInterval.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrMgmtSrcAgeInterval.setDescription('Get/Set source addressing ageing interval.') rptrSrcAddrMgmtPortLock = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("unlock", 1), ("lock", 2), ("portMisMatch", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrSrcAddrMgmtPortLock.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrMgmtPortLock.setDescription('Setting this object to Lock will activate the network port security lock. Setting a value of portMisMatch(3) is invalid. A value of portMisMatch(3) reflects that not all ports are at the same value.') rptrSrcAddrMgmtActiveUsers = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 3, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrSrcAddrMgmtActiveUsers.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrMgmtActiveUsers.setDescription('Get the number of active users on this network.') rptrSrcAddrMgmtHashType = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 3, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("noDecHash", 1), ("decHash", 2))).clone('noDecHash')).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrSrcAddrMgmtHashType.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrMgmtHashType.setDescription('Defines the type of hashing that will be used for source address management. In a DEC-NET environment or a combination fo DEC-NET and non DEC-NET users where source address hash access is a concern a value of decHash(2) may yield better results. For non DEC-NET users a value of noDecHash(1) is preferred.') rptrTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 6)) rptrHwTrapSet = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 6, 1)) rptrSaTrapSet = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 6, 2)) rptrHwTrapSetLink = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 6, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2), ("other", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrHwTrapSetLink.setStatus('mandatory') if mibBuilder.loadTexts: rptrHwTrapSetLink.setDescription('Enables and disables link traps for this network. Setting a value of disable(1) is equivalent to setting all instances of rptrPortHwTrapSetLink to a value of disable(1). Setting a value of enable(2) is equivalent to setting all instances of rptrPortHwTrapSetLink to a value of disable(2). Setting a value of other(3) is not allowed. This object will read with the value of disable(1) if all instances of rptrPortHwTrapSetLink for this network are currently set to a value of disable(1). This object will read with the value of enable(2) if all instances of rptrPortHwTrapSetLink for this network are currently set to a value of enable(2). This object will read with the value of other(3) if all instances of rptrPortHwTrapSetLink for this network are not currently set to a value the same value.') rptrHwTrapSetSeg = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 6, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2), ("other", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrHwTrapSetSeg.setStatus('mandatory') if mibBuilder.loadTexts: rptrHwTrapSetSeg.setDescription('Enables and disables segmentation traps for this network. Setting a value of disable(1) is equivalent to setting all instances of rptrPortHwTrapSetSeg to a value of disable(1). Setting a value of enable(2) is equivalent to setting all instances of rptrPortHwTrapSetSeg to a value of disable(2). Setting a value of other(3) is not allowed. This object will read with the value of disable(1) if all instances of rptrPortHwTrapSetSeg for this network are currently set to a value of disable(1). This object will read with the value of enable(2) if all instances of rptrPortHwTrapSetSeg for this network are currently set to a value of enable(2). This object will read with the value of other(3) if all instances of rptrPortHwTrapSetSeg for this network are not currently set to a value the same value.') rptrSaTrapSetSrcaddr = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 6, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2), ("other", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrSaTrapSetSrcaddr.setStatus('mandatory') if mibBuilder.loadTexts: rptrSaTrapSetSrcaddr.setDescription('Enables and disables source address traps for this network. Setting a value of disable(1) is equivalent to setting all instances of rptrPortSaTrapSetSrcaddr to a value of disable(1). Setting a value of enable(2) is equivalent to setting all instances of rptrPortSaTrapSetSrcaddr to a value of disable(2). Setting a value of other(3) is not allowed. This object will read with the value of disable(1) if all instances of rptrPortSaTrapSetSrcaddr for this network are currently set to a value of disable(1). This object will read with the value of enable(2) if all instances of rptrPortSaTrapSetSrcaddr for this network are currently set to a value of enable(2). This object will read with the value of other(3) if all instances of rptrPortSaTrapSetSrcaddr for this network are not currently set to a value the same value.') rptrSaSecurity = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 7)) rptrSecurityLockState = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 7, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("unlock", 1), ("lock", 2), ("portMisMatch", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrSecurityLockState.setStatus('mandatory') if mibBuilder.loadTexts: rptrSecurityLockState.setDescription('Setting this object to Lock will activate the network port security lock. Setting a value of portMisMatch(3) is invalid. A value of portMisMatch(3) reflects that not all ports are at the same value.') rptrSecuritySecureState = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 7, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("secure", 1), ("nonSecure", 2), ("portMisMatch", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrSecuritySecureState.setStatus('mandatory') if mibBuilder.loadTexts: rptrSecuritySecureState.setDescription('The status of source address security of the network. Ports on the network that are secure(1), can be locked in order to enable security. nonSecure(2) ports cannot be locked. Setting a value of portMisMatch(3) is invalid. A value of portMisMatch(3) reflects that not all ports are at the same value.') rptrSecurityLearnState = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 7, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("learn", 1), ("noLearn", 2), ("portMisMatch", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrSecurityLearnState.setStatus('mandatory') if mibBuilder.loadTexts: rptrSecurityLearnState.setDescription('The learn state of the network. This object will only be applied to ports that are unlocked. If set to learn(1), all addresses are deleted on the ports and learning begins once again. If it is set to noLearn(2), learning stops on the port. Setting a value of portMisMatch(3) is invalid. A value of portMisMatch(3) reflects that not all ports are at the same value.') rptrSecurityLearnMode = MibScalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 7, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("oneTime", 1), ("continuous", 2), ("portMisMatch", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrSecurityLearnMode.setStatus('mandatory') if mibBuilder.loadTexts: rptrSecurityLearnMode.setDescription('Get/Set the learn mode of the network. If set to onetime learn mode oneTime(1), each port is capable of learning two addresses and securing on both destination and source addresses once they are locked. If set to continuous learn continuous(2), all addresses are initially deleted and each port continuously replaces the existing secure source address with the latest source address it sees. Setting a value of portMisMatch(3) is invalid. A value of portMisMatch(3) reflects that not all ports are at the same value.') rptrPortGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2)) rptrPortGrpMgmtTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 1), ) if mibBuilder.loadTexts: rptrPortGrpMgmtTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpMgmtTable.setDescription('A list of port management objects for this repeater node.') rptrPortGrpMgmtEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 1, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortGrpMgmtGrpId")) if mibBuilder.loadTexts: rptrPortGrpMgmtEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpMgmtEntry.setDescription('An entry containing objects pertaining to port management for a port group.') rptrPortGrpMgmtGrpId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpMgmtGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpMgmtGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptrPortGrpMgmtName = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(20, 20)).setFixedLength(20)).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortGrpMgmtName.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpMgmtName.setDescription('Gets/Sets a name for the specified port group.') rptrPortGrpMgmtPortCount = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpMgmtPortCount.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpMgmtPortCount.setDescription('Get total number of ports contained on the board. Notice that this is the physical port count.') rptrPortGrpMgmtPortsEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("noEnable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortGrpMgmtPortsEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpMgmtPortsEnable.setDescription('Setting this object to Enable will cause all the ports residing in this network segment to be enabled. Setting this object to noEnable will have no effect. When read this object will always return noEnable.') rptrPortGrpMgmtPortsOn = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpMgmtPortsOn.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpMgmtPortsOn.setDescription('Get total number of ON ports in this port group.') rptrPortGrpMgmtPortsOper = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpMgmtPortsOper.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpMgmtPortsOper.setDescription('Get total number of operational ports in the port group.') rptrPortGrpMgmtLogPortCount = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpMgmtLogPortCount.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpMgmtLogPortCount.setDescription('Get total number of ports contained in this port group.') rptrPortGrpStats = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2)) rptrPortGrpPktStatsTbl = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1), ) if mibBuilder.loadTexts: rptrPortGrpPktStatsTbl.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsTbl.setDescription('This table provides packet statistics for port group.') rptrPortGrpPktStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortGrpPktStatsId")) if mibBuilder.loadTexts: rptrPortGrpPktStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsEntry.setDescription('Defines a specific packet statistics entry.') rptrPortGrpPktStatsId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpPktStatsId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptrPortGrpPktStatsPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpPktStatsPkts.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsPkts.setDescription("Return this port group's total received packets.") rptrPortGrpPktStatsBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpPktStatsBytes.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsBytes.setDescription("Return this port group's total received bytes.") rptrPortGrpPktStatsColls = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpPktStatsColls.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsColls.setDescription("Return this port group's total collisions.") rptrPortGrpPktStatsErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpPktStatsErrors.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsErrors.setDescription("Return this port group's total errors.") rptrPortGrpPktStatsAlign = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpPktStatsAlign.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsAlign.setDescription("Return this port group's total frame alignment errors.") rptrPortGrpPktStatsCRC = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpPktStatsCRC.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsCRC.setDescription("Return this port group's total CRC errors.") rptrPortGrpPktStatsOOW = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpPktStatsOOW.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsOOW.setDescription("Return this port group's total out-of-window collisions.") rptrPortGrpPktStatsBroadcasts = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpPktStatsBroadcasts.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsBroadcasts.setDescription("Return this port group's total received broadcast packets.") rptrPortGrpPktStatsMulticasts = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpPktStatsMulticasts.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsMulticasts.setDescription("Return this port group's total received multicast packets.") rptrPortGrpProtocolTbl = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2), ) if mibBuilder.loadTexts: rptrPortGrpProtocolTbl.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolTbl.setDescription('Provides port group protocol statistics.') rptrPortGrpProtocolEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortGrpProtocolId")) if mibBuilder.loadTexts: rptrPortGrpProtocolEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolEntry.setDescription('Defines a specific port group protocol statistics entry.') rptrPortGrpProtocolId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpProtocolId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptrPortGrpProtocolOSI = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpProtocolOSI.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolOSI.setDescription("Return this port group's total received OSI packets.") rptrPortGrpProtocolNovell = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpProtocolNovell.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolNovell.setDescription("Return this port group's total received Novell packets.") rptrPortGrpProtocolBanyan = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpProtocolBanyan.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolBanyan.setDescription("Return this port group's total received Banyan packets.") rptrPortGrpProtocolDECNet = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpProtocolDECNet.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolDECNet.setDescription("Return this port group's total received DECNet packets.") rptrPortGrpProtocolXNS = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpProtocolXNS.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolXNS.setDescription("Return this port group's total received XNS packets.") rptrPortGrpProtocolIP = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpProtocolIP.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolIP.setDescription("Return this port group's total received TCP/IP packets.") rptrPortGrpProtocolCtron = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpProtocolCtron.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolCtron.setDescription("Return this port group's total received CTRON Management packets.") rptrPortGrpProtocolAppletalk = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpProtocolAppletalk.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolAppletalk.setDescription("Return this port group's total received Appletalk packets.") rptrPortGrpProtocolOther = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpProtocolOther.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolOther.setDescription("Return this port group's total received unknown protocol packets.") rptrPortGrpFrameSzTbl = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 3), ) if mibBuilder.loadTexts: rptrPortGrpFrameSzTbl.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpFrameSzTbl.setDescription('Defines frame sizes as seen by this port group.') rptrPortGrpFrameSzEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 3, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortGrpFrameSzId")) if mibBuilder.loadTexts: rptrPortGrpFrameSzEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpFrameSzEntry.setDescription('Defines a particular frame size entry.') rptrPortGrpFrameSzId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpFrameSzId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpFrameSzId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptrPortGrpFrameSzRunt = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpFrameSzRunt.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpFrameSzRunt.setDescription("Return this port group's total received packets of size less than 64 bytes.") rptrPortGrpFrameSz64To127 = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 3, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpFrameSz64To127.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpFrameSz64To127.setDescription("Return this port group's total received packets of size between 64 and 127 bytes.") rptrPortGrpFrameSz128To255 = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpFrameSz128To255.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpFrameSz128To255.setDescription("Return this port group's total received packets of size between 128 and 255 bytes.") rptrPortGrpFrameSz256To511 = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpFrameSz256To511.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpFrameSz256To511.setDescription("Return this port group's total received packets of size between 256 and 511 bytes.") rptrPortGrpFrameSz512To1023 = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpFrameSz512To1023.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpFrameSz512To1023.setDescription("Return this port group's total received packets of size between 512 and 1023 bytes.") rptrPortGrpFrameSz1024To1518 = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpFrameSz1024To1518.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpFrameSz1024To1518.setDescription("Return this port group's total received packets of size between 1024 and 1518 bytes.") rptrPortGrpFrameSzGiant = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpFrameSzGiant.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpFrameSzGiant.setDescription("Return this port group's total received packets of size greater than 1518 bytes.") rptrPortGrpAlarmTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3), ) if mibBuilder.loadTexts: rptrPortGrpAlarmTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmTable.setDescription('A list of port group alarm objects for this repeater node.') rptrPortGrpAlarmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortGrpAlarmId")) if mibBuilder.loadTexts: rptrPortGrpAlarmEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmEntry.setDescription('An entry containing objects pertaining to port group alarms for a port group.') rptrPortGrpAlarmId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpAlarmId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptrPortGrpAlarmTrafEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortGrpAlarmTrafEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmTrafEnable.setDescription('Get returns whether traffic alarms are enabled/disabled. Set allows for enabling/disabling of traffic alarms.') rptrPortGrpAlarmTrafThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortGrpAlarmTrafThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmTrafThreshold.setDescription('The maximum number of packets that will be allowed before an alarm is generated.') rptrPortGrpAlarmTrafGrpDisable = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortGrpAlarmTrafGrpDisable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmTrafGrpDisable.setDescription('Set will permit a port group to be disabled on a traffic alarm condition. Get will show whether the port group disabling is allowed or not.') rptrPortGrpAlarmCollEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortGrpAlarmCollEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmCollEnable.setDescription('Get returns whether collision alarms are enabled/disabled. Set allows for enabling/disabling of collision alarms.') rptrPortGrpAlarmCollThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 999999))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortGrpAlarmCollThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmCollThreshold.setDescription('The collision threshold is the maximum number of collisions within the time base that will be allowed before an alaram is generated.') rptrPortGrpAlarmCollBdDisable = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortGrpAlarmCollBdDisable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmCollBdDisable.setDescription('Set will permit a port group to be disabled on a collision alarm condition. Get will show whether the port group disabling is allowed or not.') rptrPortGrpAlarmErrEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortGrpAlarmErrEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmErrEnable.setDescription('Get returns whether error alarms are enabled/disabled. Set allows for enabling/disabling of error alarms.') rptrPortGrpAlarmErrThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortGrpAlarmErrThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmErrThreshold.setDescription('Get/Set the percentage of errors per good packet within the timebase that will cause an alarm.') rptrPortGrpAlarmErrSource = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 10), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortGrpAlarmErrSource.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmErrSource.setDescription('Get/Set a bit encoded map of which errors to include in the error sum, as follows: CRC_errors - Bit 0 - Least Significant Bit runts - Bit 1 OOW_colls - Bit 2 align_errs - Bit 3 undefined - Bit 4 Giants - Bit 5') rptrPortGrpAlarmErrGrpDisable = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortGrpAlarmErrGrpDisable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmErrGrpDisable.setDescription('Set will permit a port group to be disabled on an error alarm condition. Get will show whether the port group disabling is allowed or not.') rptrPortGrpAlarmBroadEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortGrpAlarmBroadEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmBroadEnable.setDescription('Get returns whether broadcast alarms are enabled/disabled. Set allows for enabling/disabling of broadcast alarms.') rptrPortGrpAlarmBroadThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 13), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortGrpAlarmBroadThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmBroadThreshold.setDescription('The broadcase threshold represents the maximum number of broadcasts that are allowed during the time base before an alarm is generated.') rptrPortGrpAlarmBroadGrpDisable = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortGrpAlarmBroadGrpDisable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmBroadGrpDisable.setDescription('Set will permit a port group to be disabled on a broadcast alarm condition. Get will show whether the port group disabling is allowed or not.') rptrPortGrpSrcAddrTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 4), ) if mibBuilder.loadTexts: rptrPortGrpSrcAddrTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSrcAddrTable.setDescription('This table provides a list of the number of active users that have been seen by port group.') rptrPortGrpSrcAddrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 4, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortGrpSrcAddrId")) if mibBuilder.loadTexts: rptrPortGrpSrcAddrEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSrcAddrEntry.setDescription('Defines a specific active user entry.') rptrPortGrpSrcAddrId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpSrcAddrId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSrcAddrId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptrPortGrpSrcAddrActiveUsers = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 4, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpSrcAddrActiveUsers.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSrcAddrActiveUsers.setDescription('Returns the total number of active users seen by this port group.') rptrPortGrpTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5)) rptrPortGrpHwTrapSet = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 1)) rptrPortGrpSaTrapSet = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 2)) rptrPortGrpHwTrapTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 1, 1), ) if mibBuilder.loadTexts: rptrPortGrpHwTrapTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpHwTrapTable.setDescription('A list of trap enable/disable at the port group level. Disable here is equivalent to disable for each port in the port group.') rptrPortGrpHwTrapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 1, 1, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortGrpHwTrapSetGrpId")) if mibBuilder.loadTexts: rptrPortGrpHwTrapEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpHwTrapEntry.setDescription('Individual trap entries for port group enable/disable.') rptrPortGrpHwTrapSetGrpId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 1, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpHwTrapSetGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpHwTrapSetGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptrPortGrpHwTrapSetLink = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2), ("other", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortGrpHwTrapSetLink.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpHwTrapSetLink.setDescription('Enables and disables link traps for the specified port group. Setting a value of disable(1) is equivalent to setting all instances of rptrPortHwTrapSetLink to a value of disable(1). Setting a value of enable(2) is equivalent to setting all instances of rptrPortHwTrapSetLink to a value of disable(2). Setting a value of other(3) is not allowed. This object will read with the value of disable(1) if all instances of rptrPortHwTrapSetLink for this port group are currently set to a value of disable(1). This object will read with the value of enable(2) if all instances of rptrPortHwTrapSetLink for this port group are currently set to a value of enable(2). This object will read with the value of other(3) if all instances of rptrPortHwTrapSetLink for this port group are not currently set to a value the same value.') rptrPortGrpHwTrapSetSeg = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2), ("other", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortGrpHwTrapSetSeg.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpHwTrapSetSeg.setDescription('Enables and disables segmentation traps for the specified port group. Setting a value of disable(1) is equivalent to setting all instances of rptrPortHwTrapSetSeg to a value of disable(1). Setting a value of enable(2) is equivalent to setting all instances of rptrPortHwTrapSetSeg to a value of disable(2). Setting a value of other(3) is not allowed. This object will read with the value of disable(1) if all instances of rptrPortHwTrapSetSeg for this port group are currently set to a value of disable(1). This object will read with the value of enable(2) if all instances of rptrPortHwTrapSetSeg for this port group are currently set to a value of enable(2). This object will read with the value of other(3) if all instances of rptrPortHwTrapSetSeg for this port group are not currently set to a value the same value.') rptrPortGrpSaTrapTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 2, 1), ) if mibBuilder.loadTexts: rptrPortGrpSaTrapTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSaTrapTable.setDescription('A list of trap enable/disable at the port group level. Disable here is equivalent to disable for each port in the port group.') rptrPortGrpSaTrapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 2, 1, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortGrpSaTrapSetGrpId")) if mibBuilder.loadTexts: rptrPortGrpSaTrapEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSaTrapEntry.setDescription('Individual trap entries for port group enable/disable.') rptrPortGrpSaTrapSetGrpId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 2, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpSaTrapSetGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSaTrapSetGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptrPortGrpSaTrapSetSrcaddr = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2), ("other", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortGrpSaTrapSetSrcaddr.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSaTrapSetSrcaddr.setDescription('Enables and disables source address traps for the specified port group. Setting a value of disable(1) is equivalent to setting all instances of rtprPortSaTrapSetSrcaddr to a value of disable(1). Setting a value of enable(2) is equivalent to setting all instances of rtprPortSaTrapSetSrcaddr to a value of disable(2). Setting a value of other(3) is not allowed. This object will read with the value of disable(1) if all instances of rptrPortSaTrapSetSrcaddr for this port group are currently set to a value of disable(1). This object will read with the value of enable(2) if all instances of rptrPortSaTrapSetSrcaddr for this port group are currently set to a value of enable(2). This object will read with the value of other(3) if all instances of rptrPortSaTrapSetSrcaddr for this port group are not currently set to a value the same value.') rptrPortGrpSrcAddrLockTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 6), ) if mibBuilder.loadTexts: rptrPortGrpSrcAddrLockTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSrcAddrLockTable.setDescription('This table defines the status of the port group source address security locks.') rptrPortGrpSrcAddrLockEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 6, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortGrpSrcAddrLockGrpId")) if mibBuilder.loadTexts: rptrPortGrpSrcAddrLockEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSrcAddrLockEntry.setDescription('DeDefines a status of a particular port group security lock.') rptrPortGrpSrcAddrLockGrpId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 6, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpSrcAddrLockGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSrcAddrLockGrpId.setDescription('Defines a particular port group for which this source address security lock information pertains.') rptrPortGrpSrcAddrLock = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 6, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("unlock", 1), ("lock", 2), ("portMisMatch", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortGrpSrcAddrLock.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSrcAddrLock.setDescription('Allows setting of the security lock status for this port group. unlock(1) - Unlocks the source address lock this group, lock(2) - Locks the source address for this group, Setting a value of portMisMatch(3) is invalid. A value of portMisMatch(3) reflects that not all ports are at the same value.') rptrPortGrpSASecuritySecureState = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 6, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("secure", 1), ("nonSecure", 2), ("portMisMatch", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortGrpSASecuritySecureState.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSASecuritySecureState.setDescription('The state of the source addressing security for this port group. Ports on the port group that are secure(1), can be locked in order to enable security. When a value of nonSecure(2) is returned ports cannot be locked. Setting a value of portMisMatch(3) is invalid. A value of portMisMatch(3) reflects that not all ports are at the same value.') rptrPortGrpSASecurityLearnState = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 6, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("learn", 1), ("noLearn", 2), ("portMisMatch", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortGrpSASecurityLearnState.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSASecurityLearnState.setDescription('The learn state of source addressing security for this port group. This object will only be applied to ports that are unlocked. If set to learn(1), all addresses are deleted on the port and learning begins once again. If it is set to noLearn(2), learning stops on the port. Setting a value of portMisMatch(3) is invalid. A value of portMisMatch(3) reflects that not all ports are at the same value.') rptrPortGrpSASecurityLearnMode = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 6, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("oneTime", 1), ("continuous", 2), ("portMisMatch", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortGrpSASecurityLearnMode.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSASecurityLearnMode.setDescription('The learn mode of source addressing security port group. If set to oneTime(1), each port is capable of learning two addresses and securing on both destination and source addresses once they are locked. If set to continuous(2), all addresses are initially deleted and each port continuously replaces the existing secure source address with latest source address it sees. Setting a value of portMisMatch(3) is invalid. A value of portMisMatch(3) reflects that not all ports are at the same value.') rptrPort = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3)) rptrPortMgmtTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 1), ) if mibBuilder.loadTexts: rptrPortMgmtTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortMgmtTable.setDescription('A list of port management objects for this repeater node.') rptrPortMgmtEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 1, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortMgmtPortGrpId"), (0, "REPEATER-REV4-MIB", "rptrPortMgmtPortId")) if mibBuilder.loadTexts: rptrPortMgmtEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortMgmtEntry.setDescription('An entry containing objects pertaining to port management for a port.') rptrPortMgmtPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortMgmtPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortMgmtPortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptrPortMgmtPortGrpId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortMgmtPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortMgmtPortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptrPortMgmtName = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(20, 20)).setFixedLength(20)).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortMgmtName.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortMgmtName.setDescription('Sets/Gets an ASCII name assigned to this port.') rptrPortMgmtAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortMgmtAdminState.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortMgmtAdminState.setDescription('Setting this object to Enable will cause port to be enabled. Setting this object to Disable will cause the port to be disabled. When read this object will return the state of the object per the last request.') rptrPortMgmtOperState = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("notOperational", 1), ("operational", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortMgmtOperState.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortMgmtOperState.setDescription('Get port operational status.') rptrPortMgmtPortType = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 1, 1, 6), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortMgmtPortType.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortMgmtPortType.setDescription('Uniquely defines the repeater port type. A authoritative identification for a port type. By convention, this value is allocated within the SMI enterprises subtree (1.3.6.1.4.1), and provides an easy and unambiguous means to determine the type of repeater port.') rptrPortStats = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2)) rptrPortPktStatsTbl = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1), ) if mibBuilder.loadTexts: rptrPortPktStatsTbl.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsTbl.setDescription('Provides repeater port packet statistics.') rptrPortPktStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortPktStatsPortGrpId"), (0, "REPEATER-REV4-MIB", "rptrPortPktStatsPortId")) if mibBuilder.loadTexts: rptrPortPktStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsEntry.setDescription('Provides basic statistics for a specific port.') rptrPortPktStatsPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortPktStatsPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsPortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptrPortPktStatsPortGrpId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortPktStatsPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsPortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptrPortPktStatsPackets = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortPktStatsPackets.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsPackets.setDescription("Get this port's total received packets.") rptrPortPktStatsBytes = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortPktStatsBytes.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsBytes.setDescription("Get this port's total received bytes.") rptrPortPktStatsColls = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortPktStatsColls.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsColls.setDescription("Get this port's total collisions.") rptrPortPktStatsErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortPktStatsErrors.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsErrors.setDescription("Get this port's total errors.") rptrPortPktStatsAlign = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortPktStatsAlign.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsAlign.setDescription("Get this port's total frame alignment errors.") rptrPortPktStatsCRC = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortPktStatsCRC.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsCRC.setDescription("Get this port's total CRC errors.") rptrPortPktStatsOOW = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortPktStatsOOW.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsOOW.setDescription("Get this port's total out-of-window collisions.") rptrPortPktStatsBroadcasts = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortPktStatsBroadcasts.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsBroadcasts.setDescription("Get this port's total received broadcast packets.") rptrPortPktStatsMulticasts = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortPktStatsMulticasts.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsMulticasts.setDescription("Get this port's total received multicast packets.") rptrPortProtocolTbl = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2), ) if mibBuilder.loadTexts: rptrPortProtocolTbl.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolTbl.setDescription('Provides statistics about the protocols seen by the different ports.') rptrPortProtocolEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortProtocolPortGrpId"), (0, "REPEATER-REV4-MIB", "rptrPortProtocolPortId")) if mibBuilder.loadTexts: rptrPortProtocolEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolEntry.setDescription('An entry containing objects pertaining to statistics about protocols seen by different ports.') rptrPortProtocolPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortProtocolPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolPortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptrPortProtocolPortGrpId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortProtocolPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolPortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptrPortProtocolOSI = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortProtocolOSI.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolOSI.setDescription("Get this port's total received OSI protocol packets.") rptrPortProtocolNovell = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortProtocolNovell.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolNovell.setDescription("Get this port's total received Novell protocol packets.") rptrPortProtocolBanyan = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortProtocolBanyan.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolBanyan.setDescription("Get this port's total received Banyan protocol packets.") rptrPortProtocolDECNet = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortProtocolDECNet.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolDECNet.setDescription("Get this port's total received DECNet protocol packets.") rptrPortProtocolXNS = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortProtocolXNS.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolXNS.setDescription("Get this port's total received XNS protocol packets.") rptrPortProtocolIP = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortProtocolIP.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolIP.setDescription("Get this port's total received TCP/IP protocol packets.") rptrPortProtocolCtron = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortProtocolCtron.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolCtron.setDescription("Get this port's total received CTRON Management protocol packets.") rptrPortProtocolAppletalk = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortProtocolAppletalk.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolAppletalk.setDescription("Get this port's total received Appletalk protocol packets.") rptrPortProtocolOther = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 11), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortProtocolOther.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolOther.setDescription("Get this port's total received unknown protocol packets.") rptrPortFrameSzTbl = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3), ) if mibBuilder.loadTexts: rptrPortFrameSzTbl.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSzTbl.setDescription('Provides repeater port frame size statistics.') rptrPortFrameSzEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortFrameSzPortGrpId"), (0, "REPEATER-REV4-MIB", "rptrPortFrameSzPortId")) if mibBuilder.loadTexts: rptrPortFrameSzEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSzEntry.setDescription('Describes a set of frame size statistics for a specific port.') rptrPortFrameSzPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortFrameSzPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSzPortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptrPortFrameSzPortGrpId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortFrameSzPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSzPortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptrPortFrameSzRunt = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortFrameSzRunt.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSzRunt.setDescription("Get this port's total received packets of size less than 64 bytes.") rptrPortFrameSz64To127 = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortFrameSz64To127.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSz64To127.setDescription("Get this port's total received packets of size between 64 and 127 bytes.") rptrPortFrameSz128To255 = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortFrameSz128To255.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSz128To255.setDescription("Get this port's total received packets of size between 128 and 255 bytes.") rptrPortFrameSz256To511 = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortFrameSz256To511.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSz256To511.setDescription("Get this port's total received packets of size between 256 and 511 bytes.") rptrPortFrameSz512To1023 = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortFrameSz512To1023.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSz512To1023.setDescription("Get this port's total received packets of size between 512 and 1023 bytes.") rptrPortFrameSz1024To1518 = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortFrameSz1024To1518.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSz1024To1518.setDescription("Get this port's total received packets of size between 1024 and 1518 bytes.") rptrPortFrameSzGiant = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortFrameSzGiant.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSzGiant.setDescription("Get this port's total received packets of size greater than 1518 bytes.") rptrPortAlarmTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3), ) if mibBuilder.loadTexts: rptrPortAlarmTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmTable.setDescription('A list of port alarm objects for this repeater node.') rptrPortAlarmEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortAlarmPortGrpId"), (0, "REPEATER-REV4-MIB", "rptrPortAlarmPortId")) if mibBuilder.loadTexts: rptrPortAlarmEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmEntry.setDescription('An entry containing objects pertaining to port alarm objects for a port group.') rptrPortAlarmPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortAlarmPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmPortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptrPortAlarmPortGrpId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortAlarmPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmPortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptrPortAlarmTrafEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortAlarmTrafEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmTrafEnable.setDescription('Get returns whether traffic alarms are enabled/disabled. Set allows for enabling/disabling of traffic alarms.') rptrPortAlarmTrafThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortAlarmTrafThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmTrafThreshold.setDescription('The maximum number of packets that will be allowed before an alarm is generated.') rptrPortAlarmTrafPortDisable = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortAlarmTrafPortDisable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmTrafPortDisable.setDescription('Set will permit a port to be disabled on a traffic alarm condition. Get will show whether the port disabling is allowed or not.') rptrPortAlarmCollEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortAlarmCollEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmCollEnable.setDescription('Get returns whether collision alarms are enabled/disabled. Set allows for enabling/disabling of collision alarms.') rptrPortAlarmCollThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 999999))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortAlarmCollThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmCollThreshold.setDescription('The collision threshold is the maximum number of collisions within the time base that will be allowed before an alaram is generated.') rptrPortAlarmCollPortDisable = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortAlarmCollPortDisable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmCollPortDisable.setDescription('Set will permit a port to be disabled on a collision alarm condition. Get will show whether the port disabling is allowed or not.') rptrPortAlarmErrEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortAlarmErrEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmErrEnable.setDescription('Get returns whether error alarms are enabled/disabled. Set allows for enabling/disabling of error alarms.') rptrPortAlarmErrThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 100))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortAlarmErrThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmErrThreshold.setDescription('Get/Set the percentage of errors per good packet within the timebase that will cause an alarm.') rptrPortAlarmErrSource = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 11), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortAlarmErrSource.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmErrSource.setDescription('Get/Set a bit encoded map of which errors to include in the error sum, as follows: CRC_errors - Bit 0 - Least Significant Bit runts - Bit 1 OOW_colls - Bit 2 align_errs - Bit 3 undefined - Bit 4 Giants - Bit 5') rptrPortAlarmErrPortDisable = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortAlarmErrPortDisable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmErrPortDisable.setDescription('Set will permit a port to be disabled on an error alarm condition. Get will show whether the port disabling is allowed or not.') rptrPortAlarmBroadEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortAlarmBroadEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmBroadEnable.setDescription('Get returns whether broadcast alarms are enabled/disabled. Set allows for enabling/disabling of broadcast alarms.') rptrPortAlarmBroadThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 14), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortAlarmBroadThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmBroadThreshold.setDescription('The broadcase threshold represents the maximum number of broadcasts that are allowed during the time base before an alarm is generated.') rptrPortAlarmBroadPortDisable = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortAlarmBroadPortDisable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmBroadPortDisable.setDescription('Set will permit a port to be disabled on a broadcast alarm condition. Get will show whether the port disabling is allowed or not.') rptrPortRedundTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 4), ) if mibBuilder.loadTexts: rptrPortRedundTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortRedundTable.setDescription('A list of port redundancy objects for this repeater node.') rptrPortRedundEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 4, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortRedundPortGrpId"), (0, "REPEATER-REV4-MIB", "rptrPortRedundPortId")) if mibBuilder.loadTexts: rptrPortRedundEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortRedundEntry.setDescription('An entry containing objects pertaining to port redundancy for a port group.') rptrPortRedundPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortRedundPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortRedundPortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptrPortRedundPortGrpId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 4, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortRedundPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortRedundPortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptrPortRedundCrctNum = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 4, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortRedundCrctNum.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortRedundCrctNum.setDescription('Get/Set redundant circuit number of redundant circuit that port is or is to be associated with.') rptrPortRedundType = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 4, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notUsed", 1), ("primary", 2), ("backup", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortRedundType.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortRedundType.setDescription('Get/Set redundant port type.') rptrPortRedundStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 4, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notUsed", 1), ("active", 2), ("inactive", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortRedundStatus.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortRedundStatus.setDescription('Get/Set redundant port status.') rptrPortSrcAddrTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 5), ) if mibBuilder.loadTexts: rptrPortSrcAddrTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrTable.setDescription('A list of port source address objects for this repeater node.') rptrPortSrcAddrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 5, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortSrcAddrPortGrpId"), (0, "REPEATER-REV4-MIB", "rptrPortSrcAddrPortId")) if mibBuilder.loadTexts: rptrPortSrcAddrEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrEntry.setDescription('An entry containing objects pertaining to port source address objects for a port group.') rptrPortSrcAddrPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 5, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortSrcAddrPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrPortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptrPortSrcAddrPortGrpId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 5, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortSrcAddrPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrPortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptrPortSrcAddrTopoState = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 5, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("station", 1), ("trunk", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortSrcAddrTopoState.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrTopoState.setDescription('Returns the topological state of the port.') rptrPortSrcAddrForceTrunk = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 5, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("noForce", 1), ("force", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortSrcAddrForceTrunk.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrForceTrunk.setDescription('When this object is set to Force it causes the port to be placed into a Trunk topological state whether the network traffic would warrant such a state or not. When this object is set to NoForce it allows the port to assume the topological state it would naturally assume based on the network activity across it. When read this object reports the current setting.') rptrPortSrcAddrActiveUsers = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 5, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortSrcAddrActiveUsers.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrActiveUsers.setDescription('Returns the total number of active users seen by this port.') rptrPortSrcAddrListTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 6), ) if mibBuilder.loadTexts: rptrPortSrcAddrListTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrListTable.setDescription('This table provides information about the source addresses that have been seen by the differnt ports.') rptrPortSrcAddrListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 6, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortSrcAddrListPortGrpId"), (0, "REPEATER-REV4-MIB", "rptrPortSrcAddrListPortId"), (0, "REPEATER-REV4-MIB", "rptrPortSrcAddrListId")) if mibBuilder.loadTexts: rptrPortSrcAddrListEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrListEntry.setDescription('A specific source address that has been seen') rptrPortSrcAddrListId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 6, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortSrcAddrListId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrListId.setDescription('Returns an index associated with the number of address to be returned.') rptrPortSrcAddrListPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 6, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortSrcAddrListPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrListPortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptrPortSrcAddrListPortGrpId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 6, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortSrcAddrListPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrListPortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptrPortSrcAddrAddressList = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 6, 1, 4), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortSrcAddrAddressList.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrAddressList.setDescription('Returns a source address seen on this port.') rptrPortHardwareTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 7), ) if mibBuilder.loadTexts: rptrPortHardwareTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHardwareTable.setDescription('A list of port hardware objects for this repeater port.') rptrPortHardwareEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 7, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortHardwarePortGrpId"), (0, "REPEATER-REV4-MIB", "rptrPortHardwarePortId")) if mibBuilder.loadTexts: rptrPortHardwareEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHardwareEntry.setDescription('An entry containing objects pertaining to port hardware for a hardware port group.') rptrPortHardwarePortId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 7, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortHardwarePortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHardwarePortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptrPortHardwarePortGrpId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 7, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortHardwarePortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHardwarePortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptrPortHardwareSegStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 7, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("notSegmented", 1), ("segmented", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortHardwareSegStatus.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHardwareSegStatus.setDescription('Returns port segmentation status.') rptrPortHardwareLinkStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 7, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("notLinked", 1), ("linked", 2), ("notApplicable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortHardwareLinkStatus.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHardwareLinkStatus.setDescription('Returns port link status.') rptrPortTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8)) rptrPortHwTrapSet = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 1)) rptrPortSaTrapSet = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 2)) rptrPortHwTrapTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 1, 1), ) if mibBuilder.loadTexts: rptrPortHwTrapTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHwTrapTable.setDescription('A list of trap enable/disable at the port level.') rptrPortHwTrapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 1, 1, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortHwTrapSetPortGrpId"), (0, "REPEATER-REV4-MIB", "rptrPortHwTrapSetPortId")) if mibBuilder.loadTexts: rptrPortHwTrapEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHwTrapEntry.setDescription('Individual trap entries for port group enable/disable.') rptrPortHwTrapSetPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 1, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortHwTrapSetPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHwTrapSetPortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptrPortHwTrapSetPortGrpId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 1, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortHwTrapSetPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHwTrapSetPortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptrPortHwTrapSetLink = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortHwTrapSetLink.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHwTrapSetLink.setDescription('Enables and disables link traps for this port.') rptrPortHwTrapSetSeg = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortHwTrapSetSeg.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHwTrapSetSeg.setDescription('Enables and disables segmentation traps for this port.') rptrPortSaTrapTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 2, 1), ) if mibBuilder.loadTexts: rptrPortSaTrapTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSaTrapTable.setDescription('A list of trap enable/disable at the port level') rptrPortSaTrapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 2, 1, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortSaTrapSetPortGrpId"), (0, "REPEATER-REV4-MIB", "rptrPortSaTrapSetPortId")) if mibBuilder.loadTexts: rptrPortSaTrapEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSaTrapEntry.setDescription('Individual trap entries for port group enable/disable.') rptrPortSaTrapSetPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 2, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortSaTrapSetPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSaTrapSetPortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptrPortSaTrapSetPortGrpId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 2, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortSaTrapSetPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSaTrapSetPortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptrPortSaTrapSetSrcaddr = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("disable", 1), ("enable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortSaTrapSetSrcaddr.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSaTrapSetSrcaddr.setDescription('Enables and disables source address traps for this port.') rptrPortSecurity = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9)) rptrPortSecurityTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1), ) if mibBuilder.loadTexts: rptrPortSecurityTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityTable.setDescription('This table defines status of the source lock security.') rptrPortSecurityEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortSecurityPortGrpId"), (0, "REPEATER-REV4-MIB", "rptrPortSecurityPortId")) if mibBuilder.loadTexts: rptrPortSecurityEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityEntry.setDescription('Defines lock status for this particular entry.') rptrPortSecurityPortGrpId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortSecurityPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityPortGrpId.setDescription(' The port Group ID for which this source address lock entry pertains.') rptrPortSecurityPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortSecurityPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityPortId.setDescription('The port ID for which this source address lock entry pertains.') rptrPortSecurityLockStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("unlock", 1), ("lock", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortSecurityLockStatus.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityLockStatus.setDescription('Defines the lock status for this particular port entry.') rptrPortSecurityLockAddAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortSecurityLockAddAddress.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityLockAddAddress.setDescription('Setting a value to this object will cause a new entry to be added to the rptrPortSecurityListTable. When read this object will display an OCTET STRING of SIZE 6 with each octet containing a 0. In general it is possible to add addresses at anytime. However there are several instances where the firmware and or hardware can not support the operation. In these instances an error will be returned if a addition is attempted.') rptrPortSecurityLockDelAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 5), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortSecurityLockDelAddress.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityLockDelAddress.setDescription("Setting a value to this object will cause corresponding entry in the rptrPortSecurityListTable to be deleted. When read this object returns an OCTET STRING of length 6 with each octet having the value '0'. In general it is possible to delete locked addresses at any time. however there are instances where it is not supported in which case an error will be returned.") rptrPortSecurityDisableOnViolation = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("noDisable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortSecurityDisableOnViolation.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityDisableOnViolation.setDescription('Designates whether port is disabled if its source address is violated. A source address violation occurs when a address is detected which is not in the source address list for this port. If the port is disabled due to the source address violation it can be enabled by setting rptrPortMgmtAdminState.') rptrPortSecurityFullSecEnabled = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("partialSecurity", 1), ("fullSecurity", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortSecurityFullSecEnabled.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityFullSecEnabled.setDescription('A port that is set to full security and is locked will scramble ALL packets, which are not contained in the expected address list, including broadcasts and multicasts. A port that is set to partial security will allow broadcasts and multicasts to repeat unscrambled.') rptrPortSecuritySecureState = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("secure", 1), ("nonSecure", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortSecuritySecureState.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecuritySecureState.setDescription('The secure state of the port. If the port is secure(1), it can be locked in order to enable security. A nonSecure(2) port cannot be locked.') rptrPortSecurityForceNonSecure = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("noForce", 1), ("forceNonSecure", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortSecurityForceNonSecure.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityForceNonSecure.setDescription('The force non-secure state of port. If the port is Forced, Non-Secure via a value of forceNonSecure(2), it is put into a Non-Secure state, in which case it cannot be locked. If a port is not forced noForce(1), then it will take on its natural state, according to the traffic flow on the port.') rptrPortSecurityLearnState = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("learn", 1), ("noLearn", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortSecurityLearnState.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityLearnState.setDescription('The learn state of the port. This object will only be applied to a port that is unlocked. If set to learn(1), all addresses are deleted on the port and learning begins once again. If it is set to noLearn(2), learning stops on the port.') rptrPortSecurityLearnMode = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("oneTime", 1), ("continuous", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortSecurityLearnMode.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityLearnMode.setDescription('The learn mode of the port. If set to oneTime(1), the port is capable of learning two addresses and securing on both destination and source addresses (upon locking port). If set to continuous(2), all addresses are initially deleted and the port continuously replaces the existing secure source address with the latest source address it sees.') rptrPortSecurityListTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 2), ) if mibBuilder.loadTexts: rptrPortSecurityListTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityListTable.setDescription('This table defines a list of all source address locks maintained for the specified port.') rptrPortSecurityListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 2, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortSecurityListPortGrpId"), (0, "REPEATER-REV4-MIB", "rptrPortSecurityListPortId"), (0, "REPEATER-REV4-MIB", "rptrPortSecurityListIndex")) if mibBuilder.loadTexts: rptrPortSecurityListEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityListEntry.setDescription('An entry containing objects pertaining to source address locks for a port group.') rptrPortSecurityListPortGrpId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortSecurityListPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityListPortGrpId.setDescription('The port group for which this security list entry pertains.') rptrPortSecurityListPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortSecurityListPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityListPortId.setDescription('The port ID for which this source address lock list pertains.') rptrPortSecurityListIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 2, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortSecurityListIndex.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityListIndex.setDescription('A unique index for the source address entries.') rptrPortSecurityListAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 2, 1, 4), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortSecurityListAddress.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityListAddress.setDescription('Defines the particular source address that has been locked.') rptrPortAssoc = MibIdentifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 4)) rptrPortAssocTable = MibTable((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 4, 1), ) if mibBuilder.loadTexts: rptrPortAssocTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAssocTable.setDescription('This table defines the port association for those switching MIMs that support this functionality.') rptrPortAssocEntry = MibTableRow((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 4, 1, 1), ).setIndexNames((0, "REPEATER-REV4-MIB", "rptrPortAssocBoard")) if mibBuilder.loadTexts: rptrPortAssocEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAssocEntry.setDescription('Describes a particular port association entry.') rptrPortAssocBoard = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 4, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: rptrPortAssocBoard.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAssocBoard.setDescription('The board number for which this port association information pertains.') rptrPortAssocStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 4, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("defaultPort", 1), ("otherPort", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: rptrPortAssocStatus.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAssocStatus.setDescription('This object describes the status of the user selectable port. On a TPXMIM34 this is port 13 which may either be an EPIM or default configuration. A value of defaultPort(1) restores the default configuration. A value of otherPort(2) may imply the use of the EPIM connection.') mibBuilder.exportSymbols("REPEATER-REV4-MIB", rptrFrameSz256To511=rptrFrameSz256To511, rptrPortGrpAlarmBroadEnable=rptrPortGrpAlarmBroadEnable, rptrPortGrpAlarmTrafEnable=rptrPortGrpAlarmTrafEnable, rptrPortGrpSASecurityLearnMode=rptrPortGrpSASecurityLearnMode, rptrProtocolsXNS=rptrProtocolsXNS, rptrPortAlarmErrPortDisable=rptrPortAlarmErrPortDisable, rptrPortProtocolDECNet=rptrPortProtocolDECNet, rptrPortSecurityLockAddAddress=rptrPortSecurityLockAddAddress, rptrPort=rptrPort, rptrPortSecurityTable=rptrPortSecurityTable, rptrPortGrpAlarmCollThreshold=rptrPortGrpAlarmCollThreshold, rptrRedundancy=rptrRedundancy, rptrRedundAddrIPAddr=rptrRedundAddrIPAddr, rptrStats=rptrStats, rptrRedundCrctEnable=rptrRedundCrctEnable, repeaterrev4=repeaterrev4, rptrProtocolsDECNet=rptrProtocolsDECNet, rptrPortGrpPktStatsId=rptrPortGrpPktStatsId, rptrPortPktStatsPackets=rptrPortPktStatsPackets, rptrPortSrcAddrListEntry=rptrPortSrcAddrListEntry, rptrPortMgmtOperState=rptrPortMgmtOperState, rptrPortGrpProtocolIP=rptrPortGrpProtocolIP, rptrPortSaTrapSetPortId=rptrPortSaTrapSetPortId, rptrPortGrpFrameSzTbl=rptrPortGrpFrameSzTbl, rptrPortGrpProtocolXNS=rptrPortGrpProtocolXNS, rptrPortAlarmErrSource=rptrPortAlarmErrSource, rptrPortGrpSaTrapTable=rptrPortGrpSaTrapTable, rptrAlarmsAlarmTimebase=rptrAlarmsAlarmTimebase, rptrSaTrapSetSrcaddr=rptrSaTrapSetSrcaddr, rptrPortGroup=rptrPortGroup, rptrPortGrpPktStatsBroadcasts=rptrPortGrpPktStatsBroadcasts, rptrAlarmsErrEnable=rptrAlarmsErrEnable, rptrPortGrpPktStatsBytes=rptrPortGrpPktStatsBytes, rptrPortAlarmErrThreshold=rptrPortAlarmErrThreshold, rptrPortAlarmBroadPortDisable=rptrPortAlarmBroadPortDisable, rptrPktStatsMulticasts=rptrPktStatsMulticasts, rptrPortAlarmBroadThreshold=rptrPortAlarmBroadThreshold, rptrPortGrpMgmtEntry=rptrPortGrpMgmtEntry, rptrPortGrpAlarmTrafThreshold=rptrPortGrpAlarmTrafThreshold, rptrPortProtocolNovell=rptrPortProtocolNovell, rptrRedundAddrId=rptrRedundAddrId, rptrPortGrpSrcAddrLockTable=rptrPortGrpSrcAddrLockTable, rptrPortSecurityFullSecEnabled=rptrPortSecurityFullSecEnabled, rptrPortFrameSz256To511=rptrPortFrameSz256To511, rptrPortGrpPktStatsColls=rptrPortGrpPktStatsColls, rptrPortPktStatsColls=rptrPortPktStatsColls, rptrPortGrpPktStatsPkts=rptrPortGrpPktStatsPkts, rptrPortSaTrapSet=rptrPortSaTrapSet, rptrPortFrameSz1024To1518=rptrPortFrameSz1024To1518, rptrRedundMaxCrcts=rptrRedundMaxCrcts, rptrPortMgmtTable=rptrPortMgmtTable, rptrMgmtPortsEnable=rptrMgmtPortsEnable, rptrRedundAddrTable=rptrRedundAddrTable, rptrHwTrapSet=rptrHwTrapSet, rptrPortHardwareLinkStatus=rptrPortHardwareLinkStatus, rptrPktStatsNoRsc=rptrPktStatsNoRsc, rptrPortGrpHwTrapSetGrpId=rptrPortGrpHwTrapSetGrpId, rptrPortProtocolPortGrpId=rptrPortProtocolPortGrpId, rptrPortGrpPktStatsMulticasts=rptrPortGrpPktStatsMulticasts, rptrPortFrameSz512To1023=rptrPortFrameSz512To1023, rptrFrameSzGiant=rptrFrameSzGiant, rptrPortPktStatsPortId=rptrPortPktStatsPortId, rptrPktStatsBroadcasts=rptrPktStatsBroadcasts, rptrPktStatsColls=rptrPktStatsColls, rptrRedundPortType=rptrRedundPortType, rptrSrcAddrMgmtSrcAgeInterval=rptrSrcAddrMgmtSrcAgeInterval, rptrSecurityLearnState=rptrSecurityLearnState, rptrAlarmsTrafEnable=rptrAlarmsTrafEnable, rptrPortGrpSrcAddrId=rptrPortGrpSrcAddrId, rptrPortFrameSzRunt=rptrPortFrameSzRunt, rptrPortGrpTrap=rptrPortGrpTrap, rptrPortGrpProtocolOther=rptrPortGrpProtocolOther, rptrHwTrapSetLink=rptrHwTrapSetLink, rptrPortSecurityListEntry=rptrPortSecurityListEntry, rptrPktStatsOOW=rptrPktStatsOOW, rptrPortGrpAlarmCollBdDisable=rptrPortGrpAlarmCollBdDisable, rptrAlarms=rptrAlarms, rptrPortSrcAddrListTable=rptrPortSrcAddrListTable, rptrPortGrpAlarmBroadThreshold=rptrPortGrpAlarmBroadThreshold, rptrFrameSizes=rptrFrameSizes, rptrPortGrpSrcAddrLock=rptrPortGrpSrcAddrLock, rptrPortSecurityListIndex=rptrPortSecurityListIndex, rptrPortGrpFrameSz64To127=rptrPortGrpFrameSz64To127, rptrMgmtPortCount=rptrMgmtPortCount, rptrPortGrpHwTrapTable=rptrPortGrpHwTrapTable, rptrSrcAddrListEntry=rptrSrcAddrListEntry, rptrPortGrpMgmtName=rptrPortGrpMgmtName, rptrPortGrpProtocolId=rptrPortGrpProtocolId, rptrPortSrcAddrPortId=rptrPortSrcAddrPortId, rptrPortHardwarePortGrpId=rptrPortHardwarePortGrpId, rptrRedundCrctReset=rptrRedundCrctReset, rptrPortGrpPktStatsTbl=rptrPortGrpPktStatsTbl, rptrPortGrpMgmtLogPortCount=rptrPortGrpMgmtLogPortCount, rptrPortRedundPortId=rptrPortRedundPortId, rptrPortAlarmPortId=rptrPortAlarmPortId, rptrPortSrcAddrAddressList=rptrPortSrcAddrAddressList, rptrPortHwTrapSetPortId=rptrPortHwTrapSetPortId, rptrPortGrpAlarmErrGrpDisable=rptrPortGrpAlarmErrGrpDisable, rptrPortRedundStatus=rptrPortRedundStatus, rptrPortSecurityListAddress=rptrPortSecurityListAddress, rptrPortProtocolBanyan=rptrPortProtocolBanyan, rptrPortFrameSzTbl=rptrPortFrameSzTbl, rptrPortGrpFrameSz512To1023=rptrPortGrpFrameSz512To1023, rptrMgmtPortsOper=rptrMgmtPortsOper, rptrPortSecurityLockDelAddress=rptrPortSecurityLockDelAddress, rptrAlarmsErrThreshold=rptrAlarmsErrThreshold, rptrMgmt=rptrMgmt, rptrSaSecurity=rptrSaSecurity, rptrRedundPortEntry=rptrRedundPortEntry, rptr=rptr, rptrPortSecurityPortId=rptrPortSecurityPortId, rptrPortGrpAlarmErrSource=rptrPortGrpAlarmErrSource, rptrPortAlarmErrEnable=rptrPortAlarmErrEnable, rptrPortSecurityEntry=rptrPortSecurityEntry, rptrPortGrpProtocolOSI=rptrPortGrpProtocolOSI, rptrAlarmsTrafThreshold=rptrAlarmsTrafThreshold, rptrPortGrpSrcAddrTable=rptrPortGrpSrcAddrTable, rptrSrcAddrMgmtPortLock=rptrSrcAddrMgmtPortLock, rptrPortProtocolOSI=rptrPortProtocolOSI, rptrAlarmsErrSource=rptrAlarmsErrSource, rptrRedundCrctAddAddr=rptrRedundCrctAddAddr, rptrPortGrpMgmtTable=rptrPortGrpMgmtTable, rptrFrameSz512To1023=rptrFrameSz512To1023, rptrPortGrpPktStatsErrors=rptrPortGrpPktStatsErrors, rptrPortGrpAlarmErrEnable=rptrPortGrpAlarmErrEnable, rptrPktStatsErrors=rptrPktStatsErrors, rptrRedundPortBoardNum=rptrRedundPortBoardNum, rptrRedundCrctEntry=rptrRedundCrctEntry, rptrRedundCrctNumAddr=rptrRedundCrctNumAddr, rptrPortGrpSaTrapSetGrpId=rptrPortGrpSaTrapSetGrpId, rptrPortGrpSrcAddrLockGrpId=rptrPortGrpSrcAddrLockGrpId, rptrRedundCrctId=rptrRedundCrctId, rptrRedundPortTable=rptrRedundPortTable, rptrSecurityLockState=rptrSecurityLockState, rptrPortSrcAddrActiveUsers=rptrPortSrcAddrActiveUsers, rptrAlarmsBroadEnable=rptrAlarmsBroadEnable, rptrRedundPerformTest=rptrRedundPerformTest, rptrProtocols=rptrProtocols, rptrPortGrpProtocolBanyan=rptrPortGrpProtocolBanyan, rptrPortGrpSaTrapSet=rptrPortGrpSaTrapSet, rptrPktStatsCRC=rptrPktStatsCRC, rptrPortTrap=rptrPortTrap, rptrPortSrcAddrPortGrpId=rptrPortSrcAddrPortGrpId, rptrProtocolsAppletalk=rptrProtocolsAppletalk, rptrPortProtocolXNS=rptrPortProtocolXNS, rptrPortProtocolCtron=rptrPortProtocolCtron, rptrMgmtResetCounters=rptrMgmtResetCounters, rptrSrcAddrSrcTableEntryPortGroup=rptrSrcAddrSrcTableEntryPortGroup, rptrFrameSz128To255=rptrFrameSz128To255, rptrPktStatsBytes=rptrPktStatsBytes, rptrProtocolsOther=rptrProtocolsOther, rptrPortGrpHwTrapSet=rptrPortGrpHwTrapSet, rptrPortAlarmTrafEnable=rptrPortAlarmTrafEnable, rptrPortSrcAddrListPortGrpId=rptrPortSrcAddrListPortGrpId, rptrPortSrcAddrListId=rptrPortSrcAddrListId, rptrPortSecurityForceNonSecure=rptrPortSecurityForceNonSecure, rptrPortSecurityLearnState=rptrPortSecurityLearnState, rptrRedundCrctDelAddr=rptrRedundCrctDelAddr, rptrPortHardwareEntry=rptrPortHardwareEntry, rptrPortRedundTable=rptrPortRedundTable, rptrPortProtocolAppletalk=rptrPortProtocolAppletalk, rptrPortRedundCrctNum=rptrPortRedundCrctNum, rptrPortGrpProtocolAppletalk=rptrPortGrpProtocolAppletalk, rptrPortAlarmCollThreshold=rptrPortAlarmCollThreshold, rptrPortGrpMgmtPortsOn=rptrPortGrpMgmtPortsOn, rptrPortMgmtPortGrpId=rptrPortMgmtPortGrpId, rptrPortHwTrapSetPortGrpId=rptrPortHwTrapSetPortGrpId, rptrPortGrpSrcAddrLockEntry=rptrPortGrpSrcAddrLockEntry, rptrSrcAddrSrcTableEntryPort=rptrSrcAddrSrcTableEntryPort, rptrHwTrapSetSeg=rptrHwTrapSetSeg, rptrAlarmsCollEnable=rptrAlarmsCollEnable, rptrRedundCrctTable=rptrRedundCrctTable, rptrPortAlarmCollEnable=rptrPortAlarmCollEnable, rptrMgmtName=rptrMgmtName, rptrRedundAddrEntry=rptrRedundAddrEntry, rptrPortGrpSASecurityLearnState=rptrPortGrpSASecurityLearnState, rptrPortGrpProtocolCtron=rptrPortGrpProtocolCtron, rptrPortPktStatsCRC=rptrPortPktStatsCRC, rptrRedund=rptrRedund, rptrPortPktStatsErrors=rptrPortPktStatsErrors, rptrPortGrpSrcAddrEntry=rptrPortGrpSrcAddrEntry, rptrPortGrpFrameSzRunt=rptrPortGrpFrameSzRunt, rptrPortGrpStats=rptrPortGrpStats, rptrPortGrpSASecuritySecureState=rptrPortGrpSASecuritySecureState, rptrPortMgmtPortId=rptrPortMgmtPortId, rptrPortFrameSz128To255=rptrPortFrameSz128To255, rptrPortPktStatsAlign=rptrPortPktStatsAlign, rptrPortHwTrapSetSeg=rptrPortHwTrapSetSeg, rptrPortProtocolPortId=rptrPortProtocolPortId, rptrPortAlarmCollPortDisable=rptrPortAlarmCollPortDisable, rptrPortMgmtEntry=rptrPortMgmtEntry, rptrPortGrpAlarmTable=rptrPortGrpAlarmTable, rptrPortPktStatsTbl=rptrPortPktStatsTbl, rptrPortRedundType=rptrPortRedundType, rptrPortSrcAddrForceTrunk=rptrPortSrcAddrForceTrunk, rptrTrap=rptrTrap, rptrPortGrpFrameSzGiant=rptrPortGrpFrameSzGiant, rptrMgmtBoardMap=rptrMgmtBoardMap, rptrProtocolsCtron=rptrProtocolsCtron, rptrPortGrpMgmtGrpId=rptrPortGrpMgmtGrpId, rptrPortMgmtName=rptrPortMgmtName, rptrPortPktStatsPortGrpId=rptrPortPktStatsPortGrpId, rptrPortSrcAddrEntry=rptrPortSrcAddrEntry, rptrPortGrpPktStatsOOW=rptrPortGrpPktStatsOOW, rptrPortGrpAlarmCollEnable=rptrPortGrpAlarmCollEnable, rptrPortSecuritySecureState=rptrPortSecuritySecureState, rptrPortSaTrapSetSrcaddr=rptrPortSaTrapSetSrcaddr, rptrPortSecurityLockStatus=rptrPortSecurityLockStatus, rptrSrcAddrMgmtActiveUsers=rptrSrcAddrMgmtActiveUsers, rptrPortGrpFrameSz1024To1518=rptrPortGrpFrameSz1024To1518, rptrPortPktStatsBytes=rptrPortPktStatsBytes, rptrSecurityLearnMode=rptrSecurityLearnMode, rptrRedundCrctNumBPs=rptrRedundCrctNumBPs, rptrRedundCrctName=rptrRedundCrctName, rptrPortGrpAlarmBroadGrpDisable=rptrPortGrpAlarmBroadGrpDisable, rptrMgmtPortsOn=rptrMgmtPortsOn, rptrPortSecurityPortGrpId=rptrPortSecurityPortGrpId, rptrPortHardwareTable=rptrPortHardwareTable, rptrPortSecurityLearnMode=rptrPortSecurityLearnMode, rptrMgmtInterfaceNum=rptrMgmtInterfaceNum, rptrPortFrameSzPortGrpId=rptrPortFrameSzPortGrpId, rptrPktStatsPackets=rptrPktStatsPackets, rptrPortRedundPortGrpId=rptrPortRedundPortGrpId, rptrSrcAddrSrcTableEntryId=rptrSrcAddrSrcTableEntryId, rptrProtocolsBanyan=rptrProtocolsBanyan, rptrSecuritySecureState=rptrSecuritySecureState, rptrFrameSzRunt=rptrFrameSzRunt, rptrPortMgmtPortType=rptrPortMgmtPortType, rptrPortHwTrapSetLink=rptrPortHwTrapSetLink, rptrPortGrpAlarmEntry=rptrPortGrpAlarmEntry, rptrPortAlarmEntry=rptrPortAlarmEntry, rptrSrcAddrListId=rptrSrcAddrListId, rptrPortGrpFrameSzId=rptrPortGrpFrameSzId, rptrRedundTestTOD=rptrRedundTestTOD, rptrPortGrpProtocolDECNet=rptrPortGrpProtocolDECNet, rptrPortGrpProtocolEntry=rptrPortGrpProtocolEntry, rptrPortGrpMgmtPortsOper=rptrPortGrpMgmtPortsOper, rptrPortAlarmTable=rptrPortAlarmTable, rptrPortGrpPktStatsCRC=rptrPortGrpPktStatsCRC, rptrPortGrpProtocolNovell=rptrPortGrpProtocolNovell, rptrPortAlarmPortGrpId=rptrPortAlarmPortGrpId, rptrPortPktStatsBroadcasts=rptrPortPktStatsBroadcasts, rptrPortGrpAlarmTrafGrpDisable=rptrPortGrpAlarmTrafGrpDisable, rptrPortAlarmTrafPortDisable=rptrPortAlarmTrafPortDisable, rptrPortSaTrapTable=rptrPortSaTrapTable, rptrAlarmsCollThreshold=rptrAlarmsCollThreshold, rptrRedundCrctRetrys=rptrRedundCrctRetrys, rptrPortGrpFrameSz128To255=rptrPortGrpFrameSz128To255, rptrPortHwTrapTable=rptrPortHwTrapTable, rptrPortAssoc=rptrPortAssoc, rptrPortHardwareSegStatus=rptrPortHardwareSegStatus, rptrPortAssocEntry=rptrPortAssocEntry, rptrPortPktStatsOOW=rptrPortPktStatsOOW, rptrPortSecurityListTable=rptrPortSecurityListTable) mibBuilder.exportSymbols("REPEATER-REV4-MIB", rptrPortGrpFrameSzEntry=rptrPortGrpFrameSzEntry, rptrPortFrameSzGiant=rptrPortFrameSzGiant, rptrSourceAddress=rptrSourceAddress, rptrSrcAddrListTable=rptrSrcAddrListTable, rptrPortHwTrapEntry=rptrPortHwTrapEntry, rptrSrcAddrAddressList=rptrSrcAddrAddressList, rptrSrcAddrSrcTableEntry=rptrSrcAddrSrcTableEntry, rptrPortAlarmBroadEnable=rptrPortAlarmBroadEnable, rptrRedundAddrCrctId=rptrRedundAddrCrctId, rptrRedundPortCrctId=rptrRedundPortCrctId, rptrPortGrpSrcAddrActiveUsers=rptrPortGrpSrcAddrActiveUsers, rptrPortProtocolOther=rptrPortProtocolOther, rptrAlarmsBroadThreshold=rptrAlarmsBroadThreshold, rptrPortHwTrapSet=rptrPortHwTrapSet, rptrPortAssocTable=rptrPortAssocTable, rptrPortProtocolEntry=rptrPortProtocolEntry, rptrPortGrpAlarmErrThreshold=rptrPortGrpAlarmErrThreshold, rptrPortGrpMgmtPortCount=rptrPortGrpMgmtPortCount, rptrPortFrameSzEntry=rptrPortFrameSzEntry, rptrPortGrpHwTrapEntry=rptrPortGrpHwTrapEntry, rptrPortSaTrapSetPortGrpId=rptrPortSaTrapSetPortGrpId, rptrPortPktStatsEntry=rptrPortPktStatsEntry, rptrPortGrpHwTrapSetSeg=rptrPortGrpHwTrapSetSeg, rptrPortSrcAddrListPortId=rptrPortSrcAddrListPortId, rptrRedundPortId=rptrRedundPortId, rptrPortGrpAlarmId=rptrPortGrpAlarmId, rptrPortProtocolIP=rptrPortProtocolIP, rptrPortFrameSzPortId=rptrPortFrameSzPortId, rptrPortGrpMgmtPortsEnable=rptrPortGrpMgmtPortsEnable, rptrSrcAddrMgmtHashType=rptrSrcAddrMgmtHashType, rptrPortProtocolTbl=rptrPortProtocolTbl, rptrRedundReset=rptrRedundReset, rptrPortSaTrapEntry=rptrPortSaTrapEntry, rptrPortGrpSaTrapSetSrcaddr=rptrPortGrpSaTrapSetSrcaddr, rptrPortSecurityDisableOnViolation=rptrPortSecurityDisableOnViolation, rptrPktStatsAlign=rptrPktStatsAlign, rptrSrcAddrSrcTable=rptrSrcAddrSrcTable, rptrPortSrcAddrTopoState=rptrPortSrcAddrTopoState, rptrPortSecurityListPortId=rptrPortSecurityListPortId, rptrPortGrpPktStatsEntry=rptrPortGrpPktStatsEntry, rptrPortSecurity=rptrPortSecurity, rptrPortSrcAddrTable=rptrPortSrcAddrTable, rptrFrameSz1024To1518=rptrFrameSz1024To1518, rptrPortGrpSaTrapEntry=rptrPortGrpSaTrapEntry, rptrPortGrpPktStatsAlign=rptrPortGrpPktStatsAlign, rptrPktStats=rptrPktStats, rptrSaTrapSet=rptrSaTrapSet, rptrProtocolsIP=rptrProtocolsIP, rptrPortStats=rptrPortStats, rptrPortAssocStatus=rptrPortAssocStatus, rptrPortFrameSz64To127=rptrPortFrameSz64To127, rptrPortGrpHwTrapSetLink=rptrPortGrpHwTrapSetLink, rptrRedundPollInterval=rptrRedundPollInterval, rptrPortRedundEntry=rptrPortRedundEntry, rptrPortAssocBoard=rptrPortAssocBoard, rptrPortPktStatsMulticasts=rptrPortPktStatsMulticasts, rptrProtocolsNovell=rptrProtocolsNovell, rptrPortHardwarePortId=rptrPortHardwarePortId, rptrPortGrpFrameSz256To511=rptrPortGrpFrameSz256To511, rptrPortSecurityListPortGrpId=rptrPortSecurityListPortGrpId, rptrProtocolsOSI=rptrProtocolsOSI, rptrPortGrpProtocolTbl=rptrPortGrpProtocolTbl, rptrSrcAddrMgmt=rptrSrcAddrMgmt, rptrRedundPortNum=rptrRedundPortNum, rptrPortMgmtAdminState=rptrPortMgmtAdminState, rptrFrameSz64To127=rptrFrameSz64To127, rptrPortAlarmTrafThreshold=rptrPortAlarmTrafThreshold)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, value_range_constraint, constraints_union, value_size_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ConstraintsUnion', 'ValueSizeConstraint', 'SingleValueConstraint') (repeater_rev4,) = mibBuilder.importSymbols('CTRON-MIB-NAMES', 'repeaterRev4') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address, time_ticks, counter32, integer32, counter64, notification_type, object_identity, iso, mib_identifier, module_identity, unsigned32, bits, gauge32) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress', 'TimeTicks', 'Counter32', 'Integer32', 'Counter64', 'NotificationType', 'ObjectIdentity', 'iso', 'MibIdentifier', 'ModuleIdentity', 'Unsigned32', 'Bits', 'Gauge32') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') repeaterrev4 = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4)) rptr = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1)) rptr_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 1)) rptr_mgmt_name = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(20, 20)).setFixedLength(20)).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrMgmtName.setStatus('mandatory') if mibBuilder.loadTexts: rptrMgmtName.setDescription('The ASCII name assigned to this network.') rptr_mgmt_port_count = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrMgmtPortCount.setStatus('mandatory') if mibBuilder.loadTexts: rptrMgmtPortCount.setDescription('Total number of ports residing on this lan segment.') rptr_mgmt_ports_enable = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('noEnable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrMgmtPortsEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrMgmtPortsEnable.setDescription('Setting this object to Enable will cause all the ports residing in this network segment to be enabled. Setting this object to noEnable will have no effect. When read this object will always return noEnable.') rptr_mgmt_ports_on = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrMgmtPortsOn.setStatus('mandatory') if mibBuilder.loadTexts: rptrMgmtPortsOn.setDescription('Get the total number of ON ports in this network.') rptr_mgmt_ports_oper = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrMgmtPortsOper.setStatus('mandatory') if mibBuilder.loadTexts: rptrMgmtPortsOper.setDescription('Get the number of operational ports in this network.') rptr_mgmt_board_map = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrMgmtBoardMap.setStatus('mandatory') if mibBuilder.loadTexts: rptrMgmtBoardMap.setDescription('Get a map of the chassis slots occupied by the boards in this network.') rptr_mgmt_interface_num = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrMgmtInterfaceNum.setStatus('mandatory') if mibBuilder.loadTexts: rptrMgmtInterfaceNum.setDescription('Get the MIBII interface number of this network. A return of zero will mean this network is not associated with a MIBII interface.') rptr_mgmt_reset_counters = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('normal', 1), ('reseStaticCounters', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrMgmtResetCounters.setStatus('mandatory') if mibBuilder.loadTexts: rptrMgmtResetCounters.setDescription("Setting this OID to 2 will reset the 'rptrPktStats', 'rptrProtocols' and 'rptrFrameSizes' RREV-4 branch static counters. Reading this OID will always return a 1.") rptr_stats = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2)) rptr_pkt_stats = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1)) rptr_pkt_stats_packets = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPktStatsPackets.setStatus('mandatory') if mibBuilder.loadTexts: rptrPktStatsPackets.setDescription("Get this repeater's total received packets.") rptr_pkt_stats_bytes = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPktStatsBytes.setStatus('mandatory') if mibBuilder.loadTexts: rptrPktStatsBytes.setDescription("Get this repeater's total received bytes.") rptr_pkt_stats_colls = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPktStatsColls.setStatus('mandatory') if mibBuilder.loadTexts: rptrPktStatsColls.setDescription("Get this repeater's total collisions.") rptr_pkt_stats_errors = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPktStatsErrors.setStatus('mandatory') if mibBuilder.loadTexts: rptrPktStatsErrors.setDescription("Get this repeater's total errors.") rptr_pkt_stats_align = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPktStatsAlign.setStatus('mandatory') if mibBuilder.loadTexts: rptrPktStatsAlign.setDescription("Get this repeater's total frame alignment errors.") rptr_pkt_stats_crc = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPktStatsCRC.setStatus('mandatory') if mibBuilder.loadTexts: rptrPktStatsCRC.setDescription("Get this repeater's total CRC errors.") rptr_pkt_stats_oow = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPktStatsOOW.setStatus('mandatory') if mibBuilder.loadTexts: rptrPktStatsOOW.setDescription("Get this repeater's total out-of-window collisions.") rptr_pkt_stats_no_rsc = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPktStatsNoRsc.setStatus('mandatory') if mibBuilder.loadTexts: rptrPktStatsNoRsc.setDescription('This counter is the number of packets on this network that the hardware has processed that the management has either not seen yet, in the case of an active network, or has missed missed all together, in the case of a once active network.') rptr_pkt_stats_broadcasts = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPktStatsBroadcasts.setStatus('mandatory') if mibBuilder.loadTexts: rptrPktStatsBroadcasts.setDescription('This counter is the number of broadcast packets on this network that the hardware has processed.') rptr_pkt_stats_multicasts = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPktStatsMulticasts.setStatus('mandatory') if mibBuilder.loadTexts: rptrPktStatsMulticasts.setDescription('This counter is the number of multicast packets on this network that the hardware has processed.') rptr_protocols = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 2)) rptr_protocols_osi = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 2, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrProtocolsOSI.setStatus('mandatory') if mibBuilder.loadTexts: rptrProtocolsOSI.setDescription("Get this repeater's total received OSI packets.") rptr_protocols_novell = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 2, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrProtocolsNovell.setStatus('mandatory') if mibBuilder.loadTexts: rptrProtocolsNovell.setDescription("Get this repeater's total received Novell packets.") rptr_protocols_banyan = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 2, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrProtocolsBanyan.setStatus('mandatory') if mibBuilder.loadTexts: rptrProtocolsBanyan.setDescription("Get this repeater's total received Banyan packets.") rptr_protocols_dec_net = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 2, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrProtocolsDECNet.setStatus('mandatory') if mibBuilder.loadTexts: rptrProtocolsDECNet.setDescription("Get this repeater's total received DECNet packets.") rptr_protocols_xns = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 2, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrProtocolsXNS.setStatus('mandatory') if mibBuilder.loadTexts: rptrProtocolsXNS.setDescription("Get this repeater's total received XNS packets.") rptr_protocols_ip = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 2, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrProtocolsIP.setStatus('mandatory') if mibBuilder.loadTexts: rptrProtocolsIP.setDescription("Get this repeater's total received TCP/IP packets.") rptr_protocols_ctron = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 2, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrProtocolsCtron.setStatus('mandatory') if mibBuilder.loadTexts: rptrProtocolsCtron.setDescription("Get this repeater's total received CTRON Management packets.") rptr_protocols_appletalk = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 2, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrProtocolsAppletalk.setStatus('mandatory') if mibBuilder.loadTexts: rptrProtocolsAppletalk.setDescription("Get this repeater's total received Appletalk packets.") rptr_protocols_other = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 2, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrProtocolsOther.setStatus('mandatory') if mibBuilder.loadTexts: rptrProtocolsOther.setDescription("Get this repeater's total received unknown protocol packets.") rptr_frame_sizes = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 3)) rptr_frame_sz_runt = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 3, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrFrameSzRunt.setStatus('mandatory') if mibBuilder.loadTexts: rptrFrameSzRunt.setDescription("Get this repeater's total received packets of size less than 64 bytes.") rptr_frame_sz64_to127 = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 3, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrFrameSz64To127.setStatus('mandatory') if mibBuilder.loadTexts: rptrFrameSz64To127.setDescription("Get this repeater's total received packets of size between 64 and 127 bytes.") rptr_frame_sz128_to255 = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 3, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrFrameSz128To255.setStatus('mandatory') if mibBuilder.loadTexts: rptrFrameSz128To255.setDescription("Get this repeater's total received packets of size between 128 and 255 bytes.") rptr_frame_sz256_to511 = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 3, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrFrameSz256To511.setStatus('mandatory') if mibBuilder.loadTexts: rptrFrameSz256To511.setDescription("Get this repeater's total received packets of size between 256 and 511 bytes.") rptr_frame_sz512_to1023 = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 3, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrFrameSz512To1023.setStatus('mandatory') if mibBuilder.loadTexts: rptrFrameSz512To1023.setDescription("Get this repeater's total received packets of size between 512 and 1023 bytes.") rptr_frame_sz1024_to1518 = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 3, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrFrameSz1024To1518.setStatus('mandatory') if mibBuilder.loadTexts: rptrFrameSz1024To1518.setDescription("Get this repeater's total received packets of size between 1024 and 1518 bytes.") rptr_frame_sz_giant = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 2, 3, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrFrameSzGiant.setStatus('mandatory') if mibBuilder.loadTexts: rptrFrameSzGiant.setDescription("Get this repeater's total received packets of size greater than 1518 bytes.") rptr_alarms = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3)) rptr_alarms_traf_enable = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrAlarmsTrafEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrAlarmsTrafEnable.setDescription('Get returns whether traffic alarms are enabled/disabled. Set allows for enabling/disabling of traffic alarms.') rptr_alarms_traf_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3, 2), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrAlarmsTrafThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrAlarmsTrafThreshold.setDescription('The maximum number of packets that will be allowed before an alarm is generated.') rptr_alarms_coll_enable = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrAlarmsCollEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrAlarmsCollEnable.setDescription('Get returns whether collision alarms are enabled/disabled. Set allows for enabling/disabling of collision alarms.') rptr_alarms_coll_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 15))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrAlarmsCollThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrAlarmsCollThreshold.setDescription('The collision threshold is the maximum number of collisions within the time base that will be allowed before an alarm is generated.') rptr_alarms_err_enable = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrAlarmsErrEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrAlarmsErrEnable.setDescription('Get returns whether error alarms are enabled/disabled. Set allows for enabling/disabling of error alarms.') rptr_alarms_err_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 100))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrAlarmsErrThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrAlarmsErrThreshold.setDescription('The percentage of errors per good packet within the timebase that will cause an alarm. The units of this value is in seconds.') rptr_alarms_err_source = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrAlarmsErrSource.setStatus('mandatory') if mibBuilder.loadTexts: rptrAlarmsErrSource.setDescription('Get/Set a bit encoded map of which errors to include in the error sum, as follows: CRC_errors - Bit 0 - Least Significant Bit runts - Bit 1 OOW_colls - Bit 2 align_errs - Bit 3 undefined - Bit 4 Giants - Bit 5') rptr_alarms_alarm_timebase = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3, 8), integer32().subtype(subtypeSpec=value_range_constraint(10, 999999))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrAlarmsAlarmTimebase.setStatus('mandatory') if mibBuilder.loadTexts: rptrAlarmsAlarmTimebase.setDescription('The alarm timebase, in seconds.') rptr_alarms_broad_enable = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrAlarmsBroadEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrAlarmsBroadEnable.setDescription('Get returns whether broadcast alarms are enabled/disabled. Set allows for enabling/disabling of broadcast alarms.') rptr_alarms_broad_threshold = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 3, 10), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrAlarmsBroadThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrAlarmsBroadThreshold.setDescription('The broadcase threshold represents the maximum number of broadcasts that are allowed during the time base before an alarm is generated.') rptr_redundancy = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4)) rptr_redund = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 1)) rptr_redund_reset = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('noReset', 1), ('reset', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrRedundReset.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundReset.setDescription('If this object is set to Reset it will cause a reset of the redundancy object to occur. Setting this object to NoReset will do nothing. This object will always be read as NoReset.') rptr_redund_poll_interval = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 1, 2), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrRedundPollInterval.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundPollInterval.setDescription('Get/Set the number of seconds between polls for redundancy.') rptr_redund_test_tod = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrRedundTestTOD.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundTestTOD.setDescription('Get/Set the time of day at which the redundant circuits will be tested. The format of the time string is hh:mm:ss.') rptr_redund_perform_test = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('noTest', 1), ('test', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrRedundPerformTest.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundPerformTest.setDescription('If this object is set to Test it will cause a test of the redundant circuits to be performed. Setting this object to NoTest will have no effect. When read this object will always return NoTest.') rptr_redund_max_crcts = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrRedundMaxCrcts.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundMaxCrcts.setDescription('Returns the maximum number of circuits which may exist on this network.') rptr_redund_crct_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2)) if mibBuilder.loadTexts: rptrRedundCrctTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctTable.setDescription('A list of redundant circuit objects for this repeater.') rptr_redund_crct_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrRedundCrctId')) if mibBuilder.loadTexts: rptrRedundCrctEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctEntry.setDescription('A list of objects for a particular redundant circuit.') rptr_redund_crct_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrRedundCrctId.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctId.setDescription('Returns the index for a member circuit in the table of redundant circuits.') rptr_redund_crct_name = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2, 1, 2), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrRedundCrctName.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctName.setDescription('Get/Set the name of the indicated circuit.') rptr_redund_crct_retrys = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrRedundCrctRetrys.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctRetrys.setDescription('Get/Set the the number of unanswered polls allowed for the circuit.') rptr_redund_crct_num_b_ps = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrRedundCrctNumBPs.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctNumBPs.setDescription('Get the number of board/port combinations associated with the circuit.') rptr_redund_crct_num_addr = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrRedundCrctNumAddr.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctNumAddr.setDescription('Get the number of IP Addresses associated with the circuit.') rptr_redund_crct_add_addr = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2, 1, 6), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrRedundCrctAddAddr.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctAddAddr.setDescription('Add an IP Address to the polling list for the indicated circuit.') rptr_redund_crct_del_addr = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2, 1, 7), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrRedundCrctDelAddr.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctDelAddr.setDescription('Delete an IP Address from the polling list of the indicated circuit.') rptr_redund_crct_enable = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrRedundCrctEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctEnable.setDescription('If this object is set to Enable, the circuit is enabled. If this object is set to Disable, the circuit is disbabled. When read, this object returns the state of the object based on the last request made.') rptr_redund_crct_reset = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 2, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('noReset', 1), ('reset', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrRedundCrctReset.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundCrctReset.setDescription("If this object is set to Reset, the circuit is reset. All of the circuit's associated boards and ports are returned to NOT_USED, any associated IP Addresses are purged from the circuit's address list, the name is cleared, and the retry count is reset to a default value. Setting this object to NoReset has no effect. When read, NoReset is always returned.") rptr_redund_port_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 3)) if mibBuilder.loadTexts: rptrRedundPortTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundPortTable.setDescription('A list of redundant port objects for this repeater.') rptr_redund_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 3, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrRedundPortCrctId'), (0, 'REPEATER-REV4-MIB', 'rptrRedundPortId')) if mibBuilder.loadTexts: rptrRedundPortEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundPortEntry.setDescription('A redundant port entry containing objects pertaining to a particular redundant port.') rptr_redund_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 3, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrRedundPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundPortId.setDescription('A unique value identifying an element in a sequence of member ports which belong to a circuit in the table of redundant circuits. This value is not a port number; rather it is a value which goes from 1 to the maximum number of ports which may be included in a redundant circuit.') rptr_redund_port_crct_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 3, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrRedundPortCrctId.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundPortCrctId.setDescription('A unique value identifying a member circuit in the table of redundant circuits. This value is similar to rptrRedundCrctId.') rptr_redund_port_num = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 3, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrRedundPortNum.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundPortNum.setDescription('Returns the port number of a member port belonging to a redundant circuit.') rptr_redund_port_board_num = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 3, 1, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrRedundPortBoardNum.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundPortBoardNum.setDescription('Returns the board number of a member port belonging to a redundant circuit.') rptr_redund_port_type = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 3, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('notUsed', 1), ('primary', 2), ('backup', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrRedundPortType.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundPortType.setDescription('Return the state of a port associated with the indicated circuit.') rptr_redund_addr_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 4)) if mibBuilder.loadTexts: rptrRedundAddrTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundAddrTable.setDescription('A list of redundant IP Address objects which belong to a circuit for this repeater.') rptr_redund_addr_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 4, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrRedundAddrCrctId'), (0, 'REPEATER-REV4-MIB', 'rptrRedundAddrId')) if mibBuilder.loadTexts: rptrRedundAddrEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundAddrEntry.setDescription('A entry containing objects pertaining to a particular redundant IP Address which belongs to a circuit.') rptr_redund_addr_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 4, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrRedundAddrId.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundAddrId.setDescription('A unique value identifying an element in a sequence of member IP Addresses which belong to a circuit in the table of redundant circuits. This value goes from 1 to the maximum number of IP Addresses which may be included in a redundant circuit.') rptr_redund_addr_crct_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 4, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrRedundAddrCrctId.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundAddrCrctId.setDescription('A unique value identifying a member circuit in the table of redundant circuits. This value is similar to rptrRedundCrctId.') rptr_redund_addr_ip_addr = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 4, 4, 1, 3), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrRedundAddrIPAddr.setStatus('mandatory') if mibBuilder.loadTexts: rptrRedundAddrIPAddr.setDescription('Returns an IP Address associated with the indicated circuit.') rptr_source_address = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5)) rptr_src_addr_list_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 1)) if mibBuilder.loadTexts: rptrSrcAddrListTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrListTable.setDescription('This table defines the source address list that is defined at the repeater level.') rptr_src_addr_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 1, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrSrcAddrListId')) if mibBuilder.loadTexts: rptrSrcAddrListEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrListEntry.setDescription('Defines a specific source address object.') rptr_src_addr_list_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrSrcAddrListId.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrListId.setDescription('Returns an index into a table of source address seen by this repeater.') rptr_src_addr_address_list = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 1, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(6, 6)).setFixedLength(6)).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrSrcAddrAddressList.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrAddressList.setDescription('Returns a source address seen by this repeater.') rptr_src_addr_src_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 2)) if mibBuilder.loadTexts: rptrSrcAddrSrcTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrSrcTable.setDescription('This table defines the list of all source addresses that have been seen.') rptr_src_addr_src_table_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 2, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrSrcAddrSrcTableEntryId')) if mibBuilder.loadTexts: rptrSrcAddrSrcTableEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrSrcTableEntry.setDescription('Describes a particular source address source entry.') rptr_src_addr_src_table_entry_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 2, 1, 1), octet_string().subtype(subtypeSpec=value_size_constraint(6, 6)).setFixedLength(6)).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrSrcAddrSrcTableEntryId.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrSrcTableEntryId.setDescription("Returns the source address to which this table's information pertains.") rptr_src_addr_src_table_entry_port = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 2, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrSrcAddrSrcTableEntryPort.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrSrcTableEntryPort.setDescription('Returns the port# of the port that sourced the source address.') rptr_src_addr_src_table_entry_port_group = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 2, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrSrcAddrSrcTableEntryPortGroup.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrSrcTableEntryPortGroup.setDescription('Returns the port group# of the port that sourced the source address.') rptr_src_addr_mgmt = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 3)) rptr_src_addr_mgmt_src_age_interval = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 3, 1), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrSrcAddrMgmtSrcAgeInterval.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrMgmtSrcAgeInterval.setDescription('Get/Set source addressing ageing interval.') rptr_src_addr_mgmt_port_lock = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 3, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('unlock', 1), ('lock', 2), ('portMisMatch', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrSrcAddrMgmtPortLock.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrMgmtPortLock.setDescription('Setting this object to Lock will activate the network port security lock. Setting a value of portMisMatch(3) is invalid. A value of portMisMatch(3) reflects that not all ports are at the same value.') rptr_src_addr_mgmt_active_users = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 3, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrSrcAddrMgmtActiveUsers.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrMgmtActiveUsers.setDescription('Get the number of active users on this network.') rptr_src_addr_mgmt_hash_type = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 5, 3, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('noDecHash', 1), ('decHash', 2))).clone('noDecHash')).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrSrcAddrMgmtHashType.setStatus('mandatory') if mibBuilder.loadTexts: rptrSrcAddrMgmtHashType.setDescription('Defines the type of hashing that will be used for source address management. In a DEC-NET environment or a combination fo DEC-NET and non DEC-NET users where source address hash access is a concern a value of decHash(2) may yield better results. For non DEC-NET users a value of noDecHash(1) is preferred.') rptr_trap = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 6)) rptr_hw_trap_set = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 6, 1)) rptr_sa_trap_set = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 6, 2)) rptr_hw_trap_set_link = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 6, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('disable', 1), ('enable', 2), ('other', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrHwTrapSetLink.setStatus('mandatory') if mibBuilder.loadTexts: rptrHwTrapSetLink.setDescription('Enables and disables link traps for this network. Setting a value of disable(1) is equivalent to setting all instances of rptrPortHwTrapSetLink to a value of disable(1). Setting a value of enable(2) is equivalent to setting all instances of rptrPortHwTrapSetLink to a value of disable(2). Setting a value of other(3) is not allowed. This object will read with the value of disable(1) if all instances of rptrPortHwTrapSetLink for this network are currently set to a value of disable(1). This object will read with the value of enable(2) if all instances of rptrPortHwTrapSetLink for this network are currently set to a value of enable(2). This object will read with the value of other(3) if all instances of rptrPortHwTrapSetLink for this network are not currently set to a value the same value.') rptr_hw_trap_set_seg = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 6, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('disable', 1), ('enable', 2), ('other', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrHwTrapSetSeg.setStatus('mandatory') if mibBuilder.loadTexts: rptrHwTrapSetSeg.setDescription('Enables and disables segmentation traps for this network. Setting a value of disable(1) is equivalent to setting all instances of rptrPortHwTrapSetSeg to a value of disable(1). Setting a value of enable(2) is equivalent to setting all instances of rptrPortHwTrapSetSeg to a value of disable(2). Setting a value of other(3) is not allowed. This object will read with the value of disable(1) if all instances of rptrPortHwTrapSetSeg for this network are currently set to a value of disable(1). This object will read with the value of enable(2) if all instances of rptrPortHwTrapSetSeg for this network are currently set to a value of enable(2). This object will read with the value of other(3) if all instances of rptrPortHwTrapSetSeg for this network are not currently set to a value the same value.') rptr_sa_trap_set_srcaddr = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 6, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('disable', 1), ('enable', 2), ('other', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrSaTrapSetSrcaddr.setStatus('mandatory') if mibBuilder.loadTexts: rptrSaTrapSetSrcaddr.setDescription('Enables and disables source address traps for this network. Setting a value of disable(1) is equivalent to setting all instances of rptrPortSaTrapSetSrcaddr to a value of disable(1). Setting a value of enable(2) is equivalent to setting all instances of rptrPortSaTrapSetSrcaddr to a value of disable(2). Setting a value of other(3) is not allowed. This object will read with the value of disable(1) if all instances of rptrPortSaTrapSetSrcaddr for this network are currently set to a value of disable(1). This object will read with the value of enable(2) if all instances of rptrPortSaTrapSetSrcaddr for this network are currently set to a value of enable(2). This object will read with the value of other(3) if all instances of rptrPortSaTrapSetSrcaddr for this network are not currently set to a value the same value.') rptr_sa_security = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 7)) rptr_security_lock_state = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 7, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('unlock', 1), ('lock', 2), ('portMisMatch', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrSecurityLockState.setStatus('mandatory') if mibBuilder.loadTexts: rptrSecurityLockState.setDescription('Setting this object to Lock will activate the network port security lock. Setting a value of portMisMatch(3) is invalid. A value of portMisMatch(3) reflects that not all ports are at the same value.') rptr_security_secure_state = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 7, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('secure', 1), ('nonSecure', 2), ('portMisMatch', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrSecuritySecureState.setStatus('mandatory') if mibBuilder.loadTexts: rptrSecuritySecureState.setDescription('The status of source address security of the network. Ports on the network that are secure(1), can be locked in order to enable security. nonSecure(2) ports cannot be locked. Setting a value of portMisMatch(3) is invalid. A value of portMisMatch(3) reflects that not all ports are at the same value.') rptr_security_learn_state = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 7, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('learn', 1), ('noLearn', 2), ('portMisMatch', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrSecurityLearnState.setStatus('mandatory') if mibBuilder.loadTexts: rptrSecurityLearnState.setDescription('The learn state of the network. This object will only be applied to ports that are unlocked. If set to learn(1), all addresses are deleted on the ports and learning begins once again. If it is set to noLearn(2), learning stops on the port. Setting a value of portMisMatch(3) is invalid. A value of portMisMatch(3) reflects that not all ports are at the same value.') rptr_security_learn_mode = mib_scalar((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 1, 7, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('oneTime', 1), ('continuous', 2), ('portMisMatch', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrSecurityLearnMode.setStatus('mandatory') if mibBuilder.loadTexts: rptrSecurityLearnMode.setDescription('Get/Set the learn mode of the network. If set to onetime learn mode oneTime(1), each port is capable of learning two addresses and securing on both destination and source addresses once they are locked. If set to continuous learn continuous(2), all addresses are initially deleted and each port continuously replaces the existing secure source address with the latest source address it sees. Setting a value of portMisMatch(3) is invalid. A value of portMisMatch(3) reflects that not all ports are at the same value.') rptr_port_group = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2)) rptr_port_grp_mgmt_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 1)) if mibBuilder.loadTexts: rptrPortGrpMgmtTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpMgmtTable.setDescription('A list of port management objects for this repeater node.') rptr_port_grp_mgmt_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 1, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortGrpMgmtGrpId')) if mibBuilder.loadTexts: rptrPortGrpMgmtEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpMgmtEntry.setDescription('An entry containing objects pertaining to port management for a port group.') rptr_port_grp_mgmt_grp_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpMgmtGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpMgmtGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptr_port_grp_mgmt_name = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(20, 20)).setFixedLength(20)).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortGrpMgmtName.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpMgmtName.setDescription('Gets/Sets a name for the specified port group.') rptr_port_grp_mgmt_port_count = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 1, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpMgmtPortCount.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpMgmtPortCount.setDescription('Get total number of ports contained on the board. Notice that this is the physical port count.') rptr_port_grp_mgmt_ports_enable = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('noEnable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortGrpMgmtPortsEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpMgmtPortsEnable.setDescription('Setting this object to Enable will cause all the ports residing in this network segment to be enabled. Setting this object to noEnable will have no effect. When read this object will always return noEnable.') rptr_port_grp_mgmt_ports_on = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 1, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpMgmtPortsOn.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpMgmtPortsOn.setDescription('Get total number of ON ports in this port group.') rptr_port_grp_mgmt_ports_oper = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 1, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpMgmtPortsOper.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpMgmtPortsOper.setDescription('Get total number of operational ports in the port group.') rptr_port_grp_mgmt_log_port_count = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 1, 1, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpMgmtLogPortCount.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpMgmtLogPortCount.setDescription('Get total number of ports contained in this port group.') rptr_port_grp_stats = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2)) rptr_port_grp_pkt_stats_tbl = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1)) if mibBuilder.loadTexts: rptrPortGrpPktStatsTbl.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsTbl.setDescription('This table provides packet statistics for port group.') rptr_port_grp_pkt_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortGrpPktStatsId')) if mibBuilder.loadTexts: rptrPortGrpPktStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsEntry.setDescription('Defines a specific packet statistics entry.') rptr_port_grp_pkt_stats_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpPktStatsId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptr_port_grp_pkt_stats_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpPktStatsPkts.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsPkts.setDescription("Return this port group's total received packets.") rptr_port_grp_pkt_stats_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpPktStatsBytes.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsBytes.setDescription("Return this port group's total received bytes.") rptr_port_grp_pkt_stats_colls = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpPktStatsColls.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsColls.setDescription("Return this port group's total collisions.") rptr_port_grp_pkt_stats_errors = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpPktStatsErrors.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsErrors.setDescription("Return this port group's total errors.") rptr_port_grp_pkt_stats_align = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpPktStatsAlign.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsAlign.setDescription("Return this port group's total frame alignment errors.") rptr_port_grp_pkt_stats_crc = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpPktStatsCRC.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsCRC.setDescription("Return this port group's total CRC errors.") rptr_port_grp_pkt_stats_oow = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpPktStatsOOW.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsOOW.setDescription("Return this port group's total out-of-window collisions.") rptr_port_grp_pkt_stats_broadcasts = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpPktStatsBroadcasts.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsBroadcasts.setDescription("Return this port group's total received broadcast packets.") rptr_port_grp_pkt_stats_multicasts = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 1, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpPktStatsMulticasts.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpPktStatsMulticasts.setDescription("Return this port group's total received multicast packets.") rptr_port_grp_protocol_tbl = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2)) if mibBuilder.loadTexts: rptrPortGrpProtocolTbl.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolTbl.setDescription('Provides port group protocol statistics.') rptr_port_grp_protocol_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortGrpProtocolId')) if mibBuilder.loadTexts: rptrPortGrpProtocolEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolEntry.setDescription('Defines a specific port group protocol statistics entry.') rptr_port_grp_protocol_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpProtocolId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptr_port_grp_protocol_osi = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpProtocolOSI.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolOSI.setDescription("Return this port group's total received OSI packets.") rptr_port_grp_protocol_novell = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpProtocolNovell.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolNovell.setDescription("Return this port group's total received Novell packets.") rptr_port_grp_protocol_banyan = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpProtocolBanyan.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolBanyan.setDescription("Return this port group's total received Banyan packets.") rptr_port_grp_protocol_dec_net = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpProtocolDECNet.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolDECNet.setDescription("Return this port group's total received DECNet packets.") rptr_port_grp_protocol_xns = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpProtocolXNS.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolXNS.setDescription("Return this port group's total received XNS packets.") rptr_port_grp_protocol_ip = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpProtocolIP.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolIP.setDescription("Return this port group's total received TCP/IP packets.") rptr_port_grp_protocol_ctron = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpProtocolCtron.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolCtron.setDescription("Return this port group's total received CTRON Management packets.") rptr_port_grp_protocol_appletalk = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpProtocolAppletalk.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolAppletalk.setDescription("Return this port group's total received Appletalk packets.") rptr_port_grp_protocol_other = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 2, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpProtocolOther.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpProtocolOther.setDescription("Return this port group's total received unknown protocol packets.") rptr_port_grp_frame_sz_tbl = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 3)) if mibBuilder.loadTexts: rptrPortGrpFrameSzTbl.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpFrameSzTbl.setDescription('Defines frame sizes as seen by this port group.') rptr_port_grp_frame_sz_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 3, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortGrpFrameSzId')) if mibBuilder.loadTexts: rptrPortGrpFrameSzEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpFrameSzEntry.setDescription('Defines a particular frame size entry.') rptr_port_grp_frame_sz_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 3, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpFrameSzId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpFrameSzId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptr_port_grp_frame_sz_runt = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 3, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpFrameSzRunt.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpFrameSzRunt.setDescription("Return this port group's total received packets of size less than 64 bytes.") rptr_port_grp_frame_sz64_to127 = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 3, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpFrameSz64To127.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpFrameSz64To127.setDescription("Return this port group's total received packets of size between 64 and 127 bytes.") rptr_port_grp_frame_sz128_to255 = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 3, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpFrameSz128To255.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpFrameSz128To255.setDescription("Return this port group's total received packets of size between 128 and 255 bytes.") rptr_port_grp_frame_sz256_to511 = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 3, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpFrameSz256To511.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpFrameSz256To511.setDescription("Return this port group's total received packets of size between 256 and 511 bytes.") rptr_port_grp_frame_sz512_to1023 = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 3, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpFrameSz512To1023.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpFrameSz512To1023.setDescription("Return this port group's total received packets of size between 512 and 1023 bytes.") rptr_port_grp_frame_sz1024_to1518 = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 3, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpFrameSz1024To1518.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpFrameSz1024To1518.setDescription("Return this port group's total received packets of size between 1024 and 1518 bytes.") rptr_port_grp_frame_sz_giant = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 2, 3, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpFrameSzGiant.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpFrameSzGiant.setDescription("Return this port group's total received packets of size greater than 1518 bytes.") rptr_port_grp_alarm_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3)) if mibBuilder.loadTexts: rptrPortGrpAlarmTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmTable.setDescription('A list of port group alarm objects for this repeater node.') rptr_port_grp_alarm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortGrpAlarmId')) if mibBuilder.loadTexts: rptrPortGrpAlarmEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmEntry.setDescription('An entry containing objects pertaining to port group alarms for a port group.') rptr_port_grp_alarm_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpAlarmId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptr_port_grp_alarm_traf_enable = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortGrpAlarmTrafEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmTrafEnable.setDescription('Get returns whether traffic alarms are enabled/disabled. Set allows for enabling/disabling of traffic alarms.') rptr_port_grp_alarm_traf_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortGrpAlarmTrafThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmTrafThreshold.setDescription('The maximum number of packets that will be allowed before an alarm is generated.') rptr_port_grp_alarm_traf_grp_disable = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortGrpAlarmTrafGrpDisable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmTrafGrpDisable.setDescription('Set will permit a port group to be disabled on a traffic alarm condition. Get will show whether the port group disabling is allowed or not.') rptr_port_grp_alarm_coll_enable = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortGrpAlarmCollEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmCollEnable.setDescription('Get returns whether collision alarms are enabled/disabled. Set allows for enabling/disabling of collision alarms.') rptr_port_grp_alarm_coll_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 999999))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortGrpAlarmCollThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmCollThreshold.setDescription('The collision threshold is the maximum number of collisions within the time base that will be allowed before an alaram is generated.') rptr_port_grp_alarm_coll_bd_disable = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortGrpAlarmCollBdDisable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmCollBdDisable.setDescription('Set will permit a port group to be disabled on a collision alarm condition. Get will show whether the port group disabling is allowed or not.') rptr_port_grp_alarm_err_enable = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortGrpAlarmErrEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmErrEnable.setDescription('Get returns whether error alarms are enabled/disabled. Set allows for enabling/disabling of error alarms.') rptr_port_grp_alarm_err_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(1, 100))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortGrpAlarmErrThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmErrThreshold.setDescription('Get/Set the percentage of errors per good packet within the timebase that will cause an alarm.') rptr_port_grp_alarm_err_source = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 10), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortGrpAlarmErrSource.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmErrSource.setDescription('Get/Set a bit encoded map of which errors to include in the error sum, as follows: CRC_errors - Bit 0 - Least Significant Bit runts - Bit 1 OOW_colls - Bit 2 align_errs - Bit 3 undefined - Bit 4 Giants - Bit 5') rptr_port_grp_alarm_err_grp_disable = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortGrpAlarmErrGrpDisable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmErrGrpDisable.setDescription('Set will permit a port group to be disabled on an error alarm condition. Get will show whether the port group disabling is allowed or not.') rptr_port_grp_alarm_broad_enable = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortGrpAlarmBroadEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmBroadEnable.setDescription('Get returns whether broadcast alarms are enabled/disabled. Set allows for enabling/disabling of broadcast alarms.') rptr_port_grp_alarm_broad_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 13), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortGrpAlarmBroadThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmBroadThreshold.setDescription('The broadcase threshold represents the maximum number of broadcasts that are allowed during the time base before an alarm is generated.') rptr_port_grp_alarm_broad_grp_disable = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 3, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortGrpAlarmBroadGrpDisable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpAlarmBroadGrpDisable.setDescription('Set will permit a port group to be disabled on a broadcast alarm condition. Get will show whether the port group disabling is allowed or not.') rptr_port_grp_src_addr_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 4)) if mibBuilder.loadTexts: rptrPortGrpSrcAddrTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSrcAddrTable.setDescription('This table provides a list of the number of active users that have been seen by port group.') rptr_port_grp_src_addr_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 4, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortGrpSrcAddrId')) if mibBuilder.loadTexts: rptrPortGrpSrcAddrEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSrcAddrEntry.setDescription('Defines a specific active user entry.') rptr_port_grp_src_addr_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 4, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpSrcAddrId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSrcAddrId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptr_port_grp_src_addr_active_users = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 4, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpSrcAddrActiveUsers.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSrcAddrActiveUsers.setDescription('Returns the total number of active users seen by this port group.') rptr_port_grp_trap = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5)) rptr_port_grp_hw_trap_set = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 1)) rptr_port_grp_sa_trap_set = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 2)) rptr_port_grp_hw_trap_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 1, 1)) if mibBuilder.loadTexts: rptrPortGrpHwTrapTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpHwTrapTable.setDescription('A list of trap enable/disable at the port group level. Disable here is equivalent to disable for each port in the port group.') rptr_port_grp_hw_trap_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 1, 1, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortGrpHwTrapSetGrpId')) if mibBuilder.loadTexts: rptrPortGrpHwTrapEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpHwTrapEntry.setDescription('Individual trap entries for port group enable/disable.') rptr_port_grp_hw_trap_set_grp_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 1, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpHwTrapSetGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpHwTrapSetGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptr_port_grp_hw_trap_set_link = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('disable', 1), ('enable', 2), ('other', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortGrpHwTrapSetLink.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpHwTrapSetLink.setDescription('Enables and disables link traps for the specified port group. Setting a value of disable(1) is equivalent to setting all instances of rptrPortHwTrapSetLink to a value of disable(1). Setting a value of enable(2) is equivalent to setting all instances of rptrPortHwTrapSetLink to a value of disable(2). Setting a value of other(3) is not allowed. This object will read with the value of disable(1) if all instances of rptrPortHwTrapSetLink for this port group are currently set to a value of disable(1). This object will read with the value of enable(2) if all instances of rptrPortHwTrapSetLink for this port group are currently set to a value of enable(2). This object will read with the value of other(3) if all instances of rptrPortHwTrapSetLink for this port group are not currently set to a value the same value.') rptr_port_grp_hw_trap_set_seg = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('disable', 1), ('enable', 2), ('other', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortGrpHwTrapSetSeg.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpHwTrapSetSeg.setDescription('Enables and disables segmentation traps for the specified port group. Setting a value of disable(1) is equivalent to setting all instances of rptrPortHwTrapSetSeg to a value of disable(1). Setting a value of enable(2) is equivalent to setting all instances of rptrPortHwTrapSetSeg to a value of disable(2). Setting a value of other(3) is not allowed. This object will read with the value of disable(1) if all instances of rptrPortHwTrapSetSeg for this port group are currently set to a value of disable(1). This object will read with the value of enable(2) if all instances of rptrPortHwTrapSetSeg for this port group are currently set to a value of enable(2). This object will read with the value of other(3) if all instances of rptrPortHwTrapSetSeg for this port group are not currently set to a value the same value.') rptr_port_grp_sa_trap_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 2, 1)) if mibBuilder.loadTexts: rptrPortGrpSaTrapTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSaTrapTable.setDescription('A list of trap enable/disable at the port group level. Disable here is equivalent to disable for each port in the port group.') rptr_port_grp_sa_trap_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 2, 1, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortGrpSaTrapSetGrpId')) if mibBuilder.loadTexts: rptrPortGrpSaTrapEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSaTrapEntry.setDescription('Individual trap entries for port group enable/disable.') rptr_port_grp_sa_trap_set_grp_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 2, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpSaTrapSetGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSaTrapSetGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptr_port_grp_sa_trap_set_srcaddr = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 5, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('disable', 1), ('enable', 2), ('other', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortGrpSaTrapSetSrcaddr.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSaTrapSetSrcaddr.setDescription('Enables and disables source address traps for the specified port group. Setting a value of disable(1) is equivalent to setting all instances of rtprPortSaTrapSetSrcaddr to a value of disable(1). Setting a value of enable(2) is equivalent to setting all instances of rtprPortSaTrapSetSrcaddr to a value of disable(2). Setting a value of other(3) is not allowed. This object will read with the value of disable(1) if all instances of rptrPortSaTrapSetSrcaddr for this port group are currently set to a value of disable(1). This object will read with the value of enable(2) if all instances of rptrPortSaTrapSetSrcaddr for this port group are currently set to a value of enable(2). This object will read with the value of other(3) if all instances of rptrPortSaTrapSetSrcaddr for this port group are not currently set to a value the same value.') rptr_port_grp_src_addr_lock_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 6)) if mibBuilder.loadTexts: rptrPortGrpSrcAddrLockTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSrcAddrLockTable.setDescription('This table defines the status of the port group source address security locks.') rptr_port_grp_src_addr_lock_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 6, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortGrpSrcAddrLockGrpId')) if mibBuilder.loadTexts: rptrPortGrpSrcAddrLockEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSrcAddrLockEntry.setDescription('DeDefines a status of a particular port group security lock.') rptr_port_grp_src_addr_lock_grp_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 6, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpSrcAddrLockGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSrcAddrLockGrpId.setDescription('Defines a particular port group for which this source address security lock information pertains.') rptr_port_grp_src_addr_lock = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 6, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('unlock', 1), ('lock', 2), ('portMisMatch', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortGrpSrcAddrLock.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSrcAddrLock.setDescription('Allows setting of the security lock status for this port group. unlock(1) - Unlocks the source address lock this group, lock(2) - Locks the source address for this group, Setting a value of portMisMatch(3) is invalid. A value of portMisMatch(3) reflects that not all ports are at the same value.') rptr_port_grp_sa_security_secure_state = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 6, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('secure', 1), ('nonSecure', 2), ('portMisMatch', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortGrpSASecuritySecureState.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSASecuritySecureState.setDescription('The state of the source addressing security for this port group. Ports on the port group that are secure(1), can be locked in order to enable security. When a value of nonSecure(2) is returned ports cannot be locked. Setting a value of portMisMatch(3) is invalid. A value of portMisMatch(3) reflects that not all ports are at the same value.') rptr_port_grp_sa_security_learn_state = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 6, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('learn', 1), ('noLearn', 2), ('portMisMatch', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortGrpSASecurityLearnState.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSASecurityLearnState.setDescription('The learn state of source addressing security for this port group. This object will only be applied to ports that are unlocked. If set to learn(1), all addresses are deleted on the port and learning begins once again. If it is set to noLearn(2), learning stops on the port. Setting a value of portMisMatch(3) is invalid. A value of portMisMatch(3) reflects that not all ports are at the same value.') rptr_port_grp_sa_security_learn_mode = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 2, 6, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('oneTime', 1), ('continuous', 2), ('portMisMatch', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortGrpSASecurityLearnMode.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortGrpSASecurityLearnMode.setDescription('The learn mode of source addressing security port group. If set to oneTime(1), each port is capable of learning two addresses and securing on both destination and source addresses once they are locked. If set to continuous(2), all addresses are initially deleted and each port continuously replaces the existing secure source address with latest source address it sees. Setting a value of portMisMatch(3) is invalid. A value of portMisMatch(3) reflects that not all ports are at the same value.') rptr_port = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3)) rptr_port_mgmt_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 1)) if mibBuilder.loadTexts: rptrPortMgmtTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortMgmtTable.setDescription('A list of port management objects for this repeater node.') rptr_port_mgmt_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 1, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortMgmtPortGrpId'), (0, 'REPEATER-REV4-MIB', 'rptrPortMgmtPortId')) if mibBuilder.loadTexts: rptrPortMgmtEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortMgmtEntry.setDescription('An entry containing objects pertaining to port management for a port.') rptr_port_mgmt_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortMgmtPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortMgmtPortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptr_port_mgmt_port_grp_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortMgmtPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortMgmtPortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptr_port_mgmt_name = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 1, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(20, 20)).setFixedLength(20)).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortMgmtName.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortMgmtName.setDescription('Sets/Gets an ASCII name assigned to this port.') rptr_port_mgmt_admin_state = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortMgmtAdminState.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortMgmtAdminState.setDescription('Setting this object to Enable will cause port to be enabled. Setting this object to Disable will cause the port to be disabled. When read this object will return the state of the object per the last request.') rptr_port_mgmt_oper_state = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('notOperational', 1), ('operational', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortMgmtOperState.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortMgmtOperState.setDescription('Get port operational status.') rptr_port_mgmt_port_type = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 1, 1, 6), object_identifier()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortMgmtPortType.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortMgmtPortType.setDescription('Uniquely defines the repeater port type. A authoritative identification for a port type. By convention, this value is allocated within the SMI enterprises subtree (1.3.6.1.4.1), and provides an easy and unambiguous means to determine the type of repeater port.') rptr_port_stats = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2)) rptr_port_pkt_stats_tbl = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1)) if mibBuilder.loadTexts: rptrPortPktStatsTbl.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsTbl.setDescription('Provides repeater port packet statistics.') rptr_port_pkt_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortPktStatsPortGrpId'), (0, 'REPEATER-REV4-MIB', 'rptrPortPktStatsPortId')) if mibBuilder.loadTexts: rptrPortPktStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsEntry.setDescription('Provides basic statistics for a specific port.') rptr_port_pkt_stats_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortPktStatsPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsPortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptr_port_pkt_stats_port_grp_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortPktStatsPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsPortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptr_port_pkt_stats_packets = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortPktStatsPackets.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsPackets.setDescription("Get this port's total received packets.") rptr_port_pkt_stats_bytes = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortPktStatsBytes.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsBytes.setDescription("Get this port's total received bytes.") rptr_port_pkt_stats_colls = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortPktStatsColls.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsColls.setDescription("Get this port's total collisions.") rptr_port_pkt_stats_errors = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortPktStatsErrors.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsErrors.setDescription("Get this port's total errors.") rptr_port_pkt_stats_align = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortPktStatsAlign.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsAlign.setDescription("Get this port's total frame alignment errors.") rptr_port_pkt_stats_crc = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortPktStatsCRC.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsCRC.setDescription("Get this port's total CRC errors.") rptr_port_pkt_stats_oow = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortPktStatsOOW.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsOOW.setDescription("Get this port's total out-of-window collisions.") rptr_port_pkt_stats_broadcasts = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortPktStatsBroadcasts.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsBroadcasts.setDescription("Get this port's total received broadcast packets.") rptr_port_pkt_stats_multicasts = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 1, 1, 11), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortPktStatsMulticasts.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortPktStatsMulticasts.setDescription("Get this port's total received multicast packets.") rptr_port_protocol_tbl = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2)) if mibBuilder.loadTexts: rptrPortProtocolTbl.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolTbl.setDescription('Provides statistics about the protocols seen by the different ports.') rptr_port_protocol_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortProtocolPortGrpId'), (0, 'REPEATER-REV4-MIB', 'rptrPortProtocolPortId')) if mibBuilder.loadTexts: rptrPortProtocolEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolEntry.setDescription('An entry containing objects pertaining to statistics about protocols seen by different ports.') rptr_port_protocol_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortProtocolPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolPortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptr_port_protocol_port_grp_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortProtocolPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolPortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptr_port_protocol_osi = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortProtocolOSI.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolOSI.setDescription("Get this port's total received OSI protocol packets.") rptr_port_protocol_novell = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortProtocolNovell.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolNovell.setDescription("Get this port's total received Novell protocol packets.") rptr_port_protocol_banyan = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortProtocolBanyan.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolBanyan.setDescription("Get this port's total received Banyan protocol packets.") rptr_port_protocol_dec_net = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortProtocolDECNet.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolDECNet.setDescription("Get this port's total received DECNet protocol packets.") rptr_port_protocol_xns = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortProtocolXNS.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolXNS.setDescription("Get this port's total received XNS protocol packets.") rptr_port_protocol_ip = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortProtocolIP.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolIP.setDescription("Get this port's total received TCP/IP protocol packets.") rptr_port_protocol_ctron = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortProtocolCtron.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolCtron.setDescription("Get this port's total received CTRON Management protocol packets.") rptr_port_protocol_appletalk = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 10), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortProtocolAppletalk.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolAppletalk.setDescription("Get this port's total received Appletalk protocol packets.") rptr_port_protocol_other = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 2, 1, 11), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortProtocolOther.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortProtocolOther.setDescription("Get this port's total received unknown protocol packets.") rptr_port_frame_sz_tbl = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3)) if mibBuilder.loadTexts: rptrPortFrameSzTbl.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSzTbl.setDescription('Provides repeater port frame size statistics.') rptr_port_frame_sz_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortFrameSzPortGrpId'), (0, 'REPEATER-REV4-MIB', 'rptrPortFrameSzPortId')) if mibBuilder.loadTexts: rptrPortFrameSzEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSzEntry.setDescription('Describes a set of frame size statistics for a specific port.') rptr_port_frame_sz_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortFrameSzPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSzPortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptr_port_frame_sz_port_grp_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortFrameSzPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSzPortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptr_port_frame_sz_runt = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortFrameSzRunt.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSzRunt.setDescription("Get this port's total received packets of size less than 64 bytes.") rptr_port_frame_sz64_to127 = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortFrameSz64To127.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSz64To127.setDescription("Get this port's total received packets of size between 64 and 127 bytes.") rptr_port_frame_sz128_to255 = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortFrameSz128To255.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSz128To255.setDescription("Get this port's total received packets of size between 128 and 255 bytes.") rptr_port_frame_sz256_to511 = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortFrameSz256To511.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSz256To511.setDescription("Get this port's total received packets of size between 256 and 511 bytes.") rptr_port_frame_sz512_to1023 = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3, 1, 7), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortFrameSz512To1023.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSz512To1023.setDescription("Get this port's total received packets of size between 512 and 1023 bytes.") rptr_port_frame_sz1024_to1518 = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3, 1, 8), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortFrameSz1024To1518.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSz1024To1518.setDescription("Get this port's total received packets of size between 1024 and 1518 bytes.") rptr_port_frame_sz_giant = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 2, 3, 1, 9), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortFrameSzGiant.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortFrameSzGiant.setDescription("Get this port's total received packets of size greater than 1518 bytes.") rptr_port_alarm_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3)) if mibBuilder.loadTexts: rptrPortAlarmTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmTable.setDescription('A list of port alarm objects for this repeater node.') rptr_port_alarm_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortAlarmPortGrpId'), (0, 'REPEATER-REV4-MIB', 'rptrPortAlarmPortId')) if mibBuilder.loadTexts: rptrPortAlarmEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmEntry.setDescription('An entry containing objects pertaining to port alarm objects for a port group.') rptr_port_alarm_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortAlarmPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmPortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptr_port_alarm_port_grp_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortAlarmPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmPortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptr_port_alarm_traf_enable = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortAlarmTrafEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmTrafEnable.setDescription('Get returns whether traffic alarms are enabled/disabled. Set allows for enabling/disabling of traffic alarms.') rptr_port_alarm_traf_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 4), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortAlarmTrafThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmTrafThreshold.setDescription('The maximum number of packets that will be allowed before an alarm is generated.') rptr_port_alarm_traf_port_disable = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortAlarmTrafPortDisable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmTrafPortDisable.setDescription('Set will permit a port to be disabled on a traffic alarm condition. Get will show whether the port disabling is allowed or not.') rptr_port_alarm_coll_enable = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortAlarmCollEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmCollEnable.setDescription('Get returns whether collision alarms are enabled/disabled. Set allows for enabling/disabling of collision alarms.') rptr_port_alarm_coll_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 999999))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortAlarmCollThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmCollThreshold.setDescription('The collision threshold is the maximum number of collisions within the time base that will be allowed before an alaram is generated.') rptr_port_alarm_coll_port_disable = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortAlarmCollPortDisable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmCollPortDisable.setDescription('Set will permit a port to be disabled on a collision alarm condition. Get will show whether the port disabling is allowed or not.') rptr_port_alarm_err_enable = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortAlarmErrEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmErrEnable.setDescription('Get returns whether error alarms are enabled/disabled. Set allows for enabling/disabling of error alarms.') rptr_port_alarm_err_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(1, 100))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortAlarmErrThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmErrThreshold.setDescription('Get/Set the percentage of errors per good packet within the timebase that will cause an alarm.') rptr_port_alarm_err_source = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 11), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortAlarmErrSource.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmErrSource.setDescription('Get/Set a bit encoded map of which errors to include in the error sum, as follows: CRC_errors - Bit 0 - Least Significant Bit runts - Bit 1 OOW_colls - Bit 2 align_errs - Bit 3 undefined - Bit 4 Giants - Bit 5') rptr_port_alarm_err_port_disable = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortAlarmErrPortDisable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmErrPortDisable.setDescription('Set will permit a port to be disabled on an error alarm condition. Get will show whether the port disabling is allowed or not.') rptr_port_alarm_broad_enable = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortAlarmBroadEnable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmBroadEnable.setDescription('Get returns whether broadcast alarms are enabled/disabled. Set allows for enabling/disabling of broadcast alarms.') rptr_port_alarm_broad_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 14), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortAlarmBroadThreshold.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmBroadThreshold.setDescription('The broadcase threshold represents the maximum number of broadcasts that are allowed during the time base before an alarm is generated.') rptr_port_alarm_broad_port_disable = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 3, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortAlarmBroadPortDisable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAlarmBroadPortDisable.setDescription('Set will permit a port to be disabled on a broadcast alarm condition. Get will show whether the port disabling is allowed or not.') rptr_port_redund_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 4)) if mibBuilder.loadTexts: rptrPortRedundTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortRedundTable.setDescription('A list of port redundancy objects for this repeater node.') rptr_port_redund_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 4, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortRedundPortGrpId'), (0, 'REPEATER-REV4-MIB', 'rptrPortRedundPortId')) if mibBuilder.loadTexts: rptrPortRedundEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortRedundEntry.setDescription('An entry containing objects pertaining to port redundancy for a port group.') rptr_port_redund_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 4, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortRedundPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortRedundPortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptr_port_redund_port_grp_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 4, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortRedundPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortRedundPortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptr_port_redund_crct_num = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 4, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortRedundCrctNum.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortRedundCrctNum.setDescription('Get/Set redundant circuit number of redundant circuit that port is or is to be associated with.') rptr_port_redund_type = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 4, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('notUsed', 1), ('primary', 2), ('backup', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortRedundType.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortRedundType.setDescription('Get/Set redundant port type.') rptr_port_redund_status = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 4, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('notUsed', 1), ('active', 2), ('inactive', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortRedundStatus.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortRedundStatus.setDescription('Get/Set redundant port status.') rptr_port_src_addr_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 5)) if mibBuilder.loadTexts: rptrPortSrcAddrTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrTable.setDescription('A list of port source address objects for this repeater node.') rptr_port_src_addr_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 5, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortSrcAddrPortGrpId'), (0, 'REPEATER-REV4-MIB', 'rptrPortSrcAddrPortId')) if mibBuilder.loadTexts: rptrPortSrcAddrEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrEntry.setDescription('An entry containing objects pertaining to port source address objects for a port group.') rptr_port_src_addr_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 5, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortSrcAddrPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrPortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptr_port_src_addr_port_grp_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 5, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortSrcAddrPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrPortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptr_port_src_addr_topo_state = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 5, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('station', 1), ('trunk', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortSrcAddrTopoState.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrTopoState.setDescription('Returns the topological state of the port.') rptr_port_src_addr_force_trunk = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 5, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('noForce', 1), ('force', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortSrcAddrForceTrunk.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrForceTrunk.setDescription('When this object is set to Force it causes the port to be placed into a Trunk topological state whether the network traffic would warrant such a state or not. When this object is set to NoForce it allows the port to assume the topological state it would naturally assume based on the network activity across it. When read this object reports the current setting.') rptr_port_src_addr_active_users = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 5, 1, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortSrcAddrActiveUsers.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrActiveUsers.setDescription('Returns the total number of active users seen by this port.') rptr_port_src_addr_list_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 6)) if mibBuilder.loadTexts: rptrPortSrcAddrListTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrListTable.setDescription('This table provides information about the source addresses that have been seen by the differnt ports.') rptr_port_src_addr_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 6, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortSrcAddrListPortGrpId'), (0, 'REPEATER-REV4-MIB', 'rptrPortSrcAddrListPortId'), (0, 'REPEATER-REV4-MIB', 'rptrPortSrcAddrListId')) if mibBuilder.loadTexts: rptrPortSrcAddrListEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrListEntry.setDescription('A specific source address that has been seen') rptr_port_src_addr_list_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 6, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortSrcAddrListId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrListId.setDescription('Returns an index associated with the number of address to be returned.') rptr_port_src_addr_list_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 6, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortSrcAddrListPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrListPortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptr_port_src_addr_list_port_grp_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 6, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortSrcAddrListPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrListPortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptr_port_src_addr_address_list = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 6, 1, 4), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortSrcAddrAddressList.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSrcAddrAddressList.setDescription('Returns a source address seen on this port.') rptr_port_hardware_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 7)) if mibBuilder.loadTexts: rptrPortHardwareTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHardwareTable.setDescription('A list of port hardware objects for this repeater port.') rptr_port_hardware_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 7, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortHardwarePortGrpId'), (0, 'REPEATER-REV4-MIB', 'rptrPortHardwarePortId')) if mibBuilder.loadTexts: rptrPortHardwareEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHardwareEntry.setDescription('An entry containing objects pertaining to port hardware for a hardware port group.') rptr_port_hardware_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 7, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortHardwarePortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHardwarePortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptr_port_hardware_port_grp_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 7, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortHardwarePortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHardwarePortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptr_port_hardware_seg_status = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 7, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('notSegmented', 1), ('segmented', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortHardwareSegStatus.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHardwareSegStatus.setDescription('Returns port segmentation status.') rptr_port_hardware_link_status = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 7, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('notLinked', 1), ('linked', 2), ('notApplicable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortHardwareLinkStatus.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHardwareLinkStatus.setDescription('Returns port link status.') rptr_port_trap = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8)) rptr_port_hw_trap_set = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 1)) rptr_port_sa_trap_set = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 2)) rptr_port_hw_trap_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 1, 1)) if mibBuilder.loadTexts: rptrPortHwTrapTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHwTrapTable.setDescription('A list of trap enable/disable at the port level.') rptr_port_hw_trap_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 1, 1, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortHwTrapSetPortGrpId'), (0, 'REPEATER-REV4-MIB', 'rptrPortHwTrapSetPortId')) if mibBuilder.loadTexts: rptrPortHwTrapEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHwTrapEntry.setDescription('Individual trap entries for port group enable/disable.') rptr_port_hw_trap_set_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 1, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortHwTrapSetPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHwTrapSetPortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptr_port_hw_trap_set_port_grp_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 1, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortHwTrapSetPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHwTrapSetPortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptr_port_hw_trap_set_link = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortHwTrapSetLink.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHwTrapSetLink.setDescription('Enables and disables link traps for this port.') rptr_port_hw_trap_set_seg = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 1, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortHwTrapSetSeg.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortHwTrapSetSeg.setDescription('Enables and disables segmentation traps for this port.') rptr_port_sa_trap_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 2, 1)) if mibBuilder.loadTexts: rptrPortSaTrapTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSaTrapTable.setDescription('A list of trap enable/disable at the port level') rptr_port_sa_trap_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 2, 1, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortSaTrapSetPortGrpId'), (0, 'REPEATER-REV4-MIB', 'rptrPortSaTrapSetPortId')) if mibBuilder.loadTexts: rptrPortSaTrapEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSaTrapEntry.setDescription('Individual trap entries for port group enable/disable.') rptr_port_sa_trap_set_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 2, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortSaTrapSetPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSaTrapSetPortId.setDescription('Returns an index to a port for which the information in this table pertains.') rptr_port_sa_trap_set_port_grp_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 2, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortSaTrapSetPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSaTrapSetPortGrpId.setDescription('Returns an index to a port group for which the information in this table pertains.') rptr_port_sa_trap_set_srcaddr = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 8, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('disable', 1), ('enable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortSaTrapSetSrcaddr.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSaTrapSetSrcaddr.setDescription('Enables and disables source address traps for this port.') rptr_port_security = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9)) rptr_port_security_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1)) if mibBuilder.loadTexts: rptrPortSecurityTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityTable.setDescription('This table defines status of the source lock security.') rptr_port_security_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortSecurityPortGrpId'), (0, 'REPEATER-REV4-MIB', 'rptrPortSecurityPortId')) if mibBuilder.loadTexts: rptrPortSecurityEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityEntry.setDescription('Defines lock status for this particular entry.') rptr_port_security_port_grp_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortSecurityPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityPortGrpId.setDescription(' The port Group ID for which this source address lock entry pertains.') rptr_port_security_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortSecurityPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityPortId.setDescription('The port ID for which this source address lock entry pertains.') rptr_port_security_lock_status = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('unlock', 1), ('lock', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortSecurityLockStatus.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityLockStatus.setDescription('Defines the lock status for this particular port entry.') rptr_port_security_lock_add_address = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(6, 6)).setFixedLength(6)).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortSecurityLockAddAddress.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityLockAddAddress.setDescription('Setting a value to this object will cause a new entry to be added to the rptrPortSecurityListTable. When read this object will display an OCTET STRING of SIZE 6 with each octet containing a 0. In general it is possible to add addresses at anytime. However there are several instances where the firmware and or hardware can not support the operation. In these instances an error will be returned if a addition is attempted.') rptr_port_security_lock_del_address = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 5), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortSecurityLockDelAddress.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityLockDelAddress.setDescription("Setting a value to this object will cause corresponding entry in the rptrPortSecurityListTable to be deleted. When read this object returns an OCTET STRING of length 6 with each octet having the value '0'. In general it is possible to delete locked addresses at any time. however there are instances where it is not supported in which case an error will be returned.") rptr_port_security_disable_on_violation = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('noDisable', 1), ('disable', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortSecurityDisableOnViolation.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityDisableOnViolation.setDescription('Designates whether port is disabled if its source address is violated. A source address violation occurs when a address is detected which is not in the source address list for this port. If the port is disabled due to the source address violation it can be enabled by setting rptrPortMgmtAdminState.') rptr_port_security_full_sec_enabled = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('partialSecurity', 1), ('fullSecurity', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortSecurityFullSecEnabled.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityFullSecEnabled.setDescription('A port that is set to full security and is locked will scramble ALL packets, which are not contained in the expected address list, including broadcasts and multicasts. A port that is set to partial security will allow broadcasts and multicasts to repeat unscrambled.') rptr_port_security_secure_state = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('secure', 1), ('nonSecure', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortSecuritySecureState.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecuritySecureState.setDescription('The secure state of the port. If the port is secure(1), it can be locked in order to enable security. A nonSecure(2) port cannot be locked.') rptr_port_security_force_non_secure = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('noForce', 1), ('forceNonSecure', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortSecurityForceNonSecure.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityForceNonSecure.setDescription('The force non-secure state of port. If the port is Forced, Non-Secure via a value of forceNonSecure(2), it is put into a Non-Secure state, in which case it cannot be locked. If a port is not forced noForce(1), then it will take on its natural state, according to the traffic flow on the port.') rptr_port_security_learn_state = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('learn', 1), ('noLearn', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortSecurityLearnState.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityLearnState.setDescription('The learn state of the port. This object will only be applied to a port that is unlocked. If set to learn(1), all addresses are deleted on the port and learning begins once again. If it is set to noLearn(2), learning stops on the port.') rptr_port_security_learn_mode = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('oneTime', 1), ('continuous', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortSecurityLearnMode.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityLearnMode.setDescription('The learn mode of the port. If set to oneTime(1), the port is capable of learning two addresses and securing on both destination and source addresses (upon locking port). If set to continuous(2), all addresses are initially deleted and the port continuously replaces the existing secure source address with the latest source address it sees.') rptr_port_security_list_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 2)) if mibBuilder.loadTexts: rptrPortSecurityListTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityListTable.setDescription('This table defines a list of all source address locks maintained for the specified port.') rptr_port_security_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 2, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortSecurityListPortGrpId'), (0, 'REPEATER-REV4-MIB', 'rptrPortSecurityListPortId'), (0, 'REPEATER-REV4-MIB', 'rptrPortSecurityListIndex')) if mibBuilder.loadTexts: rptrPortSecurityListEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityListEntry.setDescription('An entry containing objects pertaining to source address locks for a port group.') rptr_port_security_list_port_grp_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortSecurityListPortGrpId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityListPortGrpId.setDescription('The port group for which this security list entry pertains.') rptr_port_security_list_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 2, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortSecurityListPortId.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityListPortId.setDescription('The port ID for which this source address lock list pertains.') rptr_port_security_list_index = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 2, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortSecurityListIndex.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityListIndex.setDescription('A unique index for the source address entries.') rptr_port_security_list_address = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 3, 9, 2, 1, 4), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortSecurityListAddress.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortSecurityListAddress.setDescription('Defines the particular source address that has been locked.') rptr_port_assoc = mib_identifier((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 4)) rptr_port_assoc_table = mib_table((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 4, 1)) if mibBuilder.loadTexts: rptrPortAssocTable.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAssocTable.setDescription('This table defines the port association for those switching MIMs that support this functionality.') rptr_port_assoc_entry = mib_table_row((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 4, 1, 1)).setIndexNames((0, 'REPEATER-REV4-MIB', 'rptrPortAssocBoard')) if mibBuilder.loadTexts: rptrPortAssocEntry.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAssocEntry.setDescription('Describes a particular port association entry.') rptr_port_assoc_board = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 4, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: rptrPortAssocBoard.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAssocBoard.setDescription('The board number for which this port association information pertains.') rptr_port_assoc_status = mib_table_column((1, 3, 6, 1, 4, 1, 52, 4, 1, 1, 1, 4, 4, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('defaultPort', 1), ('otherPort', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: rptrPortAssocStatus.setStatus('mandatory') if mibBuilder.loadTexts: rptrPortAssocStatus.setDescription('This object describes the status of the user selectable port. On a TPXMIM34 this is port 13 which may either be an EPIM or default configuration. A value of defaultPort(1) restores the default configuration. A value of otherPort(2) may imply the use of the EPIM connection.') mibBuilder.exportSymbols('REPEATER-REV4-MIB', rptrFrameSz256To511=rptrFrameSz256To511, rptrPortGrpAlarmBroadEnable=rptrPortGrpAlarmBroadEnable, rptrPortGrpAlarmTrafEnable=rptrPortGrpAlarmTrafEnable, rptrPortGrpSASecurityLearnMode=rptrPortGrpSASecurityLearnMode, rptrProtocolsXNS=rptrProtocolsXNS, rptrPortAlarmErrPortDisable=rptrPortAlarmErrPortDisable, rptrPortProtocolDECNet=rptrPortProtocolDECNet, rptrPortSecurityLockAddAddress=rptrPortSecurityLockAddAddress, rptrPort=rptrPort, rptrPortSecurityTable=rptrPortSecurityTable, rptrPortGrpAlarmCollThreshold=rptrPortGrpAlarmCollThreshold, rptrRedundancy=rptrRedundancy, rptrRedundAddrIPAddr=rptrRedundAddrIPAddr, rptrStats=rptrStats, rptrRedundCrctEnable=rptrRedundCrctEnable, repeaterrev4=repeaterrev4, rptrProtocolsDECNet=rptrProtocolsDECNet, rptrPortGrpPktStatsId=rptrPortGrpPktStatsId, rptrPortPktStatsPackets=rptrPortPktStatsPackets, rptrPortSrcAddrListEntry=rptrPortSrcAddrListEntry, rptrPortMgmtOperState=rptrPortMgmtOperState, rptrPortGrpProtocolIP=rptrPortGrpProtocolIP, rptrPortSaTrapSetPortId=rptrPortSaTrapSetPortId, rptrPortGrpFrameSzTbl=rptrPortGrpFrameSzTbl, rptrPortGrpProtocolXNS=rptrPortGrpProtocolXNS, rptrPortAlarmErrSource=rptrPortAlarmErrSource, rptrPortGrpSaTrapTable=rptrPortGrpSaTrapTable, rptrAlarmsAlarmTimebase=rptrAlarmsAlarmTimebase, rptrSaTrapSetSrcaddr=rptrSaTrapSetSrcaddr, rptrPortGroup=rptrPortGroup, rptrPortGrpPktStatsBroadcasts=rptrPortGrpPktStatsBroadcasts, rptrAlarmsErrEnable=rptrAlarmsErrEnable, rptrPortGrpPktStatsBytes=rptrPortGrpPktStatsBytes, rptrPortAlarmErrThreshold=rptrPortAlarmErrThreshold, rptrPortAlarmBroadPortDisable=rptrPortAlarmBroadPortDisable, rptrPktStatsMulticasts=rptrPktStatsMulticasts, rptrPortAlarmBroadThreshold=rptrPortAlarmBroadThreshold, rptrPortGrpMgmtEntry=rptrPortGrpMgmtEntry, rptrPortGrpAlarmTrafThreshold=rptrPortGrpAlarmTrafThreshold, rptrPortProtocolNovell=rptrPortProtocolNovell, rptrRedundAddrId=rptrRedundAddrId, rptrPortGrpSrcAddrLockTable=rptrPortGrpSrcAddrLockTable, rptrPortSecurityFullSecEnabled=rptrPortSecurityFullSecEnabled, rptrPortFrameSz256To511=rptrPortFrameSz256To511, rptrPortGrpPktStatsColls=rptrPortGrpPktStatsColls, rptrPortPktStatsColls=rptrPortPktStatsColls, rptrPortGrpPktStatsPkts=rptrPortGrpPktStatsPkts, rptrPortSaTrapSet=rptrPortSaTrapSet, rptrPortFrameSz1024To1518=rptrPortFrameSz1024To1518, rptrRedundMaxCrcts=rptrRedundMaxCrcts, rptrPortMgmtTable=rptrPortMgmtTable, rptrMgmtPortsEnable=rptrMgmtPortsEnable, rptrRedundAddrTable=rptrRedundAddrTable, rptrHwTrapSet=rptrHwTrapSet, rptrPortHardwareLinkStatus=rptrPortHardwareLinkStatus, rptrPktStatsNoRsc=rptrPktStatsNoRsc, rptrPortGrpHwTrapSetGrpId=rptrPortGrpHwTrapSetGrpId, rptrPortProtocolPortGrpId=rptrPortProtocolPortGrpId, rptrPortGrpPktStatsMulticasts=rptrPortGrpPktStatsMulticasts, rptrPortFrameSz512To1023=rptrPortFrameSz512To1023, rptrFrameSzGiant=rptrFrameSzGiant, rptrPortPktStatsPortId=rptrPortPktStatsPortId, rptrPktStatsBroadcasts=rptrPktStatsBroadcasts, rptrPktStatsColls=rptrPktStatsColls, rptrRedundPortType=rptrRedundPortType, rptrSrcAddrMgmtSrcAgeInterval=rptrSrcAddrMgmtSrcAgeInterval, rptrSecurityLearnState=rptrSecurityLearnState, rptrAlarmsTrafEnable=rptrAlarmsTrafEnable, rptrPortGrpSrcAddrId=rptrPortGrpSrcAddrId, rptrPortFrameSzRunt=rptrPortFrameSzRunt, rptrPortGrpTrap=rptrPortGrpTrap, rptrPortGrpProtocolOther=rptrPortGrpProtocolOther, rptrHwTrapSetLink=rptrHwTrapSetLink, rptrPortSecurityListEntry=rptrPortSecurityListEntry, rptrPktStatsOOW=rptrPktStatsOOW, rptrPortGrpAlarmCollBdDisable=rptrPortGrpAlarmCollBdDisable, rptrAlarms=rptrAlarms, rptrPortSrcAddrListTable=rptrPortSrcAddrListTable, rptrPortGrpAlarmBroadThreshold=rptrPortGrpAlarmBroadThreshold, rptrFrameSizes=rptrFrameSizes, rptrPortGrpSrcAddrLock=rptrPortGrpSrcAddrLock, rptrPortSecurityListIndex=rptrPortSecurityListIndex, rptrPortGrpFrameSz64To127=rptrPortGrpFrameSz64To127, rptrMgmtPortCount=rptrMgmtPortCount, rptrPortGrpHwTrapTable=rptrPortGrpHwTrapTable, rptrSrcAddrListEntry=rptrSrcAddrListEntry, rptrPortGrpMgmtName=rptrPortGrpMgmtName, rptrPortGrpProtocolId=rptrPortGrpProtocolId, rptrPortSrcAddrPortId=rptrPortSrcAddrPortId, rptrPortHardwarePortGrpId=rptrPortHardwarePortGrpId, rptrRedundCrctReset=rptrRedundCrctReset, rptrPortGrpPktStatsTbl=rptrPortGrpPktStatsTbl, rptrPortGrpMgmtLogPortCount=rptrPortGrpMgmtLogPortCount, rptrPortRedundPortId=rptrPortRedundPortId, rptrPortAlarmPortId=rptrPortAlarmPortId, rptrPortSrcAddrAddressList=rptrPortSrcAddrAddressList, rptrPortHwTrapSetPortId=rptrPortHwTrapSetPortId, rptrPortGrpAlarmErrGrpDisable=rptrPortGrpAlarmErrGrpDisable, rptrPortRedundStatus=rptrPortRedundStatus, rptrPortSecurityListAddress=rptrPortSecurityListAddress, rptrPortProtocolBanyan=rptrPortProtocolBanyan, rptrPortFrameSzTbl=rptrPortFrameSzTbl, rptrPortGrpFrameSz512To1023=rptrPortGrpFrameSz512To1023, rptrMgmtPortsOper=rptrMgmtPortsOper, rptrPortSecurityLockDelAddress=rptrPortSecurityLockDelAddress, rptrAlarmsErrThreshold=rptrAlarmsErrThreshold, rptrMgmt=rptrMgmt, rptrSaSecurity=rptrSaSecurity, rptrRedundPortEntry=rptrRedundPortEntry, rptr=rptr, rptrPortSecurityPortId=rptrPortSecurityPortId, rptrPortGrpAlarmErrSource=rptrPortGrpAlarmErrSource, rptrPortAlarmErrEnable=rptrPortAlarmErrEnable, rptrPortSecurityEntry=rptrPortSecurityEntry, rptrPortGrpProtocolOSI=rptrPortGrpProtocolOSI, rptrAlarmsTrafThreshold=rptrAlarmsTrafThreshold, rptrPortGrpSrcAddrTable=rptrPortGrpSrcAddrTable, rptrSrcAddrMgmtPortLock=rptrSrcAddrMgmtPortLock, rptrPortProtocolOSI=rptrPortProtocolOSI, rptrAlarmsErrSource=rptrAlarmsErrSource, rptrRedundCrctAddAddr=rptrRedundCrctAddAddr, rptrPortGrpMgmtTable=rptrPortGrpMgmtTable, rptrFrameSz512To1023=rptrFrameSz512To1023, rptrPortGrpPktStatsErrors=rptrPortGrpPktStatsErrors, rptrPortGrpAlarmErrEnable=rptrPortGrpAlarmErrEnable, rptrPktStatsErrors=rptrPktStatsErrors, rptrRedundPortBoardNum=rptrRedundPortBoardNum, rptrRedundCrctEntry=rptrRedundCrctEntry, rptrRedundCrctNumAddr=rptrRedundCrctNumAddr, rptrPortGrpSaTrapSetGrpId=rptrPortGrpSaTrapSetGrpId, rptrPortGrpSrcAddrLockGrpId=rptrPortGrpSrcAddrLockGrpId, rptrRedundCrctId=rptrRedundCrctId, rptrRedundPortTable=rptrRedundPortTable, rptrSecurityLockState=rptrSecurityLockState, rptrPortSrcAddrActiveUsers=rptrPortSrcAddrActiveUsers, rptrAlarmsBroadEnable=rptrAlarmsBroadEnable, rptrRedundPerformTest=rptrRedundPerformTest, rptrProtocols=rptrProtocols, rptrPortGrpProtocolBanyan=rptrPortGrpProtocolBanyan, rptrPortGrpSaTrapSet=rptrPortGrpSaTrapSet, rptrPktStatsCRC=rptrPktStatsCRC, rptrPortTrap=rptrPortTrap, rptrPortSrcAddrPortGrpId=rptrPortSrcAddrPortGrpId, rptrProtocolsAppletalk=rptrProtocolsAppletalk, rptrPortProtocolXNS=rptrPortProtocolXNS, rptrPortProtocolCtron=rptrPortProtocolCtron, rptrMgmtResetCounters=rptrMgmtResetCounters, rptrSrcAddrSrcTableEntryPortGroup=rptrSrcAddrSrcTableEntryPortGroup, rptrFrameSz128To255=rptrFrameSz128To255, rptrPktStatsBytes=rptrPktStatsBytes, rptrProtocolsOther=rptrProtocolsOther, rptrPortGrpHwTrapSet=rptrPortGrpHwTrapSet, rptrPortAlarmTrafEnable=rptrPortAlarmTrafEnable, rptrPortSrcAddrListPortGrpId=rptrPortSrcAddrListPortGrpId, rptrPortSrcAddrListId=rptrPortSrcAddrListId, rptrPortSecurityForceNonSecure=rptrPortSecurityForceNonSecure, rptrPortSecurityLearnState=rptrPortSecurityLearnState, rptrRedundCrctDelAddr=rptrRedundCrctDelAddr, rptrPortHardwareEntry=rptrPortHardwareEntry, rptrPortRedundTable=rptrPortRedundTable, rptrPortProtocolAppletalk=rptrPortProtocolAppletalk, rptrPortRedundCrctNum=rptrPortRedundCrctNum, rptrPortGrpProtocolAppletalk=rptrPortGrpProtocolAppletalk, rptrPortAlarmCollThreshold=rptrPortAlarmCollThreshold, rptrPortGrpMgmtPortsOn=rptrPortGrpMgmtPortsOn, rptrPortMgmtPortGrpId=rptrPortMgmtPortGrpId, rptrPortHwTrapSetPortGrpId=rptrPortHwTrapSetPortGrpId, rptrPortGrpSrcAddrLockEntry=rptrPortGrpSrcAddrLockEntry, rptrSrcAddrSrcTableEntryPort=rptrSrcAddrSrcTableEntryPort, rptrHwTrapSetSeg=rptrHwTrapSetSeg, rptrAlarmsCollEnable=rptrAlarmsCollEnable, rptrRedundCrctTable=rptrRedundCrctTable, rptrPortAlarmCollEnable=rptrPortAlarmCollEnable, rptrMgmtName=rptrMgmtName, rptrRedundAddrEntry=rptrRedundAddrEntry, rptrPortGrpSASecurityLearnState=rptrPortGrpSASecurityLearnState, rptrPortGrpProtocolCtron=rptrPortGrpProtocolCtron, rptrPortPktStatsCRC=rptrPortPktStatsCRC, rptrRedund=rptrRedund, rptrPortPktStatsErrors=rptrPortPktStatsErrors, rptrPortGrpSrcAddrEntry=rptrPortGrpSrcAddrEntry, rptrPortGrpFrameSzRunt=rptrPortGrpFrameSzRunt, rptrPortGrpStats=rptrPortGrpStats, rptrPortGrpSASecuritySecureState=rptrPortGrpSASecuritySecureState, rptrPortMgmtPortId=rptrPortMgmtPortId, rptrPortFrameSz128To255=rptrPortFrameSz128To255, rptrPortPktStatsAlign=rptrPortPktStatsAlign, rptrPortHwTrapSetSeg=rptrPortHwTrapSetSeg, rptrPortProtocolPortId=rptrPortProtocolPortId, rptrPortAlarmCollPortDisable=rptrPortAlarmCollPortDisable, rptrPortMgmtEntry=rptrPortMgmtEntry, rptrPortGrpAlarmTable=rptrPortGrpAlarmTable, rptrPortPktStatsTbl=rptrPortPktStatsTbl, rptrPortRedundType=rptrPortRedundType, rptrPortSrcAddrForceTrunk=rptrPortSrcAddrForceTrunk, rptrTrap=rptrTrap, rptrPortGrpFrameSzGiant=rptrPortGrpFrameSzGiant, rptrMgmtBoardMap=rptrMgmtBoardMap, rptrProtocolsCtron=rptrProtocolsCtron, rptrPortGrpMgmtGrpId=rptrPortGrpMgmtGrpId, rptrPortMgmtName=rptrPortMgmtName, rptrPortPktStatsPortGrpId=rptrPortPktStatsPortGrpId, rptrPortSrcAddrEntry=rptrPortSrcAddrEntry, rptrPortGrpPktStatsOOW=rptrPortGrpPktStatsOOW, rptrPortGrpAlarmCollEnable=rptrPortGrpAlarmCollEnable, rptrPortSecuritySecureState=rptrPortSecuritySecureState, rptrPortSaTrapSetSrcaddr=rptrPortSaTrapSetSrcaddr, rptrPortSecurityLockStatus=rptrPortSecurityLockStatus, rptrSrcAddrMgmtActiveUsers=rptrSrcAddrMgmtActiveUsers, rptrPortGrpFrameSz1024To1518=rptrPortGrpFrameSz1024To1518, rptrPortPktStatsBytes=rptrPortPktStatsBytes, rptrSecurityLearnMode=rptrSecurityLearnMode, rptrRedundCrctNumBPs=rptrRedundCrctNumBPs, rptrRedundCrctName=rptrRedundCrctName, rptrPortGrpAlarmBroadGrpDisable=rptrPortGrpAlarmBroadGrpDisable, rptrMgmtPortsOn=rptrMgmtPortsOn, rptrPortSecurityPortGrpId=rptrPortSecurityPortGrpId, rptrPortHardwareTable=rptrPortHardwareTable, rptrPortSecurityLearnMode=rptrPortSecurityLearnMode, rptrMgmtInterfaceNum=rptrMgmtInterfaceNum, rptrPortFrameSzPortGrpId=rptrPortFrameSzPortGrpId, rptrPktStatsPackets=rptrPktStatsPackets, rptrPortRedundPortGrpId=rptrPortRedundPortGrpId, rptrSrcAddrSrcTableEntryId=rptrSrcAddrSrcTableEntryId, rptrProtocolsBanyan=rptrProtocolsBanyan, rptrSecuritySecureState=rptrSecuritySecureState, rptrFrameSzRunt=rptrFrameSzRunt, rptrPortMgmtPortType=rptrPortMgmtPortType, rptrPortHwTrapSetLink=rptrPortHwTrapSetLink, rptrPortGrpAlarmEntry=rptrPortGrpAlarmEntry, rptrPortAlarmEntry=rptrPortAlarmEntry, rptrSrcAddrListId=rptrSrcAddrListId, rptrPortGrpFrameSzId=rptrPortGrpFrameSzId, rptrRedundTestTOD=rptrRedundTestTOD, rptrPortGrpProtocolDECNet=rptrPortGrpProtocolDECNet, rptrPortGrpProtocolEntry=rptrPortGrpProtocolEntry, rptrPortGrpMgmtPortsOper=rptrPortGrpMgmtPortsOper, rptrPortAlarmTable=rptrPortAlarmTable, rptrPortGrpPktStatsCRC=rptrPortGrpPktStatsCRC, rptrPortGrpProtocolNovell=rptrPortGrpProtocolNovell, rptrPortAlarmPortGrpId=rptrPortAlarmPortGrpId, rptrPortPktStatsBroadcasts=rptrPortPktStatsBroadcasts, rptrPortGrpAlarmTrafGrpDisable=rptrPortGrpAlarmTrafGrpDisable, rptrPortAlarmTrafPortDisable=rptrPortAlarmTrafPortDisable, rptrPortSaTrapTable=rptrPortSaTrapTable, rptrAlarmsCollThreshold=rptrAlarmsCollThreshold, rptrRedundCrctRetrys=rptrRedundCrctRetrys, rptrPortGrpFrameSz128To255=rptrPortGrpFrameSz128To255, rptrPortHwTrapTable=rptrPortHwTrapTable, rptrPortAssoc=rptrPortAssoc, rptrPortHardwareSegStatus=rptrPortHardwareSegStatus, rptrPortAssocEntry=rptrPortAssocEntry, rptrPortPktStatsOOW=rptrPortPktStatsOOW, rptrPortSecurityListTable=rptrPortSecurityListTable) mibBuilder.exportSymbols('REPEATER-REV4-MIB', rptrPortGrpFrameSzEntry=rptrPortGrpFrameSzEntry, rptrPortFrameSzGiant=rptrPortFrameSzGiant, rptrSourceAddress=rptrSourceAddress, rptrSrcAddrListTable=rptrSrcAddrListTable, rptrPortHwTrapEntry=rptrPortHwTrapEntry, rptrSrcAddrAddressList=rptrSrcAddrAddressList, rptrSrcAddrSrcTableEntry=rptrSrcAddrSrcTableEntry, rptrPortAlarmBroadEnable=rptrPortAlarmBroadEnable, rptrRedundAddrCrctId=rptrRedundAddrCrctId, rptrRedundPortCrctId=rptrRedundPortCrctId, rptrPortGrpSrcAddrActiveUsers=rptrPortGrpSrcAddrActiveUsers, rptrPortProtocolOther=rptrPortProtocolOther, rptrAlarmsBroadThreshold=rptrAlarmsBroadThreshold, rptrPortHwTrapSet=rptrPortHwTrapSet, rptrPortAssocTable=rptrPortAssocTable, rptrPortProtocolEntry=rptrPortProtocolEntry, rptrPortGrpAlarmErrThreshold=rptrPortGrpAlarmErrThreshold, rptrPortGrpMgmtPortCount=rptrPortGrpMgmtPortCount, rptrPortFrameSzEntry=rptrPortFrameSzEntry, rptrPortGrpHwTrapEntry=rptrPortGrpHwTrapEntry, rptrPortSaTrapSetPortGrpId=rptrPortSaTrapSetPortGrpId, rptrPortPktStatsEntry=rptrPortPktStatsEntry, rptrPortGrpHwTrapSetSeg=rptrPortGrpHwTrapSetSeg, rptrPortSrcAddrListPortId=rptrPortSrcAddrListPortId, rptrRedundPortId=rptrRedundPortId, rptrPortGrpAlarmId=rptrPortGrpAlarmId, rptrPortProtocolIP=rptrPortProtocolIP, rptrPortFrameSzPortId=rptrPortFrameSzPortId, rptrPortGrpMgmtPortsEnable=rptrPortGrpMgmtPortsEnable, rptrSrcAddrMgmtHashType=rptrSrcAddrMgmtHashType, rptrPortProtocolTbl=rptrPortProtocolTbl, rptrRedundReset=rptrRedundReset, rptrPortSaTrapEntry=rptrPortSaTrapEntry, rptrPortGrpSaTrapSetSrcaddr=rptrPortGrpSaTrapSetSrcaddr, rptrPortSecurityDisableOnViolation=rptrPortSecurityDisableOnViolation, rptrPktStatsAlign=rptrPktStatsAlign, rptrSrcAddrSrcTable=rptrSrcAddrSrcTable, rptrPortSrcAddrTopoState=rptrPortSrcAddrTopoState, rptrPortSecurityListPortId=rptrPortSecurityListPortId, rptrPortGrpPktStatsEntry=rptrPortGrpPktStatsEntry, rptrPortSecurity=rptrPortSecurity, rptrPortSrcAddrTable=rptrPortSrcAddrTable, rptrFrameSz1024To1518=rptrFrameSz1024To1518, rptrPortGrpSaTrapEntry=rptrPortGrpSaTrapEntry, rptrPortGrpPktStatsAlign=rptrPortGrpPktStatsAlign, rptrPktStats=rptrPktStats, rptrSaTrapSet=rptrSaTrapSet, rptrProtocolsIP=rptrProtocolsIP, rptrPortStats=rptrPortStats, rptrPortAssocStatus=rptrPortAssocStatus, rptrPortFrameSz64To127=rptrPortFrameSz64To127, rptrPortGrpHwTrapSetLink=rptrPortGrpHwTrapSetLink, rptrRedundPollInterval=rptrRedundPollInterval, rptrPortRedundEntry=rptrPortRedundEntry, rptrPortAssocBoard=rptrPortAssocBoard, rptrPortPktStatsMulticasts=rptrPortPktStatsMulticasts, rptrProtocolsNovell=rptrProtocolsNovell, rptrPortHardwarePortId=rptrPortHardwarePortId, rptrPortGrpFrameSz256To511=rptrPortGrpFrameSz256To511, rptrPortSecurityListPortGrpId=rptrPortSecurityListPortGrpId, rptrProtocolsOSI=rptrProtocolsOSI, rptrPortGrpProtocolTbl=rptrPortGrpProtocolTbl, rptrSrcAddrMgmt=rptrSrcAddrMgmt, rptrRedundPortNum=rptrRedundPortNum, rptrPortMgmtAdminState=rptrPortMgmtAdminState, rptrFrameSz64To127=rptrFrameSz64To127, rptrPortAlarmTrafThreshold=rptrPortAlarmTrafThreshold)
def math(): a, b, c = input().split() a, b, c = float(a), float(b), float(c) pi = 3.14159 triangle = (.5 * a * c).__format__('.3f') circular = (pi * (c**2)).__format__('.3f') trapezium = (((a + b) / 2) * c).__format__('.3f') area = (b**2).__format__('.3f') rectangle = (a * b).__format__('.3f') print('TRIANGULO:', triangle + '\nCIRCULO:', circular + '\nTRAPEZIO:', trapezium + '\nQUADRADO:', area + '\nRETANGULO:', rectangle ) if __name__ == '__main__': math()
def math(): (a, b, c) = input().split() (a, b, c) = (float(a), float(b), float(c)) pi = 3.14159 triangle = (0.5 * a * c).__format__('.3f') circular = (pi * c ** 2).__format__('.3f') trapezium = ((a + b) / 2 * c).__format__('.3f') area = (b ** 2).__format__('.3f') rectangle = (a * b).__format__('.3f') print('TRIANGULO:', triangle + '\nCIRCULO:', circular + '\nTRAPEZIO:', trapezium + '\nQUADRADO:', area + '\nRETANGULO:', rectangle) if __name__ == '__main__': math()
if a>b: print ("a") elif 20>10: print ("b") elif 15>10: print ("c")
if a > b: print('a') elif 20 > 10: print('b') elif 15 > 10: print('c')
# # pystylus/ast/selectorlist.py # """ Defines the SelectorList node type in the pystylus AST """ class SelectorList: """ The selector list is a list of valid CSS selectors. This is found at the beginning of a Style Block """ def __init__(self, *selectors): self.selectors = selectors
""" Defines the SelectorList node type in the pystylus AST """ class Selectorlist: """ The selector list is a list of valid CSS selectors. This is found at the beginning of a Style Block """ def __init__(self, *selectors): self.selectors = selectors
#First test evolution function. Oddly, performs only a little worse than Runge-Kutta. def Euler_Step(x,xres,dydx,Y): return dydx(x,xres,Y)*xres,xres def Ystep_euler(g,mx,sigmav,xstep=1e-2,Deltax=1e-4): Yeqset = lambda x: Yeq(mx,mx/x,g,0,0) neqset = lambda x: neq(mx,mx/x,g,0,0) #Find a point shortly before freezeout xstart=brentq(DeltaCond,1,100,args=(mx,Deltax,g,sigmav,Delta_Y_Condition,)) Y = Yeqset(xstart) xi=xstart xmax=xstart+20 dydx = lambda x, xstep, Y: -Yeqset(x+xstep)/x*neqset(x+xstep)*sigmav(x+xstep) /Hub(mx/(x+xstep))*((Y/Yeqset(x+xstep))**2-1) while True: if Y>2.5*Yeqset(xi) or xi>xmax: break deltay,xstep = Euler_Step(xi,xstep,dydx,Y) #print(xi,Y,Yeqset(xi),deltay) Y+=deltay xi+=xstep Yinf_val,Yinf_error = quad(Yevolution_integrand,xi,1000,epsabs=1e-300,epsrel=1e-4,limit=400,args=(mx,sigmav,)) if Yinf_val < 100*Yinf_error: print("Error in Ystep integration") print(Yinf_val,Yinf_error) print(xi,mx) Yinf = 1.0/(1.0/(2.5*Yeqset(xi))+Yinf_val) return Yinf,xi+xstep def Ysearch_euler(g,alpha_D,mv,mx,tol=1e-3,xstep=1e-2,Deltax=1e-4): kappa = math.sqrt(relic_density_sigma/sigmav(mx/20.0,alpha_D,1.0,mv,mx)/conversion) #print(kappa) while True: sig = lambda x: sigmav(mx/x,alpha_D,kappa,mv,mx) Y,xf = Ystep_euler(g,mx,sig,xstep,Deltax) Omega = Omega_from_Y(Y,mx) if abs(OmegaCDM-Omega)<tol: break #print(kappa,Omega) kappa = math.sqrt(kappa**2*Omega/OmegaCDM) return kappa,Omega,xf,Y
def euler__step(x, xres, dydx, Y): return (dydx(x, xres, Y) * xres, xres) def ystep_euler(g, mx, sigmav, xstep=0.01, Deltax=0.0001): yeqset = lambda x: yeq(mx, mx / x, g, 0, 0) neqset = lambda x: neq(mx, mx / x, g, 0, 0) xstart = brentq(DeltaCond, 1, 100, args=(mx, Deltax, g, sigmav, Delta_Y_Condition)) y = yeqset(xstart) xi = xstart xmax = xstart + 20 dydx = lambda x, xstep, Y: -yeqset(x + xstep) / x * neqset(x + xstep) * sigmav(x + xstep) / hub(mx / (x + xstep)) * ((Y / yeqset(x + xstep)) ** 2 - 1) while True: if Y > 2.5 * yeqset(xi) or xi > xmax: break (deltay, xstep) = euler__step(xi, xstep, dydx, Y) y += deltay xi += xstep (yinf_val, yinf_error) = quad(Yevolution_integrand, xi, 1000, epsabs=1e-300, epsrel=0.0001, limit=400, args=(mx, sigmav)) if Yinf_val < 100 * Yinf_error: print('Error in Ystep integration') print(Yinf_val, Yinf_error) print(xi, mx) yinf = 1.0 / (1.0 / (2.5 * yeqset(xi)) + Yinf_val) return (Yinf, xi + xstep) def ysearch_euler(g, alpha_D, mv, mx, tol=0.001, xstep=0.01, Deltax=0.0001): kappa = math.sqrt(relic_density_sigma / sigmav(mx / 20.0, alpha_D, 1.0, mv, mx) / conversion) while True: sig = lambda x: sigmav(mx / x, alpha_D, kappa, mv, mx) (y, xf) = ystep_euler(g, mx, sig, xstep, Deltax) omega = omega_from_y(Y, mx) if abs(OmegaCDM - Omega) < tol: break kappa = math.sqrt(kappa ** 2 * Omega / OmegaCDM) return (kappa, Omega, xf, Y)
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'netfields', } } INSTALLED_APPS = ( 'netfields', ) SECRET_KEY = "notimportant"
databases = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'netfields'}} installed_apps = ('netfields',) secret_key = 'notimportant'
centerX = 0 centerY = 0 angle = 0 fsize = 0 weight = 0 counter = 0 centerX= 500/2 centerY= 500/2 angle= 0 fsize= 150 weight = 1 class MyEllipse(): cX = centerX cY = centerY cA = angle eS = fsize Ew = weight def render(self, fsize): fill(200, fsize/20) x1 = centerX - cos(angle)*fsize/2 y1 = centerY + sin(angle)*fsize/2 stroke(250, 100) strokeWeight(weight) ellipse(x1, y1,fsize,fsize) ell = MyEllipse() def setup(): size(500,500) smooth() background(10) def draw(): global counter counter += 0.01 if counter > TWO_PI: sounter = 0 ell.render(sin(counter*4)*mouseX)
center_x = 0 center_y = 0 angle = 0 fsize = 0 weight = 0 counter = 0 center_x = 500 / 2 center_y = 500 / 2 angle = 0 fsize = 150 weight = 1 class Myellipse: c_x = centerX c_y = centerY c_a = angle e_s = fsize ew = weight def render(self, fsize): fill(200, fsize / 20) x1 = centerX - cos(angle) * fsize / 2 y1 = centerY + sin(angle) * fsize / 2 stroke(250, 100) stroke_weight(weight) ellipse(x1, y1, fsize, fsize) ell = my_ellipse() def setup(): size(500, 500) smooth() background(10) def draw(): global counter counter += 0.01 if counter > TWO_PI: sounter = 0 ell.render(sin(counter * 4) * mouseX)
# PyAlgoTrade # # Copyright 2011-2015 Gabriel Martin Becedillas Ruiz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """ .. moduleauthor:: Gabriel Martin Becedillas Ruiz <gabriel.becedillas@gmail.com> """ def compute_diff(values1, values2): assert(len(values1) == len(values2)) ret = [] for i in range(len(values1)): v1 = values1[i] v2 = values2[i] if v1 is not None and v2 is not None: diff = v1 - v2 else: diff = None ret.append(diff) return ret def _get_stripped(values1, values2, alignLeft): if len(values1) > len(values2): if alignLeft: values1 = values1[0:len(values2)] else: values1 = values1[len(values1)-len(values2):] elif len(values2) > len(values1): if alignLeft: values2 = values2[0:len(values1)] else: values2 = values2[len(values2)-len(values1):] return values1, values2 def _cross_impl(values1, values2, start, end, signCheck): # Get both set of values. values1, values2 = _get_stripped(values1[start:end], values2[start:end], start > 0) # Compute differences and check sign changes. ret = 0 diffs = compute_diff(values1, values2) diffs = [x for x in diffs if x != 0] prevDiff = None for diff in diffs: if prevDiff is not None and not signCheck(prevDiff) and signCheck(diff): ret += 1 prevDiff = diff return ret # Note: # Up to version 0.12 CrossAbove and CrossBelow were DataSeries. # In version 0.13 SequenceDataSeries was refactored to support specifying a limit to the amount # of values to hold. This was introduced mainly to reduce memory footprint. # This change had a huge impact on the way DataSeries filters were implemented since they were # mosly views and didn't hold any actual values. For example, a SMA(200) didn't hold any values at all # but rather calculate those on demand by requesting 200 values from the DataSeries being wrapped. # Now that the DataSeries being wrapped may not hold so many values, DataSeries filters were refactored # to an event based model and they will calculate and hold resulting values as new values get added to # the underlying DataSeries (the one being wrapped). # Since it was too complicated to make CrossAbove and CrossBelow filters work with this new model ( # mainly because the underlying DataSeries may not get new values added at the same time, or one after # another) I decided to turn those into functions, cross_above and cross_below. def cross_above(values1, values2, start=-2, end=None): """Checks for a cross above conditions over the specified period between two DataSeries objects. It returns the number of times values1 crossed above values2 during the given period. :param values1: The DataSeries that crosses. :type values1: :class:`pyalgotrade.dataseries.DataSeries`. :param values2: The DataSeries being crossed. :type values2: :class:`pyalgotrade.dataseries.DataSeries`. :param start: The start of the range. :type start: int. :param end: The end of the range. :type end: int. .. note:: The default start and end values check for cross above conditions over the last 2 values. """ return _cross_impl(values1, values2, start, end, lambda x: x > 0) def cross_below(values1, values2, start=-2, end=None): """Checks for a cross below conditions over the specified period between two DataSeries objects. It returns the number of times values1 crossed below values2 during the given period. :param values1: The DataSeries that crosses. :type values1: :class:`pyalgotrade.dataseries.DataSeries`. :param values2: The DataSeries being crossed. :type values2: :class:`pyalgotrade.dataseries.DataSeries`. :param start: The start of the range. :type start: int. :param end: The end of the range. :type end: int. .. note:: The default start and end values check for cross below conditions over the last 2 values. """ return _cross_impl(values1, values2, start, end, lambda x: x < 0)
""" .. moduleauthor:: Gabriel Martin Becedillas Ruiz <gabriel.becedillas@gmail.com> """ def compute_diff(values1, values2): assert len(values1) == len(values2) ret = [] for i in range(len(values1)): v1 = values1[i] v2 = values2[i] if v1 is not None and v2 is not None: diff = v1 - v2 else: diff = None ret.append(diff) return ret def _get_stripped(values1, values2, alignLeft): if len(values1) > len(values2): if alignLeft: values1 = values1[0:len(values2)] else: values1 = values1[len(values1) - len(values2):] elif len(values2) > len(values1): if alignLeft: values2 = values2[0:len(values1)] else: values2 = values2[len(values2) - len(values1):] return (values1, values2) def _cross_impl(values1, values2, start, end, signCheck): (values1, values2) = _get_stripped(values1[start:end], values2[start:end], start > 0) ret = 0 diffs = compute_diff(values1, values2) diffs = [x for x in diffs if x != 0] prev_diff = None for diff in diffs: if prevDiff is not None and (not sign_check(prevDiff)) and sign_check(diff): ret += 1 prev_diff = diff return ret def cross_above(values1, values2, start=-2, end=None): """Checks for a cross above conditions over the specified period between two DataSeries objects. It returns the number of times values1 crossed above values2 during the given period. :param values1: The DataSeries that crosses. :type values1: :class:`pyalgotrade.dataseries.DataSeries`. :param values2: The DataSeries being crossed. :type values2: :class:`pyalgotrade.dataseries.DataSeries`. :param start: The start of the range. :type start: int. :param end: The end of the range. :type end: int. .. note:: The default start and end values check for cross above conditions over the last 2 values. """ return _cross_impl(values1, values2, start, end, lambda x: x > 0) def cross_below(values1, values2, start=-2, end=None): """Checks for a cross below conditions over the specified period between two DataSeries objects. It returns the number of times values1 crossed below values2 during the given period. :param values1: The DataSeries that crosses. :type values1: :class:`pyalgotrade.dataseries.DataSeries`. :param values2: The DataSeries being crossed. :type values2: :class:`pyalgotrade.dataseries.DataSeries`. :param start: The start of the range. :type start: int. :param end: The end of the range. :type end: int. .. note:: The default start and end values check for cross below conditions over the last 2 values. """ return _cross_impl(values1, values2, start, end, lambda x: x < 0)