content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
""" You can use the reverse(N, A) procedure defined in today's easy problem [20120611A] to completely sort a list. For instance, if we wanted to sort the list [2,5,4,3,1], you could execute the following series of reversals: A = [2, 5, 4, 3, 1] reverse(2, A) (A = [5, 2, 4, 3, 1]) reverse(5, A) (A = [1, 3, 4, 2, 5]) reverse(3, A) (A = [4, 3, 1, 2, 5]) reverse(4, A) (A = [2, 1, 3, 4, 5]) reverse(2, A) (A = [1, 2, 3, 4, 5]) And the list becomes completely sorted, with five calls to reverse(). You may notice that in this example, the list is being built "from the back", i.e. first 5 is put in the correct place, then 4, then 3 and finally 2 and 1. Let s(N) be a random number generator defined as follows: s(0) = 123456789 s(N) = (22695477 * s(N-1) + 12345) mod 1073741824 Let A be the array of the first 10,000 values of this random number generator. The first three values of A are then 123456789, 752880530 and 826085747, and the last three values are 65237510, 921739127 and 926774748 Completely sort A using only the reverse(N, A) function. """ def s(n, sp): if n == 0: return 123456789 else: return (22695477 * sp + 12345) % 1073741824 def reverse(n, a): return a[:n][::-1] + a[n:] def basic_revsort(a): copy_a = a[:] sort_loc = len(a) count = 0 while copy_a: num = max(copy_a) copy_a.remove(num) i = a.index(num)+1 if i == sort_loc: pass elif i == 0: a = reverse(sort_loc, a) count += 1 else: a = reverse(i, a) a = reverse(sort_loc, a) count += 2 sort_loc -= 1 print(count) return a def main(): generate = 10000 result = -1 out = [] for i in range(generate): result = s(i, result) out.append(result) # out = [2, 5, 4, 3, 1] out = basic_revsort(out) print(sorted(out)) print(out) if __name__ == "__main__": main()
""" You can use the reverse(N, A) procedure defined in today's easy problem [20120611A] to completely sort a list. For instance, if we wanted to sort the list [2,5,4,3,1], you could execute the following series of reversals: A = [2, 5, 4, 3, 1] reverse(2, A) (A = [5, 2, 4, 3, 1]) reverse(5, A) (A = [1, 3, 4, 2, 5]) reverse(3, A) (A = [4, 3, 1, 2, 5]) reverse(4, A) (A = [2, 1, 3, 4, 5]) reverse(2, A) (A = [1, 2, 3, 4, 5]) And the list becomes completely sorted, with five calls to reverse(). You may notice that in this example, the list is being built "from the back", i.e. first 5 is put in the correct place, then 4, then 3 and finally 2 and 1. Let s(N) be a random number generator defined as follows: s(0) = 123456789 s(N) = (22695477 * s(N-1) + 12345) mod 1073741824 Let A be the array of the first 10,000 values of this random number generator. The first three values of A are then 123456789, 752880530 and 826085747, and the last three values are 65237510, 921739127 and 926774748 Completely sort A using only the reverse(N, A) function. """ def s(n, sp): if n == 0: return 123456789 else: return (22695477 * sp + 12345) % 1073741824 def reverse(n, a): return a[:n][::-1] + a[n:] def basic_revsort(a): copy_a = a[:] sort_loc = len(a) count = 0 while copy_a: num = max(copy_a) copy_a.remove(num) i = a.index(num) + 1 if i == sort_loc: pass elif i == 0: a = reverse(sort_loc, a) count += 1 else: a = reverse(i, a) a = reverse(sort_loc, a) count += 2 sort_loc -= 1 print(count) return a def main(): generate = 10000 result = -1 out = [] for i in range(generate): result = s(i, result) out.append(result) out = basic_revsort(out) print(sorted(out)) print(out) if __name__ == '__main__': main()
while True: D,N = input().split() if D == N == '0': break N = N.replace(D,'') print(0) if N == '' else print(int(N))
while True: (d, n) = input().split() if D == N == '0': break n = N.replace(D, '') print(0) if N == '' else print(int(N))
def factorial(n): if n == 0: # base case return 1 else: # divide and conquer return n * factorial(n - 1) # call the same function passing in an argument that leads down to the base case for n in range(0, 12): print(factorial(n))
def factorial(n): if n == 0: return 1 else: return n * factorial(n - 1) for n in range(0, 12): print(factorial(n))
#!/usr/bin/python # -*- coding: utf-8 -*- class Event(): pass class MarketEvent(Event): def __init__(self, product, sym, last_bar): self.type = 'MARKET' self.product = product self.sym = sym self.last_bar = last_bar # dict class RefreshEvent(Event): def __init__(self): self.type = 'REFRESHED' class SignalEvent(Event): """ ['strategy_id','datetime','signal_type','sym',' price', 'quantity', 'strength'] """ def __init__(self, strategy_id, datetime, signal_type, sym, price, quantity, strength, product): self.type = 'SIGNAL' self.strategy_id = strategy_id self.datetime = datetime self.signal_type = signal_type self.sym = sym self.price = price self.quantity = quantity self.strength = strength self.product = product @classmethod def create_signal_by_dic(cls): pass def print_signal(self): print( "Order: s_id=%s, datetime=%s, signal_type=%s, sym=%s, price=%s, quantity=%s, strength=%s, product=%s" % (self.strategy_id, self.datetime, self.signal_type, self.sym, self.price, self.quantity, self.strength, self.product) ) class MonitorEvent(Event): def __init__(self, header_msg): self.type = 'MONITOR' self.signal_name_list = [] self.msg_list = [header_msg] self.msg_for_send = '' self.sym = '' def add_monitor_msg(self, time, signal_name, sym, chi_name, price, chgp): self.sym = sym add_msg = '{} {}% {} {}'.format(time, chgp, price, signal_name) self.msg_list.append(add_msg) self.signal_name_list.append(signal_name) self.msg_for_send = '\n'.join(self.msg_list) def print_monitor_msg(self): for m in self.msg_list: print(m) class OrderEvent(Event): def __init__(self, direction, sym, price, quantity, order_type, product): # ['B/S', 'sym', 'price', 'quantity', 'order_type'] self.type = 'ORDER' self.direction = direction self.sym = sym self.price = price self.quantity = quantity self.order_type = order_type self.product = product def print_order(self): print( "Order: direction=%s, sym=%s, price=%s, quantity=%s, order_type=%s, product=%s" % (self.direction, self.sym, self.price, self.quantity, self.order_type, self.product) ) @classmethod def dump(cls): return cls('B', 'HSIN9', 28000, 1, 'MKT', 'futures') class FillEvent(Event): def __init__(self, timeindex, direction, sym, fill_quantity, fill_price, fill_cost, commission, product, pnl=0): # print("Init Fill event class") self.type = 'FILL' self.timeindex = timeindex self.direction = direction self.sym = sym self.fill_quantity = fill_quantity self.fill_price = fill_price self.fill_cost = fill_cost self.commission = commission self.product = product self.pnl = pnl def print_fill(self): print( "Order: Time=%s, direction=%s, sym=%s, fill_quantity=%s, fill_price=%s, fill_cost=%s, commission=%s, product=%s, pnl=%s" % (self.timeindex, self.direction, self.sym, self.fill_quantity, self.fill_price, self.fill_cost, self.commission, self.product, self.pnl) )
class Event: pass class Marketevent(Event): def __init__(self, product, sym, last_bar): self.type = 'MARKET' self.product = product self.sym = sym self.last_bar = last_bar class Refreshevent(Event): def __init__(self): self.type = 'REFRESHED' class Signalevent(Event): """ ['strategy_id','datetime','signal_type','sym',' price', 'quantity', 'strength'] """ def __init__(self, strategy_id, datetime, signal_type, sym, price, quantity, strength, product): self.type = 'SIGNAL' self.strategy_id = strategy_id self.datetime = datetime self.signal_type = signal_type self.sym = sym self.price = price self.quantity = quantity self.strength = strength self.product = product @classmethod def create_signal_by_dic(cls): pass def print_signal(self): print('Order: s_id=%s, datetime=%s, signal_type=%s, sym=%s, price=%s, quantity=%s, strength=%s, product=%s' % (self.strategy_id, self.datetime, self.signal_type, self.sym, self.price, self.quantity, self.strength, self.product)) class Monitorevent(Event): def __init__(self, header_msg): self.type = 'MONITOR' self.signal_name_list = [] self.msg_list = [header_msg] self.msg_for_send = '' self.sym = '' def add_monitor_msg(self, time, signal_name, sym, chi_name, price, chgp): self.sym = sym add_msg = '{} {}% {} {}'.format(time, chgp, price, signal_name) self.msg_list.append(add_msg) self.signal_name_list.append(signal_name) self.msg_for_send = '\n'.join(self.msg_list) def print_monitor_msg(self): for m in self.msg_list: print(m) class Orderevent(Event): def __init__(self, direction, sym, price, quantity, order_type, product): self.type = 'ORDER' self.direction = direction self.sym = sym self.price = price self.quantity = quantity self.order_type = order_type self.product = product def print_order(self): print('Order: direction=%s, sym=%s, price=%s, quantity=%s, order_type=%s, product=%s' % (self.direction, self.sym, self.price, self.quantity, self.order_type, self.product)) @classmethod def dump(cls): return cls('B', 'HSIN9', 28000, 1, 'MKT', 'futures') class Fillevent(Event): def __init__(self, timeindex, direction, sym, fill_quantity, fill_price, fill_cost, commission, product, pnl=0): self.type = 'FILL' self.timeindex = timeindex self.direction = direction self.sym = sym self.fill_quantity = fill_quantity self.fill_price = fill_price self.fill_cost = fill_cost self.commission = commission self.product = product self.pnl = pnl def print_fill(self): print('Order: Time=%s, direction=%s, sym=%s, fill_quantity=%s, fill_price=%s, fill_cost=%s, commission=%s, product=%s, pnl=%s' % (self.timeindex, self.direction, self.sym, self.fill_quantity, self.fill_price, self.fill_cost, self.commission, self.product, self.pnl))
HELM_BUILD_FILE = """ package(default_visibility = ["//visibility:public"]) exports_files( ["helm"] ) """ def _helm3_repository_impl(repository_ctx): os_arch = repository_ctx.attr.os_arch os_name = repository_ctx.os.name.lower() if os_name.startswith("mac os"): os_arch = "darwin-amd64" else: os_arch = "linux-amd64" url = "https://get.helm.sh/helm-v{version}-{os_arch}.tar.gz".format( os_arch = os_arch, version = repository_ctx.attr.version, ) repository_ctx.download_and_extract( url = url, sha256 = repository_ctx.attr.sha256, stripPrefix = os_arch ) repository_ctx.file("BUILD.bazel", HELM_BUILD_FILE) helm3_repository = repository_rule( _helm3_repository_impl, attrs = { "version": attr.string( default = "3.2.3", doc = "The helm3 version to use", ), "sha256": attr.string( doc = "The sha256 value for the binary", ), "os_arch": attr.string( doc = "The os arch value. If empty, autodetect it", ), }, )
helm_build_file = '\npackage(default_visibility = ["//visibility:public"])\nexports_files( ["helm"] )\n' def _helm3_repository_impl(repository_ctx): os_arch = repository_ctx.attr.os_arch os_name = repository_ctx.os.name.lower() if os_name.startswith('mac os'): os_arch = 'darwin-amd64' else: os_arch = 'linux-amd64' url = 'https://get.helm.sh/helm-v{version}-{os_arch}.tar.gz'.format(os_arch=os_arch, version=repository_ctx.attr.version) repository_ctx.download_and_extract(url=url, sha256=repository_ctx.attr.sha256, stripPrefix=os_arch) repository_ctx.file('BUILD.bazel', HELM_BUILD_FILE) helm3_repository = repository_rule(_helm3_repository_impl, attrs={'version': attr.string(default='3.2.3', doc='The helm3 version to use'), 'sha256': attr.string(doc='The sha256 value for the binary'), 'os_arch': attr.string(doc='The os arch value. If empty, autodetect it')})
class RevStr(str): def __iter__(self): return ItRevStr(self) class ItRevStr: def __init__(self, chaine_a_parcourir): self.chaine_a_parcourir=chaine_a_parcourir self.position=len(self.chaine_a_parcourir) def __next__(self): if self.position==0: raise StopIteration self.position-=1 return self.chaine_a_parcourir[self.position]
class Revstr(str): def __iter__(self): return it_rev_str(self) class Itrevstr: def __init__(self, chaine_a_parcourir): self.chaine_a_parcourir = chaine_a_parcourir self.position = len(self.chaine_a_parcourir) def __next__(self): if self.position == 0: raise StopIteration self.position -= 1 return self.chaine_a_parcourir[self.position]
img_properties = 'width="14" height="12" alt=""' valid_letters = 'YNLUKGFPBDTCIHS8EM' emoticons = { "(:-)" : "emoticon-smile.gif", "(;-)" : "emoticon-wink.gif", "(:-()" : "emoticon-sad.gif", "(:-|)" : "emoticon-ambivalent.gif", "(:-D)" : "emoticon-laugh.gif", "(:-O)" : "emoticon-surprised.gif", "(:-P)" : "emoticon-tongue-in-cheek.gif", "(:-S)" : "emoticon-unsure.gif", "(*)" : "emoticon-star.gif", "(@)" : "emoticon-cat.gif", "/I\\" : "icon-info.gif", "/W\\" : "icon-warning.gif", "/S\\" : "icon-error.gif" } def emoticon_image(txt): if emoticons.has_key(txt): return emoticons[txt] txt = txt[1:-1] if valid_letters.find(txt) >= 0: return "emoticon-%s.gif" % txt return None
img_properties = 'width="14" height="12" alt=""' valid_letters = 'YNLUKGFPBDTCIHS8EM' emoticons = {'(:-)': 'emoticon-smile.gif', '(;-)': 'emoticon-wink.gif', '(:-()': 'emoticon-sad.gif', '(:-|)': 'emoticon-ambivalent.gif', '(:-D)': 'emoticon-laugh.gif', '(:-O)': 'emoticon-surprised.gif', '(:-P)': 'emoticon-tongue-in-cheek.gif', '(:-S)': 'emoticon-unsure.gif', '(*)': 'emoticon-star.gif', '(@)': 'emoticon-cat.gif', '/I\\': 'icon-info.gif', '/W\\': 'icon-warning.gif', '/S\\': 'icon-error.gif'} def emoticon_image(txt): if emoticons.has_key(txt): return emoticons[txt] txt = txt[1:-1] if valid_letters.find(txt) >= 0: return 'emoticon-%s.gif' % txt return None
gamestr = "Icewind Dale EE 2.6.5.0 + BetterHOF + CDTWEAKS" headers = ["Area", "NPC", "XP", "Gold Carried", "Pickpocket Skill", "Item Price (base)", "Item Type", "Item"] areas = [ "animtest (Spawned)", "ar1001 - Easthaven (prologue) - Temple of Tempus", "ar1008 - Easthaven (prologue) - Snowdrift Inn", "ar1100 - Easthaven (finale)", "ar1101 - Easthaven (finale) - Temple of Tempus/ice tower first floor", "ar2003 - Kuldahar Pass - Gherg's tower", "ar2004 - Kuldahar Pass - Mill - entrance", "ar2100 (Spawned) - Kuldahar", "ar2102 - Kuldahar - Orrick the Grey's tower - study", "ar2108 - Kuldahar - Airship of Oswald Fiddlebender", "ar2112 - Kuldahar - Home of Arundel - first floor", "ar3301 - Vale of Shadows - Temple of Myrkul", "ar3501 - Vale of Shadows - Tomb of Kresselack - first level", "ar4003 - Dragon's Eye - third dungeon level (Presio)", "ar4004 - Dragon's Eye - fourth dungeon level (Eldathyn)", "ar4005 - Dragon's Eye - fifth dungeon level (Yxunomei)", "ar5401 - Severed Hand - Tower of Sheverash - first floor, Kaylessa", "ar5404 - Severed Hand - Tower of Sheverash - fourth floor", "ar6003 - Dorn's Deep - orog cave, Saablic, Krilag", "ar6014 - Dorn's Deep - Bandoth's cave", "ar7001 - Wyrm's Tooth Glacier - aquarium interior, ice salamander lair", "ar7004 - Wyrm's Tooth Glacier - frost giant cave", "ar8005 - Lower Dorn's Deep - Order of the Kraken garde", "ar8007 (Spawned) - Lower Dorn's Deep - Order of the Kraken manor - second floor, Mekrath", "ar8010 (Spawned) - Lower Dorn's Deep - Malavon's lair", "ar8010 - Lower Dorn's Deep - Malavon's lair", "ar8011 - Lower Dorn's Deep - forge, Ilmadia", "ar9100 (Spawned) - Lonelywood", "ar9101 - Lonelywood - Whistling Gallows - first floor", "ar9106 (Spawned) - Lonelywood - Thurlow home - first floor", "ar9107 (Spawned) - Lonelywood - Thurlow home - second floor", "ar9110 - Lonelywood - Home of Purvis", "ar9501 - Gloomfrost interior - first level, Tiernon", "ar9700 - Anauroch Castle - outer courtyard (TotL start area)", "ar9704 - Anauroch Castle - west Tower upstairs - Harald", "ar9706 - Anauroch Castle - north Tower upstairs - harpy queen", "ar9708 - Anauroch Castle - east Tower upstairs - Banites", "ar9715 - Anauroch Castle - hideout of Hobart", "unknown", ] types = { "Amulet": [ "Amulet of Metaspell Influence", "Amulet of Protection", "Great Black Wolf Talisman", "Kossuth's Blood", "Necklace of Missiles", "Symbol of Corellon Larethian", "Symbol of Solonor Thelandira", "Tiernon's Hearthstone", ], "Armor": [ "Chain Mail", ], "Arrows": [ "Arrow of Fire +1", "Arrow of the Hand +8", ], "Books & misc": [ "Maiden Ilmadia's Badge", "Manual of Gainful Exercise", "Tome of Clear Thought", "Tome of Leadership and Influence", "Tome of Understanding", "Umber Hulk Hide", "mernbook.itm (TLK missing name)", "mernmanu.itm (TLK missing name)", "merntome.itm (TLK missing name)", "rndtre50.itm", ], "Darts": [ "Asp's Nest +1", ], "Gem": [ "Emerald", "Moonbar Gem", "Moonstone Gem", "Rogue Stone", ], "Gold pieces": [ "Gold Piece", ], "Large sword": [ "Bastard Sword ", ], "Potion": [ "Haste Potion", "Oil of Fiery Burning", "Oil of Speed", "Potion of Extra Healing", "Potion of Fast Casting", "Potion of Firebreath", "Potion of Healing", "Potion of Holy Transference", "Potion of Life Transference", "Potion of Vitality", ], "Quarterstaff": [ "The Summoner's Staff +3", ], "Ring": [ "Greater Ring of the Warrior", "Kontik's Ring of Wizardry", "Onyx Ring", "Ring of Aura Transfusion", "Ring of Fire Resistance", "Ring of Free Action", "Ring of Pain Amplification", "Ring of Protection +2", "Ring of Protection +3", "Ring of Protection +4", "Ring of Reckless Action", "Ring of Shadows", "Ring of the Warrior", ], "Scroll": [ "Blur", "Comet", "Dragon's Breath", "Emotion, Hope", "Portrait of Marketh", "Wail of the Banshee", ], }
gamestr = 'Icewind Dale EE 2.6.5.0 + BetterHOF + CDTWEAKS' headers = ['Area', 'NPC', 'XP', 'Gold Carried', 'Pickpocket Skill', 'Item Price (base)', 'Item Type', 'Item'] areas = ['animtest (Spawned)', 'ar1001 - Easthaven (prologue) - Temple of Tempus', 'ar1008 - Easthaven (prologue) - Snowdrift Inn', 'ar1100 - Easthaven (finale)', 'ar1101 - Easthaven (finale) - Temple of Tempus/ice tower first floor', "ar2003 - Kuldahar Pass - Gherg's tower", 'ar2004 - Kuldahar Pass - Mill - entrance', 'ar2100 (Spawned) - Kuldahar', "ar2102 - Kuldahar - Orrick the Grey's tower - study", 'ar2108 - Kuldahar - Airship of Oswald Fiddlebender', 'ar2112 - Kuldahar - Home of Arundel - first floor', 'ar3301 - Vale of Shadows - Temple of Myrkul', 'ar3501 - Vale of Shadows - Tomb of Kresselack - first level', "ar4003 - Dragon's Eye - third dungeon level (Presio)", "ar4004 - Dragon's Eye - fourth dungeon level (Eldathyn)", "ar4005 - Dragon's Eye - fifth dungeon level (Yxunomei)", 'ar5401 - Severed Hand - Tower of Sheverash - first floor, Kaylessa', 'ar5404 - Severed Hand - Tower of Sheverash - fourth floor', "ar6003 - Dorn's Deep - orog cave, Saablic, Krilag", "ar6014 - Dorn's Deep - Bandoth's cave", "ar7001 - Wyrm's Tooth Glacier - aquarium interior, ice salamander lair", "ar7004 - Wyrm's Tooth Glacier - frost giant cave", "ar8005 - Lower Dorn's Deep - Order of the Kraken garde", "ar8007 (Spawned) - Lower Dorn's Deep - Order of the Kraken manor - second floor, Mekrath", "ar8010 (Spawned) - Lower Dorn's Deep - Malavon's lair", "ar8010 - Lower Dorn's Deep - Malavon's lair", "ar8011 - Lower Dorn's Deep - forge, Ilmadia", 'ar9100 (Spawned) - Lonelywood', 'ar9101 - Lonelywood - Whistling Gallows - first floor', 'ar9106 (Spawned) - Lonelywood - Thurlow home - first floor', 'ar9107 (Spawned) - Lonelywood - Thurlow home - second floor', 'ar9110 - Lonelywood - Home of Purvis', 'ar9501 - Gloomfrost interior - first level, Tiernon', 'ar9700 - Anauroch Castle - outer courtyard (TotL start area)', 'ar9704 - Anauroch Castle - west Tower upstairs - Harald', 'ar9706 - Anauroch Castle - north Tower upstairs - harpy queen', 'ar9708 - Anauroch Castle - east Tower upstairs - Banites', 'ar9715 - Anauroch Castle - hideout of Hobart', 'unknown'] types = {'Amulet': ['Amulet of Metaspell Influence', 'Amulet of Protection', 'Great Black Wolf Talisman', "Kossuth's Blood", 'Necklace of Missiles', 'Symbol of Corellon Larethian', 'Symbol of Solonor Thelandira', "Tiernon's Hearthstone"], 'Armor': ['Chain Mail'], 'Arrows': ['Arrow of Fire +1', 'Arrow of the Hand +8'], 'Books & misc': ["Maiden Ilmadia's Badge", 'Manual of Gainful Exercise', 'Tome of Clear Thought', 'Tome of Leadership and Influence', 'Tome of Understanding', 'Umber Hulk Hide', 'mernbook.itm (TLK missing name)', 'mernmanu.itm (TLK missing name)', 'merntome.itm (TLK missing name)', 'rndtre50.itm'], 'Darts': ["Asp's Nest +1"], 'Gem': ['Emerald', 'Moonbar Gem', 'Moonstone Gem', 'Rogue Stone'], 'Gold pieces': ['Gold Piece'], 'Large sword': ['Bastard Sword '], 'Potion': ['Haste Potion', 'Oil of Fiery Burning', 'Oil of Speed', 'Potion of Extra Healing', 'Potion of Fast Casting', 'Potion of Firebreath', 'Potion of Healing', 'Potion of Holy Transference', 'Potion of Life Transference', 'Potion of Vitality'], 'Quarterstaff': ["The Summoner's Staff +3"], 'Ring': ['Greater Ring of the Warrior', "Kontik's Ring of Wizardry", 'Onyx Ring', 'Ring of Aura Transfusion', 'Ring of Fire Resistance', 'Ring of Free Action', 'Ring of Pain Amplification', 'Ring of Protection +2', 'Ring of Protection +3', 'Ring of Protection +4', 'Ring of Reckless Action', 'Ring of Shadows', 'Ring of the Warrior'], 'Scroll': ['Blur', 'Comet', "Dragon's Breath", 'Emotion, Hope', 'Portrait of Marketh', 'Wail of the Banshee']}
''' a = 'iasdsdasda' b= 0 c = len(a) while b<c: print(a[b]) b+=1 import random a = random.randrange(1,3) s = eval(raw_input(">>")) while a-s!=0: if a>s: print("you are low") elif a<s: print("you are high") s = eval(raw_input(">>")) while a-s==0: print("you are right") break ''' #Ep2 ''' sum1 = 0 i = 0 while i < 1001: sum1 = i+sum1 i+=1 print(sum1) ''' #Ep3 '''i = 1 sum1 = 0 for sum1 in range(0,10000,sum1): sum1=sum1+i i=i+1 print(sum1) ''' #Eq4 ''' from __future__ import print_function for i in range(1,10): for j in range(1,i+1): print('{}*{}={}'.format(i,j,i*j),end='') print() ''' #Eq5 def first(num1,num2,num3): print(num1,num2,num3) return num1,num2,num3 def dier(num1,num2,num3): num4=num1*num1 num5=num2*num2 num6=num3*num3 return num4,num5,num6 def san(num1,num2,num3,num4,num5,num6): n1=num4-num1 n2=num5-num2 n3=num6-num3 print(n1,n2,n3) a,b,c = first(1,2,3) d,e,f = dier(a,b,c) san(a,b,c,d,e,f)
""" a = 'iasdsdasda' b= 0 c = len(a) while b<c: print(a[b]) b+=1 import random a = random.randrange(1,3) s = eval(raw_input(">>")) while a-s!=0: if a>s: print("you are low") elif a<s: print("you are high") s = eval(raw_input(">>")) while a-s==0: print("you are right") break """ '\nsum1 = 0\ni = 0\nwhile i < 1001:\n sum1 = i+sum1\n i+=1\nprint(sum1)\n' 'i = 1\nsum1 = 0\nfor sum1 in range(0,10000,sum1):\n sum1=sum1+i\n i=i+1\nprint(sum1)\n' "\nfrom __future__ import print_function\nfor i in range(1,10):\n for j in range(1,i+1):\n print('{}*{}={}'.format(i,j,i*j),end='')\n print()\n" def first(num1, num2, num3): print(num1, num2, num3) return (num1, num2, num3) def dier(num1, num2, num3): num4 = num1 * num1 num5 = num2 * num2 num6 = num3 * num3 return (num4, num5, num6) def san(num1, num2, num3, num4, num5, num6): n1 = num4 - num1 n2 = num5 - num2 n3 = num6 - num3 print(n1, n2, n3) (a, b, c) = first(1, 2, 3) (d, e, f) = dier(a, b, c) san(a, b, c, d, e, f)
# I got to use a map dictionary (identical values) in one place as it is # but in another I should convert keys as values and values as keys! # Note ''' + This is only for dictionary which has identical values and when considered as hashmap. - If dictionary which has duplicate values may not work well. - If dictionary which has collection as values may also not work. ''' # Identical values Hashmap = { 'BlankValidationError': 'BVE01', 'InvalidFormatError': 'IFE01', 'InvalidTypeError': 'ITE01', 'InvalidLengthError': 'IVL01', } # Logic to conver the keys as values and values as keys. ReverseHashmap = {Hashmap[_]: _ for _ in Hashmap} # Usage print('Original Hashmap:') print(Hashmap) print() print('Reversed Hashmap:') print(ReverseHashmap) # Output ''' Original Hashmap: {'BlankValidationError': 'BVE01', 'InvalidFormatError': 'IFE01', 'InvalidTypeError': 'ITE01', 'InvalidLengthError': 'IVL01'} Reversed Hashmap: {'BVE01': 'BlankValidationError', 'IFE01': 'InvalidFormatError', 'ITE01': 'InvalidTypeError', 'IVL01': 'InvalidLengthError'} '''
""" + This is only for dictionary which has identical values and when considered as hashmap. - If dictionary which has duplicate values may not work well. - If dictionary which has collection as values may also not work. """ hashmap = {'BlankValidationError': 'BVE01', 'InvalidFormatError': 'IFE01', 'InvalidTypeError': 'ITE01', 'InvalidLengthError': 'IVL01'} reverse_hashmap = {Hashmap[_]: _ for _ in Hashmap} print('Original Hashmap:') print(Hashmap) print() print('Reversed Hashmap:') print(ReverseHashmap) "\nOriginal Hashmap:\n{'BlankValidationError': 'BVE01', 'InvalidFormatError': 'IFE01', 'InvalidTypeError': 'ITE01', 'InvalidLengthError': 'IVL01'}\n\nReversed Hashmap:\n{'BVE01': 'BlankValidationError', 'IFE01': 'InvalidFormatError', 'ITE01': 'InvalidTypeError', 'IVL01': 'InvalidLengthError'}\n"
#Internal framework imports #Typing imports class ResizeMethod: NONE = 1 CROP = 2 STRETCH = 3 LETTERBOX = 4 @classmethod def str2enum(cls, resize_method_string, error_if_none = False): resize_method_string = resize_method_string.lower() if resize_method_string == "crop": return cls.CROP elif resize_method_string == "stretch": return cls.STRETCH elif resize_method_string == "letterbox": return cls.LETTERBOX elif error_if_none: raise Exception("Error: No resize method!") return cls.NONE
class Resizemethod: none = 1 crop = 2 stretch = 3 letterbox = 4 @classmethod def str2enum(cls, resize_method_string, error_if_none=False): resize_method_string = resize_method_string.lower() if resize_method_string == 'crop': return cls.CROP elif resize_method_string == 'stretch': return cls.STRETCH elif resize_method_string == 'letterbox': return cls.LETTERBOX elif error_if_none: raise exception('Error: No resize method!') return cls.NONE
def add(*args): return list(list(sum(j) for j in zip(*rows)) for rows in zip(*args)) matrix1 = [[1, -2], [-3, 4]] matrix2 = [[2, -1], [0, -1]] result = add(matrix1, matrix2) print(result)
def add(*args): return list((list((sum(j) for j in zip(*rows))) for rows in zip(*args))) matrix1 = [[1, -2], [-3, 4]] matrix2 = [[2, -1], [0, -1]] result = add(matrix1, matrix2) print(result)
class ConfigNotFoundException(Exception): def __init__(self, message): super().__init__(message) class WorkingDirectoryDoesNotExistException(Exception): def __init__(self, message): super().__init__(message) class ImageUploaderException(Exception): def __init__(self, message): super().__init__(message) class OAuthException(Exception): def __init__(self, message): super().__init__(message)
class Confignotfoundexception(Exception): def __init__(self, message): super().__init__(message) class Workingdirectorydoesnotexistexception(Exception): def __init__(self, message): super().__init__(message) class Imageuploaderexception(Exception): def __init__(self, message): super().__init__(message) class Oauthexception(Exception): def __init__(self, message): super().__init__(message)
text = '''<?xml version="1.0" encoding="utf-8" ?> <body copyright="All data copyright San Francisco Muni 2015."> <predictions agencyTitle="San Francisco Muni" routeTitle="38-Geary" routeTag="38" stopTitle="43rd Ave &amp; Point Lobos Ave" stopTag="13568"> <direction title="Inbound to Downtown"> <prediction epochTime="1434139707528" seconds="1625" minutes="27" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6241" block="3806" tripTag="6629317" /> <prediction epochTime="1434140667528" seconds="2585" minutes="43" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6406" block="3808" tripTag="6629319" /> <prediction epochTime="1434141627528" seconds="3545" minutes="59" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6420" block="3811" tripTag="6629321" /> <prediction epochTime="1434142587528" seconds="4505" minutes="75" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6292" block="3843" tripTag="6629323" /> <prediction epochTime="1434143487528" seconds="5405" minutes="90" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6283" block="3813" tripTag="6629325" /> </direction> <message text="Go to sfmta.com 4 Email/Text Alerts." priority="Low"/> <message text="Discount cash fare increase 7/1. Info at sfmta.com or 3-1-1." priority="Low"/> <message text="We&apos;re on Twitter: @sfmta_muni" priority="Low"/> </predictions> <predictions agencyTitle="San Francisco Muni" routeTitle="38-Geary" routeTag="38" stopTitle="43rd Ave &amp; Clement St" stopTag="13567"> <direction title="Inbound to Downtown"> <prediction epochTime="1434139691349" seconds="1608" minutes="26" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6241" block="3806" tripTag="6629317" /> <prediction epochTime="1434140651349" seconds="2568" minutes="42" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6406" block="3808" tripTag="6629319" /> <prediction epochTime="1434141611349" seconds="3528" minutes="58" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6420" block="3811" tripTag="6629321" /> <prediction epochTime="1434142571349" seconds="4488" minutes="74" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6292" block="3843" tripTag="6629323" /> <prediction epochTime="1434143471349" seconds="5388" minutes="89" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6283" block="3813" tripTag="6629325" /> </direction> <message text="Go to sfmta.com 4 Email/Text Alerts." priority="Low"/> <message text="Discount cash fare increase 7/1. Info at sfmta.com or 3-1-1." priority="Low"/> <message text="We&apos;re on Twitter: @sfmta_muni" priority="Low"/> </predictions> </body> '''
text = '<?xml version="1.0" encoding="utf-8" ?> \n<body copyright="All data copyright San Francisco Muni 2015.">\n<predictions agencyTitle="San Francisco Muni" routeTitle="38-Geary" routeTag="38" stopTitle="43rd Ave &amp; Point Lobos Ave" stopTag="13568">\n <direction title="Inbound to Downtown">\n <prediction epochTime="1434139707528" seconds="1625" minutes="27" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6241" block="3806" tripTag="6629317" />\n <prediction epochTime="1434140667528" seconds="2585" minutes="43" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6406" block="3808" tripTag="6629319" />\n <prediction epochTime="1434141627528" seconds="3545" minutes="59" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6420" block="3811" tripTag="6629321" />\n <prediction epochTime="1434142587528" seconds="4505" minutes="75" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6292" block="3843" tripTag="6629323" />\n <prediction epochTime="1434143487528" seconds="5405" minutes="90" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6283" block="3813" tripTag="6629325" />\n </direction>\n<message text="Go to sfmta.com 4 Email/Text Alerts." priority="Low"/>\n<message text="Discount cash fare increase 7/1. Info at sfmta.com or 3-1-1." priority="Low"/>\n<message text="We&apos;re on Twitter: @sfmta_muni" priority="Low"/>\n</predictions>\n<predictions agencyTitle="San Francisco Muni" routeTitle="38-Geary" routeTag="38" stopTitle="43rd Ave &amp; Clement St" stopTag="13567">\n <direction title="Inbound to Downtown">\n <prediction epochTime="1434139691349" seconds="1608" minutes="26" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6241" block="3806" tripTag="6629317" />\n <prediction epochTime="1434140651349" seconds="2568" minutes="42" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6406" block="3808" tripTag="6629319" />\n <prediction epochTime="1434141611349" seconds="3528" minutes="58" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6420" block="3811" tripTag="6629321" />\n <prediction epochTime="1434142571349" seconds="4488" minutes="74" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6292" block="3843" tripTag="6629323" />\n <prediction epochTime="1434143471349" seconds="5388" minutes="89" isDeparture="false" affectedByLayover="true" dirTag="38___I_F10" vehicle="6283" block="3813" tripTag="6629325" />\n </direction>\n<message text="Go to sfmta.com 4 Email/Text Alerts." priority="Low"/>\n<message text="Discount cash fare increase 7/1. Info at sfmta.com or 3-1-1." priority="Low"/>\n<message text="We&apos;re on Twitter: @sfmta_muni" priority="Low"/>\n</predictions>\n</body>\n'
colour = {'r': '\033[31m', 'g': '\033[32m', 'w': '\033[33m', 'b': '\033[34m', 'p': '\033[35m', 'c': '\033[36m', 'limit': '\033[m'} def line(n=37): print('-' * n) def title(txt, x=37): print('-' * x) print(f'{colour["c"]}{txt.center(x)}{colour["limit"]}') print('-' * x)
colour = {'r': '\x1b[31m', 'g': '\x1b[32m', 'w': '\x1b[33m', 'b': '\x1b[34m', 'p': '\x1b[35m', 'c': '\x1b[36m', 'limit': '\x1b[m'} def line(n=37): print('-' * n) def title(txt, x=37): print('-' * x) print(f"{colour['c']}{txt.center(x)}{colour['limit']}") print('-' * x)
class widget_type(object): stage = 0 button = 1 toggle = 2 slider = 3 dropdown = 4 text = 5 input_field = 6 joystick = 7 class widget_date_type(object): bool = 0 int32 = 1 float = 2 string = 3 class widget_public_function(object): create = 0 destory = 1 active = 2 name = 3 position = 4 size = 5 rotation = 6 pivot = 7 order = 8 test = 127 class widget_priviate_function(object): class stage(object): add_widget = 128 remove_widget = 129 class button(object): set_text = 128 set_text_color = 129 set_text_align = 130 set_text_size = 131 set_background_color = 132 class slider(object): set_range = 128 set_background_color = 129 set_fill_color = 130 set_handle_color = 131 class toggle(object): set_text = 128 set_text_color = 129 set_text_align = 130 set_text_size = 131 set_background_color = 132 set_checkmark_color = 133 set_is_on = 134 class dropdown(object): set_options = 128 set_text_color = 129 set_background_color = 130 set_arrow_color = 131 set_item_text_color = 132 set_item_background_color = 133 set_item_checkmark_color = 134 class text(object): set_text = 128 set_text_color = 129 set_text_align = 130 set_text_size = 131 set_border_color = 132 set_background_color = 133 set_border_active = 134 set_background_active = 135 append_text = 136 class input_field(object): set_text = 128 set_text_color = 129 set_text_align = 130 set_text_size = 131 set_hint_text = 132 set_hint_text_color = 133 set_hint_text_align = 134 set_hint_text_size = 135 set_background_color = 136 class widget_action(object): class button(object): on_click = 0 on_press_down = 1 on_press_up = 2 class slider(object): on_value_change = 0 class toggle(object): on_value_change = 0 class dropdown(object): on_value_change = 0 class input_field(object): on_value_change = 0 class text_anchor(object): default = 4 upper_left = 0 upper_center = 1 upper_right = 2 middle_left = 3 middle_center = 4 meddle_right = 5 lower_left = 6 lower_center = 7 lower_right = 8
class Widget_Type(object): stage = 0 button = 1 toggle = 2 slider = 3 dropdown = 4 text = 5 input_field = 6 joystick = 7 class Widget_Date_Type(object): bool = 0 int32 = 1 float = 2 string = 3 class Widget_Public_Function(object): create = 0 destory = 1 active = 2 name = 3 position = 4 size = 5 rotation = 6 pivot = 7 order = 8 test = 127 class Widget_Priviate_Function(object): class Stage(object): add_widget = 128 remove_widget = 129 class Button(object): set_text = 128 set_text_color = 129 set_text_align = 130 set_text_size = 131 set_background_color = 132 class Slider(object): set_range = 128 set_background_color = 129 set_fill_color = 130 set_handle_color = 131 class Toggle(object): set_text = 128 set_text_color = 129 set_text_align = 130 set_text_size = 131 set_background_color = 132 set_checkmark_color = 133 set_is_on = 134 class Dropdown(object): set_options = 128 set_text_color = 129 set_background_color = 130 set_arrow_color = 131 set_item_text_color = 132 set_item_background_color = 133 set_item_checkmark_color = 134 class Text(object): set_text = 128 set_text_color = 129 set_text_align = 130 set_text_size = 131 set_border_color = 132 set_background_color = 133 set_border_active = 134 set_background_active = 135 append_text = 136 class Input_Field(object): set_text = 128 set_text_color = 129 set_text_align = 130 set_text_size = 131 set_hint_text = 132 set_hint_text_color = 133 set_hint_text_align = 134 set_hint_text_size = 135 set_background_color = 136 class Widget_Action(object): class Button(object): on_click = 0 on_press_down = 1 on_press_up = 2 class Slider(object): on_value_change = 0 class Toggle(object): on_value_change = 0 class Dropdown(object): on_value_change = 0 class Input_Field(object): on_value_change = 0 class Text_Anchor(object): default = 4 upper_left = 0 upper_center = 1 upper_right = 2 middle_left = 3 middle_center = 4 meddle_right = 5 lower_left = 6 lower_center = 7 lower_right = 8
f = open('task1-test-input.txt') o = open('o1.txt', 'w') t = int(f.readline().strip()) for i in xrange(1, t + 1): o.write("Case #{}:".format(i)) n = f.readline() n = int(f.readline().strip()) x = [int(j) for j in f.readline().strip().split()] mean = 0 for j in xrange(0, n): mean += x[j] mean /= float(n) v = 0 for j in xrange(0, n): v += ((x[j] - mean) ** 2) v /= float(n) if v == 0: for j in xrange(0, n): o.write(" 50.0000000000000000") else: v **= 0.5 for j in xrange(0, n): o.write(" {}".format(50 + 10 * (x[j] - mean) / v)) o.write("\n")
f = open('task1-test-input.txt') o = open('o1.txt', 'w') t = int(f.readline().strip()) for i in xrange(1, t + 1): o.write('Case #{}:'.format(i)) n = f.readline() n = int(f.readline().strip()) x = [int(j) for j in f.readline().strip().split()] mean = 0 for j in xrange(0, n): mean += x[j] mean /= float(n) v = 0 for j in xrange(0, n): v += (x[j] - mean) ** 2 v /= float(n) if v == 0: for j in xrange(0, n): o.write(' 50.0000000000000000') else: v **= 0.5 for j in xrange(0, n): o.write(' {}'.format(50 + 10 * (x[j] - mean) / v)) o.write('\n')
# Write a program that compares two lists and prints a message depending on if the inputs are identical or not. # Your program should be able to accept and compare two lists: list_one and list_two. If both lists are identical print "The lists are the same". If they are not identical print "The lists are not the same." Try the following test cases for lists one and two: def compare_lists(list_one, list_two): if list_one == list_two: print("The lists are the same") else: print("The lists are not the same") list_one = [1, 2, 5, 6, 2] list_two = [1, 2, 5, 6, 2] compare_lists(list_one, list_two) list_one = [1, 2, 5, 6, 5] list_two = [1, 2, 5, 6, 5, 3] compare_lists(list_one, list_two) list_one = [1, 2, 5, 6, 5, 16] list_two = [1, 2, 5, 6, 5] compare_lists(list_one, list_two) list_one = ['celery', 'carrots', 'bread', 'cream'] list_two = ['celery', 'carrots', 'bread', 'cream'] compare_lists(list_one, list_two)
def compare_lists(list_one, list_two): if list_one == list_two: print('The lists are the same') else: print('The lists are not the same') list_one = [1, 2, 5, 6, 2] list_two = [1, 2, 5, 6, 2] compare_lists(list_one, list_two) list_one = [1, 2, 5, 6, 5] list_two = [1, 2, 5, 6, 5, 3] compare_lists(list_one, list_two) list_one = [1, 2, 5, 6, 5, 16] list_two = [1, 2, 5, 6, 5] compare_lists(list_one, list_two) list_one = ['celery', 'carrots', 'bread', 'cream'] list_two = ['celery', 'carrots', 'bread', 'cream'] compare_lists(list_one, list_two)
# spec.py # Problem 1: Implement this function. def Newtons_method(f, x0, Df, iters=15, tol=.1e-5): ''' Use Newton's method to approximate a zero of a function. Inputs: f (function): A function handle. Should represent a function from R to R. x0 (float): Initial guess. Df (function): A function handle. Should represent the derivative of f. iters (int): Maximum number of iterations before the function returns. Defaults to 15. tol (float): The function returns when the difference between successive approximations is less than tol. Defaults to 10^-5. Returns: A tuple (x, converged, numiters) with x (float): the approximation for a zero of f converged (bool): a Boolean telling whether Newton's method converged numiters (int): the number of iterations the method computed ''' raise NotImplementedError("Problem 1 Incomplete") # Problem 2.1: Implement this function. def problemTwoOne(): ''' Return a tuple of the number of iterations to get five digits of accuracy for f = cos(x) with x_0 = 1 and x_0 = 2. ''' raise NotImplementedError("Problem 2.1 Incomplete") # Problem 2.2: Implement this function. def problemTwoTwo(): ''' Plot f(x) = sin(x)/x - x on [-4,4]. Return the zero of this function, as given by Newtons_method with tol = 10^-7. ''' raise NotImplementedError("Problem 2.2 Incomplete") # Problem 2.3: Implement this function. def problemTwoThree(): ''' Return a tuple of 1. The number of iterations to get five digits of accuracy for f(x) = x^9 with x_0 = 1. 2. A string with the reason to why you think the convergence is slow for this function. ''' raise NotImplementedError("Problem 2.3 Incomplete") # Problem 2.4: Implement this function. def problemTwoFour(): ''' Return a string as to what happens and why for the function f(x) = x^(1/3) where x_0 = .01. ''' raise NotImplementedError("Problem 2.4 Incomplete") # Problem 3 (Optional): def Newtons_method_II(f, x0, Df=None, iters=15, tol=.002): '''Modify the function Newtons_method() to calculate the numerical derivative of f using centered coefficients. ''' raise NotImplementedError("Problem 3 Incomplete") # Problem 4: Implement this function. def plot_basins(f, Df, roots, xmin, xmax, ymin, ymax, numpoints=100, iters=15, colormap='brg'): ''' Plot the basins of attraction of f. INPUTS: f (function): Should represent a function from C to C. Df (function): Should be the derivative of f. roots (array): An array of the zeros of f. xmin, xmax, ymin, ymax (float,float,float,float): Scalars that define the domain for the plot. numpoints (int): A scalar that determines the resolution of the plot. Defaults to 100. iters (int): Number of times to iterate Newton's method. Defaults to 15. colormap (str): A colormap to use in the plot. Defaults to 'brg'. ''' raise NotImplementedError("Problem 4 Incomplete") # Problem 5: Implement this function. def problemFive(): ''' Run plot_basins() on the function x^3-1 on the domain [-1.5,1.5]x[-1.5,1.5]. ''' raise NotImplementedError("Problem 5 Incomplete")
def newtons_method(f, x0, Df, iters=15, tol=1e-06): """ Use Newton's method to approximate a zero of a function. Inputs: f (function): A function handle. Should represent a function from R to R. x0 (float): Initial guess. Df (function): A function handle. Should represent the derivative of f. iters (int): Maximum number of iterations before the function returns. Defaults to 15. tol (float): The function returns when the difference between successive approximations is less than tol. Defaults to 10^-5. Returns: A tuple (x, converged, numiters) with x (float): the approximation for a zero of f converged (bool): a Boolean telling whether Newton's method converged numiters (int): the number of iterations the method computed """ raise not_implemented_error('Problem 1 Incomplete') def problem_two_one(): """ Return a tuple of the number of iterations to get five digits of accuracy for f = cos(x) with x_0 = 1 and x_0 = 2. """ raise not_implemented_error('Problem 2.1 Incomplete') def problem_two_two(): """ Plot f(x) = sin(x)/x - x on [-4,4]. Return the zero of this function, as given by Newtons_method with tol = 10^-7. """ raise not_implemented_error('Problem 2.2 Incomplete') def problem_two_three(): """ Return a tuple of 1. The number of iterations to get five digits of accuracy for f(x) = x^9 with x_0 = 1. 2. A string with the reason to why you think the convergence is slow for this function. """ raise not_implemented_error('Problem 2.3 Incomplete') def problem_two_four(): """ Return a string as to what happens and why for the function f(x) = x^(1/3) where x_0 = .01. """ raise not_implemented_error('Problem 2.4 Incomplete') def newtons_method_ii(f, x0, Df=None, iters=15, tol=0.002): """Modify the function Newtons_method() to calculate the numerical derivative of f using centered coefficients. """ raise not_implemented_error('Problem 3 Incomplete') def plot_basins(f, Df, roots, xmin, xmax, ymin, ymax, numpoints=100, iters=15, colormap='brg'): """ Plot the basins of attraction of f. INPUTS: f (function): Should represent a function from C to C. Df (function): Should be the derivative of f. roots (array): An array of the zeros of f. xmin, xmax, ymin, ymax (float,float,float,float): Scalars that define the domain for the plot. numpoints (int): A scalar that determines the resolution of the plot. Defaults to 100. iters (int): Number of times to iterate Newton's method. Defaults to 15. colormap (str): A colormap to use in the plot. Defaults to 'brg'. """ raise not_implemented_error('Problem 4 Incomplete') def problem_five(): """ Run plot_basins() on the function x^3-1 on the domain [-1.5,1.5]x[-1.5,1.5]. """ raise not_implemented_error('Problem 5 Incomplete')
# # PySNMP MIB module IEEE8021-TC-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/IEEE8021-TC-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:13:10 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") SingleValueConstraint, ConstraintsIntersection, ConstraintsUnion, ValueSizeConstraint, ValueRangeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ConstraintsIntersection", "ConstraintsUnion", "ValueSizeConstraint", "ValueRangeConstraint") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Counter64, org, iso, MibIdentifier, ModuleIdentity, Unsigned32, Integer32, Gauge32, IpAddress, NotificationType, ObjectIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter32, Bits, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "Counter64", "org", "iso", "MibIdentifier", "ModuleIdentity", "Unsigned32", "Integer32", "Gauge32", "IpAddress", "NotificationType", "ObjectIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter32", "Bits", "TimeTicks") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") ieee8021TcMib = ModuleIdentity((1, 3, 111, 2, 802, 1, 1, 1)) ieee8021TcMib.setRevisions(('2014-12-15 00:00', '2012-02-15 00:00', '2011-08-23 00:00', '2011-04-06 00:00', '2011-02-27 00:00', '2008-11-18 00:00', '2008-10-15 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ieee8021TcMib.setRevisionsDescriptions(('Published as part of IEEE Std 802.1Q 2014 revision. Cross references updated and corrected. Updating of definition of IEEE8021PbbIngressEgress New identifier types for new SPBM MA types', 'Modified IEEE8021BridgePortType textual convention to include stationFacingBridgePort, uplinkAccessPort, and uplinkRelayPort types.', 'Modified textual conventions to support the IEEE 802.1 MIBs for PBB-TE Infrastructure Protection Switching.', 'Modified textual conventions to support Remote Customer Service Interfaces.', 'Minor edits to contact information etc. as part of 2011 revision of IEEE Std 802.1Q.', 'Added textual conventions needed to support the IEEE 802.1 MIBs for PBB-TE. Additionally, some textual conventions were modified for the same reason.', 'Initial version.',)) if mibBuilder.loadTexts: ieee8021TcMib.setLastUpdated('201412150000Z') if mibBuilder.loadTexts: ieee8021TcMib.setOrganization('IEEE 802.1 Working Group') if mibBuilder.loadTexts: ieee8021TcMib.setContactInfo(' WG-URL: http://grouper.ieee.org/groups/802/1/index.html WG-EMail: stds-802-1@ieee.org Contact: IEEE 802.1 Working Group Chair Postal: C/O IEEE 802.1 Working Group IEEE Standards Association 445 Hoes Lane P.O. Box 1331 Piscataway NJ 08855-1331 USA E-mail: STDS-802-1-L@LISTSERV.IEEE.ORG') if mibBuilder.loadTexts: ieee8021TcMib.setDescription('Textual conventions used throughout the various IEEE 802.1 MIB modules. Unless otherwise indicated, the references in this MIB module are to IEEE Std 802.1Q-2014. Copyright (C) IEEE (2014). This version of this MIB module is part of IEEE Std 802.1Q; see the draft itself for full legal notices.') ieee802dot1mibs = MibIdentifier((1, 3, 111, 2, 802, 1, 1)) class IEEE8021PbbComponentIdentifier(TextualConvention, Unsigned32): reference = '12.3 l)' description = 'The component identifier is used to distinguish between the multiple virtual Bridge instances within a PB or PBB. Each virtual Bridge instance is called a component. In simple situations where there is only a single component the default value is 1. The component is identified by a component identifier unique within the BEB and by a MAC address unique within the PBBN. Each component is associated with a Backbone Edge Bridge (BEB) Configuration managed object.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 4294967295) class IEEE8021PbbComponentIdentifierOrZero(TextualConvention, Unsigned32): reference = '12.3 l)' description = "The component identifier is used to distinguish between the multiple virtual Bridge instances within a PB or PBB. In simple situations where there is only a single component the default value is 1. The component is identified by a component identifier unique within the BEB and by a MAC address unique within the PBBN. Each component is associated with a Backbone Edge Bridge (BEB) Configuration managed object. The special value '0' means 'no component identifier'. When this TC is used as the SYNTAX of an object, that object must specify the exact meaning for this value." status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 4294967295), ) class IEEE8021PbbServiceIdentifier(TextualConvention, Unsigned32): reference = '12.16.3, 12.16.5' description = 'The service instance identifier is used at the Customer Backbone Port of a PBB to distinguish a service instance (Local-SID). If the Local-SID field is supported, it is used to perform a bidirectional 1:1 mapping between the Backbone I-SID and the Local-SID. If the Local-SID field is not supported, the Local-SID value is the same as the Backbone I-SID value.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(256, 16777214) class IEEE8021PbbServiceIdentifierOrUnassigned(TextualConvention, Unsigned32): reference = '12.16.3, 12.16.5' description = 'The service instance identifier is used at the Customer Backbone Port of a PBB to distinguish a service instance (Local-SID). If the Local-SID field is supported, it is used to perform a bidirectional 1:1 mapping between the Backbone I-SID and the Local-SID. If the Local-SID field is not supported, the Local-SID value is the same as the Backbone I-SID value. The special value of 1 indicates an unassigned I-SID.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ConstraintsUnion(ValueRangeConstraint(1, 1), ValueRangeConstraint(256, 16777214), ) class IEEE8021PbbIngressEgress(TextualConvention, Bits): reference = '12.16.3, 12.16.5' description = 'A 2 bit selector which determines if frames on this VIP may ingress to the PBBN but not egress the PBBN, egress to the PBBN but not ingress the PBBN, or both ingress and egress the PBBN.' status = 'current' namedValues = NamedValues(("ingress", 0), ("egress", 1)) class IEEE8021PriorityCodePoint(TextualConvention, Integer32): reference = '12.6.2.6' description = 'Bridge ports may encode or decode the PCP value of the frames that traverse the port. This textual convention names the possible encoding and decoding schemes that the port may use. The priority and drop_eligible parameters are encoded in the Priority Code Point (PCP) field of the VLAN tag using the Priority Code Point Encoding Table for the Port, and they are decoded from the PCP using the Priority Code Point Decoding Table.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4)) namedValues = NamedValues(("codePoint8p0d", 1), ("codePoint7p1d", 2), ("codePoint6p2d", 3), ("codePoint5p3d", 4)) class IEEE8021BridgePortNumber(TextualConvention, Unsigned32): reference = '17.3.2.2' description = 'An integer that uniquely identifies a Bridge Port, as specified in 17.3.2.2. This value is used within the spanning tree protocol to identify this port to neighbor Bridges.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 65535) class IEEE8021BridgePortNumberOrZero(TextualConvention, Unsigned32): reference = '17.3.2.2' description = 'An integer that uniquely identifies a Bridge Port. The value 0 means no port number, and this must be clarified in the DESCRIPTION clause of any object defined using this TEXTUAL-CONVENTION.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(0, 65535) class IEEE8021BridgePortType(TextualConvention, Integer32): reference = '40.4, 12.13.1.1, 12.13.1.2, 12.16, 12.16.1.1.3 12.16.2.1, 12.26' description = "A port type. The possible port types are: customerVlanPort(2) - Indicates a port is a C-tag aware port of an enterprise VLAN aware Bridge. providerNetworkPort(3) - Indicates a port is an S-tag aware port of a Provider Bridge or Backbone Edge Bridge used for connections within a PBN or PBBN. customerNetworkPort(4) - Indicates a port is an S-tag aware port of a Provider Bridge or Backbone Edge Bridge used for connections to the exterior of a PBN or PBBN. customerEdgePort(5) - Indicates a port is a C-tag aware port of a Provider Bridge used for connections to the exterior of a PBN or PBBN. customerBackbonePort(6) - Indicates a port is a I-tag aware port of a Backbone Edge Bridge's B-component. virtualInstancePort(7) - Indicates a port is a virtual S-tag aware port within a Backbone Edge Bridge's I-component which is responsible for handling S-tagged traffic for a specific backbone service instance. dBridgePort(8) - Indicates a port is a VLAN-unaware member of an 802.1D Bridge. remoteCustomerAccessPort (9) - Indicates a port is an S-tag aware port of a Provider Bridge used for connections to remote customer interface LANs through another PBN. stationFacingBridgePort (10) - Indicates a port of a Bridge that supports the EVB status parameters (40.4) with an EVBMode parameter value of EVB Bridge. uplinkAccessPort (11) - Indicates a port on a Port-mapping S-VLAN component that connects an EVB Bridge with an EVB station. uplinkRelayPort (12) - Indicates a port of an edge relay that supports the EVB status parameters (40.4) with an EVBMode parameter value of EVB station." status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)) namedValues = NamedValues(("none", 1), ("customerVlanPort", 2), ("providerNetworkPort", 3), ("customerNetworkPort", 4), ("customerEdgePort", 5), ("customerBackbonePort", 6), ("virtualInstancePort", 7), ("dBridgePort", 8), ("remoteCustomerAccessPort", 9), ("stationFacingBridgePort", 10), ("uplinkAccessPort", 11), ("uplinkRelayPort", 12)) class IEEE8021VlanIndex(TextualConvention, Unsigned32): reference = '9.6' description = 'A value used to index per-VLAN tables: values of 0 and 4095 are not permitted. If the value is between 1 and 4094 inclusive, it represents an IEEE 802.1Q VLAN-ID with global scope within a given bridged domain (see VlanId textual convention). If the value is greater than 4095, then it represents a VLAN with scope local to the particular agent, i.e., one without a global VLAN-ID assigned to it. Such VLANs are outside the scope of IEEE 802.1Q, but it is convenient to be able to manage them in the same way using this MIB.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ConstraintsUnion(ValueRangeConstraint(1, 4094), ValueRangeConstraint(4096, 4294967295), ) class IEEE8021VlanIndexOrWildcard(TextualConvention, Unsigned32): reference = '9.6' description = "A value used to index per-VLAN tables. The value 0 is not permitted, while the value 4095 represents a 'wildcard' value. An object whose SYNTAX is IEEE8021VlanIndexOrWildcard must specify in its DESCRIPTION the specific meaning of the wildcard value. If the value is between 1 and 4094 inclusive, it represents an IEEE 802.1Q VLAN-ID with global scope within a given bridged domain (see VlanId textual convention). If the value is greater than 4095, then it represents a VLAN with scope local to the particular agent, i.e., one without a global VLAN-ID assigned to it. Such VLANs are outside the scope of IEEE 802.1Q, but it is convenient to be able to manage them in the same way using this MIB." status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 4294967295) class IEEE8021MstIdentifier(TextualConvention, Unsigned32): description = 'In an MSTP Bridge, an MSTID, i.e., a value used to identify a spanning tree (or MST) instance. In the PBB-TE environment the value 4094 is used to identify VIDs managed by the PBB-TE procedures.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 4094) class IEEE8021ServiceSelectorType(TextualConvention, Integer32): description = 'A value that represents a type (and thereby the format) of a IEEE8021ServiceSelectorValue. The value can be one of the following: ieeeReserved(0) Reserved for definition by IEEE 802.1 recommend to not use zero unless absolutely needed. vlanId(1) 12-Bit identifier as described in IEEE802.1Q. isid(2) 24-Bit identifier as described in IEEE802.1ah. tesid(3) 32 Bit identifier as described below. segid(4) 32 Bit identifier as described below. path-tesid(5) 32 Bit identifier as described below. group-isid(6) 24 Bit identifier as described below. ieeeReserved(7) Reserved for definition by IEEE 802.1 To support future extensions, the IEEE8021ServiceSelectorType textual convention SHOULD NOT be subtyped in object type definitions. It MAY be subtyped in compliance statements in order to require only a subset of these address types for a compliant implementation. The tesid is used as a service selector for MAs that are present in Bridges that implement PBB-TE functionality. A selector of this type is interpreted as a 32 bit unsigned value of type IEEE8021PbbTeTSidId. This type is used to index the ieee8021PbbTeTeSiEspTable to find the ESPs which comprise the TE Service Instance named by this TE-SID value. The segid is used as a service selector for MAs that are present in Bridges that implement IPS functionality. A selector of this type is interpreted as a 32 bit unsigned value of type IEEE8021TeipsSegid. This type is used to index the Ieee8021TeipsSegTable to find the SMPs which comprise the Infrastructure Segment named by this segid value. The path-tesid is used as a service selector for SPBM path MAs. A selector of this type is interpreted as a 32 bit unsigned value corresponding to the MA index dot1agCfmMaIndex. This type is used to index the dot1agCfmMepSpbmEspTable to find the ESPs which comprise the SPBM path associated with an SPBM path MA. The group-isid is used as a service selector for SPBM group MAs. A selector of this type is interpreted as a 24 bit unsigned value corresponding to the I-SID associated with an SPBM group MA. Implementations MUST ensure that IEEE8021ServiceSelectorType objects and any dependent objects (e.g., IEEE8021ServiceSelectorValue objects) are consistent. An inconsistentValue error MUST be generated if an attempt to change an IEEE8021ServiceSelectorType object would, for example, lead to an undefined IEEE8021ServiceSelectorValue value.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7)) namedValues = NamedValues(("vlanId", 1), ("isid", 2), ("tesid", 3), ("segid", 4), ("path-tesid", 5), ("group-isid", 6), ("ieeeReserved", 7)) class IEEE8021ServiceSelectorValueOrNone(TextualConvention, Unsigned32): description = "An integer that uniquely identifies a generic MAC Service, or none. Examples of service selectors are a VLAN-ID (IEEE 802.1Q) and an I-SID (IEEE 802.1ah). An IEEE8021ServiceSelectorValueOrNone value is always interpreted within the context of an IEEE8021ServiceSelectorType value. Every usage of the IEEE8021ServiceSelectorValueOrNone textual convention is required to specify the IEEE8021ServiceSelectorType object that provides the context. It is suggested that the IEEE8021ServiceSelectorType object be logically registered before the object(s) that use the IEEE8021ServiceSelectorValueOrNone textual convention, if they appear in the same logical row. The value of an IEEE8021ServiceSelectorValueOrNone object must always be consistent with the value of the associated IEEE8021ServiceSelectorType object. Attempts to set an IEEE8021ServiceSelectorValueOrNone object to a value inconsistent with the associated IEEE8021ServiceSelectorType must fail with an inconsistentValue error. The special value of zero is used to indicate that no service selector is present or used. This can be used in any situation where an object or a table entry MUST either refer to a specific service, or not make a selection. Note that a MIB object that is defined using this TEXTUAL-CONVENTION SHOULD clarify the meaning of 'no service' (i.e., the special value 0), as well as the maximum value (i.e., 4094, for a VLAN ID)." status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 4294967295), ) class IEEE8021ServiceSelectorValue(TextualConvention, Unsigned32): description = 'An integer that uniquely identifies a generic MAC Service. Examples of service selectors are a VLAN-ID (IEEE 802.1Q) and an I-SID (IEEE 802.1ah). An IEEE8021ServiceSelectorValue value is always interpreted within the context of an IEEE8021ServiceSelectorType value. Every usage of the IEEE8021ServiceSelectorValue textual convention is required to specify the IEEE8021ServiceSelectorType object that provides the context. It is suggested that the IEEE8021ServiceSelectorType object be logically registered before the object(s) that use the IEEE8021ServiceSelectorValue textual convention, if they appear in the same logical row. The value of an IEEE8021ServiceSelectorValue object must always be consistent with the value of the associated IEEE8021ServiceSelectorType object. Attempts to set an IEEE8021ServiceSelectorValue object to a value inconsistent with the associated IEEE8021ServiceSelectorType must fail with an inconsistentValue error. Note that a MIB object that is defined using this TEXTUAL-CONVENTION SHOULD clarify the maximum value (i.e., 4094, for a VLAN ID).' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 4294967295) class IEEE8021PortAcceptableFrameTypes(TextualConvention, Integer32): reference = '12.10.1.3, 12.13.3.3, 12.13.3.4' description = 'Acceptable frame types on a port.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3)) namedValues = NamedValues(("admitAll", 1), ("admitUntaggedAndPriority", 2), ("admitTagged", 3)) class IEEE8021PriorityValue(TextualConvention, Unsigned32): reference = '12.13.3.3' description = 'An 802.1Q user priority value.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(0, 7) class IEEE8021PbbTeProtectionGroupId(TextualConvention, Unsigned32): reference = '12.18.2' description = 'The PbbTeProtectionGroupId identifier is used to distinguish protection group instances present in the B Component of an IB-BEB.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 429467295) class IEEE8021PbbTeEsp(TextualConvention, OctetString): reference = '3.75' description = 'This textual convention is used to represent the logical components that comprise the 3-tuple that identifies an Ethernet Switched Path. The 3-tuple consists of a destination MAC address, a source MAC address and a VID. Bytes (1..6) of this textual convention contain the ESP-MAC-DA, bytes (7..12) contain the ESP-MAC-SA, and bytes (13..14) contain the ESP-VID.' status = 'current' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(14, 14) fixedLength = 14 class IEEE8021PbbTeTSidId(TextualConvention, Unsigned32): reference = '3.240' description = 'This textual convention is used to represent an identifier that refers to a TE Service Instance. Note that, internally a TE-SID is implementation dependent. This textual convention defines the external representation of TE-SID values.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 42947295) class IEEE8021PbbTeProtectionGroupConfigAdmin(TextualConvention, Integer32): reference = '26.10.3.3.5 26.10.3.3.6 26.10.3.3.7 12.18.2.3.2' description = 'This textual convention is used to represent administrative commands that can be issued to a protection group. The value noAdmin(1) is used to indicate that no administrative action is to be performed.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5)) namedValues = NamedValues(("clear", 1), ("lockOutProtection", 2), ("forceSwitch", 3), ("manualSwitchToProtection", 4), ("manualSwitchToWorking", 5)) class IEEE8021PbbTeProtectionGroupActiveRequests(TextualConvention, Integer32): reference = '12.18.2.1.3 d)' description = 'This textual convention is used to represent the status of active requests within a protection group.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7)) namedValues = NamedValues(("noRequest", 1), ("loP", 2), ("fs", 3), ("pSFH", 4), ("wSFH", 5), ("manualSwitchToProtection", 6), ("manualSwitchToWorking", 7)) class IEEE8021TeipsIpgid(TextualConvention, Unsigned32): reference = '12.24.1.1.3 a)' description = 'The TEIPS IPG identifier is used to distinguish IPG instances present in a PBB.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 429467295) class IEEE8021TeipsSegid(TextualConvention, Unsigned32): reference = '26.11.1' description = 'This textual convention is used to represent an identifier that refers to an Infrastructure Segment. Note that, internally a SEG-ID implementation dependent. This textual convention defines the external representation of SEG-ID values.' status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 42947295) class IEEE8021TeipsSmpid(TextualConvention, OctetString): reference = '26.11.1' description = 'This textual convention is used to represent the logical components that comprise the 3-tuple that identifies a Segment Monitoring Path (SMP). The 3-tuple consists of a destination MAC address, a source MAC address and a VID. Bytes (1..6) of this textual convention contain the SMP-MAC-DA, bytes (7..12) contain the SMP-MAC-SA, and bytes (13..14) contain the SMP-VID.' status = 'current' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(14, 14) fixedLength = 14 class IEEE8021TeipsIpgConfigAdmin(TextualConvention, Integer32): reference = '12.24.2.1.3 h)' description = 'This textual convention is used to represent administrative commands that can be issued to an IPG. The value clear(1) is used to indicate that no administrative action is to be performed.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5)) namedValues = NamedValues(("clear", 1), ("lockOutProtection", 2), ("forceSwitch", 3), ("manualSwitchToProtection", 4), ("manualSwitchToWorking", 5)) class IEEE8021TeipsIpgConfigActiveRequests(TextualConvention, Integer32): reference = '12.24.2.1.3 d)' description = 'This textual convention is used to represent the status of active requests within an IPG.' status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7)) namedValues = NamedValues(("noRequest", 1), ("loP", 2), ("fs", 3), ("pSFH", 4), ("wSFH", 5), ("manualSwitchToProtection", 6), ("manualSwitchToWorking", 7)) mibBuilder.exportSymbols("IEEE8021-TC-MIB", IEEE8021BridgePortNumber=IEEE8021BridgePortNumber, IEEE8021ServiceSelectorValue=IEEE8021ServiceSelectorValue, IEEE8021PortAcceptableFrameTypes=IEEE8021PortAcceptableFrameTypes, IEEE8021TeipsSegid=IEEE8021TeipsSegid, IEEE8021PbbIngressEgress=IEEE8021PbbIngressEgress, IEEE8021BridgePortType=IEEE8021BridgePortType, IEEE8021PriorityValue=IEEE8021PriorityValue, IEEE8021TeipsIpgid=IEEE8021TeipsIpgid, IEEE8021PbbTeProtectionGroupConfigAdmin=IEEE8021PbbTeProtectionGroupConfigAdmin, IEEE8021VlanIndexOrWildcard=IEEE8021VlanIndexOrWildcard, IEEE8021TeipsIpgConfigActiveRequests=IEEE8021TeipsIpgConfigActiveRequests, ieee8021TcMib=ieee8021TcMib, IEEE8021PbbServiceIdentifier=IEEE8021PbbServiceIdentifier, IEEE8021ServiceSelectorValueOrNone=IEEE8021ServiceSelectorValueOrNone, IEEE8021VlanIndex=IEEE8021VlanIndex, IEEE8021ServiceSelectorType=IEEE8021ServiceSelectorType, IEEE8021PbbTeProtectionGroupActiveRequests=IEEE8021PbbTeProtectionGroupActiveRequests, IEEE8021MstIdentifier=IEEE8021MstIdentifier, IEEE8021PbbServiceIdentifierOrUnassigned=IEEE8021PbbServiceIdentifierOrUnassigned, IEEE8021PbbTeEsp=IEEE8021PbbTeEsp, IEEE8021PbbComponentIdentifier=IEEE8021PbbComponentIdentifier, IEEE8021PbbTeTSidId=IEEE8021PbbTeTSidId, IEEE8021TeipsSmpid=IEEE8021TeipsSmpid, PYSNMP_MODULE_ID=ieee8021TcMib, IEEE8021PbbTeProtectionGroupId=IEEE8021PbbTeProtectionGroupId, ieee802dot1mibs=ieee802dot1mibs, IEEE8021PriorityCodePoint=IEEE8021PriorityCodePoint, IEEE8021TeipsIpgConfigAdmin=IEEE8021TeipsIpgConfigAdmin, IEEE8021PbbComponentIdentifierOrZero=IEEE8021PbbComponentIdentifierOrZero, IEEE8021BridgePortNumberOrZero=IEEE8021BridgePortNumberOrZero)
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (single_value_constraint, constraints_intersection, constraints_union, value_size_constraint, value_range_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ConstraintsIntersection', 'ConstraintsUnion', 'ValueSizeConstraint', 'ValueRangeConstraint') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (counter64, org, iso, mib_identifier, module_identity, unsigned32, integer32, gauge32, ip_address, notification_type, object_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, counter32, bits, time_ticks) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter64', 'org', 'iso', 'MibIdentifier', 'ModuleIdentity', 'Unsigned32', 'Integer32', 'Gauge32', 'IpAddress', 'NotificationType', 'ObjectIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter32', 'Bits', 'TimeTicks') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') ieee8021_tc_mib = module_identity((1, 3, 111, 2, 802, 1, 1, 1)) ieee8021TcMib.setRevisions(('2014-12-15 00:00', '2012-02-15 00:00', '2011-08-23 00:00', '2011-04-06 00:00', '2011-02-27 00:00', '2008-11-18 00:00', '2008-10-15 00:00')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ieee8021TcMib.setRevisionsDescriptions(('Published as part of IEEE Std 802.1Q 2014 revision. Cross references updated and corrected. Updating of definition of IEEE8021PbbIngressEgress New identifier types for new SPBM MA types', 'Modified IEEE8021BridgePortType textual convention to include stationFacingBridgePort, uplinkAccessPort, and uplinkRelayPort types.', 'Modified textual conventions to support the IEEE 802.1 MIBs for PBB-TE Infrastructure Protection Switching.', 'Modified textual conventions to support Remote Customer Service Interfaces.', 'Minor edits to contact information etc. as part of 2011 revision of IEEE Std 802.1Q.', 'Added textual conventions needed to support the IEEE 802.1 MIBs for PBB-TE. Additionally, some textual conventions were modified for the same reason.', 'Initial version.')) if mibBuilder.loadTexts: ieee8021TcMib.setLastUpdated('201412150000Z') if mibBuilder.loadTexts: ieee8021TcMib.setOrganization('IEEE 802.1 Working Group') if mibBuilder.loadTexts: ieee8021TcMib.setContactInfo(' WG-URL: http://grouper.ieee.org/groups/802/1/index.html WG-EMail: stds-802-1@ieee.org Contact: IEEE 802.1 Working Group Chair Postal: C/O IEEE 802.1 Working Group IEEE Standards Association 445 Hoes Lane P.O. Box 1331 Piscataway NJ 08855-1331 USA E-mail: STDS-802-1-L@LISTSERV.IEEE.ORG') if mibBuilder.loadTexts: ieee8021TcMib.setDescription('Textual conventions used throughout the various IEEE 802.1 MIB modules. Unless otherwise indicated, the references in this MIB module are to IEEE Std 802.1Q-2014. Copyright (C) IEEE (2014). This version of this MIB module is part of IEEE Std 802.1Q; see the draft itself for full legal notices.') ieee802dot1mibs = mib_identifier((1, 3, 111, 2, 802, 1, 1)) class Ieee8021Pbbcomponentidentifier(TextualConvention, Unsigned32): reference = '12.3 l)' description = 'The component identifier is used to distinguish between the multiple virtual Bridge instances within a PB or PBB. Each virtual Bridge instance is called a component. In simple situations where there is only a single component the default value is 1. The component is identified by a component identifier unique within the BEB and by a MAC address unique within the PBBN. Each component is associated with a Backbone Edge Bridge (BEB) Configuration managed object.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 4294967295) class Ieee8021Pbbcomponentidentifierorzero(TextualConvention, Unsigned32): reference = '12.3 l)' description = "The component identifier is used to distinguish between the multiple virtual Bridge instances within a PB or PBB. In simple situations where there is only a single component the default value is 1. The component is identified by a component identifier unique within the BEB and by a MAC address unique within the PBBN. Each component is associated with a Backbone Edge Bridge (BEB) Configuration managed object. The special value '0' means 'no component identifier'. When this TC is used as the SYNTAX of an object, that object must specify the exact meaning for this value." status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 4294967295)) class Ieee8021Pbbserviceidentifier(TextualConvention, Unsigned32): reference = '12.16.3, 12.16.5' description = 'The service instance identifier is used at the Customer Backbone Port of a PBB to distinguish a service instance (Local-SID). If the Local-SID field is supported, it is used to perform a bidirectional 1:1 mapping between the Backbone I-SID and the Local-SID. If the Local-SID field is not supported, the Local-SID value is the same as the Backbone I-SID value.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(256, 16777214) class Ieee8021Pbbserviceidentifierorunassigned(TextualConvention, Unsigned32): reference = '12.16.3, 12.16.5' description = 'The service instance identifier is used at the Customer Backbone Port of a PBB to distinguish a service instance (Local-SID). If the Local-SID field is supported, it is used to perform a bidirectional 1:1 mapping between the Backbone I-SID and the Local-SID. If the Local-SID field is not supported, the Local-SID value is the same as the Backbone I-SID value. The special value of 1 indicates an unassigned I-SID.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + constraints_union(value_range_constraint(1, 1), value_range_constraint(256, 16777214)) class Ieee8021Pbbingressegress(TextualConvention, Bits): reference = '12.16.3, 12.16.5' description = 'A 2 bit selector which determines if frames on this VIP may ingress to the PBBN but not egress the PBBN, egress to the PBBN but not ingress the PBBN, or both ingress and egress the PBBN.' status = 'current' named_values = named_values(('ingress', 0), ('egress', 1)) class Ieee8021Prioritycodepoint(TextualConvention, Integer32): reference = '12.6.2.6' description = 'Bridge ports may encode or decode the PCP value of the frames that traverse the port. This textual convention names the possible encoding and decoding schemes that the port may use. The priority and drop_eligible parameters are encoded in the Priority Code Point (PCP) field of the VLAN tag using the Priority Code Point Encoding Table for the Port, and they are decoded from the PCP using the Priority Code Point Decoding Table.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4)) named_values = named_values(('codePoint8p0d', 1), ('codePoint7p1d', 2), ('codePoint6p2d', 3), ('codePoint5p3d', 4)) class Ieee8021Bridgeportnumber(TextualConvention, Unsigned32): reference = '17.3.2.2' description = 'An integer that uniquely identifies a Bridge Port, as specified in 17.3.2.2. This value is used within the spanning tree protocol to identify this port to neighbor Bridges.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 65535) class Ieee8021Bridgeportnumberorzero(TextualConvention, Unsigned32): reference = '17.3.2.2' description = 'An integer that uniquely identifies a Bridge Port. The value 0 means no port number, and this must be clarified in the DESCRIPTION clause of any object defined using this TEXTUAL-CONVENTION.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(0, 65535) class Ieee8021Bridgeporttype(TextualConvention, Integer32): reference = '40.4, 12.13.1.1, 12.13.1.2, 12.16, 12.16.1.1.3 12.16.2.1, 12.26' description = "A port type. The possible port types are: customerVlanPort(2) - Indicates a port is a C-tag aware port of an enterprise VLAN aware Bridge. providerNetworkPort(3) - Indicates a port is an S-tag aware port of a Provider Bridge or Backbone Edge Bridge used for connections within a PBN or PBBN. customerNetworkPort(4) - Indicates a port is an S-tag aware port of a Provider Bridge or Backbone Edge Bridge used for connections to the exterior of a PBN or PBBN. customerEdgePort(5) - Indicates a port is a C-tag aware port of a Provider Bridge used for connections to the exterior of a PBN or PBBN. customerBackbonePort(6) - Indicates a port is a I-tag aware port of a Backbone Edge Bridge's B-component. virtualInstancePort(7) - Indicates a port is a virtual S-tag aware port within a Backbone Edge Bridge's I-component which is responsible for handling S-tagged traffic for a specific backbone service instance. dBridgePort(8) - Indicates a port is a VLAN-unaware member of an 802.1D Bridge. remoteCustomerAccessPort (9) - Indicates a port is an S-tag aware port of a Provider Bridge used for connections to remote customer interface LANs through another PBN. stationFacingBridgePort (10) - Indicates a port of a Bridge that supports the EVB status parameters (40.4) with an EVBMode parameter value of EVB Bridge. uplinkAccessPort (11) - Indicates a port on a Port-mapping S-VLAN component that connects an EVB Bridge with an EVB station. uplinkRelayPort (12) - Indicates a port of an edge relay that supports the EVB status parameters (40.4) with an EVBMode parameter value of EVB station." status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)) named_values = named_values(('none', 1), ('customerVlanPort', 2), ('providerNetworkPort', 3), ('customerNetworkPort', 4), ('customerEdgePort', 5), ('customerBackbonePort', 6), ('virtualInstancePort', 7), ('dBridgePort', 8), ('remoteCustomerAccessPort', 9), ('stationFacingBridgePort', 10), ('uplinkAccessPort', 11), ('uplinkRelayPort', 12)) class Ieee8021Vlanindex(TextualConvention, Unsigned32): reference = '9.6' description = 'A value used to index per-VLAN tables: values of 0 and 4095 are not permitted. If the value is between 1 and 4094 inclusive, it represents an IEEE 802.1Q VLAN-ID with global scope within a given bridged domain (see VlanId textual convention). If the value is greater than 4095, then it represents a VLAN with scope local to the particular agent, i.e., one without a global VLAN-ID assigned to it. Such VLANs are outside the scope of IEEE 802.1Q, but it is convenient to be able to manage them in the same way using this MIB.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + constraints_union(value_range_constraint(1, 4094), value_range_constraint(4096, 4294967295)) class Ieee8021Vlanindexorwildcard(TextualConvention, Unsigned32): reference = '9.6' description = "A value used to index per-VLAN tables. The value 0 is not permitted, while the value 4095 represents a 'wildcard' value. An object whose SYNTAX is IEEE8021VlanIndexOrWildcard must specify in its DESCRIPTION the specific meaning of the wildcard value. If the value is between 1 and 4094 inclusive, it represents an IEEE 802.1Q VLAN-ID with global scope within a given bridged domain (see VlanId textual convention). If the value is greater than 4095, then it represents a VLAN with scope local to the particular agent, i.e., one without a global VLAN-ID assigned to it. Such VLANs are outside the scope of IEEE 802.1Q, but it is convenient to be able to manage them in the same way using this MIB." status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 4294967295) class Ieee8021Mstidentifier(TextualConvention, Unsigned32): description = 'In an MSTP Bridge, an MSTID, i.e., a value used to identify a spanning tree (or MST) instance. In the PBB-TE environment the value 4094 is used to identify VIDs managed by the PBB-TE procedures.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 4094) class Ieee8021Serviceselectortype(TextualConvention, Integer32): description = 'A value that represents a type (and thereby the format) of a IEEE8021ServiceSelectorValue. The value can be one of the following: ieeeReserved(0) Reserved for definition by IEEE 802.1 recommend to not use zero unless absolutely needed. vlanId(1) 12-Bit identifier as described in IEEE802.1Q. isid(2) 24-Bit identifier as described in IEEE802.1ah. tesid(3) 32 Bit identifier as described below. segid(4) 32 Bit identifier as described below. path-tesid(5) 32 Bit identifier as described below. group-isid(6) 24 Bit identifier as described below. ieeeReserved(7) Reserved for definition by IEEE 802.1 To support future extensions, the IEEE8021ServiceSelectorType textual convention SHOULD NOT be subtyped in object type definitions. It MAY be subtyped in compliance statements in order to require only a subset of these address types for a compliant implementation. The tesid is used as a service selector for MAs that are present in Bridges that implement PBB-TE functionality. A selector of this type is interpreted as a 32 bit unsigned value of type IEEE8021PbbTeTSidId. This type is used to index the ieee8021PbbTeTeSiEspTable to find the ESPs which comprise the TE Service Instance named by this TE-SID value. The segid is used as a service selector for MAs that are present in Bridges that implement IPS functionality. A selector of this type is interpreted as a 32 bit unsigned value of type IEEE8021TeipsSegid. This type is used to index the Ieee8021TeipsSegTable to find the SMPs which comprise the Infrastructure Segment named by this segid value. The path-tesid is used as a service selector for SPBM path MAs. A selector of this type is interpreted as a 32 bit unsigned value corresponding to the MA index dot1agCfmMaIndex. This type is used to index the dot1agCfmMepSpbmEspTable to find the ESPs which comprise the SPBM path associated with an SPBM path MA. The group-isid is used as a service selector for SPBM group MAs. A selector of this type is interpreted as a 24 bit unsigned value corresponding to the I-SID associated with an SPBM group MA. Implementations MUST ensure that IEEE8021ServiceSelectorType objects and any dependent objects (e.g., IEEE8021ServiceSelectorValue objects) are consistent. An inconsistentValue error MUST be generated if an attempt to change an IEEE8021ServiceSelectorType object would, for example, lead to an undefined IEEE8021ServiceSelectorValue value.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7)) named_values = named_values(('vlanId', 1), ('isid', 2), ('tesid', 3), ('segid', 4), ('path-tesid', 5), ('group-isid', 6), ('ieeeReserved', 7)) class Ieee8021Serviceselectorvalueornone(TextualConvention, Unsigned32): description = "An integer that uniquely identifies a generic MAC Service, or none. Examples of service selectors are a VLAN-ID (IEEE 802.1Q) and an I-SID (IEEE 802.1ah). An IEEE8021ServiceSelectorValueOrNone value is always interpreted within the context of an IEEE8021ServiceSelectorType value. Every usage of the IEEE8021ServiceSelectorValueOrNone textual convention is required to specify the IEEE8021ServiceSelectorType object that provides the context. It is suggested that the IEEE8021ServiceSelectorType object be logically registered before the object(s) that use the IEEE8021ServiceSelectorValueOrNone textual convention, if they appear in the same logical row. The value of an IEEE8021ServiceSelectorValueOrNone object must always be consistent with the value of the associated IEEE8021ServiceSelectorType object. Attempts to set an IEEE8021ServiceSelectorValueOrNone object to a value inconsistent with the associated IEEE8021ServiceSelectorType must fail with an inconsistentValue error. The special value of zero is used to indicate that no service selector is present or used. This can be used in any situation where an object or a table entry MUST either refer to a specific service, or not make a selection. Note that a MIB object that is defined using this TEXTUAL-CONVENTION SHOULD clarify the meaning of 'no service' (i.e., the special value 0), as well as the maximum value (i.e., 4094, for a VLAN ID)." status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 4294967295)) class Ieee8021Serviceselectorvalue(TextualConvention, Unsigned32): description = 'An integer that uniquely identifies a generic MAC Service. Examples of service selectors are a VLAN-ID (IEEE 802.1Q) and an I-SID (IEEE 802.1ah). An IEEE8021ServiceSelectorValue value is always interpreted within the context of an IEEE8021ServiceSelectorType value. Every usage of the IEEE8021ServiceSelectorValue textual convention is required to specify the IEEE8021ServiceSelectorType object that provides the context. It is suggested that the IEEE8021ServiceSelectorType object be logically registered before the object(s) that use the IEEE8021ServiceSelectorValue textual convention, if they appear in the same logical row. The value of an IEEE8021ServiceSelectorValue object must always be consistent with the value of the associated IEEE8021ServiceSelectorType object. Attempts to set an IEEE8021ServiceSelectorValue object to a value inconsistent with the associated IEEE8021ServiceSelectorType must fail with an inconsistentValue error. Note that a MIB object that is defined using this TEXTUAL-CONVENTION SHOULD clarify the maximum value (i.e., 4094, for a VLAN ID).' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 4294967295) class Ieee8021Portacceptableframetypes(TextualConvention, Integer32): reference = '12.10.1.3, 12.13.3.3, 12.13.3.4' description = 'Acceptable frame types on a port.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3)) named_values = named_values(('admitAll', 1), ('admitUntaggedAndPriority', 2), ('admitTagged', 3)) class Ieee8021Priorityvalue(TextualConvention, Unsigned32): reference = '12.13.3.3' description = 'An 802.1Q user priority value.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(0, 7) class Ieee8021Pbbteprotectiongroupid(TextualConvention, Unsigned32): reference = '12.18.2' description = 'The PbbTeProtectionGroupId identifier is used to distinguish protection group instances present in the B Component of an IB-BEB.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 429467295) class Ieee8021Pbbteesp(TextualConvention, OctetString): reference = '3.75' description = 'This textual convention is used to represent the logical components that comprise the 3-tuple that identifies an Ethernet Switched Path. The 3-tuple consists of a destination MAC address, a source MAC address and a VID. Bytes (1..6) of this textual convention contain the ESP-MAC-DA, bytes (7..12) contain the ESP-MAC-SA, and bytes (13..14) contain the ESP-VID.' status = 'current' subtype_spec = OctetString.subtypeSpec + value_size_constraint(14, 14) fixed_length = 14 class Ieee8021Pbbtetsidid(TextualConvention, Unsigned32): reference = '3.240' description = 'This textual convention is used to represent an identifier that refers to a TE Service Instance. Note that, internally a TE-SID is implementation dependent. This textual convention defines the external representation of TE-SID values.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 42947295) class Ieee8021Pbbteprotectiongroupconfigadmin(TextualConvention, Integer32): reference = '26.10.3.3.5 26.10.3.3.6 26.10.3.3.7 12.18.2.3.2' description = 'This textual convention is used to represent administrative commands that can be issued to a protection group. The value noAdmin(1) is used to indicate that no administrative action is to be performed.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5)) named_values = named_values(('clear', 1), ('lockOutProtection', 2), ('forceSwitch', 3), ('manualSwitchToProtection', 4), ('manualSwitchToWorking', 5)) class Ieee8021Pbbteprotectiongroupactiverequests(TextualConvention, Integer32): reference = '12.18.2.1.3 d)' description = 'This textual convention is used to represent the status of active requests within a protection group.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7)) named_values = named_values(('noRequest', 1), ('loP', 2), ('fs', 3), ('pSFH', 4), ('wSFH', 5), ('manualSwitchToProtection', 6), ('manualSwitchToWorking', 7)) class Ieee8021Teipsipgid(TextualConvention, Unsigned32): reference = '12.24.1.1.3 a)' description = 'The TEIPS IPG identifier is used to distinguish IPG instances present in a PBB.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 429467295) class Ieee8021Teipssegid(TextualConvention, Unsigned32): reference = '26.11.1' description = 'This textual convention is used to represent an identifier that refers to an Infrastructure Segment. Note that, internally a SEG-ID implementation dependent. This textual convention defines the external representation of SEG-ID values.' status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 42947295) class Ieee8021Teipssmpid(TextualConvention, OctetString): reference = '26.11.1' description = 'This textual convention is used to represent the logical components that comprise the 3-tuple that identifies a Segment Monitoring Path (SMP). The 3-tuple consists of a destination MAC address, a source MAC address and a VID. Bytes (1..6) of this textual convention contain the SMP-MAC-DA, bytes (7..12) contain the SMP-MAC-SA, and bytes (13..14) contain the SMP-VID.' status = 'current' subtype_spec = OctetString.subtypeSpec + value_size_constraint(14, 14) fixed_length = 14 class Ieee8021Teipsipgconfigadmin(TextualConvention, Integer32): reference = '12.24.2.1.3 h)' description = 'This textual convention is used to represent administrative commands that can be issued to an IPG. The value clear(1) is used to indicate that no administrative action is to be performed.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5)) named_values = named_values(('clear', 1), ('lockOutProtection', 2), ('forceSwitch', 3), ('manualSwitchToProtection', 4), ('manualSwitchToWorking', 5)) class Ieee8021Teipsipgconfigactiverequests(TextualConvention, Integer32): reference = '12.24.2.1.3 d)' description = 'This textual convention is used to represent the status of active requests within an IPG.' status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7)) named_values = named_values(('noRequest', 1), ('loP', 2), ('fs', 3), ('pSFH', 4), ('wSFH', 5), ('manualSwitchToProtection', 6), ('manualSwitchToWorking', 7)) mibBuilder.exportSymbols('IEEE8021-TC-MIB', IEEE8021BridgePortNumber=IEEE8021BridgePortNumber, IEEE8021ServiceSelectorValue=IEEE8021ServiceSelectorValue, IEEE8021PortAcceptableFrameTypes=IEEE8021PortAcceptableFrameTypes, IEEE8021TeipsSegid=IEEE8021TeipsSegid, IEEE8021PbbIngressEgress=IEEE8021PbbIngressEgress, IEEE8021BridgePortType=IEEE8021BridgePortType, IEEE8021PriorityValue=IEEE8021PriorityValue, IEEE8021TeipsIpgid=IEEE8021TeipsIpgid, IEEE8021PbbTeProtectionGroupConfigAdmin=IEEE8021PbbTeProtectionGroupConfigAdmin, IEEE8021VlanIndexOrWildcard=IEEE8021VlanIndexOrWildcard, IEEE8021TeipsIpgConfigActiveRequests=IEEE8021TeipsIpgConfigActiveRequests, ieee8021TcMib=ieee8021TcMib, IEEE8021PbbServiceIdentifier=IEEE8021PbbServiceIdentifier, IEEE8021ServiceSelectorValueOrNone=IEEE8021ServiceSelectorValueOrNone, IEEE8021VlanIndex=IEEE8021VlanIndex, IEEE8021ServiceSelectorType=IEEE8021ServiceSelectorType, IEEE8021PbbTeProtectionGroupActiveRequests=IEEE8021PbbTeProtectionGroupActiveRequests, IEEE8021MstIdentifier=IEEE8021MstIdentifier, IEEE8021PbbServiceIdentifierOrUnassigned=IEEE8021PbbServiceIdentifierOrUnassigned, IEEE8021PbbTeEsp=IEEE8021PbbTeEsp, IEEE8021PbbComponentIdentifier=IEEE8021PbbComponentIdentifier, IEEE8021PbbTeTSidId=IEEE8021PbbTeTSidId, IEEE8021TeipsSmpid=IEEE8021TeipsSmpid, PYSNMP_MODULE_ID=ieee8021TcMib, IEEE8021PbbTeProtectionGroupId=IEEE8021PbbTeProtectionGroupId, ieee802dot1mibs=ieee802dot1mibs, IEEE8021PriorityCodePoint=IEEE8021PriorityCodePoint, IEEE8021TeipsIpgConfigAdmin=IEEE8021TeipsIpgConfigAdmin, IEEE8021PbbComponentIdentifierOrZero=IEEE8021PbbComponentIdentifierOrZero, IEEE8021BridgePortNumberOrZero=IEEE8021BridgePortNumberOrZero)
entries = [ { "env-title": "atari-alien", "env-variant": "No-op start", "score": 1536.05, }, { "env-title": "atari-amidar", "env-variant": "No-op start", "score": 497.62, }, { "env-title": "atari-assault", "env-variant": "No-op start", "score": 12086.86, }, { "env-title": "atari-asterix", "env-variant": "No-op start", "score": 29692.50, }, { "env-title": "atari-asteroids", "env-variant": "No-op start", "score": 3508.10, }, { "env-title": "atari-atlantis", "env-variant": "No-op start", "score": 773355.50, }, { "env-title": "atari-bank-heist", "env-variant": "No-op start", "score": 1200.35, }, { "env-title": "atari-battle-zone", "env-variant": "No-op start", "score": 13015.00, }, { "env-title": "atari-beam-rider", "env-variant": "No-op start", "score": 8219.92, }, { "env-title": "atari-berzerk", "env-variant": "No-op start", "score": 888.30, }, { "env-title": "atari-bowling", "env-variant": "No-op start", "score": 35.73, }, { "env-title": "atari-boxing", "env-variant": "No-op start", "score": 96.30, }, { "env-title": "atari-breakout", "env-variant": "No-op start", "score": 640.43, }, { "env-title": "atari-centipede", "env-variant": "No-op start", "score": 5528.13, }, { "env-title": "atari-chopper-command", "env-variant": "No-op start", "score": 5012.00, }, { "env-title": "atari-crazy-climber", "env-variant": "No-op start", "score": 136211.50, }, { "env-title": "atari-defender", "env-variant": "No-op start", "score": 58718.25, }, { "env-title": "atari-demon-attack", "env-variant": "No-op start", "score": 107264.73, }, { "env-title": "atari-double-dunk", "env-variant": "No-op start", "score": -0.35, }, { "env-title": "atari-enduro", "env-variant": "No-op start", "score": 0.00, }, { "env-title": "atari-fishing-derby", "env-variant": "No-op start", "score": 32.08, }, { "env-title": "atari-freeway", "env-variant": "No-op start", "score": 0.00, }, { "env-title": "atari-frostbite", "env-variant": "No-op start", "score": 269.65, }, { "env-title": "atari-gopher", "env-variant": "No-op start", "score": 1002.40, }, { "env-title": "atari-gravitar", "env-variant": "No-op start", "score": 211.50, }, { "env-title": "atari-hero", "env-variant": "No-op start", "score": 33853.15, }, { "env-title": "atari-ice-hockey", "env-variant": "No-op start", "score": -5.25, }, { "env-title": "atari-jamesbond", "env-variant": "No-op start", "score": 440.00, }, { "env-title": "atari-kangaroo", "env-variant": "No-op start", "score": 47.00, }, { "env-title": "atari-krull", "env-variant": "No-op start", "score": 9247.60, }, { "env-title": "atari-kung-fu-master", "env-variant": "No-op start", "score": 42259.00, }, { "env-title": "atari-montezuma-revenge", "env-variant": "No-op start", "score": 0.00, }, { "env-title": "atari-ms-pacman", "env-variant": "No-op start", "score": 6501.71, }, { "env-title": "atari-name-this-game", "env-variant": "No-op start", "score": 6049.55, }, { "env-title": "atari-phoenix", "env-variant": "No-op start", "score": 33068.15, }, { "env-title": "atari-pitfall", "env-variant": "No-op start", "score": -11.14, }, { "env-title": "atari-pong", "env-variant": "No-op start", "score": 20.40, }, { "env-title": "atari-private-eye", "env-variant": "No-op start", "score": 92.42, }, { "env-title": "atari-qbert", "env-variant": "No-op start", "score": 18901.25, }, { "env-title": "atari-riverraid", "env-variant": "No-op start", "score": 17401.90, }, { "env-title": "atari-road-runner", "env-variant": "No-op start", "score": 37505.00, }, { "env-title": "atari-robotank", "env-variant": "No-op start", "score": 2.30, }, { "env-title": "atari-seaquest", "env-variant": "No-op start", "score": 1716.90, }, { "env-title": "atari-skiing", "env-variant": "No-op start", "score": -29975.00, }, { "env-title": "atari-solaris", "env-variant": "No-op start", "score": 2368.40, }, { "env-title": "atari-space-invaders", "env-variant": "No-op start", "score": 1726.28, }, { "env-title": "atari-star-gunner", "env-variant": "No-op start", "score": 69139.00, }, { "env-title": "atari-surround", "env-variant": "No-op start", "score": -8.13, }, { "env-title": "atari-tennis", "env-variant": "No-op start", "score": -1.89, }, { "env-title": "atari-time-pilot", "env-variant": "No-op start", "score": 6617.50, }, { "env-title": "atari-tutankham", "env-variant": "No-op start", "score": 267.82, }, { "env-title": "atari-up-n-down", "env-variant": "No-op start", "score": 273058.10, }, { "env-title": "atari-venture", "env-variant": "No-op start", "score": 0.00, }, { "env-title": "atari-video-pinball", "env-variant": "No-op start", "score": 228642.52, }, { "env-title": "atari-wizard-of-wor", "env-variant": "No-op start", "score": 4203.00, }, { "env-title": "atari-yars-revenge", "env-variant": "No-op start", "score": 80530.13, }, { "env-title": "atari-zaxxon", "env-variant": "No-op start", "score": 1148.50, }, ]
entries = [{'env-title': 'atari-alien', 'env-variant': 'No-op start', 'score': 1536.05}, {'env-title': 'atari-amidar', 'env-variant': 'No-op start', 'score': 497.62}, {'env-title': 'atari-assault', 'env-variant': 'No-op start', 'score': 12086.86}, {'env-title': 'atari-asterix', 'env-variant': 'No-op start', 'score': 29692.5}, {'env-title': 'atari-asteroids', 'env-variant': 'No-op start', 'score': 3508.1}, {'env-title': 'atari-atlantis', 'env-variant': 'No-op start', 'score': 773355.5}, {'env-title': 'atari-bank-heist', 'env-variant': 'No-op start', 'score': 1200.35}, {'env-title': 'atari-battle-zone', 'env-variant': 'No-op start', 'score': 13015.0}, {'env-title': 'atari-beam-rider', 'env-variant': 'No-op start', 'score': 8219.92}, {'env-title': 'atari-berzerk', 'env-variant': 'No-op start', 'score': 888.3}, {'env-title': 'atari-bowling', 'env-variant': 'No-op start', 'score': 35.73}, {'env-title': 'atari-boxing', 'env-variant': 'No-op start', 'score': 96.3}, {'env-title': 'atari-breakout', 'env-variant': 'No-op start', 'score': 640.43}, {'env-title': 'atari-centipede', 'env-variant': 'No-op start', 'score': 5528.13}, {'env-title': 'atari-chopper-command', 'env-variant': 'No-op start', 'score': 5012.0}, {'env-title': 'atari-crazy-climber', 'env-variant': 'No-op start', 'score': 136211.5}, {'env-title': 'atari-defender', 'env-variant': 'No-op start', 'score': 58718.25}, {'env-title': 'atari-demon-attack', 'env-variant': 'No-op start', 'score': 107264.73}, {'env-title': 'atari-double-dunk', 'env-variant': 'No-op start', 'score': -0.35}, {'env-title': 'atari-enduro', 'env-variant': 'No-op start', 'score': 0.0}, {'env-title': 'atari-fishing-derby', 'env-variant': 'No-op start', 'score': 32.08}, {'env-title': 'atari-freeway', 'env-variant': 'No-op start', 'score': 0.0}, {'env-title': 'atari-frostbite', 'env-variant': 'No-op start', 'score': 269.65}, {'env-title': 'atari-gopher', 'env-variant': 'No-op start', 'score': 1002.4}, {'env-title': 'atari-gravitar', 'env-variant': 'No-op start', 'score': 211.5}, {'env-title': 'atari-hero', 'env-variant': 'No-op start', 'score': 33853.15}, {'env-title': 'atari-ice-hockey', 'env-variant': 'No-op start', 'score': -5.25}, {'env-title': 'atari-jamesbond', 'env-variant': 'No-op start', 'score': 440.0}, {'env-title': 'atari-kangaroo', 'env-variant': 'No-op start', 'score': 47.0}, {'env-title': 'atari-krull', 'env-variant': 'No-op start', 'score': 9247.6}, {'env-title': 'atari-kung-fu-master', 'env-variant': 'No-op start', 'score': 42259.0}, {'env-title': 'atari-montezuma-revenge', 'env-variant': 'No-op start', 'score': 0.0}, {'env-title': 'atari-ms-pacman', 'env-variant': 'No-op start', 'score': 6501.71}, {'env-title': 'atari-name-this-game', 'env-variant': 'No-op start', 'score': 6049.55}, {'env-title': 'atari-phoenix', 'env-variant': 'No-op start', 'score': 33068.15}, {'env-title': 'atari-pitfall', 'env-variant': 'No-op start', 'score': -11.14}, {'env-title': 'atari-pong', 'env-variant': 'No-op start', 'score': 20.4}, {'env-title': 'atari-private-eye', 'env-variant': 'No-op start', 'score': 92.42}, {'env-title': 'atari-qbert', 'env-variant': 'No-op start', 'score': 18901.25}, {'env-title': 'atari-riverraid', 'env-variant': 'No-op start', 'score': 17401.9}, {'env-title': 'atari-road-runner', 'env-variant': 'No-op start', 'score': 37505.0}, {'env-title': 'atari-robotank', 'env-variant': 'No-op start', 'score': 2.3}, {'env-title': 'atari-seaquest', 'env-variant': 'No-op start', 'score': 1716.9}, {'env-title': 'atari-skiing', 'env-variant': 'No-op start', 'score': -29975.0}, {'env-title': 'atari-solaris', 'env-variant': 'No-op start', 'score': 2368.4}, {'env-title': 'atari-space-invaders', 'env-variant': 'No-op start', 'score': 1726.28}, {'env-title': 'atari-star-gunner', 'env-variant': 'No-op start', 'score': 69139.0}, {'env-title': 'atari-surround', 'env-variant': 'No-op start', 'score': -8.13}, {'env-title': 'atari-tennis', 'env-variant': 'No-op start', 'score': -1.89}, {'env-title': 'atari-time-pilot', 'env-variant': 'No-op start', 'score': 6617.5}, {'env-title': 'atari-tutankham', 'env-variant': 'No-op start', 'score': 267.82}, {'env-title': 'atari-up-n-down', 'env-variant': 'No-op start', 'score': 273058.1}, {'env-title': 'atari-venture', 'env-variant': 'No-op start', 'score': 0.0}, {'env-title': 'atari-video-pinball', 'env-variant': 'No-op start', 'score': 228642.52}, {'env-title': 'atari-wizard-of-wor', 'env-variant': 'No-op start', 'score': 4203.0}, {'env-title': 'atari-yars-revenge', 'env-variant': 'No-op start', 'score': 80530.13}, {'env-title': 'atari-zaxxon', 'env-variant': 'No-op start', 'score': 1148.5}]
TS = "timestep" H = "hourly" D = "daily" M = "monthly" A = "annual" RP = "runperiod" FREQUENCY = "frequency" VARIABLE = "variable" KEY = "key" TYPE = "type" UNITS = "units"
ts = 'timestep' h = 'hourly' d = 'daily' m = 'monthly' a = 'annual' rp = 'runperiod' frequency = 'frequency' variable = 'variable' key = 'key' type = 'type' units = 'units'
class ListNode: def __init__(self, val=0, next=None): self.val = val self.next = next def mergeTwoLists(l1, l2): # edge case if l1 is None: return l2 if l2 is None: return l1 # general case cur1 = l1 cur2 = l2 ans = ListNode() cur = ans while cur1 or cur2: if not cur2 or cur1 and cur2 and cur1.val <= cur2.val: cur.next = ListNode(val=cur1.val) cur1 = cur1.next else: cur.next = ListNode(val=cur2.val) cur2 = cur2.next cur = cur.next return ans.next
class Listnode: def __init__(self, val=0, next=None): self.val = val self.next = next def merge_two_lists(l1, l2): if l1 is None: return l2 if l2 is None: return l1 cur1 = l1 cur2 = l2 ans = list_node() cur = ans while cur1 or cur2: if not cur2 or (cur1 and cur2 and (cur1.val <= cur2.val)): cur.next = list_node(val=cur1.val) cur1 = cur1.next else: cur.next = list_node(val=cur2.val) cur2 = cur2.next cur = cur.next return ans.next
class ArgumentError(ValueError): ... class PathOpError(ValueError): ...
class Argumenterror(ValueError): ... class Pathoperror(ValueError): ...
""" Given an integer (signed 32 bits), write a function to check whether it is a power of 4. Example: Given num = 16, return true. Given num = 5, return false. Follow up: Could you solve it without loops/recursion? """ __author__ = 'Daniel' class Solution(object): def isPowerOfFour(self, num): """ Modular calculation 4^a mod 3 = (1)^a mod 3 = 1 :param num: :return: """ if num < 1: return False if num & num -1 != 0: return False return num % 3 == 1 def isPowerOfFourNaive(self, num): """ Naive Determine number of 0 bits to be even :type num: int :rtype: bool """ if num < 1: return False if num & num-1 != 0: return False while True: if num == 0: return False elif num == 1: return True num >>= 2
""" Given an integer (signed 32 bits), write a function to check whether it is a power of 4. Example: Given num = 16, return true. Given num = 5, return false. Follow up: Could you solve it without loops/recursion? """ __author__ = 'Daniel' class Solution(object): def is_power_of_four(self, num): """ Modular calculation 4^a mod 3 = (1)^a mod 3 = 1 :param num: :return: """ if num < 1: return False if num & num - 1 != 0: return False return num % 3 == 1 def is_power_of_four_naive(self, num): """ Naive Determine number of 0 bits to be even :type num: int :rtype: bool """ if num < 1: return False if num & num - 1 != 0: return False while True: if num == 0: return False elif num == 1: return True num >>= 2
# Do not edit. bazel-deps autogenerates this file from. _JAVA_LIBRARY_TEMPLATE = """ java_library( name = "{name}", exports = [ {exports} ], runtime_deps = [ {runtime_deps} ], visibility = [ "{visibility}" ] )\n""" _SCALA_IMPORT_TEMPLATE = """ scala_import( name = "{name}", exports = [ {exports} ], jars = [ {jars} ], runtime_deps = [ {runtime_deps} ], visibility = [ "{visibility}" ] ) """ _SCALA_LIBRARY_TEMPLATE = """ scala_library( name = "{name}", exports = [ {exports} ], runtime_deps = [ {runtime_deps} ], visibility = [ "{visibility}" ] ) """ def _build_external_workspace_from_opts_impl(ctx): build_header = ctx.attr.build_header separator = ctx.attr.separator target_configs = ctx.attr.target_configs result_dict = {} for key, cfg in target_configs.items(): build_file_to_target_name = key.split(":") build_file = build_file_to_target_name[0] target_name = build_file_to_target_name[1] if build_file not in result_dict: result_dict[build_file] = [] result_dict[build_file].append(cfg) for key, file_entries in result_dict.items(): build_file_contents = build_header + '\n\n' for build_target in file_entries: entry_map = {} for entry in build_target: elements = entry.split(separator) build_entry_key = elements[0] if elements[1] == "L": entry_map[build_entry_key] = [e for e in elements[2::] if len(e) > 0] elif elements[1] == "B": entry_map[build_entry_key] = (elements[2] == "true" or elements[2] == "True") else: entry_map[build_entry_key] = elements[2] exports_str = "" for e in entry_map.get("exports", []): exports_str += "\"" + e + "\",\n" jars_str = "" for e in entry_map.get("jars", []): jars_str += "\"" + e + "\",\n" runtime_deps_str = "" for e in entry_map.get("runtimeDeps", []): runtime_deps_str += "\"" + e + "\",\n" name = entry_map["name"].split(":")[1] if entry_map["lang"] == "java": build_file_contents += _JAVA_LIBRARY_TEMPLATE.format(name = name, exports=exports_str, runtime_deps=runtime_deps_str, visibility=entry_map["visibility"]) elif entry_map["lang"].startswith("scala") and entry_map["kind"] == "import": build_file_contents += _SCALA_IMPORT_TEMPLATE.format(name = name, exports=exports_str, jars=jars_str, runtime_deps=runtime_deps_str, visibility=entry_map["visibility"]) elif entry_map["lang"].startswith("scala") and entry_map["kind"] == "library": build_file_contents += _SCALA_LIBRARY_TEMPLATE.format(name = name, exports=exports_str, runtime_deps=runtime_deps_str, visibility=entry_map["visibility"]) else: print(entry_map) ctx.file(ctx.path(key + "/BUILD"), build_file_contents, False) return None build_external_workspace_from_opts = repository_rule( attrs = { "target_configs": attr.string_list_dict(mandatory = True), "separator": attr.string(mandatory = True), "build_header": attr.string(mandatory = True), }, implementation = _build_external_workspace_from_opts_impl ) def build_header(): return """load("@io_bazel_rules_scala//scala:scala_import.bzl", "scala_import") load("@io_bazel_rules_scala//scala:scala.bzl", "scala_library")""" def list_target_data_separator(): return "|||" def list_target_data(): return { "3rdparty/jvm/com/fasterxml/jackson/core:jackson_annotations": ["lang||||||java","name||||||//3rdparty/jvm/com/fasterxml/jackson/core:jackson_annotations","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/com/fasterxml/jackson/core/jackson_annotations","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/com/fasterxml/jackson/core:jackson_core": ["lang||||||java","name||||||//3rdparty/jvm/com/fasterxml/jackson/core:jackson_core","visibility||||||//visibility:public","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/com/fasterxml/jackson/core/jackson_core","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/com/fasterxml/jackson/core:jackson_databind": ["lang||||||java","name||||||//3rdparty/jvm/com/fasterxml/jackson/core:jackson_databind","visibility||||||//visibility:public","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/com/fasterxml/jackson/core/jackson_databind","runtimeDeps|||L|||//3rdparty/jvm/com/fasterxml/jackson/core:jackson_annotations|||//3rdparty/jvm/com/fasterxml/jackson/core:jackson_core","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/com/fasterxml/jackson/dataformat:jackson_dataformat_yaml": ["lang||||||java","name||||||//3rdparty/jvm/com/fasterxml/jackson/dataformat:jackson_dataformat_yaml","visibility||||||//visibility:public","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/com/fasterxml/jackson/dataformat/jackson_dataformat_yaml","runtimeDeps|||L|||//3rdparty/jvm/com/fasterxml/jackson/core:jackson_core|||//3rdparty/jvm/com/fasterxml/jackson/core:jackson_databind|||//3rdparty/jvm/org/yaml:snakeyaml","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/com/google/guava:guava": ["lang||||||java","name||||||//3rdparty/jvm/com/google/guava:guava","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/com/google/guava/guava","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/commons_codec:commons_codec": ["lang||||||java","name||||||//3rdparty/jvm/commons_codec:commons_codec","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/commons_codec/commons_codec","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/javax/annotation:jsr250_api": ["lang||||||java","name||||||//3rdparty/jvm/javax/annotation:jsr250_api","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/javax/annotation/jsr250_api","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/javax/enterprise:cdi_api": ["lang||||||java","name||||||//3rdparty/jvm/javax/enterprise:cdi_api","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/javax/enterprise/cdi_api","runtimeDeps|||L|||//3rdparty/jvm/javax/annotation:jsr250_api|||//3rdparty/jvm/javax/inject:javax_inject","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/javax/inject:javax_inject": ["lang||||||java","name||||||//3rdparty/jvm/javax/inject:javax_inject","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/javax/inject/javax_inject","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/apache/commons:commons_lang3": ["lang||||||java","name||||||//3rdparty/jvm/org/apache/commons:commons_lang3","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/apache/commons/commons_lang3","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/apache/httpcomponents:httpclient": ["lang||||||java","name||||||//3rdparty/jvm/org/apache/httpcomponents:httpclient","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/apache/httpcomponents/httpclient","runtimeDeps|||L|||//3rdparty/jvm/org/apache/httpcomponents:httpcore|||//3rdparty/jvm/commons_codec:commons_codec","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/apache/httpcomponents:httpcore": ["lang||||||java","name||||||//3rdparty/jvm/org/apache/httpcomponents:httpcore","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/apache/httpcomponents/httpcore","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/apache/maven:maven_aether_provider": ["lang||||||java","name||||||//3rdparty/jvm/org/apache/maven:maven_aether_provider","visibility||||||//visibility:public","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/apache/maven/maven_aether_provider","runtimeDeps|||L|||//3rdparty/jvm/org/apache/maven:maven_model|||//3rdparty/jvm/org/apache/commons:commons_lang3|||//3rdparty/jvm/org/codehaus/plexus:plexus_component_annotations|||//3rdparty/jvm/org/eclipse/aether:aether_spi|||//3rdparty/jvm/org/apache/maven:maven_model_builder|||//3rdparty/jvm/org/codehaus/plexus:plexus_utils|||//3rdparty/jvm/org/eclipse/aether:aether_util|||//3rdparty/jvm/org/eclipse/aether:aether_api|||//3rdparty/jvm/org/eclipse/aether:aether_impl|||//3rdparty/jvm/org/apache/maven:maven_repository_metadata","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/apache/maven:maven_artifact": ["lang||||||java","name||||||//3rdparty/jvm/org/apache/maven:maven_artifact","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/apache/maven/maven_artifact","runtimeDeps|||L|||//3rdparty/jvm/org/codehaus/plexus:plexus_utils|||//3rdparty/jvm/org/apache/commons:commons_lang3","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/apache/maven:maven_builder_support": ["lang||||||java","name||||||//3rdparty/jvm/org/apache/maven:maven_builder_support","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/apache/maven/maven_builder_support","runtimeDeps|||L|||//3rdparty/jvm/org/codehaus/plexus:plexus_utils|||//3rdparty/jvm/org/apache/commons:commons_lang3","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/apache/maven:maven_model": ["lang||||||java","name||||||//3rdparty/jvm/org/apache/maven:maven_model","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/apache/maven/maven_model","runtimeDeps|||L|||//3rdparty/jvm/org/codehaus/plexus:plexus_utils|||//3rdparty/jvm/org/apache/commons:commons_lang3","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/apache/maven:maven_model_builder": ["lang||||||java","name||||||//3rdparty/jvm/org/apache/maven:maven_model_builder","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/apache/maven/maven_model_builder","runtimeDeps|||L|||//3rdparty/jvm/org/apache/maven:maven_model|||//3rdparty/jvm/org/apache/commons:commons_lang3|||//3rdparty/jvm/org/apache/maven:maven_builder_support|||//3rdparty/jvm/com/google/guava:guava|||//3rdparty/jvm/org/codehaus/plexus:plexus_component_annotations|||//3rdparty/jvm/org/codehaus/plexus:plexus_utils|||//3rdparty/jvm/org/apache/maven:maven_artifact|||//3rdparty/jvm/org/codehaus/plexus:plexus_interpolation","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/apache/maven:maven_repository_metadata": ["lang||||||java","name||||||//3rdparty/jvm/org/apache/maven:maven_repository_metadata","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/apache/maven/maven_repository_metadata","runtimeDeps|||L|||//3rdparty/jvm/org/codehaus/plexus:plexus_utils","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/apache/maven:maven_settings": ["lang||||||java","name||||||//3rdparty/jvm/org/apache/maven:maven_settings","visibility||||||//visibility:public","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/apache/maven/maven_settings","runtimeDeps|||L|||//3rdparty/jvm/org/codehaus/plexus:plexus_utils","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/apache/maven:maven_settings_builder": ["lang||||||java","name||||||//3rdparty/jvm/org/apache/maven:maven_settings_builder","visibility||||||//visibility:public","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/apache/maven/maven_settings_builder","runtimeDeps|||L|||//3rdparty/jvm/org/apache/commons:commons_lang3|||//3rdparty/jvm/org/apache/maven:maven_builder_support|||//3rdparty/jvm/org/sonatype/plexus:plexus_sec_dispatcher|||//3rdparty/jvm/org/codehaus/plexus:plexus_component_annotations|||//3rdparty/jvm/org/codehaus/plexus:plexus_utils|||//3rdparty/jvm/org/codehaus/plexus:plexus_interpolation|||//3rdparty/jvm/org/apache/maven:maven_settings","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/codehaus/plexus:plexus_classworlds": ["lang||||||java","name||||||//3rdparty/jvm/org/codehaus/plexus:plexus_classworlds","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/codehaus/plexus/plexus_classworlds","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/codehaus/plexus:plexus_component_annotations": ["lang||||||java","name||||||//3rdparty/jvm/org/codehaus/plexus:plexus_component_annotations","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/codehaus/plexus/plexus_component_annotations","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/codehaus/plexus:plexus_interpolation": ["lang||||||java","name||||||//3rdparty/jvm/org/codehaus/plexus:plexus_interpolation","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/codehaus/plexus/plexus_interpolation","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/codehaus/plexus:plexus_utils": ["lang||||||java","name||||||//3rdparty/jvm/org/codehaus/plexus:plexus_utils","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/codehaus/plexus/plexus_utils","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/eclipse/aether:aether_api": ["lang||||||java","name||||||//3rdparty/jvm/org/eclipse/aether:aether_api","visibility||||||//visibility:public","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/eclipse/aether/aether_api","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/eclipse/aether:aether_connector_basic": ["lang||||||java","name||||||//3rdparty/jvm/org/eclipse/aether:aether_connector_basic","visibility||||||//visibility:public","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/eclipse/aether/aether_connector_basic","runtimeDeps|||L|||//3rdparty/jvm/org/eclipse/aether:aether_api|||//3rdparty/jvm/org/eclipse/aether:aether_spi|||//3rdparty/jvm/org/eclipse/aether:aether_util","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/eclipse/aether:aether_impl": ["lang||||||java","name||||||//3rdparty/jvm/org/eclipse/aether:aether_impl","visibility||||||//visibility:public","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/eclipse/aether/aether_impl","runtimeDeps|||L|||//3rdparty/jvm/org/eclipse/aether:aether_api|||//3rdparty/jvm/org/eclipse/aether:aether_spi|||//3rdparty/jvm/org/eclipse/aether:aether_util","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/eclipse/aether:aether_spi": ["lang||||||java","name||||||//3rdparty/jvm/org/eclipse/aether:aether_spi","visibility||||||//visibility:public","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/eclipse/aether/aether_spi","runtimeDeps|||L|||//3rdparty/jvm/org/eclipse/aether:aether_api","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/eclipse/aether:aether_transport_file": ["lang||||||java","name||||||//3rdparty/jvm/org/eclipse/aether:aether_transport_file","visibility||||||//visibility:public","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/eclipse/aether/aether_transport_file","runtimeDeps|||L|||//3rdparty/jvm/org/eclipse/aether:aether_api|||//3rdparty/jvm/org/eclipse/aether:aether_spi|||//3rdparty/jvm/org/eclipse/aether:aether_util","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/eclipse/aether:aether_transport_http": ["lang||||||java","name||||||//3rdparty/jvm/org/eclipse/aether:aether_transport_http","visibility||||||//visibility:public","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/eclipse/aether/aether_transport_http","runtimeDeps|||L|||//3rdparty/jvm/org/eclipse/aether:aether_spi|||//3rdparty/jvm/org/eclipse/aether:aether_util|||//3rdparty/jvm/org/eclipse/aether:aether_api|||//3rdparty/jvm/org/apache/httpcomponents:httpclient|||//3rdparty/jvm/org/slf4j:jcl_over_slf4j","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/eclipse/aether:aether_util": ["lang||||||java","name||||||//3rdparty/jvm/org/eclipse/aether:aether_util","visibility||||||//visibility:public","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/eclipse/aether/aether_util","runtimeDeps|||L|||//3rdparty/jvm/org/eclipse/aether:aether_api","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/eclipse/sisu:org_eclipse_sisu_inject": ["lang||||||java","name||||||//3rdparty/jvm/org/eclipse/sisu:org_eclipse_sisu_inject","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/eclipse/sisu/org_eclipse_sisu_inject","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/eclipse/sisu:org_eclipse_sisu_plexus": ["lang||||||java","name||||||//3rdparty/jvm/org/eclipse/sisu:org_eclipse_sisu_plexus","visibility||||||//visibility:public","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/eclipse/sisu/org_eclipse_sisu_plexus","runtimeDeps|||L|||//3rdparty/jvm/org/codehaus/plexus:plexus_component_annotations|||//3rdparty/jvm/org/codehaus/plexus:plexus_utils|||//3rdparty/jvm/org/eclipse/sisu:org_eclipse_sisu_inject|||//3rdparty/jvm/org/codehaus/plexus:plexus_classworlds|||//3rdparty/jvm/javax/enterprise:cdi_api","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/scala_sbt:test_interface": ["lang||||||java","name||||||//3rdparty/jvm/org/scala_sbt:test_interface","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/scala_sbt/test_interface","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/slf4j:jcl_over_slf4j": ["lang||||||java","name||||||//3rdparty/jvm/org/slf4j:jcl_over_slf4j","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/slf4j/jcl_over_slf4j","runtimeDeps|||L|||//3rdparty/jvm/org/slf4j:slf4j_api","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/slf4j:slf4j_api": ["lang||||||java","name||||||//3rdparty/jvm/org/slf4j:slf4j_api","visibility||||||//visibility:public","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/slf4j/slf4j_api","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/slf4j:slf4j_simple": ["lang||||||java","name||||||//3rdparty/jvm/org/slf4j:slf4j_simple","visibility||||||//visibility:public","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/slf4j/slf4j_simple","runtimeDeps|||L|||//3rdparty/jvm/org/slf4j:slf4j_api","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/sonatype/plexus:plexus_cipher": ["lang||||||java","name||||||//3rdparty/jvm/org/sonatype/plexus:plexus_cipher","visibility||||||//visibility:public","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/sonatype/plexus/plexus_cipher","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/sonatype/plexus:plexus_sec_dispatcher": ["lang||||||java","name||||||//3rdparty/jvm/org/sonatype/plexus:plexus_sec_dispatcher","visibility||||||//visibility:public","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/sonatype/plexus/plexus_sec_dispatcher","runtimeDeps|||L|||//3rdparty/jvm/org/codehaus/plexus:plexus_utils|||//3rdparty/jvm/org/sonatype/plexus:plexus_cipher","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/yaml:snakeyaml": ["lang||||||java","name||||||//3rdparty/jvm/org/yaml:snakeyaml","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||//external:jar/org/yaml/snakeyaml","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/scala_lang:scala_compiler": ["lang||||||scala/unmangled:2.11.8","name||||||//3rdparty/jvm/org/scala_lang:scala_compiler","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||@io_bazel_rules_scala_scala_compiler//:io_bazel_rules_scala_scala_compiler","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/scala_lang:scala_library": ["lang||||||scala/unmangled:2.11.8","name||||||//3rdparty/jvm/org/scala_lang:scala_library","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||@io_bazel_rules_scala_scala_library//:io_bazel_rules_scala_scala_library","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/scala_lang:scala_reflect": ["lang||||||scala/unmangled:2.11.8","name||||||//3rdparty/jvm/org/scala_lang:scala_reflect","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||@io_bazel_rules_scala_scala_reflect//:io_bazel_rules_scala_scala_reflect","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/com/chuusai:shapeless": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/com/chuusai:shapeless","visibility||||||//visibility:public","kind||||||import","deps|||L|||","jars|||L|||//external:jar/com/chuusai/shapeless_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/org/typelevel:macro_compat","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/com/github/alexarchambault:argonaut_shapeless_6_2": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/com/github/alexarchambault:argonaut_shapeless_6_2","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||import","deps|||L|||","jars|||L|||//external:jar/com/github/alexarchambault/argonaut_shapeless_6_2_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/io/argonaut:argonaut|||//3rdparty/jvm/com/chuusai:shapeless","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/com/monovore:decline": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/com/monovore:decline","visibility||||||//visibility:public","kind||||||import","deps|||L|||","jars|||L|||//external:jar/com/monovore/decline_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/org/typelevel:cats_core","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/io/argonaut:argonaut": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/io/argonaut:argonaut","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||import","deps|||L|||","jars|||L|||//external:jar/io/argonaut/argonaut_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_reflect","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/io/circe:circe_core": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/io/circe:circe_core","visibility||||||//visibility:public","kind||||||import","deps|||L|||","jars|||L|||//external:jar/io/circe/circe_core_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/io/circe:circe_numbers|||//3rdparty/jvm/org/typelevel:cats_core","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/io/circe:circe_generic": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/io/circe:circe_generic","visibility||||||//visibility:public","kind||||||import","deps|||L|||","jars|||L|||//external:jar/io/circe/circe_generic_2_11","sources|||L|||","exports|||L|||//3rdparty/jvm/com/chuusai:shapeless|||//3rdparty/jvm/org/typelevel:cats_core|||//3rdparty/jvm/org/typelevel:cats_kernel|||//3rdparty/jvm/org/typelevel:macro_compat","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/io/circe:circe_core","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/io/circe:circe_jackson25": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/io/circe:circe_jackson25","visibility||||||//visibility:public","kind||||||import","deps|||L|||","jars|||L|||//external:jar/io/circe/circe_jackson25_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/io/circe:circe_core|||//3rdparty/jvm/com/fasterxml/jackson/core:jackson_core|||//3rdparty/jvm/com/fasterxml/jackson/core:jackson_databind","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/io/circe:circe_jawn": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/io/circe:circe_jawn","visibility||||||//visibility:public","kind||||||import","deps|||L|||","jars|||L|||//external:jar/io/circe/circe_jawn_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/io/circe:circe_core|||//3rdparty/jvm/org/spire_math:jawn_parser","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/io/circe:circe_numbers": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/io/circe:circe_numbers","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||import","deps|||L|||","jars|||L|||//external:jar/io/circe/circe_numbers_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/io/get_coursier:coursier": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/io/get_coursier:coursier","visibility||||||//visibility:public","kind||||||import","deps|||L|||","jars|||L|||//external:jar/io/get_coursier/coursier_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/io/get_coursier:coursier_core|||//3rdparty/jvm/io/get_coursier:coursier_cache|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/com/github/alexarchambault:argonaut_shapeless_6_2","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/io/get_coursier:coursier_cache": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/io/get_coursier:coursier_cache","visibility||||||//visibility:public","kind||||||import","deps|||L|||","jars|||L|||//external:jar/io/get_coursier/coursier_cache_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/io/get_coursier:coursier_util|||//3rdparty/jvm/org/scala_lang:scala_library","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/io/get_coursier:coursier_core": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/io/get_coursier:coursier_core","visibility||||||//visibility:public","kind||||||import","deps|||L|||","jars|||L|||//external:jar/io/get_coursier/coursier_core_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/io/get_coursier:coursier_util|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/org/scala_lang/modules:scala_xml","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/io/get_coursier:coursier_util": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/io/get_coursier:coursier_util","visibility||||||//visibility:public","kind||||||import","deps|||L|||","jars|||L|||//external:jar/io/get_coursier/coursier_util_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/scala_lang/modules:scala_parser_combinators": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/org/scala_lang/modules:scala_parser_combinators","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||@io_bazel_rules_scala_scala_parser_combinators//:io_bazel_rules_scala_scala_parser_combinators","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/scala_lang/modules:scala_xml": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/org/scala_lang/modules:scala_xml","visibility||||||//visibility:public","kind||||||library","deps|||L|||","jars|||L|||","sources|||L|||","exports|||L|||@io_bazel_rules_scala_scala_xml//:io_bazel_rules_scala_scala_xml","runtimeDeps|||L|||","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/scalacheck:scalacheck": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/org/scalacheck:scalacheck","visibility||||||//visibility:public","kind||||||import","deps|||L|||","jars|||L|||//external:jar/org/scalacheck/scalacheck_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/org/scala_sbt:test_interface","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/scalactic:scalactic": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/org/scalactic:scalactic","visibility||||||//visibility:public","kind||||||import","deps|||L|||","jars|||L|||//external:jar/org/scalactic/scalactic_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/org/scala_lang:scala_reflect","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/scalatest:scalatest": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/org/scalatest:scalatest","visibility||||||//visibility:public","kind||||||import","deps|||L|||","jars|||L|||//external:jar/org/scalatest/scalatest_2_11","sources|||L|||","exports|||L|||//3rdparty/jvm/org/scalactic:scalactic","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/org/scala_lang:scala_reflect|||//3rdparty/jvm/org/scala_lang/modules:scala_xml","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/spire_math:jawn_parser": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/org/spire_math:jawn_parser","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||import","deps|||L|||","jars|||L|||//external:jar/org/spire_math/jawn_parser_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/spire_math:kind_projector": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/org/spire_math:kind_projector","visibility||||||//visibility:public","kind||||||import","deps|||L|||","jars|||L|||//external:jar/org/spire_math/kind_projector_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_compiler|||//3rdparty/jvm/org/scala_lang:scala_library","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/typelevel:cats_core": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/org/typelevel:cats_core","visibility||||||//visibility:public","kind||||||import","deps|||L|||","jars|||L|||//external:jar/org/typelevel/cats_core_2_11","sources|||L|||","exports|||L|||//3rdparty/jvm/org/typelevel:cats_kernel","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/org/typelevel:cats_macros|||//3rdparty/jvm/org/typelevel:machinist","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/typelevel:cats_free": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/org/typelevel:cats_free","visibility||||||//visibility:public","kind||||||import","deps|||L|||","jars|||L|||//external:jar/org/typelevel/cats_free_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/org/typelevel:cats_macros|||//3rdparty/jvm/org/typelevel:cats_core|||//3rdparty/jvm/org/typelevel:machinist","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/typelevel:cats_kernel": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/org/typelevel:cats_kernel","visibility||||||//visibility:public","kind||||||import","deps|||L|||","jars|||L|||//external:jar/org/typelevel/cats_kernel_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/typelevel:cats_macros": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/org/typelevel:cats_macros","visibility||||||//visibility:public","kind||||||import","deps|||L|||","jars|||L|||//external:jar/org/typelevel/cats_macros_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/org/typelevel:machinist","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/typelevel:machinist": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/org/typelevel:machinist","visibility||||||//3rdparty/jvm:__subpackages__","kind||||||import","deps|||L|||","jars|||L|||//external:jar/org/typelevel/machinist_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_reflect|||//3rdparty/jvm/org/scala_lang:scala_library","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/typelevel:macro_compat": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/org/typelevel:macro_compat","visibility||||||//visibility:public","kind||||||import","deps|||L|||","jars|||L|||//external:jar/org/typelevel/macro_compat_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"], "3rdparty/jvm/org/typelevel:paiges_core": ["lang||||||scala:2.11.8","name||||||//3rdparty/jvm/org/typelevel:paiges_core","visibility||||||//visibility:public","kind||||||import","deps|||L|||","jars|||L|||//external:jar/org/typelevel/paiges_core_2_11","sources|||L|||","exports|||L|||","runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library","processorClasses|||L|||","generatesApi|||B|||false","licenses|||L|||","generateNeverlink|||B|||false"] } def build_external_workspace(name): return build_external_workspace_from_opts(name = name, target_configs = list_target_data(), separator = list_target_data_separator(), build_header = build_header())
_java_library_template = '\njava_library(\n name = "{name}",\n exports = [\n {exports}\n ],\n runtime_deps = [\n {runtime_deps}\n ],\n visibility = [\n "{visibility}"\n ]\n)\n' _scala_import_template = '\nscala_import(\n name = "{name}",\n exports = [\n {exports}\n ],\n jars = [\n {jars}\n ],\n runtime_deps = [\n {runtime_deps}\n ],\n visibility = [\n "{visibility}"\n ]\n)\n' _scala_library_template = '\nscala_library(\n name = "{name}",\n exports = [\n {exports}\n ],\n runtime_deps = [\n {runtime_deps}\n ],\n visibility = [\n "{visibility}"\n ]\n)\n' def _build_external_workspace_from_opts_impl(ctx): build_header = ctx.attr.build_header separator = ctx.attr.separator target_configs = ctx.attr.target_configs result_dict = {} for (key, cfg) in target_configs.items(): build_file_to_target_name = key.split(':') build_file = build_file_to_target_name[0] target_name = build_file_to_target_name[1] if build_file not in result_dict: result_dict[build_file] = [] result_dict[build_file].append(cfg) for (key, file_entries) in result_dict.items(): build_file_contents = build_header + '\n\n' for build_target in file_entries: entry_map = {} for entry in build_target: elements = entry.split(separator) build_entry_key = elements[0] if elements[1] == 'L': entry_map[build_entry_key] = [e for e in elements[2:] if len(e) > 0] elif elements[1] == 'B': entry_map[build_entry_key] = elements[2] == 'true' or elements[2] == 'True' else: entry_map[build_entry_key] = elements[2] exports_str = '' for e in entry_map.get('exports', []): exports_str += '"' + e + '",\n' jars_str = '' for e in entry_map.get('jars', []): jars_str += '"' + e + '",\n' runtime_deps_str = '' for e in entry_map.get('runtimeDeps', []): runtime_deps_str += '"' + e + '",\n' name = entry_map['name'].split(':')[1] if entry_map['lang'] == 'java': build_file_contents += _JAVA_LIBRARY_TEMPLATE.format(name=name, exports=exports_str, runtime_deps=runtime_deps_str, visibility=entry_map['visibility']) elif entry_map['lang'].startswith('scala') and entry_map['kind'] == 'import': build_file_contents += _SCALA_IMPORT_TEMPLATE.format(name=name, exports=exports_str, jars=jars_str, runtime_deps=runtime_deps_str, visibility=entry_map['visibility']) elif entry_map['lang'].startswith('scala') and entry_map['kind'] == 'library': build_file_contents += _SCALA_LIBRARY_TEMPLATE.format(name=name, exports=exports_str, runtime_deps=runtime_deps_str, visibility=entry_map['visibility']) else: print(entry_map) ctx.file(ctx.path(key + '/BUILD'), build_file_contents, False) return None build_external_workspace_from_opts = repository_rule(attrs={'target_configs': attr.string_list_dict(mandatory=True), 'separator': attr.string(mandatory=True), 'build_header': attr.string(mandatory=True)}, implementation=_build_external_workspace_from_opts_impl) def build_header(): return 'load("@io_bazel_rules_scala//scala:scala_import.bzl", "scala_import")\nload("@io_bazel_rules_scala//scala:scala.bzl", "scala_library")' def list_target_data_separator(): return '|||' def list_target_data(): return {'3rdparty/jvm/com/fasterxml/jackson/core:jackson_annotations': ['lang||||||java', 'name||||||//3rdparty/jvm/com/fasterxml/jackson/core:jackson_annotations', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/com/fasterxml/jackson/core/jackson_annotations', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/com/fasterxml/jackson/core:jackson_core': ['lang||||||java', 'name||||||//3rdparty/jvm/com/fasterxml/jackson/core:jackson_core', 'visibility||||||//visibility:public', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/com/fasterxml/jackson/core/jackson_core', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/com/fasterxml/jackson/core:jackson_databind': ['lang||||||java', 'name||||||//3rdparty/jvm/com/fasterxml/jackson/core:jackson_databind', 'visibility||||||//visibility:public', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/com/fasterxml/jackson/core/jackson_databind', 'runtimeDeps|||L|||//3rdparty/jvm/com/fasterxml/jackson/core:jackson_annotations|||//3rdparty/jvm/com/fasterxml/jackson/core:jackson_core', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/com/fasterxml/jackson/dataformat:jackson_dataformat_yaml': ['lang||||||java', 'name||||||//3rdparty/jvm/com/fasterxml/jackson/dataformat:jackson_dataformat_yaml', 'visibility||||||//visibility:public', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/com/fasterxml/jackson/dataformat/jackson_dataformat_yaml', 'runtimeDeps|||L|||//3rdparty/jvm/com/fasterxml/jackson/core:jackson_core|||//3rdparty/jvm/com/fasterxml/jackson/core:jackson_databind|||//3rdparty/jvm/org/yaml:snakeyaml', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/com/google/guava:guava': ['lang||||||java', 'name||||||//3rdparty/jvm/com/google/guava:guava', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/com/google/guava/guava', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/commons_codec:commons_codec': ['lang||||||java', 'name||||||//3rdparty/jvm/commons_codec:commons_codec', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/commons_codec/commons_codec', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/javax/annotation:jsr250_api': ['lang||||||java', 'name||||||//3rdparty/jvm/javax/annotation:jsr250_api', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/javax/annotation/jsr250_api', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/javax/enterprise:cdi_api': ['lang||||||java', 'name||||||//3rdparty/jvm/javax/enterprise:cdi_api', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/javax/enterprise/cdi_api', 'runtimeDeps|||L|||//3rdparty/jvm/javax/annotation:jsr250_api|||//3rdparty/jvm/javax/inject:javax_inject', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/javax/inject:javax_inject': ['lang||||||java', 'name||||||//3rdparty/jvm/javax/inject:javax_inject', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/javax/inject/javax_inject', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/apache/commons:commons_lang3': ['lang||||||java', 'name||||||//3rdparty/jvm/org/apache/commons:commons_lang3', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/apache/commons/commons_lang3', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/apache/httpcomponents:httpclient': ['lang||||||java', 'name||||||//3rdparty/jvm/org/apache/httpcomponents:httpclient', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/apache/httpcomponents/httpclient', 'runtimeDeps|||L|||//3rdparty/jvm/org/apache/httpcomponents:httpcore|||//3rdparty/jvm/commons_codec:commons_codec', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/apache/httpcomponents:httpcore': ['lang||||||java', 'name||||||//3rdparty/jvm/org/apache/httpcomponents:httpcore', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/apache/httpcomponents/httpcore', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/apache/maven:maven_aether_provider': ['lang||||||java', 'name||||||//3rdparty/jvm/org/apache/maven:maven_aether_provider', 'visibility||||||//visibility:public', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/apache/maven/maven_aether_provider', 'runtimeDeps|||L|||//3rdparty/jvm/org/apache/maven:maven_model|||//3rdparty/jvm/org/apache/commons:commons_lang3|||//3rdparty/jvm/org/codehaus/plexus:plexus_component_annotations|||//3rdparty/jvm/org/eclipse/aether:aether_spi|||//3rdparty/jvm/org/apache/maven:maven_model_builder|||//3rdparty/jvm/org/codehaus/plexus:plexus_utils|||//3rdparty/jvm/org/eclipse/aether:aether_util|||//3rdparty/jvm/org/eclipse/aether:aether_api|||//3rdparty/jvm/org/eclipse/aether:aether_impl|||//3rdparty/jvm/org/apache/maven:maven_repository_metadata', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/apache/maven:maven_artifact': ['lang||||||java', 'name||||||//3rdparty/jvm/org/apache/maven:maven_artifact', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/apache/maven/maven_artifact', 'runtimeDeps|||L|||//3rdparty/jvm/org/codehaus/plexus:plexus_utils|||//3rdparty/jvm/org/apache/commons:commons_lang3', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/apache/maven:maven_builder_support': ['lang||||||java', 'name||||||//3rdparty/jvm/org/apache/maven:maven_builder_support', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/apache/maven/maven_builder_support', 'runtimeDeps|||L|||//3rdparty/jvm/org/codehaus/plexus:plexus_utils|||//3rdparty/jvm/org/apache/commons:commons_lang3', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/apache/maven:maven_model': ['lang||||||java', 'name||||||//3rdparty/jvm/org/apache/maven:maven_model', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/apache/maven/maven_model', 'runtimeDeps|||L|||//3rdparty/jvm/org/codehaus/plexus:plexus_utils|||//3rdparty/jvm/org/apache/commons:commons_lang3', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/apache/maven:maven_model_builder': ['lang||||||java', 'name||||||//3rdparty/jvm/org/apache/maven:maven_model_builder', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/apache/maven/maven_model_builder', 'runtimeDeps|||L|||//3rdparty/jvm/org/apache/maven:maven_model|||//3rdparty/jvm/org/apache/commons:commons_lang3|||//3rdparty/jvm/org/apache/maven:maven_builder_support|||//3rdparty/jvm/com/google/guava:guava|||//3rdparty/jvm/org/codehaus/plexus:plexus_component_annotations|||//3rdparty/jvm/org/codehaus/plexus:plexus_utils|||//3rdparty/jvm/org/apache/maven:maven_artifact|||//3rdparty/jvm/org/codehaus/plexus:plexus_interpolation', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/apache/maven:maven_repository_metadata': ['lang||||||java', 'name||||||//3rdparty/jvm/org/apache/maven:maven_repository_metadata', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/apache/maven/maven_repository_metadata', 'runtimeDeps|||L|||//3rdparty/jvm/org/codehaus/plexus:plexus_utils', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/apache/maven:maven_settings': ['lang||||||java', 'name||||||//3rdparty/jvm/org/apache/maven:maven_settings', 'visibility||||||//visibility:public', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/apache/maven/maven_settings', 'runtimeDeps|||L|||//3rdparty/jvm/org/codehaus/plexus:plexus_utils', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/apache/maven:maven_settings_builder': ['lang||||||java', 'name||||||//3rdparty/jvm/org/apache/maven:maven_settings_builder', 'visibility||||||//visibility:public', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/apache/maven/maven_settings_builder', 'runtimeDeps|||L|||//3rdparty/jvm/org/apache/commons:commons_lang3|||//3rdparty/jvm/org/apache/maven:maven_builder_support|||//3rdparty/jvm/org/sonatype/plexus:plexus_sec_dispatcher|||//3rdparty/jvm/org/codehaus/plexus:plexus_component_annotations|||//3rdparty/jvm/org/codehaus/plexus:plexus_utils|||//3rdparty/jvm/org/codehaus/plexus:plexus_interpolation|||//3rdparty/jvm/org/apache/maven:maven_settings', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/codehaus/plexus:plexus_classworlds': ['lang||||||java', 'name||||||//3rdparty/jvm/org/codehaus/plexus:plexus_classworlds', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/codehaus/plexus/plexus_classworlds', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/codehaus/plexus:plexus_component_annotations': ['lang||||||java', 'name||||||//3rdparty/jvm/org/codehaus/plexus:plexus_component_annotations', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/codehaus/plexus/plexus_component_annotations', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/codehaus/plexus:plexus_interpolation': ['lang||||||java', 'name||||||//3rdparty/jvm/org/codehaus/plexus:plexus_interpolation', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/codehaus/plexus/plexus_interpolation', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/codehaus/plexus:plexus_utils': ['lang||||||java', 'name||||||//3rdparty/jvm/org/codehaus/plexus:plexus_utils', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/codehaus/plexus/plexus_utils', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/eclipse/aether:aether_api': ['lang||||||java', 'name||||||//3rdparty/jvm/org/eclipse/aether:aether_api', 'visibility||||||//visibility:public', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/eclipse/aether/aether_api', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/eclipse/aether:aether_connector_basic': ['lang||||||java', 'name||||||//3rdparty/jvm/org/eclipse/aether:aether_connector_basic', 'visibility||||||//visibility:public', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/eclipse/aether/aether_connector_basic', 'runtimeDeps|||L|||//3rdparty/jvm/org/eclipse/aether:aether_api|||//3rdparty/jvm/org/eclipse/aether:aether_spi|||//3rdparty/jvm/org/eclipse/aether:aether_util', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/eclipse/aether:aether_impl': ['lang||||||java', 'name||||||//3rdparty/jvm/org/eclipse/aether:aether_impl', 'visibility||||||//visibility:public', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/eclipse/aether/aether_impl', 'runtimeDeps|||L|||//3rdparty/jvm/org/eclipse/aether:aether_api|||//3rdparty/jvm/org/eclipse/aether:aether_spi|||//3rdparty/jvm/org/eclipse/aether:aether_util', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/eclipse/aether:aether_spi': ['lang||||||java', 'name||||||//3rdparty/jvm/org/eclipse/aether:aether_spi', 'visibility||||||//visibility:public', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/eclipse/aether/aether_spi', 'runtimeDeps|||L|||//3rdparty/jvm/org/eclipse/aether:aether_api', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/eclipse/aether:aether_transport_file': ['lang||||||java', 'name||||||//3rdparty/jvm/org/eclipse/aether:aether_transport_file', 'visibility||||||//visibility:public', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/eclipse/aether/aether_transport_file', 'runtimeDeps|||L|||//3rdparty/jvm/org/eclipse/aether:aether_api|||//3rdparty/jvm/org/eclipse/aether:aether_spi|||//3rdparty/jvm/org/eclipse/aether:aether_util', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/eclipse/aether:aether_transport_http': ['lang||||||java', 'name||||||//3rdparty/jvm/org/eclipse/aether:aether_transport_http', 'visibility||||||//visibility:public', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/eclipse/aether/aether_transport_http', 'runtimeDeps|||L|||//3rdparty/jvm/org/eclipse/aether:aether_spi|||//3rdparty/jvm/org/eclipse/aether:aether_util|||//3rdparty/jvm/org/eclipse/aether:aether_api|||//3rdparty/jvm/org/apache/httpcomponents:httpclient|||//3rdparty/jvm/org/slf4j:jcl_over_slf4j', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/eclipse/aether:aether_util': ['lang||||||java', 'name||||||//3rdparty/jvm/org/eclipse/aether:aether_util', 'visibility||||||//visibility:public', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/eclipse/aether/aether_util', 'runtimeDeps|||L|||//3rdparty/jvm/org/eclipse/aether:aether_api', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/eclipse/sisu:org_eclipse_sisu_inject': ['lang||||||java', 'name||||||//3rdparty/jvm/org/eclipse/sisu:org_eclipse_sisu_inject', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/eclipse/sisu/org_eclipse_sisu_inject', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/eclipse/sisu:org_eclipse_sisu_plexus': ['lang||||||java', 'name||||||//3rdparty/jvm/org/eclipse/sisu:org_eclipse_sisu_plexus', 'visibility||||||//visibility:public', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/eclipse/sisu/org_eclipse_sisu_plexus', 'runtimeDeps|||L|||//3rdparty/jvm/org/codehaus/plexus:plexus_component_annotations|||//3rdparty/jvm/org/codehaus/plexus:plexus_utils|||//3rdparty/jvm/org/eclipse/sisu:org_eclipse_sisu_inject|||//3rdparty/jvm/org/codehaus/plexus:plexus_classworlds|||//3rdparty/jvm/javax/enterprise:cdi_api', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/scala_sbt:test_interface': ['lang||||||java', 'name||||||//3rdparty/jvm/org/scala_sbt:test_interface', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/scala_sbt/test_interface', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/slf4j:jcl_over_slf4j': ['lang||||||java', 'name||||||//3rdparty/jvm/org/slf4j:jcl_over_slf4j', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/slf4j/jcl_over_slf4j', 'runtimeDeps|||L|||//3rdparty/jvm/org/slf4j:slf4j_api', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/slf4j:slf4j_api': ['lang||||||java', 'name||||||//3rdparty/jvm/org/slf4j:slf4j_api', 'visibility||||||//visibility:public', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/slf4j/slf4j_api', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/slf4j:slf4j_simple': ['lang||||||java', 'name||||||//3rdparty/jvm/org/slf4j:slf4j_simple', 'visibility||||||//visibility:public', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/slf4j/slf4j_simple', 'runtimeDeps|||L|||//3rdparty/jvm/org/slf4j:slf4j_api', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/sonatype/plexus:plexus_cipher': ['lang||||||java', 'name||||||//3rdparty/jvm/org/sonatype/plexus:plexus_cipher', 'visibility||||||//visibility:public', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/sonatype/plexus/plexus_cipher', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/sonatype/plexus:plexus_sec_dispatcher': ['lang||||||java', 'name||||||//3rdparty/jvm/org/sonatype/plexus:plexus_sec_dispatcher', 'visibility||||||//visibility:public', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/sonatype/plexus/plexus_sec_dispatcher', 'runtimeDeps|||L|||//3rdparty/jvm/org/codehaus/plexus:plexus_utils|||//3rdparty/jvm/org/sonatype/plexus:plexus_cipher', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/yaml:snakeyaml': ['lang||||||java', 'name||||||//3rdparty/jvm/org/yaml:snakeyaml', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||//external:jar/org/yaml/snakeyaml', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/scala_lang:scala_compiler': ['lang||||||scala/unmangled:2.11.8', 'name||||||//3rdparty/jvm/org/scala_lang:scala_compiler', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||@io_bazel_rules_scala_scala_compiler//:io_bazel_rules_scala_scala_compiler', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/scala_lang:scala_library': ['lang||||||scala/unmangled:2.11.8', 'name||||||//3rdparty/jvm/org/scala_lang:scala_library', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||@io_bazel_rules_scala_scala_library//:io_bazel_rules_scala_scala_library', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/scala_lang:scala_reflect': ['lang||||||scala/unmangled:2.11.8', 'name||||||//3rdparty/jvm/org/scala_lang:scala_reflect', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||@io_bazel_rules_scala_scala_reflect//:io_bazel_rules_scala_scala_reflect', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/com/chuusai:shapeless': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/com/chuusai:shapeless', 'visibility||||||//visibility:public', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/com/chuusai/shapeless_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/org/typelevel:macro_compat', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/com/github/alexarchambault:argonaut_shapeless_6_2': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/com/github/alexarchambault:argonaut_shapeless_6_2', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/com/github/alexarchambault/argonaut_shapeless_6_2_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/io/argonaut:argonaut|||//3rdparty/jvm/com/chuusai:shapeless', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/com/monovore:decline': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/com/monovore:decline', 'visibility||||||//visibility:public', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/com/monovore/decline_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/org/typelevel:cats_core', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/io/argonaut:argonaut': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/io/argonaut:argonaut', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/io/argonaut/argonaut_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_reflect', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/io/circe:circe_core': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/io/circe:circe_core', 'visibility||||||//visibility:public', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/io/circe/circe_core_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/io/circe:circe_numbers|||//3rdparty/jvm/org/typelevel:cats_core', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/io/circe:circe_generic': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/io/circe:circe_generic', 'visibility||||||//visibility:public', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/io/circe/circe_generic_2_11', 'sources|||L|||', 'exports|||L|||//3rdparty/jvm/com/chuusai:shapeless|||//3rdparty/jvm/org/typelevel:cats_core|||//3rdparty/jvm/org/typelevel:cats_kernel|||//3rdparty/jvm/org/typelevel:macro_compat', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/io/circe:circe_core', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/io/circe:circe_jackson25': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/io/circe:circe_jackson25', 'visibility||||||//visibility:public', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/io/circe/circe_jackson25_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/io/circe:circe_core|||//3rdparty/jvm/com/fasterxml/jackson/core:jackson_core|||//3rdparty/jvm/com/fasterxml/jackson/core:jackson_databind', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/io/circe:circe_jawn': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/io/circe:circe_jawn', 'visibility||||||//visibility:public', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/io/circe/circe_jawn_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/io/circe:circe_core|||//3rdparty/jvm/org/spire_math:jawn_parser', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/io/circe:circe_numbers': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/io/circe:circe_numbers', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/io/circe/circe_numbers_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/io/get_coursier:coursier': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/io/get_coursier:coursier', 'visibility||||||//visibility:public', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/io/get_coursier/coursier_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/io/get_coursier:coursier_core|||//3rdparty/jvm/io/get_coursier:coursier_cache|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/com/github/alexarchambault:argonaut_shapeless_6_2', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/io/get_coursier:coursier_cache': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/io/get_coursier:coursier_cache', 'visibility||||||//visibility:public', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/io/get_coursier/coursier_cache_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/io/get_coursier:coursier_util|||//3rdparty/jvm/org/scala_lang:scala_library', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/io/get_coursier:coursier_core': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/io/get_coursier:coursier_core', 'visibility||||||//visibility:public', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/io/get_coursier/coursier_core_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/io/get_coursier:coursier_util|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/org/scala_lang/modules:scala_xml', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/io/get_coursier:coursier_util': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/io/get_coursier:coursier_util', 'visibility||||||//visibility:public', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/io/get_coursier/coursier_util_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/scala_lang/modules:scala_parser_combinators': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/org/scala_lang/modules:scala_parser_combinators', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||@io_bazel_rules_scala_scala_parser_combinators//:io_bazel_rules_scala_scala_parser_combinators', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/scala_lang/modules:scala_xml': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/org/scala_lang/modules:scala_xml', 'visibility||||||//visibility:public', 'kind||||||library', 'deps|||L|||', 'jars|||L|||', 'sources|||L|||', 'exports|||L|||@io_bazel_rules_scala_scala_xml//:io_bazel_rules_scala_scala_xml', 'runtimeDeps|||L|||', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/scalacheck:scalacheck': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/org/scalacheck:scalacheck', 'visibility||||||//visibility:public', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/org/scalacheck/scalacheck_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/org/scala_sbt:test_interface', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/scalactic:scalactic': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/org/scalactic:scalactic', 'visibility||||||//visibility:public', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/org/scalactic/scalactic_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/org/scala_lang:scala_reflect', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/scalatest:scalatest': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/org/scalatest:scalatest', 'visibility||||||//visibility:public', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/org/scalatest/scalatest_2_11', 'sources|||L|||', 'exports|||L|||//3rdparty/jvm/org/scalactic:scalactic', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/org/scala_lang:scala_reflect|||//3rdparty/jvm/org/scala_lang/modules:scala_xml', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/spire_math:jawn_parser': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/org/spire_math:jawn_parser', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/org/spire_math/jawn_parser_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/spire_math:kind_projector': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/org/spire_math:kind_projector', 'visibility||||||//visibility:public', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/org/spire_math/kind_projector_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_compiler|||//3rdparty/jvm/org/scala_lang:scala_library', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/typelevel:cats_core': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/org/typelevel:cats_core', 'visibility||||||//visibility:public', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/org/typelevel/cats_core_2_11', 'sources|||L|||', 'exports|||L|||//3rdparty/jvm/org/typelevel:cats_kernel', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/org/typelevel:cats_macros|||//3rdparty/jvm/org/typelevel:machinist', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/typelevel:cats_free': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/org/typelevel:cats_free', 'visibility||||||//visibility:public', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/org/typelevel/cats_free_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/org/typelevel:cats_macros|||//3rdparty/jvm/org/typelevel:cats_core|||//3rdparty/jvm/org/typelevel:machinist', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/typelevel:cats_kernel': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/org/typelevel:cats_kernel', 'visibility||||||//visibility:public', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/org/typelevel/cats_kernel_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/typelevel:cats_macros': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/org/typelevel:cats_macros', 'visibility||||||//visibility:public', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/org/typelevel/cats_macros_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library|||//3rdparty/jvm/org/typelevel:machinist', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/typelevel:machinist': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/org/typelevel:machinist', 'visibility||||||//3rdparty/jvm:__subpackages__', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/org/typelevel/machinist_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_reflect|||//3rdparty/jvm/org/scala_lang:scala_library', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/typelevel:macro_compat': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/org/typelevel:macro_compat', 'visibility||||||//visibility:public', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/org/typelevel/macro_compat_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false'], '3rdparty/jvm/org/typelevel:paiges_core': ['lang||||||scala:2.11.8', 'name||||||//3rdparty/jvm/org/typelevel:paiges_core', 'visibility||||||//visibility:public', 'kind||||||import', 'deps|||L|||', 'jars|||L|||//external:jar/org/typelevel/paiges_core_2_11', 'sources|||L|||', 'exports|||L|||', 'runtimeDeps|||L|||//3rdparty/jvm/org/scala_lang:scala_library', 'processorClasses|||L|||', 'generatesApi|||B|||false', 'licenses|||L|||', 'generateNeverlink|||B|||false']} def build_external_workspace(name): return build_external_workspace_from_opts(name=name, target_configs=list_target_data(), separator=list_target_data_separator(), build_header=build_header())
# Q20 print("======= a =======") for x in range(1,200): if x % 4 == 0: print('{0:.2f}'.format(x)) print("======= b =======") #while x < 200: # if (x % 4 == 0): # x = x + 1 # print('{0:d}'.format(x)) # x = x + 2 print("======= c =======") for x in range(1,200): if x % 2 == 0: print('{0:d}'.format(x)) print("======= d =======") for x in range(1,200): if x % 4 == 0: print('{0:d}'.format(x)) print("======= e =======") for x in range(1,200): if x % 4 != 0: print('{0:d}'.format(x)) x = x + 1
print('======= a =======') for x in range(1, 200): if x % 4 == 0: print('{0:.2f}'.format(x)) print('======= b =======') print('======= c =======') for x in range(1, 200): if x % 2 == 0: print('{0:d}'.format(x)) print('======= d =======') for x in range(1, 200): if x % 4 == 0: print('{0:d}'.format(x)) print('======= e =======') for x in range(1, 200): if x % 4 != 0: print('{0:d}'.format(x)) x = x + 1
num = '' for i in range(10): num = str(i) for j in range(10): num += str(j) for k in range(10): num += str(k) print(num) num = str(i) + str(j) num = str(i)
num = '' for i in range(10): num = str(i) for j in range(10): num += str(j) for k in range(10): num += str(k) print(num) num = str(i) + str(j) num = str(i)
# Copyright (c) OpenMMLab. All rights reserved. item1 = [1, 2] item2 = {'a': 0} item3 = True item4 = 'test' item_cfg = {'b': 1} item5 = {'cfg': item_cfg} item6 = {'cfg': item_cfg}
item1 = [1, 2] item2 = {'a': 0} item3 = True item4 = 'test' item_cfg = {'b': 1} item5 = {'cfg': item_cfg} item6 = {'cfg': item_cfg}
DB_DATA = { "users": [], "protected_data": "Lorem ipsum dolor sit amet..." }
db_data = {'users': [], 'protected_data': 'Lorem ipsum dolor sit amet...'}
name = 'Webware for Python' version = (3, 0, 4) status = 'stable' requiredPyVersion = (3, 6) synopsis = ( "Webware for Python is a time-tested" " modular, object-oriented web framework.") webwareConfig = { 'examplePages': [ 'Welcome', 'ShowTime', 'CountVisits', 'Error', 'View', 'Introspect', 'Colors', 'ListBox', 'Forward', 'SecureCountVisits', 'FileUpload', 'RequestInformation', 'ImageDemo', 'DominateDemo', 'YattagDemo', 'DBUtilsDemo', 'AjaxSuggest', 'JSONRPCClient', ] }
name = 'Webware for Python' version = (3, 0, 4) status = 'stable' required_py_version = (3, 6) synopsis = 'Webware for Python is a time-tested modular, object-oriented web framework.' webware_config = {'examplePages': ['Welcome', 'ShowTime', 'CountVisits', 'Error', 'View', 'Introspect', 'Colors', 'ListBox', 'Forward', 'SecureCountVisits', 'FileUpload', 'RequestInformation', 'ImageDemo', 'DominateDemo', 'YattagDemo', 'DBUtilsDemo', 'AjaxSuggest', 'JSONRPCClient']}
__all__ = ["VERSION"] # Do not use pkg_resources to find the version but set it here directly! VERSION = '0.0.1'
__all__ = ['VERSION'] version = '0.0.1'
# # PySNMP MIB module A3COM-HUAWEI-SSH-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/A3COM-HUAWEI-SSH-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:07:06 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # h3cCommon, = mibBuilder.importSymbols("A3COM-HUAWEI-OID-MIB", "h3cCommon") Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, SingleValueConstraint, ConstraintsIntersection, ValueSizeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "ConstraintsUnion") InetAddressType, InetAddress = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddressType", "InetAddress") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") MibIdentifier, TimeTicks, Bits, Counter64, NotificationType, iso, Unsigned32, Integer32, Gauge32, Counter32, ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, ObjectIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "MibIdentifier", "TimeTicks", "Bits", "Counter64", "NotificationType", "iso", "Unsigned32", "Integer32", "Gauge32", "Counter32", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "ObjectIdentity") RowStatus, DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "DisplayString", "TextualConvention") h3cSSH = ModuleIdentity((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22)) h3cSSH.setRevisions(('2007-11-19 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: h3cSSH.setRevisionsDescriptions(('This MIB is used to configure SSH server.',)) if mibBuilder.loadTexts: h3cSSH.setLastUpdated('200711190000Z') if mibBuilder.loadTexts: h3cSSH.setOrganization('Hangzhou H3C Tech. Co., Ltd.') if mibBuilder.loadTexts: h3cSSH.setContactInfo('Platform Team Hangzhou H3C Tech. Co., Ltd. Hai-Dian District Beijing P.R. China http://www.h3c.com Zip:100085') if mibBuilder.loadTexts: h3cSSH.setDescription('The initial version.') h3cSSHServerMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1)) h3cSSHServerMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1)) h3cSSHServerGlobalConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1)) h3cSSHServerVersion = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: h3cSSHServerVersion.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerVersion.setDescription('The protocol version of the SSH server.') h3cSSHServerCompatibleSSH1x = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enableCompatibleSSH1x", 1), ("disableCompatibleSSH1x", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: h3cSSHServerCompatibleSSH1x.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerCompatibleSSH1x.setDescription('Supporting compatibility with SSH versions 1.x. It is known that there are still devices using the previous versions. During the transition period, it is important to be able to work in a way that is compatible with the installed SSH clients and servers that use the older version of the protocol.') h3cSSHServerRekeyInterval = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: h3cSSHServerRekeyInterval.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerRekeyInterval.setDescription('The time interval of regenerating SSH server key. The unit is hour.') h3cSSHServerAuthRetries = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: h3cSSHServerAuthRetries.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerAuthRetries.setDescription('The limit times of a specified user can retry.') h3cSSHServerAuthTimeout = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: h3cSSHServerAuthTimeout.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerAuthTimeout.setDescription('The SSH server has a timeout for authentication and disconnect if the authentication has not been accepted within the timeout period. The unit is second.') h3cSFTPServerIdleTimeout = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: h3cSFTPServerIdleTimeout.setStatus('current') if mibBuilder.loadTexts: h3cSFTPServerIdleTimeout.setDescription('The SFTP server has a timeout for idle connection if a user has no activities within the timeout period. The unit is minute.') h3cSSHServerEnable = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enableSSHServer", 1), ("disableSSHServer", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: h3cSSHServerEnable.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerEnable.setDescription('Enable SSH server function.') h3cSFTPServerEnable = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enableSFTPService", 1), ("disableSFTPService", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: h3cSFTPServerEnable.setStatus('current') if mibBuilder.loadTexts: h3cSFTPServerEnable.setDescription('Enable SFTP server function.') h3cSSHUserConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2)) h3cSSHUserConfigTable = MibTable((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1), ) if mibBuilder.loadTexts: h3cSSHUserConfigTable.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserConfigTable.setDescription('A table for managing SSH users.') h3cSSHUserConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1), ).setIndexNames((0, "A3COM-HUAWEI-SSH-MIB", "h3cSSHUserName")) if mibBuilder.loadTexts: h3cSSHUserConfigEntry.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserConfigEntry.setDescription('SSH users configuration entry.') h3cSSHUserName = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 1), DisplayString()) if mibBuilder.loadTexts: h3cSSHUserName.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserName.setDescription('The name of SSH user.') h3cSSHUserServiceType = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("invalid", 1), ("all", 2), ("stelnet", 3), ("sftp", 4))).clone('invalid')).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cSSHUserServiceType.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserServiceType.setDescription('The service type of SSH user uses.') h3cSSHUserAuthType = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("invalid", 1), ("password", 2), ("publicKey", 3), ("any", 4), ("publicKeyPassword", 5))).clone('invalid')).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cSSHUserAuthType.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserAuthType.setDescription('The authentication type of SSH user chooses.') h3cSSHUserPublicKeyName = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 4), DisplayString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cSSHUserPublicKeyName.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserPublicKeyName.setDescription('The public key which is used for authentication.') h3cSSHUserWorkDirectory = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 5), DisplayString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cSSHUserWorkDirectory.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserWorkDirectory.setDescription("The SFTP user's work directory associates with an existing user.") h3cSSHUserRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: h3cSSHUserRowStatus.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserRowStatus.setDescription("The row status variable, used in accordance to installation and removal conventions for conceptual rows. When the `h3cSSHUserRowStatus' is set to active(1), no objects in this table can be modified. When 'h3cSSHUserRowStatus' is set to notInService(2), every object except the 'h3cSSHUserName' object in this table can be modified. To create a row in this table, a manager must set this object to createAndGo(4). Until instances of all corresponding columns are appropriately configured, the value of the corresponding instance of the h3cSSHUserRowStatus column is 'notReady'.") h3cSSHSessionInfoTable = MibTable((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3), ) if mibBuilder.loadTexts: h3cSSHSessionInfoTable.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionInfoTable.setDescription('A table for SSH sessions.') h3cSSHSessionInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1), ).setIndexNames((0, "A3COM-HUAWEI-SSH-MIB", "h3cSSHSessionID")) if mibBuilder.loadTexts: h3cSSHSessionInfoEntry.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionInfoEntry.setDescription('The SSH session information entry.') h3cSSHSessionID = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 1), Integer32()) if mibBuilder.loadTexts: h3cSSHSessionID.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionID.setDescription('The identifier of SSH session.') h3cSSHSessionUserName = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: h3cSSHSessionUserName.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionUserName.setDescription('The user name of SSH session.') h3cSSHSessionUserIpAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 3), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: h3cSSHSessionUserIpAddrType.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionUserIpAddrType.setDescription('The user IP address type of SSH session.') h3cSSHSessionUserIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 4), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: h3cSSHSessionUserIpAddr.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionUserIpAddr.setDescription('The user IP address of SSH session.') h3cSSHSessionClientVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: h3cSSHSessionClientVersion.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionClientVersion.setDescription('The client version of SSH session. It is known that there are still devices using the previous versions.') h3cSSHSessionServiceType = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("invalid", 1), ("stelnet", 2), ("sftp", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: h3cSSHSessionServiceType.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionServiceType.setDescription('The service type of SSH session.') h3cSSHSessionEncry = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("invalid", 1), ("aes128CBC", 2), ("desCBC", 3), ("des3CBC", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: h3cSSHSessionEncry.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionEncry.setDescription('The encryption algorithm of SSH session. There are several encryption algorithms used in SSH protocol, please refer to RFC4253 Section 6.3.') h3cSSHSessionState = MibTableColumn((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("init", 1), ("verExchange", 2), ("keysExchange", 3), ("authRequest", 4), ("serviceRequest", 5), ("established", 6), ("disconnect", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: h3cSSHSessionState.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionState.setDescription('The status of SSH session. init : This session is in initial status. verExchange : This session is in version exchanging. keysExchange : This session is in keys exchanging. authRequest : This session is in authentication requesting. serviceRequest : This session is in service requesting. established : This session has been established. disconnected : This session has been disconnected.') h3cSSHServerObjForTrap = MibIdentifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 2)) h3cSSHAttemptUserName = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 2, 1), DisplayString()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: h3cSSHAttemptUserName.setStatus('current') if mibBuilder.loadTexts: h3cSSHAttemptUserName.setDescription('The user name of the attacker who attempted to log in.') h3cSSHAttemptIpAddrType = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 2, 2), InetAddressType()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: h3cSSHAttemptIpAddrType.setStatus('current') if mibBuilder.loadTexts: h3cSSHAttemptIpAddrType.setDescription('The IP address type of the attacker who attempted to log in.') h3cSSHAttemptIpAddr = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 2, 3), InetAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: h3cSSHAttemptIpAddr.setStatus('current') if mibBuilder.loadTexts: h3cSSHAttemptIpAddr.setDescription('The IP address of the attacker who attempted to log in.') h3cSSHUserAuthFailureReason = MibScalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 2, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("exceedRetries", 1), ("authTimeout", 2), ("otherReason", 3)))).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: h3cSSHUserAuthFailureReason.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserAuthFailureReason.setDescription('The reason for that a user failed to log in.') h3cSSHServerNotifications = MibIdentifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3)) h3cSSHServerNotificationsPrefix = MibIdentifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3, 0)) h3cSSHUserAuthFailure = NotificationType((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3, 0, 1)).setObjects(("A3COM-HUAWEI-SSH-MIB", "h3cSSHAttemptUserName"), ("A3COM-HUAWEI-SSH-MIB", "h3cSSHAttemptIpAddrType"), ("A3COM-HUAWEI-SSH-MIB", "h3cSSHAttemptIpAddr"), ("A3COM-HUAWEI-SSH-MIB", "h3cSSHUserAuthFailureReason")) if mibBuilder.loadTexts: h3cSSHUserAuthFailure.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserAuthFailure.setDescription('The trap is generated when a user fails to authentication.') h3cSSHVersionNegotiationFailure = NotificationType((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3, 0, 2)).setObjects(("A3COM-HUAWEI-SSH-MIB", "h3cSSHAttemptIpAddrType"), ("A3COM-HUAWEI-SSH-MIB", "h3cSSHAttemptIpAddr")) if mibBuilder.loadTexts: h3cSSHVersionNegotiationFailure.setStatus('current') if mibBuilder.loadTexts: h3cSSHVersionNegotiationFailure.setDescription('The trap is generated when a user fails to negotiate SSH protocol version.') h3cSSHUserLogin = NotificationType((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3, 0, 3)).setObjects(("A3COM-HUAWEI-SSH-MIB", "h3cSSHSessionUserName"), ("A3COM-HUAWEI-SSH-MIB", "h3cSSHSessionUserIpAddrType"), ("A3COM-HUAWEI-SSH-MIB", "h3cSSHSessionUserIpAddr")) if mibBuilder.loadTexts: h3cSSHUserLogin.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserLogin.setDescription('The trap is generated when a user logs in successfully.') h3cSSHUserLogoff = NotificationType((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3, 0, 4)).setObjects(("A3COM-HUAWEI-SSH-MIB", "h3cSSHSessionUserName"), ("A3COM-HUAWEI-SSH-MIB", "h3cSSHSessionUserIpAddrType"), ("A3COM-HUAWEI-SSH-MIB", "h3cSSHSessionUserIpAddr")) if mibBuilder.loadTexts: h3cSSHUserLogoff.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserLogoff.setDescription('The trap is generated when a user logs off.') mibBuilder.exportSymbols("A3COM-HUAWEI-SSH-MIB", h3cSSHUserConfig=h3cSSHUserConfig, h3cSSHUserConfigEntry=h3cSSHUserConfigEntry, h3cSSHUserRowStatus=h3cSSHUserRowStatus, h3cSSHServerNotificationsPrefix=h3cSSHServerNotificationsPrefix, h3cSSHUserLogoff=h3cSSHUserLogoff, h3cSSHSessionUserIpAddrType=h3cSSHSessionUserIpAddrType, h3cSSHUserPublicKeyName=h3cSSHUserPublicKeyName, h3cSSHUserAuthType=h3cSSHUserAuthType, h3cSSH=h3cSSH, h3cSSHServerAuthTimeout=h3cSSHServerAuthTimeout, h3cSSHAttemptIpAddrType=h3cSSHAttemptIpAddrType, h3cSSHSessionClientVersion=h3cSSHSessionClientVersion, h3cSSHServerMIBObjects=h3cSSHServerMIBObjects, PYSNMP_MODULE_ID=h3cSSH, h3cSSHSessionEncry=h3cSSHSessionEncry, h3cSSHSessionServiceType=h3cSSHSessionServiceType, h3cSSHSessionID=h3cSSHSessionID, h3cSFTPServerEnable=h3cSFTPServerEnable, h3cSSHUserAuthFailure=h3cSSHUserAuthFailure, h3cSSHServerCompatibleSSH1x=h3cSSHServerCompatibleSSH1x, h3cSSHVersionNegotiationFailure=h3cSSHVersionNegotiationFailure, h3cSSHSessionState=h3cSSHSessionState, h3cSSHServerMIB=h3cSSHServerMIB, h3cSSHUserAuthFailureReason=h3cSSHUserAuthFailureReason, h3cSFTPServerIdleTimeout=h3cSFTPServerIdleTimeout, h3cSSHSessionInfoTable=h3cSSHSessionInfoTable, h3cSSHAttemptUserName=h3cSSHAttemptUserName, h3cSSHSessionInfoEntry=h3cSSHSessionInfoEntry, h3cSSHServerEnable=h3cSSHServerEnable, h3cSSHSessionUserName=h3cSSHSessionUserName, h3cSSHServerAuthRetries=h3cSSHServerAuthRetries, h3cSSHAttemptIpAddr=h3cSSHAttemptIpAddr, h3cSSHServerRekeyInterval=h3cSSHServerRekeyInterval, h3cSSHServerNotifications=h3cSSHServerNotifications, h3cSSHSessionUserIpAddr=h3cSSHSessionUserIpAddr, h3cSSHServerVersion=h3cSSHServerVersion, h3cSSHServerGlobalConfig=h3cSSHServerGlobalConfig, h3cSSHUserName=h3cSSHUserName, h3cSSHUserLogin=h3cSSHUserLogin, h3cSSHUserServiceType=h3cSSHUserServiceType, h3cSSHUserWorkDirectory=h3cSSHUserWorkDirectory, h3cSSHServerObjForTrap=h3cSSHServerObjForTrap, h3cSSHUserConfigTable=h3cSSHUserConfigTable)
(h3c_common,) = mibBuilder.importSymbols('A3COM-HUAWEI-OID-MIB', 'h3cCommon') (integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, single_value_constraint, constraints_intersection, value_size_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ConstraintsUnion') (inet_address_type, inet_address) = mibBuilder.importSymbols('INET-ADDRESS-MIB', 'InetAddressType', 'InetAddress') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (mib_identifier, time_ticks, bits, counter64, notification_type, iso, unsigned32, integer32, gauge32, counter32, module_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address, object_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibIdentifier', 'TimeTicks', 'Bits', 'Counter64', 'NotificationType', 'iso', 'Unsigned32', 'Integer32', 'Gauge32', 'Counter32', 'ModuleIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress', 'ObjectIdentity') (row_status, display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'RowStatus', 'DisplayString', 'TextualConvention') h3c_ssh = module_identity((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22)) h3cSSH.setRevisions(('2007-11-19 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: h3cSSH.setRevisionsDescriptions(('This MIB is used to configure SSH server.',)) if mibBuilder.loadTexts: h3cSSH.setLastUpdated('200711190000Z') if mibBuilder.loadTexts: h3cSSH.setOrganization('Hangzhou H3C Tech. Co., Ltd.') if mibBuilder.loadTexts: h3cSSH.setContactInfo('Platform Team Hangzhou H3C Tech. Co., Ltd. Hai-Dian District Beijing P.R. China http://www.h3c.com Zip:100085') if mibBuilder.loadTexts: h3cSSH.setDescription('The initial version.') h3c_ssh_server_mib = mib_identifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1)) h3c_ssh_server_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1)) h3c_ssh_server_global_config = mib_identifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1)) h3c_ssh_server_version = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 1), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: h3cSSHServerVersion.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerVersion.setDescription('The protocol version of the SSH server.') h3c_ssh_server_compatible_ssh1x = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enableCompatibleSSH1x', 1), ('disableCompatibleSSH1x', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: h3cSSHServerCompatibleSSH1x.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerCompatibleSSH1x.setDescription('Supporting compatibility with SSH versions 1.x. It is known that there are still devices using the previous versions. During the transition period, it is important to be able to work in a way that is compatible with the installed SSH clients and servers that use the older version of the protocol.') h3c_ssh_server_rekey_interval = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: h3cSSHServerRekeyInterval.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerRekeyInterval.setDescription('The time interval of regenerating SSH server key. The unit is hour.') h3c_ssh_server_auth_retries = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 4), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: h3cSSHServerAuthRetries.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerAuthRetries.setDescription('The limit times of a specified user can retry.') h3c_ssh_server_auth_timeout = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 5), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: h3cSSHServerAuthTimeout.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerAuthTimeout.setDescription('The SSH server has a timeout for authentication and disconnect if the authentication has not been accepted within the timeout period. The unit is second.') h3c_sftp_server_idle_timeout = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 6), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: h3cSFTPServerIdleTimeout.setStatus('current') if mibBuilder.loadTexts: h3cSFTPServerIdleTimeout.setDescription('The SFTP server has a timeout for idle connection if a user has no activities within the timeout period. The unit is minute.') h3c_ssh_server_enable = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enableSSHServer', 1), ('disableSSHServer', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: h3cSSHServerEnable.setStatus('current') if mibBuilder.loadTexts: h3cSSHServerEnable.setDescription('Enable SSH server function.') h3c_sftp_server_enable = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enableSFTPService', 1), ('disableSFTPService', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: h3cSFTPServerEnable.setStatus('current') if mibBuilder.loadTexts: h3cSFTPServerEnable.setDescription('Enable SFTP server function.') h3c_ssh_user_config = mib_identifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2)) h3c_ssh_user_config_table = mib_table((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1)) if mibBuilder.loadTexts: h3cSSHUserConfigTable.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserConfigTable.setDescription('A table for managing SSH users.') h3c_ssh_user_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1)).setIndexNames((0, 'A3COM-HUAWEI-SSH-MIB', 'h3cSSHUserName')) if mibBuilder.loadTexts: h3cSSHUserConfigEntry.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserConfigEntry.setDescription('SSH users configuration entry.') h3c_ssh_user_name = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 1), display_string()) if mibBuilder.loadTexts: h3cSSHUserName.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserName.setDescription('The name of SSH user.') h3c_ssh_user_service_type = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('invalid', 1), ('all', 2), ('stelnet', 3), ('sftp', 4))).clone('invalid')).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cSSHUserServiceType.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserServiceType.setDescription('The service type of SSH user uses.') h3c_ssh_user_auth_type = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('invalid', 1), ('password', 2), ('publicKey', 3), ('any', 4), ('publicKeyPassword', 5))).clone('invalid')).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cSSHUserAuthType.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserAuthType.setDescription('The authentication type of SSH user chooses.') h3c_ssh_user_public_key_name = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 4), display_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cSSHUserPublicKeyName.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserPublicKeyName.setDescription('The public key which is used for authentication.') h3c_ssh_user_work_directory = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 5), display_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cSSHUserWorkDirectory.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserWorkDirectory.setDescription("The SFTP user's work directory associates with an existing user.") h3c_ssh_user_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 2, 1, 1, 6), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: h3cSSHUserRowStatus.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserRowStatus.setDescription("The row status variable, used in accordance to installation and removal conventions for conceptual rows. When the `h3cSSHUserRowStatus' is set to active(1), no objects in this table can be modified. When 'h3cSSHUserRowStatus' is set to notInService(2), every object except the 'h3cSSHUserName' object in this table can be modified. To create a row in this table, a manager must set this object to createAndGo(4). Until instances of all corresponding columns are appropriately configured, the value of the corresponding instance of the h3cSSHUserRowStatus column is 'notReady'.") h3c_ssh_session_info_table = mib_table((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3)) if mibBuilder.loadTexts: h3cSSHSessionInfoTable.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionInfoTable.setDescription('A table for SSH sessions.') h3c_ssh_session_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1)).setIndexNames((0, 'A3COM-HUAWEI-SSH-MIB', 'h3cSSHSessionID')) if mibBuilder.loadTexts: h3cSSHSessionInfoEntry.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionInfoEntry.setDescription('The SSH session information entry.') h3c_ssh_session_id = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 1), integer32()) if mibBuilder.loadTexts: h3cSSHSessionID.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionID.setDescription('The identifier of SSH session.') h3c_ssh_session_user_name = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 2), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: h3cSSHSessionUserName.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionUserName.setDescription('The user name of SSH session.') h3c_ssh_session_user_ip_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 3), inet_address_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: h3cSSHSessionUserIpAddrType.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionUserIpAddrType.setDescription('The user IP address type of SSH session.') h3c_ssh_session_user_ip_addr = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 4), inet_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: h3cSSHSessionUserIpAddr.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionUserIpAddr.setDescription('The user IP address of SSH session.') h3c_ssh_session_client_version = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 5), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: h3cSSHSessionClientVersion.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionClientVersion.setDescription('The client version of SSH session. It is known that there are still devices using the previous versions.') h3c_ssh_session_service_type = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('invalid', 1), ('stelnet', 2), ('sftp', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: h3cSSHSessionServiceType.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionServiceType.setDescription('The service type of SSH session.') h3c_ssh_session_encry = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('invalid', 1), ('aes128CBC', 2), ('desCBC', 3), ('des3CBC', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: h3cSSHSessionEncry.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionEncry.setDescription('The encryption algorithm of SSH session. There are several encryption algorithms used in SSH protocol, please refer to RFC4253 Section 6.3.') h3c_ssh_session_state = mib_table_column((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 1, 3, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('init', 1), ('verExchange', 2), ('keysExchange', 3), ('authRequest', 4), ('serviceRequest', 5), ('established', 6), ('disconnect', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: h3cSSHSessionState.setStatus('current') if mibBuilder.loadTexts: h3cSSHSessionState.setDescription('The status of SSH session. init : This session is in initial status. verExchange : This session is in version exchanging. keysExchange : This session is in keys exchanging. authRequest : This session is in authentication requesting. serviceRequest : This session is in service requesting. established : This session has been established. disconnected : This session has been disconnected.') h3c_ssh_server_obj_for_trap = mib_identifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 2)) h3c_ssh_attempt_user_name = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 2, 1), display_string()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: h3cSSHAttemptUserName.setStatus('current') if mibBuilder.loadTexts: h3cSSHAttemptUserName.setDescription('The user name of the attacker who attempted to log in.') h3c_ssh_attempt_ip_addr_type = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 2, 2), inet_address_type()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: h3cSSHAttemptIpAddrType.setStatus('current') if mibBuilder.loadTexts: h3cSSHAttemptIpAddrType.setDescription('The IP address type of the attacker who attempted to log in.') h3c_ssh_attempt_ip_addr = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 2, 3), inet_address()).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: h3cSSHAttemptIpAddr.setStatus('current') if mibBuilder.loadTexts: h3cSSHAttemptIpAddr.setDescription('The IP address of the attacker who attempted to log in.') h3c_ssh_user_auth_failure_reason = mib_scalar((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 2, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('exceedRetries', 1), ('authTimeout', 2), ('otherReason', 3)))).setMaxAccess('accessiblefornotify') if mibBuilder.loadTexts: h3cSSHUserAuthFailureReason.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserAuthFailureReason.setDescription('The reason for that a user failed to log in.') h3c_ssh_server_notifications = mib_identifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3)) h3c_ssh_server_notifications_prefix = mib_identifier((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3, 0)) h3c_ssh_user_auth_failure = notification_type((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3, 0, 1)).setObjects(('A3COM-HUAWEI-SSH-MIB', 'h3cSSHAttemptUserName'), ('A3COM-HUAWEI-SSH-MIB', 'h3cSSHAttemptIpAddrType'), ('A3COM-HUAWEI-SSH-MIB', 'h3cSSHAttemptIpAddr'), ('A3COM-HUAWEI-SSH-MIB', 'h3cSSHUserAuthFailureReason')) if mibBuilder.loadTexts: h3cSSHUserAuthFailure.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserAuthFailure.setDescription('The trap is generated when a user fails to authentication.') h3c_ssh_version_negotiation_failure = notification_type((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3, 0, 2)).setObjects(('A3COM-HUAWEI-SSH-MIB', 'h3cSSHAttemptIpAddrType'), ('A3COM-HUAWEI-SSH-MIB', 'h3cSSHAttemptIpAddr')) if mibBuilder.loadTexts: h3cSSHVersionNegotiationFailure.setStatus('current') if mibBuilder.loadTexts: h3cSSHVersionNegotiationFailure.setDescription('The trap is generated when a user fails to negotiate SSH protocol version.') h3c_ssh_user_login = notification_type((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3, 0, 3)).setObjects(('A3COM-HUAWEI-SSH-MIB', 'h3cSSHSessionUserName'), ('A3COM-HUAWEI-SSH-MIB', 'h3cSSHSessionUserIpAddrType'), ('A3COM-HUAWEI-SSH-MIB', 'h3cSSHSessionUserIpAddr')) if mibBuilder.loadTexts: h3cSSHUserLogin.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserLogin.setDescription('The trap is generated when a user logs in successfully.') h3c_ssh_user_logoff = notification_type((1, 3, 6, 1, 4, 1, 43, 45, 1, 10, 2, 22, 1, 3, 0, 4)).setObjects(('A3COM-HUAWEI-SSH-MIB', 'h3cSSHSessionUserName'), ('A3COM-HUAWEI-SSH-MIB', 'h3cSSHSessionUserIpAddrType'), ('A3COM-HUAWEI-SSH-MIB', 'h3cSSHSessionUserIpAddr')) if mibBuilder.loadTexts: h3cSSHUserLogoff.setStatus('current') if mibBuilder.loadTexts: h3cSSHUserLogoff.setDescription('The trap is generated when a user logs off.') mibBuilder.exportSymbols('A3COM-HUAWEI-SSH-MIB', h3cSSHUserConfig=h3cSSHUserConfig, h3cSSHUserConfigEntry=h3cSSHUserConfigEntry, h3cSSHUserRowStatus=h3cSSHUserRowStatus, h3cSSHServerNotificationsPrefix=h3cSSHServerNotificationsPrefix, h3cSSHUserLogoff=h3cSSHUserLogoff, h3cSSHSessionUserIpAddrType=h3cSSHSessionUserIpAddrType, h3cSSHUserPublicKeyName=h3cSSHUserPublicKeyName, h3cSSHUserAuthType=h3cSSHUserAuthType, h3cSSH=h3cSSH, h3cSSHServerAuthTimeout=h3cSSHServerAuthTimeout, h3cSSHAttemptIpAddrType=h3cSSHAttemptIpAddrType, h3cSSHSessionClientVersion=h3cSSHSessionClientVersion, h3cSSHServerMIBObjects=h3cSSHServerMIBObjects, PYSNMP_MODULE_ID=h3cSSH, h3cSSHSessionEncry=h3cSSHSessionEncry, h3cSSHSessionServiceType=h3cSSHSessionServiceType, h3cSSHSessionID=h3cSSHSessionID, h3cSFTPServerEnable=h3cSFTPServerEnable, h3cSSHUserAuthFailure=h3cSSHUserAuthFailure, h3cSSHServerCompatibleSSH1x=h3cSSHServerCompatibleSSH1x, h3cSSHVersionNegotiationFailure=h3cSSHVersionNegotiationFailure, h3cSSHSessionState=h3cSSHSessionState, h3cSSHServerMIB=h3cSSHServerMIB, h3cSSHUserAuthFailureReason=h3cSSHUserAuthFailureReason, h3cSFTPServerIdleTimeout=h3cSFTPServerIdleTimeout, h3cSSHSessionInfoTable=h3cSSHSessionInfoTable, h3cSSHAttemptUserName=h3cSSHAttemptUserName, h3cSSHSessionInfoEntry=h3cSSHSessionInfoEntry, h3cSSHServerEnable=h3cSSHServerEnable, h3cSSHSessionUserName=h3cSSHSessionUserName, h3cSSHServerAuthRetries=h3cSSHServerAuthRetries, h3cSSHAttemptIpAddr=h3cSSHAttemptIpAddr, h3cSSHServerRekeyInterval=h3cSSHServerRekeyInterval, h3cSSHServerNotifications=h3cSSHServerNotifications, h3cSSHSessionUserIpAddr=h3cSSHSessionUserIpAddr, h3cSSHServerVersion=h3cSSHServerVersion, h3cSSHServerGlobalConfig=h3cSSHServerGlobalConfig, h3cSSHUserName=h3cSSHUserName, h3cSSHUserLogin=h3cSSHUserLogin, h3cSSHUserServiceType=h3cSSHUserServiceType, h3cSSHUserWorkDirectory=h3cSSHUserWorkDirectory, h3cSSHServerObjForTrap=h3cSSHServerObjForTrap, h3cSSHUserConfigTable=h3cSSHUserConfigTable)
class OptionsNotSet(Exception): """ No Options were set""" class NoPlayerRegistered(Exception): """ No Players were registered.""" class ValueDoesNotExist(Exception): """ The value does not exist on a dart-board """ class FieldDoesNotExist(Exception): """ The given field does not exist on a dart-board """ class BullseyeHasNoTriple(Exception): """ The bullseye does not have a triple-field. """
class Optionsnotset(Exception): """ No Options were set""" class Noplayerregistered(Exception): """ No Players were registered.""" class Valuedoesnotexist(Exception): """ The value does not exist on a dart-board """ class Fielddoesnotexist(Exception): """ The given field does not exist on a dart-board """ class Bullseyehasnotriple(Exception): """ The bullseye does not have a triple-field. """
# coding=utf-8 class BaseOptimizer(): """Abstract class for Optimizer """ def __init__(self, **kwargs): for k, v in kwargs.items(): setattr(self, k, v) def get_optimizer(self, weight_params, params): raise NotImplementedError()
class Baseoptimizer: """Abstract class for Optimizer """ def __init__(self, **kwargs): for (k, v) in kwargs.items(): setattr(self, k, v) def get_optimizer(self, weight_params, params): raise not_implemented_error()
""" Description: Encontra objetos em lista Author: @Palin/Renan Created: 2021-07-01 Copyright: (c) Ampere Consultoria Ltda """ def find_obj(lst_to_find, name_field: str, value_to_find): if len(lst_to_find) == 0: return None try: lst_result = list( filter(lambda x: getattr(x, name_field) == value_to_find, lst_to_find) ) if len(lst_result) > 0: founded = lst_result[0] else: founded = None except IndexError as err: print(err) return founded def find_obj_all(lst_to_find, name_field: str, value_to_find): """Ex: usinas = [ {'cod_usina': "BAEDF8", 'nome': 'MACAUBAS'}, {'cod_usina': "XEFZT", 'nome': 'SEABRA'}, ] usina_found = list(filter(lambda usina: usina['cod_usina'] == 'BAEDF8', usinas)) rateio_found = list(filter(lambda x: x['cod_barra'] == 'XXX', rateio)) Args: lst_to_find ([type]): [description] name_field (str): [description] value_to_find ([type]): [description] Returns: [type]: [description] """ if len(lst_to_find) == 0: return None try: lst_result = list( filter(lambda x: getattr(x, name_field) == value_to_find, lst_to_find) ) if len(lst_result) > 0: founded = lst_result else: founded = None except IndexError as err: print(err) return founded
""" Description: Encontra objetos em lista Author: @Palin/Renan Created: 2021-07-01 Copyright: (c) Ampere Consultoria Ltda """ def find_obj(lst_to_find, name_field: str, value_to_find): if len(lst_to_find) == 0: return None try: lst_result = list(filter(lambda x: getattr(x, name_field) == value_to_find, lst_to_find)) if len(lst_result) > 0: founded = lst_result[0] else: founded = None except IndexError as err: print(err) return founded def find_obj_all(lst_to_find, name_field: str, value_to_find): """Ex: usinas = [ {'cod_usina': "BAEDF8", 'nome': 'MACAUBAS'}, {'cod_usina': "XEFZT", 'nome': 'SEABRA'}, ] usina_found = list(filter(lambda usina: usina['cod_usina'] == 'BAEDF8', usinas)) rateio_found = list(filter(lambda x: x['cod_barra'] == 'XXX', rateio)) Args: lst_to_find ([type]): [description] name_field (str): [description] value_to_find ([type]): [description] Returns: [type]: [description] """ if len(lst_to_find) == 0: return None try: lst_result = list(filter(lambda x: getattr(x, name_field) == value_to_find, lst_to_find)) if len(lst_result) > 0: founded = lst_result else: founded = None except IndexError as err: print(err) return founded
class ReviewRouter(object): """ Sends all review-related operations to a database with the alias of "reviews". No other apps should use this db alias. """ def db_for_read(self, model, **hints): if model._meta.app_label == "reviews": return "reviews" return None def db_for_write(self, model, **hints): if model._meta.app_label == "reviews": return "reviews" return None def allow_syncdb(self, db, model): this_app = (model._meta.app_label == "reviews") reviews_db = (db == "reviews") if this_app: return reviews_db if reviews_db: return False return None
class Reviewrouter(object): """ Sends all review-related operations to a database with the alias of "reviews". No other apps should use this db alias. """ def db_for_read(self, model, **hints): if model._meta.app_label == 'reviews': return 'reviews' return None def db_for_write(self, model, **hints): if model._meta.app_label == 'reviews': return 'reviews' return None def allow_syncdb(self, db, model): this_app = model._meta.app_label == 'reviews' reviews_db = db == 'reviews' if this_app: return reviews_db if reviews_db: return False return None
SPANISH = "Spanish" FRENCH = "French" ENGLISH_HELLO_PREFIX = "Hello" SPANISH_HELLO_PREFIX = "Hola" FRENCH_HELLO_PREFIX = "Bonjour" def hello(name: str = None, language: str = None) -> str: """Return a personalized greeting. Defaulting to `Hello, World` if no name and language are passed. """ if not name: name = "World" if language == SPANISH: return f"{SPANISH_HELLO_PREFIX}, {name}" if language == FRENCH: return f"{FRENCH_HELLO_PREFIX}, {name}" return f"{ENGLISH_HELLO_PREFIX}, {name}" print(hello("world"))
spanish = 'Spanish' french = 'French' english_hello_prefix = 'Hello' spanish_hello_prefix = 'Hola' french_hello_prefix = 'Bonjour' def hello(name: str=None, language: str=None) -> str: """Return a personalized greeting. Defaulting to `Hello, World` if no name and language are passed. """ if not name: name = 'World' if language == SPANISH: return f'{SPANISH_HELLO_PREFIX}, {name}' if language == FRENCH: return f'{FRENCH_HELLO_PREFIX}, {name}' return f'{ENGLISH_HELLO_PREFIX}, {name}' print(hello('world'))
# 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 # # https://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. """Rules and macros for collecting LicenseInfo providers.""" load( "@rules_license//rules:providers.bzl", "LicenseInfo", "LicensesInfo", ) # Debugging verbosity _VERBOSITY = 0 def _debug(loglevel, msg): if _VERBOSITY > loglevel: print(msg) # buildifier: disable=print def _get_transitive_licenses(deps, licenses, trans): for dep in deps: if LicenseInfo in dep: license = dep[LicenseInfo] _debug(1, " depends on license: %s" % license.rule) licenses.append(license) if LicensesInfo in dep: license_list = dep[LicensesInfo].licenses if license_list: _debug(1, " transitively depends on: %s" % licenses) trans.append(license_list) def _gather_licenses_info_impl(target, ctx): licenses = [] trans = [] if hasattr(ctx.rule.attr, "applicable_licenses"): _get_transitive_licenses(ctx.rule.attr.applicable_licenses, licenses, trans) if hasattr(ctx.rule.attr, "deps"): _get_transitive_licenses(ctx.rule.attr.deps, licenses, trans) if hasattr(ctx.rule.attr, "srcs"): _get_transitive_licenses(ctx.rule.attr.srcs, licenses, trans) return [LicensesInfo(licenses = depset(tuple(licenses), transitive = trans))] gather_licenses_info = aspect( doc = """Collects LicenseInfo providers into a single LicensesInfo provider.""", implementation = _gather_licenses_info_impl, attr_aspects = ["applicable_licenses", "deps", "srcs"], apply_to_generating_rules = True, ) def write_licenses_info(ctx, deps, json_out): """Writes LicensesInfo providers for a set of targets as JSON. TODO(aiuto): Document JSON schema. Usage: write_licenses_info must be called from a rule implementation, where the rule has run the gather_licenses_info aspect on its deps to collect the transitive closure of LicenseInfo providers into a LicenseInfo provider. foo = rule( implementation = _foo_impl, attrs = { "deps": attr.label_list(aspects = [gather_licenses_info]) } ) def _foo_impl(ctx): ... out = ctx.actions.declare_file("%s_licenses.json" % ctx.label.name) write_licenses_info(ctx, ctx.attr.deps, licenses_file) Args: ctx: context of the caller deps: a list of deps which should have LicensesInfo providers. This requires that you have run the gather_licenses_info aspect over them json_out: output handle to write the JSON info """ rule_template = """ {{ "rule": "{rule}", "license_kinds": [{kinds} ], "copyright_notice": "{copyright_notice}", "package_name": "{package_name}", "license_text": "{license_text}"\n }}""" kind_template = """ {{ "target": "{kind_path}", "name": "{kind_name}", "conditions": {kind_conditions} }}""" licenses = [] for dep in deps: if LicensesInfo in dep: for license in dep[LicensesInfo].licenses.to_list(): _debug(0, " Requires license: %s" % license) kinds = [] for kind in license.license_kinds: kinds.append(kind_template.format( kind_name = kind.name, kind_path = kind.label, kind_conditions = kind.conditions, )) licenses.append(rule_template.format( rule = license.rule, copyright_notice = license.copyright_notice, package_name = license.package_name, license_text = license.license_text.path, kinds = ",\n".join(kinds), )) ctx.actions.write( output = json_out, content = "[\n%s\n]\n" % ",\n".join(licenses), )
"""Rules and macros for collecting LicenseInfo providers.""" load('@rules_license//rules:providers.bzl', 'LicenseInfo', 'LicensesInfo') _verbosity = 0 def _debug(loglevel, msg): if _VERBOSITY > loglevel: print(msg) def _get_transitive_licenses(deps, licenses, trans): for dep in deps: if LicenseInfo in dep: license = dep[LicenseInfo] _debug(1, ' depends on license: %s' % license.rule) licenses.append(license) if LicensesInfo in dep: license_list = dep[LicensesInfo].licenses if license_list: _debug(1, ' transitively depends on: %s' % licenses) trans.append(license_list) def _gather_licenses_info_impl(target, ctx): licenses = [] trans = [] if hasattr(ctx.rule.attr, 'applicable_licenses'): _get_transitive_licenses(ctx.rule.attr.applicable_licenses, licenses, trans) if hasattr(ctx.rule.attr, 'deps'): _get_transitive_licenses(ctx.rule.attr.deps, licenses, trans) if hasattr(ctx.rule.attr, 'srcs'): _get_transitive_licenses(ctx.rule.attr.srcs, licenses, trans) return [licenses_info(licenses=depset(tuple(licenses), transitive=trans))] gather_licenses_info = aspect(doc='Collects LicenseInfo providers into a single LicensesInfo provider.', implementation=_gather_licenses_info_impl, attr_aspects=['applicable_licenses', 'deps', 'srcs'], apply_to_generating_rules=True) def write_licenses_info(ctx, deps, json_out): """Writes LicensesInfo providers for a set of targets as JSON. TODO(aiuto): Document JSON schema. Usage: write_licenses_info must be called from a rule implementation, where the rule has run the gather_licenses_info aspect on its deps to collect the transitive closure of LicenseInfo providers into a LicenseInfo provider. foo = rule( implementation = _foo_impl, attrs = { "deps": attr.label_list(aspects = [gather_licenses_info]) } ) def _foo_impl(ctx): ... out = ctx.actions.declare_file("%s_licenses.json" % ctx.label.name) write_licenses_info(ctx, ctx.attr.deps, licenses_file) Args: ctx: context of the caller deps: a list of deps which should have LicensesInfo providers. This requires that you have run the gather_licenses_info aspect over them json_out: output handle to write the JSON info """ rule_template = ' {{\n "rule": "{rule}",\n "license_kinds": [{kinds}\n ],\n "copyright_notice": "{copyright_notice}",\n "package_name": "{package_name}",\n "license_text": "{license_text}"\n }}' kind_template = '\n {{\n "target": "{kind_path}",\n "name": "{kind_name}",\n "conditions": {kind_conditions}\n }}' licenses = [] for dep in deps: if LicensesInfo in dep: for license in dep[LicensesInfo].licenses.to_list(): _debug(0, ' Requires license: %s' % license) kinds = [] for kind in license.license_kinds: kinds.append(kind_template.format(kind_name=kind.name, kind_path=kind.label, kind_conditions=kind.conditions)) licenses.append(rule_template.format(rule=license.rule, copyright_notice=license.copyright_notice, package_name=license.package_name, license_text=license.license_text.path, kinds=',\n'.join(kinds))) ctx.actions.write(output=json_out, content='[\n%s\n]\n' % ',\n'.join(licenses))
class SesDevException(Exception): pass class AddRepoNoUpdateWithExplicitRepo(SesDevException): def __init__(self): super().__init__( "The --update option does not work with an explicit custom repo." ) class BadMakeCheckRolesNodes(SesDevException): def __init__(self): super().__init__( "\"makecheck\" deployments only work with a single node with role " "\"makecheck\". Since this is the default, you can simply omit " "the --roles option when running \"sesdev create makecheck\"." ) class BoxDoesNotExist(SesDevException): def __init__(self, box_name): super().__init__( "There is no Vagrant Box called \"{}\"".format(box_name) ) class CmdException(SesDevException): def __init__(self, command, retcode, stderr): super().__init__( "Command '{}' failed: ret={} stderr:\n{}" .format(command, retcode, stderr) ) self.command = command self.retcode = retcode self.stderr = stderr class DebugWithoutLogFileDoesNothing(SesDevException): def __init__(self): super().__init__( "--debug without --log-file has no effect (maybe you want --verbose?)" ) class DepIDIllegalChars(SesDevException): def __init__(self, dep_id): super().__init__( "Deployment ID \"{}\" contains illegal characters. Valid characters for " "hostnames are ASCII(7) letters from a to z, the digits from 0 to 9, and " "the hyphen (-).".format(dep_id) ) class DepIDWrongLength(SesDevException): def __init__(self, length): super().__init__( "Deployment ID must be from 1 to 63 characters in length " "(yours had {} characters)".format(length) ) class DeploymentAlreadyExists(SesDevException): def __init__(self, dep_id): super().__init__( "A deployment with the same id '{}' already exists".format(dep_id) ) class DeploymentDoesNotExists(SesDevException): def __init__(self, dep_id): super().__init__( "Deployment '{}' does not exist".format(dep_id) ) class DuplicateRolesNotSupported(SesDevException): def __init__(self, role): super().__init__( "A node with more than one \"{r}\" role was detected. " "sesdev does not support more than one \"{r}\" role per node.".format(r=role) ) class ExclusiveRoles(SesDevException): def __init__(self, role_a, role_b): super().__init__( "Cannot have both roles '{}' and '{}' in the same deployment" .format(role_a, role_b) ) class ExplicitAdminRoleNotAllowed(SesDevException): def __init__(self): super().__init__( "Though it is still recognized in existing deployments, the explicit " "\"admin\" role is deprecated and new deployments are not allowed to " "have it. When sesdev deploys Ceph/SES versions that use an \"admin\" " "role, all nodes in the deployment will get that role implicitly. " "(TL;DR remove the \"admin\" role and try again!)" ) class MultipleRolesPerMachineNotAllowedInCaaSP(SesDevException): def __init__(self): super().__init__( "Multiple roles per machine detected. This is not allowed in CaaSP " "clusters. For a single-node cluster, use the --single-node option " "or --roles=\"[master]\" (in this special case, the master node " "will function also as a worker node)" ) class NodeDoesNotExist(SesDevException): def __init__(self, node): super().__init__( "Node '{}' does not exist in this deployment".format(node) ) class NodeMustBeAdminAsWell(SesDevException): def __init__(self, role): super().__init__( "Detected node with \"{role}\" role but no \"admin\" role. " "The {role} node must have the \"admin\" role -- otherwise " "\"ceph-salt apply\" will fail. Please make sure the node with " "the \"{role}\" role has the \"admin\" role as well" .format(role=role) ) class NoGaneshaRolePostNautilus(SesDevException): def __init__(self): super().__init__( "You specified a \"ganesha\" role. In cephadm, NFS-Ganesha daemons " "are referred to as \"nfs\" daemons, so in sesdev the role has been " "renamed to \"nfs\". Please change all instances of \"ganesha\" to " "\"nfs\" in your roles string and try again" ) class NoExplicitRolesWithSingleNode(SesDevException): def __init__(self): super().__init__( "The --roles and --single-node options are mutually exclusive. " "One may be given, or the other, but not both at the same time." ) class NoPrometheusGrafanaInSES5(SesDevException): def __init__(self): super().__init__( "The DeepSea version used in SES5 does not recognize 'prometheus' " "or 'grafana' as roles in policy.cfg (instead, it _always_ deploys " "these two services on the Salt Master node. For this reason, sesdev " "does not permit these roles to be used with ses5." ) class NoStorageRolesCephadm(SesDevException): def __init__(self, offending_role): super().__init__( "No \"storage\" roles were given, but currently sesdev does not " "support this due to the presence of one or more {} roles in the " "cluster configuration.".format(offending_role) ) class NoStorageRolesDeepsea(SesDevException): def __init__(self, version): super().__init__( "No \"storage\" roles were given, but currently sesdev does not " "support this configuration when deploying a {} " "cluster.".format(version) ) class NoSourcePortForPortForwarding(SesDevException): def __init__(self): super().__init__( "No source port specified for port forwarding" ) class NoSupportConfigTarballFound(SesDevException): def __init__(self, node): super().__init__( "No supportconfig tarball found on node {}".format(node) ) class OptionFormatError(SesDevException): def __init__(self, option, expected_type, value): super().__init__( "Wrong format for option '{}': expected format: '{}', actual format: '{}'" .format(option, expected_type, value) ) class OptionNotSupportedInVersion(SesDevException): def __init__(self, option, version): super().__init__( "Option '{}' not supported with version '{}'".format(option, version) ) class OptionValueError(SesDevException): def __init__(self, option, message, value): super().__init__( "Wrong value for option '{}'. {}. Actual value: '{}'" .format(option, message, value) ) class ProductOptionOnlyOnSES(SesDevException): def __init__(self, version): super().__init__( "You asked to create a {} cluster with the --product option, " "but this option only works with versions starting with \"ses\"" .format(version) ) class RemoveBoxNeedsBoxNameOrAllOption(SesDevException): def __init__(self): super().__init__( "Either provide the name of a box to be removed or the --all option " "to remove all boxes at once" ) class RoleNotKnown(SesDevException): def __init__(self, role): super().__init__( "Role '{}' is not supported by sesdev".format(role) ) class RoleNotSupported(SesDevException): def __init__(self, role, version): super().__init__( "Role '{}' is not supported in version '{}'".format(role, version) ) class ScpInvalidSourceOrDestination(SesDevException): def __init__(self): super().__init__( "Either source or destination must contain a ':' - not both or neither" ) class ServiceNotFound(SesDevException): def __init__(self, service): super().__init__( "Service '{}' was not found in this deployment".format(service) ) class ServicePortForwardingNotSupported(SesDevException): def __init__(self, service): super().__init__( "Service '{}' not supported for port forwarding. Specify manually the service source " "and destination ports".format(service) ) class SettingIncompatibleError(SesDevException): def __init__(self, setting1, value1, setting2, value2): super().__init__( "Setting {} = {} and {} = {} are incompatible" .format(setting1, value1, setting2, value2) ) class SettingNotKnown(SesDevException): def __init__(self, setting): super().__init__( "Setting '{}' is not known - please open a bug report!".format(setting) ) class SettingTypeError(SesDevException): def __init__(self, setting, expected_type, value): super().__init__( "Wrong value type for setting '{}': expected type: '{}', actual value='{}' ('{}')" .format(setting, expected_type, value, type(value)) ) class SubcommandNotSupportedInVersion(SesDevException): def __init__(self, subcmd, version): super().__init__( "Subcommand {} not supported in '{}'".format(subcmd, version) ) class SupportconfigOnlyOnSLE(SesDevException): def __init__(self): super().__init__( "sesdev supportconfig depends on the 'supportconfig' RPM, which is " "available only on SUSE Linux Enterprise" ) class UniqueRoleViolation(SesDevException): def __init__(self, role, number): super().__init__( "There must be one, and only one, '{role}' role " "(you gave {number} '{role}' roles)".format(role=role, number=number) ) class VagrantSshConfigNoHostName(SesDevException): def __init__(self, name): super().__init__( "Could not get HostName info from 'vagrant ssh-config {}' command" .format(name) ) class VersionNotKnown(SesDevException): def __init__(self, version): super().__init__( "Unknown deployment version: '{}'".format(version) ) class VersionOSNotSupported(SesDevException): def __init__(self, version, operating_system): super().__init__( "sesdev does not know how to deploy \"{}\" on operating system \"{}\"" .format(version, operating_system) ) class UnsupportedVMEngine(SesDevException): def __init__(self, engine): super().__init__( "Unsupported VM engine ->{}<- encountered. This is a bug: please " "report it to the maintainers".format(engine) )
class Sesdevexception(Exception): pass class Addreponoupdatewithexplicitrepo(SesDevException): def __init__(self): super().__init__('The --update option does not work with an explicit custom repo.') class Badmakecheckrolesnodes(SesDevException): def __init__(self): super().__init__('"makecheck" deployments only work with a single node with role "makecheck". Since this is the default, you can simply omit the --roles option when running "sesdev create makecheck".') class Boxdoesnotexist(SesDevException): def __init__(self, box_name): super().__init__('There is no Vagrant Box called "{}"'.format(box_name)) class Cmdexception(SesDevException): def __init__(self, command, retcode, stderr): super().__init__("Command '{}' failed: ret={} stderr:\n{}".format(command, retcode, stderr)) self.command = command self.retcode = retcode self.stderr = stderr class Debugwithoutlogfiledoesnothing(SesDevException): def __init__(self): super().__init__('--debug without --log-file has no effect (maybe you want --verbose?)') class Depidillegalchars(SesDevException): def __init__(self, dep_id): super().__init__('Deployment ID "{}" contains illegal characters. Valid characters for hostnames are ASCII(7) letters from a to z, the digits from 0 to 9, and the hyphen (-).'.format(dep_id)) class Depidwronglength(SesDevException): def __init__(self, length): super().__init__('Deployment ID must be from 1 to 63 characters in length (yours had {} characters)'.format(length)) class Deploymentalreadyexists(SesDevException): def __init__(self, dep_id): super().__init__("A deployment with the same id '{}' already exists".format(dep_id)) class Deploymentdoesnotexists(SesDevException): def __init__(self, dep_id): super().__init__("Deployment '{}' does not exist".format(dep_id)) class Duplicaterolesnotsupported(SesDevException): def __init__(self, role): super().__init__('A node with more than one "{r}" role was detected. sesdev does not support more than one "{r}" role per node.'.format(r=role)) class Exclusiveroles(SesDevException): def __init__(self, role_a, role_b): super().__init__("Cannot have both roles '{}' and '{}' in the same deployment".format(role_a, role_b)) class Explicitadminrolenotallowed(SesDevException): def __init__(self): super().__init__('Though it is still recognized in existing deployments, the explicit "admin" role is deprecated and new deployments are not allowed to have it. When sesdev deploys Ceph/SES versions that use an "admin" role, all nodes in the deployment will get that role implicitly. (TL;DR remove the "admin" role and try again!)') class Multiplerolespermachinenotallowedincaasp(SesDevException): def __init__(self): super().__init__('Multiple roles per machine detected. This is not allowed in CaaSP clusters. For a single-node cluster, use the --single-node option or --roles="[master]" (in this special case, the master node will function also as a worker node)') class Nodedoesnotexist(SesDevException): def __init__(self, node): super().__init__("Node '{}' does not exist in this deployment".format(node)) class Nodemustbeadminaswell(SesDevException): def __init__(self, role): super().__init__('Detected node with "{role}" role but no "admin" role. The {role} node must have the "admin" role -- otherwise "ceph-salt apply" will fail. Please make sure the node with the "{role}" role has the "admin" role as well'.format(role=role)) class Noganesharolepostnautilus(SesDevException): def __init__(self): super().__init__('You specified a "ganesha" role. In cephadm, NFS-Ganesha daemons are referred to as "nfs" daemons, so in sesdev the role has been renamed to "nfs". Please change all instances of "ganesha" to "nfs" in your roles string and try again') class Noexplicitroleswithsinglenode(SesDevException): def __init__(self): super().__init__('The --roles and --single-node options are mutually exclusive. One may be given, or the other, but not both at the same time.') class Noprometheusgrafanainses5(SesDevException): def __init__(self): super().__init__("The DeepSea version used in SES5 does not recognize 'prometheus' or 'grafana' as roles in policy.cfg (instead, it _always_ deploys these two services on the Salt Master node. For this reason, sesdev does not permit these roles to be used with ses5.") class Nostoragerolescephadm(SesDevException): def __init__(self, offending_role): super().__init__('No "storage" roles were given, but currently sesdev does not support this due to the presence of one or more {} roles in the cluster configuration.'.format(offending_role)) class Nostoragerolesdeepsea(SesDevException): def __init__(self, version): super().__init__('No "storage" roles were given, but currently sesdev does not support this configuration when deploying a {} cluster.'.format(version)) class Nosourceportforportforwarding(SesDevException): def __init__(self): super().__init__('No source port specified for port forwarding') class Nosupportconfigtarballfound(SesDevException): def __init__(self, node): super().__init__('No supportconfig tarball found on node {}'.format(node)) class Optionformaterror(SesDevException): def __init__(self, option, expected_type, value): super().__init__("Wrong format for option '{}': expected format: '{}', actual format: '{}'".format(option, expected_type, value)) class Optionnotsupportedinversion(SesDevException): def __init__(self, option, version): super().__init__("Option '{}' not supported with version '{}'".format(option, version)) class Optionvalueerror(SesDevException): def __init__(self, option, message, value): super().__init__("Wrong value for option '{}'. {}. Actual value: '{}'".format(option, message, value)) class Productoptiononlyonses(SesDevException): def __init__(self, version): super().__init__('You asked to create a {} cluster with the --product option, but this option only works with versions starting with "ses"'.format(version)) class Removeboxneedsboxnameoralloption(SesDevException): def __init__(self): super().__init__('Either provide the name of a box to be removed or the --all option to remove all boxes at once') class Rolenotknown(SesDevException): def __init__(self, role): super().__init__("Role '{}' is not supported by sesdev".format(role)) class Rolenotsupported(SesDevException): def __init__(self, role, version): super().__init__("Role '{}' is not supported in version '{}'".format(role, version)) class Scpinvalidsourceordestination(SesDevException): def __init__(self): super().__init__("Either source or destination must contain a ':' - not both or neither") class Servicenotfound(SesDevException): def __init__(self, service): super().__init__("Service '{}' was not found in this deployment".format(service)) class Serviceportforwardingnotsupported(SesDevException): def __init__(self, service): super().__init__("Service '{}' not supported for port forwarding. Specify manually the service source and destination ports".format(service)) class Settingincompatibleerror(SesDevException): def __init__(self, setting1, value1, setting2, value2): super().__init__('Setting {} = {} and {} = {} are incompatible'.format(setting1, value1, setting2, value2)) class Settingnotknown(SesDevException): def __init__(self, setting): super().__init__("Setting '{}' is not known - please open a bug report!".format(setting)) class Settingtypeerror(SesDevException): def __init__(self, setting, expected_type, value): super().__init__("Wrong value type for setting '{}': expected type: '{}', actual value='{}' ('{}')".format(setting, expected_type, value, type(value))) class Subcommandnotsupportedinversion(SesDevException): def __init__(self, subcmd, version): super().__init__("Subcommand {} not supported in '{}'".format(subcmd, version)) class Supportconfigonlyonsle(SesDevException): def __init__(self): super().__init__("sesdev supportconfig depends on the 'supportconfig' RPM, which is available only on SUSE Linux Enterprise") class Uniqueroleviolation(SesDevException): def __init__(self, role, number): super().__init__("There must be one, and only one, '{role}' role (you gave {number} '{role}' roles)".format(role=role, number=number)) class Vagrantsshconfignohostname(SesDevException): def __init__(self, name): super().__init__("Could not get HostName info from 'vagrant ssh-config {}' command".format(name)) class Versionnotknown(SesDevException): def __init__(self, version): super().__init__("Unknown deployment version: '{}'".format(version)) class Versionosnotsupported(SesDevException): def __init__(self, version, operating_system): super().__init__('sesdev does not know how to deploy "{}" on operating system "{}"'.format(version, operating_system)) class Unsupportedvmengine(SesDevException): def __init__(self, engine): super().__init__('Unsupported VM engine ->{}<- encountered. This is a bug: please report it to the maintainers'.format(engine))
""" 6.5 Write code using find() and string slicing (see section 6.10) to extract the number at the end of the line below. Convert the extracted value to a floating point number and print it out. text = "X-DSPAM-Confidence: 0.8475" Desired Output 0.8475 """ text = "X-DSPAM-Confidence: 0.8475" index = text.find('0') try: number = float(text[index:]) except: print("Error while parsing.") print(number) # Answer by: # kunal5042 # Email : kunalwadhwa.cs@gmail.com # Alternate: kunalwadhwa900@gmail.com
""" 6.5 Write code using find() and string slicing (see section 6.10) to extract the number at the end of the line below. Convert the extracted value to a floating point number and print it out. text = "X-DSPAM-Confidence: 0.8475" Desired Output 0.8475 """ text = 'X-DSPAM-Confidence: 0.8475' index = text.find('0') try: number = float(text[index:]) except: print('Error while parsing.') print(number)
l = int(input("enter the lower interval")) u = int(input("enter the upper interval")) for num in range(l,u+1): if num>1: for i in range(2,num): if(num%i)==0: break else: print(num)
l = int(input('enter the lower interval')) u = int(input('enter the upper interval')) for num in range(l, u + 1): if num > 1: for i in range(2, num): if num % i == 0: break else: print(num)
class Vocabs(): def __init__(self): reuters = None aapd = None VOCABS = Vocabs()
class Vocabs: def __init__(self): reuters = None aapd = None vocabs = vocabs()
def respond(start_response, code, headers=[('Content-type', 'text/plain')], body=b''): start_response(code, headers) return [body] def key2path(key): b = key.encode('utf-8') return hashlib.md5(b).digest()
def respond(start_response, code, headers=[('Content-type', 'text/plain')], body=b''): start_response(code, headers) return [body] def key2path(key): b = key.encode('utf-8') return hashlib.md5(b).digest()
def part1(): pass if __name__ == '__main__': with open('input.txt') as f: lines = f.read().splitlines()
def part1(): pass if __name__ == '__main__': with open('input.txt') as f: lines = f.read().splitlines()
class A: def __init__(self): print("1") def __init__(self): print("2") a= A()
class A: def __init__(self): print('1') def __init__(self): print('2') a = a()
def decay_lr_every(optimizer, lr, epoch, decay_every=30): """Sets the learning rate to the initial LR decayed by 10 every 30 epochs""" lr = lr * (0.1 ** (epoch // decay_every)) for param_group in optimizer.param_groups: param_group['lr'] = lr # TODO: noam scheduler # "Schedule": { # "name": "noam_learning_rate_decay", # "args": { # "warmup_steps": 4000, # "minimum": 1e-4 # } # }
def decay_lr_every(optimizer, lr, epoch, decay_every=30): """Sets the learning rate to the initial LR decayed by 10 every 30 epochs""" lr = lr * 0.1 ** (epoch // decay_every) for param_group in optimizer.param_groups: param_group['lr'] = lr
#!/usr/bin/python3 """ Main file for testing """ makeChange = __import__('0-making_change').makeChange print(makeChange([1, 2, 25], 37)) print(makeChange([1256, 54, 48, 16, 102], 1453))
""" Main file for testing """ make_change = __import__('0-making_change').makeChange print(make_change([1, 2, 25], 37)) print(make_change([1256, 54, 48, 16, 102], 1453))
WSGI_ENTRY_SCRIPT = """ import logging from parallelm.ml_engine.rest_model_serving_engine import RestModelServingEngine from {module} import {cls} from {restful_comp_module} import {restful_comp_cls} logging.basicConfig(format='{log_format}') logging.getLogger('{root_logger_name}').setLevel({log_level}) comp = {restful_comp_cls}(None) comp.configure({params}) {cls}.uwsgi_entry_point(comp, '{pipeline_name}', '{model_path}', '{deputy_id}', '{stats_path_filename}', within_uwsgi_context=True, standalone={standalone}) application = {cls}._application """
wsgi_entry_script = "\nimport logging\n\nfrom parallelm.ml_engine.rest_model_serving_engine import RestModelServingEngine\nfrom {module} import {cls}\nfrom {restful_comp_module} import {restful_comp_cls}\n\n\nlogging.basicConfig(format='{log_format}')\nlogging.getLogger('{root_logger_name}').setLevel({log_level})\n\ncomp = {restful_comp_cls}(None)\ncomp.configure({params})\n\n{cls}.uwsgi_entry_point(comp, '{pipeline_name}', '{model_path}', '{deputy_id}', '{stats_path_filename}', within_uwsgi_context=True, standalone={standalone})\n\napplication = {cls}._application\n"
load("@bazel_gazelle//:deps.bzl", "go_repository") # bazel run //:gazelle -- update-repos -from_file=go.mod -to_macro=repositories.bzl%go_repositories def go_repositories(): go_repository( name = "com_github_fsnotify_fsnotify", importpath = "github.com/fsnotify/fsnotify", sum = "h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4=", version = "v1.4.9", ) go_repository( name = "com_github_golang_protobuf", importpath = "github.com/golang/protobuf", sum = "h1:oOuy+ugB+P/kBdUnG5QaMXSIyJ1q38wWSojYCb3z5VQ=", version = "v1.4.0", ) go_repository( name = "com_github_google_go_cmp", importpath = "github.com/google/go-cmp", sum = "h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4=", version = "v0.4.0", ) go_repository( name = "com_github_gorilla_websocket", importpath = "github.com/gorilla/websocket", sum = "h1:q7AeDBpnBk8AogcD4DSag/Ukw/KV+YhzLj2bP5HvKCM=", version = "v1.4.1", ) go_repository( name = "com_github_jaschaephraim_lrserver", importpath = "github.com/jaschaephraim/lrserver", sum = "h1:24NdJ5N6gtrcoeS4JwLMeruKFmg20QdF/5UnX5S/j18=", version = "v0.0.0-20171129202958-50d19f603f71", ) go_repository( name = "org_golang_x_sys", importpath = "golang.org/x/sys", sum = "h1:S/FtSvpNLtFBgjTqcKsRpsa6aVsI6iztaz1bQd9BJwE=", version = "v0.0.0-20191029155521-f43be2a4598c", ) go_repository( name = "org_golang_google_protobuf", importpath = "google.golang.org/protobuf", sum = "h1:qdOKuR/EIArgaWNjetjgTzgVTAZ+S/WXVrq9HW9zimw=", version = "v1.21.0", ) go_repository( name = "org_golang_x_xerrors", importpath = "golang.org/x/xerrors", sum = "h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=", version = "v0.0.0-20191204190536-9bdfabe68543", )
load('@bazel_gazelle//:deps.bzl', 'go_repository') def go_repositories(): go_repository(name='com_github_fsnotify_fsnotify', importpath='github.com/fsnotify/fsnotify', sum='h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4=', version='v1.4.9') go_repository(name='com_github_golang_protobuf', importpath='github.com/golang/protobuf', sum='h1:oOuy+ugB+P/kBdUnG5QaMXSIyJ1q38wWSojYCb3z5VQ=', version='v1.4.0') go_repository(name='com_github_google_go_cmp', importpath='github.com/google/go-cmp', sum='h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4=', version='v0.4.0') go_repository(name='com_github_gorilla_websocket', importpath='github.com/gorilla/websocket', sum='h1:q7AeDBpnBk8AogcD4DSag/Ukw/KV+YhzLj2bP5HvKCM=', version='v1.4.1') go_repository(name='com_github_jaschaephraim_lrserver', importpath='github.com/jaschaephraim/lrserver', sum='h1:24NdJ5N6gtrcoeS4JwLMeruKFmg20QdF/5UnX5S/j18=', version='v0.0.0-20171129202958-50d19f603f71') go_repository(name='org_golang_x_sys', importpath='golang.org/x/sys', sum='h1:S/FtSvpNLtFBgjTqcKsRpsa6aVsI6iztaz1bQd9BJwE=', version='v0.0.0-20191029155521-f43be2a4598c') go_repository(name='org_golang_google_protobuf', importpath='google.golang.org/protobuf', sum='h1:qdOKuR/EIArgaWNjetjgTzgVTAZ+S/WXVrq9HW9zimw=', version='v1.21.0') go_repository(name='org_golang_x_xerrors', importpath='golang.org/x/xerrors', sum='h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=', version='v0.0.0-20191204190536-9bdfabe68543')
# Python Program to demonstrate the LIFO principle using stack print("Stack utilizes the LIFO (Last In First Out) Principle") print() stack = [] # Initializating Empty Stack print("Initializing empty stack :", stack) # Printing empty Stack # Adding items to the Stack stack.append("Hey") stack.append("there!") stack.append("This") stack.append("is") stack.append("a") stack.append("Stack!") print("After adding items into the stack:", stack) # Printing stack after adding items stack.pop() # Removing an item from the Stack print("After removing only one item from the stack:", stack) # Printing stack after removing an item stack.append("Retry!") # Re-adding an item to the Stack print("After re-adding an item to the stack:", stack) # Printing the new Stack # Removing all the items from the Stack stack.pop() stack.pop() stack.pop() stack.pop() stack.pop() stack.pop() print("After removing all the items from the stack", stack) # Printing empty Stack print("Removing any more items will result in an error")
print('Stack utilizes the LIFO (Last In First Out) Principle') print() stack = [] print('Initializing empty stack :', stack) stack.append('Hey') stack.append('there!') stack.append('This') stack.append('is') stack.append('a') stack.append('Stack!') print('After adding items into the stack:', stack) stack.pop() print('After removing only one item from the stack:', stack) stack.append('Retry!') print('After re-adding an item to the stack:', stack) stack.pop() stack.pop() stack.pop() stack.pop() stack.pop() stack.pop() print('After removing all the items from the stack', stack) print('Removing any more items will result in an error')
# Copyright 2020, The TensorFlow Federated Authors. # # 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. """Defines errors used by multiple modules in the `tff.templates` package.""" class TemplateInitFnParamNotEmptyError(TypeError): """`TypeError` for `initialize_fn` having arguments.""" pass class TemplateStateNotAssignableError(TypeError): """`TypeError` for `state` not being assignable to expected `state`.""" pass class TemplateNotMeasuredProcessOutputError(TypeError): """`TypeError` for output of `next_fn` not being a `MeasuredProcessOutput`.""" pass class TemplateNextFnNumArgsError(TypeError): """`TypeError` for `next_fn` not having expected number of input arguments."""
"""Defines errors used by multiple modules in the `tff.templates` package.""" class Templateinitfnparamnotemptyerror(TypeError): """`TypeError` for `initialize_fn` having arguments.""" pass class Templatestatenotassignableerror(TypeError): """`TypeError` for `state` not being assignable to expected `state`.""" pass class Templatenotmeasuredprocessoutputerror(TypeError): """`TypeError` for output of `next_fn` not being a `MeasuredProcessOutput`.""" pass class Templatenextfnnumargserror(TypeError): """`TypeError` for `next_fn` not having expected number of input arguments."""
class Plugin_OBJ(): def __init__(self, fhdhr, plugin_utils, broadcast_ip, max_age): self.fhdhr = fhdhr self.broadcast_ip = broadcast_ip self.device_xml_path = '/hdhr/device.xml' self.cable_schema = "urn:schemas-opencable-com:service:Security:1" self.ota_schema = "urn:schemas-upnp-org:device:MediaServer:1" if self.fhdhr.config.dict["hdhr"]["reporting_tuner_type"].lower() == "antenna": self.schema = self.ota_schema elif self.fhdhr.config.dict["hdhr"]["reporting_tuner_type"].lower() == "cable": self.schema = self.cable_schema else: self.schema = self.ota_schema self.max_age = max_age @property def enabled(self): return self.fhdhr.config.dict["hdhr"]["enabled"] @property def notify(self): data = '' data_command = "NOTIFY * HTTP/1.1" data_dict = { "HOST": "%s:%s" % ("239.255.255.250", 1900), "NT": self.schema, "NTS": "ssdp:alive", "USN": 'uuid:%s::%s' % (self.fhdhr.config.dict["main"]["uuid"], self.schema), "SERVER": 'fHDHR/%s UPnP/1.0' % self.fhdhr.version, "LOCATION": "%s%s" % (self.fhdhr.api.base, self.device_xml_path), "AL": "%s%s" % (self.fhdhr.api.base, self.device_xml_path), "Cache-Control:max-age=": self.max_age } data += "%s\r\n" % data_command for data_key in list(data_dict.keys()): data += "%s:%s\r\n" % (data_key, data_dict[data_key]) data += "\r\n" return data
class Plugin_Obj: def __init__(self, fhdhr, plugin_utils, broadcast_ip, max_age): self.fhdhr = fhdhr self.broadcast_ip = broadcast_ip self.device_xml_path = '/hdhr/device.xml' self.cable_schema = 'urn:schemas-opencable-com:service:Security:1' self.ota_schema = 'urn:schemas-upnp-org:device:MediaServer:1' if self.fhdhr.config.dict['hdhr']['reporting_tuner_type'].lower() == 'antenna': self.schema = self.ota_schema elif self.fhdhr.config.dict['hdhr']['reporting_tuner_type'].lower() == 'cable': self.schema = self.cable_schema else: self.schema = self.ota_schema self.max_age = max_age @property def enabled(self): return self.fhdhr.config.dict['hdhr']['enabled'] @property def notify(self): data = '' data_command = 'NOTIFY * HTTP/1.1' data_dict = {'HOST': '%s:%s' % ('239.255.255.250', 1900), 'NT': self.schema, 'NTS': 'ssdp:alive', 'USN': 'uuid:%s::%s' % (self.fhdhr.config.dict['main']['uuid'], self.schema), 'SERVER': 'fHDHR/%s UPnP/1.0' % self.fhdhr.version, 'LOCATION': '%s%s' % (self.fhdhr.api.base, self.device_xml_path), 'AL': '%s%s' % (self.fhdhr.api.base, self.device_xml_path), 'Cache-Control:max-age=': self.max_age} data += '%s\r\n' % data_command for data_key in list(data_dict.keys()): data += '%s:%s\r\n' % (data_key, data_dict[data_key]) data += '\r\n' return data
""" Data store module - simple key-value store to organize data collection and lookup / filtering based on meta data. - the encoding of the meta data follows the encoding of the rest of my Advanced Systems Lab (ASL) project data processing; project description follows on my homepage id_str consists of: key1_value1_key2_value2_key3_value3 (...) - the lookup/filter mechanism follows the filter option implemented in my Barrelfish OlympOS name service Gaia (Advanced Operating System, AOS, 2017) using a fresh implementation of a serializable key-value store that allows iteration of lambda functions https://www.pirmin-schmid.ch/software/barrelfish-olympos/ - optionally, type casts can be defined for meta data (int, float, str) - a singleton is offered as data_store module variable This store is *not* designed for performance: O(n) for all lookup/filter operations however, O(1) for inserts limitations: no error handling; not designed for multi-threaded access see main documentation for details about data analysis version 2018-12-03 Copyright (c) 2018 Pirmin Schmid, MIT license. """ class Item: def __init__(self, id_str, meta, value): self.id = id_str self.meta = meta self.value = value class DataStore: def __init__(self): self.store = {} self.type_map = {} # public API def put(self, id_str, value): """ adds value with key id_str to the store :param id_str: key_value encoded meta data :param value: """ self.store[id_str] = Item(id_str, self.meta_data_from_id_str(id_str), value) def get(self, id_str): """ returns exact match; None if not found :param id_str: :return: Item object that contains id_str, meta, and the value """ if id_str not in self.store: return None return self.store[id_str] def meta_data_from_id_str(self, id_str): """ returns dictionary with meta data including type casting, if defined. :param id_str: encoded id string :return: meta data dict """ tokens = id_str.split('_') result = {} for i in range(0, len(tokens), 2): result[tokens[i]] = tokens[i + 1] return self.apply_type_casts(result) def filter_by_meta(self, meta_data_dict): """ returns all items of the store that match all elements of the meta_data_dict :param meta_data_dict: :return: list of Item objects """ return self.filter_by_meta_helper(self.apply_type_casts(meta_data_dict)) def filter_by_id_str(self, id_str): """ returns all items of the store that match all elements of the id_str :param id_str: :return: list of Item objects """ return self.filter_by_meta_helper(self.meta_data_from_id_str(id_str)) def config_meta_data_type_map(self, config_str): """ as an option, type casts can be applied to defined meta data keys use i (for int), f (for float), s (for string) as 'value' in the config_str default is string, if not defined note: for consistency with the cached meta data, all meta data dicts are recalculated in this call :param config_str: key-'value' encoding string with codes as defined; empty string to remove all cast info """ tokens = config_str.split('_') self.type_map = {} for i in range(0, len(tokens), 2): t = tokens[i + 1] if t == 'i': self.type_map[tokens[i]] = int elif t == 'f': self.type_map[tokens[i]] = float # update cache for e in self.store.values(): e.meta = self.apply_type_casts(e.meta) # internal helpers def apply_type_casts(self, meta_data_dict): result = {} for (k, v) in meta_data_dict.items(): if k in self.type_map: result[k] = self.type_map[k](v) else: result[k] = str(v) return result def filter_by_meta_helper(self, formatted_meta_data_dict): result = [] for e in self.store.values(): meta = e.meta match = True for (k, v) in formatted_meta_data_dict.items(): if k not in meta: match = False break if meta[k] != v: match = False break if match: result.append(e) return result # optional singleton data_store = DataStore()
""" Data store module - simple key-value store to organize data collection and lookup / filtering based on meta data. - the encoding of the meta data follows the encoding of the rest of my Advanced Systems Lab (ASL) project data processing; project description follows on my homepage id_str consists of: key1_value1_key2_value2_key3_value3 (...) - the lookup/filter mechanism follows the filter option implemented in my Barrelfish OlympOS name service Gaia (Advanced Operating System, AOS, 2017) using a fresh implementation of a serializable key-value store that allows iteration of lambda functions https://www.pirmin-schmid.ch/software/barrelfish-olympos/ - optionally, type casts can be defined for meta data (int, float, str) - a singleton is offered as data_store module variable This store is *not* designed for performance: O(n) for all lookup/filter operations however, O(1) for inserts limitations: no error handling; not designed for multi-threaded access see main documentation for details about data analysis version 2018-12-03 Copyright (c) 2018 Pirmin Schmid, MIT license. """ class Item: def __init__(self, id_str, meta, value): self.id = id_str self.meta = meta self.value = value class Datastore: def __init__(self): self.store = {} self.type_map = {} def put(self, id_str, value): """ adds value with key id_str to the store :param id_str: key_value encoded meta data :param value: """ self.store[id_str] = item(id_str, self.meta_data_from_id_str(id_str), value) def get(self, id_str): """ returns exact match; None if not found :param id_str: :return: Item object that contains id_str, meta, and the value """ if id_str not in self.store: return None return self.store[id_str] def meta_data_from_id_str(self, id_str): """ returns dictionary with meta data including type casting, if defined. :param id_str: encoded id string :return: meta data dict """ tokens = id_str.split('_') result = {} for i in range(0, len(tokens), 2): result[tokens[i]] = tokens[i + 1] return self.apply_type_casts(result) def filter_by_meta(self, meta_data_dict): """ returns all items of the store that match all elements of the meta_data_dict :param meta_data_dict: :return: list of Item objects """ return self.filter_by_meta_helper(self.apply_type_casts(meta_data_dict)) def filter_by_id_str(self, id_str): """ returns all items of the store that match all elements of the id_str :param id_str: :return: list of Item objects """ return self.filter_by_meta_helper(self.meta_data_from_id_str(id_str)) def config_meta_data_type_map(self, config_str): """ as an option, type casts can be applied to defined meta data keys use i (for int), f (for float), s (for string) as 'value' in the config_str default is string, if not defined note: for consistency with the cached meta data, all meta data dicts are recalculated in this call :param config_str: key-'value' encoding string with codes as defined; empty string to remove all cast info """ tokens = config_str.split('_') self.type_map = {} for i in range(0, len(tokens), 2): t = tokens[i + 1] if t == 'i': self.type_map[tokens[i]] = int elif t == 'f': self.type_map[tokens[i]] = float for e in self.store.values(): e.meta = self.apply_type_casts(e.meta) def apply_type_casts(self, meta_data_dict): result = {} for (k, v) in meta_data_dict.items(): if k in self.type_map: result[k] = self.type_map[k](v) else: result[k] = str(v) return result def filter_by_meta_helper(self, formatted_meta_data_dict): result = [] for e in self.store.values(): meta = e.meta match = True for (k, v) in formatted_meta_data_dict.items(): if k not in meta: match = False break if meta[k] != v: match = False break if match: result.append(e) return result data_store = data_store()
class OASInvalidSpec: ... class OASInvalidTypeValue(OASInvalidSpec, TypeError): """OASInvalidTypeValue refers to invalid type of the value. Thrown if either "default" or "example" value's type does not match the OASType """ ... class OASInvalidConstraints(OASInvalidSpec, ValueError): """OASInvalidConstrains refers to constraints of the value. If, for example, the value's type is "string" and "minLength" > "maxLength", this exceptions is thrown. """ ... class OASConflict(OASInvalidSpec, ValueError): """OASConflict refers to any conflicting situation in specification. """
class Oasinvalidspec: ... class Oasinvalidtypevalue(OASInvalidSpec, TypeError): """OASInvalidTypeValue refers to invalid type of the value. Thrown if either "default" or "example" value's type does not match the OASType """ ... class Oasinvalidconstraints(OASInvalidSpec, ValueError): """OASInvalidConstrains refers to constraints of the value. If, for example, the value's type is "string" and "minLength" > "maxLength", this exceptions is thrown. """ ... class Oasconflict(OASInvalidSpec, ValueError): """OASConflict refers to any conflicting situation in specification. """
class Sigma: """ A representation of the sigma term in the model. Specifically, this is the sigma of y itself, i.e. the sigma in y ~ Normal(sum_of_trees, sigma) The default prior is an inverse gamma distribution on the variance The parametrization is slightly different to the numpy gamma version, with the scale parameter inverted Parameters ---------- alpha - the shape of the prior beta - the scale of the prior scaling_factor - the range of the original distribution needed to rescale the variance into the original scale rather than on (-0.5, 0.5) """ def __init__(self, alpha: float, beta: float, scaling_factor: float): self.alpha = alpha self.beta = beta self._current_value = 1.0 self.scaling_factor = scaling_factor def set_value(self, value: float) -> None: self._current_value = value def current_value(self) -> float: return self._current_value def current_unnormalized_value(self) -> float: return self.current_value() * self.scaling_factor
class Sigma: """ A representation of the sigma term in the model. Specifically, this is the sigma of y itself, i.e. the sigma in y ~ Normal(sum_of_trees, sigma) The default prior is an inverse gamma distribution on the variance The parametrization is slightly different to the numpy gamma version, with the scale parameter inverted Parameters ---------- alpha - the shape of the prior beta - the scale of the prior scaling_factor - the range of the original distribution needed to rescale the variance into the original scale rather than on (-0.5, 0.5) """ def __init__(self, alpha: float, beta: float, scaling_factor: float): self.alpha = alpha self.beta = beta self._current_value = 1.0 self.scaling_factor = scaling_factor def set_value(self, value: float) -> None: self._current_value = value def current_value(self) -> float: return self._current_value def current_unnormalized_value(self) -> float: return self.current_value() * self.scaling_factor
"""Reverse a list. Reverse the order of the elements of list _x . This may reverse "in-place" and destroy the original ordering. Source: programming-idioms.org """ # Implementation author: synapton # Created on 2017-05-14T03:47:52.643616Z # Last modified on 2019-09-27T02:57:37.321491Z # Version 3 # Creates a new, reversed list. y = x[::-1]
"""Reverse a list. Reverse the order of the elements of list _x . This may reverse "in-place" and destroy the original ordering. Source: programming-idioms.org """ y = x[::-1]
def _remove_extensions(file_list): rv = {} for f in file_list: if (f.extension == "c" or f.extension == "s" or f.extension == "S"): rv[f.path[:-2]] = f else: rv[f.path] = f return rv def _remove_arch(file_dict, arch): rv = {} for f in file_dict: idx = f.find(arch + "/") if (idx == -1): rv[f] = file_dict[f] continue rv[f[:idx] + f[idx + len(arch) + 1:]] = file_dict[f] return rv def _musl_srcs(ctx): if ctx.attr.arch == "": return ctx.srcs srcs_no_ext = _remove_extensions(ctx.files.srcs) arch_srcs_no_ext = _remove_arch(_remove_extensions(ctx.files.arch_srcs), ctx.attr.arch) filtered_srcs = [] for f_s in srcs_no_ext: if (f_s not in arch_srcs_no_ext): filtered_srcs.append(srcs_no_ext[f_s]) rv = depset(filtered_srcs + ctx.files.arch_srcs) return [DefaultInfo(files = rv)] musl_srcs = rule( implementation = _musl_srcs, attrs = { "srcs": attr.label_list(allow_files = True, mandatory = True), "arch_srcs": attr.label_list(allow_files = True, mandatory = True), "arch": attr.string(mandatory = True), }, )
def _remove_extensions(file_list): rv = {} for f in file_list: if f.extension == 'c' or f.extension == 's' or f.extension == 'S': rv[f.path[:-2]] = f else: rv[f.path] = f return rv def _remove_arch(file_dict, arch): rv = {} for f in file_dict: idx = f.find(arch + '/') if idx == -1: rv[f] = file_dict[f] continue rv[f[:idx] + f[idx + len(arch) + 1:]] = file_dict[f] return rv def _musl_srcs(ctx): if ctx.attr.arch == '': return ctx.srcs srcs_no_ext = _remove_extensions(ctx.files.srcs) arch_srcs_no_ext = _remove_arch(_remove_extensions(ctx.files.arch_srcs), ctx.attr.arch) filtered_srcs = [] for f_s in srcs_no_ext: if f_s not in arch_srcs_no_ext: filtered_srcs.append(srcs_no_ext[f_s]) rv = depset(filtered_srcs + ctx.files.arch_srcs) return [default_info(files=rv)] musl_srcs = rule(implementation=_musl_srcs, attrs={'srcs': attr.label_list(allow_files=True, mandatory=True), 'arch_srcs': attr.label_list(allow_files=True, mandatory=True), 'arch': attr.string(mandatory=True)})
v = ["a", "i", "u", "e", "o"] c = input() if c in v: print("vowel") else: print("consonant")
v = ['a', 'i', 'u', 'e', 'o'] c = input() if c in v: print('vowel') else: print('consonant')
HXLM_PLUGIN_META = { 'code': "xa_amnesty", 'code_if_approved': "xz_amnesty" }
hxlm_plugin_meta = {'code': 'xa_amnesty', 'code_if_approved': 'xz_amnesty'}
""" ID: PRTM Title: Calculating Protein Mass URL: http://rosalind.info/problems/prtm/ """ monoisotopic_mass_dict = { 'A': 71.03711, 'C': 103.00919, 'D': 115.02694, 'E': 129.04259, 'F': 147.06841, 'G': 57.02146, 'H': 137.05891, 'I': 113.08406, 'K': 128.09496, 'L': 113.08406, 'M': 131.04049, 'N': 114.04293, 'P': 97.05276, 'Q': 128.05858, 'R': 156.10111, 'S': 87.03203, 'T': 101.04768, 'V': 99.06841, 'W': 186.07931, 'Y': 163.06333 } def calculate_weight(protein): """ Calculates the total weight of protein. Args: protein (str): protein string. Returns: float: total weight. """ weight = 0 for p in protein: weight += monoisotopic_mass_dict[p] return weight
""" ID: PRTM Title: Calculating Protein Mass URL: http://rosalind.info/problems/prtm/ """ monoisotopic_mass_dict = {'A': 71.03711, 'C': 103.00919, 'D': 115.02694, 'E': 129.04259, 'F': 147.06841, 'G': 57.02146, 'H': 137.05891, 'I': 113.08406, 'K': 128.09496, 'L': 113.08406, 'M': 131.04049, 'N': 114.04293, 'P': 97.05276, 'Q': 128.05858, 'R': 156.10111, 'S': 87.03203, 'T': 101.04768, 'V': 99.06841, 'W': 186.07931, 'Y': 163.06333} def calculate_weight(protein): """ Calculates the total weight of protein. Args: protein (str): protein string. Returns: float: total weight. """ weight = 0 for p in protein: weight += monoisotopic_mass_dict[p] return weight
""" This package contains the code for testing pyqode.python. To run the test suite, just run the following command:: tox To select a specific environment, use the -e option. E.g. to run coverage tests:: tox -e cov Here is the list of available test environments: - py27-pyqt4 - py27-pyqt5 - py32-pyqt4 - py32-pyqt5 - py33-pyqt4 - py33-pyqt5 - py34-pyqt4 - py34-pyqt5 - cov - pep8 """
""" This package contains the code for testing pyqode.python. To run the test suite, just run the following command:: tox To select a specific environment, use the -e option. E.g. to run coverage tests:: tox -e cov Here is the list of available test environments: - py27-pyqt4 - py27-pyqt5 - py32-pyqt4 - py32-pyqt5 - py33-pyqt4 - py33-pyqt5 - py34-pyqt4 - py34-pyqt5 - cov - pep8 """
horpos = list(map(int, open('Day 07.input').readline().split(','))) mean = sum(horpos) / len(horpos) target1 = mean - (mean % 1) target2 = mean + (1 - mean % 1) print(min(round(sum((abs(x - target1) * (abs(x - target1) + 1)) / 2 for x in horpos)), round(sum((abs(x - target2) * (abs(x - target2) + 1)) / 2 for x in horpos))))
horpos = list(map(int, open('Day 07.input').readline().split(','))) mean = sum(horpos) / len(horpos) target1 = mean - mean % 1 target2 = mean + (1 - mean % 1) print(min(round(sum((abs(x - target1) * (abs(x - target1) + 1) / 2 for x in horpos))), round(sum((abs(x - target2) * (abs(x - target2) + 1) / 2 for x in horpos)))))
n = int(input()) positives = [] negatives = [] for _ in range(n): num = int(input()) if num >= 0: positives.append(num) else: negatives.append(num) count_of_positives = len(positives) sum_of_negatives = sum(negatives) print(positives) print(negatives) print(f'Count of positives: {count_of_positives}. Sum of negatives: {sum_of_negatives}')
n = int(input()) positives = [] negatives = [] for _ in range(n): num = int(input()) if num >= 0: positives.append(num) else: negatives.append(num) count_of_positives = len(positives) sum_of_negatives = sum(negatives) print(positives) print(negatives) print(f'Count of positives: {count_of_positives}. Sum of negatives: {sum_of_negatives}')
s = "abcdefgh" for index in range(len(s)): if s[index] == "i" or s[index] == "u": print("There is an i or u") # Code can be rewrited as for char in s: if char == "i" or char == "u": print("There is an i or u")
s = 'abcdefgh' for index in range(len(s)): if s[index] == 'i' or s[index] == 'u': print('There is an i or u') for char in s: if char == 'i' or char == 'u': print('There is an i or u')
#! usr/bin/python3 #-*- coding:utf-8 -*- """Constants of MacGyver game""" # Window settings number_sprite_side = 15 sprite_size = 40 score_wiev=40 window_side = number_sprite_side * sprite_size window_height = number_sprite_side * sprite_size + score_wiev #The window customization window_title = "MacGyver" image_icon = "pictures/MacGyver.png" #Lists of the game's images home_bis = "pictures/home.jpg" image_plastic_tube = "pictures/plastic_tube.png" image_ether = "pictures/ether.png" image_needle = "pictures/needle.png" image_syringe= "pictures/syringe.png" background = "pictures/background.jpg" image_home = "pictures/home.jpg" image_reload = "pictures/reload.jpg" image_winn = "pictures/winn.jpg" image_bg = "pictures/background.jpg" image_wall = "pictures/wall.png" image_start = "pictures/start.png" image_arrival = "pictures/guardian.png" image_bottom = "pictures/bottom.png" image_counter_0 = "pictures/counter_0.png" image_counter_1 = "pictures/counter_1.png" image_counter_2 = "pictures/counter_2.png" image_counter_3 = "pictures/counter_3.png"
"""Constants of MacGyver game""" number_sprite_side = 15 sprite_size = 40 score_wiev = 40 window_side = number_sprite_side * sprite_size window_height = number_sprite_side * sprite_size + score_wiev window_title = 'MacGyver' image_icon = 'pictures/MacGyver.png' home_bis = 'pictures/home.jpg' image_plastic_tube = 'pictures/plastic_tube.png' image_ether = 'pictures/ether.png' image_needle = 'pictures/needle.png' image_syringe = 'pictures/syringe.png' background = 'pictures/background.jpg' image_home = 'pictures/home.jpg' image_reload = 'pictures/reload.jpg' image_winn = 'pictures/winn.jpg' image_bg = 'pictures/background.jpg' image_wall = 'pictures/wall.png' image_start = 'pictures/start.png' image_arrival = 'pictures/guardian.png' image_bottom = 'pictures/bottom.png' image_counter_0 = 'pictures/counter_0.png' image_counter_1 = 'pictures/counter_1.png' image_counter_2 = 'pictures/counter_2.png' image_counter_3 = 'pictures/counter_3.png'
banned_words = input().split() text = input() replaced_text = text for word in banned_words: replaced_text = replaced_text.replace(word, "*" * len(word)) print(replaced_text)
banned_words = input().split() text = input() replaced_text = text for word in banned_words: replaced_text = replaced_text.replace(word, '*' * len(word)) print(replaced_text)
vocab_sizes_dict = {'BabyAI-BossLevel-v0': 31, 'BabyAI-BossLevelNoUnlock-v0': 31, 'BabyAI-GoTo-v0': 13, 'BabyAI-GoToImpUnlock-v0': 13, 'BabyAI-GoToLocal-v0': 13, 'BabyAI-GoToLocalS5N2-v0': 13, 'BabyAI-GoToLocalS6N2-v0': 13, 'BabyAI-GoToLocalS6N3-v0': 13, 'BabyAI-GoToLocalS6N4-v0': 13, 'BabyAI-GoToLocalS7N4-v0': 13, 'BabyAI-GoToLocalS7N5-v0': 13, 'BabyAI-GoToLocalS8N2-v0': 13, 'BabyAI-GoToLocalS8N3-v0': 13, 'BabyAI-GoToLocalS8N4-v0': 13, 'BabyAI-GoToLocalS8N5-v0': 13, 'BabyAI-GoToLocalS8N6-v0': 13, 'BabyAI-GoToLocalS8N7-v0': 13, 'BabyAI-GoToObj-v0': 12, 'BabyAI-GoToObjMaze-v0': 12, 'BabyAI-GoToObjMazeOpen-v0': 12, 'BabyAI-GoToObjMazeS4-v0': 12, 'BabyAI-GoToObjMazeS4R2-v0': 12, 'BabyAI-GoToObjMazeS5-v0': 12, 'BabyAI-GoToObjMazeS6-v0': 12, 'BabyAI-GoToObjMazeS7-v0': 12, 'BabyAI-GoToObjS4-v0': 12, 'BabyAI-GoToObjS6-v0': 12, 'BabyAI-GoToOpen-v0': 13, 'BabyAI-GoToRedBall-v0': 6, 'BabyAI-GoToRedBallGrey-v0': 5, 'BabyAI-GoToRedBallNoDists-v0': 5, 'BabyAI-GoToSeq-v0': 18, 'BabyAI-GoToSeqS5R2-v0': 18, 'BabyAI-MiniBossLevel-v0': 31, 'BabyAI-Open-v0': 10, 'BabyAI-Pickup-v0': 13, 'BabyAI-PickupLoc-v0': 22, 'BabyAI-PutNext-v0': 14, 'BabyAI-PutNextLocal-v0': 13, 'BabyAI-PutNextLocalS5N3-v0': 13, 'BabyAI-PutNextLocalS6N4-v0': 13, 'BabyAI-Synth-v0': 19, 'BabyAI-SynthLoc-v0': 28, 'BabyAI-SynthS5R2-v0': 19, 'BabyAI-SynthSeq-v0': 31, 'BabyAI-UnlockPickup-v0': 13, 'BabyAI-UnblockPickup-v0': 13, 'BabyAI-Unlock-v0': 10}
vocab_sizes_dict = {'BabyAI-BossLevel-v0': 31, 'BabyAI-BossLevelNoUnlock-v0': 31, 'BabyAI-GoTo-v0': 13, 'BabyAI-GoToImpUnlock-v0': 13, 'BabyAI-GoToLocal-v0': 13, 'BabyAI-GoToLocalS5N2-v0': 13, 'BabyAI-GoToLocalS6N2-v0': 13, 'BabyAI-GoToLocalS6N3-v0': 13, 'BabyAI-GoToLocalS6N4-v0': 13, 'BabyAI-GoToLocalS7N4-v0': 13, 'BabyAI-GoToLocalS7N5-v0': 13, 'BabyAI-GoToLocalS8N2-v0': 13, 'BabyAI-GoToLocalS8N3-v0': 13, 'BabyAI-GoToLocalS8N4-v0': 13, 'BabyAI-GoToLocalS8N5-v0': 13, 'BabyAI-GoToLocalS8N6-v0': 13, 'BabyAI-GoToLocalS8N7-v0': 13, 'BabyAI-GoToObj-v0': 12, 'BabyAI-GoToObjMaze-v0': 12, 'BabyAI-GoToObjMazeOpen-v0': 12, 'BabyAI-GoToObjMazeS4-v0': 12, 'BabyAI-GoToObjMazeS4R2-v0': 12, 'BabyAI-GoToObjMazeS5-v0': 12, 'BabyAI-GoToObjMazeS6-v0': 12, 'BabyAI-GoToObjMazeS7-v0': 12, 'BabyAI-GoToObjS4-v0': 12, 'BabyAI-GoToObjS6-v0': 12, 'BabyAI-GoToOpen-v0': 13, 'BabyAI-GoToRedBall-v0': 6, 'BabyAI-GoToRedBallGrey-v0': 5, 'BabyAI-GoToRedBallNoDists-v0': 5, 'BabyAI-GoToSeq-v0': 18, 'BabyAI-GoToSeqS5R2-v0': 18, 'BabyAI-MiniBossLevel-v0': 31, 'BabyAI-Open-v0': 10, 'BabyAI-Pickup-v0': 13, 'BabyAI-PickupLoc-v0': 22, 'BabyAI-PutNext-v0': 14, 'BabyAI-PutNextLocal-v0': 13, 'BabyAI-PutNextLocalS5N3-v0': 13, 'BabyAI-PutNextLocalS6N4-v0': 13, 'BabyAI-Synth-v0': 19, 'BabyAI-SynthLoc-v0': 28, 'BabyAI-SynthS5R2-v0': 19, 'BabyAI-SynthSeq-v0': 31, 'BabyAI-UnlockPickup-v0': 13, 'BabyAI-UnblockPickup-v0': 13, 'BabyAI-Unlock-v0': 10}
str=input("Enter string:") str_list=list(str) rev_list=[] rev_str="" length=len(str_list) for i in range(-1,-(length+1),-1): rev_list.append(str_list[i]) rev=rev_str.join(rev_list) print(rev) print("Character in even index:") for i in range(0,len(str),2): print(str[i])
str = input('Enter string:') str_list = list(str) rev_list = [] rev_str = '' length = len(str_list) for i in range(-1, -(length + 1), -1): rev_list.append(str_list[i]) rev = rev_str.join(rev_list) print(rev) print('Character in even index:') for i in range(0, len(str), 2): print(str[i])
test_ads_info = [ {'ad_id': 787, 'status': True, 'bidding_cpc': 1, 'advertiser': 'DO', 'banner_style': 'XII', 'category': 'Pullover', 'layout_style': 'JV', 'item_price': 812.32}, {'ad_id': 476, 'status': True, 'bidding_cpc': 1, 'advertiser': 'DO', 'banner_style': 'XII', 'category': 'Pullover', 'layout_style': 'JV', 'item_price': 812.32}] test_bid_request_info ={ "bid_floor": 12.00, "height": 30, "width": 50, "hist_ctr": 0.0008, "hist_cvr": 0.0000001 } test_ctr_info = { 787: 0.9986145933896876 }
test_ads_info = [{'ad_id': 787, 'status': True, 'bidding_cpc': 1, 'advertiser': 'DO', 'banner_style': 'XII', 'category': 'Pullover', 'layout_style': 'JV', 'item_price': 812.32}, {'ad_id': 476, 'status': True, 'bidding_cpc': 1, 'advertiser': 'DO', 'banner_style': 'XII', 'category': 'Pullover', 'layout_style': 'JV', 'item_price': 812.32}] test_bid_request_info = {'bid_floor': 12.0, 'height': 30, 'width': 50, 'hist_ctr': 0.0008, 'hist_cvr': 1e-07} test_ctr_info = {787: 0.9986145933896876}
class BaseAggregator(object): def __init__(self, *args, **kwargs): pass def process(self, current_activities, original_activities, aggregators, *args, **kwargs): """ Processes the activities performing any mutations necessary. :type current_activities: list :param current_activities: A list of activities, as they stand at the current stage of the aggregation pipeline :type original_activities: list :param original_activities: A list of activities before any processing by the aggregation pipeline :type aggregators: list :param aggregators: A list of aggregators in the current pipeline. The aggregators will be executed (or have been executed) in the order they appear in the list :return: A list of of activities """ return current_activities
class Baseaggregator(object): def __init__(self, *args, **kwargs): pass def process(self, current_activities, original_activities, aggregators, *args, **kwargs): """ Processes the activities performing any mutations necessary. :type current_activities: list :param current_activities: A list of activities, as they stand at the current stage of the aggregation pipeline :type original_activities: list :param original_activities: A list of activities before any processing by the aggregation pipeline :type aggregators: list :param aggregators: A list of aggregators in the current pipeline. The aggregators will be executed (or have been executed) in the order they appear in the list :return: A list of of activities """ return current_activities
# # PySNMP MIB module TELESYN-ATI-TC (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/TELESYN-ATI-TC # Produced by pysmi-0.3.4 at Mon Apr 29 18:22:21 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, ConstraintsUnion, ConstraintsIntersection, SingleValueConstraint, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsUnion", "ConstraintsIntersection", "SingleValueConstraint", "ValueSizeConstraint") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Integer32, IpAddress, ModuleIdentity, enterprises, TimeTicks, NotificationType, Unsigned32, MibIdentifier, iso, ObjectIdentity, Counter32, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter64, Bits = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "IpAddress", "ModuleIdentity", "enterprises", "TimeTicks", "NotificationType", "Unsigned32", "MibIdentifier", "iso", "ObjectIdentity", "Counter32", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter64", "Bits") TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString") alliedtelesyn = MibIdentifier((1, 3, 6, 1, 4, 1, 207)) mibObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8)) products = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1)) switchingHubs = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4)) at_8200Switch = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 9)).setLabel("at-8200Switch") at8200SwitchMib = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9)) switchChassis = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 1)) switchMibModules = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2)) atmModule = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2, 1)) bridgeModule = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2, 2)) fddiModule = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2, 3)) isdnModule = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2, 4)) vLanModule = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2, 5)) atiProducts = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 3)) switchProduct = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 3, 1)) atiAgents = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 100)) uplinkSwitchAgent = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 100, 1)) switchAgent = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 100, 2)) atiAgentCapabilities = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 1000)) atiConventions = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 200)) switchVendor = MibIdentifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 300)) mibBuilder.exportSymbols("TELESYN-ATI-TC", fddiModule=fddiModule, atiProducts=atiProducts, atiConventions=atiConventions, at8200SwitchMib=at8200SwitchMib, isdnModule=isdnModule, mibObjects=mibObjects, atmModule=atmModule, uplinkSwitchAgent=uplinkSwitchAgent, switchChassis=switchChassis, vLanModule=vLanModule, switchMibModules=switchMibModules, switchAgent=switchAgent, at_8200Switch=at_8200Switch, switchingHubs=switchingHubs, alliedtelesyn=alliedtelesyn, atiAgents=atiAgents, atiAgentCapabilities=atiAgentCapabilities, switchProduct=switchProduct, products=products, switchVendor=switchVendor, bridgeModule=bridgeModule)
(integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, constraints_union, constraints_intersection, single_value_constraint, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsUnion', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueSizeConstraint') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (integer32, ip_address, module_identity, enterprises, time_ticks, notification_type, unsigned32, mib_identifier, iso, object_identity, counter32, gauge32, mib_scalar, mib_table, mib_table_row, mib_table_column, counter64, bits) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'IpAddress', 'ModuleIdentity', 'enterprises', 'TimeTicks', 'NotificationType', 'Unsigned32', 'MibIdentifier', 'iso', 'ObjectIdentity', 'Counter32', 'Gauge32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter64', 'Bits') (textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString') alliedtelesyn = mib_identifier((1, 3, 6, 1, 4, 1, 207)) mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8)) products = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1)) switching_hubs = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4)) at_8200_switch = mib_identifier((1, 3, 6, 1, 4, 1, 207, 1, 4, 9)).setLabel('at-8200Switch') at8200_switch_mib = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9)) switch_chassis = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 1)) switch_mib_modules = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2)) atm_module = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2, 1)) bridge_module = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2, 2)) fddi_module = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2, 3)) isdn_module = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2, 4)) v_lan_module = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 2, 5)) ati_products = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 3)) switch_product = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 3, 1)) ati_agents = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 100)) uplink_switch_agent = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 100, 1)) switch_agent = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 100, 2)) ati_agent_capabilities = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 1000)) ati_conventions = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 200)) switch_vendor = mib_identifier((1, 3, 6, 1, 4, 1, 207, 8, 9, 300)) mibBuilder.exportSymbols('TELESYN-ATI-TC', fddiModule=fddiModule, atiProducts=atiProducts, atiConventions=atiConventions, at8200SwitchMib=at8200SwitchMib, isdnModule=isdnModule, mibObjects=mibObjects, atmModule=atmModule, uplinkSwitchAgent=uplinkSwitchAgent, switchChassis=switchChassis, vLanModule=vLanModule, switchMibModules=switchMibModules, switchAgent=switchAgent, at_8200Switch=at_8200Switch, switchingHubs=switchingHubs, alliedtelesyn=alliedtelesyn, atiAgents=atiAgents, atiAgentCapabilities=atiAgentCapabilities, switchProduct=switchProduct, products=products, switchVendor=switchVendor, bridgeModule=bridgeModule)
def make_shirt(size, message): """Display information regarding the size and message of a shirt.""" print("The shirt size is " + size + " and the message will read: " + message + ".") make_shirt('large', 'Archaeology Club') def make_shirt(size, message): """Display information regarding the size and message of a shirt.""" print("The shirt size is " + size + " and the message will read: " + message + ".") make_shirt(size='large', message='Archaeology Club')
def make_shirt(size, message): """Display information regarding the size and message of a shirt.""" print('The shirt size is ' + size + ' and the message will read: ' + message + '.') make_shirt('large', 'Archaeology Club') def make_shirt(size, message): """Display information regarding the size and message of a shirt.""" print('The shirt size is ' + size + ' and the message will read: ' + message + '.') make_shirt(size='large', message='Archaeology Club')
""" Author: Ao Wang Date: 09/05/19 Description: Affine cipher with decrypter/hack """ # The function loads the English alphabet def loadAlphabet(): alphabet = "" for i in range(26): alphabet += chr(ord("a") + i) return alphabet # The function returns the greatest common denominator using Euclid's algorithm def gcd(num1, num2): while num1 != 0: num1, num2 = num2 % num1, num1 return num2 # The function returns the modular inverse using Euclid's extended algorithm def modInverse(num1, num2): if gcd(num1, num2) != 1: return -1 u1, u2, u3 = 1, 0, num1 v1, v2, v3 = 0, 1, num2 while v3 != 0: q = u3 // v3 v1, v2, v3, u1, u2, u3 = (u1-q*v1), (u2-q*v2), (u3-q*v3), v1, v2, v3 return u1 % num2 # The function returns the integer used for the cipher using key1 and key2 def equation(num, slope, intercept): return slope * num + intercept # The function encrypts the plain text using the Affine cipher def encrypt(plain_text, key_a, key_b): cipher_text = "" for symbol in plain_text: if symbol.lower() in ALPHABET: idx = equation(ALPHABET.index(symbol.lower()), key_a, key_b) % len(ALPHABET) if symbol.isupper(): cipher_text += ALPHABET[idx].upper() else: cipher_text += ALPHABET[idx] else: cipher_text += symbol return cipher_text # The function is a simple decryption that needs the keys def decrypt(cipher_text, key_a, key_b): plain_text = "" for symbol in cipher_text: if symbol.lower() in ALPHABET: idx = abs((ALPHABET.index(symbol.lower()) - key_b)*modInverse(key_a, len(ALPHABET)) % len(ALPHABET)) if symbol.isupper(): plain_text += ALPHABET[idx].upper() else: plain_text += ALPHABET[idx] else: plain_text += symbol return plain_text # -------------------- Brute force section ------------------------ LETTERS_AND_SPACE = "abcdefghijklmnopqrstuvwxyz" + ' \t\n' # The function returns a list of words from two word text files def loadDictionary(): with open("words.txt", "r") as f1, \ open("morewords.txt", "r") as f2: file1 = f1.read().split("\n") file2 = f2.read().split("\n") # second text file was all uppercase, so needed to become lowercase for i in range(len(file2)): file2[i] = file2[i].lower() # extend the second file by adding the first file2.extend(file1) return file2 ENGLISH_WORDS = loadDictionary() # The function removes non characters in the LETTERS_AND_SPACE variable def removeNonLetters(msg): lettersOnly = [] for symbol in msg: if symbol in LETTERS_AND_SPACE: lettersOnly.append(symbol) return "".join(lettersOnly) # The function returns the percentage of words in the dictionary def getEnglishCount(msg): msg = msg.lower() msg = removeNonLetters(msg) possibleWords = msg.split() if possibleWords == []: return 0 matches = 0 for word in possibleWords: if word in ENGLISH_WORDS: matches += 1 return 100 * float(matches)/len(possibleWords) def brute_force(cipher_text): print("Hacking...") percentages = {} key1 = 1 while key1 != 26: while gcd(key1, 26) != 1: key1 += 1 for key2 in range(26): if getEnglishCount(decrypt(cipher_text, key1, key2)) > 80: percentages[str(key1) + " " + str(key2)] = getEnglishCount(decrypt(cipher_text, key1, key2)) key1 += 1 key_break = list(map(int, findMaxInd(percentages).split())) print("Key 1: " + str(key_break[0])) print("Key 2: " + str(key_break[1])) print("Percentage accuracy: " + str(percentages[findMaxInd(percentages)])) return decrypt(cipher_text, key_break[0], key_break[1]) # The function finds the highest percentage of words in the dictionary and returns the key def findMaxInd(keys): maximum = -1 max_key = -1 for key in keys: if keys[key] > maximum: maximum = keys[key] max_key = key return max_key def main(): global ALPHABET ALPHABET = loadAlphabet() print("Welcome to the Affine Encrypted and Decrypter!") choice = input("Would you like to encrypt (e) or decrypt (d)? ") print() if choice.lower() == "e": msg = input("What would you like to encrypt? ") key1 = int(input("Key 1? ")) while key1 == 0 or key1 == 1 or gcd(key1, len(ALPHABET)) != 1 or key1 < 0: if gcd(key1, len(ALPHABET)) != 1: print("Sorry the Key 1: " + str(key1) + " has to be coprime, meaning the greatest common denominator has to be 1") if key1 == 0 or key1 == 1: print("Key 1: " + str(key1) + " is a poor key") if key1 < 0: print("Key 1: " + str(key1) + " has to be positive") key1 = int(input("Key 1? ")) key2 = int(input("Key 2? ")) while key2 < 0: print("Key 2: " + str(key2) + " has to be positive") key2 = int(input("Key 2? ")) print("Plain text: " + msg) print("Cipher text: " + encrypt(msg, key1, key2)) elif choice.lower() == "d": msg = input("What would you like to decrypt? ") hack = input("Do you have the keys (k) or would you like to brute force (b) it? ") hack = hack.lower().strip() plain_text = "" if hack == "k": key1 = int(input("Key 1? ")) key2 = int(input("Key 2? ")) plain_text = decrypt(msg, key1, key2) elif hack == "b": plain_text = brute_force(msg) print("Cipher text: " + msg) print("Plain text: " + plain_text) else: print("There seems to be a problem. Run again?") if __name__ == "__main__": main()
""" Author: Ao Wang Date: 09/05/19 Description: Affine cipher with decrypter/hack """ def load_alphabet(): alphabet = '' for i in range(26): alphabet += chr(ord('a') + i) return alphabet def gcd(num1, num2): while num1 != 0: (num1, num2) = (num2 % num1, num1) return num2 def mod_inverse(num1, num2): if gcd(num1, num2) != 1: return -1 (u1, u2, u3) = (1, 0, num1) (v1, v2, v3) = (0, 1, num2) while v3 != 0: q = u3 // v3 (v1, v2, v3, u1, u2, u3) = (u1 - q * v1, u2 - q * v2, u3 - q * v3, v1, v2, v3) return u1 % num2 def equation(num, slope, intercept): return slope * num + intercept def encrypt(plain_text, key_a, key_b): cipher_text = '' for symbol in plain_text: if symbol.lower() in ALPHABET: idx = equation(ALPHABET.index(symbol.lower()), key_a, key_b) % len(ALPHABET) if symbol.isupper(): cipher_text += ALPHABET[idx].upper() else: cipher_text += ALPHABET[idx] else: cipher_text += symbol return cipher_text def decrypt(cipher_text, key_a, key_b): plain_text = '' for symbol in cipher_text: if symbol.lower() in ALPHABET: idx = abs((ALPHABET.index(symbol.lower()) - key_b) * mod_inverse(key_a, len(ALPHABET)) % len(ALPHABET)) if symbol.isupper(): plain_text += ALPHABET[idx].upper() else: plain_text += ALPHABET[idx] else: plain_text += symbol return plain_text letters_and_space = 'abcdefghijklmnopqrstuvwxyz' + ' \t\n' def load_dictionary(): with open('words.txt', 'r') as f1, open('morewords.txt', 'r') as f2: file1 = f1.read().split('\n') file2 = f2.read().split('\n') for i in range(len(file2)): file2[i] = file2[i].lower() file2.extend(file1) return file2 english_words = load_dictionary() def remove_non_letters(msg): letters_only = [] for symbol in msg: if symbol in LETTERS_AND_SPACE: lettersOnly.append(symbol) return ''.join(lettersOnly) def get_english_count(msg): msg = msg.lower() msg = remove_non_letters(msg) possible_words = msg.split() if possibleWords == []: return 0 matches = 0 for word in possibleWords: if word in ENGLISH_WORDS: matches += 1 return 100 * float(matches) / len(possibleWords) def brute_force(cipher_text): print('Hacking...') percentages = {} key1 = 1 while key1 != 26: while gcd(key1, 26) != 1: key1 += 1 for key2 in range(26): if get_english_count(decrypt(cipher_text, key1, key2)) > 80: percentages[str(key1) + ' ' + str(key2)] = get_english_count(decrypt(cipher_text, key1, key2)) key1 += 1 key_break = list(map(int, find_max_ind(percentages).split())) print('Key 1: ' + str(key_break[0])) print('Key 2: ' + str(key_break[1])) print('Percentage accuracy: ' + str(percentages[find_max_ind(percentages)])) return decrypt(cipher_text, key_break[0], key_break[1]) def find_max_ind(keys): maximum = -1 max_key = -1 for key in keys: if keys[key] > maximum: maximum = keys[key] max_key = key return max_key def main(): global ALPHABET alphabet = load_alphabet() print('Welcome to the Affine Encrypted and Decrypter!') choice = input('Would you like to encrypt (e) or decrypt (d)? ') print() if choice.lower() == 'e': msg = input('What would you like to encrypt? ') key1 = int(input('Key 1? ')) while key1 == 0 or key1 == 1 or gcd(key1, len(ALPHABET)) != 1 or (key1 < 0): if gcd(key1, len(ALPHABET)) != 1: print('Sorry the Key 1: ' + str(key1) + ' has to be coprime, meaning the greatest common denominator has to be 1') if key1 == 0 or key1 == 1: print('Key 1: ' + str(key1) + ' is a poor key') if key1 < 0: print('Key 1: ' + str(key1) + ' has to be positive') key1 = int(input('Key 1? ')) key2 = int(input('Key 2? ')) while key2 < 0: print('Key 2: ' + str(key2) + ' has to be positive') key2 = int(input('Key 2? ')) print('Plain text: ' + msg) print('Cipher text: ' + encrypt(msg, key1, key2)) elif choice.lower() == 'd': msg = input('What would you like to decrypt? ') hack = input('Do you have the keys (k) or would you like to brute force (b) it? ') hack = hack.lower().strip() plain_text = '' if hack == 'k': key1 = int(input('Key 1? ')) key2 = int(input('Key 2? ')) plain_text = decrypt(msg, key1, key2) elif hack == 'b': plain_text = brute_force(msg) print('Cipher text: ' + msg) print('Plain text: ' + plain_text) else: print('There seems to be a problem. Run again?') if __name__ == '__main__': main()
# # PySNMP MIB module FOUNDRY-SN-SWITCH-GROUP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/FOUNDRY-SN-SWITCH-GROUP-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:23:56 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, Integer, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "OctetString", "Integer", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ValueSizeConstraint, ConstraintsIntersection, ValueRangeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueSizeConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "SingleValueConstraint") MacAddress, DisplayString = mibBuilder.importSymbols("FOUNDRY-SN-AGENT-MIB", "MacAddress", "DisplayString") switch, = mibBuilder.importSymbols("FOUNDRY-SN-ROOT-MIB", "switch") InterfaceIndexOrZero, InterfaceIndex, ifIndex = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero", "InterfaceIndex", "ifIndex") EnabledStatus, = mibBuilder.importSymbols("P-BRIDGE-MIB", "EnabledStatus") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Gauge32, iso, Integer32, NotificationType, MibIdentifier, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter64, ModuleIdentity, TimeTicks, ObjectIdentity, Unsigned32, Bits, Counter32, IpAddress = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "iso", "Integer32", "NotificationType", "MibIdentifier", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter64", "ModuleIdentity", "TimeTicks", "ObjectIdentity", "Unsigned32", "Bits", "Counter32", "IpAddress") TextualConvention, DisplayString, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString", "TruthValue") snSwitch = ModuleIdentity((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3)) snSwitch.setRevisions(('2013-10-25 00:00', '2010-06-02 00:00', '2009-09-30 00:00',)) if mibBuilder.loadTexts: snSwitch.setLastUpdated('201310250000Z') if mibBuilder.loadTexts: snSwitch.setOrganization('Brocade Communications Systems, Inc.') class PhysAddress(TextualConvention, OctetString): status = 'current' class BridgeId(TextualConvention, OctetString): status = 'current' subtypeSpec = OctetString.subtypeSpec + ValueSizeConstraint(8, 8) fixedLength = 8 class Timeout(TextualConvention, Integer32): status = 'current' class PortMask(TextualConvention, Integer32): status = 'current' class InterfaceId(TextualConvention, ObjectIdentifier): status = 'current' class InterfaceId2(TextualConvention, ObjectIdentifier): status = 'current' class VlanTagMode(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3)) namedValues = NamedValues(("tagged", 1), ("untagged", 2), ("dual", 3)) class FdryVlanIdOrNoneTC(TextualConvention, Integer32): status = 'current' displayHint = 'd' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 4095), ) class BrcdVlanIdTC(TextualConvention, Integer32): status = 'current' displayHint = 'd' subtypeSpec = Integer32.subtypeSpec + ValueRangeConstraint(1, 4090) class BrcdVlanIdOrNoneTC(TextualConvention, Integer32): status = 'current' displayHint = 'd' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 4090), ) class PortQosTC(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 127)) namedValues = NamedValues(("level0", 0), ("level1", 1), ("level2", 2), ("level3", 3), ("level4", 4), ("level5", 5), ("level6", 6), ("level7", 7), ("invalid", 127)) class PortPriorityTC(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 128)) namedValues = NamedValues(("priority0", 1), ("priority1", 2), ("priority2", 3), ("priority3", 4), ("priority4", 5), ("priority5", 6), ("priority6", 7), ("priority7", 8), ("nonPriority", 128)) snSwInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1)) snVLanInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2)) snSwPortInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3)) snFdbInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4)) snPortStpInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5)) snTrunkInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6)) snSwSummary = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 7)) snDhcpGatewayListInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8)) snDnsInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 9)) snMacFilter = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10)) snNTP = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11)) snRadius = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12)) snTacacs = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13)) snQos = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14)) snAAA = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15)) snCAR = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 16)) snVLanCAR = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 17)) snNetFlow = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18)) snSFlow = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19)) snFDP = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20)) snVsrp = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 21)) snArpInfo = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 22)) snWireless = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 23)) snMac = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24)) snPortMonitor = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 25)) snSSH = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 26)) snSSL = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 27)) snMacAuth = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 28)) snMetroRing = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 29)) snStacking = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 31)) fdryMacVlanMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 32)) fdryLinkAggregationGroupMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 33)) fdryDns2MIB = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 34)) fdryDaiMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 35)) fdryDhcpSnoopMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 36)) fdryIpSrcGuardMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 37)) brcdRouteMap = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 39)) brcdSPXMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 40)) snSwGroupOperMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("noVLan", 1), ("vlanByPort", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwGroupOperMode.setStatus('current') snSwGroupIpL3SwMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwGroupIpL3SwMode.setStatus('current') snSwGroupIpMcastMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwGroupIpMcastMode.setStatus('current') snSwGroupDefaultCfgMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("default", 1), ("nonDefault", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwGroupDefaultCfgMode.setStatus('current') snSwGroupSwitchAgeTime = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwGroupSwitchAgeTime.setStatus('current') snVLanGroupVlanCurEntry = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanGroupVlanCurEntry.setStatus('current') snVLanGroupSetAllVLan = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanGroupSetAllVLan.setStatus('current') snSwPortSetAll = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 8), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortSetAll.setStatus('current') snFdbTableCurEntry = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdbTableCurEntry.setStatus('current') snFdbTableStationFlush = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("normal", 1), ("error", 2), ("flush", 3), ("flushing", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdbTableStationFlush.setStatus('current') snPortStpSetAll = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 11), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortStpSetAll.setStatus('current') snSwProbePortNum = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 12), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwProbePortNum.setStatus('current') snSw8021qTagMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSw8021qTagMode.setStatus('current') snSwGlobalStpMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwGlobalStpMode.setStatus('current') snSwIpMcastQuerierMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("querier", 1), ("nonQuerier", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIpMcastQuerierMode.setStatus('current') snSwViolatorPortNumber = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 17), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwViolatorPortNumber.setStatus('current') snSwViolatorMacAddress = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 18), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwViolatorMacAddress.setStatus('current') snVLanGroupVlanMaxEntry = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 19), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanGroupVlanMaxEntry.setStatus('current') snSwEosBufferSize = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 20), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwEosBufferSize.setStatus('current') snVLanByPortEntrySize = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 21), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortEntrySize.setStatus('current') snSwPortEntrySize = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 22), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortEntrySize.setStatus('current') snFdbStationEntrySize = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 23), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdbStationEntrySize.setStatus('current') snPortStpEntrySize = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 24), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortStpEntrySize.setStatus('current') snSwEnableBridgeNewRootTrap = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwEnableBridgeNewRootTrap.setStatus('current') snSwEnableBridgeTopoChangeTrap = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwEnableBridgeTopoChangeTrap.setStatus('current') snSwEnableLockedAddrViolationTrap = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwEnableLockedAddrViolationTrap.setStatus('current') snSwIpxL3SwMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIpxL3SwMode.setStatus('current') snVLanByIpSubnetMaxSubnets = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 29), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpSubnetMaxSubnets.setStatus('current') snVLanByIpxNetMaxNetworks = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 30), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpxNetMaxNetworks.setStatus('current') snSwProtocolVLanMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwProtocolVLanMode.setStatus('deprecated') snMacStationVLanId = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 32), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacStationVLanId.setStatus('deprecated') snSwClearCounters = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("valid", 0), ("clear", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwClearCounters.setStatus('current') snSw8021qTagType = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 34), Integer32().clone(33024)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSw8021qTagType.setStatus('current') snSwBroadcastLimit = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 35), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwBroadcastLimit.setStatus('current') snSwMaxMacFilterPerSystem = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 36), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwMaxMacFilterPerSystem.setStatus('current') snSwMaxMacFilterPerPort = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 37), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwMaxMacFilterPerPort.setStatus('current') snSwDefaultVLanId = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 38), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwDefaultVLanId.setStatus('current') snSwGlobalAutoNegotiate = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 39), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1), ("negFullAuto", 2), ("other", 3))).clone('negFullAuto')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwGlobalAutoNegotiate.setStatus('current') snSwQosMechanism = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 40), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("strict", 0), ("weighted", 1))).clone('weighted')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwQosMechanism.setStatus('current') snSwSingleStpMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 41), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("enableStp", 1), ("enableRstp", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwSingleStpMode.setStatus('current') snSwFastStpMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 42), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwFastStpMode.setStatus('current') snSwViolatorIfIndex = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 43), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwViolatorIfIndex.setStatus('current') snSwSingleStpVLanId = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 44), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwSingleStpVLanId.setStatus('current') snSwBroadcastLimit2 = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 45), Unsigned32().clone(4294967295)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwBroadcastLimit2.setStatus('current') snVLanByPortTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1), ) if mibBuilder.loadTexts: snVLanByPortTable.setStatus('deprecated') snVLanByPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByPortVLanIndex")) if mibBuilder.loadTexts: snVLanByPortEntry.setStatus('deprecated') snVLanByPortVLanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortVLanIndex.setStatus('deprecated') snVLanByPortVLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortVLanId.setStatus('deprecated') snVLanByPortPortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 3), PortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortPortMask.setStatus('deprecated') snVLanByPortQos = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("level0", 0), ("level1", 1), ("level2", 2), ("level3", 3), ("level4", 4), ("level5", 5), ("level6", 6), ("level7", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortQos.setStatus('deprecated') snVLanByPortStpMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("enableStp", 1), ("enableRstp", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortStpMode.setStatus('deprecated') snVLanByPortStpPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortStpPriority.setStatus('deprecated') snVLanByPortStpGroupMaxAge = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 40))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortStpGroupMaxAge.setStatus('deprecated') snVLanByPortStpGroupHelloTime = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortStpGroupHelloTime.setStatus('deprecated') snVLanByPortStpGroupForwardDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 30))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortStpGroupForwardDelay.setStatus('deprecated') snVLanByPortRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4), ("modify", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortRowStatus.setStatus('deprecated') snVLanByPortOperState = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("notActivated", 0), ("activated", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortOperState.setStatus('deprecated') snVLanByPortBaseNumPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 12), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortBaseNumPorts.setStatus('deprecated') snVLanByPortBaseType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("unknown", 1), ("transparentOnly", 2), ("sourcerouteOnly", 3), ("srt", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortBaseType.setStatus('deprecated') snVLanByPortStpProtocolSpecification = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("unknown", 1), ("decLb100", 2), ("ieee8021d", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortStpProtocolSpecification.setStatus('deprecated') snVLanByPortStpMaxAge = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 15), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortStpMaxAge.setStatus('deprecated') snVLanByPortStpHelloTime = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 16), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortStpHelloTime.setStatus('deprecated') snVLanByPortStpHoldTime = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 17), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortStpHoldTime.setStatus('deprecated') snVLanByPortStpForwardDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 18), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortStpForwardDelay.setStatus('deprecated') snVLanByPortStpTimeSinceTopologyChange = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 19), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortStpTimeSinceTopologyChange.setStatus('deprecated') snVLanByPortStpTopChanges = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortStpTopChanges.setStatus('deprecated') snVLanByPortStpRootCost = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 21), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortStpRootCost.setStatus('deprecated') snVLanByPortStpRootPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 22), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortStpRootPort.setStatus('deprecated') snVLanByPortStpDesignatedRoot = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 23), BridgeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortStpDesignatedRoot.setStatus('deprecated') snVLanByPortBaseBridgeAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 24), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortBaseBridgeAddress.setStatus('deprecated') snVLanByPortVLanName = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 25), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortVLanName.setStatus('deprecated') snVLanByPortRouterIntf = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 26), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortRouterIntf.setStatus('deprecated') snVLanByPortChassisPortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 27), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortChassisPortMask.setStatus('deprecated') snVLanByPortPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 28), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortPortList.setStatus('deprecated') snVLanByPortMemberTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6), ) if mibBuilder.loadTexts: snVLanByPortMemberTable.setStatus('current') snVLanByPortMemberEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByPortMemberVLanId"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByPortMemberPortId")) if mibBuilder.loadTexts: snVLanByPortMemberEntry.setStatus('current') snVLanByPortMemberVLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortMemberVLanId.setStatus('current') snVLanByPortMemberPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6, 1, 2), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortMemberPortId.setStatus('current') snVLanByPortMemberRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortMemberRowStatus.setStatus('current') snVLanByPortMemberTagMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("tagged", 1), ("untagged", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortMemberTagMode.setStatus('current') snVLanByPortCfgTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7), ) if mibBuilder.loadTexts: snVLanByPortCfgTable.setStatus('current') snVLanByPortCfgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByPortCfgVLanId")) if mibBuilder.loadTexts: snVLanByPortCfgEntry.setStatus('current') snVLanByPortCfgVLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgVLanId.setStatus('current') snVLanByPortCfgQos = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 2), PortQosTC()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgQos.setStatus('current') snVLanByPortCfgStpMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disable", 0), ("enableStp", 1), ("enableRstp", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgStpMode.setStatus('current') snVLanByPortCfgStpPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgStpPriority.setStatus('current') snVLanByPortCfgStpGroupMaxAge = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgStpGroupMaxAge.setStatus('current') snVLanByPortCfgStpGroupHelloTime = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgStpGroupHelloTime.setStatus('current') snVLanByPortCfgStpGroupForwardDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgStpGroupForwardDelay.setStatus('current') snVLanByPortCfgBaseNumPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgBaseNumPorts.setStatus('current') snVLanByPortCfgBaseType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("unknown", 1), ("transparentOnly", 2), ("sourcerouteOnly", 3), ("srt", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgBaseType.setStatus('current') snVLanByPortCfgStpProtocolSpecification = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("unknown", 1), ("decLb100", 2), ("ieee8021d", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgStpProtocolSpecification.setStatus('current') snVLanByPortCfgStpMaxAge = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 11), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgStpMaxAge.setStatus('current') snVLanByPortCfgStpHelloTime = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 12), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgStpHelloTime.setStatus('current') snVLanByPortCfgStpHoldTime = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 13), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgStpHoldTime.setStatus('current') snVLanByPortCfgStpForwardDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 14), Timeout()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgStpForwardDelay.setStatus('current') snVLanByPortCfgStpTimeSinceTopologyChange = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 15), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgStpTimeSinceTopologyChange.setStatus('current') snVLanByPortCfgStpTopChanges = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgStpTopChanges.setStatus('current') snVLanByPortCfgStpRootCost = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 17), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgStpRootCost.setStatus('current') snVLanByPortCfgStpRootPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 18), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgStpRootPort.setStatus('current') snVLanByPortCfgStpDesignatedRoot = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 19), BridgeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgStpDesignatedRoot.setStatus('current') snVLanByPortCfgBaseBridgeAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 20), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgBaseBridgeAddress.setStatus('current') snVLanByPortCfgVLanName = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 21), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgVLanName.setStatus('current') snVLanByPortCfgRouterIntf = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 22), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgRouterIntf.setStatus('current') snVLanByPortCfgRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgRowStatus.setStatus('current') snVLanByPortCfgStpVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 2))).clone(namedValues=NamedValues(("stpCompatible", 0), ("rstp", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgStpVersion.setStatus('current') snVLanByPortCfgInOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 25), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByPortCfgInOctets.setStatus('current') snVLanByPortCfgTransparentHwFlooding = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByPortCfgTransparentHwFlooding.setStatus('current') brcdVlanExtStatsTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8), ) if mibBuilder.loadTexts: brcdVlanExtStatsTable.setStatus('current') brcdVlanExtStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "brcdVlanExtStatsVlanId"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "brcdVlanExtStatsIfIndex"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "brcdVlanExtStatsPriorityId")) if mibBuilder.loadTexts: brcdVlanExtStatsEntry.setStatus('current') brcdVlanExtStatsVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 1), BrcdVlanIdTC()) if mibBuilder.loadTexts: brcdVlanExtStatsVlanId.setStatus('current') brcdVlanExtStatsIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 2), InterfaceIndex()) if mibBuilder.loadTexts: brcdVlanExtStatsIfIndex.setStatus('current') brcdVlanExtStatsPriorityId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 3), PortPriorityTC()) if mibBuilder.loadTexts: brcdVlanExtStatsPriorityId.setStatus('current') brcdVlanExtStatsInSwitchedPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsInSwitchedPkts.setStatus('current') brcdVlanExtStatsInRoutedPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsInRoutedPkts.setStatus('current') brcdVlanExtStatsInPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 6), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsInPkts.setStatus('current') brcdVlanExtStatsOutSwitchedPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 7), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsOutSwitchedPkts.setStatus('current') brcdVlanExtStatsOutRoutedPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 8), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsOutRoutedPkts.setStatus('current') brcdVlanExtStatsOutPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 9), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsOutPkts.setStatus('current') brcdVlanExtStatsInSwitchedOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 10), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsInSwitchedOctets.setStatus('current') brcdVlanExtStatsInRoutedOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 11), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsInRoutedOctets.setStatus('current') brcdVlanExtStatsInOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsInOctets.setStatus('current') brcdVlanExtStatsOutSwitchedOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsOutSwitchedOctets.setStatus('current') brcdVlanExtStatsOutRoutedOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 14), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsOutRoutedOctets.setStatus('current') brcdVlanExtStatsOutOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 15), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdVlanExtStatsOutOctets.setStatus('current') snVLanByProtocolTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2), ) if mibBuilder.loadTexts: snVLanByProtocolTable.setStatus('current') snVLanByProtocolEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByProtocolVLanId"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByProtocolIndex")) if mibBuilder.loadTexts: snVLanByProtocolEntry.setStatus('current') snVLanByProtocolVLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByProtocolVLanId.setStatus('current') snVLanByProtocolIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("ip", 1), ("ipx", 2), ("appleTalk", 3), ("decNet", 4), ("netBios", 5), ("others", 6), ("ipv6", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByProtocolIndex.setStatus('current') snVLanByProtocolDynamic = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByProtocolDynamic.setStatus('current') snVLanByProtocolStaticMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 4), PortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByProtocolStaticMask.setStatus('deprecated') snVLanByProtocolExcludeMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 5), PortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByProtocolExcludeMask.setStatus('deprecated') snVLanByProtocolRouterIntf = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 60))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByProtocolRouterIntf.setStatus('current') snVLanByProtocolRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4), ("modify", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByProtocolRowStatus.setStatus('current') snVLanByProtocolDynamicMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 8), PortMask()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByProtocolDynamicMask.setStatus('deprecated') snVLanByProtocolChassisStaticMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByProtocolChassisStaticMask.setStatus('deprecated') snVLanByProtocolChassisExcludeMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByProtocolChassisExcludeMask.setStatus('deprecated') snVLanByProtocolChassisDynamicMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByProtocolChassisDynamicMask.setStatus('deprecated') snVLanByProtocolVLanName = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByProtocolVLanName.setStatus('current') snVLanByProtocolStaticPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 13), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByProtocolStaticPortList.setStatus('current') snVLanByProtocolExcludePortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 14), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByProtocolExcludePortList.setStatus('current') snVLanByProtocolDynamicPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 15), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByProtocolDynamicPortList.setStatus('current') snVLanByIpSubnetTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3), ) if mibBuilder.loadTexts: snVLanByIpSubnetTable.setStatus('current') snVLanByIpSubnetEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByIpSubnetVLanId"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByIpSubnetIpAddress"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByIpSubnetSubnetMask")) if mibBuilder.loadTexts: snVLanByIpSubnetEntry.setStatus('current') snVLanByIpSubnetVLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpSubnetVLanId.setStatus('current') snVLanByIpSubnetIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 2), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpSubnetIpAddress.setStatus('current') snVLanByIpSubnetSubnetMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 3), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpSubnetSubnetMask.setStatus('current') snVLanByIpSubnetDynamic = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpSubnetDynamic.setStatus('current') snVLanByIpSubnetStaticMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 5), PortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpSubnetStaticMask.setStatus('deprecated') snVLanByIpSubnetExcludeMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 6), PortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpSubnetExcludeMask.setStatus('deprecated') snVLanByIpSubnetRouterIntf = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 60))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpSubnetRouterIntf.setStatus('current') snVLanByIpSubnetRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4), ("modify", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpSubnetRowStatus.setStatus('current') snVLanByIpSubnetDynamicMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 9), PortMask()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpSubnetDynamicMask.setStatus('deprecated') snVLanByIpSubnetChassisStaticMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpSubnetChassisStaticMask.setStatus('deprecated') snVLanByIpSubnetChassisExcludeMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpSubnetChassisExcludeMask.setStatus('deprecated') snVLanByIpSubnetChassisDynamicMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpSubnetChassisDynamicMask.setStatus('deprecated') snVLanByIpSubnetVLanName = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpSubnetVLanName.setStatus('current') snVLanByIpSubnetStaticPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 14), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpSubnetStaticPortList.setStatus('current') snVLanByIpSubnetExcludePortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 15), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpSubnetExcludePortList.setStatus('current') snVLanByIpSubnetDynamicPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 16), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpSubnetDynamicPortList.setStatus('current') snVLanByIpxNetTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4), ) if mibBuilder.loadTexts: snVLanByIpxNetTable.setStatus('current') snVLanByIpxNetEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByIpxNetVLanId"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByIpxNetNetworkNum"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByIpxNetFrameType")) if mibBuilder.loadTexts: snVLanByIpxNetEntry.setStatus('current') snVLanByIpxNetVLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpxNetVLanId.setStatus('current') snVLanByIpxNetNetworkNum = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpxNetNetworkNum.setStatus('current') snVLanByIpxNetFrameType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("notApplicable", 0), ("ipxEthernet8022", 1), ("ipxEthernet8023", 2), ("ipxEthernetII", 3), ("ipxEthernetSnap", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpxNetFrameType.setStatus('current') snVLanByIpxNetDynamic = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpxNetDynamic.setStatus('current') snVLanByIpxNetStaticMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 5), PortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpxNetStaticMask.setStatus('deprecated') snVLanByIpxNetExcludeMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 6), PortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpxNetExcludeMask.setStatus('deprecated') snVLanByIpxNetRouterIntf = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 60))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpxNetRouterIntf.setStatus('current') snVLanByIpxNetRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4), ("modify", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpxNetRowStatus.setStatus('current') snVLanByIpxNetDynamicMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 9), PortMask()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpxNetDynamicMask.setStatus('deprecated') snVLanByIpxNetChassisStaticMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpxNetChassisStaticMask.setStatus('deprecated') snVLanByIpxNetChassisExcludeMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpxNetChassisExcludeMask.setStatus('deprecated') snVLanByIpxNetChassisDynamicMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpxNetChassisDynamicMask.setStatus('deprecated') snVLanByIpxNetVLanName = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpxNetVLanName.setStatus('current') snVLanByIpxNetStaticPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 14), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpxNetStaticPortList.setStatus('current') snVLanByIpxNetExcludePortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 15), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByIpxNetExcludePortList.setStatus('current') snVLanByIpxNetDynamicPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 16), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByIpxNetDynamicPortList.setStatus('current') snVLanByATCableTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5), ) if mibBuilder.loadTexts: snVLanByATCableTable.setStatus('current') snVLanByATCableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByATCableVLanId"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snVLanByATCableIndex")) if mibBuilder.loadTexts: snVLanByATCableEntry.setStatus('current') snVLanByATCableVLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4095))).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByATCableVLanId.setStatus('current') snVLanByATCableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snVLanByATCableIndex.setStatus('current') snVLanByATCableRouterIntf = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 60))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByATCableRouterIntf.setStatus('current') snVLanByATCableRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4), ("modify", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByATCableRowStatus.setStatus('current') snVLanByATCableChassisStaticMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(32, 32)).setFixedLength(32)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByATCableChassisStaticMask.setStatus('deprecated') snVLanByATCableVLanName = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByATCableVLanName.setStatus('current') snVLanByATCableStaticPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 7), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snVLanByATCableStaticPortList.setStatus('current') snSwPortInfoTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1), ) if mibBuilder.loadTexts: snSwPortInfoTable.setStatus('deprecated') snSwPortInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snSwPortInfoPortNum")) if mibBuilder.loadTexts: snSwPortInfoEntry.setStatus('deprecated') snSwPortInfoPortNum = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortInfoPortNum.setStatus('deprecated') snSwPortInfoMonitorMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("disabled", 0), ("input", 1), ("output", 2), ("both", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInfoMonitorMode.setStatus('deprecated') snSwPortInfoTagMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("tagged", 1), ("untagged", 2), ("auto", 3), ("disabled", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInfoTagMode.setStatus('deprecated') snSwPortInfoChnMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("halfDuplex", 1), ("fullDuplex", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInfoChnMode.setStatus('deprecated') snSwPortInfoSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14))).clone(namedValues=NamedValues(("none", 0), ("sAutoSense", 1), ("s10M", 2), ("s100M", 3), ("s1G", 4), ("s1GM", 5), ("s155M", 6), ("s10G", 7), ("s622M", 8), ("s2488M", 9), ("s9953M", 10), ("s16G", 11), ("s40G", 13), ("s2500M", 14)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInfoSpeed.setStatus('deprecated') snSwPortInfoMediaType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19))).clone(namedValues=NamedValues(("other", 1), ("m100BaseTX", 2), ("m100BaseFX", 3), ("m1000BaseFX", 4), ("mT3", 5), ("m155ATM", 6), ("m1000BaseTX", 7), ("m622ATM", 8), ("m155POS", 9), ("m622POS", 10), ("m2488POS", 11), ("m10000BaseFX", 12), ("m9953POS", 13), ("m16GStacking", 14), ("m100GBaseFX", 15), ("m40GStacking", 16), ("m40GBaseFX", 17), ("m10000BaseTX", 18), ("m2500BaseTX", 19)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortInfoMediaType.setStatus('deprecated') snSwPortInfoConnectorType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("copper", 2), ("fiber", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortInfoConnectorType.setStatus('deprecated') snSwPortInfoAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInfoAdminStatus.setStatus('deprecated') snSwPortInfoLinkStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortInfoLinkStatus.setStatus('deprecated') snSwPortInfoPortQos = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("level0", 0), ("level1", 1), ("level2", 2), ("level3", 3), ("level4", 4), ("level5", 5), ("level6", 6), ("level7", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInfoPortQos.setStatus('deprecated') snSwPortInfoPhysAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 11), PhysAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortInfoPhysAddress.setStatus('deprecated') snSwPortStatsInFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 12), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsInFrames.setStatus('deprecated') snSwPortStatsOutFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 13), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsOutFrames.setStatus('deprecated') snSwPortStatsAlignErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 14), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsAlignErrors.setStatus('deprecated') snSwPortStatsFCSErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 15), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsFCSErrors.setStatus('deprecated') snSwPortStatsMultiColliFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 16), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsMultiColliFrames.setStatus('deprecated') snSwPortStatsFrameTooLongs = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 17), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsFrameTooLongs.setStatus('deprecated') snSwPortStatsTxColliFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 18), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsTxColliFrames.setStatus('deprecated') snSwPortStatsRxColliFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsRxColliFrames.setStatus('deprecated') snSwPortStatsFrameTooShorts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsFrameTooShorts.setStatus('deprecated') snSwPortLockAddressCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 21), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2048)).clone(8)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortLockAddressCount.setStatus('deprecated') snSwPortStpPortEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortStpPortEnable.setStatus('deprecated') snSwPortDhcpGateListId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 23), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortDhcpGateListId.setStatus('deprecated') snSwPortName = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 24), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortName.setStatus('deprecated') snSwPortStatsInBcastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 25), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsInBcastFrames.setStatus('deprecated') snSwPortStatsOutBcastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 26), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsOutBcastFrames.setStatus('deprecated') snSwPortStatsInMcastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 27), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsInMcastFrames.setStatus('deprecated') snSwPortStatsOutMcastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 28), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsOutMcastFrames.setStatus('deprecated') snSwPortStatsInDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsInDiscard.setStatus('deprecated') snSwPortStatsOutDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsOutDiscard.setStatus('deprecated') snSwPortStatsMacStations = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 31), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsMacStations.setStatus('deprecated') snSwPortCacheGroupId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 32), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortCacheGroupId.setStatus('deprecated') snSwPortTransGroupId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 33), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortTransGroupId.setStatus('deprecated') snSwPortInfoAutoNegotiate = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 34), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1), ("negFullAuto", 2), ("global", 3), ("other", 4))).clone('global')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInfoAutoNegotiate.setStatus('deprecated') snSwPortInfoFlowControl = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 35), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInfoFlowControl.setStatus('deprecated') snSwPortInfoGigType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 36), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 255))).clone(namedValues=NamedValues(("m1000BaseSX", 0), ("m1000BaseLX", 1), ("m1000BaseLH", 2), ("m1000BaseLHA", 3), ("m1000BaseLHB", 4), ("m1000BaseTX", 5), ("m10000BaseSR", 6), ("m10000BaseLR", 7), ("m10000BaseER", 8), ("sfpCWDM1470nm80Km", 9), ("sfpCWDM1490nm80Km", 10), ("sfpCWDM1510nm80Km", 11), ("sfpCWDM1530nm80Km", 12), ("sfpCWDM1550nm80Km", 13), ("sfpCWDM1570nm80Km", 14), ("sfpCWDM1590nm80Km", 15), ("sfpCWDM1610nm80Km", 16), ("sfpCWDM1470nm100Km", 17), ("sfpCWDM1490nm100Km", 18), ("sfpCWDM1510nm100Km", 19), ("sfpCWDM1530nm100Km", 20), ("sfpCWDM1550nm100Km", 21), ("sfpCWDM1570nm100Km", 22), ("sfpCWDM1590nm100Km", 23), ("sfpCWDM1610nm100Km", 24), ("m1000BaseLHX", 25), ("m1000BaseSX2", 26), ("m1000BaseGBXU", 27), ("m1000BaseGBXD", 28), ("notApplicable", 255)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortInfoGigType.setStatus('deprecated') snSwPortStatsLinkChange = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 37), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsLinkChange.setStatus('deprecated') snSwPortIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 38), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortIfIndex.setStatus('deprecated') snSwPortDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 39), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortDescr.setStatus('deprecated') snSwPortInOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 40), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortInOctets.setStatus('deprecated') snSwPortOutOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 41), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortOutOctets.setStatus('deprecated') snSwPortStatsInBitsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 42), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsInBitsPerSec.setStatus('deprecated') snSwPortStatsOutBitsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 43), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsOutBitsPerSec.setStatus('deprecated') snSwPortStatsInPktsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 44), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsInPktsPerSec.setStatus('deprecated') snSwPortStatsOutPktsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 45), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsOutPktsPerSec.setStatus('deprecated') snSwPortStatsInUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 46), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsInUtilization.setStatus('deprecated') snSwPortStatsOutUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 47), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsOutUtilization.setStatus('deprecated') snSwPortFastSpanPortEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 48), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortFastSpanPortEnable.setStatus('deprecated') snSwPortFastSpanUplinkEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 49), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortFastSpanUplinkEnable.setStatus('deprecated') snSwPortVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 50), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortVlanId.setStatus('deprecated') snSwPortRouteOnly = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 51), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortRouteOnly.setStatus('deprecated') snSwPortPresent = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 52), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortPresent.setStatus('deprecated') snSwPortGBICStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 53), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("gbic", 1), ("miniGBIC", 2), ("empty", 3), ("other", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortGBICStatus.setStatus('deprecated') snSwPortStatsInKiloBitsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 54), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsInKiloBitsPerSec.setStatus('deprecated') snSwPortStatsOutKiloBitsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 55), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsOutKiloBitsPerSec.setStatus('deprecated') snSwPortLoadInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 56), Integer32().subtype(subtypeSpec=ValueRangeConstraint(30, 300)).clone(300)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortLoadInterval.setStatus('deprecated') snSwPortTagType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 57), Integer32().clone(33024)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortTagType.setStatus('deprecated') snSwPortInLinePowerControl = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 58), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("disable", 2), ("enable", 3), ("enableLegacyDevice", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInLinePowerControl.setStatus('deprecated') snSwPortInLinePowerWattage = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 59), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInLinePowerWattage.setStatus('deprecated') snSwPortInLinePowerClass = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 60), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInLinePowerClass.setStatus('deprecated') snSwPortInLinePowerPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 61), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("invalid", 0), ("critical", 1), ("high", 2), ("low", 3), ("medium", 4), ("other", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInLinePowerPriority.setStatus('deprecated') snSwPortInfoMirrorMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 62), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwPortInfoMirrorMode.setStatus('deprecated') snSwPortStatsInJumboFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 63), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsInJumboFrames.setStatus('deprecated') snSwPortStatsOutJumboFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 64), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortStatsOutJumboFrames.setStatus('deprecated') snSwPortInLinePowerConsumed = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 66), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortInLinePowerConsumed.setStatus('deprecated') snSwPortInLinePowerPDType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 67), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwPortInLinePowerPDType.setStatus('deprecated') snSwIfInfoTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5), ) if mibBuilder.loadTexts: snSwIfInfoTable.setStatus('current') snSwIfInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snSwIfInfoPortNum")) if mibBuilder.loadTexts: snSwIfInfoEntry.setStatus('current') snSwIfInfoPortNum = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfInfoPortNum.setStatus('current') snSwIfInfoMonitorMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("disabled", 0), ("input", 1), ("output", 2), ("both", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoMonitorMode.setStatus('deprecated') snSwIfInfoMirrorPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 3), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoMirrorPorts.setStatus('current') snSwIfInfoTagMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("tagged", 1), ("untagged", 2), ("dual", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoTagMode.setStatus('current') snSwIfInfoTagType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 5), Integer32().clone(33024)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoTagType.setStatus('current') snSwIfInfoChnMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("none", 0), ("halfDuplex", 1), ("fullDuplex", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoChnMode.setStatus('current') snSwIfInfoSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14))).clone(namedValues=NamedValues(("none", 0), ("sAutoSense", 1), ("s10M", 2), ("s100M", 3), ("s1G", 4), ("s1GM", 5), ("s155M", 6), ("s10G", 7), ("s622M", 8), ("s2488M", 9), ("s9953M", 10), ("s16G", 11), ("s100G", 12), ("s40G", 13), ("s2500M", 14)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoSpeed.setStatus('current') snSwIfInfoMediaType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19))).clone(namedValues=NamedValues(("other", 1), ("m100BaseTX", 2), ("m100BaseFX", 3), ("m1000BaseFX", 4), ("mT3", 5), ("m155ATM", 6), ("m1000BaseTX", 7), ("m622ATM", 8), ("m155POS", 9), ("m622POS", 10), ("m2488POS", 11), ("m10000BaseFX", 12), ("m9953POS", 13), ("m16GStacking", 14), ("m100GBaseFX", 15), ("m40GStacking", 16), ("m40GBaseFX", 17), ("m10000BaseTX", 18), ("m2500BaseTX", 19)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfInfoMediaType.setStatus('current') snSwIfInfoConnectorType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("copper", 2), ("fiber", 3), ("both", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfInfoConnectorType.setStatus('current') snSwIfInfoAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoAdminStatus.setStatus('current') snSwIfInfoLinkStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfInfoLinkStatus.setStatus('current') snSwIfInfoPortQos = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("level0", 0), ("level1", 1), ("level2", 2), ("level3", 3), ("level4", 4), ("level5", 5), ("level6", 6), ("level7", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoPortQos.setStatus('current') snSwIfInfoPhysAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 13), PhysAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfInfoPhysAddress.setStatus('current') snSwIfLockAddressCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2048)).clone(8)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfLockAddressCount.setStatus('current') snSwIfStpPortEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfStpPortEnable.setStatus('current') snSwIfDhcpGateListId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfDhcpGateListId.setStatus('current') snSwIfName = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 17), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfName.setStatus('current') snSwIfDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 18), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfDescr.setStatus('current') snSwIfInfoAutoNegotiate = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1), ("negFullAuto", 2), ("global", 3), ("other", 4))).clone('global')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoAutoNegotiate.setStatus('current') snSwIfInfoFlowControl = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('enabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoFlowControl.setStatus('current') snSwIfInfoGigType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 127, 128, 129, 130, 131, 132, 133, 134, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 255))).clone(namedValues=NamedValues(("m1000BaseSX", 0), ("m1000BaseLX", 1), ("m1000BaseLH", 2), ("m1000BaseLHA", 3), ("m1000BaseLHB", 4), ("m1000BaseTX", 5), ("m10000BaseSR", 6), ("m10000BaseLR", 7), ("m10000BaseER", 8), ("sfpCWDM1470nm80Km", 9), ("sfpCWDM1490nm80Km", 10), ("sfpCWDM1510nm80Km", 11), ("sfpCWDM1530nm80Km", 12), ("sfpCWDM1550nm80Km", 13), ("sfpCWDM1570nm80Km", 14), ("sfpCWDM1590nm80Km", 15), ("sfpCWDM1610nm80Km", 16), ("sfpCWDM1470nm100Km", 17), ("sfpCWDM1490nm100Km", 18), ("sfpCWDM1510nm100Km", 19), ("sfpCWDM1530nm100Km", 20), ("sfpCWDM1550nm100Km", 21), ("sfpCWDM1570nm100Km", 22), ("sfpCWDM1590nm100Km", 23), ("sfpCWDM1610nm100Km", 24), ("m1000BaseLHX", 25), ("m1000BaseSX2", 26), ("mSFP1000BaseBXU", 27), ("mSFP1000BaseBXD", 28), ("mSFP100BaseBX", 29), ("mSFP100BaseBXU", 30), ("mSFP100BaseBXD", 31), ("mSFP100BaseFX", 32), ("mSFP100BaseFXIR", 33), ("mSFP100BaseFXLR", 34), ("m1000BaseLMC", 35), ("mXFP10000BaseSR", 36), ("mXFP10000BaseLR", 37), ("mXFP10000BaseER", 38), ("mXFP10000BaseSW", 39), ("mXFP10000BaseLW", 40), ("mXFP10000BaseEW", 41), ("mXFP10000BaseCX4", 42), ("mXFP10000BaseZR", 43), ("mXFP10000BaseZRD", 44), ("m1000BaseC6553", 45), ("mXFP10000BaseSRSW", 46), ("mXFP10000BaseLRLW", 47), ("mXFP10000BaseEREW", 48), ("m10000BaseT", 49), ("m2500BaseTX", 50), ("m1000BaseGBXU", 127), ("m1000BaseGBXD", 128), ("m1000BaseFBX", 129), ("m1000BaseFBXU", 130), ("m1000BaseFBXD", 131), ("m1000BaseFX", 132), ("m1000BaseFXIR", 133), ("m1000BaseFXLR", 134), ("m1000BaseXGSR", 136), ("m1000BaseXGLR", 137), ("m1000BaseXGER", 138), ("m1000BaseXGSW", 139), ("m1000BaseXGLW", 140), ("m1000BaseXGEW", 141), ("m1000BaseXGCX4", 142), ("m1000BaseXGZR", 143), ("m1000BaseXGZRD", 144), ("mCFP100GBaseSR10", 145), ("mCFP100GBaseLR4", 146), ("mCFP100GBaseER4", 147), ("mCFP100GBase10x10g2Km", 148), ("mCFP100GBase10x10g10Km", 149), ("qSFP40000BaseSR4", 150), ("qSFP40000Base10KmLR4", 151), ("mXFP10000BaseUSR", 152), ("mXFP10000BaseTwinax", 153), ("mCFP2-100GBaseSR10", 154), ("mCFP2-100GBaseLR4", 155), ("mCFP2-100GBaseER4", 156), ("mCFP2-100GBase10x10g2Km", 157), ("mCFP2-100GBase10x10g10Km", 158), ("notApplicable", 255)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfInfoGigType.setStatus('current') snSwIfFastSpanPortEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfFastSpanPortEnable.setStatus('current') snSwIfFastSpanUplinkEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfFastSpanUplinkEnable.setStatus('current') snSwIfVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 24), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4095))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfVlanId.setStatus('current') snSwIfRouteOnly = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfRouteOnly.setStatus('current') snSwIfPresent = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfPresent.setStatus('current') snSwIfGBICStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("gbic", 1), ("miniGBIC", 2), ("empty", 3), ("other", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfGBICStatus.setStatus('current') snSwIfLoadInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 28), Integer32().subtype(subtypeSpec=ValueRangeConstraint(30, 300)).clone(300)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfLoadInterval.setStatus('current') snSwIfStatsInFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 29), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsInFrames.setStatus('current') snSwIfStatsOutFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 30), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsOutFrames.setStatus('current') snSwIfStatsAlignErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 31), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsAlignErrors.setStatus('current') snSwIfStatsFCSErrors = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 32), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsFCSErrors.setStatus('current') snSwIfStatsMultiColliFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 33), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsMultiColliFrames.setStatus('current') snSwIfStatsTxColliFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 34), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsTxColliFrames.setStatus('current') snSwIfStatsRxColliFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 35), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsRxColliFrames.setStatus('current') snSwIfStatsFrameTooLongs = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 36), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsFrameTooLongs.setStatus('current') snSwIfStatsFrameTooShorts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 37), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsFrameTooShorts.setStatus('current') snSwIfStatsInBcastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 38), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsInBcastFrames.setStatus('current') snSwIfStatsOutBcastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 39), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsOutBcastFrames.setStatus('current') snSwIfStatsInMcastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 40), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsInMcastFrames.setStatus('current') snSwIfStatsOutMcastFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 41), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsOutMcastFrames.setStatus('current') snSwIfStatsInDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 42), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsInDiscard.setStatus('current') snSwIfStatsOutDiscard = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 43), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsOutDiscard.setStatus('current') snSwIfStatsMacStations = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 44), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsMacStations.setStatus('current') snSwIfStatsLinkChange = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 45), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsLinkChange.setStatus('current') snSwIfInOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 46), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfInOctets.setStatus('current') snSwIfOutOctets = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 47), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfOutOctets.setStatus('current') snSwIfStatsInBitsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 48), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsInBitsPerSec.setStatus('current') snSwIfStatsOutBitsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 49), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsOutBitsPerSec.setStatus('current') snSwIfStatsInPktsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 50), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsInPktsPerSec.setStatus('current') snSwIfStatsOutPktsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 51), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsOutPktsPerSec.setStatus('current') snSwIfStatsInUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 52), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsInUtilization.setStatus('current') snSwIfStatsOutUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 53), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsOutUtilization.setStatus('current') snSwIfStatsInKiloBitsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 54), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsInKiloBitsPerSec.setStatus('current') snSwIfStatsOutKiloBitsPerSec = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 55), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsOutKiloBitsPerSec.setStatus('current') snSwIfStatsInJumboFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 56), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsInJumboFrames.setStatus('current') snSwIfStatsOutJumboFrames = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 57), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfStatsOutJumboFrames.setStatus('current') snSwIfInfoMirrorMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 58), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoMirrorMode.setStatus('current') snSwIfMacLearningDisable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 59), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfMacLearningDisable.setStatus('current') snSwIfInfoL2FowardEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 60), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2), ("globalConfig", 3))).clone('globalConfig')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoL2FowardEnable.setStatus('current') snSwIfInfoAllowAllVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 61), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwIfInfoAllowAllVlan.setStatus('current') snSwIfInfoNativeMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 62), PhysAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSwIfInfoNativeMacAddress.setStatus('current') snInterfaceId = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2)) snEthernetInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 1)) snPosInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 2)) snAtmInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 3)) snVirtualInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 4)) snLoopbackInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 5)) snGreTunnelInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 6)) snSubInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 7)) snMplsTunnelInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 8)) snPvcInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 9)) snMgmtEthernetInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 10)) snTrunkInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 11)) snVirtualMgmtInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 12)) sn6to4TunnelInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 13)) snInterfaceLookupTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 3), ) if mibBuilder.loadTexts: snInterfaceLookupTable.setStatus('current') snInterfaceLookupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 3, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snInterfaceLookupInterfaceId")) if mibBuilder.loadTexts: snInterfaceLookupEntry.setStatus('current') snInterfaceLookupInterfaceId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 3, 1, 1), InterfaceId()).setMaxAccess("readonly") if mibBuilder.loadTexts: snInterfaceLookupInterfaceId.setStatus('current') snInterfaceLookupIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 3, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snInterfaceLookupIfIndex.setStatus('current') snIfIndexLookupTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 4), ) if mibBuilder.loadTexts: snIfIndexLookupTable.setStatus('current') snIfIndexLookupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 4, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snIfIndexLookupIfIndex")) if mibBuilder.loadTexts: snIfIndexLookupEntry.setStatus('current') snIfIndexLookupIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfIndexLookupIfIndex.setStatus('current') snIfIndexLookupInterfaceId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 4, 1, 2), InterfaceId()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfIndexLookupInterfaceId.setStatus('current') snInterfaceLookup2Table = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 7), ) if mibBuilder.loadTexts: snInterfaceLookup2Table.setStatus('current') snInterfaceLookup2Entry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 7, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snInterfaceLookup2InterfaceId")) if mibBuilder.loadTexts: snInterfaceLookup2Entry.setStatus('current') snInterfaceLookup2InterfaceId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 7, 1, 1), InterfaceId2()) if mibBuilder.loadTexts: snInterfaceLookup2InterfaceId.setStatus('current') snInterfaceLookup2IfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 7, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snInterfaceLookup2IfIndex.setStatus('current') snIfIndexLookup2Table = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 8), ) if mibBuilder.loadTexts: snIfIndexLookup2Table.setStatus('current') snIfIndexLookup2Entry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 8, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snIfIndexLookup2IfIndex")) if mibBuilder.loadTexts: snIfIndexLookup2Entry.setStatus('current') snIfIndexLookup2IfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 8, 1, 1), Integer32()) if mibBuilder.loadTexts: snIfIndexLookup2IfIndex.setStatus('current') snIfIndexLookup2InterfaceId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 8, 1, 2), InterfaceId2()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfIndexLookup2InterfaceId.setStatus('current') snIfOpticalMonitoringInfoTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6), ) if mibBuilder.loadTexts: snIfOpticalMonitoringInfoTable.setStatus('current') snIfOpticalMonitoringInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: snIfOpticalMonitoringInfoEntry.setStatus('current') snIfOpticalMonitoringTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfOpticalMonitoringTemperature.setStatus('current') snIfOpticalMonitoringTxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfOpticalMonitoringTxPower.setStatus('current') snIfOpticalMonitoringRxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfOpticalMonitoringRxPower.setStatus('current') snIfOpticalMonitoringTxBiasCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfOpticalMonitoringTxBiasCurrent.setStatus('current') snIfMediaInfoTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9), ) if mibBuilder.loadTexts: snIfMediaInfoTable.setStatus('current') snIfMediaInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: snIfMediaInfoEntry.setStatus('current') snIfMediaType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfMediaType.setStatus('current') snIfMediaVendorName = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfMediaVendorName.setStatus('current') snIfMediaVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfMediaVersion.setStatus('current') snIfMediaPartNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfMediaPartNumber.setStatus('current') snIfMediaSerialNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfMediaSerialNumber.setStatus('current') snIfOpticalLaneMonitoringTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10), ) if mibBuilder.loadTexts: snIfOpticalLaneMonitoringTable.setStatus('current') snIfOpticalLaneMonitoringEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snIfOpticalLaneMonitoringLane")) if mibBuilder.loadTexts: snIfOpticalLaneMonitoringEntry.setStatus('current') snIfOpticalLaneMonitoringLane = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1, 1), Unsigned32()) if mibBuilder.loadTexts: snIfOpticalLaneMonitoringLane.setStatus('current') snIfOpticalLaneMonitoringTemperature = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfOpticalLaneMonitoringTemperature.setStatus('current') snIfOpticalLaneMonitoringTxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfOpticalLaneMonitoringTxPower.setStatus('current') snIfOpticalLaneMonitoringRxPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfOpticalLaneMonitoringRxPower.setStatus('current') snIfOpticalLaneMonitoringTxBiasCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfOpticalLaneMonitoringTxBiasCurrent.setStatus('current') brcdIfEgressCounterInfoTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11), ) if mibBuilder.loadTexts: brcdIfEgressCounterInfoTable.setStatus('current') brcdIfEgressCounterInfoEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "brcdIfEgressCounterIfIndex"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "brcdIfEgressCounterQueueId")) if mibBuilder.loadTexts: brcdIfEgressCounterInfoEntry.setStatus('current') brcdIfEgressCounterIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: brcdIfEgressCounterIfIndex.setStatus('current') brcdIfEgressCounterQueueId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1, 2), Integer32()) if mibBuilder.loadTexts: brcdIfEgressCounterQueueId.setStatus('current') brcdIfEgressCounterType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("other", 1), ("unicast", 2), ("multicast", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdIfEgressCounterType.setStatus('current') brcdIfEgressCounterPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1, 4), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdIfEgressCounterPkts.setStatus('current') brcdIfEgressCounterDropPkts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1, 5), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: brcdIfEgressCounterDropPkts.setStatus('current') snFdbTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1), ) if mibBuilder.loadTexts: snFdbTable.setStatus('current') snFdbEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snFdbStationIndex")) if mibBuilder.loadTexts: snFdbEntry.setStatus('current') snFdbStationIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 256))).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdbStationIndex.setStatus('current') snFdbStationAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 2), PhysAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdbStationAddr.setStatus('current') snFdbStationPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdbStationPort.setStatus('current') snFdbVLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdbVLanId.setStatus('current') snFdbStationQos = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("level0", 0), ("level1", 1), ("level2", 2), ("level3", 3), ("level4", 4), ("level5", 5), ("level6", 6), ("level7", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdbStationQos.setStatus('current') snFdbStationType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("notSupported", 0), ("host", 1), ("router", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdbStationType.setStatus('current') snFdbRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdbRowStatus.setStatus('current') snFdbStationIf = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 8), InterfaceIndex()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdbStationIf.setStatus('current') snPortStpTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1), ) if mibBuilder.loadTexts: snPortStpTable.setStatus('deprecated') snPortStpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortStpVLanId"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortStpPortNum")) if mibBuilder.loadTexts: snPortStpEntry.setStatus('deprecated') snPortStpVLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortStpVLanId.setStatus('deprecated') snPortStpPortNum = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortStpPortNum.setStatus('deprecated') snPortStpPortPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortStpPortPriority.setStatus('deprecated') snPortStpPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortStpPathCost.setStatus('deprecated') snPortStpOperState = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("notActivated", 0), ("activated", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortStpOperState.setStatus('deprecated') snPortStpPortEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))) if mibBuilder.loadTexts: snPortStpPortEnable.setStatus('deprecated') snPortStpPortForwardTransitions = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 7), Counter32()) if mibBuilder.loadTexts: snPortStpPortForwardTransitions.setStatus('deprecated') snPortStpPortState = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("disabled", 1), ("blocking", 2), ("listening", 3), ("learning", 4), ("forwarding", 5), ("broken", 6), ("preforwarding", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortStpPortState.setStatus('deprecated') snPortStpPortDesignatedCost = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortStpPortDesignatedCost.setStatus('deprecated') snPortStpPortDesignatedRoot = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 10), BridgeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortStpPortDesignatedRoot.setStatus('deprecated') snPortStpPortDesignatedBridge = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 11), BridgeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortStpPortDesignatedBridge.setStatus('deprecated') snPortStpPortDesignatedPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortStpPortDesignatedPort.setStatus('deprecated') snPortStpPortAdminRstp = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortStpPortAdminRstp.setStatus('deprecated') snPortStpPortProtocolMigration = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortStpPortProtocolMigration.setStatus('deprecated') snPortStpPortAdminEdgePort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortStpPortAdminEdgePort.setStatus('deprecated') snPortStpPortAdminPointToPoint = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortStpPortAdminPointToPoint.setStatus('deprecated') snIfStpTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2), ) if mibBuilder.loadTexts: snIfStpTable.setStatus('current') snIfStpEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snIfStpVLanId"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snIfStpPortNum")) if mibBuilder.loadTexts: snIfStpEntry.setStatus('current') snIfStpVLanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpVLanId.setStatus('current') snIfStpPortNum = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 2), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpPortNum.setStatus('current') snIfStpPortPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snIfStpPortPriority.setStatus('current') snIfStpCfgPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 200000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snIfStpCfgPathCost.setStatus('current') snIfStpOperState = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("notActivated", 0), ("activated", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpOperState.setStatus('current') snIfStpPortState = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("disabled", 1), ("blocking", 2), ("listening", 3), ("learning", 4), ("forwarding", 5), ("broken", 6), ("preforwarding", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpPortState.setStatus('current') snIfStpPortDesignatedCost = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpPortDesignatedCost.setStatus('current') snIfStpPortDesignatedRoot = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 10), BridgeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpPortDesignatedRoot.setStatus('current') snIfStpPortDesignatedBridge = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 11), BridgeId()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpPortDesignatedBridge.setStatus('current') snIfStpPortDesignatedPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 12), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpPortDesignatedPort.setStatus('current') snIfStpPortAdminRstp = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 13), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snIfStpPortAdminRstp.setStatus('current') snIfStpPortProtocolMigration = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 14), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snIfStpPortProtocolMigration.setStatus('current') snIfStpPortAdminEdgePort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 15), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snIfStpPortAdminEdgePort.setStatus('current') snIfStpPortAdminPointToPoint = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 16), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snIfStpPortAdminPointToPoint.setStatus('current') snIfStpOperPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 200000000))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpOperPathCost.setStatus('current') snIfStpPortRole = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("unknown", 0), ("alternate", 1), ("root", 2), ("designated", 3), ("backupRole", 4), ("disabledRole", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpPortRole.setStatus('current') snIfStpBPDUTransmitted = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 19), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpBPDUTransmitted.setStatus('current') snIfStpBPDUReceived = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 20), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfStpBPDUReceived.setStatus('current') snIfRstpConfigBPDUReceived = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 21), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfRstpConfigBPDUReceived.setStatus('current') snIfRstpTCNBPDUReceived = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 22), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfRstpTCNBPDUReceived.setStatus('current') snIfRstpConfigBPDUTransmitted = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 23), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfRstpConfigBPDUTransmitted.setStatus('current') snIfRstpTCNBPDUTransmitted = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 24), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snIfRstpTCNBPDUTransmitted.setStatus('current') snTrunkTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 1), ) if mibBuilder.loadTexts: snTrunkTable.setStatus('current') snTrunkEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snTrunkIndex")) if mibBuilder.loadTexts: snTrunkEntry.setStatus('current') snTrunkIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snTrunkIndex.setStatus('current') snTrunkPortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 1, 1, 2), PortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snTrunkPortMask.setStatus('current') snTrunkType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("switch", 1), ("server", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snTrunkType.setStatus('current') snMSTrunkTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2), ) if mibBuilder.loadTexts: snMSTrunkTable.setStatus('current') snMSTrunkEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snMSTrunkPortIndex")) if mibBuilder.loadTexts: snMSTrunkEntry.setStatus('current') snMSTrunkPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snMSTrunkPortIndex.setStatus('current') snMSTrunkPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2, 1, 2), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMSTrunkPortList.setStatus('current') snMSTrunkType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("switch", 1), ("server", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMSTrunkType.setStatus('current') snMSTrunkRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("invalid", 1), ("valid", 2), ("delete", 3), ("create", 4), ("modify", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMSTrunkRowStatus.setStatus('current') snMSTrunkIfTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3), ) if mibBuilder.loadTexts: snMSTrunkIfTable.setStatus('current') snMSTrunkIfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snMSTrunkIfIndex")) if mibBuilder.loadTexts: snMSTrunkIfEntry.setStatus('current') snMSTrunkIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snMSTrunkIfIndex.setStatus('current') snMSTrunkIfList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3, 1, 2), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMSTrunkIfList.setStatus('current') snMSTrunkIfType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("switch", 1), ("server", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMSTrunkIfType.setStatus('current') snMSTrunkIfRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("invalid", 1), ("valid", 2), ("delete", 3), ("create", 4), ("modify", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMSTrunkIfRowStatus.setStatus('current') snSwSummaryMode = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 7, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSwSummaryMode.setStatus('current') snDhcpGatewayListTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8, 1), ) if mibBuilder.loadTexts: snDhcpGatewayListTable.setStatus('current') snDhcpGatewayListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snDhcpGatewayListId")) if mibBuilder.loadTexts: snDhcpGatewayListEntry.setStatus('current') snDhcpGatewayListId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 32))).setMaxAccess("readonly") if mibBuilder.loadTexts: snDhcpGatewayListId.setStatus('current') snDhcpGatewayListAddrList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snDhcpGatewayListAddrList.setStatus('current') snDhcpGatewayListRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snDhcpGatewayListRowStatus.setStatus('current') snDnsDomainName = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 9, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snDnsDomainName.setStatus('current') snDnsGatewayIpAddrList = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 9, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snDnsGatewayIpAddrList.setStatus('current') snMacFilterTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1), ) if mibBuilder.loadTexts: snMacFilterTable.setStatus('current') snMacFilterEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snMacFilterIndex")) if mibBuilder.loadTexts: snMacFilterEntry.setStatus('current') snMacFilterIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snMacFilterIndex.setStatus('current') snMacFilterAction = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("deny", 0), ("permit", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterAction.setStatus('current') snMacFilterSourceMac = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 3), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterSourceMac.setStatus('current') snMacFilterSourceMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 4), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterSourceMask.setStatus('current') snMacFilterDestMac = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 5), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterDestMac.setStatus('current') snMacFilterDestMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 6), MacAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterDestMask.setStatus('current') snMacFilterOperator = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("equal", 0), ("notEqual", 1), ("less", 2), ("greater", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterOperator.setStatus('current') snMacFilterFrameType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("notUsed", 0), ("ethernet", 1), ("llc", 2), ("snap", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterFrameType.setStatus('current') snMacFilterFrameTypeNum = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterFrameTypeNum.setStatus('current') snMacFilterRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("invalid", 1), ("valid", 2), ("delete", 3), ("create", 4), ("modify", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterRowStatus.setStatus('current') snMacFilterPortAccessTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 2), ) if mibBuilder.loadTexts: snMacFilterPortAccessTable.setStatus('deprecated') snMacFilterPortAccessEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snMacFilterPortAccessPortIndex")) if mibBuilder.loadTexts: snMacFilterPortAccessEntry.setStatus('deprecated') snMacFilterPortAccessPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3900))).setMaxAccess("readonly") if mibBuilder.loadTexts: snMacFilterPortAccessPortIndex.setStatus('deprecated') snMacFilterPortAccessFilters = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 2, 1, 2), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterPortAccessFilters.setStatus('deprecated') snMacFilterPortAccessRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("invalid", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterPortAccessRowStatus.setStatus('deprecated') snMacFilterIfAccessTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 3), ) if mibBuilder.loadTexts: snMacFilterIfAccessTable.setStatus('current') snMacFilterIfAccessEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 3, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snMacFilterIfAccessPortIndex")) if mibBuilder.loadTexts: snMacFilterIfAccessEntry.setStatus('current') snMacFilterIfAccessPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 3, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: snMacFilterIfAccessPortIndex.setStatus('current') snMacFilterIfAccessFilters = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 3, 1, 2), OctetString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterIfAccessFilters.setStatus('current') snMacFilterIfAccessRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("invalid", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snMacFilterIfAccessRowStatus.setStatus('current') snNTPGeneral = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1)) snNTPPollInterval = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(1800)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNTPPollInterval.setStatus('current') snNTPTimeZone = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45))).clone(namedValues=NamedValues(("alaska", 0), ("aleutian", 1), ("arizona", 2), ("central", 3), ("eastIndiana", 4), ("eastern", 5), ("hawaii", 6), ("michigan", 7), ("mountain", 8), ("pacific", 9), ("samoa", 10), ("gmtPlus1200", 11), ("gmtPlus1100", 12), ("gmtPlus1000", 13), ("gmtPlus0900", 14), ("gmtPlus0800", 15), ("gmtPlus0700", 16), ("gmtPlus0600", 17), ("gmtPlus0500", 18), ("gmtPlus0400", 19), ("gmtPlus0300", 20), ("gmtPlus0200", 21), ("gmtPlus0100", 22), ("gmt", 23), ("gmtMinus0100", 24), ("gmtMinus0200", 25), ("gmtMinus0300", 26), ("gmtMinus0400", 27), ("gmtMinus0500", 28), ("gmtMinus0600", 29), ("gmtMinus0700", 30), ("gmtMinus0800", 31), ("gmtMinus0900", 32), ("gmtMinus1000", 33), ("gmtMinus1100", 34), ("gmtMinus1200", 35), ("gmtPlus1130", 36), ("gmtPlus1030", 37), ("gmtPlus0930", 38), ("gmtPlus0630", 39), ("gmtPlus0530", 40), ("gmtPlus0430", 41), ("gmtPlus0330", 42), ("gmtMinus0330", 43), ("gmtMinus0830", 44), ("gmtMinus0930", 45))).clone('gmt')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNTPTimeZone.setStatus('current') snNTPSummerTimeEnable = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNTPSummerTimeEnable.setStatus('current') snNTPSystemClock = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(7, 7)).setFixedLength(7)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNTPSystemClock.setStatus('current') snNTPSync = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("other", 1), ("synchronize", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNTPSync.setStatus('current') snNTPServerTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 2), ) if mibBuilder.loadTexts: snNTPServerTable.setStatus('current') snNTPServerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snNTPServerIp")) if mibBuilder.loadTexts: snNTPServerEntry.setStatus('current') snNTPServerIp = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 2, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snNTPServerIp.setStatus('current') snNTPServerVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 2, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNTPServerVersion.setStatus('current') snNTPServerRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNTPServerRowStatus.setStatus('current') snRadiusGeneral = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1)) snRadiusSNMPAccess = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readonly") if mibBuilder.loadTexts: snRadiusSNMPAccess.setStatus('current') snRadiusEnableTelnetAuth = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusEnableTelnetAuth.setStatus('current') snRadiusRetransmit = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 5)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusRetransmit.setStatus('current') snRadiusTimeOut = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 60)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusTimeOut.setStatus('current') snRadiusDeadTime = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 5)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusDeadTime.setStatus('current') snRadiusKey = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 6), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusKey.setStatus('current') snRadiusLoginMethod = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusLoginMethod.setStatus('current') snRadiusEnableMethod = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusEnableMethod.setStatus('current') snRadiusWebServerMethod = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusWebServerMethod.setStatus('current') snRadiusSNMPServerMethod = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusSNMPServerMethod.setStatus('current') snRadiusServerTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2), ) if mibBuilder.loadTexts: snRadiusServerTable.setStatus('current') snRadiusServerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snRadiusServerIp")) if mibBuilder.loadTexts: snRadiusServerEntry.setStatus('current') snRadiusServerIp = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snRadiusServerIp.setStatus('current') snRadiusServerAuthPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 2), Integer32().clone(1812)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusServerAuthPort.setStatus('current') snRadiusServerAcctPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 3), Integer32().clone(1813)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusServerAcctPort.setStatus('current') snRadiusServerRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusServerRowStatus.setStatus('current') snRadiusServerRowKey = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 5), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusServerRowKey.setStatus('current') snRadiusServerUsage = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("default", 1), ("authenticationOnly", 2), ("authorizationOnly", 3), ("accountingOnly", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snRadiusServerUsage.setStatus('current') snTacacsGeneral = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1)) snTacacsRetransmit = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 5)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snTacacsRetransmit.setStatus('current') snTacacsTimeOut = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snTacacsTimeOut.setStatus('current') snTacacsDeadTime = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 5)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snTacacsDeadTime.setStatus('current') snTacacsKey = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1, 4), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snTacacsKey.setStatus('current') snTacacsSNMPAccess = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readonly") if mibBuilder.loadTexts: snTacacsSNMPAccess.setStatus('current') snTacacsServerTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2), ) if mibBuilder.loadTexts: snTacacsServerTable.setStatus('current') snTacacsServerEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snTacacsServerIp")) if mibBuilder.loadTexts: snTacacsServerEntry.setStatus('current') snTacacsServerIp = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1, 1), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snTacacsServerIp.setStatus('current') snTacacsServerAuthPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1, 2), Integer32().clone(49)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snTacacsServerAuthPort.setStatus('current') snTacacsServerRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snTacacsServerRowStatus.setStatus('current') snTacacsServerRowKey = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1, 4), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snTacacsServerRowKey.setStatus('current') snTacacsServerUsage = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("default", 1), ("authenticationOnly", 2), ("authorizationOnly", 3), ("accountingOnly", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snTacacsServerUsage.setStatus('current') snQosProfileTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1), ) if mibBuilder.loadTexts: snQosProfileTable.setStatus('current') snQosProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snQosProfileIndex")) if mibBuilder.loadTexts: snQosProfileEntry.setStatus('current') snQosProfileIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: snQosProfileIndex.setStatus('current') snQosProfileName = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snQosProfileName.setStatus('current') snQosProfileRequestedBandwidth = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snQosProfileRequestedBandwidth.setStatus('current') snQosProfileCalculatedBandwidth = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readonly") if mibBuilder.loadTexts: snQosProfileCalculatedBandwidth.setStatus('current') snQosBindTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 2), ) if mibBuilder.loadTexts: snQosBindTable.setStatus('current') snQosBindEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snQosBindIndex")) if mibBuilder.loadTexts: snQosBindEntry.setStatus('current') snQosBindIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readonly") if mibBuilder.loadTexts: snQosBindIndex.setStatus('current') snQosBindPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 2, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snQosBindPriority.setStatus('current') snQosBindProfileIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snQosBindProfileIndex.setStatus('current') snDosAttack = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3)) snDosAttackGlobal = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 1)) snDosAttackICMPDropCount = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snDosAttackICMPDropCount.setStatus('current') snDosAttackICMPBlockCount = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snDosAttackICMPBlockCount.setStatus('current') snDosAttackSYNDropCount = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snDosAttackSYNDropCount.setStatus('current') snDosAttackSYNBlockCount = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snDosAttackSYNBlockCount.setStatus('current') snDosAttackPortTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2), ) if mibBuilder.loadTexts: snDosAttackPortTable.setStatus('current') snDosAttackPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snDosAttackPort")) if mibBuilder.loadTexts: snDosAttackPortEntry.setStatus('current') snDosAttackPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snDosAttackPort.setStatus('current') snDosAttackPortICMPDropCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snDosAttackPortICMPDropCount.setStatus('current') snDosAttackPortICMPBlockCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snDosAttackPortICMPBlockCount.setStatus('current') snDosAttackPortSYNDropCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snDosAttackPortSYNDropCount.setStatus('current') snDosAttackPortSYNBlockCount = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snDosAttackPortSYNBlockCount.setStatus('current') snAuthentication = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 1)) snAuthorization = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 2)) snAccounting = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 3)) snAuthorizationCommandMethods = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 2, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snAuthorizationCommandMethods.setStatus('current') snAuthorizationCommandLevel = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 2, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 5))).clone(namedValues=NamedValues(("level0", 0), ("level4", 4), ("level5", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snAuthorizationCommandLevel.setStatus('current') snAuthorizationExec = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 2, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snAuthorizationExec.setStatus('current') snAccountingCommandMethods = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 3, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snAccountingCommandMethods.setStatus('current') snAccountingCommandLevel = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 4, 5))).clone(namedValues=NamedValues(("level0", 0), ("level4", 4), ("level5", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snAccountingCommandLevel.setStatus('current') snAccountingExec = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 3, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snAccountingExec.setStatus('current') snAccountingSystem = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 3, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 3))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snAccountingSystem.setStatus('current') snNetFlowGlb = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1)) snNetFlowGblEnable = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowGblEnable.setStatus('current') snNetFlowGblVersion = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 5))).clone(namedValues=NamedValues(("versionNotSet", 0), ("version1", 1), ("version5", 5))).clone('version5')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowGblVersion.setStatus('current') snNetFlowGblProtocolDisable = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowGblProtocolDisable.setStatus('current') snNetFlowGblActiveTimeout = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1, 4), Integer32().clone(60)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowGblActiveTimeout.setStatus('current') snNetFlowGblInactiveTimeout = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1, 5), Integer32().clone(60)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowGblInactiveTimeout.setStatus('current') snNetFlowCollectorTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2), ) if mibBuilder.loadTexts: snNetFlowCollectorTable.setStatus('current') snNetFlowCollectorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snNetFlowCollectorIndex")) if mibBuilder.loadTexts: snNetFlowCollectorEntry.setStatus('current') snNetFlowCollectorIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 10))).setMaxAccess("readonly") if mibBuilder.loadTexts: snNetFlowCollectorIndex.setStatus('current') snNetFlowCollectorIp = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowCollectorIp.setStatus('current') snNetFlowCollectorUdpPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowCollectorUdpPort.setStatus('current') snNetFlowCollectorSourceInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1, 4), InterfaceIndex()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowCollectorSourceInterface.setStatus('current') snNetFlowCollectorRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowCollectorRowStatus.setStatus('current') snNetFlowAggregationTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3), ) if mibBuilder.loadTexts: snNetFlowAggregationTable.setStatus('current') snNetFlowAggregationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snNetFlowAggregationIndex")) if mibBuilder.loadTexts: snNetFlowAggregationEntry.setStatus('current') snNetFlowAggregationIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("as", 1), ("protocolPort", 2), ("destPrefix", 3), ("sourcePrefix", 4), ("prefix", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snNetFlowAggregationIndex.setStatus('current') snNetFlowAggregationIp = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowAggregationIp.setStatus('current') snNetFlowAggregationUdpPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowAggregationUdpPort.setStatus('current') snNetFlowAggregationSourceInterface = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 4), InterfaceIndex()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowAggregationSourceInterface.setStatus('current') snNetFlowAggregationNumberOfCacheEntries = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowAggregationNumberOfCacheEntries.setStatus('current') snNetFlowAggregationActiveTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowAggregationActiveTimeout.setStatus('current') snNetFlowAggregationInactiveTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 7), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowAggregationInactiveTimeout.setStatus('current') snNetFlowAggregationEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowAggregationEnable.setStatus('current') snNetFlowAggregationRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowAggregationRowStatus.setStatus('current') snNetFlowIfTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 4), ) if mibBuilder.loadTexts: snNetFlowIfTable.setStatus('current') snNetFlowIfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 4, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snNetFlowIfIndex")) if mibBuilder.loadTexts: snNetFlowIfEntry.setStatus('current') snNetFlowIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 4, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: snNetFlowIfIndex.setStatus('current') snNetFlowIfFlowSwitching = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 4, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snNetFlowIfFlowSwitching.setStatus('current') snSFlowGlb = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 1)) snSflowCollectorTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2), ) if mibBuilder.loadTexts: snSflowCollectorTable.setStatus('current') snSflowCollectorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snSflowCollectorIndex")) if mibBuilder.loadTexts: snSflowCollectorEntry.setStatus('current') snSflowCollectorIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snSflowCollectorIndex.setStatus('current') snSflowCollectorIP = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2, 1, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSflowCollectorIP.setStatus('current') snSflowCollectorUDPPort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSflowCollectorUDPPort.setStatus('current') snSflowCollectorRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("noSuch", 0), ("other", 1), ("valid", 2), ("delete", 3), ("create", 4), ("modify", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snSflowCollectorRowStatus.setStatus('current') snFdpMIBObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1)) snFdpInterface = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1)) snFdpCache = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2)) snFdpGlobal = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 3)) snFdpCachedAddr = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4)) snFdpInterfaceTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1, 1), ) if mibBuilder.loadTexts: snFdpInterfaceTable.setStatus('current') snFdpInterfaceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snFdpInterfaceIfIndex")) if mibBuilder.loadTexts: snFdpInterfaceEntry.setStatus('current') snFdpInterfaceIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1, 1, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: snFdpInterfaceIfIndex.setStatus('current') snFdpInterfaceFdpEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1))).clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdpInterfaceFdpEnable.setStatus('current') snFdpInterfaceCdpEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1))).clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdpInterfaceCdpEnable.setStatus('current') snFdpCacheTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1), ) if mibBuilder.loadTexts: snFdpCacheTable.setStatus('current') snFdpCacheEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snFdpCacheIfIndex"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snFdpCacheDeviceIndex")) if mibBuilder.loadTexts: snFdpCacheEntry.setStatus('current') snFdpCacheIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: snFdpCacheIfIndex.setStatus('current') snFdpCacheDeviceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 2), Integer32()) if mibBuilder.loadTexts: snFdpCacheDeviceIndex.setStatus('current') snFdpCacheDeviceId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCacheDeviceId.setStatus('current') snFdpCacheAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("ip", 1), ("ipx", 2), ("appletalk", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCacheAddressType.setStatus('current') snFdpCacheAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 5), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCacheAddress.setStatus('current') snFdpCacheVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 6), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCacheVersion.setStatus('current') snFdpCacheDevicePort = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 7), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCacheDevicePort.setStatus('current') snFdpCachePlatform = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 8), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCachePlatform.setStatus('current') snFdpCacheCapabilities = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 9), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCacheCapabilities.setStatus('current') snFdpCacheVendorId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("fdp", 1), ("cdp", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCacheVendorId.setStatus('current') snFdpCacheIsAggregateVlan = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCacheIsAggregateVlan.setStatus('current') snFdpCacheTagType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 12), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCacheTagType.setStatus('current') snFdpCachePortVlanMask = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 13), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCachePortVlanMask.setStatus('current') snFdpCachePortTagMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("untagged", 1), ("tagged", 2), ("dual", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCachePortTagMode.setStatus('current') snFdpCacheDefaultTrafficeVlanIdForDualMode = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 15), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCacheDefaultTrafficeVlanIdForDualMode.setStatus('current') snFdpGlobalRun = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1))).clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdpGlobalRun.setStatus('current') snFdpGlobalMessageInterval = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 3, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(5, 900)).clone(60)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdpGlobalMessageInterval.setStatus('current') snFdpGlobalHoldTime = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 3, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 255)).clone(180)).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdpGlobalHoldTime.setStatus('current') snFdpGlobalCdpRun = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 3, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1))).clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: snFdpGlobalCdpRun.setStatus('current') snFdpCachedAddressTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1), ) if mibBuilder.loadTexts: snFdpCachedAddressTable.setStatus('current') snFdpCachedAddressEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snFdpCachedAddrIfIndex"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snFdpCachedAddrDeviceIndex"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snFdpCachedAddrDeviceAddrEntryIndex")) if mibBuilder.loadTexts: snFdpCachedAddressEntry.setStatus('current') snFdpCachedAddrIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: snFdpCachedAddrIfIndex.setStatus('current') snFdpCachedAddrDeviceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1, 2), Integer32()) if mibBuilder.loadTexts: snFdpCachedAddrDeviceIndex.setStatus('current') snFdpCachedAddrDeviceAddrEntryIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1, 3), Integer32()) if mibBuilder.loadTexts: snFdpCachedAddrDeviceAddrEntryIndex.setStatus('current') snFdpCachedAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("ip", 1), ("ipx", 2), ("appletalk", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCachedAddrType.setStatus('current') snFdpCachedAddrValue = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1, 5), OctetString()).setMaxAccess("readonly") if mibBuilder.loadTexts: snFdpCachedAddrValue.setStatus('current') snMacSecurity = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1)) snPortMacSecurity = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1)) snPortMacGlobalSecurity = MibIdentifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 2)) snPortMacSecurityTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1), ) if mibBuilder.loadTexts: snPortMacSecurityTable.setStatus('current') snPortMacSecurityEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMacSecurityIfIndex"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMacSecurityResource"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMacSecurityQueryIndex")) if mibBuilder.loadTexts: snPortMacSecurityEntry.setStatus('current') snPortMacSecurityIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityIfIndex.setStatus('current') snPortMacSecurityResource = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("local", 1), ("shared", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityResource.setStatus('current') snPortMacSecurityQueryIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityQueryIndex.setStatus('current') snPortMacSecurityMAC = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 4), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityMAC.setStatus('current') snPortMacSecurityAgeLeft = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityAgeLeft.setStatus('current') snPortMacSecurityShutdownStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("up", 1), ("down", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityShutdownStatus.setStatus('current') snPortMacSecurityShutdownTimeLeft = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 7), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityShutdownTimeLeft.setStatus('current') snPortMacSecurityVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityVlanId.setStatus('current') snPortMacSecurityModuleStatTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2), ) if mibBuilder.loadTexts: snPortMacSecurityModuleStatTable.setStatus('current') snPortMacSecurityModuleStatEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMacSecurityModuleStatSlotNum")) if mibBuilder.loadTexts: snPortMacSecurityModuleStatEntry.setStatus('current') snPortMacSecurityModuleStatSlotNum = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityModuleStatSlotNum.setStatus('current') snPortMacSecurityModuleStatTotalSecurityPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityModuleStatTotalSecurityPorts.setStatus('current') snPortMacSecurityModuleStatTotalMACs = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityModuleStatTotalMACs.setStatus('current') snPortMacSecurityModuleStatViolationCounts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityModuleStatViolationCounts.setStatus('current') snPortMacSecurityModuleStatTotalShutdownPorts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityModuleStatTotalShutdownPorts.setStatus('current') snPortMacSecurityIntfContentTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3), ) if mibBuilder.loadTexts: snPortMacSecurityIntfContentTable.setStatus('current') snPortMacSecurityIntfContentEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMacSecurityIntfContentIfIndex")) if mibBuilder.loadTexts: snPortMacSecurityIntfContentEntry.setStatus('current') snPortMacSecurityIntfContentIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: snPortMacSecurityIntfContentIfIndex.setStatus('current') snPortMacSecurityIntfContentSecurity = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMacSecurityIntfContentSecurity.setStatus('current') snPortMacSecurityIntfContentViolationType = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("shutdown", 0), ("restrict", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMacSecurityIntfContentViolationType.setStatus('current') snPortMacSecurityIntfContentShutdownTime = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1440))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMacSecurityIntfContentShutdownTime.setStatus('current') snPortMacSecurityIntfContentShutdownTimeLeft = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityIntfContentShutdownTimeLeft.setStatus('current') snPortMacSecurityIntfContentAgeOutTime = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1440))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMacSecurityIntfContentAgeOutTime.setStatus('current') snPortMacSecurityIntfContentMaxLockedMacAllowed = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 7), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMacSecurityIntfContentMaxLockedMacAllowed.setStatus('current') snPortMacSecurityIntfContentTotalMACs = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityIntfContentTotalMACs.setStatus('current') snPortMacSecurityIntfContentViolationCounts = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 9), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityIntfContentViolationCounts.setStatus('current') snPortMacSecurityIntfMacTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4), ) if mibBuilder.loadTexts: snPortMacSecurityIntfMacTable.setStatus('current') snPortMacSecurityIntfMacEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMacSecurityIntfMacIfIndex"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMacSecurityIntfMacAddress")) if mibBuilder.loadTexts: snPortMacSecurityIntfMacEntry.setStatus('current') snPortMacSecurityIntfMacIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityIntfMacIfIndex.setStatus('current') snPortMacSecurityIntfMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityIntfMacAddress.setStatus('current') snPortMacSecurityIntfMacVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMacSecurityIntfMacVlanId.setStatus('current') snPortMacSecurityIntfMacRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("valid", 2), ("delete", 3), ("create", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMacSecurityIntfMacRowStatus.setStatus('current') snPortMacSecurityAutosaveMacTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5), ) if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacTable.setStatus('current') snPortMacSecurityAutosaveMacEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMacSecurityAutosaveMacIfIndex"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMacSecurityAutosaveMacResource"), (0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMacSecurityAutosaveMacQueryIndex")) if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacEntry.setStatus('current') snPortMacSecurityAutosaveMacIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacIfIndex.setStatus('current') snPortMacSecurityAutosaveMacResource = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("local", 1), ("shared", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacResource.setStatus('current') snPortMacSecurityAutosaveMacQueryIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5, 1, 3), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacQueryIndex.setStatus('current') snPortMacSecurityAutosaveMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5, 1, 4), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacAddress.setStatus('current') snPortMacGlobalSecurityFeature = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMacGlobalSecurityFeature.setStatus('current') snPortMacGlobalSecurityAgeOutTime = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 2, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 1440))).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMacGlobalSecurityAgeOutTime.setStatus('current') snPortMacGlobalSecurityAutosave = MibScalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 2, 3), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMacGlobalSecurityAutosave.setStatus('current') snPortMonitorTable = MibTable((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 25, 1), ) if mibBuilder.loadTexts: snPortMonitorTable.setStatus('current') snPortMonitorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 25, 1, 1), ).setIndexNames((0, "FOUNDRY-SN-SWITCH-GROUP-MIB", "snPortMonitorIfIndex")) if mibBuilder.loadTexts: snPortMonitorEntry.setStatus('current') snPortMonitorIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 25, 1, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: snPortMonitorIfIndex.setStatus('current') snPortMonitorMirrorList = MibTableColumn((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 25, 1, 1, 2), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: snPortMonitorMirrorList.setStatus('current') mibBuilder.exportSymbols("FOUNDRY-SN-SWITCH-GROUP-MIB", snPortMacSecurityEntry=snPortMacSecurityEntry, snMSTrunkIfList=snMSTrunkIfList, snSwIfInfoMediaType=snSwIfInfoMediaType, snSwGlobalStpMode=snSwGlobalStpMode, Timeout=Timeout, snPortMonitorTable=snPortMonitorTable, snSwSummaryMode=snSwSummaryMode, snSwIfInOctets=snSwIfInOctets, snVLanByPortCfgStpRootPort=snVLanByPortCfgStpRootPort, snRadiusGeneral=snRadiusGeneral, snMacFilterPortAccessEntry=snMacFilterPortAccessEntry, snRadius=snRadius, snPortStpEntry=snPortStpEntry, snVLanByPortStpProtocolSpecification=snVLanByPortStpProtocolSpecification, snVLanByPortPortMask=snVLanByPortPortMask, snVLanByPortMemberEntry=snVLanByPortMemberEntry, snVLanByPortCfgTransparentHwFlooding=snVLanByPortCfgTransparentHwFlooding, snVLanByIpSubnetEntry=snVLanByIpSubnetEntry, snDhcpGatewayListId=snDhcpGatewayListId, snVLanByPortStpGroupMaxAge=snVLanByPortStpGroupMaxAge, brcdVlanExtStatsInOctets=brcdVlanExtStatsInOctets, snVLanByProtocolExcludePortList=snVLanByProtocolExcludePortList, snRadiusServerIp=snRadiusServerIp, snMacFilterIndex=snMacFilterIndex, FdryVlanIdOrNoneTC=FdryVlanIdOrNoneTC, snVLanByIpxNetRouterIntf=snVLanByIpxNetRouterIntf, snVLanByIpxNetExcludeMask=snVLanByIpxNetExcludeMask, snTacacsDeadTime=snTacacsDeadTime, snMSTrunkTable=snMSTrunkTable, brcdVlanExtStatsInSwitchedOctets=brcdVlanExtStatsInSwitchedOctets, snRadiusServerRowKey=snRadiusServerRowKey, snVLanByIpxNetVLanName=snVLanByIpxNetVLanName, snPortMacSecurityIntfContentTotalMACs=snPortMacSecurityIntfContentTotalMACs, snSwPortInfoPortQos=snSwPortInfoPortQos, snRadiusServerUsage=snRadiusServerUsage, snVLanByIpSubnetIpAddress=snVLanByIpSubnetIpAddress, snSwPortStatsInBcastFrames=snSwPortStatsInBcastFrames, snTacacsGeneral=snTacacsGeneral, snMSTrunkIfEntry=snMSTrunkIfEntry, snPortStpPortDesignatedRoot=snPortStpPortDesignatedRoot, snSwIfGBICStatus=snSwIfGBICStatus, snSflowCollectorIndex=snSflowCollectorIndex, snFdbStationIndex=snFdbStationIndex, brcdIfEgressCounterInfoEntry=brcdIfEgressCounterInfoEntry, snIfRstpTCNBPDUTransmitted=snIfRstpTCNBPDUTransmitted, snNetFlowGblActiveTimeout=snNetFlowGblActiveTimeout, snSflowCollectorUDPPort=snSflowCollectorUDPPort, snSwPortStatsMultiColliFrames=snSwPortStatsMultiColliFrames, snVLanByPortCfgStpGroupHelloTime=snVLanByPortCfgStpGroupHelloTime, snVLanByPortStpHoldTime=snVLanByPortStpHoldTime, fdryDaiMIB=fdryDaiMIB, snSwIfStatsTxColliFrames=snSwIfStatsTxColliFrames, snAuthentication=snAuthentication, snNetFlowIfTable=snNetFlowIfTable, snNetFlowAggregationEnable=snNetFlowAggregationEnable, sn6to4TunnelInterface=sn6to4TunnelInterface, snPortMacSecurityAgeLeft=snPortMacSecurityAgeLeft, brcdVlanExtStatsInPkts=brcdVlanExtStatsInPkts, snSwPortInfoPhysAddress=snSwPortInfoPhysAddress, snQosProfileEntry=snQosProfileEntry, snMacFilterIfAccessEntry=snMacFilterIfAccessEntry, snSwPortVlanId=snSwPortVlanId, snSwPortStatsOutUtilization=snSwPortStatsOutUtilization, PhysAddress=PhysAddress, snRadiusServerAuthPort=snRadiusServerAuthPort, snVLanCAR=snVLanCAR, snSwPortStatsOutJumboFrames=snSwPortStatsOutJumboFrames, snSwIfStatsOutFrames=snSwIfStatsOutFrames, snSwIfInfoAllowAllVlan=snSwIfInfoAllowAllVlan, snSwPortStatsFCSErrors=snSwPortStatsFCSErrors, snDhcpGatewayListRowStatus=snDhcpGatewayListRowStatus, snSwPortStatsFrameTooShorts=snSwPortStatsFrameTooShorts, snSwIfInfoPortQos=snSwIfInfoPortQos, snNTPSummerTimeEnable=snNTPSummerTimeEnable, snNTPSync=snNTPSync, snSSH=snSSH, snSwPortStatsOutBitsPerSec=snSwPortStatsOutBitsPerSec, snVLanByPortStpMaxAge=snVLanByPortStpMaxAge, snSwPortName=snSwPortName, snVLanByIpxNetChassisDynamicMask=snVLanByIpxNetChassisDynamicMask, snVirtualMgmtInterface=snVirtualMgmtInterface, snSwIfStatsOutKiloBitsPerSec=snSwIfStatsOutKiloBitsPerSec, snSwViolatorIfIndex=snSwViolatorIfIndex, snVLanByPortCfgStpGroupMaxAge=snVLanByPortCfgStpGroupMaxAge, snSwIfStatsOutUtilization=snSwIfStatsOutUtilization, snVLanByProtocolRouterIntf=snVLanByProtocolRouterIntf, snSwIfStatsInPktsPerSec=snSwIfStatsInPktsPerSec, snVLanByPortCfgRouterIntf=snVLanByPortCfgRouterIntf, snTrunkInfo=snTrunkInfo, snPortStpPortAdminRstp=snPortStpPortAdminRstp, brcdIfEgressCounterPkts=brcdIfEgressCounterPkts, snMacFilterPortAccessFilters=snMacFilterPortAccessFilters, snVLanByATCableIndex=snVLanByATCableIndex, snQosBindEntry=snQosBindEntry, snVLanByPortCfgStpTopChanges=snVLanByPortCfgStpTopChanges, snNetFlowGlb=snNetFlowGlb, snMacAuth=snMacAuth, snPortMacSecurityShutdownStatus=snPortMacSecurityShutdownStatus, snNetFlowIfIndex=snNetFlowIfIndex, snSwIfStatsOutPktsPerSec=snSwIfStatsOutPktsPerSec, snVLanByIpSubnetRouterIntf=snVLanByIpSubnetRouterIntf, snSwPortInfoAdminStatus=snSwPortInfoAdminStatus, snMacFilterEntry=snMacFilterEntry, snSwIfInfoTable=snSwIfInfoTable, snSwEnableBridgeNewRootTrap=snSwEnableBridgeNewRootTrap, snNetFlowCollectorIndex=snNetFlowCollectorIndex, snVLanByPortStpForwardDelay=snVLanByPortStpForwardDelay, snFdbVLanId=snFdbVLanId, snVLanGroupVlanCurEntry=snVLanGroupVlanCurEntry, snPortMacSecurityShutdownTimeLeft=snPortMacSecurityShutdownTimeLeft, snQosBindIndex=snQosBindIndex, snIfMediaSerialNumber=snIfMediaSerialNumber, snVLanByIpxNetVLanId=snVLanByIpxNetVLanId, snFDP=snFDP, snVLanByPortMemberPortId=snVLanByPortMemberPortId, snIfStpBPDUTransmitted=snIfStpBPDUTransmitted, snPortMacSecurityModuleStatSlotNum=snPortMacSecurityModuleStatSlotNum, snSwPortStatsInPktsPerSec=snSwPortStatsInPktsPerSec, snMetroRing=snMetroRing, brcdVlanExtStatsOutRoutedPkts=brcdVlanExtStatsOutRoutedPkts, snAuthorizationExec=snAuthorizationExec, snNetFlowAggregationEntry=snNetFlowAggregationEntry, snFdpInterfaceFdpEnable=snFdpInterfaceFdpEnable, snTacacsServerIp=snTacacsServerIp, snSwPortInfoPortNum=snSwPortInfoPortNum, snTacacsServerRowStatus=snTacacsServerRowStatus, snPortMacSecurityModuleStatTable=snPortMacSecurityModuleStatTable, snTrunkEntry=snTrunkEntry, snFdpInterfaceTable=snFdpInterfaceTable, snSwIfStatsInMcastFrames=snSwIfStatsInMcastFrames, snIfRstpConfigBPDUReceived=snIfRstpConfigBPDUReceived, snMSTrunkIfIndex=snMSTrunkIfIndex, snSwIfInfoMirrorMode=snSwIfInfoMirrorMode, snFdpInterfaceEntry=snFdpInterfaceEntry, snPortStpPortDesignatedCost=snPortStpPortDesignatedCost, snIfOpticalLaneMonitoringTxBiasCurrent=snIfOpticalLaneMonitoringTxBiasCurrent, snFdbInfo=snFdbInfo, snVLanByATCableVLanId=snVLanByATCableVLanId, snIfStpPortAdminPointToPoint=snIfStpPortAdminPointToPoint, snSwPortStatsInDiscard=snSwPortStatsInDiscard, snPortMacSecurity=snPortMacSecurity, snNetFlowAggregationRowStatus=snNetFlowAggregationRowStatus, snPortMacSecurityAutosaveMacResource=snPortMacSecurityAutosaveMacResource, snVLanByPortVLanIndex=snVLanByPortVLanIndex, snDosAttackPortSYNBlockCount=snDosAttackPortSYNBlockCount, snFdpCachedAddrIfIndex=snFdpCachedAddrIfIndex, snFdbEntry=snFdbEntry, brcdVlanExtStatsInSwitchedPkts=brcdVlanExtStatsInSwitchedPkts, snRadiusServerEntry=snRadiusServerEntry, snFdpCacheDeviceIndex=snFdpCacheDeviceIndex, snSwIpMcastQuerierMode=snSwIpMcastQuerierMode, snMacFilterOperator=snMacFilterOperator, snPortMacGlobalSecurityAgeOutTime=snPortMacGlobalSecurityAgeOutTime, snSwIfStatsInKiloBitsPerSec=snSwIfStatsInKiloBitsPerSec, snPortMacSecurityModuleStatEntry=snPortMacSecurityModuleStatEntry, snSwIfStatsOutBitsPerSec=snSwIfStatsOutBitsPerSec, snVLanByPortMemberVLanId=snVLanByPortMemberVLanId, snPortMacSecurityIntfMacVlanId=snPortMacSecurityIntfMacVlanId, snSwPortGBICStatus=snSwPortGBICStatus, snTrunkTable=snTrunkTable, snFdpInterfaceIfIndex=snFdpInterfaceIfIndex, snFdpCacheAddressType=snFdpCacheAddressType, snMacFilterPortAccessTable=snMacFilterPortAccessTable, snPortMacSecurityIntfContentSecurity=snPortMacSecurityIntfContentSecurity, snSwPortInfoTable=snSwPortInfoTable, snSwMaxMacFilterPerPort=snSwMaxMacFilterPerPort, snVLanByPortOperState=snVLanByPortOperState, snIfIndexLookup2Table=snIfIndexLookup2Table, snPortStpPortDesignatedBridge=snPortStpPortDesignatedBridge, snNetFlowAggregationNumberOfCacheEntries=snNetFlowAggregationNumberOfCacheEntries, snMacSecurity=snMacSecurity, snRadiusServerTable=snRadiusServerTable, snPortMacSecurityIntfContentEntry=snPortMacSecurityIntfContentEntry, snVLanByPortVLanName=snVLanByPortVLanName, snVLanByProtocolVLanId=snVLanByProtocolVLanId, snSwQosMechanism=snSwQosMechanism, snNetFlowAggregationTable=snNetFlowAggregationTable, snSwPortStatsInFrames=snSwPortStatsInFrames, snFdbStationType=snFdbStationType, snMgmtEthernetInterface=snMgmtEthernetInterface, snSwGroupIpMcastMode=snSwGroupIpMcastMode, snTacacsRetransmit=snTacacsRetransmit, snVLanByProtocolRowStatus=snVLanByProtocolRowStatus, snSwIfStatsOutBcastFrames=snSwIfStatsOutBcastFrames, snPortStpPortNum=snPortStpPortNum, snVLanByProtocolDynamicPortList=snVLanByProtocolDynamicPortList, snSwPortOutOctets=snSwPortOutOctets, snMacFilterTable=snMacFilterTable, snSwPortInLinePowerPriority=snSwPortInLinePowerPriority, snIfIndexLookup2Entry=snIfIndexLookup2Entry, snNTPGeneral=snNTPGeneral, snPortMacSecurityAutosaveMacIfIndex=snPortMacSecurityAutosaveMacIfIndex, snSwIfInfoLinkStatus=snSwIfInfoLinkStatus, snSwIfPresent=snSwIfPresent, snVLanByIpxNetMaxNetworks=snVLanByIpxNetMaxNetworks, snIfStpBPDUReceived=snIfStpBPDUReceived, snFdpGlobalCdpRun=snFdpGlobalCdpRun, snDosAttackPortEntry=snDosAttackPortEntry, snFdbTableStationFlush=snFdbTableStationFlush, snVLanByIpxNetDynamicPortList=snVLanByIpxNetDynamicPortList, snArpInfo=snArpInfo, brcdVlanExtStatsOutSwitchedOctets=brcdVlanExtStatsOutSwitchedOctets, snFdpCachePortVlanMask=snFdpCachePortVlanMask, snFdbStationAddr=snFdbStationAddr, snFdpCachedAddressEntry=snFdpCachedAddressEntry, snMacFilterIfAccessPortIndex=snMacFilterIfAccessPortIndex, snPortMacSecurityResource=snPortMacSecurityResource, snSwPortInfoMediaType=snSwPortInfoMediaType, snNetFlowAggregationSourceInterface=snNetFlowAggregationSourceInterface, snMacFilterSourceMask=snMacFilterSourceMask, snSwIfInfoChnMode=snSwIfInfoChnMode, snVLanByIpSubnetSubnetMask=snVLanByIpSubnetSubnetMask, snRadiusLoginMethod=snRadiusLoginMethod, snVLanByATCableTable=snVLanByATCableTable, snAuthorizationCommandLevel=snAuthorizationCommandLevel, BrcdVlanIdTC=BrcdVlanIdTC, snVLanByProtocolTable=snVLanByProtocolTable, snPortMacSecurityIntfContentTable=snPortMacSecurityIntfContentTable, snVLanByATCableStaticPortList=snVLanByATCableStaticPortList, snMacFilterAction=snMacFilterAction, snVLanByPortMemberTable=snVLanByPortMemberTable, snFdpGlobalRun=snFdpGlobalRun, snMSTrunkType=snMSTrunkType, snInterfaceLookupTable=snInterfaceLookupTable, snFdpGlobalHoldTime=snFdpGlobalHoldTime, snVLanByProtocolStaticMask=snVLanByProtocolStaticMask, snIfOpticalMonitoringTemperature=snIfOpticalMonitoringTemperature, snTacacsServerRowKey=snTacacsServerRowKey, snSwPortInLinePowerPDType=snSwPortInLinePowerPDType, snPortMacSecurityAutosaveMacTable=snPortMacSecurityAutosaveMacTable, snMSTrunkEntry=snMSTrunkEntry, snSwIpxL3SwMode=snSwIpxL3SwMode, snVLanByIpSubnetStaticMask=snVLanByIpSubnetStaticMask, snIfMediaInfoTable=snIfMediaInfoTable, snFdbStationQos=snFdbStationQos, snQosProfileCalculatedBandwidth=snQosProfileCalculatedBandwidth, snSflowCollectorTable=snSflowCollectorTable, snMacStationVLanId=snMacStationVLanId, snSflowCollectorEntry=snSflowCollectorEntry, snPortStpTable=snPortStpTable, snQosProfileRequestedBandwidth=snQosProfileRequestedBandwidth, snVLanByProtocolExcludeMask=snVLanByProtocolExcludeMask, PYSNMP_MODULE_ID=snSwitch, snSwPortStatsInJumboFrames=snSwPortStatsInJumboFrames, snRadiusWebServerMethod=snRadiusWebServerMethod, snFdpCachePlatform=snFdpCachePlatform, snMacFilterPortAccessPortIndex=snMacFilterPortAccessPortIndex, PortPriorityTC=PortPriorityTC, snVLanByPortEntrySize=snVLanByPortEntrySize, snQosBindPriority=snQosBindPriority, snFdpCacheDefaultTrafficeVlanIdForDualMode=snFdpCacheDefaultTrafficeVlanIdForDualMode, snMacFilterDestMac=snMacFilterDestMac, snVLanByPortCfgStpHoldTime=snVLanByPortCfgStpHoldTime, snVLanByPortBaseType=snVLanByPortBaseType) mibBuilder.exportSymbols("FOUNDRY-SN-SWITCH-GROUP-MIB", snInterfaceId=snInterfaceId, snNetFlow=snNetFlow, snIfStpPortDesignatedPort=snIfStpPortDesignatedPort, snNetFlowCollectorUdpPort=snNetFlowCollectorUdpPort, snSwGroupSwitchAgeTime=snSwGroupSwitchAgeTime, snSwPortInfoFlowControl=snSwPortInfoFlowControl, snPortMacSecurityQueryIndex=snPortMacSecurityQueryIndex, snVLanByPortStpGroupHelloTime=snVLanByPortStpGroupHelloTime, snVLanByPortCfgStpMode=snVLanByPortCfgStpMode, snSwIfStatsFCSErrors=snSwIfStatsFCSErrors, snSwPortStatsLinkChange=snSwPortStatsLinkChange, snFdpCacheVendorId=snFdpCacheVendorId, snInterfaceLookupEntry=snInterfaceLookupEntry, snSw8021qTagMode=snSw8021qTagMode, snSwIfInfoGigType=snSwIfInfoGigType, snPortMacSecurityModuleStatTotalShutdownPorts=snPortMacSecurityModuleStatTotalShutdownPorts, snSwIfInfoTagType=snSwIfInfoTagType, snIfStpPortProtocolMigration=snIfStpPortProtocolMigration, snFdpCacheVersion=snFdpCacheVersion, snVLanByPortCfgTable=snVLanByPortCfgTable, brcdVlanExtStatsOutOctets=brcdVlanExtStatsOutOctets, snRadiusRetransmit=snRadiusRetransmit, snIfStpOperState=snIfStpOperState, snIfIndexLookup2IfIndex=snIfIndexLookup2IfIndex, snPortStpOperState=snPortStpOperState, snIfStpPortAdminEdgePort=snIfStpPortAdminEdgePort, snDnsGatewayIpAddrList=snDnsGatewayIpAddrList, snVLanByPortBaseBridgeAddress=snVLanByPortBaseBridgeAddress, snVLanByProtocolDynamicMask=snVLanByProtocolDynamicMask, snDosAttackPortICMPBlockCount=snDosAttackPortICMPBlockCount, snSwIfInfoTagMode=snSwIfInfoTagMode, snVLanByIpxNetRowStatus=snVLanByIpxNetRowStatus, snVLanByIpxNetEntry=snVLanByIpxNetEntry, snIfOpticalLaneMonitoringTable=snIfOpticalLaneMonitoringTable, snSwIfStatsFrameTooShorts=snSwIfStatsFrameTooShorts, snSwPortLoadInterval=snSwPortLoadInterval, snSwPortInfoEntry=snSwPortInfoEntry, snPortStpPortAdminPointToPoint=snPortStpPortAdminPointToPoint, snIfRstpConfigBPDUTransmitted=snIfRstpConfigBPDUTransmitted, snVLanByPortMemberRowStatus=snVLanByPortMemberRowStatus, snNetFlowGblInactiveTimeout=snNetFlowGblInactiveTimeout, snVLanByProtocolIndex=snVLanByProtocolIndex, snNetFlowGblEnable=snNetFlowGblEnable, snNetFlowAggregationUdpPort=snNetFlowAggregationUdpPort, snSwIfStatsMacStations=snSwIfStatsMacStations, snTrunkPortMask=snTrunkPortMask, snVLanByIpSubnetChassisExcludeMask=snVLanByIpSubnetChassisExcludeMask, snPortMonitorIfIndex=snPortMonitorIfIndex, snMac=snMac, snVLanByPortBaseNumPorts=snVLanByPortBaseNumPorts, snSwPortIfIndex=snSwPortIfIndex, snQosProfileTable=snQosProfileTable, brcdVlanExtStatsPriorityId=brcdVlanExtStatsPriorityId, snAccountingCommandLevel=snAccountingCommandLevel, brcdIfEgressCounterInfoTable=brcdIfEgressCounterInfoTable, snDosAttackSYNBlockCount=snDosAttackSYNBlockCount, brcdVlanExtStatsTable=brcdVlanExtStatsTable, snPortMacGlobalSecurityFeature=snPortMacGlobalSecurityFeature, InterfaceId=InterfaceId, snSwIfInfoAdminStatus=snSwIfInfoAdminStatus, snVLanByPortCfgStpMaxAge=snVLanByPortCfgStpMaxAge, snIfIndexLookupTable=snIfIndexLookupTable, snSwPortSetAll=snSwPortSetAll, snFdpCachedAddressTable=snFdpCachedAddressTable, snVLanByIpSubnetMaxSubnets=snVLanByIpSubnetMaxSubnets, snSwPortStatsInBitsPerSec=snSwPortStatsInBitsPerSec, snSwIfStatsOutDiscard=snSwIfStatsOutDiscard, brcdVlanExtStatsOutRoutedOctets=brcdVlanExtStatsOutRoutedOctets, snFdbTable=snFdbTable, snSwIfStatsMultiColliFrames=snSwIfStatsMultiColliFrames, brcdSPXMIB=brcdSPXMIB, snSwPortStatsInUtilization=snSwPortStatsInUtilization, snIfOpticalMonitoringTxPower=snIfOpticalMonitoringTxPower, snIfStpPortDesignatedRoot=snIfStpPortDesignatedRoot, snVLanByPortCfgStpGroupForwardDelay=snVLanByPortCfgStpGroupForwardDelay, snSwPortTagType=snSwPortTagType, snFdpInterfaceCdpEnable=snFdpInterfaceCdpEnable, snFdpCacheDevicePort=snFdpCacheDevicePort, snPortMacSecurityIntfContentShutdownTimeLeft=snPortMacSecurityIntfContentShutdownTimeLeft, snIfOpticalMonitoringInfoTable=snIfOpticalMonitoringInfoTable, snRadiusDeadTime=snRadiusDeadTime, snSwIfStatsOutJumboFrames=snSwIfStatsOutJumboFrames, snVLanByPortCfgInOctets=snVLanByPortCfgInOctets, snNTPServerRowStatus=snNTPServerRowStatus, snFdpCacheTagType=snFdpCacheTagType, snVLanInfo=snVLanInfo, snMSTrunkIfType=snMSTrunkIfType, snVLanByATCableChassisStaticMask=snVLanByATCableChassisStaticMask, snPvcInterface=snPvcInterface, fdryDns2MIB=fdryDns2MIB, snVLanByIpSubnetExcludeMask=snVLanByIpSubnetExcludeMask, snIfStpTable=snIfStpTable, snMplsTunnelInterface=snMplsTunnelInterface, snInterfaceLookupInterfaceId=snInterfaceLookupInterfaceId, snSwIfStatsRxColliFrames=snSwIfStatsRxColliFrames, snNetFlowCollectorRowStatus=snNetFlowCollectorRowStatus, snNetFlowIfEntry=snNetFlowIfEntry, snPortMacSecurityIntfMacAddress=snPortMacSecurityIntfMacAddress, snSwPortInLinePowerConsumed=snSwPortInLinePowerConsumed, brcdVlanExtStatsEntry=brcdVlanExtStatsEntry, snAuthorizationCommandMethods=snAuthorizationCommandMethods, snPortMacSecurityVlanId=snPortMacSecurityVlanId, snIfIndexLookupInterfaceId=snIfIndexLookupInterfaceId, snIfStpPortAdminRstp=snIfStpPortAdminRstp, snSflowCollectorRowStatus=snSflowCollectorRowStatus, snVLanByIpSubnetDynamicMask=snVLanByIpSubnetDynamicMask, snPortMacGlobalSecurity=snPortMacGlobalSecurity, snPortMacSecurityAutosaveMacEntry=snPortMacSecurityAutosaveMacEntry, snSwIfStatsInFrames=snSwIfStatsInFrames, snRadiusEnableMethod=snRadiusEnableMethod, snSwPortDhcpGateListId=snSwPortDhcpGateListId, snMacFilterDestMask=snMacFilterDestMask, snVLanByPortStpTimeSinceTopologyChange=snVLanByPortStpTimeSinceTopologyChange, snVLanByPortCfgStpRootCost=snVLanByPortCfgStpRootCost, snSwPortInfoTagMode=snSwPortInfoTagMode, snVLanByPortRowStatus=snVLanByPortRowStatus, snIfOpticalMonitoringTxBiasCurrent=snIfOpticalMonitoringTxBiasCurrent, snEthernetInterface=snEthernetInterface, snNetFlowCollectorSourceInterface=snNetFlowCollectorSourceInterface, snVLanByIpSubnetRowStatus=snVLanByIpSubnetRowStatus, snVLanByIpSubnetStaticPortList=snVLanByIpSubnetStaticPortList, snPortMacSecurityIntfContentAgeOutTime=snPortMacSecurityIntfContentAgeOutTime, snTacacsServerTable=snTacacsServerTable, snVLanByIpSubnetExcludePortList=snVLanByIpSubnetExcludePortList, snVLanByIpSubnetVLanId=snVLanByIpSubnetVLanId, snMacFilterFrameType=snMacFilterFrameType, snMacFilterRowStatus=snMacFilterRowStatus, snVLanByPortStpPriority=snVLanByPortStpPriority, snVLanByIpSubnetChassisStaticMask=snVLanByIpSubnetChassisStaticMask, snAtmInterface=snAtmInterface, snVLanByPortMemberTagMode=snVLanByPortMemberTagMode, snDhcpGatewayListEntry=snDhcpGatewayListEntry, BrcdVlanIdOrNoneTC=BrcdVlanIdOrNoneTC, snIfIndexLookup2InterfaceId=snIfIndexLookup2InterfaceId, snVLanByProtocolVLanName=snVLanByProtocolVLanName, snMacFilterIfAccessFilters=snMacFilterIfAccessFilters, snMacFilterIfAccessTable=snMacFilterIfAccessTable, snSwIfRouteOnly=snSwIfRouteOnly, snSwPortInfoConnectorType=snSwPortInfoConnectorType, snSwDefaultVLanId=snSwDefaultVLanId, snIfMediaVendorName=snIfMediaVendorName, snSwitch=snSwitch, snDhcpGatewayListAddrList=snDhcpGatewayListAddrList, snSwIfInfoEntry=snSwIfInfoEntry, snPortMacSecurityAutosaveMacQueryIndex=snPortMacSecurityAutosaveMacQueryIndex, snSwIfMacLearningDisable=snSwIfMacLearningDisable, snFdpCacheIfIndex=snFdpCacheIfIndex, snSwPortLockAddressCount=snSwPortLockAddressCount, snGreTunnelInterface=snGreTunnelInterface, snPortMacSecurityIntfContentViolationType=snPortMacSecurityIntfContentViolationType, snDosAttack=snDosAttack, snSwPortInfoLinkStatus=snSwPortInfoLinkStatus, snMacFilterFrameTypeNum=snMacFilterFrameTypeNum, snVLanByIpxNetDynamicMask=snVLanByIpxNetDynamicMask, snSwIfInfoMirrorPorts=snSwIfInfoMirrorPorts, snSwEosBufferSize=snSwEosBufferSize, snVLanByProtocolDynamic=snVLanByProtocolDynamic, snNTP=snNTP, snVLanByPortCfgStpVersion=snVLanByPortCfgStpVersion, InterfaceId2=InterfaceId2, snPortMacSecurityModuleStatViolationCounts=snPortMacSecurityModuleStatViolationCounts, snFdpCacheDeviceId=snFdpCacheDeviceId, snRadiusSNMPAccess=snRadiusSNMPAccess, brcdVlanExtStatsIfIndex=brcdVlanExtStatsIfIndex, snSwPortInfoMonitorMode=snSwPortInfoMonitorMode, snSwPortStatsRxColliFrames=snSwPortStatsRxColliFrames, snPortStpPortProtocolMigration=snPortStpPortProtocolMigration, snAccounting=snAccounting, snVLanByPortQos=snVLanByPortQos, snVLanByProtocolEntry=snVLanByProtocolEntry, snVLanByIpxNetFrameType=snVLanByIpxNetFrameType, snRadiusEnableTelnetAuth=snRadiusEnableTelnetAuth, snPortStpInfo=snPortStpInfo, snSwClearCounters=snSwClearCounters, snIfOpticalLaneMonitoringRxPower=snIfOpticalLaneMonitoringRxPower, snSwSingleStpVLanId=snSwSingleStpVLanId, snDosAttackPortTable=snDosAttackPortTable, snQosBindTable=snQosBindTable, snIfMediaPartNumber=snIfMediaPartNumber, snNetFlowAggregationIp=snNetFlowAggregationIp, snPortMonitor=snPortMonitor, snVLanByPortCfgBaseType=snVLanByPortCfgBaseType, brcdVlanExtStatsInRoutedPkts=brcdVlanExtStatsInRoutedPkts, snVLanByIpxNetStaticMask=snVLanByIpxNetStaticMask, snVLanByPortCfgStpDesignatedRoot=snVLanByPortCfgStpDesignatedRoot, snSwIfInfoNativeMacAddress=snSwIfInfoNativeMacAddress, snNTPServerEntry=snNTPServerEntry, snSwPortStatsOutPktsPerSec=snSwPortStatsOutPktsPerSec, snSwPortInOctets=snSwPortInOctets, snInterfaceLookup2InterfaceId=snInterfaceLookup2InterfaceId, snVLanByIpxNetDynamic=snVLanByIpxNetDynamic, snSflowCollectorIP=snSflowCollectorIP, snRadiusServerAcctPort=snRadiusServerAcctPort, snVLanByPortCfgRowStatus=snVLanByPortCfgRowStatus, snPortMacSecurityModuleStatTotalSecurityPorts=snPortMacSecurityModuleStatTotalSecurityPorts, snVirtualInterface=snVirtualInterface, snFdpMIBObjects=snFdpMIBObjects, snSwIfInfoConnectorType=snSwIfInfoConnectorType, snVLanByPortRouterIntf=snVLanByPortRouterIntf, snSwIfDhcpGateListId=snSwIfDhcpGateListId, snFdbStationEntrySize=snFdbStationEntrySize, brcdIfEgressCounterQueueId=brcdIfEgressCounterQueueId, snNetFlowCollectorEntry=snNetFlowCollectorEntry, snSwPortStatsOutDiscard=snSwPortStatsOutDiscard, snVLanByPortCfgQos=snVLanByPortCfgQos, snSwIfLockAddressCount=snSwIfLockAddressCount, snIfOpticalLaneMonitoringLane=snIfOpticalLaneMonitoringLane, snNetFlowIfFlowSwitching=snNetFlowIfFlowSwitching, snRadiusKey=snRadiusKey, snTacacsServerUsage=snTacacsServerUsage, snSwGroupOperMode=snSwGroupOperMode, snSwPortEntrySize=snSwPortEntrySize, snTacacsKey=snTacacsKey, snSwPortInfoChnMode=snSwPortInfoChnMode, snVLanByIpSubnetTable=snVLanByIpSubnetTable, snDhcpGatewayListInfo=snDhcpGatewayListInfo, snSwIfInfoFlowControl=snSwIfInfoFlowControl, snPortMacSecurityIntfMacEntry=snPortMacSecurityIntfMacEntry, snSwPortStatsAlignErrors=snSwPortStatsAlignErrors, snFdbStationIf=snFdbStationIf, snVLanByPortCfgBaseNumPorts=snVLanByPortCfgBaseNumPorts, snSwPortInfoMirrorMode=snSwPortInfoMirrorMode, snNetFlowGblVersion=snNetFlowGblVersion, snSwPortPresent=snSwPortPresent, PortMask=PortMask, snSwPortStatsMacStations=snSwPortStatsMacStations, snVLanByIpxNetNetworkNum=snVLanByIpxNetNetworkNum, snIfStpPortDesignatedCost=snIfStpPortDesignatedCost, snIfMediaType=snIfMediaType, snVLanByPortCfgStpForwardDelay=snVLanByPortCfgStpForwardDelay, snNTPServerTable=snNTPServerTable, snIfStpPortNum=snIfStpPortNum, snNTPPollInterval=snNTPPollInterval, snFdpGlobal=snFdpGlobal, snVLanByIpSubnetDynamic=snVLanByIpSubnetDynamic, snSwPortInfoAutoNegotiate=snSwPortInfoAutoNegotiate, snSwSingleStpMode=snSwSingleStpMode, PortQosTC=PortQosTC, snSwPortInfoGigType=snSwPortInfoGigType, snVLanByATCableRouterIntf=snVLanByATCableRouterIntf, snSwIfStatsFrameTooLongs=snSwIfStatsFrameTooLongs, snSwPortStatsFrameTooLongs=snSwPortStatsFrameTooLongs, snTacacs=snTacacs, snSwIfDescr=snSwIfDescr, snPosInterface=snPosInterface, snIfStpOperPathCost=snIfStpOperPathCost, fdryIpSrcGuardMIB=fdryIpSrcGuardMIB, snVLanByPortStpHelloTime=snVLanByPortStpHelloTime, snSwIfInfoSpeed=snSwIfInfoSpeed, snIfMediaVersion=snIfMediaVersion, snIfStpVLanId=snIfStpVLanId, snSwMaxMacFilterPerSystem=snSwMaxMacFilterPerSystem, snDosAttackPortICMPDropCount=snDosAttackPortICMPDropCount, snQosBindProfileIndex=snQosBindProfileIndex) mibBuilder.exportSymbols("FOUNDRY-SN-SWITCH-GROUP-MIB", snInterfaceLookupIfIndex=snInterfaceLookupIfIndex, snPortMacSecurityIntfContentMaxLockedMacAllowed=snPortMacSecurityIntfContentMaxLockedMacAllowed, snSwIfStatsLinkChange=snSwIfStatsLinkChange, snPortStpEntrySize=snPortStpEntrySize, snPortMacSecurityIntfContentIfIndex=snPortMacSecurityIntfContentIfIndex, snTacacsServerEntry=snTacacsServerEntry, snPortStpPortPriority=snPortStpPortPriority, snAccountingSystem=snAccountingSystem, snMSTrunkIfTable=snMSTrunkIfTable, snNetFlowGblProtocolDisable=snNetFlowGblProtocolDisable, snMacFilterIfAccessRowStatus=snMacFilterIfAccessRowStatus, snVLanByPortTable=snVLanByPortTable, snVLanByPortCfgStpProtocolSpecification=snVLanByPortCfgStpProtocolSpecification, snPortStpPortDesignatedPort=snPortStpPortDesignatedPort, snVLanByIpSubnetVLanName=snVLanByIpSubnetVLanName, snFdpGlobalMessageInterval=snFdpGlobalMessageInterval, snPortMacGlobalSecurityAutosave=snPortMacGlobalSecurityAutosave, brcdVlanExtStatsOutSwitchedPkts=brcdVlanExtStatsOutSwitchedPkts, snPortMonitorMirrorList=snPortMonitorMirrorList, snSwIfStatsAlignErrors=snSwIfStatsAlignErrors, fdryDhcpSnoopMIB=fdryDhcpSnoopMIB, snVLanGroupVlanMaxEntry=snVLanGroupVlanMaxEntry, snNTPServerVersion=snNTPServerVersion, snFdpCacheCapabilities=snFdpCacheCapabilities, snPortMacSecurityModuleStatTotalMACs=snPortMacSecurityModuleStatTotalMACs, snFdpCachePortTagMode=snFdpCachePortTagMode, snSFlowGlb=snSFlowGlb, snRadiusSNMPServerMethod=snRadiusSNMPServerMethod, snVLanByPortCfgStpHelloTime=snVLanByPortCfgStpHelloTime, snPortStpVLanId=snPortStpVLanId, snVLanByIpSubnetDynamicPortList=snVLanByIpSubnetDynamicPortList, snTacacsTimeOut=snTacacsTimeOut, snSwIfStpPortEnable=snSwIfStpPortEnable, snPortStpPortEnable=snPortStpPortEnable, snPortMacSecurityIfIndex=snPortMacSecurityIfIndex, snVLanByIpxNetTable=snVLanByIpxNetTable, snVLanByPortStpRootCost=snVLanByPortStpRootCost, snSwIfStatsInBitsPerSec=snSwIfStatsInBitsPerSec, snIfRstpTCNBPDUReceived=snIfRstpTCNBPDUReceived, snSwIfLoadInterval=snSwIfLoadInterval, snNetFlowAggregationActiveTimeout=snNetFlowAggregationActiveTimeout, snVLanByPortCfgEntry=snVLanByPortCfgEntry, snFdpCachedAddrType=snFdpCachedAddrType, snSwViolatorPortNumber=snSwViolatorPortNumber, snPortMacSecurityTable=snPortMacSecurityTable, brcdIfEgressCounterIfIndex=brcdIfEgressCounterIfIndex, snFdpInterface=snFdpInterface, snVLanByPortCfgBaseBridgeAddress=snVLanByPortCfgBaseBridgeAddress, snFdbTableCurEntry=snFdbTableCurEntry, snSwIfStatsOutMcastFrames=snSwIfStatsOutMcastFrames, snPortMacSecurityIntfContentShutdownTime=snPortMacSecurityIntfContentShutdownTime, snMSTrunkPortIndex=snMSTrunkPortIndex, snSw8021qTagType=snSw8021qTagType, snSwGroupIpL3SwMode=snSwGroupIpL3SwMode, snVLanByProtocolChassisStaticMask=snVLanByProtocolChassisStaticMask, snRadiusServerRowStatus=snRadiusServerRowStatus, snPortStpPathCost=snPortStpPathCost, snSwPortStatsOutMcastFrames=snSwPortStatsOutMcastFrames, snPortStpPortState=snPortStpPortState, snSwFastStpMode=snSwFastStpMode, snIfStpPortPriority=snIfStpPortPriority, snStacking=snStacking, brcdRouteMap=brcdRouteMap, brcdVlanExtStatsInRoutedOctets=brcdVlanExtStatsInRoutedOctets, snVLanByPortEntry=snVLanByPortEntry, snSwPortStatsInMcastFrames=snSwPortStatsInMcastFrames, snSwPortInfoSpeed=snSwPortInfoSpeed, snDosAttackICMPBlockCount=snDosAttackICMPBlockCount, snVLanByPortStpRootPort=snVLanByPortStpRootPort, snIfStpPortDesignatedBridge=snIfStpPortDesignatedBridge, snVLanByPortStpGroupForwardDelay=snVLanByPortStpGroupForwardDelay, snVLanByIpxNetStaticPortList=snVLanByIpxNetStaticPortList, snIfIndexLookupEntry=snIfIndexLookupEntry, snIfOpticalLaneMonitoringTemperature=snIfOpticalLaneMonitoringTemperature, snSwPortStpPortEnable=snSwPortStpPortEnable, snSwBroadcastLimit2=snSwBroadcastLimit2, VlanTagMode=VlanTagMode, snVLanByPortCfgStpPriority=snVLanByPortCfgStpPriority, snPortMacSecurityMAC=snPortMacSecurityMAC, snIfStpPortState=snIfStpPortState, snWireless=snWireless, snVLanByPortCfgStpTimeSinceTopologyChange=snVLanByPortCfgStpTimeSinceTopologyChange, fdryMacVlanMIB=fdryMacVlanMIB, snIfStpCfgPathCost=snIfStpCfgPathCost, snVLanByPortStpTopChanges=snVLanByPortStpTopChanges, snSwPortInLinePowerClass=snSwPortInLinePowerClass, snFdpCachedAddr=snFdpCachedAddr, snMSTrunkRowStatus=snMSTrunkRowStatus, snSwProbePortNum=snSwProbePortNum, snVLanByIpxNetChassisExcludeMask=snVLanByIpxNetChassisExcludeMask, snSwPortCacheGroupId=snSwPortCacheGroupId, snMacFilter=snMacFilter, snSwIfVlanId=snSwIfVlanId, snVLanByPortCfgVLanId=snVLanByPortCfgVLanId, snSwPortInfo=snSwPortInfo, snSwPortRouteOnly=snSwPortRouteOnly, snIfOpticalLaneMonitoringTxPower=snIfOpticalLaneMonitoringTxPower, brcdVlanExtStatsVlanId=brcdVlanExtStatsVlanId, snAAA=snAAA, snVLanByATCableRowStatus=snVLanByATCableRowStatus, snVLanByPortCfgVLanName=snVLanByPortCfgVLanName, snVLanByIpxNetExcludePortList=snVLanByIpxNetExcludePortList, snPortStpPortAdminEdgePort=snPortStpPortAdminEdgePort, snSwIfStatsInBcastFrames=snSwIfStatsInBcastFrames, snTacacsServerAuthPort=snTacacsServerAuthPort, snVLanByProtocolStaticPortList=snVLanByProtocolStaticPortList, snPortMacSecurityIntfMacIfIndex=snPortMacSecurityIntfMacIfIndex, snSwIfFastSpanPortEnable=snSwIfFastSpanPortEnable, snSubInterface=snSubInterface, snSwIfStatsInJumboFrames=snSwIfStatsInJumboFrames, snAccountingCommandMethods=snAccountingCommandMethods, snMacFilterPortAccessRowStatus=snMacFilterPortAccessRowStatus, BridgeId=BridgeId, snVLanByPortChassisPortMask=snVLanByPortChassisPortMask, snSwPortStatsOutFrames=snSwPortStatsOutFrames, brcdVlanExtStatsOutPkts=brcdVlanExtStatsOutPkts, snVLanByPortStpDesignatedRoot=snVLanByPortStpDesignatedRoot, snSwPortStatsTxColliFrames=snSwPortStatsTxColliFrames, snDosAttackPort=snDosAttackPort, snIfStpPortRole=snIfStpPortRole, snVsrp=snVsrp, snSwSummary=snSwSummary, snSwIfInfoL2FowardEnable=snSwIfInfoL2FowardEnable, snMSTrunkPortList=snMSTrunkPortList, snSwPortInLinePowerWattage=snSwPortInLinePowerWattage, snDosAttackICMPDropCount=snDosAttackICMPDropCount, snPortMacSecurityIntfMacRowStatus=snPortMacSecurityIntfMacRowStatus, snRadiusTimeOut=snRadiusTimeOut, snSwPortInLinePowerControl=snSwPortInLinePowerControl, snVLanByIpSubnetChassisDynamicMask=snVLanByIpSubnetChassisDynamicMask, snSwPortDescr=snSwPortDescr, snSwBroadcastLimit=snSwBroadcastLimit, snSwIfFastSpanUplinkEnable=snSwIfFastSpanUplinkEnable, snQosProfileName=snQosProfileName, snNTPSystemClock=snNTPSystemClock, snSwGroupDefaultCfgMode=snSwGroupDefaultCfgMode, snDosAttackGlobal=snDosAttackGlobal, snFdpCacheAddress=snFdpCacheAddress, snVLanGroupSetAllVLan=snVLanGroupSetAllVLan, snIfMediaInfoEntry=snIfMediaInfoEntry, snMSTrunkIfRowStatus=snMSTrunkIfRowStatus, snSwIfOutOctets=snSwIfOutOctets, snIfOpticalMonitoringInfoEntry=snIfOpticalMonitoringInfoEntry, snDnsDomainName=snDnsDomainName, snNTPServerIp=snNTPServerIp, snVLanByPortStpMode=snVLanByPortStpMode, snFdpCachedAddrDeviceIndex=snFdpCachedAddrDeviceIndex, snAuthorization=snAuthorization, snIfStpEntry=snIfStpEntry, snSwPortFastSpanUplinkEnable=snSwPortFastSpanUplinkEnable, snFdpCacheIsAggregateVlan=snFdpCacheIsAggregateVlan, snInterfaceLookup2Table=snInterfaceLookup2Table, snFdpCache=snFdpCache, snIfIndexLookupIfIndex=snIfIndexLookupIfIndex, snLoopbackInterface=snLoopbackInterface, snSSL=snSSL, snDnsInfo=snDnsInfo, snFdpCachedAddrDeviceAddrEntryIndex=snFdpCachedAddrDeviceAddrEntryIndex, snSwProtocolVLanMode=snSwProtocolVLanMode, snPortStpPortForwardTransitions=snPortStpPortForwardTransitions, brcdIfEgressCounterDropPkts=brcdIfEgressCounterDropPkts, snFdpCacheEntry=snFdpCacheEntry, snSwIfName=snSwIfName, snSFlow=snSFlow, snDosAttackPortSYNDropCount=snDosAttackPortSYNDropCount, snSwIfInfoPortNum=snSwIfInfoPortNum, snSwPortTransGroupId=snSwPortTransGroupId, snDosAttackSYNDropCount=snDosAttackSYNDropCount, snVLanByATCableVLanName=snVLanByATCableVLanName, snNetFlowCollectorTable=snNetFlowCollectorTable, snFdbStationPort=snFdbStationPort, snSwEnableLockedAddrViolationTrap=snSwEnableLockedAddrViolationTrap, snSwPortStatsInKiloBitsPerSec=snSwPortStatsInKiloBitsPerSec, snVLanByProtocolChassisExcludeMask=snVLanByProtocolChassisExcludeMask, brcdIfEgressCounterType=brcdIfEgressCounterType, snPortStpSetAll=snPortStpSetAll, snInterfaceLookup2IfIndex=snInterfaceLookup2IfIndex, snSwIfStatsInDiscard=snSwIfStatsInDiscard, snFdbRowStatus=snFdbRowStatus, snNetFlowAggregationIndex=snNetFlowAggregationIndex, snSwGlobalAutoNegotiate=snSwGlobalAutoNegotiate, snSwIfStatsInUtilization=snSwIfStatsInUtilization, snNetFlowCollectorIp=snNetFlowCollectorIp, snVLanByIpxNetChassisStaticMask=snVLanByIpxNetChassisStaticMask, snSwPortStatsOutBcastFrames=snSwPortStatsOutBcastFrames, snQos=snQos, snVLanByATCableEntry=snVLanByATCableEntry, snNTPTimeZone=snNTPTimeZone, snSwIfInfoMonitorMode=snSwIfInfoMonitorMode, snNetFlowAggregationInactiveTimeout=snNetFlowAggregationInactiveTimeout, snMacFilterSourceMac=snMacFilterSourceMac, snSwIfInfoAutoNegotiate=snSwIfInfoAutoNegotiate, snDhcpGatewayListTable=snDhcpGatewayListTable, snSwInfo=snSwInfo, snPortMacSecurityIntfMacTable=snPortMacSecurityIntfMacTable, snSwEnableBridgeTopoChangeTrap=snSwEnableBridgeTopoChangeTrap, snFdpCachedAddrValue=snFdpCachedAddrValue, snSwPortFastSpanPortEnable=snSwPortFastSpanPortEnable, snSwViolatorMacAddress=snSwViolatorMacAddress, snQosProfileIndex=snQosProfileIndex, snTrunkInterface=snTrunkInterface, snSwPortStatsOutKiloBitsPerSec=snSwPortStatsOutKiloBitsPerSec, snPortMacSecurityIntfContentViolationCounts=snPortMacSecurityIntfContentViolationCounts, snPortMonitorEntry=snPortMonitorEntry, snVLanByPortVLanId=snVLanByPortVLanId, snTacacsSNMPAccess=snTacacsSNMPAccess, snAccountingExec=snAccountingExec, snIfOpticalLaneMonitoringEntry=snIfOpticalLaneMonitoringEntry, snTrunkType=snTrunkType, snInterfaceLookup2Entry=snInterfaceLookup2Entry, snIfOpticalMonitoringRxPower=snIfOpticalMonitoringRxPower, snFdpCacheTable=snFdpCacheTable, snCAR=snCAR, fdryLinkAggregationGroupMIB=fdryLinkAggregationGroupMIB, snVLanByPortPortList=snVLanByPortPortList, snPortMacSecurityAutosaveMacAddress=snPortMacSecurityAutosaveMacAddress, snSwIfInfoPhysAddress=snSwIfInfoPhysAddress, snTrunkIndex=snTrunkIndex, snVLanByProtocolChassisDynamicMask=snVLanByProtocolChassisDynamicMask)
(octet_string, integer, object_identifier) = mibBuilder.importSymbols('ASN1', 'OctetString', 'Integer', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, value_size_constraint, constraints_intersection, value_range_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueSizeConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint', 'SingleValueConstraint') (mac_address, display_string) = mibBuilder.importSymbols('FOUNDRY-SN-AGENT-MIB', 'MacAddress', 'DisplayString') (switch,) = mibBuilder.importSymbols('FOUNDRY-SN-ROOT-MIB', 'switch') (interface_index_or_zero, interface_index, if_index) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndexOrZero', 'InterfaceIndex', 'ifIndex') (enabled_status,) = mibBuilder.importSymbols('P-BRIDGE-MIB', 'EnabledStatus') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (gauge32, iso, integer32, notification_type, mib_identifier, mib_scalar, mib_table, mib_table_row, mib_table_column, counter64, module_identity, time_ticks, object_identity, unsigned32, bits, counter32, ip_address) = mibBuilder.importSymbols('SNMPv2-SMI', 'Gauge32', 'iso', 'Integer32', 'NotificationType', 'MibIdentifier', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter64', 'ModuleIdentity', 'TimeTicks', 'ObjectIdentity', 'Unsigned32', 'Bits', 'Counter32', 'IpAddress') (textual_convention, display_string, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString', 'TruthValue') sn_switch = module_identity((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3)) snSwitch.setRevisions(('2013-10-25 00:00', '2010-06-02 00:00', '2009-09-30 00:00')) if mibBuilder.loadTexts: snSwitch.setLastUpdated('201310250000Z') if mibBuilder.loadTexts: snSwitch.setOrganization('Brocade Communications Systems, Inc.') class Physaddress(TextualConvention, OctetString): status = 'current' class Bridgeid(TextualConvention, OctetString): status = 'current' subtype_spec = OctetString.subtypeSpec + value_size_constraint(8, 8) fixed_length = 8 class Timeout(TextualConvention, Integer32): status = 'current' class Portmask(TextualConvention, Integer32): status = 'current' class Interfaceid(TextualConvention, ObjectIdentifier): status = 'current' class Interfaceid2(TextualConvention, ObjectIdentifier): status = 'current' class Vlantagmode(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3)) named_values = named_values(('tagged', 1), ('untagged', 2), ('dual', 3)) class Fdryvlanidornonetc(TextualConvention, Integer32): status = 'current' display_hint = 'd' subtype_spec = Integer32.subtypeSpec + constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 4095)) class Brcdvlanidtc(TextualConvention, Integer32): status = 'current' display_hint = 'd' subtype_spec = Integer32.subtypeSpec + value_range_constraint(1, 4090) class Brcdvlanidornonetc(TextualConvention, Integer32): status = 'current' display_hint = 'd' subtype_spec = Integer32.subtypeSpec + constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 4090)) class Portqostc(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 127)) named_values = named_values(('level0', 0), ('level1', 1), ('level2', 2), ('level3', 3), ('level4', 4), ('level5', 5), ('level6', 6), ('level7', 7), ('invalid', 127)) class Portprioritytc(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 128)) named_values = named_values(('priority0', 1), ('priority1', 2), ('priority2', 3), ('priority3', 4), ('priority4', 5), ('priority5', 6), ('priority6', 7), ('priority7', 8), ('nonPriority', 128)) sn_sw_info = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1)) sn_v_lan_info = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2)) sn_sw_port_info = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3)) sn_fdb_info = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4)) sn_port_stp_info = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5)) sn_trunk_info = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6)) sn_sw_summary = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 7)) sn_dhcp_gateway_list_info = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8)) sn_dns_info = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 9)) sn_mac_filter = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10)) sn_ntp = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11)) sn_radius = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12)) sn_tacacs = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13)) sn_qos = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14)) sn_aaa = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15)) sn_car = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 16)) sn_v_lan_car = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 17)) sn_net_flow = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18)) sn_s_flow = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19)) sn_fdp = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20)) sn_vsrp = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 21)) sn_arp_info = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 22)) sn_wireless = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 23)) sn_mac = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24)) sn_port_monitor = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 25)) sn_ssh = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 26)) sn_ssl = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 27)) sn_mac_auth = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 28)) sn_metro_ring = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 29)) sn_stacking = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 31)) fdry_mac_vlan_mib = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 32)) fdry_link_aggregation_group_mib = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 33)) fdry_dns2_mib = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 34)) fdry_dai_mib = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 35)) fdry_dhcp_snoop_mib = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 36)) fdry_ip_src_guard_mib = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 37)) brcd_route_map = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 39)) brcd_spxmib = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 40)) sn_sw_group_oper_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('noVLan', 1), ('vlanByPort', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwGroupOperMode.setStatus('current') sn_sw_group_ip_l3_sw_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwGroupIpL3SwMode.setStatus('current') sn_sw_group_ip_mcast_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwGroupIpMcastMode.setStatus('current') sn_sw_group_default_cfg_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('default', 1), ('nonDefault', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwGroupDefaultCfgMode.setStatus('current') sn_sw_group_switch_age_time = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 5), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwGroupSwitchAgeTime.setStatus('current') sn_v_lan_group_vlan_cur_entry = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanGroupVlanCurEntry.setStatus('current') sn_v_lan_group_set_all_v_lan = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanGroupSetAllVLan.setStatus('current') sn_sw_port_set_all = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 8), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortSetAll.setStatus('current') sn_fdb_table_cur_entry = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdbTableCurEntry.setStatus('current') sn_fdb_table_station_flush = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('normal', 1), ('error', 2), ('flush', 3), ('flushing', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdbTableStationFlush.setStatus('current') sn_port_stp_set_all = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 11), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortStpSetAll.setStatus('current') sn_sw_probe_port_num = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 12), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwProbePortNum.setStatus('current') sn_sw8021q_tag_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSw8021qTagMode.setStatus('current') sn_sw_global_stp_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwGlobalStpMode.setStatus('current') sn_sw_ip_mcast_querier_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('querier', 1), ('nonQuerier', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIpMcastQuerierMode.setStatus('current') sn_sw_violator_port_number = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 17), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwViolatorPortNumber.setStatus('current') sn_sw_violator_mac_address = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 18), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwViolatorMacAddress.setStatus('current') sn_v_lan_group_vlan_max_entry = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 19), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanGroupVlanMaxEntry.setStatus('current') sn_sw_eos_buffer_size = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 20), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwEosBufferSize.setStatus('current') sn_v_lan_by_port_entry_size = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 21), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortEntrySize.setStatus('current') sn_sw_port_entry_size = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 22), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortEntrySize.setStatus('current') sn_fdb_station_entry_size = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 23), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdbStationEntrySize.setStatus('current') sn_port_stp_entry_size = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 24), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortStpEntrySize.setStatus('current') sn_sw_enable_bridge_new_root_trap = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 25), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwEnableBridgeNewRootTrap.setStatus('current') sn_sw_enable_bridge_topo_change_trap = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 26), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwEnableBridgeTopoChangeTrap.setStatus('current') sn_sw_enable_locked_addr_violation_trap = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwEnableLockedAddrViolationTrap.setStatus('current') sn_sw_ipx_l3_sw_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIpxL3SwMode.setStatus('current') sn_v_lan_by_ip_subnet_max_subnets = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 29), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpSubnetMaxSubnets.setStatus('current') sn_v_lan_by_ipx_net_max_networks = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 30), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpxNetMaxNetworks.setStatus('current') sn_sw_protocol_v_lan_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 31), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwProtocolVLanMode.setStatus('deprecated') sn_mac_station_v_lan_id = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 32), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacStationVLanId.setStatus('deprecated') sn_sw_clear_counters = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 33), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('valid', 0), ('clear', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwClearCounters.setStatus('current') sn_sw8021q_tag_type = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 34), integer32().clone(33024)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSw8021qTagType.setStatus('current') sn_sw_broadcast_limit = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 35), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwBroadcastLimit.setStatus('current') sn_sw_max_mac_filter_per_system = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 36), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwMaxMacFilterPerSystem.setStatus('current') sn_sw_max_mac_filter_per_port = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 37), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwMaxMacFilterPerPort.setStatus('current') sn_sw_default_v_lan_id = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 38), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwDefaultVLanId.setStatus('current') sn_sw_global_auto_negotiate = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 39), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1), ('negFullAuto', 2), ('other', 3))).clone('negFullAuto')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwGlobalAutoNegotiate.setStatus('current') sn_sw_qos_mechanism = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 40), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('strict', 0), ('weighted', 1))).clone('weighted')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwQosMechanism.setStatus('current') sn_sw_single_stp_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 41), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('disable', 0), ('enableStp', 1), ('enableRstp', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwSingleStpMode.setStatus('current') sn_sw_fast_stp_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 42), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwFastStpMode.setStatus('current') sn_sw_violator_if_index = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 43), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwViolatorIfIndex.setStatus('current') sn_sw_single_stp_v_lan_id = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 44), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwSingleStpVLanId.setStatus('current') sn_sw_broadcast_limit2 = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 1, 45), unsigned32().clone(4294967295)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwBroadcastLimit2.setStatus('current') sn_v_lan_by_port_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1)) if mibBuilder.loadTexts: snVLanByPortTable.setStatus('deprecated') sn_v_lan_by_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByPortVLanIndex')) if mibBuilder.loadTexts: snVLanByPortEntry.setStatus('deprecated') sn_v_lan_by_port_v_lan_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortVLanIndex.setStatus('deprecated') sn_v_lan_by_port_v_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortVLanId.setStatus('deprecated') sn_v_lan_by_port_port_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 3), port_mask()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortPortMask.setStatus('deprecated') sn_v_lan_by_port_qos = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('level0', 0), ('level1', 1), ('level2', 2), ('level3', 3), ('level4', 4), ('level5', 5), ('level6', 6), ('level7', 7)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortQos.setStatus('deprecated') sn_v_lan_by_port_stp_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('disable', 0), ('enableStp', 1), ('enableRstp', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortStpMode.setStatus('deprecated') sn_v_lan_by_port_stp_priority = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortStpPriority.setStatus('deprecated') sn_v_lan_by_port_stp_group_max_age = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 40))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortStpGroupMaxAge.setStatus('deprecated') sn_v_lan_by_port_stp_group_hello_time = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 10))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortStpGroupHelloTime.setStatus('deprecated') sn_v_lan_by_port_stp_group_forward_delay = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 30))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortStpGroupForwardDelay.setStatus('deprecated') sn_v_lan_by_port_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4), ('modify', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortRowStatus.setStatus('deprecated') sn_v_lan_by_port_oper_state = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('notActivated', 0), ('activated', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortOperState.setStatus('deprecated') sn_v_lan_by_port_base_num_ports = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 12), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortBaseNumPorts.setStatus('deprecated') sn_v_lan_by_port_base_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('unknown', 1), ('transparentOnly', 2), ('sourcerouteOnly', 3), ('srt', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortBaseType.setStatus('deprecated') sn_v_lan_by_port_stp_protocol_specification = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('unknown', 1), ('decLb100', 2), ('ieee8021d', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortStpProtocolSpecification.setStatus('deprecated') sn_v_lan_by_port_stp_max_age = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 15), timeout()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortStpMaxAge.setStatus('deprecated') sn_v_lan_by_port_stp_hello_time = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 16), timeout()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortStpHelloTime.setStatus('deprecated') sn_v_lan_by_port_stp_hold_time = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 17), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortStpHoldTime.setStatus('deprecated') sn_v_lan_by_port_stp_forward_delay = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 18), timeout()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortStpForwardDelay.setStatus('deprecated') sn_v_lan_by_port_stp_time_since_topology_change = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 19), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortStpTimeSinceTopologyChange.setStatus('deprecated') sn_v_lan_by_port_stp_top_changes = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 20), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortStpTopChanges.setStatus('deprecated') sn_v_lan_by_port_stp_root_cost = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 21), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortStpRootCost.setStatus('deprecated') sn_v_lan_by_port_stp_root_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 22), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortStpRootPort.setStatus('deprecated') sn_v_lan_by_port_stp_designated_root = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 23), bridge_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortStpDesignatedRoot.setStatus('deprecated') sn_v_lan_by_port_base_bridge_address = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 24), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortBaseBridgeAddress.setStatus('deprecated') sn_v_lan_by_port_v_lan_name = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 25), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortVLanName.setStatus('deprecated') sn_v_lan_by_port_router_intf = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 26), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortRouterIntf.setStatus('deprecated') sn_v_lan_by_port_chassis_port_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 27), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortChassisPortMask.setStatus('deprecated') sn_v_lan_by_port_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 1, 1, 28), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortPortList.setStatus('deprecated') sn_v_lan_by_port_member_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6)) if mibBuilder.loadTexts: snVLanByPortMemberTable.setStatus('current') sn_v_lan_by_port_member_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByPortMemberVLanId'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByPortMemberPortId')) if mibBuilder.loadTexts: snVLanByPortMemberEntry.setStatus('current') sn_v_lan_by_port_member_v_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortMemberVLanId.setStatus('current') sn_v_lan_by_port_member_port_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6, 1, 2), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortMemberPortId.setStatus('current') sn_v_lan_by_port_member_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortMemberRowStatus.setStatus('current') sn_v_lan_by_port_member_tag_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 6, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('tagged', 1), ('untagged', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortMemberTagMode.setStatus('current') sn_v_lan_by_port_cfg_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7)) if mibBuilder.loadTexts: snVLanByPortCfgTable.setStatus('current') sn_v_lan_by_port_cfg_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByPortCfgVLanId')) if mibBuilder.loadTexts: snVLanByPortCfgEntry.setStatus('current') sn_v_lan_by_port_cfg_v_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgVLanId.setStatus('current') sn_v_lan_by_port_cfg_qos = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 2), port_qos_tc()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgQos.setStatus('current') sn_v_lan_by_port_cfg_stp_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('disable', 0), ('enableStp', 1), ('enableRstp', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgStpMode.setStatus('current') sn_v_lan_by_port_cfg_stp_priority = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgStpPriority.setStatus('current') sn_v_lan_by_port_cfg_stp_group_max_age = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 5), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgStpGroupMaxAge.setStatus('current') sn_v_lan_by_port_cfg_stp_group_hello_time = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 6), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgStpGroupHelloTime.setStatus('current') sn_v_lan_by_port_cfg_stp_group_forward_delay = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgStpGroupForwardDelay.setStatus('current') sn_v_lan_by_port_cfg_base_num_ports = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 8), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgBaseNumPorts.setStatus('current') sn_v_lan_by_port_cfg_base_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('unknown', 1), ('transparentOnly', 2), ('sourcerouteOnly', 3), ('srt', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgBaseType.setStatus('current') sn_v_lan_by_port_cfg_stp_protocol_specification = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('unknown', 1), ('decLb100', 2), ('ieee8021d', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgStpProtocolSpecification.setStatus('current') sn_v_lan_by_port_cfg_stp_max_age = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 11), timeout()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgStpMaxAge.setStatus('current') sn_v_lan_by_port_cfg_stp_hello_time = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 12), timeout()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgStpHelloTime.setStatus('current') sn_v_lan_by_port_cfg_stp_hold_time = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 13), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgStpHoldTime.setStatus('current') sn_v_lan_by_port_cfg_stp_forward_delay = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 14), timeout()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgStpForwardDelay.setStatus('current') sn_v_lan_by_port_cfg_stp_time_since_topology_change = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 15), time_ticks()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgStpTimeSinceTopologyChange.setStatus('current') sn_v_lan_by_port_cfg_stp_top_changes = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 16), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgStpTopChanges.setStatus('current') sn_v_lan_by_port_cfg_stp_root_cost = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 17), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgStpRootCost.setStatus('current') sn_v_lan_by_port_cfg_stp_root_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 18), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgStpRootPort.setStatus('current') sn_v_lan_by_port_cfg_stp_designated_root = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 19), bridge_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgStpDesignatedRoot.setStatus('current') sn_v_lan_by_port_cfg_base_bridge_address = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 20), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgBaseBridgeAddress.setStatus('current') sn_v_lan_by_port_cfg_v_lan_name = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 21), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgVLanName.setStatus('current') sn_v_lan_by_port_cfg_router_intf = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 22), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgRouterIntf.setStatus('current') sn_v_lan_by_port_cfg_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgRowStatus.setStatus('current') sn_v_lan_by_port_cfg_stp_version = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 2))).clone(namedValues=named_values(('stpCompatible', 0), ('rstp', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgStpVersion.setStatus('current') sn_v_lan_by_port_cfg_in_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 25), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByPortCfgInOctets.setStatus('current') sn_v_lan_by_port_cfg_transparent_hw_flooding = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 7, 1, 26), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByPortCfgTransparentHwFlooding.setStatus('current') brcd_vlan_ext_stats_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8)) if mibBuilder.loadTexts: brcdVlanExtStatsTable.setStatus('current') brcd_vlan_ext_stats_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'brcdVlanExtStatsVlanId'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'brcdVlanExtStatsIfIndex'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'brcdVlanExtStatsPriorityId')) if mibBuilder.loadTexts: brcdVlanExtStatsEntry.setStatus('current') brcd_vlan_ext_stats_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 1), brcd_vlan_id_tc()) if mibBuilder.loadTexts: brcdVlanExtStatsVlanId.setStatus('current') brcd_vlan_ext_stats_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 2), interface_index()) if mibBuilder.loadTexts: brcdVlanExtStatsIfIndex.setStatus('current') brcd_vlan_ext_stats_priority_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 3), port_priority_tc()) if mibBuilder.loadTexts: brcdVlanExtStatsPriorityId.setStatus('current') brcd_vlan_ext_stats_in_switched_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 4), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsInSwitchedPkts.setStatus('current') brcd_vlan_ext_stats_in_routed_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 5), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsInRoutedPkts.setStatus('current') brcd_vlan_ext_stats_in_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 6), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsInPkts.setStatus('current') brcd_vlan_ext_stats_out_switched_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 7), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsOutSwitchedPkts.setStatus('current') brcd_vlan_ext_stats_out_routed_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 8), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsOutRoutedPkts.setStatus('current') brcd_vlan_ext_stats_out_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 9), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsOutPkts.setStatus('current') brcd_vlan_ext_stats_in_switched_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 10), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsInSwitchedOctets.setStatus('current') brcd_vlan_ext_stats_in_routed_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 11), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsInRoutedOctets.setStatus('current') brcd_vlan_ext_stats_in_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 12), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsInOctets.setStatus('current') brcd_vlan_ext_stats_out_switched_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 13), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsOutSwitchedOctets.setStatus('current') brcd_vlan_ext_stats_out_routed_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 14), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsOutRoutedOctets.setStatus('current') brcd_vlan_ext_stats_out_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 8, 1, 15), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdVlanExtStatsOutOctets.setStatus('current') sn_v_lan_by_protocol_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2)) if mibBuilder.loadTexts: snVLanByProtocolTable.setStatus('current') sn_v_lan_by_protocol_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByProtocolVLanId'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByProtocolIndex')) if mibBuilder.loadTexts: snVLanByProtocolEntry.setStatus('current') sn_v_lan_by_protocol_v_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByProtocolVLanId.setStatus('current') sn_v_lan_by_protocol_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('ip', 1), ('ipx', 2), ('appleTalk', 3), ('decNet', 4), ('netBios', 5), ('others', 6), ('ipv6', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByProtocolIndex.setStatus('current') sn_v_lan_by_protocol_dynamic = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByProtocolDynamic.setStatus('current') sn_v_lan_by_protocol_static_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 4), port_mask()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByProtocolStaticMask.setStatus('deprecated') sn_v_lan_by_protocol_exclude_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 5), port_mask()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByProtocolExcludeMask.setStatus('deprecated') sn_v_lan_by_protocol_router_intf = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(1, 60))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByProtocolRouterIntf.setStatus('current') sn_v_lan_by_protocol_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4), ('modify', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByProtocolRowStatus.setStatus('current') sn_v_lan_by_protocol_dynamic_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 8), port_mask()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByProtocolDynamicMask.setStatus('deprecated') sn_v_lan_by_protocol_chassis_static_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 9), octet_string().subtype(subtypeSpec=value_size_constraint(32, 32)).setFixedLength(32)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByProtocolChassisStaticMask.setStatus('deprecated') sn_v_lan_by_protocol_chassis_exclude_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 10), octet_string().subtype(subtypeSpec=value_size_constraint(32, 32)).setFixedLength(32)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByProtocolChassisExcludeMask.setStatus('deprecated') sn_v_lan_by_protocol_chassis_dynamic_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 11), octet_string().subtype(subtypeSpec=value_size_constraint(32, 32)).setFixedLength(32)).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByProtocolChassisDynamicMask.setStatus('deprecated') sn_v_lan_by_protocol_v_lan_name = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 12), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByProtocolVLanName.setStatus('current') sn_v_lan_by_protocol_static_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 13), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByProtocolStaticPortList.setStatus('current') sn_v_lan_by_protocol_exclude_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 14), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByProtocolExcludePortList.setStatus('current') sn_v_lan_by_protocol_dynamic_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 2, 1, 15), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByProtocolDynamicPortList.setStatus('current') sn_v_lan_by_ip_subnet_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3)) if mibBuilder.loadTexts: snVLanByIpSubnetTable.setStatus('current') sn_v_lan_by_ip_subnet_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByIpSubnetVLanId'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByIpSubnetIpAddress'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByIpSubnetSubnetMask')) if mibBuilder.loadTexts: snVLanByIpSubnetEntry.setStatus('current') sn_v_lan_by_ip_subnet_v_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpSubnetVLanId.setStatus('current') sn_v_lan_by_ip_subnet_ip_address = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 2), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpSubnetIpAddress.setStatus('current') sn_v_lan_by_ip_subnet_subnet_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 3), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpSubnetSubnetMask.setStatus('current') sn_v_lan_by_ip_subnet_dynamic = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpSubnetDynamic.setStatus('current') sn_v_lan_by_ip_subnet_static_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 5), port_mask()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpSubnetStaticMask.setStatus('deprecated') sn_v_lan_by_ip_subnet_exclude_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 6), port_mask()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpSubnetExcludeMask.setStatus('deprecated') sn_v_lan_by_ip_subnet_router_intf = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 60))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpSubnetRouterIntf.setStatus('current') sn_v_lan_by_ip_subnet_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4), ('modify', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpSubnetRowStatus.setStatus('current') sn_v_lan_by_ip_subnet_dynamic_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 9), port_mask()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpSubnetDynamicMask.setStatus('deprecated') sn_v_lan_by_ip_subnet_chassis_static_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 10), octet_string().subtype(subtypeSpec=value_size_constraint(32, 32)).setFixedLength(32)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpSubnetChassisStaticMask.setStatus('deprecated') sn_v_lan_by_ip_subnet_chassis_exclude_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 11), octet_string().subtype(subtypeSpec=value_size_constraint(32, 32)).setFixedLength(32)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpSubnetChassisExcludeMask.setStatus('deprecated') sn_v_lan_by_ip_subnet_chassis_dynamic_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 12), octet_string().subtype(subtypeSpec=value_size_constraint(32, 32)).setFixedLength(32)).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpSubnetChassisDynamicMask.setStatus('deprecated') sn_v_lan_by_ip_subnet_v_lan_name = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 13), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpSubnetVLanName.setStatus('current') sn_v_lan_by_ip_subnet_static_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 14), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpSubnetStaticPortList.setStatus('current') sn_v_lan_by_ip_subnet_exclude_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 15), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpSubnetExcludePortList.setStatus('current') sn_v_lan_by_ip_subnet_dynamic_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 3, 1, 16), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpSubnetDynamicPortList.setStatus('current') sn_v_lan_by_ipx_net_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4)) if mibBuilder.loadTexts: snVLanByIpxNetTable.setStatus('current') sn_v_lan_by_ipx_net_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByIpxNetVLanId'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByIpxNetNetworkNum'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByIpxNetFrameType')) if mibBuilder.loadTexts: snVLanByIpxNetEntry.setStatus('current') sn_v_lan_by_ipx_net_v_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpxNetVLanId.setStatus('current') sn_v_lan_by_ipx_net_network_num = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(4, 4)).setFixedLength(4)).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpxNetNetworkNum.setStatus('current') sn_v_lan_by_ipx_net_frame_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('notApplicable', 0), ('ipxEthernet8022', 1), ('ipxEthernet8023', 2), ('ipxEthernetII', 3), ('ipxEthernetSnap', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpxNetFrameType.setStatus('current') sn_v_lan_by_ipx_net_dynamic = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpxNetDynamic.setStatus('current') sn_v_lan_by_ipx_net_static_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 5), port_mask()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpxNetStaticMask.setStatus('deprecated') sn_v_lan_by_ipx_net_exclude_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 6), port_mask()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpxNetExcludeMask.setStatus('deprecated') sn_v_lan_by_ipx_net_router_intf = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(1, 60))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpxNetRouterIntf.setStatus('current') sn_v_lan_by_ipx_net_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4), ('modify', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpxNetRowStatus.setStatus('current') sn_v_lan_by_ipx_net_dynamic_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 9), port_mask()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpxNetDynamicMask.setStatus('deprecated') sn_v_lan_by_ipx_net_chassis_static_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 10), octet_string().subtype(subtypeSpec=value_size_constraint(32, 32)).setFixedLength(32)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpxNetChassisStaticMask.setStatus('deprecated') sn_v_lan_by_ipx_net_chassis_exclude_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 11), octet_string().subtype(subtypeSpec=value_size_constraint(32, 32)).setFixedLength(32)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpxNetChassisExcludeMask.setStatus('deprecated') sn_v_lan_by_ipx_net_chassis_dynamic_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 12), octet_string().subtype(subtypeSpec=value_size_constraint(32, 32)).setFixedLength(32)).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpxNetChassisDynamicMask.setStatus('deprecated') sn_v_lan_by_ipx_net_v_lan_name = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 13), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpxNetVLanName.setStatus('current') sn_v_lan_by_ipx_net_static_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 14), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpxNetStaticPortList.setStatus('current') sn_v_lan_by_ipx_net_exclude_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 15), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByIpxNetExcludePortList.setStatus('current') sn_v_lan_by_ipx_net_dynamic_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 4, 1, 16), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByIpxNetDynamicPortList.setStatus('current') sn_v_lan_by_at_cable_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5)) if mibBuilder.loadTexts: snVLanByATCableTable.setStatus('current') sn_v_lan_by_at_cable_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByATCableVLanId'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snVLanByATCableIndex')) if mibBuilder.loadTexts: snVLanByATCableEntry.setStatus('current') sn_v_lan_by_at_cable_v_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4095))).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByATCableVLanId.setStatus('current') sn_v_lan_by_at_cable_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snVLanByATCableIndex.setStatus('current') sn_v_lan_by_at_cable_router_intf = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 60))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByATCableRouterIntf.setStatus('current') sn_v_lan_by_at_cable_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4), ('modify', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByATCableRowStatus.setStatus('current') sn_v_lan_by_at_cable_chassis_static_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 5), octet_string().subtype(subtypeSpec=value_size_constraint(32, 32)).setFixedLength(32)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByATCableChassisStaticMask.setStatus('deprecated') sn_v_lan_by_at_cable_v_lan_name = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByATCableVLanName.setStatus('current') sn_v_lan_by_at_cable_static_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 2, 5, 1, 7), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snVLanByATCableStaticPortList.setStatus('current') sn_sw_port_info_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1)) if mibBuilder.loadTexts: snSwPortInfoTable.setStatus('deprecated') sn_sw_port_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snSwPortInfoPortNum')) if mibBuilder.loadTexts: snSwPortInfoEntry.setStatus('deprecated') sn_sw_port_info_port_num = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortInfoPortNum.setStatus('deprecated') sn_sw_port_info_monitor_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('disabled', 0), ('input', 1), ('output', 2), ('both', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInfoMonitorMode.setStatus('deprecated') sn_sw_port_info_tag_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('tagged', 1), ('untagged', 2), ('auto', 3), ('disabled', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInfoTagMode.setStatus('deprecated') sn_sw_port_info_chn_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('halfDuplex', 1), ('fullDuplex', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInfoChnMode.setStatus('deprecated') sn_sw_port_info_speed = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14))).clone(namedValues=named_values(('none', 0), ('sAutoSense', 1), ('s10M', 2), ('s100M', 3), ('s1G', 4), ('s1GM', 5), ('s155M', 6), ('s10G', 7), ('s622M', 8), ('s2488M', 9), ('s9953M', 10), ('s16G', 11), ('s40G', 13), ('s2500M', 14)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInfoSpeed.setStatus('deprecated') sn_sw_port_info_media_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19))).clone(namedValues=named_values(('other', 1), ('m100BaseTX', 2), ('m100BaseFX', 3), ('m1000BaseFX', 4), ('mT3', 5), ('m155ATM', 6), ('m1000BaseTX', 7), ('m622ATM', 8), ('m155POS', 9), ('m622POS', 10), ('m2488POS', 11), ('m10000BaseFX', 12), ('m9953POS', 13), ('m16GStacking', 14), ('m100GBaseFX', 15), ('m40GStacking', 16), ('m40GBaseFX', 17), ('m10000BaseTX', 18), ('m2500BaseTX', 19)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortInfoMediaType.setStatus('deprecated') sn_sw_port_info_connector_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('copper', 2), ('fiber', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortInfoConnectorType.setStatus('deprecated') sn_sw_port_info_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('testing', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInfoAdminStatus.setStatus('deprecated') sn_sw_port_info_link_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('testing', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortInfoLinkStatus.setStatus('deprecated') sn_sw_port_info_port_qos = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('level0', 0), ('level1', 1), ('level2', 2), ('level3', 3), ('level4', 4), ('level5', 5), ('level6', 6), ('level7', 7)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInfoPortQos.setStatus('deprecated') sn_sw_port_info_phys_address = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 11), phys_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortInfoPhysAddress.setStatus('deprecated') sn_sw_port_stats_in_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 12), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsInFrames.setStatus('deprecated') sn_sw_port_stats_out_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 13), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsOutFrames.setStatus('deprecated') sn_sw_port_stats_align_errors = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 14), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsAlignErrors.setStatus('deprecated') sn_sw_port_stats_fcs_errors = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 15), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsFCSErrors.setStatus('deprecated') sn_sw_port_stats_multi_colli_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 16), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsMultiColliFrames.setStatus('deprecated') sn_sw_port_stats_frame_too_longs = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 17), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsFrameTooLongs.setStatus('deprecated') sn_sw_port_stats_tx_colli_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 18), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsTxColliFrames.setStatus('deprecated') sn_sw_port_stats_rx_colli_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 19), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsRxColliFrames.setStatus('deprecated') sn_sw_port_stats_frame_too_shorts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 20), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsFrameTooShorts.setStatus('deprecated') sn_sw_port_lock_address_count = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 21), integer32().subtype(subtypeSpec=value_range_constraint(0, 2048)).clone(8)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortLockAddressCount.setStatus('deprecated') sn_sw_port_stp_port_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortStpPortEnable.setStatus('deprecated') sn_sw_port_dhcp_gate_list_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 23), integer32().subtype(subtypeSpec=value_range_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortDhcpGateListId.setStatus('deprecated') sn_sw_port_name = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 24), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortName.setStatus('deprecated') sn_sw_port_stats_in_bcast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 25), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsInBcastFrames.setStatus('deprecated') sn_sw_port_stats_out_bcast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 26), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsOutBcastFrames.setStatus('deprecated') sn_sw_port_stats_in_mcast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 27), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsInMcastFrames.setStatus('deprecated') sn_sw_port_stats_out_mcast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 28), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsOutMcastFrames.setStatus('deprecated') sn_sw_port_stats_in_discard = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 29), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsInDiscard.setStatus('deprecated') sn_sw_port_stats_out_discard = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 30), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsOutDiscard.setStatus('deprecated') sn_sw_port_stats_mac_stations = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 31), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsMacStations.setStatus('deprecated') sn_sw_port_cache_group_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 32), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortCacheGroupId.setStatus('deprecated') sn_sw_port_trans_group_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 33), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortTransGroupId.setStatus('deprecated') sn_sw_port_info_auto_negotiate = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 34), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1), ('negFullAuto', 2), ('global', 3), ('other', 4))).clone('global')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInfoAutoNegotiate.setStatus('deprecated') sn_sw_port_info_flow_control = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 35), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInfoFlowControl.setStatus('deprecated') sn_sw_port_info_gig_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 36), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 255))).clone(namedValues=named_values(('m1000BaseSX', 0), ('m1000BaseLX', 1), ('m1000BaseLH', 2), ('m1000BaseLHA', 3), ('m1000BaseLHB', 4), ('m1000BaseTX', 5), ('m10000BaseSR', 6), ('m10000BaseLR', 7), ('m10000BaseER', 8), ('sfpCWDM1470nm80Km', 9), ('sfpCWDM1490nm80Km', 10), ('sfpCWDM1510nm80Km', 11), ('sfpCWDM1530nm80Km', 12), ('sfpCWDM1550nm80Km', 13), ('sfpCWDM1570nm80Km', 14), ('sfpCWDM1590nm80Km', 15), ('sfpCWDM1610nm80Km', 16), ('sfpCWDM1470nm100Km', 17), ('sfpCWDM1490nm100Km', 18), ('sfpCWDM1510nm100Km', 19), ('sfpCWDM1530nm100Km', 20), ('sfpCWDM1550nm100Km', 21), ('sfpCWDM1570nm100Km', 22), ('sfpCWDM1590nm100Km', 23), ('sfpCWDM1610nm100Km', 24), ('m1000BaseLHX', 25), ('m1000BaseSX2', 26), ('m1000BaseGBXU', 27), ('m1000BaseGBXD', 28), ('notApplicable', 255)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortInfoGigType.setStatus('deprecated') sn_sw_port_stats_link_change = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 37), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsLinkChange.setStatus('deprecated') sn_sw_port_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 38), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortIfIndex.setStatus('deprecated') sn_sw_port_descr = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 39), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortDescr.setStatus('deprecated') sn_sw_port_in_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 40), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortInOctets.setStatus('deprecated') sn_sw_port_out_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 41), octet_string().subtype(subtypeSpec=value_size_constraint(8, 8)).setFixedLength(8)).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortOutOctets.setStatus('deprecated') sn_sw_port_stats_in_bits_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 42), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsInBitsPerSec.setStatus('deprecated') sn_sw_port_stats_out_bits_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 43), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsOutBitsPerSec.setStatus('deprecated') sn_sw_port_stats_in_pkts_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 44), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsInPktsPerSec.setStatus('deprecated') sn_sw_port_stats_out_pkts_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 45), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsOutPktsPerSec.setStatus('deprecated') sn_sw_port_stats_in_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 46), integer32().subtype(subtypeSpec=value_range_constraint(0, 10000))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsInUtilization.setStatus('deprecated') sn_sw_port_stats_out_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 47), integer32().subtype(subtypeSpec=value_range_constraint(0, 10000))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsOutUtilization.setStatus('deprecated') sn_sw_port_fast_span_port_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 48), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortFastSpanPortEnable.setStatus('deprecated') sn_sw_port_fast_span_uplink_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 49), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortFastSpanUplinkEnable.setStatus('deprecated') sn_sw_port_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 50), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortVlanId.setStatus('deprecated') sn_sw_port_route_only = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 51), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortRouteOnly.setStatus('deprecated') sn_sw_port_present = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 52), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortPresent.setStatus('deprecated') sn_sw_port_gbic_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 53), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('gbic', 1), ('miniGBIC', 2), ('empty', 3), ('other', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortGBICStatus.setStatus('deprecated') sn_sw_port_stats_in_kilo_bits_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 54), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsInKiloBitsPerSec.setStatus('deprecated') sn_sw_port_stats_out_kilo_bits_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 55), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsOutKiloBitsPerSec.setStatus('deprecated') sn_sw_port_load_interval = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 56), integer32().subtype(subtypeSpec=value_range_constraint(30, 300)).clone(300)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortLoadInterval.setStatus('deprecated') sn_sw_port_tag_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 57), integer32().clone(33024)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortTagType.setStatus('deprecated') sn_sw_port_in_line_power_control = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 58), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('disable', 2), ('enable', 3), ('enableLegacyDevice', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInLinePowerControl.setStatus('deprecated') sn_sw_port_in_line_power_wattage = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 59), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInLinePowerWattage.setStatus('deprecated') sn_sw_port_in_line_power_class = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 60), integer32().subtype(subtypeSpec=value_range_constraint(0, 3))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInLinePowerClass.setStatus('deprecated') sn_sw_port_in_line_power_priority = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 61), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5))).clone(namedValues=named_values(('invalid', 0), ('critical', 1), ('high', 2), ('low', 3), ('medium', 4), ('other', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInLinePowerPriority.setStatus('deprecated') sn_sw_port_info_mirror_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 62), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwPortInfoMirrorMode.setStatus('deprecated') sn_sw_port_stats_in_jumbo_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 63), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsInJumboFrames.setStatus('deprecated') sn_sw_port_stats_out_jumbo_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 64), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortStatsOutJumboFrames.setStatus('deprecated') sn_sw_port_in_line_power_consumed = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 66), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortInLinePowerConsumed.setStatus('deprecated') sn_sw_port_in_line_power_pd_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 1, 1, 67), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwPortInLinePowerPDType.setStatus('deprecated') sn_sw_if_info_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5)) if mibBuilder.loadTexts: snSwIfInfoTable.setStatus('current') sn_sw_if_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snSwIfInfoPortNum')) if mibBuilder.loadTexts: snSwIfInfoEntry.setStatus('current') sn_sw_if_info_port_num = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 1), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfInfoPortNum.setStatus('current') sn_sw_if_info_monitor_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('disabled', 0), ('input', 1), ('output', 2), ('both', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoMonitorMode.setStatus('deprecated') sn_sw_if_info_mirror_ports = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 3), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoMirrorPorts.setStatus('current') sn_sw_if_info_tag_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('tagged', 1), ('untagged', 2), ('dual', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoTagMode.setStatus('current') sn_sw_if_info_tag_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 5), integer32().clone(33024)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoTagType.setStatus('current') sn_sw_if_info_chn_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('none', 0), ('halfDuplex', 1), ('fullDuplex', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoChnMode.setStatus('current') sn_sw_if_info_speed = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14))).clone(namedValues=named_values(('none', 0), ('sAutoSense', 1), ('s10M', 2), ('s100M', 3), ('s1G', 4), ('s1GM', 5), ('s155M', 6), ('s10G', 7), ('s622M', 8), ('s2488M', 9), ('s9953M', 10), ('s16G', 11), ('s100G', 12), ('s40G', 13), ('s2500M', 14)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoSpeed.setStatus('current') sn_sw_if_info_media_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19))).clone(namedValues=named_values(('other', 1), ('m100BaseTX', 2), ('m100BaseFX', 3), ('m1000BaseFX', 4), ('mT3', 5), ('m155ATM', 6), ('m1000BaseTX', 7), ('m622ATM', 8), ('m155POS', 9), ('m622POS', 10), ('m2488POS', 11), ('m10000BaseFX', 12), ('m9953POS', 13), ('m16GStacking', 14), ('m100GBaseFX', 15), ('m40GStacking', 16), ('m40GBaseFX', 17), ('m10000BaseTX', 18), ('m2500BaseTX', 19)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfInfoMediaType.setStatus('current') sn_sw_if_info_connector_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('copper', 2), ('fiber', 3), ('both', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfInfoConnectorType.setStatus('current') sn_sw_if_info_admin_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('testing', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoAdminStatus.setStatus('current') sn_sw_if_info_link_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('up', 1), ('down', 2), ('testing', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfInfoLinkStatus.setStatus('current') sn_sw_if_info_port_qos = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('level0', 0), ('level1', 1), ('level2', 2), ('level3', 3), ('level4', 4), ('level5', 5), ('level6', 6), ('level7', 7)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoPortQos.setStatus('current') sn_sw_if_info_phys_address = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 13), phys_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfInfoPhysAddress.setStatus('current') sn_sw_if_lock_address_count = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 14), integer32().subtype(subtypeSpec=value_range_constraint(0, 2048)).clone(8)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfLockAddressCount.setStatus('current') sn_sw_if_stp_port_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfStpPortEnable.setStatus('current') sn_sw_if_dhcp_gate_list_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 16), integer32().subtype(subtypeSpec=value_range_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfDhcpGateListId.setStatus('current') sn_sw_if_name = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 17), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfName.setStatus('current') sn_sw_if_descr = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 18), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfDescr.setStatus('current') sn_sw_if_info_auto_negotiate = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1), ('negFullAuto', 2), ('global', 3), ('other', 4))).clone('global')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoAutoNegotiate.setStatus('current') sn_sw_if_info_flow_control = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('enabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoFlowControl.setStatus('current') sn_sw_if_info_gig_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 127, 128, 129, 130, 131, 132, 133, 134, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 255))).clone(namedValues=named_values(('m1000BaseSX', 0), ('m1000BaseLX', 1), ('m1000BaseLH', 2), ('m1000BaseLHA', 3), ('m1000BaseLHB', 4), ('m1000BaseTX', 5), ('m10000BaseSR', 6), ('m10000BaseLR', 7), ('m10000BaseER', 8), ('sfpCWDM1470nm80Km', 9), ('sfpCWDM1490nm80Km', 10), ('sfpCWDM1510nm80Km', 11), ('sfpCWDM1530nm80Km', 12), ('sfpCWDM1550nm80Km', 13), ('sfpCWDM1570nm80Km', 14), ('sfpCWDM1590nm80Km', 15), ('sfpCWDM1610nm80Km', 16), ('sfpCWDM1470nm100Km', 17), ('sfpCWDM1490nm100Km', 18), ('sfpCWDM1510nm100Km', 19), ('sfpCWDM1530nm100Km', 20), ('sfpCWDM1550nm100Km', 21), ('sfpCWDM1570nm100Km', 22), ('sfpCWDM1590nm100Km', 23), ('sfpCWDM1610nm100Km', 24), ('m1000BaseLHX', 25), ('m1000BaseSX2', 26), ('mSFP1000BaseBXU', 27), ('mSFP1000BaseBXD', 28), ('mSFP100BaseBX', 29), ('mSFP100BaseBXU', 30), ('mSFP100BaseBXD', 31), ('mSFP100BaseFX', 32), ('mSFP100BaseFXIR', 33), ('mSFP100BaseFXLR', 34), ('m1000BaseLMC', 35), ('mXFP10000BaseSR', 36), ('mXFP10000BaseLR', 37), ('mXFP10000BaseER', 38), ('mXFP10000BaseSW', 39), ('mXFP10000BaseLW', 40), ('mXFP10000BaseEW', 41), ('mXFP10000BaseCX4', 42), ('mXFP10000BaseZR', 43), ('mXFP10000BaseZRD', 44), ('m1000BaseC6553', 45), ('mXFP10000BaseSRSW', 46), ('mXFP10000BaseLRLW', 47), ('mXFP10000BaseEREW', 48), ('m10000BaseT', 49), ('m2500BaseTX', 50), ('m1000BaseGBXU', 127), ('m1000BaseGBXD', 128), ('m1000BaseFBX', 129), ('m1000BaseFBXU', 130), ('m1000BaseFBXD', 131), ('m1000BaseFX', 132), ('m1000BaseFXIR', 133), ('m1000BaseFXLR', 134), ('m1000BaseXGSR', 136), ('m1000BaseXGLR', 137), ('m1000BaseXGER', 138), ('m1000BaseXGSW', 139), ('m1000BaseXGLW', 140), ('m1000BaseXGEW', 141), ('m1000BaseXGCX4', 142), ('m1000BaseXGZR', 143), ('m1000BaseXGZRD', 144), ('mCFP100GBaseSR10', 145), ('mCFP100GBaseLR4', 146), ('mCFP100GBaseER4', 147), ('mCFP100GBase10x10g2Km', 148), ('mCFP100GBase10x10g10Km', 149), ('qSFP40000BaseSR4', 150), ('qSFP40000Base10KmLR4', 151), ('mXFP10000BaseUSR', 152), ('mXFP10000BaseTwinax', 153), ('mCFP2-100GBaseSR10', 154), ('mCFP2-100GBaseLR4', 155), ('mCFP2-100GBaseER4', 156), ('mCFP2-100GBase10x10g2Km', 157), ('mCFP2-100GBase10x10g10Km', 158), ('notApplicable', 255)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfInfoGigType.setStatus('current') sn_sw_if_fast_span_port_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfFastSpanPortEnable.setStatus('current') sn_sw_if_fast_span_uplink_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfFastSpanUplinkEnable.setStatus('current') sn_sw_if_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 24), integer32().subtype(subtypeSpec=value_range_constraint(0, 4095))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfVlanId.setStatus('current') sn_sw_if_route_only = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 25), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfRouteOnly.setStatus('current') sn_sw_if_present = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 26), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfPresent.setStatus('current') sn_sw_if_gbic_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('gbic', 1), ('miniGBIC', 2), ('empty', 3), ('other', 4)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfGBICStatus.setStatus('current') sn_sw_if_load_interval = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 28), integer32().subtype(subtypeSpec=value_range_constraint(30, 300)).clone(300)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfLoadInterval.setStatus('current') sn_sw_if_stats_in_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 29), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsInFrames.setStatus('current') sn_sw_if_stats_out_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 30), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsOutFrames.setStatus('current') sn_sw_if_stats_align_errors = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 31), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsAlignErrors.setStatus('current') sn_sw_if_stats_fcs_errors = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 32), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsFCSErrors.setStatus('current') sn_sw_if_stats_multi_colli_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 33), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsMultiColliFrames.setStatus('current') sn_sw_if_stats_tx_colli_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 34), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsTxColliFrames.setStatus('current') sn_sw_if_stats_rx_colli_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 35), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsRxColliFrames.setStatus('current') sn_sw_if_stats_frame_too_longs = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 36), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsFrameTooLongs.setStatus('current') sn_sw_if_stats_frame_too_shorts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 37), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsFrameTooShorts.setStatus('current') sn_sw_if_stats_in_bcast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 38), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsInBcastFrames.setStatus('current') sn_sw_if_stats_out_bcast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 39), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsOutBcastFrames.setStatus('current') sn_sw_if_stats_in_mcast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 40), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsInMcastFrames.setStatus('current') sn_sw_if_stats_out_mcast_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 41), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsOutMcastFrames.setStatus('current') sn_sw_if_stats_in_discard = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 42), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsInDiscard.setStatus('current') sn_sw_if_stats_out_discard = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 43), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsOutDiscard.setStatus('current') sn_sw_if_stats_mac_stations = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 44), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsMacStations.setStatus('current') sn_sw_if_stats_link_change = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 45), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsLinkChange.setStatus('current') sn_sw_if_in_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 46), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfInOctets.setStatus('current') sn_sw_if_out_octets = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 47), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfOutOctets.setStatus('current') sn_sw_if_stats_in_bits_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 48), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsInBitsPerSec.setStatus('current') sn_sw_if_stats_out_bits_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 49), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsOutBitsPerSec.setStatus('current') sn_sw_if_stats_in_pkts_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 50), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsInPktsPerSec.setStatus('current') sn_sw_if_stats_out_pkts_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 51), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsOutPktsPerSec.setStatus('current') sn_sw_if_stats_in_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 52), integer32().subtype(subtypeSpec=value_range_constraint(0, 10000))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsInUtilization.setStatus('current') sn_sw_if_stats_out_utilization = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 53), integer32().subtype(subtypeSpec=value_range_constraint(0, 10000))).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsOutUtilization.setStatus('current') sn_sw_if_stats_in_kilo_bits_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 54), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsInKiloBitsPerSec.setStatus('current') sn_sw_if_stats_out_kilo_bits_per_sec = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 55), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsOutKiloBitsPerSec.setStatus('current') sn_sw_if_stats_in_jumbo_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 56), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsInJumboFrames.setStatus('current') sn_sw_if_stats_out_jumbo_frames = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 57), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfStatsOutJumboFrames.setStatus('current') sn_sw_if_info_mirror_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 58), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoMirrorMode.setStatus('current') sn_sw_if_mac_learning_disable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 59), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfMacLearningDisable.setStatus('current') sn_sw_if_info_l2_foward_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 60), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2), ('globalConfig', 3))).clone('globalConfig')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoL2FowardEnable.setStatus('current') sn_sw_if_info_allow_all_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 61), truth_value().clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwIfInfoAllowAllVlan.setStatus('current') sn_sw_if_info_native_mac_address = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 5, 1, 62), phys_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSwIfInfoNativeMacAddress.setStatus('current') sn_interface_id = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2)) sn_ethernet_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 1)) sn_pos_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 2)) sn_atm_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 3)) sn_virtual_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 4)) sn_loopback_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 5)) sn_gre_tunnel_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 6)) sn_sub_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 7)) sn_mpls_tunnel_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 8)) sn_pvc_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 9)) sn_mgmt_ethernet_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 10)) sn_trunk_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 11)) sn_virtual_mgmt_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 12)) sn6to4_tunnel_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 2, 13)) sn_interface_lookup_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 3)) if mibBuilder.loadTexts: snInterfaceLookupTable.setStatus('current') sn_interface_lookup_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 3, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snInterfaceLookupInterfaceId')) if mibBuilder.loadTexts: snInterfaceLookupEntry.setStatus('current') sn_interface_lookup_interface_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 3, 1, 1), interface_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: snInterfaceLookupInterfaceId.setStatus('current') sn_interface_lookup_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 3, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snInterfaceLookupIfIndex.setStatus('current') sn_if_index_lookup_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 4)) if mibBuilder.loadTexts: snIfIndexLookupTable.setStatus('current') sn_if_index_lookup_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 4, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snIfIndexLookupIfIndex')) if mibBuilder.loadTexts: snIfIndexLookupEntry.setStatus('current') sn_if_index_lookup_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 4, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfIndexLookupIfIndex.setStatus('current') sn_if_index_lookup_interface_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 4, 1, 2), interface_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfIndexLookupInterfaceId.setStatus('current') sn_interface_lookup2_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 7)) if mibBuilder.loadTexts: snInterfaceLookup2Table.setStatus('current') sn_interface_lookup2_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 7, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snInterfaceLookup2InterfaceId')) if mibBuilder.loadTexts: snInterfaceLookup2Entry.setStatus('current') sn_interface_lookup2_interface_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 7, 1, 1), interface_id2()) if mibBuilder.loadTexts: snInterfaceLookup2InterfaceId.setStatus('current') sn_interface_lookup2_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 7, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snInterfaceLookup2IfIndex.setStatus('current') sn_if_index_lookup2_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 8)) if mibBuilder.loadTexts: snIfIndexLookup2Table.setStatus('current') sn_if_index_lookup2_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 8, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snIfIndexLookup2IfIndex')) if mibBuilder.loadTexts: snIfIndexLookup2Entry.setStatus('current') sn_if_index_lookup2_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 8, 1, 1), integer32()) if mibBuilder.loadTexts: snIfIndexLookup2IfIndex.setStatus('current') sn_if_index_lookup2_interface_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 8, 1, 2), interface_id2()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfIndexLookup2InterfaceId.setStatus('current') sn_if_optical_monitoring_info_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6)) if mibBuilder.loadTexts: snIfOpticalMonitoringInfoTable.setStatus('current') sn_if_optical_monitoring_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: snIfOpticalMonitoringInfoEntry.setStatus('current') sn_if_optical_monitoring_temperature = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfOpticalMonitoringTemperature.setStatus('current') sn_if_optical_monitoring_tx_power = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfOpticalMonitoringTxPower.setStatus('current') sn_if_optical_monitoring_rx_power = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfOpticalMonitoringRxPower.setStatus('current') sn_if_optical_monitoring_tx_bias_current = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 6, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfOpticalMonitoringTxBiasCurrent.setStatus('current') sn_if_media_info_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9)) if mibBuilder.loadTexts: snIfMediaInfoTable.setStatus('current') sn_if_media_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex')) if mibBuilder.loadTexts: snIfMediaInfoEntry.setStatus('current') sn_if_media_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfMediaType.setStatus('current') sn_if_media_vendor_name = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfMediaVendorName.setStatus('current') sn_if_media_version = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfMediaVersion.setStatus('current') sn_if_media_part_number = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfMediaPartNumber.setStatus('current') sn_if_media_serial_number = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 9, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 128))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfMediaSerialNumber.setStatus('current') sn_if_optical_lane_monitoring_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10)) if mibBuilder.loadTexts: snIfOpticalLaneMonitoringTable.setStatus('current') sn_if_optical_lane_monitoring_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1)).setIndexNames((0, 'IF-MIB', 'ifIndex'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snIfOpticalLaneMonitoringLane')) if mibBuilder.loadTexts: snIfOpticalLaneMonitoringEntry.setStatus('current') sn_if_optical_lane_monitoring_lane = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1, 1), unsigned32()) if mibBuilder.loadTexts: snIfOpticalLaneMonitoringLane.setStatus('current') sn_if_optical_lane_monitoring_temperature = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfOpticalLaneMonitoringTemperature.setStatus('current') sn_if_optical_lane_monitoring_tx_power = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfOpticalLaneMonitoringTxPower.setStatus('current') sn_if_optical_lane_monitoring_rx_power = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfOpticalLaneMonitoringRxPower.setStatus('current') sn_if_optical_lane_monitoring_tx_bias_current = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 10, 1, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfOpticalLaneMonitoringTxBiasCurrent.setStatus('current') brcd_if_egress_counter_info_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11)) if mibBuilder.loadTexts: brcdIfEgressCounterInfoTable.setStatus('current') brcd_if_egress_counter_info_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'brcdIfEgressCounterIfIndex'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'brcdIfEgressCounterQueueId')) if mibBuilder.loadTexts: brcdIfEgressCounterInfoEntry.setStatus('current') brcd_if_egress_counter_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1, 1), interface_index()) if mibBuilder.loadTexts: brcdIfEgressCounterIfIndex.setStatus('current') brcd_if_egress_counter_queue_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1, 2), integer32()) if mibBuilder.loadTexts: brcdIfEgressCounterQueueId.setStatus('current') brcd_if_egress_counter_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('other', 1), ('unicast', 2), ('multicast', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdIfEgressCounterType.setStatus('current') brcd_if_egress_counter_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1, 4), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdIfEgressCounterPkts.setStatus('current') brcd_if_egress_counter_drop_pkts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 3, 11, 1, 5), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: brcdIfEgressCounterDropPkts.setStatus('current') sn_fdb_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1)) if mibBuilder.loadTexts: snFdbTable.setStatus('current') sn_fdb_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snFdbStationIndex')) if mibBuilder.loadTexts: snFdbEntry.setStatus('current') sn_fdb_station_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 256))).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdbStationIndex.setStatus('current') sn_fdb_station_addr = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 2), phys_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdbStationAddr.setStatus('current') sn_fdb_station_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdbStationPort.setStatus('current') sn_fdb_v_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdbVLanId.setStatus('current') sn_fdb_station_qos = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('level0', 0), ('level1', 1), ('level2', 2), ('level3', 3), ('level4', 4), ('level5', 5), ('level6', 6), ('level7', 7)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdbStationQos.setStatus('current') sn_fdb_station_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('notSupported', 0), ('host', 1), ('router', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdbStationType.setStatus('current') sn_fdb_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdbRowStatus.setStatus('current') sn_fdb_station_if = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 4, 1, 1, 8), interface_index()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdbStationIf.setStatus('current') sn_port_stp_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1)) if mibBuilder.loadTexts: snPortStpTable.setStatus('deprecated') sn_port_stp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortStpVLanId'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortStpPortNum')) if mibBuilder.loadTexts: snPortStpEntry.setStatus('deprecated') sn_port_stp_v_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortStpVLanId.setStatus('deprecated') sn_port_stp_port_num = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortStpPortNum.setStatus('deprecated') sn_port_stp_port_priority = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortStpPortPriority.setStatus('deprecated') sn_port_stp_path_cost = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortStpPathCost.setStatus('deprecated') sn_port_stp_oper_state = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('notActivated', 0), ('activated', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortStpOperState.setStatus('deprecated') sn_port_stp_port_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('enabled', 1), ('disabled', 2)))) if mibBuilder.loadTexts: snPortStpPortEnable.setStatus('deprecated') sn_port_stp_port_forward_transitions = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 7), counter32()) if mibBuilder.loadTexts: snPortStpPortForwardTransitions.setStatus('deprecated') sn_port_stp_port_state = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('disabled', 1), ('blocking', 2), ('listening', 3), ('learning', 4), ('forwarding', 5), ('broken', 6), ('preforwarding', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortStpPortState.setStatus('deprecated') sn_port_stp_port_designated_cost = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortStpPortDesignatedCost.setStatus('deprecated') sn_port_stp_port_designated_root = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 10), bridge_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortStpPortDesignatedRoot.setStatus('deprecated') sn_port_stp_port_designated_bridge = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 11), bridge_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortStpPortDesignatedBridge.setStatus('deprecated') sn_port_stp_port_designated_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 12), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortStpPortDesignatedPort.setStatus('deprecated') sn_port_stp_port_admin_rstp = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortStpPortAdminRstp.setStatus('deprecated') sn_port_stp_port_protocol_migration = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortStpPortProtocolMigration.setStatus('deprecated') sn_port_stp_port_admin_edge_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortStpPortAdminEdgePort.setStatus('deprecated') sn_port_stp_port_admin_point_to_point = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 1, 1, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('true', 1), ('false', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortStpPortAdminPointToPoint.setStatus('deprecated') sn_if_stp_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2)) if mibBuilder.loadTexts: snIfStpTable.setStatus('current') sn_if_stp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snIfStpVLanId'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snIfStpPortNum')) if mibBuilder.loadTexts: snIfStpEntry.setStatus('current') sn_if_stp_v_lan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpVLanId.setStatus('current') sn_if_stp_port_num = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 2), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpPortNum.setStatus('current') sn_if_stp_port_priority = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snIfStpPortPriority.setStatus('current') sn_if_stp_cfg_path_cost = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 200000000))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snIfStpCfgPathCost.setStatus('current') sn_if_stp_oper_state = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('notActivated', 0), ('activated', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpOperState.setStatus('current') sn_if_stp_port_state = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7))).clone(namedValues=named_values(('disabled', 1), ('blocking', 2), ('listening', 3), ('learning', 4), ('forwarding', 5), ('broken', 6), ('preforwarding', 7)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpPortState.setStatus('current') sn_if_stp_port_designated_cost = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpPortDesignatedCost.setStatus('current') sn_if_stp_port_designated_root = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 10), bridge_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpPortDesignatedRoot.setStatus('current') sn_if_stp_port_designated_bridge = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 11), bridge_id()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpPortDesignatedBridge.setStatus('current') sn_if_stp_port_designated_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 12), octet_string().subtype(subtypeSpec=value_size_constraint(2, 2)).setFixedLength(2)).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpPortDesignatedPort.setStatus('current') sn_if_stp_port_admin_rstp = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 13), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snIfStpPortAdminRstp.setStatus('current') sn_if_stp_port_protocol_migration = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 14), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snIfStpPortProtocolMigration.setStatus('current') sn_if_stp_port_admin_edge_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 15), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snIfStpPortAdminEdgePort.setStatus('current') sn_if_stp_port_admin_point_to_point = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 16), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snIfStpPortAdminPointToPoint.setStatus('current') sn_if_stp_oper_path_cost = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 17), integer32().subtype(subtypeSpec=value_range_constraint(0, 200000000))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpOperPathCost.setStatus('current') sn_if_stp_port_role = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5))).clone(namedValues=named_values(('unknown', 0), ('alternate', 1), ('root', 2), ('designated', 3), ('backupRole', 4), ('disabledRole', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpPortRole.setStatus('current') sn_if_stp_bpdu_transmitted = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 19), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpBPDUTransmitted.setStatus('current') sn_if_stp_bpdu_received = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 20), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfStpBPDUReceived.setStatus('current') sn_if_rstp_config_bpdu_received = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 21), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfRstpConfigBPDUReceived.setStatus('current') sn_if_rstp_tcnbpdu_received = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 22), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfRstpTCNBPDUReceived.setStatus('current') sn_if_rstp_config_bpdu_transmitted = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 23), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfRstpConfigBPDUTransmitted.setStatus('current') sn_if_rstp_tcnbpdu_transmitted = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 5, 2, 1, 24), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snIfRstpTCNBPDUTransmitted.setStatus('current') sn_trunk_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 1)) if mibBuilder.loadTexts: snTrunkTable.setStatus('current') sn_trunk_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snTrunkIndex')) if mibBuilder.loadTexts: snTrunkEntry.setStatus('current') sn_trunk_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snTrunkIndex.setStatus('current') sn_trunk_port_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 1, 1, 2), port_mask()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snTrunkPortMask.setStatus('current') sn_trunk_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('switch', 1), ('server', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snTrunkType.setStatus('current') sn_ms_trunk_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2)) if mibBuilder.loadTexts: snMSTrunkTable.setStatus('current') sn_ms_trunk_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snMSTrunkPortIndex')) if mibBuilder.loadTexts: snMSTrunkEntry.setStatus('current') sn_ms_trunk_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snMSTrunkPortIndex.setStatus('current') sn_ms_trunk_port_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2, 1, 2), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMSTrunkPortList.setStatus('current') sn_ms_trunk_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('switch', 1), ('server', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMSTrunkType.setStatus('current') sn_ms_trunk_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('invalid', 1), ('valid', 2), ('delete', 3), ('create', 4), ('modify', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMSTrunkRowStatus.setStatus('current') sn_ms_trunk_if_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3)) if mibBuilder.loadTexts: snMSTrunkIfTable.setStatus('current') sn_ms_trunk_if_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snMSTrunkIfIndex')) if mibBuilder.loadTexts: snMSTrunkIfEntry.setStatus('current') sn_ms_trunk_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snMSTrunkIfIndex.setStatus('current') sn_ms_trunk_if_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3, 1, 2), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMSTrunkIfList.setStatus('current') sn_ms_trunk_if_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('switch', 1), ('server', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMSTrunkIfType.setStatus('current') sn_ms_trunk_if_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 6, 3, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('invalid', 1), ('valid', 2), ('delete', 3), ('create', 4), ('modify', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMSTrunkIfRowStatus.setStatus('current') sn_sw_summary_mode = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 7, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSwSummaryMode.setStatus('current') sn_dhcp_gateway_list_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8, 1)) if mibBuilder.loadTexts: snDhcpGatewayListTable.setStatus('current') sn_dhcp_gateway_list_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snDhcpGatewayListId')) if mibBuilder.loadTexts: snDhcpGatewayListEntry.setStatus('current') sn_dhcp_gateway_list_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 32))).setMaxAccess('readonly') if mibBuilder.loadTexts: snDhcpGatewayListId.setStatus('current') sn_dhcp_gateway_list_addr_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8, 1, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(4, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snDhcpGatewayListAddrList.setStatus('current') sn_dhcp_gateway_list_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 8, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snDhcpGatewayListRowStatus.setStatus('current') sn_dns_domain_name = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 9, 1), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snDnsDomainName.setStatus('current') sn_dns_gateway_ip_addr_list = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 9, 2), octet_string().subtype(subtypeSpec=value_size_constraint(16, 16)).setFixedLength(16)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snDnsGatewayIpAddrList.setStatus('current') sn_mac_filter_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1)) if mibBuilder.loadTexts: snMacFilterTable.setStatus('current') sn_mac_filter_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snMacFilterIndex')) if mibBuilder.loadTexts: snMacFilterEntry.setStatus('current') sn_mac_filter_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snMacFilterIndex.setStatus('current') sn_mac_filter_action = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('deny', 0), ('permit', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterAction.setStatus('current') sn_mac_filter_source_mac = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 3), mac_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterSourceMac.setStatus('current') sn_mac_filter_source_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 4), mac_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterSourceMask.setStatus('current') sn_mac_filter_dest_mac = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 5), mac_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterDestMac.setStatus('current') sn_mac_filter_dest_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 6), mac_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterDestMask.setStatus('current') sn_mac_filter_operator = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('equal', 0), ('notEqual', 1), ('less', 2), ('greater', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterOperator.setStatus('current') sn_mac_filter_frame_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3))).clone(namedValues=named_values(('notUsed', 0), ('ethernet', 1), ('llc', 2), ('snap', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterFrameType.setStatus('current') sn_mac_filter_frame_type_num = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterFrameTypeNum.setStatus('current') sn_mac_filter_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('invalid', 1), ('valid', 2), ('delete', 3), ('create', 4), ('modify', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterRowStatus.setStatus('current') sn_mac_filter_port_access_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 2)) if mibBuilder.loadTexts: snMacFilterPortAccessTable.setStatus('deprecated') sn_mac_filter_port_access_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snMacFilterPortAccessPortIndex')) if mibBuilder.loadTexts: snMacFilterPortAccessEntry.setStatus('deprecated') sn_mac_filter_port_access_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 3900))).setMaxAccess('readonly') if mibBuilder.loadTexts: snMacFilterPortAccessPortIndex.setStatus('deprecated') sn_mac_filter_port_access_filters = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 2, 1, 2), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterPortAccessFilters.setStatus('deprecated') sn_mac_filter_port_access_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('invalid', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterPortAccessRowStatus.setStatus('deprecated') sn_mac_filter_if_access_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 3)) if mibBuilder.loadTexts: snMacFilterIfAccessTable.setStatus('current') sn_mac_filter_if_access_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 3, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snMacFilterIfAccessPortIndex')) if mibBuilder.loadTexts: snMacFilterIfAccessEntry.setStatus('current') sn_mac_filter_if_access_port_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 3, 1, 1), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: snMacFilterIfAccessPortIndex.setStatus('current') sn_mac_filter_if_access_filters = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 3, 1, 2), octet_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterIfAccessFilters.setStatus('current') sn_mac_filter_if_access_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 10, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('invalid', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snMacFilterIfAccessRowStatus.setStatus('current') sn_ntp_general = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1)) sn_ntp_poll_interval = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 65535)).clone(1800)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNTPPollInterval.setStatus('current') sn_ntp_time_zone = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45))).clone(namedValues=named_values(('alaska', 0), ('aleutian', 1), ('arizona', 2), ('central', 3), ('eastIndiana', 4), ('eastern', 5), ('hawaii', 6), ('michigan', 7), ('mountain', 8), ('pacific', 9), ('samoa', 10), ('gmtPlus1200', 11), ('gmtPlus1100', 12), ('gmtPlus1000', 13), ('gmtPlus0900', 14), ('gmtPlus0800', 15), ('gmtPlus0700', 16), ('gmtPlus0600', 17), ('gmtPlus0500', 18), ('gmtPlus0400', 19), ('gmtPlus0300', 20), ('gmtPlus0200', 21), ('gmtPlus0100', 22), ('gmt', 23), ('gmtMinus0100', 24), ('gmtMinus0200', 25), ('gmtMinus0300', 26), ('gmtMinus0400', 27), ('gmtMinus0500', 28), ('gmtMinus0600', 29), ('gmtMinus0700', 30), ('gmtMinus0800', 31), ('gmtMinus0900', 32), ('gmtMinus1000', 33), ('gmtMinus1100', 34), ('gmtMinus1200', 35), ('gmtPlus1130', 36), ('gmtPlus1030', 37), ('gmtPlus0930', 38), ('gmtPlus0630', 39), ('gmtPlus0530', 40), ('gmtPlus0430', 41), ('gmtPlus0330', 42), ('gmtMinus0330', 43), ('gmtMinus0830', 44), ('gmtMinus0930', 45))).clone('gmt')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNTPTimeZone.setStatus('current') sn_ntp_summer_time_enable = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNTPSummerTimeEnable.setStatus('current') sn_ntp_system_clock = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(7, 7)).setFixedLength(7)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNTPSystemClock.setStatus('current') sn_ntp_sync = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('other', 1), ('synchronize', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNTPSync.setStatus('current') sn_ntp_server_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 2)) if mibBuilder.loadTexts: snNTPServerTable.setStatus('current') sn_ntp_server_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snNTPServerIp')) if mibBuilder.loadTexts: snNTPServerEntry.setStatus('current') sn_ntp_server_ip = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 2, 1, 1), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snNTPServerIp.setStatus('current') sn_ntp_server_version = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 2, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 4)).clone(1)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNTPServerVersion.setStatus('current') sn_ntp_server_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 11, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNTPServerRowStatus.setStatus('current') sn_radius_general = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1)) sn_radius_snmp_access = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readonly') if mibBuilder.loadTexts: snRadiusSNMPAccess.setStatus('current') sn_radius_enable_telnet_auth = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusEnableTelnetAuth.setStatus('current') sn_radius_retransmit = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 5)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusRetransmit.setStatus('current') sn_radius_time_out = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(1, 60)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusTimeOut.setStatus('current') sn_radius_dead_time = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 5)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusDeadTime.setStatus('current') sn_radius_key = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 6), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusKey.setStatus('current') sn_radius_login_method = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 7), octet_string().subtype(subtypeSpec=value_size_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusLoginMethod.setStatus('current') sn_radius_enable_method = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 8), octet_string().subtype(subtypeSpec=value_size_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusEnableMethod.setStatus('current') sn_radius_web_server_method = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 9), octet_string().subtype(subtypeSpec=value_size_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusWebServerMethod.setStatus('current') sn_radius_snmp_server_method = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 1, 10), octet_string().subtype(subtypeSpec=value_size_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusSNMPServerMethod.setStatus('current') sn_radius_server_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2)) if mibBuilder.loadTexts: snRadiusServerTable.setStatus('current') sn_radius_server_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snRadiusServerIp')) if mibBuilder.loadTexts: snRadiusServerEntry.setStatus('current') sn_radius_server_ip = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 1), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snRadiusServerIp.setStatus('current') sn_radius_server_auth_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 2), integer32().clone(1812)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusServerAuthPort.setStatus('current') sn_radius_server_acct_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 3), integer32().clone(1813)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusServerAcctPort.setStatus('current') sn_radius_server_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusServerRowStatus.setStatus('current') sn_radius_server_row_key = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 5), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusServerRowKey.setStatus('current') sn_radius_server_usage = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 12, 2, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('default', 1), ('authenticationOnly', 2), ('authorizationOnly', 3), ('accountingOnly', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snRadiusServerUsage.setStatus('current') sn_tacacs_general = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1)) sn_tacacs_retransmit = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 5)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snTacacsRetransmit.setStatus('current') sn_tacacs_time_out = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snTacacsTimeOut.setStatus('current') sn_tacacs_dead_time = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 5)).clone(3)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snTacacsDeadTime.setStatus('current') sn_tacacs_key = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1, 4), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snTacacsKey.setStatus('current') sn_tacacs_snmp_access = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readonly') if mibBuilder.loadTexts: snTacacsSNMPAccess.setStatus('current') sn_tacacs_server_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2)) if mibBuilder.loadTexts: snTacacsServerTable.setStatus('current') sn_tacacs_server_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snTacacsServerIp')) if mibBuilder.loadTexts: snTacacsServerEntry.setStatus('current') sn_tacacs_server_ip = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1, 1), ip_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snTacacsServerIp.setStatus('current') sn_tacacs_server_auth_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1, 2), integer32().clone(49)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snTacacsServerAuthPort.setStatus('current') sn_tacacs_server_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snTacacsServerRowStatus.setStatus('current') sn_tacacs_server_row_key = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1, 4), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snTacacsServerRowKey.setStatus('current') sn_tacacs_server_usage = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 13, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('default', 1), ('authenticationOnly', 2), ('authorizationOnly', 3), ('accountingOnly', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snTacacsServerUsage.setStatus('current') sn_qos_profile_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1)) if mibBuilder.loadTexts: snQosProfileTable.setStatus('current') sn_qos_profile_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snQosProfileIndex')) if mibBuilder.loadTexts: snQosProfileEntry.setStatus('current') sn_qos_profile_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: snQosProfileIndex.setStatus('current') sn_qos_profile_name = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snQosProfileName.setStatus('current') sn_qos_profile_requested_bandwidth = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snQosProfileRequestedBandwidth.setStatus('current') sn_qos_profile_calculated_bandwidth = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 1, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readonly') if mibBuilder.loadTexts: snQosProfileCalculatedBandwidth.setStatus('current') sn_qos_bind_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 2)) if mibBuilder.loadTexts: snQosBindTable.setStatus('current') sn_qos_bind_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snQosBindIndex')) if mibBuilder.loadTexts: snQosBindEntry.setStatus('current') sn_qos_bind_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))).setMaxAccess('readonly') if mibBuilder.loadTexts: snQosBindIndex.setStatus('current') sn_qos_bind_priority = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 2, 1, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snQosBindPriority.setStatus('current') sn_qos_bind_profile_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 2, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 8))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snQosBindProfileIndex.setStatus('current') sn_dos_attack = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3)) sn_dos_attack_global = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 1)) sn_dos_attack_icmp_drop_count = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 1, 1), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snDosAttackICMPDropCount.setStatus('current') sn_dos_attack_icmp_block_count = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snDosAttackICMPBlockCount.setStatus('current') sn_dos_attack_syn_drop_count = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snDosAttackSYNDropCount.setStatus('current') sn_dos_attack_syn_block_count = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snDosAttackSYNBlockCount.setStatus('current') sn_dos_attack_port_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2)) if mibBuilder.loadTexts: snDosAttackPortTable.setStatus('current') sn_dos_attack_port_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snDosAttackPort')) if mibBuilder.loadTexts: snDosAttackPortEntry.setStatus('current') sn_dos_attack_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snDosAttackPort.setStatus('current') sn_dos_attack_port_icmp_drop_count = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1, 2), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snDosAttackPortICMPDropCount.setStatus('current') sn_dos_attack_port_icmp_block_count = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1, 3), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snDosAttackPortICMPBlockCount.setStatus('current') sn_dos_attack_port_syn_drop_count = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1, 4), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snDosAttackPortSYNDropCount.setStatus('current') sn_dos_attack_port_syn_block_count = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 14, 3, 2, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snDosAttackPortSYNBlockCount.setStatus('current') sn_authentication = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 1)) sn_authorization = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 2)) sn_accounting = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 3)) sn_authorization_command_methods = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 2, 1), octet_string().subtype(subtypeSpec=value_size_constraint(0, 3))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snAuthorizationCommandMethods.setStatus('current') sn_authorization_command_level = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 2, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 5))).clone(namedValues=named_values(('level0', 0), ('level4', 4), ('level5', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snAuthorizationCommandLevel.setStatus('current') sn_authorization_exec = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 2, 3), octet_string().subtype(subtypeSpec=value_size_constraint(0, 3))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snAuthorizationExec.setStatus('current') sn_accounting_command_methods = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 3, 1), octet_string().subtype(subtypeSpec=value_size_constraint(0, 3))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snAccountingCommandMethods.setStatus('current') sn_accounting_command_level = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 3, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 4, 5))).clone(namedValues=named_values(('level0', 0), ('level4', 4), ('level5', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snAccountingCommandLevel.setStatus('current') sn_accounting_exec = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 3, 3), octet_string().subtype(subtypeSpec=value_size_constraint(0, 3))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snAccountingExec.setStatus('current') sn_accounting_system = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 15, 3, 4), octet_string().subtype(subtypeSpec=value_size_constraint(0, 3))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snAccountingSystem.setStatus('current') sn_net_flow_glb = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1)) sn_net_flow_gbl_enable = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowGblEnable.setStatus('current') sn_net_flow_gbl_version = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 5))).clone(namedValues=named_values(('versionNotSet', 0), ('version1', 1), ('version5', 5))).clone('version5')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowGblVersion.setStatus('current') sn_net_flow_gbl_protocol_disable = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowGblProtocolDisable.setStatus('current') sn_net_flow_gbl_active_timeout = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1, 4), integer32().clone(60)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowGblActiveTimeout.setStatus('current') sn_net_flow_gbl_inactive_timeout = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 1, 5), integer32().clone(60)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowGblInactiveTimeout.setStatus('current') sn_net_flow_collector_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2)) if mibBuilder.loadTexts: snNetFlowCollectorTable.setStatus('current') sn_net_flow_collector_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snNetFlowCollectorIndex')) if mibBuilder.loadTexts: snNetFlowCollectorEntry.setStatus('current') sn_net_flow_collector_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 10))).setMaxAccess('readonly') if mibBuilder.loadTexts: snNetFlowCollectorIndex.setStatus('current') sn_net_flow_collector_ip = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1, 2), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowCollectorIp.setStatus('current') sn_net_flow_collector_udp_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowCollectorUdpPort.setStatus('current') sn_net_flow_collector_source_interface = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1, 4), interface_index()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowCollectorSourceInterface.setStatus('current') sn_net_flow_collector_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 2, 1, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowCollectorRowStatus.setStatus('current') sn_net_flow_aggregation_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3)) if mibBuilder.loadTexts: snNetFlowAggregationTable.setStatus('current') sn_net_flow_aggregation_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snNetFlowAggregationIndex')) if mibBuilder.loadTexts: snNetFlowAggregationEntry.setStatus('current') sn_net_flow_aggregation_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('as', 1), ('protocolPort', 2), ('destPrefix', 3), ('sourcePrefix', 4), ('prefix', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snNetFlowAggregationIndex.setStatus('current') sn_net_flow_aggregation_ip = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 2), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowAggregationIp.setStatus('current') sn_net_flow_aggregation_udp_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowAggregationUdpPort.setStatus('current') sn_net_flow_aggregation_source_interface = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 4), interface_index()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowAggregationSourceInterface.setStatus('current') sn_net_flow_aggregation_number_of_cache_entries = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 5), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowAggregationNumberOfCacheEntries.setStatus('current') sn_net_flow_aggregation_active_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 6), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowAggregationActiveTimeout.setStatus('current') sn_net_flow_aggregation_inactive_timeout = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 7), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowAggregationInactiveTimeout.setStatus('current') sn_net_flow_aggregation_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1))).clone('disabled')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowAggregationEnable.setStatus('current') sn_net_flow_aggregation_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 3, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowAggregationRowStatus.setStatus('current') sn_net_flow_if_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 4)) if mibBuilder.loadTexts: snNetFlowIfTable.setStatus('current') sn_net_flow_if_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 4, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snNetFlowIfIndex')) if mibBuilder.loadTexts: snNetFlowIfEntry.setStatus('current') sn_net_flow_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 4, 1, 1), interface_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: snNetFlowIfIndex.setStatus('current') sn_net_flow_if_flow_switching = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 18, 4, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disabled', 0), ('enabled', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snNetFlowIfFlowSwitching.setStatus('current') sn_s_flow_glb = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 1)) sn_sflow_collector_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2)) if mibBuilder.loadTexts: snSflowCollectorTable.setStatus('current') sn_sflow_collector_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snSflowCollectorIndex')) if mibBuilder.loadTexts: snSflowCollectorEntry.setStatus('current') sn_sflow_collector_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snSflowCollectorIndex.setStatus('current') sn_sflow_collector_ip = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2, 1, 2), ip_address()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSflowCollectorIP.setStatus('current') sn_sflow_collector_udp_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSflowCollectorUDPPort.setStatus('current') sn_sflow_collector_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 19, 2, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5))).clone(namedValues=named_values(('noSuch', 0), ('other', 1), ('valid', 2), ('delete', 3), ('create', 4), ('modify', 5)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snSflowCollectorRowStatus.setStatus('current') sn_fdp_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1)) sn_fdp_interface = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1)) sn_fdp_cache = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2)) sn_fdp_global = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 3)) sn_fdp_cached_addr = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4)) sn_fdp_interface_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1, 1)) if mibBuilder.loadTexts: snFdpInterfaceTable.setStatus('current') sn_fdp_interface_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snFdpInterfaceIfIndex')) if mibBuilder.loadTexts: snFdpInterfaceEntry.setStatus('current') sn_fdp_interface_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1, 1, 1, 1), interface_index()) if mibBuilder.loadTexts: snFdpInterfaceIfIndex.setStatus('current') sn_fdp_interface_fdp_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1))).clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdpInterfaceFdpEnable.setStatus('current') sn_fdp_interface_cdp_enable = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 1, 1, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1))).clone('true')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdpInterfaceCdpEnable.setStatus('current') sn_fdp_cache_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1)) if mibBuilder.loadTexts: snFdpCacheTable.setStatus('current') sn_fdp_cache_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snFdpCacheIfIndex'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snFdpCacheDeviceIndex')) if mibBuilder.loadTexts: snFdpCacheEntry.setStatus('current') sn_fdp_cache_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 1), interface_index()) if mibBuilder.loadTexts: snFdpCacheIfIndex.setStatus('current') sn_fdp_cache_device_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 2), integer32()) if mibBuilder.loadTexts: snFdpCacheDeviceIndex.setStatus('current') sn_fdp_cache_device_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 3), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCacheDeviceId.setStatus('current') sn_fdp_cache_address_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('ip', 1), ('ipx', 2), ('appletalk', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCacheAddressType.setStatus('current') sn_fdp_cache_address = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 5), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCacheAddress.setStatus('current') sn_fdp_cache_version = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 6), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCacheVersion.setStatus('current') sn_fdp_cache_device_port = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 7), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCacheDevicePort.setStatus('current') sn_fdp_cache_platform = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 8), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCachePlatform.setStatus('current') sn_fdp_cache_capabilities = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 9), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCacheCapabilities.setStatus('current') sn_fdp_cache_vendor_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('fdp', 1), ('cdp', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCacheVendorId.setStatus('current') sn_fdp_cache_is_aggregate_vlan = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 11), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCacheIsAggregateVlan.setStatus('current') sn_fdp_cache_tag_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 12), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCacheTagType.setStatus('current') sn_fdp_cache_port_vlan_mask = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 13), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCachePortVlanMask.setStatus('current') sn_fdp_cache_port_tag_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('untagged', 1), ('tagged', 2), ('dual', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCachePortTagMode.setStatus('current') sn_fdp_cache_default_traffice_vlan_id_for_dual_mode = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 2, 1, 1, 15), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCacheDefaultTrafficeVlanIdForDualMode.setStatus('current') sn_fdp_global_run = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 3, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1))).clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdpGlobalRun.setStatus('current') sn_fdp_global_message_interval = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 3, 2), integer32().subtype(subtypeSpec=value_range_constraint(5, 900)).clone(60)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdpGlobalMessageInterval.setStatus('current') sn_fdp_global_hold_time = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 3, 3), integer32().subtype(subtypeSpec=value_range_constraint(10, 255)).clone(180)).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdpGlobalHoldTime.setStatus('current') sn_fdp_global_cdp_run = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 3, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('false', 0), ('true', 1))).clone('false')).setMaxAccess('readwrite') if mibBuilder.loadTexts: snFdpGlobalCdpRun.setStatus('current') sn_fdp_cached_address_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1)) if mibBuilder.loadTexts: snFdpCachedAddressTable.setStatus('current') sn_fdp_cached_address_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snFdpCachedAddrIfIndex'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snFdpCachedAddrDeviceIndex'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snFdpCachedAddrDeviceAddrEntryIndex')) if mibBuilder.loadTexts: snFdpCachedAddressEntry.setStatus('current') sn_fdp_cached_addr_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1, 1), interface_index()) if mibBuilder.loadTexts: snFdpCachedAddrIfIndex.setStatus('current') sn_fdp_cached_addr_device_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1, 2), integer32()) if mibBuilder.loadTexts: snFdpCachedAddrDeviceIndex.setStatus('current') sn_fdp_cached_addr_device_addr_entry_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1, 3), integer32()) if mibBuilder.loadTexts: snFdpCachedAddrDeviceAddrEntryIndex.setStatus('current') sn_fdp_cached_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('ip', 1), ('ipx', 2), ('appletalk', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCachedAddrType.setStatus('current') sn_fdp_cached_addr_value = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 20, 1, 4, 1, 1, 5), octet_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: snFdpCachedAddrValue.setStatus('current') sn_mac_security = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1)) sn_port_mac_security = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1)) sn_port_mac_global_security = mib_identifier((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 2)) sn_port_mac_security_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1)) if mibBuilder.loadTexts: snPortMacSecurityTable.setStatus('current') sn_port_mac_security_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMacSecurityIfIndex'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMacSecurityResource'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMacSecurityQueryIndex')) if mibBuilder.loadTexts: snPortMacSecurityEntry.setStatus('current') sn_port_mac_security_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 1), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityIfIndex.setStatus('current') sn_port_mac_security_resource = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('local', 1), ('shared', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityResource.setStatus('current') sn_port_mac_security_query_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityQueryIndex.setStatus('current') sn_port_mac_security_mac = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 4), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityMAC.setStatus('current') sn_port_mac_security_age_left = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 5), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityAgeLeft.setStatus('current') sn_port_mac_security_shutdown_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('up', 1), ('down', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityShutdownStatus.setStatus('current') sn_port_mac_security_shutdown_time_left = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 7), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityShutdownTimeLeft.setStatus('current') sn_port_mac_security_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 1, 1, 8), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 65535))).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityVlanId.setStatus('current') sn_port_mac_security_module_stat_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2)) if mibBuilder.loadTexts: snPortMacSecurityModuleStatTable.setStatus('current') sn_port_mac_security_module_stat_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMacSecurityModuleStatSlotNum')) if mibBuilder.loadTexts: snPortMacSecurityModuleStatEntry.setStatus('current') sn_port_mac_security_module_stat_slot_num = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityModuleStatSlotNum.setStatus('current') sn_port_mac_security_module_stat_total_security_ports = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1, 2), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityModuleStatTotalSecurityPorts.setStatus('current') sn_port_mac_security_module_stat_total_ma_cs = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityModuleStatTotalMACs.setStatus('current') sn_port_mac_security_module_stat_violation_counts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1, 4), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityModuleStatViolationCounts.setStatus('current') sn_port_mac_security_module_stat_total_shutdown_ports = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 2, 1, 5), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityModuleStatTotalShutdownPorts.setStatus('current') sn_port_mac_security_intf_content_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3)) if mibBuilder.loadTexts: snPortMacSecurityIntfContentTable.setStatus('current') sn_port_mac_security_intf_content_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMacSecurityIntfContentIfIndex')) if mibBuilder.loadTexts: snPortMacSecurityIntfContentEntry.setStatus('current') sn_port_mac_security_intf_content_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 1), interface_index()) if mibBuilder.loadTexts: snPortMacSecurityIntfContentIfIndex.setStatus('current') sn_port_mac_security_intf_content_security = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMacSecurityIntfContentSecurity.setStatus('current') sn_port_mac_security_intf_content_violation_type = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('shutdown', 0), ('restrict', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMacSecurityIntfContentViolationType.setStatus('current') sn_port_mac_security_intf_content_shutdown_time = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1440))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMacSecurityIntfContentShutdownTime.setStatus('current') sn_port_mac_security_intf_content_shutdown_time_left = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 5), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityIntfContentShutdownTimeLeft.setStatus('current') sn_port_mac_security_intf_content_age_out_time = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1440))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMacSecurityIntfContentAgeOutTime.setStatus('current') sn_port_mac_security_intf_content_max_locked_mac_allowed = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 7), unsigned32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMacSecurityIntfContentMaxLockedMacAllowed.setStatus('current') sn_port_mac_security_intf_content_total_ma_cs = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 8), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityIntfContentTotalMACs.setStatus('current') sn_port_mac_security_intf_content_violation_counts = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 3, 1, 9), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityIntfContentViolationCounts.setStatus('current') sn_port_mac_security_intf_mac_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4)) if mibBuilder.loadTexts: snPortMacSecurityIntfMacTable.setStatus('current') sn_port_mac_security_intf_mac_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMacSecurityIntfMacIfIndex'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMacSecurityIntfMacAddress')) if mibBuilder.loadTexts: snPortMacSecurityIntfMacEntry.setStatus('current') sn_port_mac_security_intf_mac_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityIntfMacIfIndex.setStatus('current') sn_port_mac_security_intf_mac_address = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4, 1, 2), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityIntfMacAddress.setStatus('current') sn_port_mac_security_intf_mac_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4, 1, 3), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMacSecurityIntfMacVlanId.setStatus('current') sn_port_mac_security_intf_mac_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 4, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4))).clone(namedValues=named_values(('other', 1), ('valid', 2), ('delete', 3), ('create', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMacSecurityIntfMacRowStatus.setStatus('current') sn_port_mac_security_autosave_mac_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5)) if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacTable.setStatus('current') sn_port_mac_security_autosave_mac_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMacSecurityAutosaveMacIfIndex'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMacSecurityAutosaveMacResource'), (0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMacSecurityAutosaveMacQueryIndex')) if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacEntry.setStatus('current') sn_port_mac_security_autosave_mac_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacIfIndex.setStatus('current') sn_port_mac_security_autosave_mac_resource = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('local', 1), ('shared', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacResource.setStatus('current') sn_port_mac_security_autosave_mac_query_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5, 1, 3), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacQueryIndex.setStatus('current') sn_port_mac_security_autosave_mac_address = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 1, 5, 1, 4), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: snPortMacSecurityAutosaveMacAddress.setStatus('current') sn_port_mac_global_security_feature = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1))).clone(namedValues=named_values(('disable', 0), ('enable', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMacGlobalSecurityFeature.setStatus('current') sn_port_mac_global_security_age_out_time = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 2, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 1440))).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMacGlobalSecurityAgeOutTime.setStatus('current') sn_port_mac_global_security_autosave = mib_scalar((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 24, 1, 2, 3), unsigned32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMacGlobalSecurityAutosave.setStatus('current') sn_port_monitor_table = mib_table((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 25, 1)) if mibBuilder.loadTexts: snPortMonitorTable.setStatus('current') sn_port_monitor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 25, 1, 1)).setIndexNames((0, 'FOUNDRY-SN-SWITCH-GROUP-MIB', 'snPortMonitorIfIndex')) if mibBuilder.loadTexts: snPortMonitorEntry.setStatus('current') sn_port_monitor_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 25, 1, 1, 1), interface_index()) if mibBuilder.loadTexts: snPortMonitorIfIndex.setStatus('current') sn_port_monitor_mirror_list = mib_table_column((1, 3, 6, 1, 4, 1, 1991, 1, 1, 3, 25, 1, 1, 2), display_string()).setMaxAccess('readwrite') if mibBuilder.loadTexts: snPortMonitorMirrorList.setStatus('current') mibBuilder.exportSymbols('FOUNDRY-SN-SWITCH-GROUP-MIB', snPortMacSecurityEntry=snPortMacSecurityEntry, snMSTrunkIfList=snMSTrunkIfList, snSwIfInfoMediaType=snSwIfInfoMediaType, snSwGlobalStpMode=snSwGlobalStpMode, Timeout=Timeout, snPortMonitorTable=snPortMonitorTable, snSwSummaryMode=snSwSummaryMode, snSwIfInOctets=snSwIfInOctets, snVLanByPortCfgStpRootPort=snVLanByPortCfgStpRootPort, snRadiusGeneral=snRadiusGeneral, snMacFilterPortAccessEntry=snMacFilterPortAccessEntry, snRadius=snRadius, snPortStpEntry=snPortStpEntry, snVLanByPortStpProtocolSpecification=snVLanByPortStpProtocolSpecification, snVLanByPortPortMask=snVLanByPortPortMask, snVLanByPortMemberEntry=snVLanByPortMemberEntry, snVLanByPortCfgTransparentHwFlooding=snVLanByPortCfgTransparentHwFlooding, snVLanByIpSubnetEntry=snVLanByIpSubnetEntry, snDhcpGatewayListId=snDhcpGatewayListId, snVLanByPortStpGroupMaxAge=snVLanByPortStpGroupMaxAge, brcdVlanExtStatsInOctets=brcdVlanExtStatsInOctets, snVLanByProtocolExcludePortList=snVLanByProtocolExcludePortList, snRadiusServerIp=snRadiusServerIp, snMacFilterIndex=snMacFilterIndex, FdryVlanIdOrNoneTC=FdryVlanIdOrNoneTC, snVLanByIpxNetRouterIntf=snVLanByIpxNetRouterIntf, snVLanByIpxNetExcludeMask=snVLanByIpxNetExcludeMask, snTacacsDeadTime=snTacacsDeadTime, snMSTrunkTable=snMSTrunkTable, brcdVlanExtStatsInSwitchedOctets=brcdVlanExtStatsInSwitchedOctets, snRadiusServerRowKey=snRadiusServerRowKey, snVLanByIpxNetVLanName=snVLanByIpxNetVLanName, snPortMacSecurityIntfContentTotalMACs=snPortMacSecurityIntfContentTotalMACs, snSwPortInfoPortQos=snSwPortInfoPortQos, snRadiusServerUsage=snRadiusServerUsage, snVLanByIpSubnetIpAddress=snVLanByIpSubnetIpAddress, snSwPortStatsInBcastFrames=snSwPortStatsInBcastFrames, snTacacsGeneral=snTacacsGeneral, snMSTrunkIfEntry=snMSTrunkIfEntry, snPortStpPortDesignatedRoot=snPortStpPortDesignatedRoot, snSwIfGBICStatus=snSwIfGBICStatus, snSflowCollectorIndex=snSflowCollectorIndex, snFdbStationIndex=snFdbStationIndex, brcdIfEgressCounterInfoEntry=brcdIfEgressCounterInfoEntry, snIfRstpTCNBPDUTransmitted=snIfRstpTCNBPDUTransmitted, snNetFlowGblActiveTimeout=snNetFlowGblActiveTimeout, snSflowCollectorUDPPort=snSflowCollectorUDPPort, snSwPortStatsMultiColliFrames=snSwPortStatsMultiColliFrames, snVLanByPortCfgStpGroupHelloTime=snVLanByPortCfgStpGroupHelloTime, snVLanByPortStpHoldTime=snVLanByPortStpHoldTime, fdryDaiMIB=fdryDaiMIB, snSwIfStatsTxColliFrames=snSwIfStatsTxColliFrames, snAuthentication=snAuthentication, snNetFlowIfTable=snNetFlowIfTable, snNetFlowAggregationEnable=snNetFlowAggregationEnable, sn6to4TunnelInterface=sn6to4TunnelInterface, snPortMacSecurityAgeLeft=snPortMacSecurityAgeLeft, brcdVlanExtStatsInPkts=brcdVlanExtStatsInPkts, snSwPortInfoPhysAddress=snSwPortInfoPhysAddress, snQosProfileEntry=snQosProfileEntry, snMacFilterIfAccessEntry=snMacFilterIfAccessEntry, snSwPortVlanId=snSwPortVlanId, snSwPortStatsOutUtilization=snSwPortStatsOutUtilization, PhysAddress=PhysAddress, snRadiusServerAuthPort=snRadiusServerAuthPort, snVLanCAR=snVLanCAR, snSwPortStatsOutJumboFrames=snSwPortStatsOutJumboFrames, snSwIfStatsOutFrames=snSwIfStatsOutFrames, snSwIfInfoAllowAllVlan=snSwIfInfoAllowAllVlan, snSwPortStatsFCSErrors=snSwPortStatsFCSErrors, snDhcpGatewayListRowStatus=snDhcpGatewayListRowStatus, snSwPortStatsFrameTooShorts=snSwPortStatsFrameTooShorts, snSwIfInfoPortQos=snSwIfInfoPortQos, snNTPSummerTimeEnable=snNTPSummerTimeEnable, snNTPSync=snNTPSync, snSSH=snSSH, snSwPortStatsOutBitsPerSec=snSwPortStatsOutBitsPerSec, snVLanByPortStpMaxAge=snVLanByPortStpMaxAge, snSwPortName=snSwPortName, snVLanByIpxNetChassisDynamicMask=snVLanByIpxNetChassisDynamicMask, snVirtualMgmtInterface=snVirtualMgmtInterface, snSwIfStatsOutKiloBitsPerSec=snSwIfStatsOutKiloBitsPerSec, snSwViolatorIfIndex=snSwViolatorIfIndex, snVLanByPortCfgStpGroupMaxAge=snVLanByPortCfgStpGroupMaxAge, snSwIfStatsOutUtilization=snSwIfStatsOutUtilization, snVLanByProtocolRouterIntf=snVLanByProtocolRouterIntf, snSwIfStatsInPktsPerSec=snSwIfStatsInPktsPerSec, snVLanByPortCfgRouterIntf=snVLanByPortCfgRouterIntf, snTrunkInfo=snTrunkInfo, snPortStpPortAdminRstp=snPortStpPortAdminRstp, brcdIfEgressCounterPkts=brcdIfEgressCounterPkts, snMacFilterPortAccessFilters=snMacFilterPortAccessFilters, snVLanByATCableIndex=snVLanByATCableIndex, snQosBindEntry=snQosBindEntry, snVLanByPortCfgStpTopChanges=snVLanByPortCfgStpTopChanges, snNetFlowGlb=snNetFlowGlb, snMacAuth=snMacAuth, snPortMacSecurityShutdownStatus=snPortMacSecurityShutdownStatus, snNetFlowIfIndex=snNetFlowIfIndex, snSwIfStatsOutPktsPerSec=snSwIfStatsOutPktsPerSec, snVLanByIpSubnetRouterIntf=snVLanByIpSubnetRouterIntf, snSwPortInfoAdminStatus=snSwPortInfoAdminStatus, snMacFilterEntry=snMacFilterEntry, snSwIfInfoTable=snSwIfInfoTable, snSwEnableBridgeNewRootTrap=snSwEnableBridgeNewRootTrap, snNetFlowCollectorIndex=snNetFlowCollectorIndex, snVLanByPortStpForwardDelay=snVLanByPortStpForwardDelay, snFdbVLanId=snFdbVLanId, snVLanGroupVlanCurEntry=snVLanGroupVlanCurEntry, snPortMacSecurityShutdownTimeLeft=snPortMacSecurityShutdownTimeLeft, snQosBindIndex=snQosBindIndex, snIfMediaSerialNumber=snIfMediaSerialNumber, snVLanByIpxNetVLanId=snVLanByIpxNetVLanId, snFDP=snFDP, snVLanByPortMemberPortId=snVLanByPortMemberPortId, snIfStpBPDUTransmitted=snIfStpBPDUTransmitted, snPortMacSecurityModuleStatSlotNum=snPortMacSecurityModuleStatSlotNum, snSwPortStatsInPktsPerSec=snSwPortStatsInPktsPerSec, snMetroRing=snMetroRing, brcdVlanExtStatsOutRoutedPkts=brcdVlanExtStatsOutRoutedPkts, snAuthorizationExec=snAuthorizationExec, snNetFlowAggregationEntry=snNetFlowAggregationEntry, snFdpInterfaceFdpEnable=snFdpInterfaceFdpEnable, snTacacsServerIp=snTacacsServerIp, snSwPortInfoPortNum=snSwPortInfoPortNum, snTacacsServerRowStatus=snTacacsServerRowStatus, snPortMacSecurityModuleStatTable=snPortMacSecurityModuleStatTable, snTrunkEntry=snTrunkEntry, snFdpInterfaceTable=snFdpInterfaceTable, snSwIfStatsInMcastFrames=snSwIfStatsInMcastFrames, snIfRstpConfigBPDUReceived=snIfRstpConfigBPDUReceived, snMSTrunkIfIndex=snMSTrunkIfIndex, snSwIfInfoMirrorMode=snSwIfInfoMirrorMode, snFdpInterfaceEntry=snFdpInterfaceEntry, snPortStpPortDesignatedCost=snPortStpPortDesignatedCost, snIfOpticalLaneMonitoringTxBiasCurrent=snIfOpticalLaneMonitoringTxBiasCurrent, snFdbInfo=snFdbInfo, snVLanByATCableVLanId=snVLanByATCableVLanId, snIfStpPortAdminPointToPoint=snIfStpPortAdminPointToPoint, snSwPortStatsInDiscard=snSwPortStatsInDiscard, snPortMacSecurity=snPortMacSecurity, snNetFlowAggregationRowStatus=snNetFlowAggregationRowStatus, snPortMacSecurityAutosaveMacResource=snPortMacSecurityAutosaveMacResource, snVLanByPortVLanIndex=snVLanByPortVLanIndex, snDosAttackPortSYNBlockCount=snDosAttackPortSYNBlockCount, snFdpCachedAddrIfIndex=snFdpCachedAddrIfIndex, snFdbEntry=snFdbEntry, brcdVlanExtStatsInSwitchedPkts=brcdVlanExtStatsInSwitchedPkts, snRadiusServerEntry=snRadiusServerEntry, snFdpCacheDeviceIndex=snFdpCacheDeviceIndex, snSwIpMcastQuerierMode=snSwIpMcastQuerierMode, snMacFilterOperator=snMacFilterOperator, snPortMacGlobalSecurityAgeOutTime=snPortMacGlobalSecurityAgeOutTime, snSwIfStatsInKiloBitsPerSec=snSwIfStatsInKiloBitsPerSec, snPortMacSecurityModuleStatEntry=snPortMacSecurityModuleStatEntry, snSwIfStatsOutBitsPerSec=snSwIfStatsOutBitsPerSec, snVLanByPortMemberVLanId=snVLanByPortMemberVLanId, snPortMacSecurityIntfMacVlanId=snPortMacSecurityIntfMacVlanId, snSwPortGBICStatus=snSwPortGBICStatus, snTrunkTable=snTrunkTable, snFdpInterfaceIfIndex=snFdpInterfaceIfIndex, snFdpCacheAddressType=snFdpCacheAddressType, snMacFilterPortAccessTable=snMacFilterPortAccessTable, snPortMacSecurityIntfContentSecurity=snPortMacSecurityIntfContentSecurity, snSwPortInfoTable=snSwPortInfoTable, snSwMaxMacFilterPerPort=snSwMaxMacFilterPerPort, snVLanByPortOperState=snVLanByPortOperState, snIfIndexLookup2Table=snIfIndexLookup2Table, snPortStpPortDesignatedBridge=snPortStpPortDesignatedBridge, snNetFlowAggregationNumberOfCacheEntries=snNetFlowAggregationNumberOfCacheEntries, snMacSecurity=snMacSecurity, snRadiusServerTable=snRadiusServerTable, snPortMacSecurityIntfContentEntry=snPortMacSecurityIntfContentEntry, snVLanByPortVLanName=snVLanByPortVLanName, snVLanByProtocolVLanId=snVLanByProtocolVLanId, snSwQosMechanism=snSwQosMechanism, snNetFlowAggregationTable=snNetFlowAggregationTable, snSwPortStatsInFrames=snSwPortStatsInFrames, snFdbStationType=snFdbStationType, snMgmtEthernetInterface=snMgmtEthernetInterface, snSwGroupIpMcastMode=snSwGroupIpMcastMode, snTacacsRetransmit=snTacacsRetransmit, snVLanByProtocolRowStatus=snVLanByProtocolRowStatus, snSwIfStatsOutBcastFrames=snSwIfStatsOutBcastFrames, snPortStpPortNum=snPortStpPortNum, snVLanByProtocolDynamicPortList=snVLanByProtocolDynamicPortList, snSwPortOutOctets=snSwPortOutOctets, snMacFilterTable=snMacFilterTable, snSwPortInLinePowerPriority=snSwPortInLinePowerPriority, snIfIndexLookup2Entry=snIfIndexLookup2Entry, snNTPGeneral=snNTPGeneral, snPortMacSecurityAutosaveMacIfIndex=snPortMacSecurityAutosaveMacIfIndex, snSwIfInfoLinkStatus=snSwIfInfoLinkStatus, snSwIfPresent=snSwIfPresent, snVLanByIpxNetMaxNetworks=snVLanByIpxNetMaxNetworks, snIfStpBPDUReceived=snIfStpBPDUReceived, snFdpGlobalCdpRun=snFdpGlobalCdpRun, snDosAttackPortEntry=snDosAttackPortEntry, snFdbTableStationFlush=snFdbTableStationFlush, snVLanByIpxNetDynamicPortList=snVLanByIpxNetDynamicPortList, snArpInfo=snArpInfo, brcdVlanExtStatsOutSwitchedOctets=brcdVlanExtStatsOutSwitchedOctets, snFdpCachePortVlanMask=snFdpCachePortVlanMask, snFdbStationAddr=snFdbStationAddr, snFdpCachedAddressEntry=snFdpCachedAddressEntry, snMacFilterIfAccessPortIndex=snMacFilterIfAccessPortIndex, snPortMacSecurityResource=snPortMacSecurityResource, snSwPortInfoMediaType=snSwPortInfoMediaType, snNetFlowAggregationSourceInterface=snNetFlowAggregationSourceInterface, snMacFilterSourceMask=snMacFilterSourceMask, snSwIfInfoChnMode=snSwIfInfoChnMode, snVLanByIpSubnetSubnetMask=snVLanByIpSubnetSubnetMask, snRadiusLoginMethod=snRadiusLoginMethod, snVLanByATCableTable=snVLanByATCableTable, snAuthorizationCommandLevel=snAuthorizationCommandLevel, BrcdVlanIdTC=BrcdVlanIdTC, snVLanByProtocolTable=snVLanByProtocolTable, snPortMacSecurityIntfContentTable=snPortMacSecurityIntfContentTable, snVLanByATCableStaticPortList=snVLanByATCableStaticPortList, snMacFilterAction=snMacFilterAction, snVLanByPortMemberTable=snVLanByPortMemberTable, snFdpGlobalRun=snFdpGlobalRun, snMSTrunkType=snMSTrunkType, snInterfaceLookupTable=snInterfaceLookupTable, snFdpGlobalHoldTime=snFdpGlobalHoldTime, snVLanByProtocolStaticMask=snVLanByProtocolStaticMask, snIfOpticalMonitoringTemperature=snIfOpticalMonitoringTemperature, snTacacsServerRowKey=snTacacsServerRowKey, snSwPortInLinePowerPDType=snSwPortInLinePowerPDType, snPortMacSecurityAutosaveMacTable=snPortMacSecurityAutosaveMacTable, snMSTrunkEntry=snMSTrunkEntry, snSwIpxL3SwMode=snSwIpxL3SwMode, snVLanByIpSubnetStaticMask=snVLanByIpSubnetStaticMask, snIfMediaInfoTable=snIfMediaInfoTable, snFdbStationQos=snFdbStationQos, snQosProfileCalculatedBandwidth=snQosProfileCalculatedBandwidth, snSflowCollectorTable=snSflowCollectorTable, snMacStationVLanId=snMacStationVLanId, snSflowCollectorEntry=snSflowCollectorEntry, snPortStpTable=snPortStpTable, snQosProfileRequestedBandwidth=snQosProfileRequestedBandwidth, snVLanByProtocolExcludeMask=snVLanByProtocolExcludeMask, PYSNMP_MODULE_ID=snSwitch, snSwPortStatsInJumboFrames=snSwPortStatsInJumboFrames, snRadiusWebServerMethod=snRadiusWebServerMethod, snFdpCachePlatform=snFdpCachePlatform, snMacFilterPortAccessPortIndex=snMacFilterPortAccessPortIndex, PortPriorityTC=PortPriorityTC, snVLanByPortEntrySize=snVLanByPortEntrySize, snQosBindPriority=snQosBindPriority, snFdpCacheDefaultTrafficeVlanIdForDualMode=snFdpCacheDefaultTrafficeVlanIdForDualMode, snMacFilterDestMac=snMacFilterDestMac, snVLanByPortCfgStpHoldTime=snVLanByPortCfgStpHoldTime, snVLanByPortBaseType=snVLanByPortBaseType) mibBuilder.exportSymbols('FOUNDRY-SN-SWITCH-GROUP-MIB', snInterfaceId=snInterfaceId, snNetFlow=snNetFlow, snIfStpPortDesignatedPort=snIfStpPortDesignatedPort, snNetFlowCollectorUdpPort=snNetFlowCollectorUdpPort, snSwGroupSwitchAgeTime=snSwGroupSwitchAgeTime, snSwPortInfoFlowControl=snSwPortInfoFlowControl, snPortMacSecurityQueryIndex=snPortMacSecurityQueryIndex, snVLanByPortStpGroupHelloTime=snVLanByPortStpGroupHelloTime, snVLanByPortCfgStpMode=snVLanByPortCfgStpMode, snSwIfStatsFCSErrors=snSwIfStatsFCSErrors, snSwPortStatsLinkChange=snSwPortStatsLinkChange, snFdpCacheVendorId=snFdpCacheVendorId, snInterfaceLookupEntry=snInterfaceLookupEntry, snSw8021qTagMode=snSw8021qTagMode, snSwIfInfoGigType=snSwIfInfoGigType, snPortMacSecurityModuleStatTotalShutdownPorts=snPortMacSecurityModuleStatTotalShutdownPorts, snSwIfInfoTagType=snSwIfInfoTagType, snIfStpPortProtocolMigration=snIfStpPortProtocolMigration, snFdpCacheVersion=snFdpCacheVersion, snVLanByPortCfgTable=snVLanByPortCfgTable, brcdVlanExtStatsOutOctets=brcdVlanExtStatsOutOctets, snRadiusRetransmit=snRadiusRetransmit, snIfStpOperState=snIfStpOperState, snIfIndexLookup2IfIndex=snIfIndexLookup2IfIndex, snPortStpOperState=snPortStpOperState, snIfStpPortAdminEdgePort=snIfStpPortAdminEdgePort, snDnsGatewayIpAddrList=snDnsGatewayIpAddrList, snVLanByPortBaseBridgeAddress=snVLanByPortBaseBridgeAddress, snVLanByProtocolDynamicMask=snVLanByProtocolDynamicMask, snDosAttackPortICMPBlockCount=snDosAttackPortICMPBlockCount, snSwIfInfoTagMode=snSwIfInfoTagMode, snVLanByIpxNetRowStatus=snVLanByIpxNetRowStatus, snVLanByIpxNetEntry=snVLanByIpxNetEntry, snIfOpticalLaneMonitoringTable=snIfOpticalLaneMonitoringTable, snSwIfStatsFrameTooShorts=snSwIfStatsFrameTooShorts, snSwPortLoadInterval=snSwPortLoadInterval, snSwPortInfoEntry=snSwPortInfoEntry, snPortStpPortAdminPointToPoint=snPortStpPortAdminPointToPoint, snIfRstpConfigBPDUTransmitted=snIfRstpConfigBPDUTransmitted, snVLanByPortMemberRowStatus=snVLanByPortMemberRowStatus, snNetFlowGblInactiveTimeout=snNetFlowGblInactiveTimeout, snVLanByProtocolIndex=snVLanByProtocolIndex, snNetFlowGblEnable=snNetFlowGblEnable, snNetFlowAggregationUdpPort=snNetFlowAggregationUdpPort, snSwIfStatsMacStations=snSwIfStatsMacStations, snTrunkPortMask=snTrunkPortMask, snVLanByIpSubnetChassisExcludeMask=snVLanByIpSubnetChassisExcludeMask, snPortMonitorIfIndex=snPortMonitorIfIndex, snMac=snMac, snVLanByPortBaseNumPorts=snVLanByPortBaseNumPorts, snSwPortIfIndex=snSwPortIfIndex, snQosProfileTable=snQosProfileTable, brcdVlanExtStatsPriorityId=brcdVlanExtStatsPriorityId, snAccountingCommandLevel=snAccountingCommandLevel, brcdIfEgressCounterInfoTable=brcdIfEgressCounterInfoTable, snDosAttackSYNBlockCount=snDosAttackSYNBlockCount, brcdVlanExtStatsTable=brcdVlanExtStatsTable, snPortMacGlobalSecurityFeature=snPortMacGlobalSecurityFeature, InterfaceId=InterfaceId, snSwIfInfoAdminStatus=snSwIfInfoAdminStatus, snVLanByPortCfgStpMaxAge=snVLanByPortCfgStpMaxAge, snIfIndexLookupTable=snIfIndexLookupTable, snSwPortSetAll=snSwPortSetAll, snFdpCachedAddressTable=snFdpCachedAddressTable, snVLanByIpSubnetMaxSubnets=snVLanByIpSubnetMaxSubnets, snSwPortStatsInBitsPerSec=snSwPortStatsInBitsPerSec, snSwIfStatsOutDiscard=snSwIfStatsOutDiscard, brcdVlanExtStatsOutRoutedOctets=brcdVlanExtStatsOutRoutedOctets, snFdbTable=snFdbTable, snSwIfStatsMultiColliFrames=snSwIfStatsMultiColliFrames, brcdSPXMIB=brcdSPXMIB, snSwPortStatsInUtilization=snSwPortStatsInUtilization, snIfOpticalMonitoringTxPower=snIfOpticalMonitoringTxPower, snIfStpPortDesignatedRoot=snIfStpPortDesignatedRoot, snVLanByPortCfgStpGroupForwardDelay=snVLanByPortCfgStpGroupForwardDelay, snSwPortTagType=snSwPortTagType, snFdpInterfaceCdpEnable=snFdpInterfaceCdpEnable, snFdpCacheDevicePort=snFdpCacheDevicePort, snPortMacSecurityIntfContentShutdownTimeLeft=snPortMacSecurityIntfContentShutdownTimeLeft, snIfOpticalMonitoringInfoTable=snIfOpticalMonitoringInfoTable, snRadiusDeadTime=snRadiusDeadTime, snSwIfStatsOutJumboFrames=snSwIfStatsOutJumboFrames, snVLanByPortCfgInOctets=snVLanByPortCfgInOctets, snNTPServerRowStatus=snNTPServerRowStatus, snFdpCacheTagType=snFdpCacheTagType, snVLanInfo=snVLanInfo, snMSTrunkIfType=snMSTrunkIfType, snVLanByATCableChassisStaticMask=snVLanByATCableChassisStaticMask, snPvcInterface=snPvcInterface, fdryDns2MIB=fdryDns2MIB, snVLanByIpSubnetExcludeMask=snVLanByIpSubnetExcludeMask, snIfStpTable=snIfStpTable, snMplsTunnelInterface=snMplsTunnelInterface, snInterfaceLookupInterfaceId=snInterfaceLookupInterfaceId, snSwIfStatsRxColliFrames=snSwIfStatsRxColliFrames, snNetFlowCollectorRowStatus=snNetFlowCollectorRowStatus, snNetFlowIfEntry=snNetFlowIfEntry, snPortMacSecurityIntfMacAddress=snPortMacSecurityIntfMacAddress, snSwPortInLinePowerConsumed=snSwPortInLinePowerConsumed, brcdVlanExtStatsEntry=brcdVlanExtStatsEntry, snAuthorizationCommandMethods=snAuthorizationCommandMethods, snPortMacSecurityVlanId=snPortMacSecurityVlanId, snIfIndexLookupInterfaceId=snIfIndexLookupInterfaceId, snIfStpPortAdminRstp=snIfStpPortAdminRstp, snSflowCollectorRowStatus=snSflowCollectorRowStatus, snVLanByIpSubnetDynamicMask=snVLanByIpSubnetDynamicMask, snPortMacGlobalSecurity=snPortMacGlobalSecurity, snPortMacSecurityAutosaveMacEntry=snPortMacSecurityAutosaveMacEntry, snSwIfStatsInFrames=snSwIfStatsInFrames, snRadiusEnableMethod=snRadiusEnableMethod, snSwPortDhcpGateListId=snSwPortDhcpGateListId, snMacFilterDestMask=snMacFilterDestMask, snVLanByPortStpTimeSinceTopologyChange=snVLanByPortStpTimeSinceTopologyChange, snVLanByPortCfgStpRootCost=snVLanByPortCfgStpRootCost, snSwPortInfoTagMode=snSwPortInfoTagMode, snVLanByPortRowStatus=snVLanByPortRowStatus, snIfOpticalMonitoringTxBiasCurrent=snIfOpticalMonitoringTxBiasCurrent, snEthernetInterface=snEthernetInterface, snNetFlowCollectorSourceInterface=snNetFlowCollectorSourceInterface, snVLanByIpSubnetRowStatus=snVLanByIpSubnetRowStatus, snVLanByIpSubnetStaticPortList=snVLanByIpSubnetStaticPortList, snPortMacSecurityIntfContentAgeOutTime=snPortMacSecurityIntfContentAgeOutTime, snTacacsServerTable=snTacacsServerTable, snVLanByIpSubnetExcludePortList=snVLanByIpSubnetExcludePortList, snVLanByIpSubnetVLanId=snVLanByIpSubnetVLanId, snMacFilterFrameType=snMacFilterFrameType, snMacFilterRowStatus=snMacFilterRowStatus, snVLanByPortStpPriority=snVLanByPortStpPriority, snVLanByIpSubnetChassisStaticMask=snVLanByIpSubnetChassisStaticMask, snAtmInterface=snAtmInterface, snVLanByPortMemberTagMode=snVLanByPortMemberTagMode, snDhcpGatewayListEntry=snDhcpGatewayListEntry, BrcdVlanIdOrNoneTC=BrcdVlanIdOrNoneTC, snIfIndexLookup2InterfaceId=snIfIndexLookup2InterfaceId, snVLanByProtocolVLanName=snVLanByProtocolVLanName, snMacFilterIfAccessFilters=snMacFilterIfAccessFilters, snMacFilterIfAccessTable=snMacFilterIfAccessTable, snSwIfRouteOnly=snSwIfRouteOnly, snSwPortInfoConnectorType=snSwPortInfoConnectorType, snSwDefaultVLanId=snSwDefaultVLanId, snIfMediaVendorName=snIfMediaVendorName, snSwitch=snSwitch, snDhcpGatewayListAddrList=snDhcpGatewayListAddrList, snSwIfInfoEntry=snSwIfInfoEntry, snPortMacSecurityAutosaveMacQueryIndex=snPortMacSecurityAutosaveMacQueryIndex, snSwIfMacLearningDisable=snSwIfMacLearningDisable, snFdpCacheIfIndex=snFdpCacheIfIndex, snSwPortLockAddressCount=snSwPortLockAddressCount, snGreTunnelInterface=snGreTunnelInterface, snPortMacSecurityIntfContentViolationType=snPortMacSecurityIntfContentViolationType, snDosAttack=snDosAttack, snSwPortInfoLinkStatus=snSwPortInfoLinkStatus, snMacFilterFrameTypeNum=snMacFilterFrameTypeNum, snVLanByIpxNetDynamicMask=snVLanByIpxNetDynamicMask, snSwIfInfoMirrorPorts=snSwIfInfoMirrorPorts, snSwEosBufferSize=snSwEosBufferSize, snVLanByProtocolDynamic=snVLanByProtocolDynamic, snNTP=snNTP, snVLanByPortCfgStpVersion=snVLanByPortCfgStpVersion, InterfaceId2=InterfaceId2, snPortMacSecurityModuleStatViolationCounts=snPortMacSecurityModuleStatViolationCounts, snFdpCacheDeviceId=snFdpCacheDeviceId, snRadiusSNMPAccess=snRadiusSNMPAccess, brcdVlanExtStatsIfIndex=brcdVlanExtStatsIfIndex, snSwPortInfoMonitorMode=snSwPortInfoMonitorMode, snSwPortStatsRxColliFrames=snSwPortStatsRxColliFrames, snPortStpPortProtocolMigration=snPortStpPortProtocolMigration, snAccounting=snAccounting, snVLanByPortQos=snVLanByPortQos, snVLanByProtocolEntry=snVLanByProtocolEntry, snVLanByIpxNetFrameType=snVLanByIpxNetFrameType, snRadiusEnableTelnetAuth=snRadiusEnableTelnetAuth, snPortStpInfo=snPortStpInfo, snSwClearCounters=snSwClearCounters, snIfOpticalLaneMonitoringRxPower=snIfOpticalLaneMonitoringRxPower, snSwSingleStpVLanId=snSwSingleStpVLanId, snDosAttackPortTable=snDosAttackPortTable, snQosBindTable=snQosBindTable, snIfMediaPartNumber=snIfMediaPartNumber, snNetFlowAggregationIp=snNetFlowAggregationIp, snPortMonitor=snPortMonitor, snVLanByPortCfgBaseType=snVLanByPortCfgBaseType, brcdVlanExtStatsInRoutedPkts=brcdVlanExtStatsInRoutedPkts, snVLanByIpxNetStaticMask=snVLanByIpxNetStaticMask, snVLanByPortCfgStpDesignatedRoot=snVLanByPortCfgStpDesignatedRoot, snSwIfInfoNativeMacAddress=snSwIfInfoNativeMacAddress, snNTPServerEntry=snNTPServerEntry, snSwPortStatsOutPktsPerSec=snSwPortStatsOutPktsPerSec, snSwPortInOctets=snSwPortInOctets, snInterfaceLookup2InterfaceId=snInterfaceLookup2InterfaceId, snVLanByIpxNetDynamic=snVLanByIpxNetDynamic, snSflowCollectorIP=snSflowCollectorIP, snRadiusServerAcctPort=snRadiusServerAcctPort, snVLanByPortCfgRowStatus=snVLanByPortCfgRowStatus, snPortMacSecurityModuleStatTotalSecurityPorts=snPortMacSecurityModuleStatTotalSecurityPorts, snVirtualInterface=snVirtualInterface, snFdpMIBObjects=snFdpMIBObjects, snSwIfInfoConnectorType=snSwIfInfoConnectorType, snVLanByPortRouterIntf=snVLanByPortRouterIntf, snSwIfDhcpGateListId=snSwIfDhcpGateListId, snFdbStationEntrySize=snFdbStationEntrySize, brcdIfEgressCounterQueueId=brcdIfEgressCounterQueueId, snNetFlowCollectorEntry=snNetFlowCollectorEntry, snSwPortStatsOutDiscard=snSwPortStatsOutDiscard, snVLanByPortCfgQos=snVLanByPortCfgQos, snSwIfLockAddressCount=snSwIfLockAddressCount, snIfOpticalLaneMonitoringLane=snIfOpticalLaneMonitoringLane, snNetFlowIfFlowSwitching=snNetFlowIfFlowSwitching, snRadiusKey=snRadiusKey, snTacacsServerUsage=snTacacsServerUsage, snSwGroupOperMode=snSwGroupOperMode, snSwPortEntrySize=snSwPortEntrySize, snTacacsKey=snTacacsKey, snSwPortInfoChnMode=snSwPortInfoChnMode, snVLanByIpSubnetTable=snVLanByIpSubnetTable, snDhcpGatewayListInfo=snDhcpGatewayListInfo, snSwIfInfoFlowControl=snSwIfInfoFlowControl, snPortMacSecurityIntfMacEntry=snPortMacSecurityIntfMacEntry, snSwPortStatsAlignErrors=snSwPortStatsAlignErrors, snFdbStationIf=snFdbStationIf, snVLanByPortCfgBaseNumPorts=snVLanByPortCfgBaseNumPorts, snSwPortInfoMirrorMode=snSwPortInfoMirrorMode, snNetFlowGblVersion=snNetFlowGblVersion, snSwPortPresent=snSwPortPresent, PortMask=PortMask, snSwPortStatsMacStations=snSwPortStatsMacStations, snVLanByIpxNetNetworkNum=snVLanByIpxNetNetworkNum, snIfStpPortDesignatedCost=snIfStpPortDesignatedCost, snIfMediaType=snIfMediaType, snVLanByPortCfgStpForwardDelay=snVLanByPortCfgStpForwardDelay, snNTPServerTable=snNTPServerTable, snIfStpPortNum=snIfStpPortNum, snNTPPollInterval=snNTPPollInterval, snFdpGlobal=snFdpGlobal, snVLanByIpSubnetDynamic=snVLanByIpSubnetDynamic, snSwPortInfoAutoNegotiate=snSwPortInfoAutoNegotiate, snSwSingleStpMode=snSwSingleStpMode, PortQosTC=PortQosTC, snSwPortInfoGigType=snSwPortInfoGigType, snVLanByATCableRouterIntf=snVLanByATCableRouterIntf, snSwIfStatsFrameTooLongs=snSwIfStatsFrameTooLongs, snSwPortStatsFrameTooLongs=snSwPortStatsFrameTooLongs, snTacacs=snTacacs, snSwIfDescr=snSwIfDescr, snPosInterface=snPosInterface, snIfStpOperPathCost=snIfStpOperPathCost, fdryIpSrcGuardMIB=fdryIpSrcGuardMIB, snVLanByPortStpHelloTime=snVLanByPortStpHelloTime, snSwIfInfoSpeed=snSwIfInfoSpeed, snIfMediaVersion=snIfMediaVersion, snIfStpVLanId=snIfStpVLanId, snSwMaxMacFilterPerSystem=snSwMaxMacFilterPerSystem, snDosAttackPortICMPDropCount=snDosAttackPortICMPDropCount, snQosBindProfileIndex=snQosBindProfileIndex) mibBuilder.exportSymbols('FOUNDRY-SN-SWITCH-GROUP-MIB', snInterfaceLookupIfIndex=snInterfaceLookupIfIndex, snPortMacSecurityIntfContentMaxLockedMacAllowed=snPortMacSecurityIntfContentMaxLockedMacAllowed, snSwIfStatsLinkChange=snSwIfStatsLinkChange, snPortStpEntrySize=snPortStpEntrySize, snPortMacSecurityIntfContentIfIndex=snPortMacSecurityIntfContentIfIndex, snTacacsServerEntry=snTacacsServerEntry, snPortStpPortPriority=snPortStpPortPriority, snAccountingSystem=snAccountingSystem, snMSTrunkIfTable=snMSTrunkIfTable, snNetFlowGblProtocolDisable=snNetFlowGblProtocolDisable, snMacFilterIfAccessRowStatus=snMacFilterIfAccessRowStatus, snVLanByPortTable=snVLanByPortTable, snVLanByPortCfgStpProtocolSpecification=snVLanByPortCfgStpProtocolSpecification, snPortStpPortDesignatedPort=snPortStpPortDesignatedPort, snVLanByIpSubnetVLanName=snVLanByIpSubnetVLanName, snFdpGlobalMessageInterval=snFdpGlobalMessageInterval, snPortMacGlobalSecurityAutosave=snPortMacGlobalSecurityAutosave, brcdVlanExtStatsOutSwitchedPkts=brcdVlanExtStatsOutSwitchedPkts, snPortMonitorMirrorList=snPortMonitorMirrorList, snSwIfStatsAlignErrors=snSwIfStatsAlignErrors, fdryDhcpSnoopMIB=fdryDhcpSnoopMIB, snVLanGroupVlanMaxEntry=snVLanGroupVlanMaxEntry, snNTPServerVersion=snNTPServerVersion, snFdpCacheCapabilities=snFdpCacheCapabilities, snPortMacSecurityModuleStatTotalMACs=snPortMacSecurityModuleStatTotalMACs, snFdpCachePortTagMode=snFdpCachePortTagMode, snSFlowGlb=snSFlowGlb, snRadiusSNMPServerMethod=snRadiusSNMPServerMethod, snVLanByPortCfgStpHelloTime=snVLanByPortCfgStpHelloTime, snPortStpVLanId=snPortStpVLanId, snVLanByIpSubnetDynamicPortList=snVLanByIpSubnetDynamicPortList, snTacacsTimeOut=snTacacsTimeOut, snSwIfStpPortEnable=snSwIfStpPortEnable, snPortStpPortEnable=snPortStpPortEnable, snPortMacSecurityIfIndex=snPortMacSecurityIfIndex, snVLanByIpxNetTable=snVLanByIpxNetTable, snVLanByPortStpRootCost=snVLanByPortStpRootCost, snSwIfStatsInBitsPerSec=snSwIfStatsInBitsPerSec, snIfRstpTCNBPDUReceived=snIfRstpTCNBPDUReceived, snSwIfLoadInterval=snSwIfLoadInterval, snNetFlowAggregationActiveTimeout=snNetFlowAggregationActiveTimeout, snVLanByPortCfgEntry=snVLanByPortCfgEntry, snFdpCachedAddrType=snFdpCachedAddrType, snSwViolatorPortNumber=snSwViolatorPortNumber, snPortMacSecurityTable=snPortMacSecurityTable, brcdIfEgressCounterIfIndex=brcdIfEgressCounterIfIndex, snFdpInterface=snFdpInterface, snVLanByPortCfgBaseBridgeAddress=snVLanByPortCfgBaseBridgeAddress, snFdbTableCurEntry=snFdbTableCurEntry, snSwIfStatsOutMcastFrames=snSwIfStatsOutMcastFrames, snPortMacSecurityIntfContentShutdownTime=snPortMacSecurityIntfContentShutdownTime, snMSTrunkPortIndex=snMSTrunkPortIndex, snSw8021qTagType=snSw8021qTagType, snSwGroupIpL3SwMode=snSwGroupIpL3SwMode, snVLanByProtocolChassisStaticMask=snVLanByProtocolChassisStaticMask, snRadiusServerRowStatus=snRadiusServerRowStatus, snPortStpPathCost=snPortStpPathCost, snSwPortStatsOutMcastFrames=snSwPortStatsOutMcastFrames, snPortStpPortState=snPortStpPortState, snSwFastStpMode=snSwFastStpMode, snIfStpPortPriority=snIfStpPortPriority, snStacking=snStacking, brcdRouteMap=brcdRouteMap, brcdVlanExtStatsInRoutedOctets=brcdVlanExtStatsInRoutedOctets, snVLanByPortEntry=snVLanByPortEntry, snSwPortStatsInMcastFrames=snSwPortStatsInMcastFrames, snSwPortInfoSpeed=snSwPortInfoSpeed, snDosAttackICMPBlockCount=snDosAttackICMPBlockCount, snVLanByPortStpRootPort=snVLanByPortStpRootPort, snIfStpPortDesignatedBridge=snIfStpPortDesignatedBridge, snVLanByPortStpGroupForwardDelay=snVLanByPortStpGroupForwardDelay, snVLanByIpxNetStaticPortList=snVLanByIpxNetStaticPortList, snIfIndexLookupEntry=snIfIndexLookupEntry, snIfOpticalLaneMonitoringTemperature=snIfOpticalLaneMonitoringTemperature, snSwPortStpPortEnable=snSwPortStpPortEnable, snSwBroadcastLimit2=snSwBroadcastLimit2, VlanTagMode=VlanTagMode, snVLanByPortCfgStpPriority=snVLanByPortCfgStpPriority, snPortMacSecurityMAC=snPortMacSecurityMAC, snIfStpPortState=snIfStpPortState, snWireless=snWireless, snVLanByPortCfgStpTimeSinceTopologyChange=snVLanByPortCfgStpTimeSinceTopologyChange, fdryMacVlanMIB=fdryMacVlanMIB, snIfStpCfgPathCost=snIfStpCfgPathCost, snVLanByPortStpTopChanges=snVLanByPortStpTopChanges, snSwPortInLinePowerClass=snSwPortInLinePowerClass, snFdpCachedAddr=snFdpCachedAddr, snMSTrunkRowStatus=snMSTrunkRowStatus, snSwProbePortNum=snSwProbePortNum, snVLanByIpxNetChassisExcludeMask=snVLanByIpxNetChassisExcludeMask, snSwPortCacheGroupId=snSwPortCacheGroupId, snMacFilter=snMacFilter, snSwIfVlanId=snSwIfVlanId, snVLanByPortCfgVLanId=snVLanByPortCfgVLanId, snSwPortInfo=snSwPortInfo, snSwPortRouteOnly=snSwPortRouteOnly, snIfOpticalLaneMonitoringTxPower=snIfOpticalLaneMonitoringTxPower, brcdVlanExtStatsVlanId=brcdVlanExtStatsVlanId, snAAA=snAAA, snVLanByATCableRowStatus=snVLanByATCableRowStatus, snVLanByPortCfgVLanName=snVLanByPortCfgVLanName, snVLanByIpxNetExcludePortList=snVLanByIpxNetExcludePortList, snPortStpPortAdminEdgePort=snPortStpPortAdminEdgePort, snSwIfStatsInBcastFrames=snSwIfStatsInBcastFrames, snTacacsServerAuthPort=snTacacsServerAuthPort, snVLanByProtocolStaticPortList=snVLanByProtocolStaticPortList, snPortMacSecurityIntfMacIfIndex=snPortMacSecurityIntfMacIfIndex, snSwIfFastSpanPortEnable=snSwIfFastSpanPortEnable, snSubInterface=snSubInterface, snSwIfStatsInJumboFrames=snSwIfStatsInJumboFrames, snAccountingCommandMethods=snAccountingCommandMethods, snMacFilterPortAccessRowStatus=snMacFilterPortAccessRowStatus, BridgeId=BridgeId, snVLanByPortChassisPortMask=snVLanByPortChassisPortMask, snSwPortStatsOutFrames=snSwPortStatsOutFrames, brcdVlanExtStatsOutPkts=brcdVlanExtStatsOutPkts, snVLanByPortStpDesignatedRoot=snVLanByPortStpDesignatedRoot, snSwPortStatsTxColliFrames=snSwPortStatsTxColliFrames, snDosAttackPort=snDosAttackPort, snIfStpPortRole=snIfStpPortRole, snVsrp=snVsrp, snSwSummary=snSwSummary, snSwIfInfoL2FowardEnable=snSwIfInfoL2FowardEnable, snMSTrunkPortList=snMSTrunkPortList, snSwPortInLinePowerWattage=snSwPortInLinePowerWattage, snDosAttackICMPDropCount=snDosAttackICMPDropCount, snPortMacSecurityIntfMacRowStatus=snPortMacSecurityIntfMacRowStatus, snRadiusTimeOut=snRadiusTimeOut, snSwPortInLinePowerControl=snSwPortInLinePowerControl, snVLanByIpSubnetChassisDynamicMask=snVLanByIpSubnetChassisDynamicMask, snSwPortDescr=snSwPortDescr, snSwBroadcastLimit=snSwBroadcastLimit, snSwIfFastSpanUplinkEnable=snSwIfFastSpanUplinkEnable, snQosProfileName=snQosProfileName, snNTPSystemClock=snNTPSystemClock, snSwGroupDefaultCfgMode=snSwGroupDefaultCfgMode, snDosAttackGlobal=snDosAttackGlobal, snFdpCacheAddress=snFdpCacheAddress, snVLanGroupSetAllVLan=snVLanGroupSetAllVLan, snIfMediaInfoEntry=snIfMediaInfoEntry, snMSTrunkIfRowStatus=snMSTrunkIfRowStatus, snSwIfOutOctets=snSwIfOutOctets, snIfOpticalMonitoringInfoEntry=snIfOpticalMonitoringInfoEntry, snDnsDomainName=snDnsDomainName, snNTPServerIp=snNTPServerIp, snVLanByPortStpMode=snVLanByPortStpMode, snFdpCachedAddrDeviceIndex=snFdpCachedAddrDeviceIndex, snAuthorization=snAuthorization, snIfStpEntry=snIfStpEntry, snSwPortFastSpanUplinkEnable=snSwPortFastSpanUplinkEnable, snFdpCacheIsAggregateVlan=snFdpCacheIsAggregateVlan, snInterfaceLookup2Table=snInterfaceLookup2Table, snFdpCache=snFdpCache, snIfIndexLookupIfIndex=snIfIndexLookupIfIndex, snLoopbackInterface=snLoopbackInterface, snSSL=snSSL, snDnsInfo=snDnsInfo, snFdpCachedAddrDeviceAddrEntryIndex=snFdpCachedAddrDeviceAddrEntryIndex, snSwProtocolVLanMode=snSwProtocolVLanMode, snPortStpPortForwardTransitions=snPortStpPortForwardTransitions, brcdIfEgressCounterDropPkts=brcdIfEgressCounterDropPkts, snFdpCacheEntry=snFdpCacheEntry, snSwIfName=snSwIfName, snSFlow=snSFlow, snDosAttackPortSYNDropCount=snDosAttackPortSYNDropCount, snSwIfInfoPortNum=snSwIfInfoPortNum, snSwPortTransGroupId=snSwPortTransGroupId, snDosAttackSYNDropCount=snDosAttackSYNDropCount, snVLanByATCableVLanName=snVLanByATCableVLanName, snNetFlowCollectorTable=snNetFlowCollectorTable, snFdbStationPort=snFdbStationPort, snSwEnableLockedAddrViolationTrap=snSwEnableLockedAddrViolationTrap, snSwPortStatsInKiloBitsPerSec=snSwPortStatsInKiloBitsPerSec, snVLanByProtocolChassisExcludeMask=snVLanByProtocolChassisExcludeMask, brcdIfEgressCounterType=brcdIfEgressCounterType, snPortStpSetAll=snPortStpSetAll, snInterfaceLookup2IfIndex=snInterfaceLookup2IfIndex, snSwIfStatsInDiscard=snSwIfStatsInDiscard, snFdbRowStatus=snFdbRowStatus, snNetFlowAggregationIndex=snNetFlowAggregationIndex, snSwGlobalAutoNegotiate=snSwGlobalAutoNegotiate, snSwIfStatsInUtilization=snSwIfStatsInUtilization, snNetFlowCollectorIp=snNetFlowCollectorIp, snVLanByIpxNetChassisStaticMask=snVLanByIpxNetChassisStaticMask, snSwPortStatsOutBcastFrames=snSwPortStatsOutBcastFrames, snQos=snQos, snVLanByATCableEntry=snVLanByATCableEntry, snNTPTimeZone=snNTPTimeZone, snSwIfInfoMonitorMode=snSwIfInfoMonitorMode, snNetFlowAggregationInactiveTimeout=snNetFlowAggregationInactiveTimeout, snMacFilterSourceMac=snMacFilterSourceMac, snSwIfInfoAutoNegotiate=snSwIfInfoAutoNegotiate, snDhcpGatewayListTable=snDhcpGatewayListTable, snSwInfo=snSwInfo, snPortMacSecurityIntfMacTable=snPortMacSecurityIntfMacTable, snSwEnableBridgeTopoChangeTrap=snSwEnableBridgeTopoChangeTrap, snFdpCachedAddrValue=snFdpCachedAddrValue, snSwPortFastSpanPortEnable=snSwPortFastSpanPortEnable, snSwViolatorMacAddress=snSwViolatorMacAddress, snQosProfileIndex=snQosProfileIndex, snTrunkInterface=snTrunkInterface, snSwPortStatsOutKiloBitsPerSec=snSwPortStatsOutKiloBitsPerSec, snPortMacSecurityIntfContentViolationCounts=snPortMacSecurityIntfContentViolationCounts, snPortMonitorEntry=snPortMonitorEntry, snVLanByPortVLanId=snVLanByPortVLanId, snTacacsSNMPAccess=snTacacsSNMPAccess, snAccountingExec=snAccountingExec, snIfOpticalLaneMonitoringEntry=snIfOpticalLaneMonitoringEntry, snTrunkType=snTrunkType, snInterfaceLookup2Entry=snInterfaceLookup2Entry, snIfOpticalMonitoringRxPower=snIfOpticalMonitoringRxPower, snFdpCacheTable=snFdpCacheTable, snCAR=snCAR, fdryLinkAggregationGroupMIB=fdryLinkAggregationGroupMIB, snVLanByPortPortList=snVLanByPortPortList, snPortMacSecurityAutosaveMacAddress=snPortMacSecurityAutosaveMacAddress, snSwIfInfoPhysAddress=snSwIfInfoPhysAddress, snTrunkIndex=snTrunkIndex, snVLanByProtocolChassisDynamicMask=snVLanByProtocolChassisDynamicMask)
class Employee: def __init__(self, surname, name, contact): self.surname = surname self.name = name self.contact = contact def __eq__(self, other): return self.name == other.name \ and self.surname == other.surname \ and self.contact == other.contact class Contact: def __init__(self, email): self.email = email def __eq__(self, other): return self.email == other.email class BirthdayGreetings: def __init__(self, employee_repository, email_service): self._message_service = email_service self._employee_repository = employee_repository def sendGreetings(self, today): persons = self._employee_repository.birthdaysFor(today.month, today.day) self._message_service.send(persons)
class Employee: def __init__(self, surname, name, contact): self.surname = surname self.name = name self.contact = contact def __eq__(self, other): return self.name == other.name and self.surname == other.surname and (self.contact == other.contact) class Contact: def __init__(self, email): self.email = email def __eq__(self, other): return self.email == other.email class Birthdaygreetings: def __init__(self, employee_repository, email_service): self._message_service = email_service self._employee_repository = employee_repository def send_greetings(self, today): persons = self._employee_repository.birthdaysFor(today.month, today.day) self._message_service.send(persons)
# Assume you have a file system named quotaFs file_system_name = "quotaFs" # Delete the quotas of groups on the file system with ids 998 and 999 client.delete_quotas_groups(file_system_names=[file_system_name], gids=[998, 999]) # Delete the quotas of groups on the file system with names group1 and group2 client.delete_quotas_groups(file_system_names=[file_system_name], group_names=["group1", "group2"]) # Other valid fields: file_system_ids, names # See section "Common Fields" for examples
file_system_name = 'quotaFs' client.delete_quotas_groups(file_system_names=[file_system_name], gids=[998, 999]) client.delete_quotas_groups(file_system_names=[file_system_name], group_names=['group1', 'group2'])
class Atom: def __init__(self, id_, position, chain_id, name, element, residue=None, altloc=None, occupancy=None): self.id = id_ self.name = name self.element = element self.chain_id = chain_id self.position = position self.residue = residue self.altloc = altloc self.occupancy = occupancy def __hash__(self): return hash(self.id) def __eq__(self, other): return self.id == other.id def __lt__(self, other): return self.id < other.id def __repr__(self): return "Atom {} ({}) from {} {} at {}".format(self.id, self.name, self.chain_id, self.residue, self.position)
class Atom: def __init__(self, id_, position, chain_id, name, element, residue=None, altloc=None, occupancy=None): self.id = id_ self.name = name self.element = element self.chain_id = chain_id self.position = position self.residue = residue self.altloc = altloc self.occupancy = occupancy def __hash__(self): return hash(self.id) def __eq__(self, other): return self.id == other.id def __lt__(self, other): return self.id < other.id def __repr__(self): return 'Atom {} ({}) from {} {} at {}'.format(self.id, self.name, self.chain_id, self.residue, self.position)
utils =''' from extensions.extension import pwd_context from flask import current_app # from app.custom_errors import PasswordLength class PasswordLength(Exception): pass def verify_secret(plain_secret: str, hashed_secret: str): """ check plain password with hashed password """ if len(plain_secret) < 8: raise PasswordLength("password length must be more than 8 or equal to 8") return pwd_context.verify(plain_secret, hashed_secret) def get_secret_hash(secret: str): """ return hash plain text """ if len(secret) < 8: raise PasswordLength("password length must be more than 8 or equal to 8") return pwd_context.hash(secret) '''
utils = '\nfrom extensions.extension import pwd_context\nfrom flask import current_app\n# from app.custom_errors import PasswordLength\n\n\nclass PasswordLength(Exception):\n pass\n\n\ndef verify_secret(plain_secret: str, hashed_secret: str):\n """ check plain password with hashed password """\n if len(plain_secret) < 8:\n raise PasswordLength("password length must be more than 8 or equal to 8")\n return pwd_context.verify(plain_secret, hashed_secret)\n\n\ndef get_secret_hash(secret: str):\n """ return hash plain text """\n if len(secret) < 8:\n raise PasswordLength("password length must be more than 8 or equal to 8")\n return pwd_context.hash(secret)\n'
"""A module defining the third party dependency OpenSSL""" load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") def openssl_repositories(): maybe( http_archive, name = "openssl", build_file = Label("//openssl:BUILD.openssl.bazel"), sha256 = "892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5", strip_prefix = "openssl-1.1.1k", urls = [ "https://mirror.bazel.build/www.openssl.org/source/openssl-1.1.1k.tar.gz", "https://www.openssl.org/source/openssl-1.1.1k.tar.gz", "https://github.com/openssl/openssl/archive/OpenSSL_1_1_1k.tar.gz", ], ) maybe( http_archive, name = "nasm", build_file = Label("//openssl:BUILD.nasm.bazel"), sha256 = "f5c93c146f52b4f1664fa3ce6579f961a910e869ab0dae431bd871bdd2584ef2", strip_prefix = "nasm-2.15.05", urls = [ "https://mirror.bazel.build/www.nasm.us/pub/nasm/releasebuilds/2.15.05/win64/nasm-2.15.05-win64.zip", "https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/win64/nasm-2.15.05-win64.zip", ], ) maybe( http_archive, name = "rules_perl", sha256 = "765e6a282cc38b197a6408c625bd3fc28f3f2d44353fb4615490a6eb0b8f420c", strip_prefix = "rules_perl-e3ed0f1727d15db6c5ff84f64454b9a4926cc591", urls = [ "https://github.com/bazelbuild/rules_perl/archive/e3ed0f1727d15db6c5ff84f64454b9a4926cc591.tar.gz", ], )
"""A module defining the third party dependency OpenSSL""" load('@bazel_tools//tools/build_defs/repo:http.bzl', 'http_archive') load('@bazel_tools//tools/build_defs/repo:utils.bzl', 'maybe') def openssl_repositories(): maybe(http_archive, name='openssl', build_file=label('//openssl:BUILD.openssl.bazel'), sha256='892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5', strip_prefix='openssl-1.1.1k', urls=['https://mirror.bazel.build/www.openssl.org/source/openssl-1.1.1k.tar.gz', 'https://www.openssl.org/source/openssl-1.1.1k.tar.gz', 'https://github.com/openssl/openssl/archive/OpenSSL_1_1_1k.tar.gz']) maybe(http_archive, name='nasm', build_file=label('//openssl:BUILD.nasm.bazel'), sha256='f5c93c146f52b4f1664fa3ce6579f961a910e869ab0dae431bd871bdd2584ef2', strip_prefix='nasm-2.15.05', urls=['https://mirror.bazel.build/www.nasm.us/pub/nasm/releasebuilds/2.15.05/win64/nasm-2.15.05-win64.zip', 'https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/win64/nasm-2.15.05-win64.zip']) maybe(http_archive, name='rules_perl', sha256='765e6a282cc38b197a6408c625bd3fc28f3f2d44353fb4615490a6eb0b8f420c', strip_prefix='rules_perl-e3ed0f1727d15db6c5ff84f64454b9a4926cc591', urls=['https://github.com/bazelbuild/rules_perl/archive/e3ed0f1727d15db6c5ff84f64454b9a4926cc591.tar.gz'])
# V0 class Solution: def sortArrayByParityII(self, A): """ :type A: List[int] :rtype: List[int] """ A.sort(key = lambda x : x % 2) N = len(A) res = [] for i in range(N // 2): res.append(A[i]) res.append(A[N - 1 - i]) return res # V1 # https://blog.csdn.net/fuxuemingzhu/article/details/83045735 class Solution(object): def sortArrayByParityII(self, A): """ :type A: List[int] :rtype: List[int] """ odd = [x for x in A if x % 2 == 1] even = [x for x in A if x % 2 == 0] res = [] iseven = True while odd or even: if iseven: res.append(even.pop()) else: res.append(odd.pop()) iseven = not iseven return res # V1' # https://blog.csdn.net/fuxuemingzhu/article/details/83045735 class Solution: def sortArrayByParityII(self, A): """ :type A: List[int] :rtype: List[int] """ A.sort(key = lambda x : x % 2) N = len(A) res = [] for i in range(N // 2): res.append(A[i]) res.append(A[N - 1 - i]) return res # V1'' # https://blog.csdn.net/fuxuemingzhu/article/details/83045735 class Solution: def sortArrayByParityII(self, A): """ :type A: List[int] :rtype: List[int] """ N = len(A) res = [0] * N even, odd = 0, 1 for a in A: if a % 2 == 1: res[odd] = a odd += 2 else: res[even] = a even += 2 return res # V2 # Time: O(n) # Space: O(1) class Solution(object): def sortArrayByParityII(self, A): """ :type A: List[int] :rtype: List[int] """ j = 1 for i in range(0, len(A), 2): if A[i] % 2: while A[j] % 2: j += 2 A[i], A[j] = A[j], A[i] return A
class Solution: def sort_array_by_parity_ii(self, A): """ :type A: List[int] :rtype: List[int] """ A.sort(key=lambda x: x % 2) n = len(A) res = [] for i in range(N // 2): res.append(A[i]) res.append(A[N - 1 - i]) return res class Solution(object): def sort_array_by_parity_ii(self, A): """ :type A: List[int] :rtype: List[int] """ odd = [x for x in A if x % 2 == 1] even = [x for x in A if x % 2 == 0] res = [] iseven = True while odd or even: if iseven: res.append(even.pop()) else: res.append(odd.pop()) iseven = not iseven return res class Solution: def sort_array_by_parity_ii(self, A): """ :type A: List[int] :rtype: List[int] """ A.sort(key=lambda x: x % 2) n = len(A) res = [] for i in range(N // 2): res.append(A[i]) res.append(A[N - 1 - i]) return res class Solution: def sort_array_by_parity_ii(self, A): """ :type A: List[int] :rtype: List[int] """ n = len(A) res = [0] * N (even, odd) = (0, 1) for a in A: if a % 2 == 1: res[odd] = a odd += 2 else: res[even] = a even += 2 return res class Solution(object): def sort_array_by_parity_ii(self, A): """ :type A: List[int] :rtype: List[int] """ j = 1 for i in range(0, len(A), 2): if A[i] % 2: while A[j] % 2: j += 2 (A[i], A[j]) = (A[j], A[i]) return A
while True: a,b = map(int,input().split()) if a== b == 0: break k = 1 if b >= a-b: k1 = b k2 = a-b else: k1 = a-b k2 = b for i in range(k1+1,a+1): k*=i for i in range(2,k2+1): k//=i print(k)
while True: (a, b) = map(int, input().split()) if a == b == 0: break k = 1 if b >= a - b: k1 = b k2 = a - b else: k1 = a - b k2 = b for i in range(k1 + 1, a + 1): k *= i for i in range(2, k2 + 1): k //= i print(k)
# # PySNMP MIB module HP-ICF-CHASSIS (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HP-ICF-CHASSIS # Produced by pysmi-0.3.4 at Wed May 1 13:33:35 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, OctetString, Integer = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "OctetString", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, SingleValueConstraint, ValueSizeConstraint, ValueRangeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "SingleValueConstraint", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsUnion") PhysicalIndex, = mibBuilder.importSymbols("ENTITY-MIB", "PhysicalIndex") hpicfObjectModules, hpicfCommonTrapsPrefix, hpicfCommon = mibBuilder.importSymbols("HP-ICF-OID", "hpicfObjectModules", "hpicfCommonTrapsPrefix", "hpicfCommon") ObjectGroup, ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup") IpAddress, Counter32, Bits, NotificationType, iso, Unsigned32, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter64, MibIdentifier, Gauge32, ObjectIdentity, Integer32, ModuleIdentity, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "IpAddress", "Counter32", "Bits", "NotificationType", "iso", "Unsigned32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter64", "MibIdentifier", "Gauge32", "ObjectIdentity", "Integer32", "ModuleIdentity", "TimeTicks") TextualConvention, DisplayString, TimeStamp, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString", "TimeStamp", "TruthValue") hpicfChassisMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3)) hpicfChassisMib.setRevisions(('2013-02-10 08:47', '2011-08-25 08:47', '2010-08-25 00:00', '2009-04-22 00:00', '2000-11-03 22:16', '1997-03-06 03:34', '1996-09-10 02:45', '1995-07-13 00:00', '1994-11-20 00:00', '1993-07-09 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: hpicfChassisMib.setRevisionsDescriptions(('Added object hpSystemAirAvgTemp1,Group hpicfChasTempGroup1, Compliance hpicfChasTempCompliance1. deprecated hpSystemAirAvgTemp object, group hpicfChasTempGroup and hpicfChasTempCompliance.', 'Added new scalars hpicfFanTrayType and hpicfOpacityShieldInstalled.', 'Added hpSystemAirEntPhysicalIndex to the air temperature table.', 'Added new SNMP object and SNMP table for chassis temperature details', 'Updated division name.', 'Added NOTIFICATION-GROUP information.', 'Split this MIB module from the former monolithic hp-icf MIB. Added compliance statement for use by non-chassis devices or devices that are implementing another chassis MIB (like Entity MIB) but still want to use the hpicfSensorTable. Changed STATUS clause to deprecated for those objects that are superseded by the Entity MIB.', 'Added the hpicfSensorTrap.', 'Added the hpicfChassisAddrTable.', 'Initial version.',)) if mibBuilder.loadTexts: hpicfChassisMib.setLastUpdated('201302100847Z') if mibBuilder.loadTexts: hpicfChassisMib.setOrganization('HP Networking') if mibBuilder.loadTexts: hpicfChassisMib.setContactInfo('Hewlett Packard Company 8000 Foothills Blvd. Roseville, CA 95747') if mibBuilder.loadTexts: hpicfChassisMib.setDescription('This MIB module describes chassis devices in the HP Integrated Communication Facility product line. Note that most of this module will be superseded by the standard Entity MIB. However, the hpicfSensorTable will still be valid.') hpicfChassis = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2)) hpicfChassisId = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfChassisId.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisId.setDescription('********* THIS OBJECT IS DEPRECATED ********* An identifier that uniquely identifies this particular chassis. This will be the same value as the instance of hpicfChainId for this chassis.') hpicfChassisNumSlots = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfChassisNumSlots.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisNumSlots.setDescription('********* THIS OBJECT IS DEPRECATED ********* The number of slots in this chassis.') hpicfSlotTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3), ) if mibBuilder.loadTexts: hpicfSlotTable.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotTable.setDescription('********* THIS OBJECT IS DEPRECATED ********* A table that contains information on all the slots in this chassis.') hpicfSlotEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3, 1), ).setIndexNames((0, "HP-ICF-CHASSIS", "hpicfSlotIndex")) if mibBuilder.loadTexts: hpicfSlotEntry.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotEntry.setDescription('********* THIS OBJECT IS DEPRECATED ********* Information about a slot in a chassis') hpicfSlotIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSlotIndex.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotIndex.setDescription('********* THIS OBJECT IS DEPRECATED ********* The slot number within the box for which this entry contains information.') hpicfSlotObjectId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3, 1, 2), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSlotObjectId.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotObjectId.setDescription('********* THIS OBJECT IS DEPRECATED ********* The authoritative identification of the card plugged into this slot in this chassis. A value of { 0 0 } indicates an empty slot.') hpicfSlotLastChange = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3, 1, 3), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSlotLastChange.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotLastChange.setDescription("********* THIS OBJECT IS DEPRECATED ********* The value of the agent's sysUpTime at which a card in this slot was last inserted or removed. If no module has been inserted or removed since the last reinitialization of the agent, this object has a zero value.") hpicfSlotDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSlotDescr.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotDescr.setDescription('********* THIS OBJECT IS DEPRECATED ********* A textual description of the card plugged into this slot in this chassis, including the product number and version information.') hpicfEntityTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4), ) if mibBuilder.loadTexts: hpicfEntityTable.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityTable.setDescription('********* THIS OBJECT IS DEPRECATED ********* A table that contains information about the (logical) networking devices contained in this chassis.') hpicfEntityEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1), ).setIndexNames((0, "HP-ICF-CHASSIS", "hpicfEntityIndex")) if mibBuilder.loadTexts: hpicfEntityEntry.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityEntry.setDescription('********* THIS OBJECT IS DEPRECATED ********* Information about a single logical networking device contained in this chassis.') hpicfEntityIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfEntityIndex.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityIndex.setDescription('********* THIS OBJECT IS DEPRECATED ********* An index that uniquely identifies the logical network device for which this entry contains information.') hpicfEntityFunction = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfEntityFunction.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityFunction.setDescription('********* THIS OBJECT IS DEPRECATED ********* The generic function provided by the logical network device. The value is a sum. Starting from zero, for each type of generic function that the entity performs, 2 raised to a power is added to the sum. The powers are according to the following table: Function Power other 1 repeater 0 bridge 2 router 3 agent 5 For example, an entity performing both bridging and routing functions would have a value of 12 (2^2 + 2^3).') hpicfEntityObjectId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1, 3), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfEntityObjectId.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityObjectId.setDescription("********* THIS OBJECT IS DEPRECATED ********* The authoritative identification of the logical network device which provides an unambiguous means of determining the type of device. The value of this object is analogous to MIB-II's sysObjectId.") hpicfEntityDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfEntityDescr.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityDescr.setDescription("********* THIS OBJECT IS DEPRECATED ********* A textual description of this device, including the product number and version information. The value of this object is analogous to MIB-II's sysDescr.") hpicfEntityTimestamp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1, 5), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfEntityTimestamp.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityTimestamp.setDescription("********* THIS OBJECT IS DEPRECATED ********* The value of the agent's sysUpTime at which this logical network device was last reinitialized. If the entity has not been reinitialized since the last reinitialization of the agent, then this object has a zero value.") hpicfSlotMapTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 5), ) if mibBuilder.loadTexts: hpicfSlotMapTable.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotMapTable.setDescription('********* THIS OBJECT IS DEPRECATED ********* A table that contains information about which entities are in which slots in this chassis.') hpicfSlotMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 5, 1), ).setIndexNames((0, "HP-ICF-CHASSIS", "hpicfSlotMapSlot"), (0, "HP-ICF-CHASSIS", "hpicfSlotMapEntity")) if mibBuilder.loadTexts: hpicfSlotMapEntry.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotMapEntry.setDescription('********* THIS OBJECT IS DEPRECATED ********* A relationship between a slot and an entity in this chassis. Such a relationship exists if the particular slot is occupied by a physical module performing part of the function of the particular entity.') hpicfSlotMapSlot = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSlotMapSlot.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotMapSlot.setDescription('********* THIS OBJECT IS DEPRECATED ********* A slot number within the chassis which contains (part of) this entity.') hpicfSlotMapEntity = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 5, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSlotMapEntity.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotMapEntity.setDescription('********* THIS OBJECT IS DEPRECATED ********* The entity described in this mapping.') hpicfSensorTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6), ) if mibBuilder.loadTexts: hpicfSensorTable.setStatus('current') if mibBuilder.loadTexts: hpicfSensorTable.setDescription('A table that contains information on all the sensors in this chassis') hpicfSensorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1), ).setIndexNames((0, "HP-ICF-CHASSIS", "hpicfSensorIndex")) if mibBuilder.loadTexts: hpicfSensorEntry.setStatus('current') if mibBuilder.loadTexts: hpicfSensorEntry.setDescription('Information about a sensor in a chassis') hpicfSensorIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSensorIndex.setStatus('current') if mibBuilder.loadTexts: hpicfSensorIndex.setDescription('An index that uniquely identifies the sensor for which this entry contains information.') hpicfSensorObjectId = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 2), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSensorObjectId.setStatus('current') if mibBuilder.loadTexts: hpicfSensorObjectId.setDescription('The authoritative identification of the kind of sensor this is.') hpicfSensorNumber = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSensorNumber.setStatus('current') if mibBuilder.loadTexts: hpicfSensorNumber.setDescription('A number which identifies a particular sensor from other sensors of the same kind. For instance, if there are many temperature sensors in this chassis, this number would identify a particular temperature sensor in this chassis.') hpicfSensorStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("unknown", 1), ("bad", 2), ("warning", 3), ("good", 4), ("notPresent", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSensorStatus.setStatus('current') if mibBuilder.loadTexts: hpicfSensorStatus.setDescription('Actual status indicated by the sensor.') hpicfSensorWarnings = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSensorWarnings.setStatus('current') if mibBuilder.loadTexts: hpicfSensorWarnings.setDescription("The number of times hpicfSensorStatus has entered the 'warning'(3) state.") hpicfSensorFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSensorFailures.setStatus('current') if mibBuilder.loadTexts: hpicfSensorFailures.setDescription("The number of times hpicfSensorStatus has entered the 'bad'(2) state.") hpicfSensorDescr = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 7), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfSensorDescr.setStatus('current') if mibBuilder.loadTexts: hpicfSensorDescr.setDescription('A textual description of the sensor.') hpicfChassisAddrTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 7), ) if mibBuilder.loadTexts: hpicfChassisAddrTable.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisAddrTable.setDescription('********* THIS OBJECT IS DEPRECATED ********* A table of network addresses for entities in this chassis. The primary use of this table is to map a specific entity address to a specific chassis. Note that this table may not be a complete list of network addresses for this entity.') hpicfChassisAddrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 7, 1), ).setIndexNames((0, "HP-ICF-CHASSIS", "hpicfChasAddrType"), (0, "HP-ICF-CHASSIS", "hpicfChasAddrAddress")) if mibBuilder.loadTexts: hpicfChassisAddrEntry.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisAddrEntry.setDescription('********* THIS OBJECT IS DEPRECATED ********* An entry containing a single network address being used by a logical network device in this chassis.') hpicfChasAddrType = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 7, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("ipAddr", 1), ("ipxAddr", 2), ("macAddr", 3)))) if mibBuilder.loadTexts: hpicfChasAddrType.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasAddrType.setDescription('********* THIS OBJECT IS DEPRECATED ********* The kind of network address represented in this entry.') hpicfChasAddrAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 7, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 10))) if mibBuilder.loadTexts: hpicfChasAddrAddress.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasAddrAddress.setDescription('********* THIS OBJECT IS DEPRECATED ********* The network address being used by the logical network device associated with this entry, formatted according to the value of the associated instance of hpicfChasAddrType. For hpicfChasAddrType of ipAddr, this value is four octets long, with each octet representing one byte of the IP address, in network byte order. For hpicfChasAddrType of ipxAddr, this value is ten octets long, with the first four octets representing the IPX network number in network byte order, followed by the six byte host number in network byte order. For hpicfChasAddrType of macAddr, this value is six octets long, representing the MAC address in canonical order.') hpicfChasAddrEntity = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 7, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfChasAddrEntity.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasAddrEntity.setDescription('********* THIS OBJECT IS DEPRECATED ********* An index that uniquely identifies the logical network device in this chassis that is using this network address..') hpChassisTemperature = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8)) hpSystemAirTempTable = MibTable((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1), ) if mibBuilder.loadTexts: hpSystemAirTempTable.setStatus('current') if mibBuilder.loadTexts: hpSystemAirTempTable.setDescription('This table gives the temperature details of chassis. These temperature details are obtained by monitoring chassis temperature sensors attached to the box by excluding ManagementModule, FabricModule, IMand PowerSupply sensors. This will give current, maximum,minimum,threshold and average temperatures of chassis.') hpSystemAirTempEntry = MibTableRow((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1), ).setIndexNames((0, "HP-ICF-CHASSIS", "hpSystemAirSensor")) if mibBuilder.loadTexts: hpSystemAirTempEntry.setStatus('current') if mibBuilder.loadTexts: hpSystemAirTempEntry.setDescription('This is the table for chassis temperature details.') hpSystemAirSensor = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))) if mibBuilder.loadTexts: hpSystemAirSensor.setStatus('current') if mibBuilder.loadTexts: hpSystemAirSensor.setDescription('This is the index for this table.This object describes chassis attached temperature sensor. Based on the value of this index, temperature details are obtained from the sensor and are given.') hpSystemAirName = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 20))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpSystemAirName.setStatus('current') if mibBuilder.loadTexts: hpSystemAirName.setDescription("This object describes name of the system which is chassis attached temperature sensor number. For example if the index (hpSystemAirSensor) is '0' then the system name is sys-1. Index starts from '0' but sensor number is '1'.") hpSystemAirCurrentTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 6))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpSystemAirCurrentTemp.setStatus('current') if mibBuilder.loadTexts: hpSystemAirCurrentTemp.setDescription('This object gives current temperature of the system. This is the current temperature given by the indexed chassis attached temperature sensor on box.') hpSystemAirMaxTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 6))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpSystemAirMaxTemp.setStatus('current') if mibBuilder.loadTexts: hpSystemAirMaxTemp.setDescription('This object gives Maximum temperature of the chassis.') hpSystemAirMinTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 6))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpSystemAirMinTemp.setStatus('current') if mibBuilder.loadTexts: hpSystemAirMinTemp.setDescription('This object gives Minimum temperature of the chassis.') hpSystemAirOverTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("yes", 1), ("no", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpSystemAirOverTemp.setStatus('current') if mibBuilder.loadTexts: hpSystemAirOverTemp.setDescription('This object gives Over temperature of the system. If the current temperature of the board is above threshold temperature and if board stays at this temperature for 10 full seconds then its called over temperature.') hpSystemAirThresholdTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 6))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpSystemAirThresholdTemp.setStatus('current') if mibBuilder.loadTexts: hpSystemAirThresholdTemp.setDescription('This object gives Threshold temperature of the system. This is the utmost temperature that the chassis can sustain. If chassis temperature is above threshold then alarm will ring to inform over temperature condition.') hpSystemAirAvgTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 8), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 5))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpSystemAirAvgTemp.setStatus('deprecated') if mibBuilder.loadTexts: hpSystemAirAvgTemp.setDescription('This object gives Average temperature of the system. There will be some roll up function which will check current temperature at particular intervals. Based on these current temperatures over certain time, average temperature is calculated.') hpSystemAirEntPhysicalIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 9), PhysicalIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: hpSystemAirEntPhysicalIndex.setStatus('current') if mibBuilder.loadTexts: hpSystemAirEntPhysicalIndex.setDescription('This gives the entPhysicalIndex of the temperature sensor as in the entPhysicalTable (rfc2737).') hpSystemAirAvgTemp1 = MibTableColumn((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 10), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 6))).setMaxAccess("readonly") if mibBuilder.loadTexts: hpSystemAirAvgTemp1.setStatus('current') if mibBuilder.loadTexts: hpSystemAirAvgTemp1.setDescription('This object gives Average temperature of the system. There will be some roll up function which will check current temperature at particular intervals. Based on these current temperatures over certain time, average temperature is calculated.') hpicfFanTrayType = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("standard", 1), ("highPerformance", 2))).clone('standard')).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfFanTrayType.setStatus('current') if mibBuilder.loadTexts: hpicfFanTrayType.setDescription('If opacity shield is installed hpicsFanTrayType should be HighPerformance. This is applicable only for 5406 5412 8212 and 8206 Switches.') hpicfOpacityShieldInstalled = MibScalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 10), TruthValue().clone('false')).setMaxAccess("readonly") if mibBuilder.loadTexts: hpicfOpacityShieldInstalled.setStatus('current') if mibBuilder.loadTexts: hpicfOpacityShieldInstalled.setDescription('It indicates that Opacity shield is Installed on the switch. This is applicable only for 5406,5412, 8212 and 8206 Switches.') hpicfSensorTrap = NotificationType((1, 3, 6, 1, 4, 1, 11, 2, 14, 12, 1, 0, 3)).setObjects(("HP-ICF-CHASSIS", "hpicfSensorStatus"), ("HP-ICF-CHASSIS", "hpicfSensorDescr")) if mibBuilder.loadTexts: hpicfSensorTrap.setStatus('current') if mibBuilder.loadTexts: hpicfSensorTrap.setDescription('An hpicfSensorTrap indicates that there has been a change of state on one of the sensors in this chassis. The hpicfSensorStatus indicates the new status value for the changed sensor.') hpicfChassisConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1)) hpicfChassisCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1)) hpicfChassisGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2)) hpicfChasAdvStkCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 1)).setObjects(("HP-ICF-CHASSIS", "hpicfChassisBasicGroup"), ("HP-ICF-CHASSIS", "hpicfSensorGroup"), ("HP-ICF-CHASSIS", "hpicfSensorNotifyGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfChasAdvStkCompliance = hpicfChasAdvStkCompliance.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasAdvStkCompliance.setDescription('********* THIS COMPLIANCE IS DEPRECATED ********* A compliance statement for AdvanceStack chassis devices.') hpicfChasAdvStk2Compliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 2)).setObjects(("HP-ICF-CHASSIS", "hpicfChassisBasicGroup"), ("HP-ICF-CHASSIS", "hpicfChassisAddrGroup"), ("HP-ICF-CHASSIS", "hpicfSensorGroup"), ("HP-ICF-CHASSIS", "hpicfSensorNotifyGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfChasAdvStk2Compliance = hpicfChasAdvStk2Compliance.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasAdvStk2Compliance.setDescription('********* THIS COMPLIANCE IS DEPRECATED ********* An updated compliance statement for AdvanceStack chassis devices that includes the hpicfChassisAddrGroup.') hpicfChasSensorCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 3)).setObjects(("HP-ICF-CHASSIS", "hpicfSensorGroup"), ("HP-ICF-CHASSIS", "hpicfSensorNotifyGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfChasSensorCompliance = hpicfChasSensorCompliance.setStatus('current') if mibBuilder.loadTexts: hpicfChasSensorCompliance.setDescription('A compliance statement for non-chassis devices, or chassis devices implementing a standards-based MIB for obtaining chassis information, which contain redundant power supplies or other appropriate sensors.') hpicfChasTempCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 4)).setObjects(("HP-ICF-CHASSIS", "hpicfChasTempGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfChasTempCompliance = hpicfChasTempCompliance.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasTempCompliance.setDescription(" A compliance statement for chassis's system air temperature details.") hpicfOpacityShieldsCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 5)).setObjects(("HP-ICF-CHASSIS", "hpicfOpacityShieldsGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfOpacityShieldsCompliance = hpicfOpacityShieldsCompliance.setStatus('current') if mibBuilder.loadTexts: hpicfOpacityShieldsCompliance.setDescription("A compliance statement for chassis's opacity Shield") hpicfChasTempCompliance1 = ModuleCompliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 6)).setObjects(("HP-ICF-CHASSIS", "hpicfChasTempGroup1")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfChasTempCompliance1 = hpicfChasTempCompliance1.setStatus('current') if mibBuilder.loadTexts: hpicfChasTempCompliance1.setDescription(" A compliance statement for chassis's system air temperature details.") hpicfChassisBasicGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 1)).setObjects(("HP-ICF-CHASSIS", "hpicfChassisId"), ("HP-ICF-CHASSIS", "hpicfChassisNumSlots"), ("HP-ICF-CHASSIS", "hpicfSlotIndex"), ("HP-ICF-CHASSIS", "hpicfSlotObjectId"), ("HP-ICF-CHASSIS", "hpicfSlotLastChange"), ("HP-ICF-CHASSIS", "hpicfSlotDescr"), ("HP-ICF-CHASSIS", "hpicfEntityIndex"), ("HP-ICF-CHASSIS", "hpicfEntityFunction"), ("HP-ICF-CHASSIS", "hpicfEntityObjectId"), ("HP-ICF-CHASSIS", "hpicfEntityDescr"), ("HP-ICF-CHASSIS", "hpicfEntityTimestamp"), ("HP-ICF-CHASSIS", "hpicfSlotMapSlot"), ("HP-ICF-CHASSIS", "hpicfSlotMapEntity")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfChassisBasicGroup = hpicfChassisBasicGroup.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisBasicGroup.setDescription('********* THIS GROUP IS DEPRECATED ********* A collection of objects for determining the contents of an ICF chassis device.') hpicfSensorGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 2)).setObjects(("HP-ICF-CHASSIS", "hpicfSensorIndex"), ("HP-ICF-CHASSIS", "hpicfSensorObjectId"), ("HP-ICF-CHASSIS", "hpicfSensorNumber"), ("HP-ICF-CHASSIS", "hpicfSensorStatus"), ("HP-ICF-CHASSIS", "hpicfSensorWarnings"), ("HP-ICF-CHASSIS", "hpicfSensorFailures"), ("HP-ICF-CHASSIS", "hpicfSensorDescr")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfSensorGroup = hpicfSensorGroup.setStatus('current') if mibBuilder.loadTexts: hpicfSensorGroup.setDescription('A collection of objects for monitoring the status of sensors in an ICF chassis.') hpicfChassisAddrGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 3)).setObjects(("HP-ICF-CHASSIS", "hpicfChasAddrEntity")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfChassisAddrGroup = hpicfChassisAddrGroup.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisAddrGroup.setDescription('********* THIS GROUP IS DEPRECATED ********* A collection of objects to allow a management station to determine which devices are in the same chassis.') hpicfSensorNotifyGroup = NotificationGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 4)).setObjects(("HP-ICF-CHASSIS", "hpicfSensorTrap")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfSensorNotifyGroup = hpicfSensorNotifyGroup.setStatus('current') if mibBuilder.loadTexts: hpicfSensorNotifyGroup.setDescription('A collection of notifications used to indicate changes in the status of sensors.') hpicfChasTempGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 5)).setObjects(("HP-ICF-CHASSIS", "hpSystemAirName"), ("HP-ICF-CHASSIS", "hpSystemAirCurrentTemp"), ("HP-ICF-CHASSIS", "hpSystemAirMaxTemp"), ("HP-ICF-CHASSIS", "hpSystemAirMinTemp"), ("HP-ICF-CHASSIS", "hpSystemAirThresholdTemp"), ("HP-ICF-CHASSIS", "hpSystemAirOverTemp"), ("HP-ICF-CHASSIS", "hpSystemAirAvgTemp"), ("HP-ICF-CHASSIS", "hpSystemAirEntPhysicalIndex")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfChasTempGroup = hpicfChasTempGroup.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasTempGroup.setDescription('A collection objects to give temperature details of chassis') hpicfOpacityShieldsGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 6)).setObjects(("HP-ICF-CHASSIS", "hpicfFanTrayType"), ("HP-ICF-CHASSIS", "hpicfOpacityShieldInstalled")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfOpacityShieldsGroup = hpicfOpacityShieldsGroup.setStatus('current') if mibBuilder.loadTexts: hpicfOpacityShieldsGroup.setDescription('A collection of objects for Opacity Shields of chassis') hpicfChasTempGroup1 = ObjectGroup((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 7)).setObjects(("HP-ICF-CHASSIS", "hpSystemAirName"), ("HP-ICF-CHASSIS", "hpSystemAirCurrentTemp"), ("HP-ICF-CHASSIS", "hpSystemAirMaxTemp"), ("HP-ICF-CHASSIS", "hpSystemAirMinTemp"), ("HP-ICF-CHASSIS", "hpSystemAirThresholdTemp"), ("HP-ICF-CHASSIS", "hpSystemAirOverTemp"), ("HP-ICF-CHASSIS", "hpSystemAirAvgTemp"), ("HP-ICF-CHASSIS", "hpSystemAirAvgTemp1"), ("HP-ICF-CHASSIS", "hpSystemAirEntPhysicalIndex")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicfChasTempGroup1 = hpicfChasTempGroup1.setStatus('current') if mibBuilder.loadTexts: hpicfChasTempGroup1.setDescription('A collection objects to give temperature details of chassis') mibBuilder.exportSymbols("HP-ICF-CHASSIS", hpSystemAirTempTable=hpSystemAirTempTable, hpicfSlotMapEntry=hpicfSlotMapEntry, hpicfChasTempCompliance1=hpicfChasTempCompliance1, hpicfSlotMapSlot=hpicfSlotMapSlot, hpSystemAirMinTemp=hpSystemAirMinTemp, hpicfChasAdvStkCompliance=hpicfChasAdvStkCompliance, hpicfSensorIndex=hpicfSensorIndex, hpicfChasTempCompliance=hpicfChasTempCompliance, hpicfSlotEntry=hpicfSlotEntry, hpChassisTemperature=hpChassisTemperature, hpicfChassisNumSlots=hpicfChassisNumSlots, hpicfChasTempGroup=hpicfChasTempGroup, hpicfChasTempGroup1=hpicfChasTempGroup1, hpSystemAirCurrentTemp=hpSystemAirCurrentTemp, hpicfSensorStatus=hpicfSensorStatus, hpicfSensorTable=hpicfSensorTable, hpSystemAirTempEntry=hpSystemAirTempEntry, hpicfChassisAddrGroup=hpicfChassisAddrGroup, hpicfChasSensorCompliance=hpicfChasSensorCompliance, hpicfChassisCompliances=hpicfChassisCompliances, hpicfSlotIndex=hpicfSlotIndex, hpicfChasAddrAddress=hpicfChasAddrAddress, hpicfEntityEntry=hpicfEntityEntry, hpicfEntityIndex=hpicfEntityIndex, hpSystemAirEntPhysicalIndex=hpSystemAirEntPhysicalIndex, hpicfOpacityShieldInstalled=hpicfOpacityShieldInstalled, hpicfEntityObjectId=hpicfEntityObjectId, hpicfSensorTrap=hpicfSensorTrap, hpSystemAirAvgTemp1=hpSystemAirAvgTemp1, hpicfSensorWarnings=hpicfSensorWarnings, hpicfSensorFailures=hpicfSensorFailures, hpicfSensorGroup=hpicfSensorGroup, hpicfSlotDescr=hpicfSlotDescr, hpicfEntityTable=hpicfEntityTable, hpicfSensorNotifyGroup=hpicfSensorNotifyGroup, hpSystemAirThresholdTemp=hpSystemAirThresholdTemp, hpicfFanTrayType=hpicfFanTrayType, hpSystemAirSensor=hpSystemAirSensor, hpicfOpacityShieldsCompliance=hpicfOpacityShieldsCompliance, hpicfSensorDescr=hpicfSensorDescr, hpSystemAirOverTemp=hpSystemAirOverTemp, hpSystemAirAvgTemp=hpSystemAirAvgTemp, hpicfSlotMapTable=hpicfSlotMapTable, hpicfChassisId=hpicfChassisId, hpicfChassisAddrEntry=hpicfChassisAddrEntry, hpicfChassisGroups=hpicfChassisGroups, hpicfChasAddrType=hpicfChasAddrType, hpicfChassisMib=hpicfChassisMib, hpicfSlotLastChange=hpicfSlotLastChange, hpicfSlotObjectId=hpicfSlotObjectId, hpSystemAirName=hpSystemAirName, hpicfSensorEntry=hpicfSensorEntry, hpSystemAirMaxTemp=hpSystemAirMaxTemp, PYSNMP_MODULE_ID=hpicfChassisMib, hpicfEntityFunction=hpicfEntityFunction, hpicfEntityTimestamp=hpicfEntityTimestamp, hpicfChasAddrEntity=hpicfChasAddrEntity, hpicfChassisAddrTable=hpicfChassisAddrTable, hpicfSlotMapEntity=hpicfSlotMapEntity, hpicfChasAdvStk2Compliance=hpicfChasAdvStk2Compliance, hpicfSensorNumber=hpicfSensorNumber, hpicfSlotTable=hpicfSlotTable, hpicfSensorObjectId=hpicfSensorObjectId, hpicfChassisConformance=hpicfChassisConformance, hpicfOpacityShieldsGroup=hpicfOpacityShieldsGroup, hpicfEntityDescr=hpicfEntityDescr, hpicfChassis=hpicfChassis, hpicfChassisBasicGroup=hpicfChassisBasicGroup)
(object_identifier, octet_string, integer) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'OctetString', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, single_value_constraint, value_size_constraint, value_range_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueSizeConstraint', 'ValueRangeConstraint', 'ConstraintsUnion') (physical_index,) = mibBuilder.importSymbols('ENTITY-MIB', 'PhysicalIndex') (hpicf_object_modules, hpicf_common_traps_prefix, hpicf_common) = mibBuilder.importSymbols('HP-ICF-OID', 'hpicfObjectModules', 'hpicfCommonTrapsPrefix', 'hpicfCommon') (object_group, module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'ModuleCompliance', 'NotificationGroup') (ip_address, counter32, bits, notification_type, iso, unsigned32, mib_scalar, mib_table, mib_table_row, mib_table_column, counter64, mib_identifier, gauge32, object_identity, integer32, module_identity, time_ticks) = mibBuilder.importSymbols('SNMPv2-SMI', 'IpAddress', 'Counter32', 'Bits', 'NotificationType', 'iso', 'Unsigned32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter64', 'MibIdentifier', 'Gauge32', 'ObjectIdentity', 'Integer32', 'ModuleIdentity', 'TimeTicks') (textual_convention, display_string, time_stamp, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString', 'TimeStamp', 'TruthValue') hpicf_chassis_mib = module_identity((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3)) hpicfChassisMib.setRevisions(('2013-02-10 08:47', '2011-08-25 08:47', '2010-08-25 00:00', '2009-04-22 00:00', '2000-11-03 22:16', '1997-03-06 03:34', '1996-09-10 02:45', '1995-07-13 00:00', '1994-11-20 00:00', '1993-07-09 00:00')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: hpicfChassisMib.setRevisionsDescriptions(('Added object hpSystemAirAvgTemp1,Group hpicfChasTempGroup1, Compliance hpicfChasTempCompliance1. deprecated hpSystemAirAvgTemp object, group hpicfChasTempGroup and hpicfChasTempCompliance.', 'Added new scalars hpicfFanTrayType and hpicfOpacityShieldInstalled.', 'Added hpSystemAirEntPhysicalIndex to the air temperature table.', 'Added new SNMP object and SNMP table for chassis temperature details', 'Updated division name.', 'Added NOTIFICATION-GROUP information.', 'Split this MIB module from the former monolithic hp-icf MIB. Added compliance statement for use by non-chassis devices or devices that are implementing another chassis MIB (like Entity MIB) but still want to use the hpicfSensorTable. Changed STATUS clause to deprecated for those objects that are superseded by the Entity MIB.', 'Added the hpicfSensorTrap.', 'Added the hpicfChassisAddrTable.', 'Initial version.')) if mibBuilder.loadTexts: hpicfChassisMib.setLastUpdated('201302100847Z') if mibBuilder.loadTexts: hpicfChassisMib.setOrganization('HP Networking') if mibBuilder.loadTexts: hpicfChassisMib.setContactInfo('Hewlett Packard Company 8000 Foothills Blvd. Roseville, CA 95747') if mibBuilder.loadTexts: hpicfChassisMib.setDescription('This MIB module describes chassis devices in the HP Integrated Communication Facility product line. Note that most of this module will be superseded by the standard Entity MIB. However, the hpicfSensorTable will still be valid.') hpicf_chassis = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2)) hpicf_chassis_id = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 1), octet_string().subtype(subtypeSpec=value_size_constraint(6, 6)).setFixedLength(6)).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfChassisId.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisId.setDescription('********* THIS OBJECT IS DEPRECATED ********* An identifier that uniquely identifies this particular chassis. This will be the same value as the instance of hpicfChainId for this chassis.') hpicf_chassis_num_slots = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfChassisNumSlots.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisNumSlots.setDescription('********* THIS OBJECT IS DEPRECATED ********* The number of slots in this chassis.') hpicf_slot_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3)) if mibBuilder.loadTexts: hpicfSlotTable.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotTable.setDescription('********* THIS OBJECT IS DEPRECATED ********* A table that contains information on all the slots in this chassis.') hpicf_slot_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3, 1)).setIndexNames((0, 'HP-ICF-CHASSIS', 'hpicfSlotIndex')) if mibBuilder.loadTexts: hpicfSlotEntry.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotEntry.setDescription('********* THIS OBJECT IS DEPRECATED ********* Information about a slot in a chassis') hpicf_slot_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSlotIndex.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotIndex.setDescription('********* THIS OBJECT IS DEPRECATED ********* The slot number within the box for which this entry contains information.') hpicf_slot_object_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3, 1, 2), object_identifier()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSlotObjectId.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotObjectId.setDescription('********* THIS OBJECT IS DEPRECATED ********* The authoritative identification of the card plugged into this slot in this chassis. A value of { 0 0 } indicates an empty slot.') hpicf_slot_last_change = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3, 1, 3), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSlotLastChange.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotLastChange.setDescription("********* THIS OBJECT IS DEPRECATED ********* The value of the agent's sysUpTime at which a card in this slot was last inserted or removed. If no module has been inserted or removed since the last reinitialization of the agent, this object has a zero value.") hpicf_slot_descr = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 3, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSlotDescr.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotDescr.setDescription('********* THIS OBJECT IS DEPRECATED ********* A textual description of the card plugged into this slot in this chassis, including the product number and version information.') hpicf_entity_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4)) if mibBuilder.loadTexts: hpicfEntityTable.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityTable.setDescription('********* THIS OBJECT IS DEPRECATED ********* A table that contains information about the (logical) networking devices contained in this chassis.') hpicf_entity_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1)).setIndexNames((0, 'HP-ICF-CHASSIS', 'hpicfEntityIndex')) if mibBuilder.loadTexts: hpicfEntityEntry.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityEntry.setDescription('********* THIS OBJECT IS DEPRECATED ********* Information about a single logical networking device contained in this chassis.') hpicf_entity_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfEntityIndex.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityIndex.setDescription('********* THIS OBJECT IS DEPRECATED ********* An index that uniquely identifies the logical network device for which this entry contains information.') hpicf_entity_function = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 63))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfEntityFunction.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityFunction.setDescription('********* THIS OBJECT IS DEPRECATED ********* The generic function provided by the logical network device. The value is a sum. Starting from zero, for each type of generic function that the entity performs, 2 raised to a power is added to the sum. The powers are according to the following table: Function Power other 1 repeater 0 bridge 2 router 3 agent 5 For example, an entity performing both bridging and routing functions would have a value of 12 (2^2 + 2^3).') hpicf_entity_object_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1, 3), object_identifier()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfEntityObjectId.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityObjectId.setDescription("********* THIS OBJECT IS DEPRECATED ********* The authoritative identification of the logical network device which provides an unambiguous means of determining the type of device. The value of this object is analogous to MIB-II's sysObjectId.") hpicf_entity_descr = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1, 4), display_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfEntityDescr.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityDescr.setDescription("********* THIS OBJECT IS DEPRECATED ********* A textual description of this device, including the product number and version information. The value of this object is analogous to MIB-II's sysDescr.") hpicf_entity_timestamp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 4, 1, 5), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfEntityTimestamp.setStatus('deprecated') if mibBuilder.loadTexts: hpicfEntityTimestamp.setDescription("********* THIS OBJECT IS DEPRECATED ********* The value of the agent's sysUpTime at which this logical network device was last reinitialized. If the entity has not been reinitialized since the last reinitialization of the agent, then this object has a zero value.") hpicf_slot_map_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 5)) if mibBuilder.loadTexts: hpicfSlotMapTable.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotMapTable.setDescription('********* THIS OBJECT IS DEPRECATED ********* A table that contains information about which entities are in which slots in this chassis.') hpicf_slot_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 5, 1)).setIndexNames((0, 'HP-ICF-CHASSIS', 'hpicfSlotMapSlot'), (0, 'HP-ICF-CHASSIS', 'hpicfSlotMapEntity')) if mibBuilder.loadTexts: hpicfSlotMapEntry.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotMapEntry.setDescription('********* THIS OBJECT IS DEPRECATED ********* A relationship between a slot and an entity in this chassis. Such a relationship exists if the particular slot is occupied by a physical module performing part of the function of the particular entity.') hpicf_slot_map_slot = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSlotMapSlot.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotMapSlot.setDescription('********* THIS OBJECT IS DEPRECATED ********* A slot number within the chassis which contains (part of) this entity.') hpicf_slot_map_entity = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 5, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSlotMapEntity.setStatus('deprecated') if mibBuilder.loadTexts: hpicfSlotMapEntity.setDescription('********* THIS OBJECT IS DEPRECATED ********* The entity described in this mapping.') hpicf_sensor_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6)) if mibBuilder.loadTexts: hpicfSensorTable.setStatus('current') if mibBuilder.loadTexts: hpicfSensorTable.setDescription('A table that contains information on all the sensors in this chassis') hpicf_sensor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1)).setIndexNames((0, 'HP-ICF-CHASSIS', 'hpicfSensorIndex')) if mibBuilder.loadTexts: hpicfSensorEntry.setStatus('current') if mibBuilder.loadTexts: hpicfSensorEntry.setDescription('Information about a sensor in a chassis') hpicf_sensor_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 2147483647))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSensorIndex.setStatus('current') if mibBuilder.loadTexts: hpicfSensorIndex.setDescription('An index that uniquely identifies the sensor for which this entry contains information.') hpicf_sensor_object_id = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 2), object_identifier()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSensorObjectId.setStatus('current') if mibBuilder.loadTexts: hpicfSensorObjectId.setDescription('The authoritative identification of the kind of sensor this is.') hpicf_sensor_number = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSensorNumber.setStatus('current') if mibBuilder.loadTexts: hpicfSensorNumber.setDescription('A number which identifies a particular sensor from other sensors of the same kind. For instance, if there are many temperature sensors in this chassis, this number would identify a particular temperature sensor in this chassis.') hpicf_sensor_status = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('unknown', 1), ('bad', 2), ('warning', 3), ('good', 4), ('notPresent', 5)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSensorStatus.setStatus('current') if mibBuilder.loadTexts: hpicfSensorStatus.setDescription('Actual status indicated by the sensor.') hpicf_sensor_warnings = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 5), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSensorWarnings.setStatus('current') if mibBuilder.loadTexts: hpicfSensorWarnings.setDescription("The number of times hpicfSensorStatus has entered the 'warning'(3) state.") hpicf_sensor_failures = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 6), counter32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSensorFailures.setStatus('current') if mibBuilder.loadTexts: hpicfSensorFailures.setDescription("The number of times hpicfSensorStatus has entered the 'bad'(2) state.") hpicf_sensor_descr = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 6, 1, 7), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfSensorDescr.setStatus('current') if mibBuilder.loadTexts: hpicfSensorDescr.setDescription('A textual description of the sensor.') hpicf_chassis_addr_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 7)) if mibBuilder.loadTexts: hpicfChassisAddrTable.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisAddrTable.setDescription('********* THIS OBJECT IS DEPRECATED ********* A table of network addresses for entities in this chassis. The primary use of this table is to map a specific entity address to a specific chassis. Note that this table may not be a complete list of network addresses for this entity.') hpicf_chassis_addr_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 7, 1)).setIndexNames((0, 'HP-ICF-CHASSIS', 'hpicfChasAddrType'), (0, 'HP-ICF-CHASSIS', 'hpicfChasAddrAddress')) if mibBuilder.loadTexts: hpicfChassisAddrEntry.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisAddrEntry.setDescription('********* THIS OBJECT IS DEPRECATED ********* An entry containing a single network address being used by a logical network device in this chassis.') hpicf_chas_addr_type = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 7, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('ipAddr', 1), ('ipxAddr', 2), ('macAddr', 3)))) if mibBuilder.loadTexts: hpicfChasAddrType.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasAddrType.setDescription('********* THIS OBJECT IS DEPRECATED ********* The kind of network address represented in this entry.') hpicf_chas_addr_address = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 7, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(4, 10))) if mibBuilder.loadTexts: hpicfChasAddrAddress.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasAddrAddress.setDescription('********* THIS OBJECT IS DEPRECATED ********* The network address being used by the logical network device associated with this entry, formatted according to the value of the associated instance of hpicfChasAddrType. For hpicfChasAddrType of ipAddr, this value is four octets long, with each octet representing one byte of the IP address, in network byte order. For hpicfChasAddrType of ipxAddr, this value is ten octets long, with the first four octets representing the IPX network number in network byte order, followed by the six byte host number in network byte order. For hpicfChasAddrType of macAddr, this value is six octets long, representing the MAC address in canonical order.') hpicf_chas_addr_entity = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 7, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(1, 16))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfChasAddrEntity.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasAddrEntity.setDescription('********* THIS OBJECT IS DEPRECATED ********* An index that uniquely identifies the logical network device in this chassis that is using this network address..') hp_chassis_temperature = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8)) hp_system_air_temp_table = mib_table((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1)) if mibBuilder.loadTexts: hpSystemAirTempTable.setStatus('current') if mibBuilder.loadTexts: hpSystemAirTempTable.setDescription('This table gives the temperature details of chassis. These temperature details are obtained by monitoring chassis temperature sensors attached to the box by excluding ManagementModule, FabricModule, IMand PowerSupply sensors. This will give current, maximum,minimum,threshold and average temperatures of chassis.') hp_system_air_temp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1)).setIndexNames((0, 'HP-ICF-CHASSIS', 'hpSystemAirSensor')) if mibBuilder.loadTexts: hpSystemAirTempEntry.setStatus('current') if mibBuilder.loadTexts: hpSystemAirTempEntry.setDescription('This is the table for chassis temperature details.') hp_system_air_sensor = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2147483647))) if mibBuilder.loadTexts: hpSystemAirSensor.setStatus('current') if mibBuilder.loadTexts: hpSystemAirSensor.setDescription('This is the index for this table.This object describes chassis attached temperature sensor. Based on the value of this index, temperature details are obtained from the sensor and are given.') hp_system_air_name = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 2), octet_string().subtype(subtypeSpec=value_size_constraint(1, 20))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpSystemAirName.setStatus('current') if mibBuilder.loadTexts: hpSystemAirName.setDescription("This object describes name of the system which is chassis attached temperature sensor number. For example if the index (hpSystemAirSensor) is '0' then the system name is sys-1. Index starts from '0' but sensor number is '1'.") hp_system_air_current_temp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(1, 6))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpSystemAirCurrentTemp.setStatus('current') if mibBuilder.loadTexts: hpSystemAirCurrentTemp.setDescription('This object gives current temperature of the system. This is the current temperature given by the indexed chassis attached temperature sensor on box.') hp_system_air_max_temp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 4), octet_string().subtype(subtypeSpec=value_size_constraint(1, 6))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpSystemAirMaxTemp.setStatus('current') if mibBuilder.loadTexts: hpSystemAirMaxTemp.setDescription('This object gives Maximum temperature of the chassis.') hp_system_air_min_temp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 5), octet_string().subtype(subtypeSpec=value_size_constraint(1, 6))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpSystemAirMinTemp.setStatus('current') if mibBuilder.loadTexts: hpSystemAirMinTemp.setDescription('This object gives Minimum temperature of the chassis.') hp_system_air_over_temp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('yes', 1), ('no', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpSystemAirOverTemp.setStatus('current') if mibBuilder.loadTexts: hpSystemAirOverTemp.setDescription('This object gives Over temperature of the system. If the current temperature of the board is above threshold temperature and if board stays at this temperature for 10 full seconds then its called over temperature.') hp_system_air_threshold_temp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 7), octet_string().subtype(subtypeSpec=value_size_constraint(1, 6))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpSystemAirThresholdTemp.setStatus('current') if mibBuilder.loadTexts: hpSystemAirThresholdTemp.setDescription('This object gives Threshold temperature of the system. This is the utmost temperature that the chassis can sustain. If chassis temperature is above threshold then alarm will ring to inform over temperature condition.') hp_system_air_avg_temp = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 8), octet_string().subtype(subtypeSpec=value_size_constraint(1, 5))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpSystemAirAvgTemp.setStatus('deprecated') if mibBuilder.loadTexts: hpSystemAirAvgTemp.setDescription('This object gives Average temperature of the system. There will be some roll up function which will check current temperature at particular intervals. Based on these current temperatures over certain time, average temperature is calculated.') hp_system_air_ent_physical_index = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 9), physical_index()).setMaxAccess('readonly') if mibBuilder.loadTexts: hpSystemAirEntPhysicalIndex.setStatus('current') if mibBuilder.loadTexts: hpSystemAirEntPhysicalIndex.setDescription('This gives the entPhysicalIndex of the temperature sensor as in the entPhysicalTable (rfc2737).') hp_system_air_avg_temp1 = mib_table_column((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 8, 1, 1, 10), octet_string().subtype(subtypeSpec=value_size_constraint(1, 6))).setMaxAccess('readonly') if mibBuilder.loadTexts: hpSystemAirAvgTemp1.setStatus('current') if mibBuilder.loadTexts: hpSystemAirAvgTemp1.setDescription('This object gives Average temperature of the system. There will be some roll up function which will check current temperature at particular intervals. Based on these current temperatures over certain time, average temperature is calculated.') hpicf_fan_tray_type = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('standard', 1), ('highPerformance', 2))).clone('standard')).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfFanTrayType.setStatus('current') if mibBuilder.loadTexts: hpicfFanTrayType.setDescription('If opacity shield is installed hpicsFanTrayType should be HighPerformance. This is applicable only for 5406 5412 8212 and 8206 Switches.') hpicf_opacity_shield_installed = mib_scalar((1, 3, 6, 1, 4, 1, 11, 2, 14, 11, 1, 2, 10), truth_value().clone('false')).setMaxAccess('readonly') if mibBuilder.loadTexts: hpicfOpacityShieldInstalled.setStatus('current') if mibBuilder.loadTexts: hpicfOpacityShieldInstalled.setDescription('It indicates that Opacity shield is Installed on the switch. This is applicable only for 5406,5412, 8212 and 8206 Switches.') hpicf_sensor_trap = notification_type((1, 3, 6, 1, 4, 1, 11, 2, 14, 12, 1, 0, 3)).setObjects(('HP-ICF-CHASSIS', 'hpicfSensorStatus'), ('HP-ICF-CHASSIS', 'hpicfSensorDescr')) if mibBuilder.loadTexts: hpicfSensorTrap.setStatus('current') if mibBuilder.loadTexts: hpicfSensorTrap.setDescription('An hpicfSensorTrap indicates that there has been a change of state on one of the sensors in this chassis. The hpicfSensorStatus indicates the new status value for the changed sensor.') hpicf_chassis_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1)) hpicf_chassis_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1)) hpicf_chassis_groups = mib_identifier((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2)) hpicf_chas_adv_stk_compliance = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 1)).setObjects(('HP-ICF-CHASSIS', 'hpicfChassisBasicGroup'), ('HP-ICF-CHASSIS', 'hpicfSensorGroup'), ('HP-ICF-CHASSIS', 'hpicfSensorNotifyGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_chas_adv_stk_compliance = hpicfChasAdvStkCompliance.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasAdvStkCompliance.setDescription('********* THIS COMPLIANCE IS DEPRECATED ********* A compliance statement for AdvanceStack chassis devices.') hpicf_chas_adv_stk2_compliance = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 2)).setObjects(('HP-ICF-CHASSIS', 'hpicfChassisBasicGroup'), ('HP-ICF-CHASSIS', 'hpicfChassisAddrGroup'), ('HP-ICF-CHASSIS', 'hpicfSensorGroup'), ('HP-ICF-CHASSIS', 'hpicfSensorNotifyGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_chas_adv_stk2_compliance = hpicfChasAdvStk2Compliance.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasAdvStk2Compliance.setDescription('********* THIS COMPLIANCE IS DEPRECATED ********* An updated compliance statement for AdvanceStack chassis devices that includes the hpicfChassisAddrGroup.') hpicf_chas_sensor_compliance = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 3)).setObjects(('HP-ICF-CHASSIS', 'hpicfSensorGroup'), ('HP-ICF-CHASSIS', 'hpicfSensorNotifyGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_chas_sensor_compliance = hpicfChasSensorCompliance.setStatus('current') if mibBuilder.loadTexts: hpicfChasSensorCompliance.setDescription('A compliance statement for non-chassis devices, or chassis devices implementing a standards-based MIB for obtaining chassis information, which contain redundant power supplies or other appropriate sensors.') hpicf_chas_temp_compliance = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 4)).setObjects(('HP-ICF-CHASSIS', 'hpicfChasTempGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_chas_temp_compliance = hpicfChasTempCompliance.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasTempCompliance.setDescription(" A compliance statement for chassis's system air temperature details.") hpicf_opacity_shields_compliance = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 5)).setObjects(('HP-ICF-CHASSIS', 'hpicfOpacityShieldsGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_opacity_shields_compliance = hpicfOpacityShieldsCompliance.setStatus('current') if mibBuilder.loadTexts: hpicfOpacityShieldsCompliance.setDescription("A compliance statement for chassis's opacity Shield") hpicf_chas_temp_compliance1 = module_compliance((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 1, 6)).setObjects(('HP-ICF-CHASSIS', 'hpicfChasTempGroup1')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_chas_temp_compliance1 = hpicfChasTempCompliance1.setStatus('current') if mibBuilder.loadTexts: hpicfChasTempCompliance1.setDescription(" A compliance statement for chassis's system air temperature details.") hpicf_chassis_basic_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 1)).setObjects(('HP-ICF-CHASSIS', 'hpicfChassisId'), ('HP-ICF-CHASSIS', 'hpicfChassisNumSlots'), ('HP-ICF-CHASSIS', 'hpicfSlotIndex'), ('HP-ICF-CHASSIS', 'hpicfSlotObjectId'), ('HP-ICF-CHASSIS', 'hpicfSlotLastChange'), ('HP-ICF-CHASSIS', 'hpicfSlotDescr'), ('HP-ICF-CHASSIS', 'hpicfEntityIndex'), ('HP-ICF-CHASSIS', 'hpicfEntityFunction'), ('HP-ICF-CHASSIS', 'hpicfEntityObjectId'), ('HP-ICF-CHASSIS', 'hpicfEntityDescr'), ('HP-ICF-CHASSIS', 'hpicfEntityTimestamp'), ('HP-ICF-CHASSIS', 'hpicfSlotMapSlot'), ('HP-ICF-CHASSIS', 'hpicfSlotMapEntity')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_chassis_basic_group = hpicfChassisBasicGroup.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisBasicGroup.setDescription('********* THIS GROUP IS DEPRECATED ********* A collection of objects for determining the contents of an ICF chassis device.') hpicf_sensor_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 2)).setObjects(('HP-ICF-CHASSIS', 'hpicfSensorIndex'), ('HP-ICF-CHASSIS', 'hpicfSensorObjectId'), ('HP-ICF-CHASSIS', 'hpicfSensorNumber'), ('HP-ICF-CHASSIS', 'hpicfSensorStatus'), ('HP-ICF-CHASSIS', 'hpicfSensorWarnings'), ('HP-ICF-CHASSIS', 'hpicfSensorFailures'), ('HP-ICF-CHASSIS', 'hpicfSensorDescr')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_sensor_group = hpicfSensorGroup.setStatus('current') if mibBuilder.loadTexts: hpicfSensorGroup.setDescription('A collection of objects for monitoring the status of sensors in an ICF chassis.') hpicf_chassis_addr_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 3)).setObjects(('HP-ICF-CHASSIS', 'hpicfChasAddrEntity')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_chassis_addr_group = hpicfChassisAddrGroup.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChassisAddrGroup.setDescription('********* THIS GROUP IS DEPRECATED ********* A collection of objects to allow a management station to determine which devices are in the same chassis.') hpicf_sensor_notify_group = notification_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 4)).setObjects(('HP-ICF-CHASSIS', 'hpicfSensorTrap')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_sensor_notify_group = hpicfSensorNotifyGroup.setStatus('current') if mibBuilder.loadTexts: hpicfSensorNotifyGroup.setDescription('A collection of notifications used to indicate changes in the status of sensors.') hpicf_chas_temp_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 5)).setObjects(('HP-ICF-CHASSIS', 'hpSystemAirName'), ('HP-ICF-CHASSIS', 'hpSystemAirCurrentTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirMaxTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirMinTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirThresholdTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirOverTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirAvgTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirEntPhysicalIndex')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_chas_temp_group = hpicfChasTempGroup.setStatus('deprecated') if mibBuilder.loadTexts: hpicfChasTempGroup.setDescription('A collection objects to give temperature details of chassis') hpicf_opacity_shields_group = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 6)).setObjects(('HP-ICF-CHASSIS', 'hpicfFanTrayType'), ('HP-ICF-CHASSIS', 'hpicfOpacityShieldInstalled')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_opacity_shields_group = hpicfOpacityShieldsGroup.setStatus('current') if mibBuilder.loadTexts: hpicfOpacityShieldsGroup.setDescription('A collection of objects for Opacity Shields of chassis') hpicf_chas_temp_group1 = object_group((1, 3, 6, 1, 4, 1, 11, 2, 14, 10, 2, 3, 1, 2, 7)).setObjects(('HP-ICF-CHASSIS', 'hpSystemAirName'), ('HP-ICF-CHASSIS', 'hpSystemAirCurrentTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirMaxTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirMinTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirThresholdTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirOverTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirAvgTemp'), ('HP-ICF-CHASSIS', 'hpSystemAirAvgTemp1'), ('HP-ICF-CHASSIS', 'hpSystemAirEntPhysicalIndex')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): hpicf_chas_temp_group1 = hpicfChasTempGroup1.setStatus('current') if mibBuilder.loadTexts: hpicfChasTempGroup1.setDescription('A collection objects to give temperature details of chassis') mibBuilder.exportSymbols('HP-ICF-CHASSIS', hpSystemAirTempTable=hpSystemAirTempTable, hpicfSlotMapEntry=hpicfSlotMapEntry, hpicfChasTempCompliance1=hpicfChasTempCompliance1, hpicfSlotMapSlot=hpicfSlotMapSlot, hpSystemAirMinTemp=hpSystemAirMinTemp, hpicfChasAdvStkCompliance=hpicfChasAdvStkCompliance, hpicfSensorIndex=hpicfSensorIndex, hpicfChasTempCompliance=hpicfChasTempCompliance, hpicfSlotEntry=hpicfSlotEntry, hpChassisTemperature=hpChassisTemperature, hpicfChassisNumSlots=hpicfChassisNumSlots, hpicfChasTempGroup=hpicfChasTempGroup, hpicfChasTempGroup1=hpicfChasTempGroup1, hpSystemAirCurrentTemp=hpSystemAirCurrentTemp, hpicfSensorStatus=hpicfSensorStatus, hpicfSensorTable=hpicfSensorTable, hpSystemAirTempEntry=hpSystemAirTempEntry, hpicfChassisAddrGroup=hpicfChassisAddrGroup, hpicfChasSensorCompliance=hpicfChasSensorCompliance, hpicfChassisCompliances=hpicfChassisCompliances, hpicfSlotIndex=hpicfSlotIndex, hpicfChasAddrAddress=hpicfChasAddrAddress, hpicfEntityEntry=hpicfEntityEntry, hpicfEntityIndex=hpicfEntityIndex, hpSystemAirEntPhysicalIndex=hpSystemAirEntPhysicalIndex, hpicfOpacityShieldInstalled=hpicfOpacityShieldInstalled, hpicfEntityObjectId=hpicfEntityObjectId, hpicfSensorTrap=hpicfSensorTrap, hpSystemAirAvgTemp1=hpSystemAirAvgTemp1, hpicfSensorWarnings=hpicfSensorWarnings, hpicfSensorFailures=hpicfSensorFailures, hpicfSensorGroup=hpicfSensorGroup, hpicfSlotDescr=hpicfSlotDescr, hpicfEntityTable=hpicfEntityTable, hpicfSensorNotifyGroup=hpicfSensorNotifyGroup, hpSystemAirThresholdTemp=hpSystemAirThresholdTemp, hpicfFanTrayType=hpicfFanTrayType, hpSystemAirSensor=hpSystemAirSensor, hpicfOpacityShieldsCompliance=hpicfOpacityShieldsCompliance, hpicfSensorDescr=hpicfSensorDescr, hpSystemAirOverTemp=hpSystemAirOverTemp, hpSystemAirAvgTemp=hpSystemAirAvgTemp, hpicfSlotMapTable=hpicfSlotMapTable, hpicfChassisId=hpicfChassisId, hpicfChassisAddrEntry=hpicfChassisAddrEntry, hpicfChassisGroups=hpicfChassisGroups, hpicfChasAddrType=hpicfChasAddrType, hpicfChassisMib=hpicfChassisMib, hpicfSlotLastChange=hpicfSlotLastChange, hpicfSlotObjectId=hpicfSlotObjectId, hpSystemAirName=hpSystemAirName, hpicfSensorEntry=hpicfSensorEntry, hpSystemAirMaxTemp=hpSystemAirMaxTemp, PYSNMP_MODULE_ID=hpicfChassisMib, hpicfEntityFunction=hpicfEntityFunction, hpicfEntityTimestamp=hpicfEntityTimestamp, hpicfChasAddrEntity=hpicfChasAddrEntity, hpicfChassisAddrTable=hpicfChassisAddrTable, hpicfSlotMapEntity=hpicfSlotMapEntity, hpicfChasAdvStk2Compliance=hpicfChasAdvStk2Compliance, hpicfSensorNumber=hpicfSensorNumber, hpicfSlotTable=hpicfSlotTable, hpicfSensorObjectId=hpicfSensorObjectId, hpicfChassisConformance=hpicfChassisConformance, hpicfOpacityShieldsGroup=hpicfOpacityShieldsGroup, hpicfEntityDescr=hpicfEntityDescr, hpicfChassis=hpicfChassis, hpicfChassisBasicGroup=hpicfChassisBasicGroup)
"""Gets the digging in sentences that are non-blocking, since the other ones were not included in Futrell et al 2019""" i =0 lines = [] for line in open("../unkified_digging_in_sentences.txt"): if i < 93: lines.append(line) if i >= 186 and i < 279: lines.append(line) i += 1 for line in lines: with open("../relevant_digging_in_sentences.txt", "a") as f: f.write(line)
"""Gets the digging in sentences that are non-blocking, since the other ones were not included in Futrell et al 2019""" i = 0 lines = [] for line in open('../unkified_digging_in_sentences.txt'): if i < 93: lines.append(line) if i >= 186 and i < 279: lines.append(line) i += 1 for line in lines: with open('../relevant_digging_in_sentences.txt', 'a') as f: f.write(line)
class C(Exception): pass try: raise C except C: print("caught exception")
class C(Exception): pass try: raise C except C: print('caught exception')
for i in range(2,21): with open(f"Tables/ Table of {i}","w") as f: for j in range(1,11): f.write(f"{i} X {j} ={i*j}") if j!=10: f.write("\n")
for i in range(2, 21): with open(f'Tables/ Table of {i}', 'w') as f: for j in range(1, 11): f.write(f'{i} X {j} ={i * j}') if j != 10: f.write('\n')
# Example configuration file # Debug mode DEBUG = False # host and port. 127.0.0.1 will only serve locally - set to 0.0.0.0 (or iface IP) to have available externally. HOST = '0.0.0.0' PORT = 8765 # Secret key. This ensures only approved applications can use this. YOU MUST CHANGE THIS VALUE TO YOUR OWN SECRET! # Note that this is only as secure as your communication chanel. If security is an issue, ensure all traffic # goes over HTTPS. SECRET = '8ba6d280d4ce9a416e9b604f3f0ebb' # Database to store request log, error log and statistics. URL as per # http://docs.sqlalchemy.org/en/latest/core/engines.html#database-urls # This is opened multiple times, so you can not use sqlite:///:memory: STATS_DB = 'sqlite:////var/lib/ckanpackager/stats.db' # Celery (message queue) broker. See http://celery.readthedocs.org/en/latest/getting-started/first-steps-with-celery.html#choosing-a-broker # Defaults to 'redis://localhost:6379/0' . To test this (but not for production) # you can use sqlite with 'sqla+sqlite:////tmp/celery.db' CELERY_BROKER = 'redis://localhost:6379/0' # Directory where the zip files are stored STORE_DIRECTORY = "/var/www/ckanpackager/resources" # Temp Directory used when creating the files TEMP_DIRECTORY = "/tmp" # Amount of time (in seconds) for which a specific request (matching same parameters) is cached. This will always be at # least 1s. CACHE_TIME = 60*60*24 # Page Size. Number of rows to fetch in a single CKAN request. Note that CKAN will timeout requests at 60s, so make sure # to stay comfortably below that line. PAGE_SIZE = 5000 # Slow request. Number of rows from which a request will be assumed to be slow, # and put on the slow queue. SLOW_REQUEST = 10000 # Shell command used to zip the file. {input} gets replaced by the input file name, and {output} by the output file # name. You do not need to put quotes around those. ZIP_COMMAND = "/usr/bin/zip -j {output} {input}" # Message sent back when returning success SUCCESS_MESSAGE = "The resource will be emailed to you shortly. This make take a little longer if our servers are busy, so please be patient!" # Email subject line. Available placeholders: # {resource_id}: The resource id, # {zip_file_name}: The file name, # {ckan_host}: The hostname of the CKAN server the query was made to, # {doi}: The DOI for this download, if there is one (if the DOI is missing, this will be blank) # {doi_body}: The result of formatting the DOI_BODY below with these placeholders (if the DOI is missing, will be blank) EMAIL_SUBJECT = "Resource from {ckan_host}" # Email FROM line. See Email subject for placeholders. EMAIL_FROM = "(nobody)" # Email body. See Email subject for placeholders. EMAIL_BODY = """Hello, The link to the resource you requested on {ckan_host} is available at: http://www.example.com/resources/{zip_file_name} {doi_body} Best Wishes, The Data Portal Bot """ # DOI body. See Email subject for placeholders. DOI_BODY = """A DOI has been created for this data: https://doi.org/{doi} (this may take a few hours to become active). Please ensure you reference this DOI when citing this data. For more information, follow the DOI link. """ # SMTP host SMTP_HOST = 'smtp.example.com' # SMTP port SMTP_PORT = 25 # SMTP username (Optional, if required) #SMTP_LOGIN = '' # SMTP password (Optional, if required) #SMTP_PASSWORD = '' # # Following configuration options are for the generation of DarwinCore Archives # # Define the field from the ckan result that will be used as an internal # identifier for each row within the archive. DWC_ID_FIELD = '_id' # Define the core extension, which specifies what type of information the archive # contains. All the fields returned from ckan will be matched into this extension # if possible (name, or camel cased version of the name, must match). DWC_CORE_EXTENSION = '/etc/ckanpackager/gbif_dwca_extensions/core/dwc_occurrence.xml' # Define additional extensions. All the fields returned from ckan which cannot be # matched into the core extension will attempt to match into one of the # additional extensions. DWC_ADDITIONAL_EXTENSIONS = [] # Define a dynamic field on the core extension used to store (as a JSON object) # all the ckan fields that could not be matched into an extension DWC_DYNAMIC_TERM = 'dynamicProperties' # Define a list of ckan fields which will contain a JSON list of objects, such # that each object is a row in a separate extension. This can be used to create # many to one relationships to the core extension. For each such field, we must # define the extension AND the list of expected fields with default values # should they be missing. (we could not, otherwise, get this without first # parsing the whole result set). Additional fields will be ignored silently. DWC_EXTENSION_FIELDS = { 'associatedMedia': { 'extension': '/etc/ckanpackager/gbif_dwca_extensions/extensions/multimedia.xml', 'fields': { 'type': 'StillImage', 'format': 'image/jpeg', 'identifier': '', 'title': '', 'license': 'http://creativecommons.org/licenses/by/4.0/', 'rightsHolder': '' }, # this defines a mapping from DwC extension term name to the field name used # in the datastore search result (i.e. associatedMedia.mime -> format 'mappings': { # in the associatedMedia field that comes back from solr, the # format is stored under the key mime 'format': 'mime' }, # this defines formatting functions that should be used on any given terms 'formatters': { # the format needs to start with image/ 'format': lambda v: 'image/{}'.format(v) if v else v } } }
debug = False host = '0.0.0.0' port = 8765 secret = '8ba6d280d4ce9a416e9b604f3f0ebb' stats_db = 'sqlite:////var/lib/ckanpackager/stats.db' celery_broker = 'redis://localhost:6379/0' store_directory = '/var/www/ckanpackager/resources' temp_directory = '/tmp' cache_time = 60 * 60 * 24 page_size = 5000 slow_request = 10000 zip_command = '/usr/bin/zip -j {output} {input}' success_message = 'The resource will be emailed to you shortly. This make take a little longer if our servers are busy, so please be patient!' email_subject = 'Resource from {ckan_host}' email_from = '(nobody)' email_body = 'Hello,\n\nThe link to the resource you requested on {ckan_host} is available at:\nhttp://www.example.com/resources/{zip_file_name}\n\n{doi_body}\n\nBest Wishes,\nThe Data Portal Bot\n' doi_body = 'A DOI has been created for this data: https://doi.org/{doi} (this may take a few hours to become active).\nPlease ensure you reference this DOI when citing this data.\nFor more information, follow the DOI link.\n' smtp_host = 'smtp.example.com' smtp_port = 25 dwc_id_field = '_id' dwc_core_extension = '/etc/ckanpackager/gbif_dwca_extensions/core/dwc_occurrence.xml' dwc_additional_extensions = [] dwc_dynamic_term = 'dynamicProperties' dwc_extension_fields = {'associatedMedia': {'extension': '/etc/ckanpackager/gbif_dwca_extensions/extensions/multimedia.xml', 'fields': {'type': 'StillImage', 'format': 'image/jpeg', 'identifier': '', 'title': '', 'license': 'http://creativecommons.org/licenses/by/4.0/', 'rightsHolder': ''}, 'mappings': {'format': 'mime'}, 'formatters': {'format': lambda v: 'image/{}'.format(v) if v else v}}}
b = False e = "Hello world" while b: print(b) d = True while d: print(d and False) print(d and True) print("hello")
b = False e = 'Hello world' while b: print(b) d = True while d: print(d and False) print(d and True) print('hello')
# Please do not any airflow imports in this file # We want to allow importing constants from this file without any side effects # Do not change this name unless you change the same constant in monitor_as_dag.py in dbnd-airflow-monitor MONITOR_DAG_NAME = "databand_airflow_monitor"
monitor_dag_name = 'databand_airflow_monitor'
data = input().split() x = int(data[0]) y = int(data[1]) limit = int(data[2]) for value in range(1,limit+1): output = "" if value % x == 0: output += "Fizz" if value % y == 0: output += "Buzz" if output == "": print(value) else: print(output)
data = input().split() x = int(data[0]) y = int(data[1]) limit = int(data[2]) for value in range(1, limit + 1): output = '' if value % x == 0: output += 'Fizz' if value % y == 0: output += 'Buzz' if output == '': print(value) else: print(output)
limit=int(input("enter the limit")) sum=0 for i in range(1,limit+1,1) : if(i % 2== 0 ): print("even no is",i) sum=sum+i print(sum)
limit = int(input('enter the limit')) sum = 0 for i in range(1, limit + 1, 1): if i % 2 == 0: print('even no is', i) sum = sum + i print(sum)
# -*- coding: utf-8 -*- # the __all__ is generated __all__ = [] # __init__.py structure: # common code of the package # export interface in __all__ which contains __all__ of its sub modules # import all from submodule quote # from .quote import * # from .quote import __all__ as _quote_all # __all__ += _quote_all # # import all from submodule stats # from .stats import * # from .stats import __all__ as _stats_all # __all__ += _stats_all # # import all from submodule trader_info_api # from .trader_info_api import * # from .trader_info_api import __all__ as _trader_info_api_all # __all__ += _trader_info_api_all
__all__ = []
def war(Naomi_w, Ken_w): Naomi_wins = 0 while len(Naomi_w) > 0: for X in Naomi_w: temp = [] done = 0 Chosen_Naomi = X Told_Naomi = X for i in Ken_w: if i > X: temp.append((i, i - X)) done = 1 if done == 0: Chosen_Ken = min(Ken_w) Naomi_wins += 1 else: Chosen_Ken = min(temp)[0] Naomi_w.remove(X) Ken_w.remove(Chosen_Ken) return Naomi_wins def deceit(Naomi, Ken): Naomi_deceits = 0 while len(Naomi) > 1: temp = [] done = 0 ##Naomi choosing and telling if Naomi[0] > Ken[0]: Chosen_Naomi = Naomi[0] Told_Naomi = Ken[-1]+0.0000001 else: Chosen_Naomi = Naomi[0] Told_Naomi = Ken[-2] + (Ken[-1]-Ken[-2])/2 ##Ken choosing for i in Ken: if i > Told_Naomi: temp.append((i, i - Told_Naomi)) done = 1 if done == 0: Chosen_Ken = min(Ken) else: Chosen_Ken = min(temp)[0] print("Naomi: " + str(Chosen_Naomi) + "\t Ken: " + str(Chosen_Ken)) if Chosen_Naomi > Chosen_Ken: Naomi_deceits += 1 Naomi.remove(Chosen_Naomi) Ken.remove(Chosen_Ken) ## For two blocks left Chosen_Naomi = Naomi[0] Chosen_Ken = Ken[0] if Chosen_Naomi > Chosen_Ken: Naomi_deceits += 1 return Naomi_deceits def deceitful_war(filename): file = open(filename) out = open("output.txt", "w+") testcases = int(file.readline()) for test in range(0, testcases): blocks = int(file.readline()) Naomi = file.readline().split(' ') Ken = file.readline().split(' ') Naomi_w = [] Ken_w = [] for i in range(0, blocks): Naomi[i] = float(Naomi[i]) Ken[i] = float(Ken[i]) Naomi_w.append(Naomi[i]) Ken_w.append(Ken[i]) Naomi.sort() Ken.sort() Naomi_wins = war(Naomi_w, Ken_w) Naomi_deceits = deceit(Naomi, Ken) final = ("Case #" + str(test+1) + ": " + str(Naomi_deceits) + " " + str(Naomi_wins) + "\n") print(final) out.write(final) file.close() out.close()
def war(Naomi_w, Ken_w): naomi_wins = 0 while len(Naomi_w) > 0: for x in Naomi_w: temp = [] done = 0 chosen__naomi = X told__naomi = X for i in Ken_w: if i > X: temp.append((i, i - X)) done = 1 if done == 0: chosen__ken = min(Ken_w) naomi_wins += 1 else: chosen__ken = min(temp)[0] Naomi_w.remove(X) Ken_w.remove(Chosen_Ken) return Naomi_wins def deceit(Naomi, Ken): naomi_deceits = 0 while len(Naomi) > 1: temp = [] done = 0 if Naomi[0] > Ken[0]: chosen__naomi = Naomi[0] told__naomi = Ken[-1] + 1e-07 else: chosen__naomi = Naomi[0] told__naomi = Ken[-2] + (Ken[-1] - Ken[-2]) / 2 for i in Ken: if i > Told_Naomi: temp.append((i, i - Told_Naomi)) done = 1 if done == 0: chosen__ken = min(Ken) else: chosen__ken = min(temp)[0] print('Naomi: ' + str(Chosen_Naomi) + '\t Ken: ' + str(Chosen_Ken)) if Chosen_Naomi > Chosen_Ken: naomi_deceits += 1 Naomi.remove(Chosen_Naomi) Ken.remove(Chosen_Ken) chosen__naomi = Naomi[0] chosen__ken = Ken[0] if Chosen_Naomi > Chosen_Ken: naomi_deceits += 1 return Naomi_deceits def deceitful_war(filename): file = open(filename) out = open('output.txt', 'w+') testcases = int(file.readline()) for test in range(0, testcases): blocks = int(file.readline()) naomi = file.readline().split(' ') ken = file.readline().split(' ') naomi_w = [] ken_w = [] for i in range(0, blocks): Naomi[i] = float(Naomi[i]) Ken[i] = float(Ken[i]) Naomi_w.append(Naomi[i]) Ken_w.append(Ken[i]) Naomi.sort() Ken.sort() naomi_wins = war(Naomi_w, Ken_w) naomi_deceits = deceit(Naomi, Ken) final = 'Case #' + str(test + 1) + ': ' + str(Naomi_deceits) + ' ' + str(Naomi_wins) + '\n' print(final) out.write(final) file.close() out.close()
#!/usr/bin/env python3 """Convert arabic numbers to roman numbers. Title: Roman Number Generator Description: Develop a program that accepts an integer and outputs the Roman Number equivalent of that number. Examples: 4 - IV 12 - XII 20 - XX Submitted by SoReNa """ def arabic_to_roman(number: int) -> str: """Return roman version of the specified arabic number.""" if number > 3999: raise ValueError(f"Number can not be represented with roman numerals: " f"{number}") roman_number = "" for index, digit in enumerate(reversed(str(number))): if index == 0: first = "I" fifth = "V" tenth = "X" elif index == 1: first = "X" fifth = "L" tenth = "C" elif index == 2: first = "C" fifth = "D" tenth = "M" elif index == 3: first = "M" fifth = "" tenth = "" else: raise ValueError(f"Invalid input: {number}") if digit == "0": continue elif digit == "1": roman_number = first + roman_number elif digit == "2": roman_number = first * 2 + roman_number elif digit == "3": roman_number = first * 3 + roman_number elif digit == "4": roman_number = first + fifth + roman_number elif digit == "5": roman_number = fifth + roman_number elif digit == "6": roman_number = fifth + first + roman_number elif digit == "7": roman_number = fifth + first * 2 + roman_number elif digit == "8": roman_number = fifth + first * 3 + roman_number elif digit == "9": roman_number = first + tenth + roman_number return roman_number def _start_interactively(): """Start the program interactively through the command line.""" while True: number = int(input("Please type in the number " "you want to convert: ")) print(arabic_to_roman(number)) print("") if __name__ == "__main__": _start_interactively()
"""Convert arabic numbers to roman numbers. Title: Roman Number Generator Description: Develop a program that accepts an integer and outputs the Roman Number equivalent of that number. Examples: 4 - IV 12 - XII 20 - XX Submitted by SoReNa """ def arabic_to_roman(number: int) -> str: """Return roman version of the specified arabic number.""" if number > 3999: raise value_error(f'Number can not be represented with roman numerals: {number}') roman_number = '' for (index, digit) in enumerate(reversed(str(number))): if index == 0: first = 'I' fifth = 'V' tenth = 'X' elif index == 1: first = 'X' fifth = 'L' tenth = 'C' elif index == 2: first = 'C' fifth = 'D' tenth = 'M' elif index == 3: first = 'M' fifth = '' tenth = '' else: raise value_error(f'Invalid input: {number}') if digit == '0': continue elif digit == '1': roman_number = first + roman_number elif digit == '2': roman_number = first * 2 + roman_number elif digit == '3': roman_number = first * 3 + roman_number elif digit == '4': roman_number = first + fifth + roman_number elif digit == '5': roman_number = fifth + roman_number elif digit == '6': roman_number = fifth + first + roman_number elif digit == '7': roman_number = fifth + first * 2 + roman_number elif digit == '8': roman_number = fifth + first * 3 + roman_number elif digit == '9': roman_number = first + tenth + roman_number return roman_number def _start_interactively(): """Start the program interactively through the command line.""" while True: number = int(input('Please type in the number you want to convert: ')) print(arabic_to_roman(number)) print('') if __name__ == '__main__': _start_interactively()
class TumorSampleProfileList(object): def __init__(self): self.tumor_profiles = [] self._name = '' self._num_read_counts = 0 def __iter__(self): return iter(self.tumor_profiles) @property def name(self): return self._name @name.setter def name(self, value): self._name = value def count(self): return len(self.tumor_profiles) def num_read_counts(self): if len(self.tumor_profiles) > 0: return self.tumor_profiles[0].count return 0 def to_string(self): result = self._text_header() + "\n" num_loci = self.tumor_profiles[0].count index = 0 while index < num_loci: line = str(self.tumor_profiles[0].count_id(index)) + "\t" for profile in self.tumor_profiles: line = line + str(profile.ref_count(index)) + "\t" + str(profile.alt_count(index)) + "\t" index += 1 result = result + line + "\n" return result def _text_header(self): result = 'ID' if self.count > 0: for profile in self.tumor_profiles: name = profile.name temp = "\t" + name + ':ref' + "\t" + name + ':alt' result += temp return result.strip() def add(self, profile): self.tumor_profiles.append(profile) def get_profile(self, index): if (index >= 0) and (index < len(self.tumor_profiles)): return self.tumor_profiles[index] IndexError('index out of bounds') def profile_exists(self, profile_name): for profile in self.tumor_profiles: if profile.name == profile_name: return True return False
class Tumorsampleprofilelist(object): def __init__(self): self.tumor_profiles = [] self._name = '' self._num_read_counts = 0 def __iter__(self): return iter(self.tumor_profiles) @property def name(self): return self._name @name.setter def name(self, value): self._name = value def count(self): return len(self.tumor_profiles) def num_read_counts(self): if len(self.tumor_profiles) > 0: return self.tumor_profiles[0].count return 0 def to_string(self): result = self._text_header() + '\n' num_loci = self.tumor_profiles[0].count index = 0 while index < num_loci: line = str(self.tumor_profiles[0].count_id(index)) + '\t' for profile in self.tumor_profiles: line = line + str(profile.ref_count(index)) + '\t' + str(profile.alt_count(index)) + '\t' index += 1 result = result + line + '\n' return result def _text_header(self): result = 'ID' if self.count > 0: for profile in self.tumor_profiles: name = profile.name temp = '\t' + name + ':ref' + '\t' + name + ':alt' result += temp return result.strip() def add(self, profile): self.tumor_profiles.append(profile) def get_profile(self, index): if index >= 0 and index < len(self.tumor_profiles): return self.tumor_profiles[index] index_error('index out of bounds') def profile_exists(self, profile_name): for profile in self.tumor_profiles: if profile.name == profile_name: return True return False
"""Exercicio 34: Crie uma classe com dois metodos, pelo menos: recebe_string(): para pegar do console um texto printa_string(): para imprimir a string no console """ class IOTexto(): def __init__(self): self.texto = "" def recebe_string(self): self.texto = input("Defina o texto: ") def printa_string(self): print(f"Seu texto guardado: \n{self.texto}") minha_instancia = IOTexto() minha_instancia.recebe_string() minha_instancia.printa_string()
"""Exercicio 34: Crie uma classe com dois metodos, pelo menos: recebe_string(): para pegar do console um texto printa_string(): para imprimir a string no console """ class Iotexto: def __init__(self): self.texto = '' def recebe_string(self): self.texto = input('Defina o texto: ') def printa_string(self): print(f'Seu texto guardado: \n{self.texto}') minha_instancia = io_texto() minha_instancia.recebe_string() minha_instancia.printa_string()
''' Author : MiKueen Level : Easy Company : Google Problem Statement : Two Sum Given a list of numbers and a number k, return whether any two numbers from the list add up to k. For example, given [10, 15, 3, 7] and k of 17, return true since 10 + 7 is 17. Bonus: Can you do this in one pass? ''' def twoSum(nums, k): """ :type nums: List[int] :type k: int :rtype: bool """ # Time Complexity - O(n) # Space Complexity - O(n) res = set() for i in nums: if i in res: return True res.add(k - i) return False
""" Author : MiKueen Level : Easy Company : Google Problem Statement : Two Sum Given a list of numbers and a number k, return whether any two numbers from the list add up to k. For example, given [10, 15, 3, 7] and k of 17, return true since 10 + 7 is 17. Bonus: Can you do this in one pass? """ def two_sum(nums, k): """ :type nums: List[int] :type k: int :rtype: bool """ res = set() for i in nums: if i in res: return True res.add(k - i) return False
with open('texto1.txt', 'r') as arquivo: conteudo = arquivo.read().split(',') with open('resultado1.txt', 'w') as resultado: for item in conteudo: texto = f'novo conteudo Antonella te amo {item.strip()}\n' resultado.write(texto)
with open('texto1.txt', 'r') as arquivo: conteudo = arquivo.read().split(',') with open('resultado1.txt', 'w') as resultado: for item in conteudo: texto = f'novo conteudo Antonella te amo {item.strip()}\n' resultado.write(texto)
"""Given a graph G =(V, E) we want to find a minimum spannning tree in the graph (it may not be unique). A minimuim spanning tree is a subset of the edges which connect all vertices in the graph with the minimal total edge cost. Uses union and find: Find: find which component a particular elemnent belongs to find the root of that component by following the parent nodes until a self loop is reached(a node whose parent is itself) Union: find the two root elements of each group and make one node the parent of the other."""
"""Given a graph G =(V, E) we want to find a minimum spannning tree in the graph (it may not be unique). A minimuim spanning tree is a subset of the edges which connect all vertices in the graph with the minimal total edge cost. Uses union and find: Find: find which component a particular elemnent belongs to find the root of that component by following the parent nodes until a self loop is reached(a node whose parent is itself) Union: find the two root elements of each group and make one node the parent of the other."""
""" ---> Longest String Chain ---> Medium """ class Solution: def longest_str_chain(self, words) -> int: word_dict = {} for w in sorted(words, key=len): word_dict[w] = max(word_dict.get(w[:i] + w[i + 1:], 0) + 1 for i in range(len(w))) print(w, word_dict) return max(word_dict.values()) in_words = ["a", "b", "ba", "bca", "bda", "bdca"] a = Solution() print(a.longest_str_chain(in_words)) """ Sort acc to length of the words Run through all words and check if one less letter word is there in dict Reference - https://leetcode.com/problems/longest-string-chain/discuss/294890/JavaC%2B%2BPython-DP-Solution Complexities: Time -> max(O(NlogN), O(NS)) Space -> O(NS) """
""" ---> Longest String Chain ---> Medium """ class Solution: def longest_str_chain(self, words) -> int: word_dict = {} for w in sorted(words, key=len): word_dict[w] = max((word_dict.get(w[:i] + w[i + 1:], 0) + 1 for i in range(len(w)))) print(w, word_dict) return max(word_dict.values()) in_words = ['a', 'b', 'ba', 'bca', 'bda', 'bdca'] a = solution() print(a.longest_str_chain(in_words)) '\n\nSort acc to length of the words\nRun through all words and check if one less letter word is there in dict\nReference - https://leetcode.com/problems/longest-string-chain/discuss/294890/JavaC%2B%2BPython-DP-Solution\n\nComplexities:\nTime -> max(O(NlogN), O(NS))\nSpace -> O(NS)\n\n'