content
stringlengths
7
1.05M
class Set: """ Set Implement in Python 3 """ def __init__(self, values=None): """this is the constructor it gets called when you create a new Set.""" self.dict = {} # Each instance of set has it's own dict property if values is not None: for value in values: self.add(value) def __repr__(self): """ this is the string representations of a set objects""" return f"Set: {self.dict.keys()}" # we'll represnt membership by being a key in self.dict with value True def add(self, value): self.dict[value] = True def contains(self, value): return value in self.dict def remove(self, value): del self.dict[value]
# 可写函数说明 def printme(str): "打印任何传入的字符串" print(str) return # 调用 printme 函数,不加参数会报错 # printme() # 函数参数的使用不需要使用指定顺序: # 可写函数说明 def printinfo(name, age): """打印任何传入的字符串""" print("名字: ", name) print("年龄: ", age) return # 调用printinfo函数 printinfo(age=50, name="runoob") # 默认参数 # 调用函数时,如果没有传递参数,则会使用默认参数。以下实例中如果没有传入 age 参数,则使用默认值: # 可写函数说明 def printinfo(name, age=35): "打印任何传入的字符串" print("名字: ", name) print("年龄: ", age) return # 调用printinfo函数 printinfo(age=50, name="runoob") print("------------------------") printinfo(name="runoob") # 不定长参数 # 你可能需要一个函数能处理比当初声明时更多的参数。这些参数叫做不定长参数,和上述 2 种参数不同,声明时不会命名。基本语法如下 # def functionname([formal_args,] *var_args_tuple ): # "函数_文档字符串" # function_suite # return [expression] # 加了星号 * 的参数会以元组(tuple)的形式导入,存放所有未命名的变量参数。 # 可写函数说明 def printinfo(arg1, *vartuple): "打印任何传入的参数" print("输出: ") print(arg1) print(vartuple) # 调用printinfo 函数 printinfo(70, 60, 50) print("------------------------") # 如果在函数调用时没有指定参数,它就是一个空元组。我们也可以不向函数传递未命名的变量。如下实例: # 可写函数说明 def printinfo2(arg1, *vartuple): "打印任何传入的参数" print("输出: ") print(arg1) for var in vartuple: print(var) return # 调用printinfo 函数 printinfo2(10) printinfo2(70, 60, 50) print("------------------------") # 还有一种就是参数带两个星号 **基本语法如下: # # def functionname([formal_args,] **var_args_dict ): # "函数_文档字符串" # function_suite # return [expression] # 加了两个星号 ** 的参数会以字典的形式导入。 # 可写函数说明 def printinfo3(arg1, **vardict): "打印任何传入的参数" print("输出: ") print(arg1) print(vardict) # 调用printinfo 函数 printinfo3(1, a=2, b=3) print("------------------------") # 声明函数时,参数中星号 * 可以单独出现,例如: def f(a, b, *, c): return a + b + c # f(1,2,3) # 报错 # Traceback (most recent call last): # File "<stdin>", line 1, in <module> # TypeError: f() takes 2 positional arguments but 3 were given t = f(1, 2, c=3) # 正常 print(t) # 6
# -*- coding: utf-8 -*- """ Think Python: How to Think Like a Computer Scientist Allen B. Downey Chapter 3 Functions Exercise 2 A function object is a value you can assign to a variable or pass as an argument. For example, do_twice is a function that takes a function object as an argument and calls it twice: def do_twice(f): f() f() Here’s an example that uses do_twice to call a function named print_spam twice. def print_spam(): print('spam') do_twice(print_spam) 1. Type this example into a script and test it. 2. Modify do_twice so that it takes two arguments, a function object and a value, and calls the function twice, passing the value as an argument. 3. Copy the definition of print_twice from earlier in this chapter to your script. Use the modified version of do_twice to call print_twice twice, passing 'spam' as an argument. 4. Define a new function called do_four that takes a function object and a value and calls the function four times, passing the value as a parameter. There should be only two statements in the body of this function, not four. """ def do_twice(f, arg): f(arg) f(arg) def do_four(f, arg): do_twice(f, arg) do_twice(f, arg) do_four(print, "spam") do_four(print, len("spam"))
{ # pylint: disable=C8101,C8103 'name': 'Odoo Next - ', 'description': 'Enable Tax Calculations', 'version': '14.0.1.0.0', 'category': 'Localization', 'author': 'Code 137', 'license': 'OEEL-1', 'website': 'http://www.code137.com.br', 'contributors': [ 'Fábio Luna <fabiocluna@hotmail.com>', ], 'depends': [ 'stock_account', ], 'data': [ 'views/stock_picking.xml', ], }
def digit_count1(n): n = str(n) return int(''.join(str(n.count(i)) for i in n)) def digit_count2(n): num_counts = dict() str_n = str(n) for x in str_n: if x not in num_counts: num_counts[x] = 1 else: num_counts[x] += 1 return int("".join(str(num_counts[x]) for x in str_n)) dc1 = digit_count1(136116), digit_count1(221333), digit_count1(136116), digit_count1(2) print(dc1) dc2 = digit_count2(136116), digit_count2(221333), digit_count2(136116), digit_count2(2) print(dc2)
DARK_SKY_BASE_URL = 'https://api.darksky.net/forecast' WEATHER_COLUMNS = [ 'time', 'summary', 'icon', 'sunriseTime', 'sunsetTime', 'precipIntensity', 'precipIntensityMax', 'precipProbability', 'precipType', 'temperatureHigh', 'temperatureHighTime', 'temperatureLow', 'temperatureLowTime', 'dewPoint', 'humidity', 'pressure', 'windSpeed', 'windGust', 'windGustTime', 'windBearing', 'cloudCover', 'uvIndex', 'uvIndexTime', 'visibility', 'ozone', ] FEATURE_COLUMNS = [ 'sunriseTime', 'sunsetTime', 'precipIntensity', 'precipIntensityMax', 'precipProbability', 'temperatureHigh', 'temperatureHighTime', 'temperatureLow', 'temperatureLowTime', 'dewPoint', 'humidity', 'pressure', 'windSpeed', 'windGust', 'windGustTime', 'windBearing', 'cloudCover', 'uvIndex', 'uvIndexTime', 'visibility', 'ozone', 'summary_Clear throughout the day.', 'summary_Drizzle in the afternoon and evening.', 'summary_Drizzle in the morning and afternoon.', 'summary_Drizzle starting in the afternoon.', 'summary_Drizzle until morning, starting again in the evening.', 'summary_Foggy in the morning and afternoon.', 'summary_Foggy in the morning.', 'summary_Foggy overnight.', 'summary_Foggy starting in the afternoon.', 'summary_Foggy throughout the day.', 'summary_Foggy until evening.', 'summary_Heavy rain until morning, starting again in the evening.', 'summary_Light rain in the afternoon and evening.', 'summary_Light rain in the evening and overnight.', 'summary_Light rain in the morning and afternoon.', 'summary_Light rain in the morning and overnight.', 'summary_Light rain in the morning.', 'summary_Light rain overnight.', 'summary_Light rain starting in the afternoon.', 'summary_Light rain throughout the day.', 'summary_Light rain until evening.', 'summary_Light rain until morning, starting again in the evening.', 'summary_Mostly cloudy throughout the day.', 'summary_Overcast throughout the day.', 'summary_Partly cloudy throughout the day.', 'summary_Possible drizzle in the afternoon and evening.', 'summary_Possible drizzle in the evening and overnight.', 'summary_Possible drizzle in the morning and afternoon.', 'summary_Possible drizzle in the morning.', 'summary_Possible drizzle overnight.', 'summary_Possible drizzle throughout the day.', 'summary_Possible drizzle until morning, starting again in the evening.', 'summary_Possible light rain until evening.', 'summary_Rain in the evening and overnight.', 'summary_Rain in the morning and afternoon.', 'summary_Rain in the morning.', 'summary_Rain overnight.', 'summary_Rain starting in the afternoon.', 'summary_Rain throughout the day.', 'summary_Rain until evening.', 'summary_Rain until morning, starting again in the evening.', 'icon_clear-day', 'icon_cloudy', 'icon_fog', 'icon_partly-cloudy-day', 'icon_rain', 'didRain_False', 'didRain_True', ] LABEL_COLUMN = 'peak_traffic_load'
# Write a procedure, rotate which takes as its input a string of lower case # letters, a-z, and spaces, and an integer n, and returns the string constructed # by shifting each of the letters n steps, and leaving the spaces unchanged. # Note that 'a' follows 'z'. You can use an additional procedure if you # choose to as long as rotate returns the correct string. # Note that n can be positive, negative or zero. def rotate(string_, shift): output = [] for letter in string_: if letter == ' ': output.append(' ') else: output.append(shift_n_letters(letter, shift)) return ''.join(output) def shift_n_letters(letter, n): result = ord(letter) + n if result < ord('a'): return chr(ord('z') - (ord('a') - result) + 1) elif result > ord('z'): return chr(ord('a') + (result - ord('z')) - 1) else: return chr(result) print(rotate ('sarah', 13)) # >>> 'fnenu' print(rotate('fnenu', 13)) # >>> 'sarah' print(rotate('dave', 5)) # >>>'ifaj' print(rotate('ifaj', -5)) # >>>'dave' print(rotate(("zw pfli tfuv nfibj tfiivtkcp pfl jyflcu " "sv rscv kf ivru kyzj"), -17)) # >>> ???
# eisagwgh stoixeiwn my_list = [] # insert the first element my_list.append(2) print("This is the new list: ", my_list) # insert the second element my_list.append(3) print("This is the new list: ", my_list) my_list.append("Names") print("This is a mixed list, with integers and strings: ", my_list) # Afairwntas ena stoixeio # removing the second element, which is 3 my_list.remove(3) print("this is the list after removing \'3\': ", my_list) # removing the first element of the list my_list.remove(my_list[0]) print("This is the list after removing my_list[0]: ", my_list)
def save(): """ For now this function is a placeholder for the eventual function which will save the state of the FHD program at certain points depending on community feedback. """ print("If you're seeing this, then fhd_save_io hasn't been made yet.") print("If you have ideas on how we should save the state of FHD throughout its runtime.") print("Please raise an issue on the repository") def restore(): """ For now this function is a placeholder for the eventual function which will restore the state of the FHD program at certain points depending on community feedback. """ print("If you're seeing this the restore function hasn't been created yet")
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # parameters.py # search query search_query = 'site:linkedin.com/in/ AND "guide touristique" AND "paris"' # file were scraped profile information will be stored file_name = 'candidates.csv' # login credentials linkedin_username = 'YOUR EMAIL GOES HERE' linkedin_password = 'YOUR PASSWORD GOES HERE'
"""Example Zigbee Devices.""" DEVICES = [ { "endpoints": { "1": { "device_type": 2080, "endpoint_id": 1, "in_clusters": [0, 3, 4096, 64716], "out_clusters": [3, 4, 6, 8, 4096, 64716], "profile_id": 260, } }, "entities": [], "event_channels": [6, 8], "manufacturer": "ADUROLIGHT", "model": "Adurolight_NCC", }, { "endpoints": { "5": { "device_type": 1026, "endpoint_id": 5, "in_clusters": [0, 1, 3, 32, 1026, 1280, 2821], "out_clusters": [25], "profile_id": 260, } }, "entities": [ "binary_sensor.bosch_isw_zpr1_wp13_77665544_ias_zone", "sensor.bosch_isw_zpr1_wp13_77665544_power", "sensor.bosch_isw_zpr1_wp13_77665544_temperature", ], "event_channels": [], "manufacturer": "Bosch", "model": "ISW-ZPR1-WP13", }, { "endpoints": { "1": { "device_type": 1, "endpoint_id": 1, "in_clusters": [0, 1, 3, 32, 2821], "out_clusters": [3, 6, 8, 25], "profile_id": 260, } }, "entities": ["sensor.centralite_3130_77665544_power"], "event_channels": [6, 8], "manufacturer": "CentraLite", "model": "3130", }, { "endpoints": { "1": { "device_type": 81, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 1794, 2820, 2821, 64515], "out_clusters": [25], "profile_id": 260, } }, "entities": [ "sensor.centralite_3210_l_77665544_smartenergy_metering", "sensor.centralite_3210_l_77665544_electrical_measurement", "switch.centralite_3210_l_77665544_on_off", ], "event_channels": [], "manufacturer": "CentraLite", "model": "3210-L", }, { "endpoints": { "1": { "device_type": 770, "endpoint_id": 1, "in_clusters": [0, 1, 3, 32, 1026, 2821, 64581], "out_clusters": [3, 25], "profile_id": 260, } }, "entities": [ "sensor.centralite_3310_s_77665544_power", "sensor.centralite_3310_s_77665544_temperature", "sensor.centralite_3310_s_77665544_manufacturer_specific", ], "event_channels": [], "manufacturer": "CentraLite", "model": "3310-S", }, { "endpoints": { "1": { "device_type": 1026, "endpoint_id": 1, "in_clusters": [0, 1, 3, 32, 1026, 1280, 2821], "out_clusters": [25], "profile_id": 260, }, "2": { "device_type": 12, "endpoint_id": 2, "in_clusters": [0, 3, 2821, 64527], "out_clusters": [3], "profile_id": 49887, }, }, "entities": [ "binary_sensor.centralite_3315_s_77665544_ias_zone", "sensor.centralite_3315_s_77665544_temperature", "sensor.centralite_3315_s_77665544_power", ], "event_channels": [], "manufacturer": "CentraLite", "model": "3315-S", }, { "endpoints": { "1": { "device_type": 1026, "endpoint_id": 1, "in_clusters": [0, 1, 3, 32, 1026, 1280, 2821], "out_clusters": [25], "profile_id": 260, }, "2": { "device_type": 12, "endpoint_id": 2, "in_clusters": [0, 3, 2821, 64527], "out_clusters": [3], "profile_id": 49887, }, }, "entities": [ "binary_sensor.centralite_3320_l_77665544_ias_zone", "sensor.centralite_3320_l_77665544_temperature", "sensor.centralite_3320_l_77665544_power", ], "event_channels": [], "manufacturer": "CentraLite", "model": "3320-L", }, { "endpoints": { "1": { "device_type": 1026, "endpoint_id": 1, "in_clusters": [0, 1, 3, 32, 1026, 1280, 2821], "out_clusters": [25], "profile_id": 260, }, "2": { "device_type": 263, "endpoint_id": 2, "in_clusters": [0, 3, 2821, 64582], "out_clusters": [3], "profile_id": 49887, }, }, "entities": [ "binary_sensor.centralite_3326_l_77665544_ias_zone", "sensor.centralite_3326_l_77665544_temperature", "sensor.centralite_3326_l_77665544_power", ], "event_channels": [], "manufacturer": "CentraLite", "model": "3326-L", }, { "endpoints": { "1": { "device_type": 1026, "endpoint_id": 1, "in_clusters": [0, 1, 3, 32, 1026, 1280, 2821], "out_clusters": [25], "profile_id": 260, }, "2": { "device_type": 263, "endpoint_id": 2, "in_clusters": [0, 3, 1030, 2821], "out_clusters": [3], "profile_id": 260, }, }, "entities": [ "binary_sensor.centralite_motion_sensor_a_77665544_occupancy", "binary_sensor.centralite_motion_sensor_a_77665544_ias_zone", "sensor.centralite_motion_sensor_a_77665544_temperature", "sensor.centralite_motion_sensor_a_77665544_power", ], "event_channels": [], "manufacturer": "CentraLite", "model": "Motion Sensor-A", }, { "endpoints": { "1": { "device_type": 81, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 1794], "out_clusters": [0], "profile_id": 260, }, "4": { "device_type": 9, "endpoint_id": 4, "in_clusters": [], "out_clusters": [25], "profile_id": 260, }, }, "entities": [ "sensor.climaxtechnology_psmp5_00_00_02_02tc_77665544_smartenergy_metering", "switch.climaxtechnology_psmp5_00_00_02_02tc_77665544_on_off", ], "event_channels": [], "manufacturer": "ClimaxTechnology", "model": "PSMP5_00.00.02.02TC", }, { "endpoints": { "1": { "device_type": 1026, "endpoint_id": 1, "in_clusters": [0, 3, 1280, 1282], "out_clusters": [0], "profile_id": 260, } }, "entities": [ "binary_sensor.climaxtechnology_sd8sc_00_00_03_12tc_77665544_ias_zone" ], "event_channels": [], "manufacturer": "ClimaxTechnology", "model": "SD8SC_00.00.03.12TC", }, { "endpoints": { "1": { "device_type": 1026, "endpoint_id": 1, "in_clusters": [0, 3, 1280], "out_clusters": [0], "profile_id": 260, } }, "entities": [ "binary_sensor.climaxtechnology_ws15_00_00_03_03tc_77665544_ias_zone" ], "event_channels": [], "manufacturer": "ClimaxTechnology", "model": "WS15_00.00.03.03TC", }, { "endpoints": { "11": { "device_type": 528, "endpoint_id": 11, "in_clusters": [0, 3, 4, 5, 6, 8, 768], "out_clusters": [], "profile_id": 49246, }, "13": { "device_type": 57694, "endpoint_id": 13, "in_clusters": [4096], "out_clusters": [4096], "profile_id": 49246, }, }, "entities": [ "light.feibit_inc_co_fb56_zcw08ku1_1_77665544_level_light_color_on_off" ], "event_channels": [], "manufacturer": "Feibit Inc co.", "model": "FB56-ZCW08KU1.1", }, { "endpoints": { "1": { "device_type": 1027, "endpoint_id": 1, "in_clusters": [0, 1, 3, 4, 9, 1280, 1282], "out_clusters": [3, 25], "profile_id": 260, } }, "entities": [ "binary_sensor.heiman_warningdevice_77665544_ias_zone", "sensor.heiman_warningdevice_77665544_power", ], "event_channels": [], "manufacturer": "Heiman", "model": "WarningDevice", }, { "endpoints": { "6": { "device_type": 1026, "endpoint_id": 6, "in_clusters": [0, 1, 3, 32, 1024, 1026, 1280], "out_clusters": [25], "profile_id": 260, } }, "entities": [ "sensor.hivehome_com_mot003_77665544_temperature", "sensor.hivehome_com_mot003_77665544_power", "sensor.hivehome_com_mot003_77665544_illuminance", "binary_sensor.hivehome_com_mot003_77665544_ias_zone", ], "event_channels": [], "manufacturer": "HiveHome.com", "model": "MOT003", }, { "endpoints": { "1": { "device_type": 268, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 8, 768, 4096, 64636], "out_clusters": [5, 25, 32, 4096], "profile_id": 260, }, "242": { "device_type": 97, "endpoint_id": 242, "in_clusters": [33], "out_clusters": [33], "profile_id": 41440, }, }, "entities": [ "light.ikea_of_sweden_tradfri_bulb_e12_ws_opal_600lm_77665544_level_light_color_on_off" ], "event_channels": [], "manufacturer": "IKEA of Sweden", "model": "TRADFRI bulb E12 WS opal 600lm", }, { "endpoints": { "1": { "device_type": 512, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 8, 768, 2821, 4096], "out_clusters": [5, 25, 32, 4096], "profile_id": 49246, } }, "entities": [ "light.ikea_of_sweden_tradfri_bulb_e26_cws_opal_600lm_77665544_level_light_color_on_off" ], "event_channels": [], "manufacturer": "IKEA of Sweden", "model": "TRADFRI bulb E26 CWS opal 600lm", }, { "endpoints": { "1": { "device_type": 256, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 8, 2821, 4096], "out_clusters": [5, 25, 32, 4096], "profile_id": 49246, } }, "entities": [ "light.ikea_of_sweden_tradfri_bulb_e26_w_opal_1000lm_77665544_level_on_off" ], "event_channels": [], "manufacturer": "IKEA of Sweden", "model": "TRADFRI bulb E26 W opal 1000lm", }, { "endpoints": { "1": { "device_type": 544, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 8, 768, 2821, 4096], "out_clusters": [5, 25, 32, 4096], "profile_id": 49246, } }, "entities": [ "light.ikea_of_sweden_tradfri_bulb_e26_ws_opal_980lm_77665544_level_light_color_on_off" ], "event_channels": [], "manufacturer": "IKEA of Sweden", "model": "TRADFRI bulb E26 WS opal 980lm", }, { "endpoints": { "1": { "device_type": 256, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 8, 2821, 4096], "out_clusters": [5, 25, 32, 4096], "profile_id": 260, } }, "entities": [ "light.ikea_of_sweden_tradfri_bulb_e26_opal_1000lm_77665544_level_on_off" ], "event_channels": [], "manufacturer": "IKEA of Sweden", "model": "TRADFRI bulb E26 opal 1000lm", }, { "endpoints": { "1": { "device_type": 266, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 64636], "out_clusters": [5, 25, 32], "profile_id": 260, } }, "entities": ["switch.ikea_of_sweden_tradfri_control_outlet_77665544_on_off"], "event_channels": [], "manufacturer": "IKEA of Sweden", "model": "TRADFRI control outlet", }, { "endpoints": { "1": { "device_type": 2128, "endpoint_id": 1, "in_clusters": [0, 1, 3, 9, 2821, 4096], "out_clusters": [3, 4, 6, 25, 4096], "profile_id": 49246, } }, "entities": [ "binary_sensor.ikea_of_sweden_tradfri_motion_sensor_77665544_on_off", "sensor.ikea_of_sweden_tradfri_motion_sensor_77665544_power", ], "event_channels": [6], "manufacturer": "IKEA of Sweden", "model": "TRADFRI motion sensor", }, { "endpoints": { "1": { "device_type": 2080, "endpoint_id": 1, "in_clusters": [0, 1, 3, 9, 32, 4096, 64636], "out_clusters": [3, 4, 6, 8, 25, 258, 4096], "profile_id": 260, } }, "entities": ["sensor.ikea_of_sweden_tradfri_on_off_switch_77665544_power"], "event_channels": [6, 8], "manufacturer": "IKEA of Sweden", "model": "TRADFRI on/off switch", }, { "endpoints": { "1": { "device_type": 2096, "endpoint_id": 1, "in_clusters": [0, 1, 3, 9, 2821, 4096], "out_clusters": [3, 4, 5, 6, 8, 25, 4096], "profile_id": 49246, } }, "entities": ["sensor.ikea_of_sweden_tradfri_remote_control_77665544_power"], "event_channels": [6, 8], "manufacturer": "IKEA of Sweden", "model": "TRADFRI remote control", }, { "endpoints": { "1": { "device_type": 8, "endpoint_id": 1, "in_clusters": [0, 3, 9, 2821, 4096, 64636], "out_clusters": [25, 32, 4096], "profile_id": 260, }, "242": { "device_type": 97, "endpoint_id": 242, "in_clusters": [33], "out_clusters": [33], "profile_id": 41440, }, }, "entities": [], "event_channels": [], "manufacturer": "IKEA of Sweden", "model": "TRADFRI signal repeater", }, { "endpoints": { "1": { "device_type": 2064, "endpoint_id": 1, "in_clusters": [0, 1, 3, 9, 2821, 4096], "out_clusters": [3, 4, 6, 8, 25, 4096], "profile_id": 260, } }, "entities": ["sensor.ikea_of_sweden_tradfri_wireless_dimmer_77665544_power"], "event_channels": [6, 8], "manufacturer": "IKEA of Sweden", "model": "TRADFRI wireless dimmer", }, { "endpoints": { "1": { "device_type": 257, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 8, 1794, 2821], "out_clusters": [10, 25], "profile_id": 260, }, "2": { "device_type": 260, "endpoint_id": 2, "in_clusters": [0, 3, 2821], "out_clusters": [3, 6, 8], "profile_id": 260, }, }, "entities": [ "sensor.jasco_products_45852_77665544_smartenergy_metering", "light.jasco_products_45852_77665544_level_on_off", ], "event_channels": [6, 8], "manufacturer": "Jasco Products", "model": "45852", }, { "endpoints": { "1": { "device_type": 256, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 1794, 2821], "out_clusters": [10, 25], "profile_id": 260, }, "2": { "device_type": 259, "endpoint_id": 2, "in_clusters": [0, 3, 2821], "out_clusters": [3, 6], "profile_id": 260, }, }, "entities": [ "sensor.jasco_products_45856_77665544_smartenergy_metering", "light.jasco_products_45856_77665544_on_off", ], "event_channels": [6], "manufacturer": "Jasco Products", "model": "45856", }, { "endpoints": { "1": { "device_type": 257, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 8, 1794, 2821], "out_clusters": [10, 25], "profile_id": 260, }, "2": { "device_type": 260, "endpoint_id": 2, "in_clusters": [0, 3, 2821], "out_clusters": [3, 6, 8], "profile_id": 260, }, }, "entities": [ "sensor.jasco_products_45857_77665544_smartenergy_metering", "light.jasco_products_45857_77665544_level_on_off", ], "event_channels": [6, 8], "manufacturer": "Jasco Products", "model": "45857", }, { "endpoints": { "1": { "device_type": 3, "endpoint_id": 1, "in_clusters": [ 0, 1, 3, 4, 5, 6, 8, 32, 1026, 1027, 2821, 64513, 64514, ], "out_clusters": [25], "profile_id": 260, } }, "entities": [ "binary_sensor.keen_home_inc_sv02_610_mp_1_3_77665544_manufacturer_specific", "sensor.keen_home_inc_sv02_610_mp_1_3_77665544_pressure", "sensor.keen_home_inc_sv02_610_mp_1_3_77665544_temperature", "sensor.keen_home_inc_sv02_610_mp_1_3_77665544_power", "light.keen_home_inc_sv02_610_mp_1_3_77665544_level_on_off", ], "event_channels": [], "manufacturer": "Keen Home Inc", "model": "SV02-610-MP-1.3", }, { "endpoints": { "1": { "device_type": 3, "endpoint_id": 1, "in_clusters": [ 0, 1, 3, 4, 5, 6, 8, 32, 1026, 1027, 2821, 64513, 64514, ], "out_clusters": [25], "profile_id": 260, } }, "entities": [ "binary_sensor.keen_home_inc_sv02_612_mp_1_2_77665544_manufacturer_specific", "sensor.keen_home_inc_sv02_612_mp_1_2_77665544_temperature", "sensor.keen_home_inc_sv02_612_mp_1_2_77665544_power", "sensor.keen_home_inc_sv02_612_mp_1_2_77665544_pressure", "light.keen_home_inc_sv02_612_mp_1_2_77665544_level_on_off", ], "event_channels": [], "manufacturer": "Keen Home Inc", "model": "SV02-612-MP-1.2", }, { "endpoints": { "1": { "device_type": 3, "endpoint_id": 1, "in_clusters": [ 0, 1, 3, 4, 5, 6, 8, 32, 1026, 1027, 2821, 64513, 64514, ], "out_clusters": [25], "profile_id": 260, } }, "entities": [ "binary_sensor.keen_home_inc_sv02_612_mp_1_3_77665544_manufacturer_specific", "sensor.keen_home_inc_sv02_612_mp_1_3_77665544_pressure", "sensor.keen_home_inc_sv02_612_mp_1_3_77665544_power", "sensor.keen_home_inc_sv02_612_mp_1_3_77665544_temperature", "light.keen_home_inc_sv02_612_mp_1_3_77665544_level_on_off", ], "event_channels": [], "manufacturer": "Keen Home Inc", "model": "SV02-612-MP-1.3", }, { "endpoints": { "1": { "device_type": 14, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 8, 514], "out_clusters": [3, 25], "profile_id": 260, } }, "entities": [ "fan.king_of_fans_inc_hbuniversalcfremote_77665544_fan", "switch.king_of_fans_inc_hbuniversalcfremote_77665544_on_off", ], "event_channels": [], "manufacturer": "King Of Fans, Inc.", "model": "HBUniversalCFRemote", }, { "endpoints": { "1": { "device_type": 258, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 8, 768, 2821, 64513], "out_clusters": [25], "profile_id": 260, } }, "entities": ["light.ledvance_a19_rgbw_77665544_level_light_color_on_off"], "event_channels": [], "manufacturer": "LEDVANCE", "model": "A19 RGBW", }, { "endpoints": { "1": { "device_type": 258, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 8, 768, 2821, 64513], "out_clusters": [25], "profile_id": 260, } }, "entities": ["light.ledvance_flex_rgbw_77665544_level_light_color_on_off"], "event_channels": [], "manufacturer": "LEDVANCE", "model": "FLEX RGBW", }, { "endpoints": { "1": { "device_type": 81, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 2821, 64513, 64520], "out_clusters": [3, 25], "profile_id": 260, } }, "entities": ["switch.ledvance_plug_77665544_on_off"], "event_channels": [], "manufacturer": "LEDVANCE", "model": "PLUG", }, { "endpoints": { "1": { "device_type": 258, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 8, 768, 2821, 64513], "out_clusters": [25], "profile_id": 260, } }, "entities": ["light.ledvance_rt_rgbw_77665544_level_light_color_on_off"], "event_channels": [], "manufacturer": "LEDVANCE", "model": "RT RGBW", }, { "endpoints": { "1": { "device_type": 81, "endpoint_id": 1, "in_clusters": [0, 1, 2, 3, 4, 5, 6, 10, 16, 2820], "out_clusters": [10, 25], "profile_id": 260, }, "100": { "device_type": 263, "endpoint_id": 100, "in_clusters": [15], "out_clusters": [4, 15], "profile_id": 260, }, "2": { "device_type": 9, "endpoint_id": 2, "in_clusters": [12], "out_clusters": [4, 12], "profile_id": 260, }, "3": { "device_type": 83, "endpoint_id": 3, "in_clusters": [12], "out_clusters": [12], "profile_id": 260, }, }, "entities": [ "sensor.lumi_lumi_plug_maus01_77665544_electrical_measurement", "sensor.lumi_lumi_plug_maus01_77665544_analog_input", "sensor.lumi_lumi_plug_maus01_77665544_analog_input_2", "sensor.lumi_lumi_plug_maus01_77665544_power", "switch.lumi_lumi_plug_maus01_77665544_on_off", ], "event_channels": [], "manufacturer": "LUMI", "model": "lumi.plug.maus01", }, { "endpoints": { "1": { "device_type": 257, "endpoint_id": 1, "in_clusters": [0, 1, 2, 3, 4, 5, 6, 10, 12, 16, 2820], "out_clusters": [10, 25], "profile_id": 260, }, "2": { "device_type": 257, "endpoint_id": 2, "in_clusters": [4, 5, 6, 16], "out_clusters": [], "profile_id": 260, }, }, "entities": [ "sensor.lumi_lumi_relay_c2acn01_77665544_analog_input", "sensor.lumi_lumi_relay_c2acn01_77665544_electrical_measurement", "sensor.lumi_lumi_relay_c2acn01_77665544_power", "light.lumi_lumi_relay_c2acn01_77665544_on_off", "light.lumi_lumi_relay_c2acn01_77665544_on_off_2", ], "event_channels": [], "manufacturer": "LUMI", "model": "lumi.relay.c2acn01", }, { "endpoints": { "1": { "device_type": 24321, "endpoint_id": 1, "in_clusters": [0, 1, 3, 18, 25, 65535], "out_clusters": [0, 3, 4, 5, 18, 25, 65535], "profile_id": 260, }, "2": { "device_type": 24322, "endpoint_id": 2, "in_clusters": [3, 18], "out_clusters": [3, 4, 5, 18], "profile_id": 260, }, "3": { "device_type": 24323, "endpoint_id": 3, "in_clusters": [3, 18], "out_clusters": [3, 4, 5, 12, 18], "profile_id": 260, }, }, "entities": [ "sensor.lumi_lumi_remote_b186acn01_77665544_multistate_input", "sensor.lumi_lumi_remote_b186acn01_77665544_power", "sensor.lumi_lumi_remote_b186acn01_77665544_multistate_input_2", "sensor.lumi_lumi_remote_b186acn01_77665544_multistate_input_3", ], "event_channels": [], "manufacturer": "LUMI", "model": "lumi.remote.b186acn01", }, { "endpoints": { "1": { "device_type": 24321, "endpoint_id": 1, "in_clusters": [0, 1, 3, 18, 25, 65535], "out_clusters": [0, 3, 4, 5, 18, 25, 65535], "profile_id": 260, }, "2": { "device_type": 24322, "endpoint_id": 2, "in_clusters": [3, 18], "out_clusters": [3, 4, 5, 18], "profile_id": 260, }, "3": { "device_type": 24323, "endpoint_id": 3, "in_clusters": [3, 18], "out_clusters": [3, 4, 5, 12, 18], "profile_id": 260, }, }, "entities": [ "sensor.lumi_lumi_remote_b286acn01_77665544_multistate_input", "sensor.lumi_lumi_remote_b286acn01_77665544_power", "sensor.lumi_lumi_remote_b286acn01_77665544_multistate_input_2", "sensor.lumi_lumi_remote_b286acn01_77665544_multistate_input_3", ], "event_channels": [], "manufacturer": "LUMI", "model": "lumi.remote.b286acn01", }, { "endpoints": { "1": { "device_type": 261, "endpoint_id": 1, "in_clusters": [0, 1, 3], "out_clusters": [3, 6, 8, 768], "profile_id": 260, }, "2": { "device_type": -1, "endpoint_id": 2, "in_clusters": [], "out_clusters": [], "profile_id": -1, }, "3": { "device_type": -1, "endpoint_id": 3, "in_clusters": [], "out_clusters": [], "profile_id": -1, }, "4": { "device_type": -1, "endpoint_id": 4, "in_clusters": [], "out_clusters": [], "profile_id": -1, }, "5": { "device_type": -1, "endpoint_id": 5, "in_clusters": [], "out_clusters": [], "profile_id": -1, }, "6": { "device_type": -1, "endpoint_id": 6, "in_clusters": [], "out_clusters": [], "profile_id": -1, }, }, "entities": ["sensor.lumi_lumi_remote_b286opcn01_77665544_power"], "event_channels": [6, 8, 768], "manufacturer": "LUMI", "model": "lumi.remote.b286opcn01", }, { "endpoints": { "1": { "device_type": 261, "endpoint_id": 1, "in_clusters": [0, 1, 3], "out_clusters": [3, 6, 8, 768], "profile_id": 260, }, "2": { "device_type": 259, "endpoint_id": 2, "in_clusters": [3], "out_clusters": [3, 6], "profile_id": 260, }, "3": { "device_type": -1, "endpoint_id": 3, "in_clusters": [], "out_clusters": [], "profile_id": -1, }, "4": { "device_type": -1, "endpoint_id": 4, "in_clusters": [], "out_clusters": [], "profile_id": -1, }, "5": { "device_type": -1, "endpoint_id": 5, "in_clusters": [], "out_clusters": [], "profile_id": -1, }, "6": { "device_type": -1, "endpoint_id": 6, "in_clusters": [], "out_clusters": [], "profile_id": -1, }, }, "entities": ["sensor.lumi_lumi_remote_b486opcn01_77665544_power"], "event_channels": [6, 8, 768, 6], "manufacturer": "LUMI", "model": "lumi.remote.b486opcn01", }, { "endpoints": { "1": { "device_type": 261, "endpoint_id": 1, "in_clusters": [0, 1, 3], "out_clusters": [3, 6, 8, 768], "profile_id": 260, }, "2": { "device_type": 259, "endpoint_id": 2, "in_clusters": [3], "out_clusters": [3, 6], "profile_id": 260, }, "3": { "device_type": None, "endpoint_id": 3, "in_clusters": [], "out_clusters": [], "profile_id": None, }, "4": { "device_type": None, "endpoint_id": 4, "in_clusters": [], "out_clusters": [], "profile_id": None, }, "5": { "device_type": None, "endpoint_id": 5, "in_clusters": [], "out_clusters": [], "profile_id": None, }, "6": { "device_type": None, "endpoint_id": 6, "in_clusters": [], "out_clusters": [], "profile_id": None, }, }, "entities": ["sensor.lumi_lumi_remote_b686opcn01_77665544_power"], "event_channels": [6, 8, 768, 6], "manufacturer": "LUMI", "model": "lumi.remote.b686opcn01", }, { "endpoints": { "8": { "device_type": 256, "endpoint_id": 8, "in_clusters": [0, 6, 11, 17], "out_clusters": [0, 6], "profile_id": 260, } }, "entities": ["light.lumi_lumi_router_77665544_on_off_on_off"], "event_channels": [6], "manufacturer": "LUMI", "model": "lumi.router", }, { "endpoints": { "1": { "device_type": 28417, "endpoint_id": 1, "in_clusters": [0, 1, 3, 25], "out_clusters": [0, 3, 4, 5, 18, 25], "profile_id": 260, }, "2": { "device_type": 28418, "endpoint_id": 2, "in_clusters": [3, 18], "out_clusters": [3, 4, 5, 18], "profile_id": 260, }, "3": { "device_type": 28419, "endpoint_id": 3, "in_clusters": [3, 12], "out_clusters": [3, 4, 5, 12], "profile_id": 260, }, }, "entities": [ "sensor.lumi_lumi_sensor_cube_aqgl01_77665544_analog_input", "sensor.lumi_lumi_sensor_cube_aqgl01_77665544_multistate_input", "sensor.lumi_lumi_sensor_cube_aqgl01_77665544_power", ], "event_channels": [], "manufacturer": "LUMI", "model": "lumi.sensor_cube.aqgl01", }, { "endpoints": { "1": { "device_type": 24322, "endpoint_id": 1, "in_clusters": [0, 1, 3, 25, 1026, 1029, 65535], "out_clusters": [0, 3, 4, 5, 18, 25, 65535], "profile_id": 260, }, "2": { "device_type": 24322, "endpoint_id": 2, "in_clusters": [3], "out_clusters": [3, 4, 5, 18], "profile_id": 260, }, "3": { "device_type": 24323, "endpoint_id": 3, "in_clusters": [3], "out_clusters": [3, 4, 5, 12], "profile_id": 260, }, }, "entities": [ "sensor.lumi_lumi_sensor_ht_77665544_power", "sensor.lumi_lumi_sensor_ht_77665544_temperature", "sensor.lumi_lumi_sensor_ht_77665544_humidity", ], "event_channels": [], "manufacturer": "LUMI", "model": "lumi.sensor_ht", }, { "endpoints": { "1": { "device_type": 2128, "endpoint_id": 1, "in_clusters": [0, 1, 3, 25, 65535], "out_clusters": [0, 3, 4, 5, 6, 8, 25], "profile_id": 260, } }, "entities": [ "sensor.lumi_lumi_sensor_magnet_77665544_power", "binary_sensor.lumi_lumi_sensor_magnet_77665544_on_off", ], "event_channels": [6, 8], "manufacturer": "LUMI", "model": "lumi.sensor_magnet", }, { "endpoints": { "1": { "device_type": 24321, "endpoint_id": 1, "in_clusters": [0, 1, 3, 65535], "out_clusters": [0, 4, 6, 65535], "profile_id": 260, } }, "entities": [ "binary_sensor.lumi_lumi_sensor_magnet_aq2_77665544_on_off", "sensor.lumi_lumi_sensor_magnet_aq2_77665544_power", ], "event_channels": [6], "manufacturer": "LUMI", "model": "lumi.sensor_magnet.aq2", }, { "endpoints": { "1": { "device_type": 263, "endpoint_id": 1, "in_clusters": [0, 1, 3, 1024, 1030, 1280, 65535], "out_clusters": [0, 25], "profile_id": 260, } }, "entities": [ "binary_sensor.lumi_lumi_sensor_motion_aq2_77665544_occupancy", "binary_sensor.lumi_lumi_sensor_motion_aq2_77665544_ias_zone", "sensor.lumi_lumi_sensor_motion_aq2_77665544_illuminance", "sensor.lumi_lumi_sensor_motion_aq2_77665544_power", ], "event_channels": [], "manufacturer": "LUMI", "model": "lumi.sensor_motion.aq2", }, { "endpoints": { "1": { "device_type": 6, "endpoint_id": 1, "in_clusters": [0, 1, 3], "out_clusters": [0, 4, 5, 6, 8, 25], "profile_id": 260, } }, "entities": ["sensor.lumi_lumi_sensor_switch_77665544_power"], "event_channels": [6, 8], "manufacturer": "LUMI", "model": "lumi.sensor_switch", }, { "endpoints": { "1": { "device_type": 6, "endpoint_id": 1, "in_clusters": [0, 1, 65535], "out_clusters": [0, 4, 6, 65535], "profile_id": 260, } }, "entities": ["sensor.lumi_lumi_sensor_switch_aq2_77665544_power"], "event_channels": [6], "manufacturer": "LUMI", "model": "lumi.sensor_switch.aq2", }, { "endpoints": { "1": { "device_type": 6, "endpoint_id": 1, "in_clusters": [0, 1, 18], "out_clusters": [0, 6], "profile_id": 260, } }, "entities": [ "sensor.lumi_lumi_sensor_switch_aq3_77665544_multistate_input", "sensor.lumi_lumi_sensor_switch_aq3_77665544_power", ], "event_channels": [6], "manufacturer": "LUMI", "model": "lumi.sensor_switch.aq3", }, { "endpoints": { "1": { "device_type": 1026, "endpoint_id": 1, "in_clusters": [0, 1, 3, 1280], "out_clusters": [25], "profile_id": 260, } }, "entities": [ "binary_sensor.lumi_lumi_sensor_wleak_aq1_77665544_ias_zone", "sensor.lumi_lumi_sensor_wleak_aq1_77665544_power", ], "event_channels": [], "manufacturer": "LUMI", "model": "lumi.sensor_wleak.aq1", }, { "endpoints": { "1": { "device_type": 10, "endpoint_id": 1, "in_clusters": [0, 1, 3, 25, 257, 1280], "out_clusters": [0, 3, 4, 5, 25], "profile_id": 260, }, "2": { "device_type": 24322, "endpoint_id": 2, "in_clusters": [3], "out_clusters": [3, 4, 5, 18], "profile_id": 260, }, }, "entities": [ "binary_sensor.lumi_lumi_vibration_aq1_77665544_ias_zone", "sensor.lumi_lumi_vibration_aq1_77665544_power", "lock.lumi_lumi_vibration_aq1_77665544_door_lock", ], "event_channels": [], "manufacturer": "LUMI", "model": "lumi.vibration.aq1", }, { "endpoints": { "1": { "device_type": 24321, "endpoint_id": 1, "in_clusters": [0, 1, 3, 1026, 1027, 1029, 65535], "out_clusters": [0, 4, 65535], "profile_id": 260, } }, "entities": [ "sensor.lumi_lumi_weather_77665544_temperature", "sensor.lumi_lumi_weather_77665544_power", "sensor.lumi_lumi_weather_77665544_humidity", "sensor.lumi_lumi_weather_77665544_pressure", ], "event_channels": [], "manufacturer": "LUMI", "model": "lumi.weather", }, { "endpoints": { "1": { "device_type": 1026, "endpoint_id": 1, "in_clusters": [0, 1, 3, 32, 1280], "out_clusters": [], "profile_id": 260, } }, "entities": [ "binary_sensor.nyce_3010_77665544_ias_zone", "sensor.nyce_3010_77665544_power", ], "event_channels": [], "manufacturer": "NYCE", "model": "3010", }, { "endpoints": { "1": { "device_type": 1026, "endpoint_id": 1, "in_clusters": [0, 1, 3, 32, 1280], "out_clusters": [], "profile_id": 260, } }, "entities": [ "binary_sensor.nyce_3014_77665544_ias_zone", "sensor.nyce_3014_77665544_power", ], "event_channels": [], "manufacturer": "NYCE", "model": "3014", }, { "endpoints": { "3": { "device_type": 258, "endpoint_id": 3, "in_clusters": [0, 3, 4, 5, 6, 8, 768, 64527], "out_clusters": [25], "profile_id": 260, } }, "entities": ["light.osram_lightify_a19_rgbw_77665544_level_light_color_on_off"], "event_channels": [], "manufacturer": "OSRAM", "model": "LIGHTIFY A19 RGBW", }, { "endpoints": { "1": { "device_type": 1, "endpoint_id": 1, "in_clusters": [0, 1, 3, 32, 2821], "out_clusters": [3, 6, 8, 25], "profile_id": 260, } }, "entities": ["sensor.osram_lightify_dimming_switch_77665544_power"], "event_channels": [6, 8], "manufacturer": "OSRAM", "model": "LIGHTIFY Dimming Switch", }, { "endpoints": { "3": { "device_type": 258, "endpoint_id": 3, "in_clusters": [0, 3, 4, 5, 6, 8, 768, 64527], "out_clusters": [25], "profile_id": 260, } }, "entities": [ "light.osram_lightify_flex_rgbw_77665544_level_light_color_on_off" ], "event_channels": [], "manufacturer": "OSRAM", "model": "LIGHTIFY Flex RGBW", }, { "endpoints": { "3": { "device_type": 258, "endpoint_id": 3, "in_clusters": [0, 3, 4, 5, 6, 8, 768, 2820, 64527], "out_clusters": [25], "profile_id": 260, } }, "entities": [ "sensor.osram_lightify_rt_tunable_white_77665544_electrical_measurement", "light.osram_lightify_rt_tunable_white_77665544_level_light_color_on_off", ], "event_channels": [], "manufacturer": "OSRAM", "model": "LIGHTIFY RT Tunable White", }, { "endpoints": { "3": { "device_type": 16, "endpoint_id": 3, "in_clusters": [0, 3, 4, 5, 6, 2820, 4096, 64527], "out_clusters": [25], "profile_id": 49246, } }, "entities": [ "sensor.osram_plug_01_77665544_electrical_measurement", "switch.osram_plug_01_77665544_on_off", ], "event_channels": [], "manufacturer": "OSRAM", "model": "Plug 01", }, { "endpoints": { "1": { "device_type": 2064, "endpoint_id": 1, "in_clusters": [0, 1, 32, 4096, 64768], "out_clusters": [3, 4, 5, 6, 8, 25, 768, 4096], "profile_id": 260, }, "2": { "device_type": 2064, "endpoint_id": 2, "in_clusters": [0, 4096, 64768], "out_clusters": [3, 4, 5, 6, 8, 768, 4096], "profile_id": 260, }, "3": { "device_type": 2064, "endpoint_id": 3, "in_clusters": [0, 4096, 64768], "out_clusters": [3, 4, 5, 6, 8, 768, 4096], "profile_id": 260, }, "4": { "device_type": 2064, "endpoint_id": 4, "in_clusters": [0, 4096, 64768], "out_clusters": [3, 4, 5, 6, 8, 768, 4096], "profile_id": 260, }, "5": { "device_type": 2064, "endpoint_id": 5, "in_clusters": [0, 4096, 64768], "out_clusters": [3, 4, 5, 6, 8, 768, 4096], "profile_id": 260, }, "6": { "device_type": 2064, "endpoint_id": 6, "in_clusters": [0, 4096, 64768], "out_clusters": [3, 4, 5, 6, 8, 768, 4096], "profile_id": 260, }, }, "entities": ["sensor.osram_switch_4x_lightify_77665544_power"], "event_channels": [ 6, 8, 768, 6, 8, 768, 6, 8, 768, 6, 8, 768, 6, 8, 768, 6, 8, 768, ], "manufacturer": "OSRAM", "model": "Switch 4x-LIGHTIFY", }, { "endpoints": { "1": { "device_type": 2096, "endpoint_id": 1, "in_clusters": [0], "out_clusters": [0, 3, 4, 5, 6, 8], "profile_id": 49246, }, "2": { "device_type": 12, "endpoint_id": 2, "in_clusters": [0, 1, 3, 15, 64512], "out_clusters": [25], "profile_id": 260, }, }, "entities": ["sensor.philips_rwl020_77665544_power"], "event_channels": [6, 8], "manufacturer": "Philips", "model": "RWL020", }, { "endpoints": { "1": { "device_type": 1026, "endpoint_id": 1, "in_clusters": [0, 1, 3, 32, 1026, 1280, 2821], "out_clusters": [3, 25], "profile_id": 260, } }, "entities": [ "binary_sensor.samjin_button_77665544_ias_zone", "sensor.samjin_button_77665544_temperature", "sensor.samjin_button_77665544_power", ], "event_channels": [], "manufacturer": "Samjin", "model": "button", }, { "endpoints": { "1": { "device_type": 1026, "endpoint_id": 1, "in_clusters": [0, 1, 3, 32, 1026, 1280, 64514], "out_clusters": [3, 25], "profile_id": 260, } }, "entities": [ "sensor.samjin_multi_77665544_power", "sensor.samjin_multi_77665544_temperature", "binary_sensor.samjin_multi_77665544_ias_zone", "binary_sensor.samjin_multi_77665544_manufacturer_specific", ], "event_channels": [], "manufacturer": "Samjin", "model": "multi", }, { "endpoints": { "1": { "device_type": 1026, "endpoint_id": 1, "in_clusters": [0, 1, 3, 32, 1026, 1280], "out_clusters": [3, 25], "profile_id": 260, } }, "entities": [ "binary_sensor.samjin_water_77665544_ias_zone", "sensor.samjin_water_77665544_power", "sensor.samjin_water_77665544_temperature", ], "event_channels": [], "manufacturer": "Samjin", "model": "water", }, { "endpoints": { "1": { "device_type": 0, "endpoint_id": 1, "in_clusters": [0, 1, 3, 4, 5, 6, 2820, 2821], "out_clusters": [0, 1, 3, 4, 5, 6, 25, 2820, 2821], "profile_id": 260, } }, "entities": [ "sensor.securifi_ltd_unk_model_77665544_electrical_measurement", "sensor.securifi_ltd_unk_model_77665544_power", "switch.securifi_ltd_unk_model_77665544_on_off", ], "event_channels": [6], "manufacturer": "Securifi Ltd.", "model": None, }, { "endpoints": { "1": { "device_type": 1026, "endpoint_id": 1, "in_clusters": [0, 1, 3, 32, 1026, 1280, 2821], "out_clusters": [3, 25], "profile_id": 260, } }, "entities": [ "binary_sensor.sercomm_corp_sz_dws04n_sf_77665544_ias_zone", "sensor.sercomm_corp_sz_dws04n_sf_77665544_power", "sensor.sercomm_corp_sz_dws04n_sf_77665544_temperature", ], "event_channels": [], "manufacturer": "Sercomm Corp.", "model": "SZ-DWS04N_SF", }, { "endpoints": { "1": { "device_type": 256, "endpoint_id": 1, "in_clusters": [0, 1, 3, 4, 5, 6, 1794, 2820, 2821], "out_clusters": [3, 10, 25, 2821], "profile_id": 260, }, "2": { "device_type": 259, "endpoint_id": 2, "in_clusters": [0, 1, 3], "out_clusters": [3, 6], "profile_id": 260, }, }, "entities": [ "sensor.sercomm_corp_sz_esw01_77665544_smartenergy_metering", "sensor.sercomm_corp_sz_esw01_77665544_power", "sensor.sercomm_corp_sz_esw01_77665544_power_2", "sensor.sercomm_corp_sz_esw01_77665544_electrical_measurement", "light.sercomm_corp_sz_esw01_77665544_on_off", ], "event_channels": [6], "manufacturer": "Sercomm Corp.", "model": "SZ-ESW01", }, { "endpoints": { "1": { "device_type": 1026, "endpoint_id": 1, "in_clusters": [0, 1, 3, 32, 1024, 1026, 1280, 2821], "out_clusters": [25], "profile_id": 260, } }, "entities": [ "binary_sensor.sercomm_corp_sz_pir04_77665544_ias_zone", "sensor.sercomm_corp_sz_pir04_77665544_temperature", "sensor.sercomm_corp_sz_pir04_77665544_illuminance", "sensor.sercomm_corp_sz_pir04_77665544_power", ], "event_channels": [], "manufacturer": "Sercomm Corp.", "model": "SZ-PIR04", }, { "endpoints": { "1": { "device_type": 2, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 2820, 2821, 65281], "out_clusters": [3, 4, 25], "profile_id": 260, } }, "entities": [ "sensor.sinope_technologies_rm3250zb_77665544_electrical_measurement", "switch.sinope_technologies_rm3250zb_77665544_on_off", ], "event_channels": [], "manufacturer": "Sinope Technologies", "model": "RM3250ZB", }, { "endpoints": { "1": { "device_type": 769, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 513, 516, 1026, 2820, 2821, 65281], "out_clusters": [25, 65281], "profile_id": 260, }, "196": { "device_type": 769, "endpoint_id": 196, "in_clusters": [1], "out_clusters": [], "profile_id": 49757, }, }, "entities": [ "sensor.sinope_technologies_th1124zb_77665544_temperature", "sensor.sinope_technologies_th1124zb_77665544_power", "sensor.sinope_technologies_th1124zb_77665544_electrical_measurement", ], "event_channels": [], "manufacturer": "Sinope Technologies", "model": "TH1124ZB", }, { "endpoints": { "1": { "device_type": 2, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 9, 15, 2820], "out_clusters": [25], "profile_id": 260, } }, "entities": [ "sensor.smartthings_outletv4_77665544_electrical_measurement", "switch.smartthings_outletv4_77665544_on_off", ], "event_channels": [], "manufacturer": "SmartThings", "model": "outletv4", }, { "endpoints": { "1": { "device_type": 32768, "endpoint_id": 1, "in_clusters": [0, 1, 3, 15, 32], "out_clusters": [3, 25], "profile_id": 260, } }, "entities": ["device_tracker.smartthings_tagv4_77665544_power"], "event_channels": [], "manufacturer": "SmartThings", "model": "tagv4", }, { "endpoints": { "1": { "device_type": 2, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 25], "out_clusters": [], "profile_id": 260, } }, "entities": ["switch.third_reality_inc_3rss007z_77665544_on_off"], "event_channels": [], "manufacturer": "Third Reality, Inc", "model": "3RSS007Z", }, { "endpoints": { "1": { "device_type": 2, "endpoint_id": 1, "in_clusters": [0, 1, 3, 4, 5, 6, 25], "out_clusters": [1], "profile_id": 260, } }, "entities": [ "sensor.third_reality_inc_3rss008z_77665544_power", "switch.third_reality_inc_3rss008z_77665544_on_off", ], "event_channels": [], "manufacturer": "Third Reality, Inc", "model": "3RSS008Z", }, { "endpoints": { "1": { "device_type": 1026, "endpoint_id": 1, "in_clusters": [0, 1, 3, 32, 1026, 1280, 2821], "out_clusters": [25], "profile_id": 260, } }, "entities": [ "binary_sensor.visonic_mct_340_e_77665544_ias_zone", "sensor.visonic_mct_340_e_77665544_temperature", "sensor.visonic_mct_340_e_77665544_power", ], "event_channels": [], "manufacturer": "Visonic", "model": "MCT-340 E", }, { "endpoints": { "1": { "device_type": 1026, "endpoint_id": 1, "in_clusters": [0, 1, 3, 21, 32, 1280, 2821], "out_clusters": [], "profile_id": 260, } }, "entities": [ "binary_sensor.netvox_z308e3ed_77665544_ias_zone", "sensor.netvox_z308e3ed_77665544_power", ], "event_channels": [], "manufacturer": "netvox", "model": "Z308E3ED", }, { "endpoints": { "1": { "device_type": 257, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 8, 1794, 2821], "out_clusters": [25], "profile_id": 260, } }, "entities": [ "light.sengled_e11_g13_77665544_level_on_off", "sensor.sengled_e11_g13_77665544_smartenergy_metering", ], "event_channels": [], "manufacturer": "sengled", "model": "E11-G13", }, { "endpoints": { "1": { "device_type": 257, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 8, 1794, 2821], "out_clusters": [25], "profile_id": 260, } }, "entities": [ "sensor.sengled_e12_n14_77665544_smartenergy_metering", "light.sengled_e12_n14_77665544_level_on_off", ], "event_channels": [], "manufacturer": "sengled", "model": "E12-N14", }, { "endpoints": { "1": { "device_type": 257, "endpoint_id": 1, "in_clusters": [0, 3, 4, 5, 6, 8, 768, 1794, 2821], "out_clusters": [25], "profile_id": 260, } }, "entities": [ "sensor.sengled_z01_a19nae26_77665544_smartenergy_metering", "light.sengled_z01_a19nae26_77665544_level_light_color_on_off", ], "event_channels": [], "manufacturer": "sengled", "model": "Z01-A19NAE26", }, ]
# Start of Lesson 2 #if else - do while(nope) - for loops - switch statements(nope) - conditions my_list0 = [23, 1.5566, 'fruits', True] num1 = 10 num2 = 5 #If statements if num1 > num2: print('Num1 is greater than Num2') if num1 == num2: print('Num1 is equal ') if num1 < num2: print('Num1 is less than Num2') #Operators # > - greater than # <= - greater than or equals to # <= - less than or equal to # < - less than # == - equal to # && / and - and # || / or - or #while loops while num1 > num2: print(num2) num2 += 1 myfruit = ['apple', 'oragne', 'bananas'] #for loops for item in myfruit: print(item) #Using indexes for index, item in enumerate(myfruit): print(index) print(item)
# Taken from https://raw.githubusercontent.com/stripe/stripe-python/master/stripe/error.py # Kudos # The MIT License # # Copyright (c) 2010-2011 Stripe (http://stripe.com) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. class TaxamoApiError(Exception): def __init__(self, message=None, http_body=None, http_status=None, json_body=None): super(TaxamoApiError, self).__init__(message) if http_body and hasattr(http_body, 'decode'): try: http_body = http_body.decode('utf-8') except: http_body = ('<Could not decode body as utf-8. ' 'Please report to support@taxamo.com>') self.http_body = http_body self.http_status = http_status self.json_body = json_body class APIError(TaxamoApiError): pass class APIConnectionError(TaxamoApiError): pass class ValidationError(TaxamoApiError): def __init__(self, message, errors, http_body=None, http_status=None, json_body=None): super(ValidationError, self).__init__( message + str(errors), http_body, http_status, json_body) self.errors = errors class AuthenticationError(TaxamoApiError): pass
class Solution(object): def isValidSudoku(self, board): """ :type board: List[List[str]] :rtype: bool """ temp3 = [[],[],[],[],[],[],[],[],[]] # 粗实线分隔的 3x3 的数组 for i in range(9): temp1 = [] # 1.数字 1-9 在每一行只能出现一次。 temp2 = [] # 2.数字 1-9 在每一列只能出现一次。 for j in range(9): if board[i][j] != '.' : temp1.append(board[i][j]) if board[j][i] != '.' : temp2.append(board[j][i]) if i < 3: temp3[0] += board[i][0:3] temp3[1] += board[i][3:6] temp3[2] += board[i][6:9] elif i >=3 and i < 6: temp3[3] += board[i][0:3] temp3[4] += board[i][3:6] temp3[5] += board[i][6:9] else: temp3[6] += board[i][0:3] temp3[7] += board[i][3:6] temp3[8] += board[i][6:9] if len(set(temp2)) < len(temp2) or len(set(temp1)) < len(temp1): return False for i in range(9): temp4 = [] # 数字 1-9 在每一个以粗实线分隔的 3x3 宫内只能出现一次。 for j in range(9): if temp3[i][j] != '.' : temp4.append(temp3[i][j]) if len(set(temp4)) < len(temp4): return False return True
''' Created on Dec 1, 2017 @author: Andrea Graziani - matricola 0189326 @version: 1.0 ''' class binarySearchTreeNode(object): ''' This class represents a node of a binary search tree. ''' def __init__(self, key, value): ''' Constructs a newly allocated 'BinarySearchTreeNode' object. @param key: Represents a key. @param value: Represents a value. ''' self._key = key self._value = value self._parent = None self._leftSon = None self._rightSon = None # This attribute specifies if current node is a left or right son of his parent... self._isLeftSon = False def hasRightSon(self): """ This function is used to check if current node has a right son. @return: It returns 'True' if current node has a right child, otherwise it returns 'False'. """ return self._rightSon is not None def hasLeftSon(self): """ This function is used to check if current node has a left son. @return: It returns 'True' if current node has a left child, otherwise it returns 'False'. """ return self._leftSon is not None def hasOnlyOneSon(self): """ This function is used to check if current node has only one son. @return: It returns 'True' if current node has only one son, otherwise it returns 'False'. """ return ((self._leftSon is not None and self._rightSon is None) or (self._leftSon is None and self._rightSon is not None)) def hasTwoSons(self): """ This function is used to check if current node has two sons. @return: It returns 'True' if current node has two sons, otherwise it returns 'False'. """ return self._leftSon is not None and self._rightSon is not None class binarySearchTreeNodeAVL(binarySearchTreeNode): ''' This class represents a node of a binary search tree AVL. ''' def __init__(self, key, value): ''' Constructs a newly allocated 'BinarySearchTreeNode' object. @param key: Represents a key. @param value: Represents a value. ''' binarySearchTreeNode.__init__(self, key, value) # Heights of left and right subtree... self._leftSubtreeHeight = 0 self._rightSubtreeHeight = 0 def getBalanceFactor(self): """ This function is used to calc 'balance factor' of current node. @return: 'balance factor' of a node. """ return (self._leftSubtreeHeight - self._rightSubtreeHeight) def updateSubTreesHeight(self): """ This function is used to update subtrees height of current node. """ # Get sons... # ---------------------------------------------------- # nodeLeftSon = self._leftSon nodeRightSon = self._rightSon # Calc left subtree height... # ---------------------------------------------------- # if(nodeLeftSon is not None): self._leftSubtreeHeight = max(nodeLeftSon._leftSubtreeHeight, nodeLeftSon._rightSubtreeHeight) + 1 else: self._leftSubtreeHeight = 0 # Calc right subtree height... # ---------------------------------------------------- # if(nodeRightSon is not None): self._rightSubtreeHeight = max(nodeRightSon._leftSubtreeHeight, nodeRightSon._rightSubtreeHeight) + 1 else: self._rightSubtreeHeight = 0 class binarySearchTreeNodeAVLwithLazyDeletion(binarySearchTreeNodeAVL): ''' This class represents a node of a binary search tree AVL with 'lazy deletion'. ''' def __init__(self, key, value): binarySearchTreeNodeAVL.__init__(self, key, value) # This attribute is a flag used to mark current node as deleted or not ... self._isValid = True
# A tree is symmetric if its data and shape remain unchanged when it is # reflected about the root node. The following tree is an example: # 4 # / | \ # 3 5 3 # / \ # 9 9 # Given a k-ary tree, determine whether it is symmetric. class Node: def __init__(self, value, child=None): self.value = value if child is None: self.child = [] else: self.child = child def symmetric(node): if not node.child: return True def is_the_same(x, y): if x.value != y.value: return False elif len(x.child) != len(y.child): return False else: return all([is_the_same(x.child[i], y.child[i]) for i in range(len(x.child))]) n = len(node.child) return all([is_the_same(node.child[i], node.child[n-1-i]) for i in range(n//2)]) if __name__ == '__main__': for root in [ Node(4, [Node(3, [Node(9)]), Node(5), Node(3, [Node(9)])]), Node(2, [Node(1, [Node(2)]), Node(1, [Node(0)])]), Node(1) ]: print(symmetric(root))
# TODO(dragondriver): add more default configs to here class DefaultConfigs: WaitTimeDurationWhenLoad = 0.5 # in seconds MaxVarCharLengthKey = "max_length" MaxVarCharLength = 65535 EncodeProtocol = 'utf-8' IndexName = "_default_idx"
# # PySNMP MIB module Nortel-Magellan-Passport-SnaMIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-Magellan-Passport-SnaMIB # Produced by pysmi-0.3.4 at Wed May 1 14:28:18 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsUnion") Integer32, RowStatus, Counter32, Gauge32, DisplayString, RowPointer, StorageType, Unsigned32 = mibBuilder.importSymbols("Nortel-Magellan-Passport-StandardTextualConventionsMIB", "Integer32", "RowStatus", "Counter32", "Gauge32", "DisplayString", "RowPointer", "StorageType", "Unsigned32") HexString, NonReplicated, DashedHexString = mibBuilder.importSymbols("Nortel-Magellan-Passport-TextualConventionsMIB", "HexString", "NonReplicated", "DashedHexString") passportMIBs, = mibBuilder.importSymbols("Nortel-Magellan-Passport-UsefulDefinitionsMIB", "passportMIBs") vrPpIndex, vrIndex, vrPp, vr = mibBuilder.importSymbols("Nortel-Magellan-Passport-VirtualRouterMIB", "vrPpIndex", "vrIndex", "vrPp", "vr") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") iso, Integer32, Counter32, Gauge32, IpAddress, MibIdentifier, TimeTicks, Counter64, MibScalar, MibTable, MibTableRow, MibTableColumn, ModuleIdentity, NotificationType, Bits, Unsigned32, ObjectIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "iso", "Integer32", "Counter32", "Gauge32", "IpAddress", "MibIdentifier", "TimeTicks", "Counter64", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "ModuleIdentity", "NotificationType", "Bits", "Unsigned32", "ObjectIdentity") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") snaMIB = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 56)) vrPpSnaPort = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15)) vrPpSnaPortRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 1), ) if mibBuilder.loadTexts: vrPpSnaPortRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortRowStatusTable.setDescription('This entry controls the addition and deletion of vrPpSnaPort components.') vrPpSnaPortRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrPpIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrPpSnaPortIndex")) if mibBuilder.loadTexts: vrPpSnaPortRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortRowStatusEntry.setDescription('A single entry in the table represents a single vrPpSnaPort component.') vrPpSnaPortRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrPpSnaPortRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortRowStatus.setDescription('This variable is used as the basis for SNMP naming of vrPpSnaPort components. These components can be added and deleted.') vrPpSnaPortComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrPpSnaPortComponentName.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") vrPpSnaPortStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrPpSnaPortStorageType.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortStorageType.setDescription('This variable represents the storage type value for the vrPpSnaPort tables.') vrPpSnaPortIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: vrPpSnaPortIndex.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortIndex.setDescription('This variable represents the index for the vrPpSnaPort tables.') vrPpSnaPortAdminControlTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 100), ) if mibBuilder.loadTexts: vrPpSnaPortAdminControlTable.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortAdminControlTable.setDescription('This group includes the Administrative Control attribute. This attribute defines the current administrative state of this component.') vrPpSnaPortAdminControlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 100, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrPpIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrPpSnaPortIndex")) if mibBuilder.loadTexts: vrPpSnaPortAdminControlEntry.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortAdminControlEntry.setDescription('An entry in the vrPpSnaPortAdminControlTable.') vrPpSnaPortSnmpAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 100, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3))).clone('up')).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrPpSnaPortSnmpAdminStatus.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortSnmpAdminStatus.setDescription('The desired state of the interface. The up state indicates the interface is operational and packet forwarding is allowed. The down state indicates the interface is not operational and packet forwarding is unavailable. The testing state indicates that no operational packets can be passed.') vrPpSnaPortProvTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 101), ) if mibBuilder.loadTexts: vrPpSnaPortProvTable.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortProvTable.setDescription('This group contains provisionable attributes for SNA ports.') vrPpSnaPortProvEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 101, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrPpIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrPpSnaPortIndex")) if mibBuilder.loadTexts: vrPpSnaPortProvEntry.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortProvEntry.setDescription('An entry in the vrPpSnaPortProvTable.') vrPpSnaPortVirtualSegmentLFSize = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 101, 1, 1), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(516, 516), ValueRangeConstraint(635, 635), ValueRangeConstraint(754, 754), ValueRangeConstraint(873, 873), ValueRangeConstraint(993, 993), ValueRangeConstraint(1112, 1112), ValueRangeConstraint(1231, 1231), ValueRangeConstraint(1350, 1350), ValueRangeConstraint(1470, 1470), ValueRangeConstraint(1542, 1542), ValueRangeConstraint(1615, 1615), ValueRangeConstraint(1688, 1688), ValueRangeConstraint(1761, 1761), ValueRangeConstraint(1833, 1833), ValueRangeConstraint(1906, 1906), ValueRangeConstraint(1979, 1979), ValueRangeConstraint(2052, 2052), ValueRangeConstraint(2345, 2345), ValueRangeConstraint(5331, 5331), ValueRangeConstraint(5798, 5798), ValueRangeConstraint(6264, 6264), ValueRangeConstraint(6730, 6730), ValueRangeConstraint(7197, 7197), ValueRangeConstraint(7663, 7663), ValueRangeConstraint(8130, 8130), ValueRangeConstraint(8539, 8539), ValueRangeConstraint(8949, 8949), ValueRangeConstraint(9358, 9358), ValueRangeConstraint(9768, 9768), ValueRangeConstraint(10178, 10178), ValueRangeConstraint(10587, 10587), ValueRangeConstraint(10997, 10997), ValueRangeConstraint(11407, 11407), ValueRangeConstraint(12199, 12199), ValueRangeConstraint(12992, 12992), ValueRangeConstraint(13785, 13785), ValueRangeConstraint(14578, 14578), ValueRangeConstraint(15370, 15370), ValueRangeConstraint(16163, 16163), ValueRangeConstraint(16956, 16956), ValueRangeConstraint(17749, 17749), ValueRangeConstraint(20730, 20730), ValueRangeConstraint(23711, 23711), ValueRangeConstraint(26693, 26693), ValueRangeConstraint(29674, 29674), ValueRangeConstraint(32655, 32655), ValueRangeConstraint(35637, 35637), ValueRangeConstraint(38618, 38618), ValueRangeConstraint(41600, 41600), ValueRangeConstraint(44591, 44591), ValueRangeConstraint(47583, 47583), ValueRangeConstraint(50575, 50575), ValueRangeConstraint(53567, 53567), ValueRangeConstraint(56559, 56559), ValueRangeConstraint(59551, 59551), ValueRangeConstraint(65535, 65535), )).clone(2345)).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrPpSnaPortVirtualSegmentLFSize.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortVirtualSegmentLFSize.setDescription('This attribute specifies the largest frame size (including DLC header and info field but not any MAC-level or framing octets) for end-to- end connections established through this Sna component. This value is used as the largest frame size for all circuits unless a smaller value is specified in XID signals or by local LAN constraints.') vrPpSnaPortStateTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 103), ) if mibBuilder.loadTexts: vrPpSnaPortStateTable.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortStateTable.setDescription('This group contains the three OSI State attributes. The descriptions generically indicate what each state attribute implies about the component. Note that not all the values and state combinations described here are supported by every component which uses this group. For component-specific information and the valid state combinations, refer to NTP 241-7001-150, Passport Operations and Maintenance Guide.') vrPpSnaPortStateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 103, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrPpIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrPpSnaPortIndex")) if mibBuilder.loadTexts: vrPpSnaPortStateEntry.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortStateEntry.setDescription('An entry in the vrPpSnaPortStateTable.') vrPpSnaPortAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 103, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("locked", 0), ("unlocked", 1), ("shuttingDown", 2))).clone('unlocked')).setMaxAccess("readonly") if mibBuilder.loadTexts: vrPpSnaPortAdminState.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortAdminState.setDescription('This attribute indicates the OSI Administrative State of the component. The value locked indicates that the component is administratively prohibited from providing services for its users. A Lock or Lock - force command has been previously issued for this component. When the value is locked, the value of usageState must be idle. The value shuttingDown indicates that the component is administratively permitted to provide service to its existing users only. A Lock command was issued against the component and it is in the process of shutting down. The value unlocked indicates that the component is administratively permitted to provide services for its users. To enter this state, issue an Unlock command to this component.') vrPpSnaPortOperationalState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 103, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readonly") if mibBuilder.loadTexts: vrPpSnaPortOperationalState.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortOperationalState.setDescription('This attribute indicates the OSI Operational State of the component. The value enabled indicates that the component is available for operation. Note that if adminState is locked, it would still not be providing service. The value disabled indicates that the component is not available for operation. For example, something is wrong with the component itself, or with another component on which this one depends. If the value is disabled, the usageState must be idle.') vrPpSnaPortUsageState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 103, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("idle", 0), ("active", 1), ("busy", 2))).clone('idle')).setMaxAccess("readonly") if mibBuilder.loadTexts: vrPpSnaPortUsageState.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortUsageState.setDescription('This attribute indicates the OSI Usage State of the component. The value idle indicates that the component is not currently in use. The value active indicates that the component is in use and has spare capacity to provide for additional users. The value busy indicates that the component is in use and has no spare operating capacity for additional users at this time.') vrPpSnaPortOperStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 104), ) if mibBuilder.loadTexts: vrPpSnaPortOperStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortOperStatusTable.setDescription('This group includes the Operational Status attribute. This attribute defines the current operational state of this component.') vrPpSnaPortOperStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 104, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrPpIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrPpSnaPortIndex")) if mibBuilder.loadTexts: vrPpSnaPortOperStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortOperStatusEntry.setDescription('An entry in the vrPpSnaPortOperStatusTable.') vrPpSnaPortSnmpOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 104, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3))).clone('up')).setMaxAccess("readonly") if mibBuilder.loadTexts: vrPpSnaPortSnmpOperStatus.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortSnmpOperStatus.setDescription('The current state of the interface. The up state indicates the interface is operational and capable of forwarding packets. The down state indicates the interface is not operational, thus unable to forward packets. testing state indicates that no operational packets can be passed.') vrPpSnaPortCircuit = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 2)) vrPpSnaPortCircuitRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 2, 1), ) if mibBuilder.loadTexts: vrPpSnaPortCircuitRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortCircuitRowStatusTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This entry controls the addition and deletion of vrPpSnaPortCircuit components.') vrPpSnaPortCircuitRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 2, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrPpIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrPpSnaPortIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrPpSnaPortCircuitS1MacIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrPpSnaPortCircuitS1SapIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrPpSnaPortCircuitS2MacIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrPpSnaPortCircuitS2SapIndex")) if mibBuilder.loadTexts: vrPpSnaPortCircuitRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortCircuitRowStatusEntry.setDescription('A single entry in the table represents a single vrPpSnaPortCircuit component.') vrPpSnaPortCircuitRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 2, 1, 1, 1), RowStatus()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrPpSnaPortCircuitRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortCircuitRowStatus.setDescription('This variable is used as the basis for SNMP naming of vrPpSnaPortCircuit components. These components cannot be added nor deleted.') vrPpSnaPortCircuitComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 2, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrPpSnaPortCircuitComponentName.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortCircuitComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") vrPpSnaPortCircuitStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 2, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrPpSnaPortCircuitStorageType.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortCircuitStorageType.setDescription('This variable represents the storage type value for the vrPpSnaPortCircuit tables.') vrPpSnaPortCircuitS1MacIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 2, 1, 1, 10), DashedHexString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)) if mibBuilder.loadTexts: vrPpSnaPortCircuitS1MacIndex.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortCircuitS1MacIndex.setDescription('This variable represents an index for the vrPpSnaPortCircuit tables.') vrPpSnaPortCircuitS1SapIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 2, 1, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 254))) if mibBuilder.loadTexts: vrPpSnaPortCircuitS1SapIndex.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortCircuitS1SapIndex.setDescription('This variable represents an index for the vrPpSnaPortCircuit tables.') vrPpSnaPortCircuitS2MacIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 2, 1, 1, 12), DashedHexString().subtype(subtypeSpec=ValueSizeConstraint(6, 6)).setFixedLength(6)) if mibBuilder.loadTexts: vrPpSnaPortCircuitS2MacIndex.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortCircuitS2MacIndex.setDescription('This variable represents an index for the vrPpSnaPortCircuit tables.') vrPpSnaPortCircuitS2SapIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 2, 1, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 254))) if mibBuilder.loadTexts: vrPpSnaPortCircuitS2SapIndex.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortCircuitS2SapIndex.setDescription('This variable represents an index for the vrPpSnaPortCircuit tables.') vrPpSnaPortCircuitOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 2, 100), ) if mibBuilder.loadTexts: vrPpSnaPortCircuitOperTable.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortCircuitOperTable.setDescription('*** THIS TABLE CURRENTLY NOT IMPLEMENTED *** This group defines an entry in the SnaCircuitEntry Table.') vrPpSnaPortCircuitOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 2, 100, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrPpIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrPpSnaPortIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrPpSnaPortCircuitS1MacIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrPpSnaPortCircuitS1SapIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrPpSnaPortCircuitS2MacIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrPpSnaPortCircuitS2SapIndex")) if mibBuilder.loadTexts: vrPpSnaPortCircuitOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortCircuitOperEntry.setDescription('An entry in the vrPpSnaPortCircuitOperTable.') vrPpSnaPortCircuitS1DlcType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 2, 100, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("other", 1), ("na", 2), ("llc", 3), ("sdlc", 4), ("qllc", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrPpSnaPortCircuitS1DlcType.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortCircuitS1DlcType.setDescription('This attribute indicates the DLC protocol in use between the SNA node and S1.') vrPpSnaPortCircuitS1RouteInfo = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 2, 100, 1, 3), HexString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrPpSnaPortCircuitS1RouteInfo.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortCircuitS1RouteInfo.setDescription('If source-route bridging is in use between the SNA node and S1, this is the routing information field describing the path between the two devices. The format of the routing information corresponds to that of the route designator fields of a specifically routed SRB frame. Otherwise the value will be a Hex string of zero length.') vrPpSnaPortCircuitS2Location = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 2, 100, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("other", 1), ("internal", 2), ("remote", 3), ("local", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrPpSnaPortCircuitS2Location.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortCircuitS2Location.setDescription('This attribute indicates the location of End Station 2 (S2). If the location of End Station 2 is local, the interface information will be available in the conceptual row whose S1 and S2 are the S2 and the S1 of this conceptual row, respectively.') vrPpSnaPortCircuitOrigin = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 2, 100, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("s2", 0), ("s1", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrPpSnaPortCircuitOrigin.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortCircuitOrigin.setDescription('This attribute indicates which of the two end stations initiated the establishment of this circuit.') vrPpSnaPortCircuitState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 2, 100, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13))).clone(namedValues=NamedValues(("disconnected", 1), ("circuitStart", 2), ("resolvePending", 3), ("circuitPending", 4), ("circuitEstablished", 5), ("connectPending", 6), ("contactPending", 7), ("connected", 8), ("disconnectPending", 9), ("haltPending", 10), ("haltPendingNoack", 11), ("circuitRestart", 12), ("restartPending", 13)))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrPpSnaPortCircuitState.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortCircuitState.setDescription('This attribute indicates the current state of this circuit. Note that this implementation does not keep entries after circuit disconnect. Details regarding the state machine and meaning of individual states may be found in RFC 1795.') vrPpSnaPortCircuitPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 2, 100, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("unsupported", 1), ("low", 2), ("medium", 3), ("high", 4), ("highest", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrPpSnaPortCircuitPriority.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortCircuitPriority.setDescription('This attribute indicates the transmission priority of this circuit as understood by this SNA node. This value is determined by the two SNA nodes at circuit startup time.') vrPpSnaPortCircuitVcId = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 3, 15, 2, 100, 1, 26), RowPointer()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrPpSnaPortCircuitVcId.setStatus('mandatory') if mibBuilder.loadTexts: vrPpSnaPortCircuitVcId.setDescription('This attribute indicates the component name of the GvcIf/n Dlci/n which represents this VC connection in the SNA DLR service. This attribute appears only for circuits that are connecting over a Frame Relay DLCI only. For circuits connecting over Qllc VCs or Token Ring interface this attribute does not appear.') vrSna = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14)) vrSnaRowStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 1), ) if mibBuilder.loadTexts: vrSnaRowStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaRowStatusTable.setDescription('This entry controls the addition and deletion of vrSna components.') vrSnaRowStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 1, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrSnaIndex")) if mibBuilder.loadTexts: vrSnaRowStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaRowStatusEntry.setDescription('A single entry in the table represents a single vrSna component.') vrSnaRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 1, 1, 1), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrSnaRowStatus.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaRowStatus.setDescription('This variable is used as the basis for SNMP naming of vrSna components. These components can be added and deleted.') vrSnaComponentName = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrSnaComponentName.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaComponentName.setDescription("This variable provides the component's string name for use with the ASCII Console Interface") vrSnaStorageType = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 1, 1, 4), StorageType()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrSnaStorageType.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaStorageType.setDescription('This variable represents the storage type value for the vrSna tables.') vrSnaIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 1, 1, 10), NonReplicated()) if mibBuilder.loadTexts: vrSnaIndex.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaIndex.setDescription('This variable represents the index for the vrSna tables.') vrSnaAdminControlTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 100), ) if mibBuilder.loadTexts: vrSnaAdminControlTable.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaAdminControlTable.setDescription('This group includes the Administrative Control attribute. This attribute defines the current administrative state of this component.') vrSnaAdminControlEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 100, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrSnaIndex")) if mibBuilder.loadTexts: vrSnaAdminControlEntry.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaAdminControlEntry.setDescription('An entry in the vrSnaAdminControlTable.') vrSnaSnmpAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 100, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3))).clone('up')).setMaxAccess("readwrite") if mibBuilder.loadTexts: vrSnaSnmpAdminStatus.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaSnmpAdminStatus.setDescription('The desired state of the interface. The up state indicates the interface is operational and packet forwarding is allowed. The down state indicates the interface is not operational and packet forwarding is unavailable. The testing state indicates that no operational packets can be passed.') vrSnaStateTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 101), ) if mibBuilder.loadTexts: vrSnaStateTable.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaStateTable.setDescription('This group contains the three OSI State attributes. The descriptions generically indicate what each state attribute implies about the component. Note that not all the values and state combinations described here are supported by every component which uses this group. For component-specific information and the valid state combinations, refer to NTP 241-7001-150, Passport Operations and Maintenance Guide.') vrSnaStateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 101, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrSnaIndex")) if mibBuilder.loadTexts: vrSnaStateEntry.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaStateEntry.setDescription('An entry in the vrSnaStateTable.') vrSnaAdminState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 101, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("locked", 0), ("unlocked", 1), ("shuttingDown", 2))).clone('unlocked')).setMaxAccess("readonly") if mibBuilder.loadTexts: vrSnaAdminState.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaAdminState.setDescription('This attribute indicates the OSI Administrative State of the component. The value locked indicates that the component is administratively prohibited from providing services for its users. A Lock or Lock - force command has been previously issued for this component. When the value is locked, the value of usageState must be idle. The value shuttingDown indicates that the component is administratively permitted to provide service to its existing users only. A Lock command was issued against the component and it is in the process of shutting down. The value unlocked indicates that the component is administratively permitted to provide services for its users. To enter this state, issue an Unlock command to this component.') vrSnaOperationalState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 101, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disabled", 0), ("enabled", 1))).clone('disabled')).setMaxAccess("readonly") if mibBuilder.loadTexts: vrSnaOperationalState.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaOperationalState.setDescription('This attribute indicates the OSI Operational State of the component. The value enabled indicates that the component is available for operation. Note that if adminState is locked, it would still not be providing service. The value disabled indicates that the component is not available for operation. For example, something is wrong with the component itself, or with another component on which this one depends. If the value is disabled, the usageState must be idle.') vrSnaUsageState = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 101, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("idle", 0), ("active", 1), ("busy", 2))).clone('idle')).setMaxAccess("readonly") if mibBuilder.loadTexts: vrSnaUsageState.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaUsageState.setDescription('This attribute indicates the OSI Usage State of the component. The value idle indicates that the component is not currently in use. The value active indicates that the component is in use and has spare capacity to provide for additional users. The value busy indicates that the component is in use and has no spare operating capacity for additional users at this time.') vrSnaOperStatusTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 102), ) if mibBuilder.loadTexts: vrSnaOperStatusTable.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaOperStatusTable.setDescription('This group includes the Operational Status attribute. This attribute defines the current operational state of this component.') vrSnaOperStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 102, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrSnaIndex")) if mibBuilder.loadTexts: vrSnaOperStatusEntry.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaOperStatusEntry.setDescription('An entry in the vrSnaOperStatusTable.') vrSnaSnmpOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 102, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("up", 1), ("down", 2), ("testing", 3))).clone('up')).setMaxAccess("readonly") if mibBuilder.loadTexts: vrSnaSnmpOperStatus.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaSnmpOperStatus.setDescription('The current state of the interface. The up state indicates the interface is operational and capable of forwarding packets. The down state indicates the interface is not operational, thus unable to forward packets. testing state indicates that no operational packets can be passed.') vrSnaOperTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 103), ) if mibBuilder.loadTexts: vrSnaOperTable.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaOperTable.setDescription('This group contains operational attributes which describe the behavior of the Sna component and associated ports under the Virtual Router (VR).') vrSnaOperEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 103, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrSnaIndex")) if mibBuilder.loadTexts: vrSnaOperEntry.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaOperEntry.setDescription('An entry in the vrSnaOperTable.') vrSnaVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 103, 1, 2), HexString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: vrSnaVersion.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaVersion.setDescription('This attribute indicates the particular version of the SNA standard supported by this Sna. The first 2 digits represent the SNA standard Version number of this Sna, the second 2 digits represent the SNA standard Release number.') vrSnaCircStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 104), ) if mibBuilder.loadTexts: vrSnaCircStatsTable.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaCircStatsTable.setDescription("A circuit is the end-to-end association of two Data Link Routing (DLR) entities through one or two DLR nodes. It is the concatenation of two 'data links', optionally with an intervening transport connection (not initially supported). The origin of the circuit is the end station that initiates the circuit. The target of the circuit is the end station that receives the initiation.") vrSnaCircStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 104, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrSnaIndex")) if mibBuilder.loadTexts: vrSnaCircStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaCircStatsEntry.setDescription('An entry in the vrSnaCircStatsTable.') vrSnaActives = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 104, 1, 1), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4292967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrSnaActives.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaActives.setDescription('This attribute indiates the current number of circuits in Circuit table that are not in the disconnected state.') vrSnaCreates = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 104, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrSnaCreates.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaCreates.setDescription('This attribute indicates the total number of entries ever added to Circuit table, or reactivated upon exiting disconnected state.') vrSnaDirStatsTable = MibTable((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 105), ) if mibBuilder.loadTexts: vrSnaDirStatsTable.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaDirStatsTable.setDescription('MAC Table Directory statistics') vrSnaDirStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 105, 1), ).setIndexNames((0, "Nortel-Magellan-Passport-VirtualRouterMIB", "vrIndex"), (0, "Nortel-Magellan-Passport-SnaMIB", "vrSnaIndex")) if mibBuilder.loadTexts: vrSnaDirStatsEntry.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaDirStatsEntry.setDescription('An entry in the vrSnaDirStatsTable.') vrSnaMacEntries = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 105, 1, 1), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 10000))).setMaxAccess("readonly") if mibBuilder.loadTexts: vrSnaMacEntries.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaMacEntries.setDescription('This attribute indicates the current total number of entries in the DirectoryEntry table.') vrSnaMacCacheHits = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 105, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrSnaMacCacheHits.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaMacCacheHits.setDescription('This attribute indicates the number of times a cache search for a particular MAC address resulted in success.') vrSnaMacCacheMisses = MibTableColumn((1, 3, 6, 1, 4, 1, 562, 2, 4, 1, 100, 14, 105, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: vrSnaMacCacheMisses.setStatus('mandatory') if mibBuilder.loadTexts: vrSnaMacCacheMisses.setDescription('This attribute indicates the number of times a cache search for a particular MAC address resulted in failure.') snaGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 56, 1)) snaGroupBE = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 56, 1, 5)) snaGroupBE01 = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 56, 1, 5, 2)) snaGroupBE01A = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 56, 1, 5, 2, 2)) snaCapabilities = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 56, 3)) snaCapabilitiesBE = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 56, 3, 5)) snaCapabilitiesBE01 = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 56, 3, 5, 2)) snaCapabilitiesBE01A = MibIdentifier((1, 3, 6, 1, 4, 1, 562, 2, 4, 2, 56, 3, 5, 2, 2)) mibBuilder.exportSymbols("Nortel-Magellan-Passport-SnaMIB", vrSnaMacEntries=vrSnaMacEntries, vrPpSnaPortOperStatusEntry=vrPpSnaPortOperStatusEntry, vrPpSnaPortCircuitOperTable=vrPpSnaPortCircuitOperTable, vrSnaActives=vrSnaActives, vrSnaSnmpAdminStatus=vrSnaSnmpAdminStatus, vrSnaStorageType=vrSnaStorageType, snaGroupBE01=snaGroupBE01, vrSnaOperStatusEntry=vrSnaOperStatusEntry, vrSnaUsageState=vrSnaUsageState, vrPpSnaPortOperStatusTable=vrPpSnaPortOperStatusTable, vrSnaOperStatusTable=vrSnaOperStatusTable, vrPpSnaPortCircuitStorageType=vrPpSnaPortCircuitStorageType, vrSnaCircStatsEntry=vrSnaCircStatsEntry, vrPpSnaPortCircuitS1MacIndex=vrPpSnaPortCircuitS1MacIndex, vrPpSnaPortCircuitRowStatus=vrPpSnaPortCircuitRowStatus, vrSnaAdminControlTable=vrSnaAdminControlTable, vrPpSnaPortStorageType=vrPpSnaPortStorageType, vrSnaStateTable=vrSnaStateTable, vrSnaRowStatusTable=vrSnaRowStatusTable, vrSnaDirStatsTable=vrSnaDirStatsTable, vrSnaOperEntry=vrSnaOperEntry, vrPpSnaPortCircuitOrigin=vrPpSnaPortCircuitOrigin, vrPpSnaPortStateTable=vrPpSnaPortStateTable, vrPpSnaPortCircuitS1DlcType=vrPpSnaPortCircuitS1DlcType, vrSnaComponentName=vrSnaComponentName, vrPpSnaPortRowStatusTable=vrPpSnaPortRowStatusTable, vrPpSnaPortCircuitRowStatusEntry=vrPpSnaPortCircuitRowStatusEntry, vrSnaCreates=vrSnaCreates, vrPpSnaPortCircuitPriority=vrPpSnaPortCircuitPriority, vrPpSnaPortSnmpOperStatus=vrPpSnaPortSnmpOperStatus, vrPpSnaPortProvTable=vrPpSnaPortProvTable, vrPpSnaPortStateEntry=vrPpSnaPortStateEntry, vrPpSnaPortCircuitS2SapIndex=vrPpSnaPortCircuitS2SapIndex, vrPpSnaPortAdminControlTable=vrPpSnaPortAdminControlTable, vrSnaMacCacheMisses=vrSnaMacCacheMisses, snaCapabilitiesBE=snaCapabilitiesBE, vrPpSnaPortCircuitS1SapIndex=vrPpSnaPortCircuitS1SapIndex, vrSnaDirStatsEntry=vrSnaDirStatsEntry, vrPpSnaPortOperationalState=vrPpSnaPortOperationalState, vrPpSnaPortCircuitOperEntry=vrPpSnaPortCircuitOperEntry, snaCapabilities=snaCapabilities, vrPpSnaPortRowStatus=vrPpSnaPortRowStatus, vrPpSnaPortIndex=vrPpSnaPortIndex, vrPpSnaPortCircuitS2Location=vrPpSnaPortCircuitS2Location, snaGroup=snaGroup, vrPpSnaPortCircuitComponentName=vrPpSnaPortCircuitComponentName, snaMIB=snaMIB, vrSnaAdminControlEntry=vrSnaAdminControlEntry, vrSna=vrSna, vrPpSnaPortUsageState=vrPpSnaPortUsageState, vrSnaRowStatus=vrSnaRowStatus, vrSnaIndex=vrSnaIndex, vrSnaAdminState=vrSnaAdminState, snaCapabilitiesBE01A=snaCapabilitiesBE01A, vrPpSnaPortCircuitVcId=vrPpSnaPortCircuitVcId, snaGroupBE01A=snaGroupBE01A, vrPpSnaPortRowStatusEntry=vrPpSnaPortRowStatusEntry, vrSnaSnmpOperStatus=vrSnaSnmpOperStatus, vrPpSnaPortAdminControlEntry=vrPpSnaPortAdminControlEntry, vrPpSnaPortProvEntry=vrPpSnaPortProvEntry, vrPpSnaPortCircuitRowStatusTable=vrPpSnaPortCircuitRowStatusTable, vrSnaMacCacheHits=vrSnaMacCacheHits, vrPpSnaPort=vrPpSnaPort, snaGroupBE=snaGroupBE, vrPpSnaPortCircuit=vrPpSnaPortCircuit, vrPpSnaPortComponentName=vrPpSnaPortComponentName, vrSnaCircStatsTable=vrSnaCircStatsTable, vrSnaStateEntry=vrSnaStateEntry, vrSnaVersion=vrSnaVersion, vrPpSnaPortCircuitS1RouteInfo=vrPpSnaPortCircuitS1RouteInfo, snaCapabilitiesBE01=snaCapabilitiesBE01, vrPpSnaPortCircuitS2MacIndex=vrPpSnaPortCircuitS2MacIndex, vrPpSnaPortCircuitState=vrPpSnaPortCircuitState, vrPpSnaPortAdminState=vrPpSnaPortAdminState, vrPpSnaPortVirtualSegmentLFSize=vrPpSnaPortVirtualSegmentLFSize, vrSnaOperTable=vrSnaOperTable, vrSnaOperationalState=vrSnaOperationalState, vrPpSnaPortSnmpAdminStatus=vrPpSnaPortSnmpAdminStatus, vrSnaRowStatusEntry=vrSnaRowStatusEntry)
c.NotebookApp.ip = '0.0.0.0' c.NotebookApp.allow_origin = '*' c.NotebookApp.open_browser = False c.NotebookApp.token = '' c.NotebookApp.password = ''
functions_str = """AllPlanes BlackPixel WhitePixel ConnectionNumber DefaultColormap DefaultDepth DefaultGC DefaultRootWindow DefaultScreenOfDisplay ScreensOfDisplay DefaultScreen DefaultVisual DisplayCells DisplayPlanes DisplayString LastKnownRequestProcessed NextRequest ProtocolVersion ProtocolRevision QLength RootWindow ScreenCount ServerVendor VendorRelease""" functions = set(functions_str.splitlines()) #print(len(functions)) #print(next(iter(functions))) file1 = open('display-macros.txt', 'r') lines = file1.readlines() for i in range(0, len(lines)): line = lines[i] if any(line.startswith(word + '(') for word in functions): xfunc_str = lines[i + 2] print(xfunc_str.split('(')[0] + '(') num_args = 1 + xfunc_str.count(',') for j in range(num_args): if j == num_args - 1: print(lines[i + 2 + j + 1].strip().replace(';', '')) else: print(lines[i + 2 + j + 1].strip().replace(';', ',')) print(") { return " + line.strip() + "; }\n")
n = int(input('Digite um número para \n' 'calcular seu fatorial: ')) f = 1 c = n print(f'Calculando {n}! = ', end='') while c > 0: print(f'{c}', end='') print(' x ' if c > 1 else ' = ', end='') f *= c c -= 1 print(f'{f}')
"""Message.py: stores a facebook message as a python object.""" class Message: def __init__(self, name, date, timestamp, content): self.name = name self.date = date self.content = content self.timestamp = timestamp
# import # Hier kommt ein Kommentar für das erste Programm, geschrieben am iPad. print("Hello World 1") # Hier kommt nochmal ein Kommentar. print("Hallo Welt 2")
'''input 2 212 1253 ''' total_case = int(input('')) total = 0 for i in range(0, total_case): inp = input('') total += int(inp[:-1])**(int(inp[-1:])) print(total)
extensions = ['sphinxcontrib.opencontracting'] exclude_patterns = ['_build'] codelist_headers = { 'en': {'code': 'non-code', 'description': 'non-description'}, }
""" lista = ["item1", "item2", "item3"] print(lista) print(len(lista)) print(type(lista)) print("*"*10) tuplas = ("item", "item2", "item3") print(tuplas) print(len(tuplas)) print(type(tuplas)) print(tuplas[2]) print(tuplas.count("item1")) tuplas.append("item4") print(tuplas) lista = [] lista.append("item1") print(lista) """ """ lista = ["item1", "item2"] print(lista) lista[0] = "item3" print(lista) """ """ tupla = ("item1", "item2") print(tupla) tupla[0] = "item3" print(tupla) """ """ tupla = ("item1", "item2") print(tupla) tupla = ("item3", "item4", "verde") print(tupla) """ """ unidades_federativas = ["SP", "DF", "GO"] print(type(unidades_federativas)) """ """ tupla = (3, 5.0, True, "item") print(tupla) """ """ tupla = ("item1", "item2", "item3", "item4") lista = list(tupla) print(tupla) print(lista) lista.pop() print(lista) tupla = tuple(lista) del tupla print(tupla) """ tupla = ("item1",) tupla2 = ("a", "b") tupla = "item1", "item2", "item3" print(tupla) for variavel in tupla: print(variavel) for x in range(len(tupla)): print(x)
""" Lecture about list and set """ my_list = [1,2,3,4,5,] print(my_list) my_nested_list = [1,2,3,my_list] print(my_nested_list) my_list[0]=6 print(my_list) my_list.append(7) print(my_list) my_list.remove(7) print(my_list) my_list.sort() print((my_list)) my_list.reverse() print(my_list) print(my_list+[8,9]) my_list.extend(['a','b']) print(my_list) print('a' in my_list) #print(my_list[:]) #x,y=['a','b'] #print(y) print('hello world'[-1]) my_letters= ['a','a','b','b','c'] print(my_letters) my_unique_letters = set(my_letters) print(my_unique_letters)
# # PySNMP MIB module ASCEND-MIBTRAP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ASCEND-MIBTRAP-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:28:47 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) # configuration, = mibBuilder.importSymbols("ASCEND-MIB", "configuration") Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueSizeConstraint, ConstraintsIntersection, ValueRangeConstraint, SingleValueConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsUnion") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Unsigned32, Counter32, Bits, Counter64, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, MibIdentifier, ModuleIdentity, ObjectIdentity, Gauge32, TimeTicks, IpAddress, Integer32, iso = mibBuilder.importSymbols("SNMPv2-SMI", "Unsigned32", "Counter32", "Bits", "Counter64", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "MibIdentifier", "ModuleIdentity", "ObjectIdentity", "Gauge32", "TimeTicks", "IpAddress", "Integer32", "iso") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") class DisplayString(OctetString): pass mibtrapProfile = MibIdentifier((1, 3, 6, 1, 4, 1, 529, 23, 132)) mibtrapProfileTable = MibTable((1, 3, 6, 1, 4, 1, 529, 23, 132, 1), ) if mibBuilder.loadTexts: mibtrapProfileTable.setStatus('mandatory') if mibBuilder.loadTexts: mibtrapProfileTable.setDescription('A list of mibtrapProfile profile entries.') mibtrapProfileEntry = MibTableRow((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1), ).setIndexNames((0, "ASCEND-MIBTRAP-MIB", "trapProfile-HostName")) if mibBuilder.loadTexts: mibtrapProfileEntry.setStatus('mandatory') if mibBuilder.loadTexts: mibtrapProfileEntry.setDescription('A mibtrapProfile entry containing objects that maps to the parameters of mibtrapProfile profile.') trapProfile_HostName = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 1), DisplayString()).setLabel("trapProfile-HostName").setMaxAccess("readonly") if mibBuilder.loadTexts: trapProfile_HostName.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_HostName.setDescription('The name of the host to send traps to. When DNS or YP/NIS is supported this name will be used to look up the LAN address when hostAddress is 0.') trapProfile_ActiveEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-ActiveEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_ActiveEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_ActiveEnabled.setDescription('If TRUE, profile is enabled to send traps to this target') trapProfile_CommunityName = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 3), DisplayString()).setLabel("trapProfile-CommunityName").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_CommunityName.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_CommunityName.setDescription('The community name associated with the SNMP PDU.') trapProfile_HostAddress = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 4), IpAddress()).setLabel("trapProfile-HostAddress").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_HostAddress.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_HostAddress.setDescription('The LAN address of the named host. If 0 the address will be looked up via DNS or YP/NIS when supported.') trapProfile_HostPort = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 5), Integer32()).setLabel("trapProfile-HostPort").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_HostPort.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_HostPort.setDescription('Port number of the named host. Value 0 is not allowed') trapProfile_InformTimeOut = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 6), Integer32()).setLabel("trapProfile-InformTimeOut").setMaxAccess("readonly") if mibBuilder.loadTexts: trapProfile_InformTimeOut.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_InformTimeOut.setDescription('Timeout interval in units of 0.01 seconds after which the Inform PDU is retransmitted on receiving no acknowledgement') trapProfile_InformRetryCount = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 7), Integer32()).setLabel("trapProfile-InformRetryCount").setMaxAccess("readonly") if mibBuilder.loadTexts: trapProfile_InformRetryCount.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_InformRetryCount.setDescription('Number of retries attempted when acknowledgement is not received for an Inform PDU') trapProfile_NotifyTagList = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 8), OctetString()).setLabel("trapProfile-NotifyTagList").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_NotifyTagList.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_NotifyTagList.setDescription('String containing a list of tag values that are used to select target addresses for a particular operation.') trapProfile_TargetParamsName = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 9), OctetString()).setLabel("trapProfile-TargetParamsName").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_TargetParamsName.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_TargetParamsName.setDescription('Index to the row an entry in SNMPV3-TARGET-PARAM table which is used when generating messages to be sent to this host-address') trapProfile_NotificationLogEnable = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 75), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-NotificationLogEnable").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_NotificationLogEnable.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_NotificationLogEnable.setDescription('YES if notifications sent on behalf of this entry needs to be logged. ') trapProfile_NotificationLogLimit = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 76), Integer32()).setLabel("trapProfile-NotificationLogLimit").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_NotificationLogLimit.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_NotificationLogLimit.setDescription('The maximum number of notification entries that can be held in the notification log.') trapProfile_AgentAddress = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 10), IpAddress()).setLabel("trapProfile-AgentAddress").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_AgentAddress.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_AgentAddress.setDescription('The IP address of the object, generating the SNMP trap.') trapProfile_AlarmEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-AlarmEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_AlarmEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_AlarmEnabled.setDescription('TRUE if alarm class traps are to be sent to the identified host.') trapProfile_SecurityEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-SecurityEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_SecurityEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_SecurityEnabled.setDescription('TRUE if security class traps are to be sent to the identified host.') trapProfile_PortEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-PortEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_PortEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_PortEnabled.setDescription('TRUE if port class traps are to be sent to the identified host.') trapProfile_SlotEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-SlotEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_SlotEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_SlotEnabled.setDescription('TRUE if slot class traps are to be sent to the identified host.') trapProfile_ColdstartEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-ColdstartEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_ColdstartEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_ColdstartEnabled.setDescription('TRUE if cold start trap is enabled.') trapProfile_WarmstartEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-WarmstartEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_WarmstartEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_WarmstartEnabled.setDescription('TRUE if warm start trap is enabled.') trapProfile_LinkdownEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-LinkdownEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_LinkdownEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_LinkdownEnabled.setDescription('TRUE if link down trap is enabled.') trapProfile_LinkupEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-LinkupEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_LinkupEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_LinkupEnabled.setDescription('TRUE if link up trap is enabled.') trapProfile_AscendEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-AscendEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_AscendEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_AscendEnabled.setDescription('TRUE if Ascend trap is enabled.') trapProfile_ConsoleEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-ConsoleEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_ConsoleEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_ConsoleEnabled.setDescription('TRUE if console trap is enabled.') trapProfile_UseExceededEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-UseExceededEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_UseExceededEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_UseExceededEnabled.setDescription('TRUE if use exceeded trap is enabled.') trapProfile_PasswordEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-PasswordEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_PasswordEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_PasswordEnabled.setDescription('TRUE if Telnet password trap is enabled.') trapProfile_FrLinkupEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-FrLinkupEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_FrLinkupEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_FrLinkupEnabled.setDescription('TRUE if FR link up trap is enabled.') trapProfile_FrLinkdownEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-FrLinkdownEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_FrLinkdownEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_FrLinkdownEnabled.setDescription('TRUE if FR Link Down trap is enabled.') trapProfile_EventOverwriteEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-EventOverwriteEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_EventOverwriteEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_EventOverwriteEnabled.setDescription('TRUE if event Overwrite trap is enabled.') trapProfile_RadiusChangeEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-RadiusChangeEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_RadiusChangeEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_RadiusChangeEnabled.setDescription('TRUE if radius change trap is enabled.') trapProfile_McastMonitorEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-McastMonitorEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_McastMonitorEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_McastMonitorEnabled.setDescription('TRUE if multicast monitor trap is enabled.') trapProfile_LanModemEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-LanModemEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_LanModemEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_LanModemEnabled.setDescription('TRUE if lan modem trap is enabled.') trapProfile_DirdoEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-DirdoEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_DirdoEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_DirdoEnabled.setDescription('TRUE if DIRDO trap is enabled.') trapProfile_SlotProfileChangeEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-SlotProfileChangeEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_SlotProfileChangeEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_SlotProfileChangeEnabled.setDescription('TRUE if slot profile change trap is enabled.') trapProfile_PowerSupplyEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-PowerSupplyEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_PowerSupplyEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_PowerSupplyEnabled.setDescription('TRUE if power supply changed trap is enabled.') trapProfile_MultishelfEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 32), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-MultishelfEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_MultishelfEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_MultishelfEnabled.setDescription('TRUE if multi-shelf controller state trap is enabled.') trapProfile_AuthenticationEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-AuthenticationEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_AuthenticationEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_AuthenticationEnabled.setDescription('TRUE if SNMP authentication trap is enabled.') trapProfile_ConfigChangeEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 34), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-ConfigChangeEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_ConfigChangeEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_ConfigChangeEnabled.setDescription('TRUE if SNMP configuration change trap is enabled.') trapProfile_SysClockDriftEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 35), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-SysClockDriftEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_SysClockDriftEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_SysClockDriftEnabled.setDescription('TRUE if system clock drifted trap is enabled.') trapProfile_PrimarySdtnEmptyEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 36), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-PrimarySdtnEmptyEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_PrimarySdtnEmptyEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_PrimarySdtnEmptyEnabled.setDescription('TRUE if SDTN Primary List Empty trap is enabled.') trapProfile_SecondarySdtnEmptyEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 37), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-SecondarySdtnEmptyEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_SecondarySdtnEmptyEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_SecondarySdtnEmptyEnabled.setDescription('TRUE if SDTN Secondary List Empty trap is enabled.') trapProfile_SuspectAccessResourceEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 38), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-SuspectAccessResourceEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_SuspectAccessResourceEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_SuspectAccessResourceEnabled.setDescription('TRUE if suspect access resource trap is enabled.') trapProfile_OspfEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 39), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-OspfEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_OspfEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_OspfEnabled.setDescription('TRUE if OSPF traps are to be sent to the identified host.') trapProfile_OspfIfConfigErrorEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 40), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-OspfIfConfigErrorEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_OspfIfConfigErrorEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_OspfIfConfigErrorEnabled.setDescription('TRUE if OSPF interface configuration error trap is enabled.') trapProfile_OspfIfAuthFailureEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 41), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-OspfIfAuthFailureEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_OspfIfAuthFailureEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_OspfIfAuthFailureEnabled.setDescription('TRUE if OSPF interface authentication failure trap is enabled.') trapProfile_OspfIfStateChangeEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 42), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-OspfIfStateChangeEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_OspfIfStateChangeEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_OspfIfStateChangeEnabled.setDescription('TRUE if OSPF interface state change trap is enabled.') trapProfile_OspfIfRxBadPacket = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 43), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-OspfIfRxBadPacket").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_OspfIfRxBadPacket.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_OspfIfRxBadPacket.setDescription('TRUE if OSPF interface receive bad packet trap is enabled.') trapProfile_OspfTxRetransmitEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 44), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-OspfTxRetransmitEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_OspfTxRetransmitEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_OspfTxRetransmitEnabled.setDescription('TRUE if OSPF retransmit trap is enabled.') trapProfile_OspfNbrStateChangeEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 45), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-OspfNbrStateChangeEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_OspfNbrStateChangeEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_OspfNbrStateChangeEnabled.setDescription('TRUE if OSPF neighbor state change trap is enabled.') trapProfile_OspfVirtIfConfigErrorEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 46), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-OspfVirtIfConfigErrorEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_OspfVirtIfConfigErrorEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_OspfVirtIfConfigErrorEnabled.setDescription('TRUE if OSPF virtual interface configuration error trap is enabled.') trapProfile_OspfVirtIfAuthFailureEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 47), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-OspfVirtIfAuthFailureEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_OspfVirtIfAuthFailureEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_OspfVirtIfAuthFailureEnabled.setDescription('TRUE if OSPF virtual interface authentication failure trap is enabled.') trapProfile_OspfVirtIfStateChangeEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 48), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-OspfVirtIfStateChangeEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_OspfVirtIfStateChangeEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_OspfVirtIfStateChangeEnabled.setDescription('TRUE if OSPF virtual interface state change trap is enabled.') trapProfile_OspfVirtIfRxBadPacket = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 49), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-OspfVirtIfRxBadPacket").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_OspfVirtIfRxBadPacket.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_OspfVirtIfRxBadPacket.setDescription('TRUE if OSPF virtual interface receive bad packet trap is enabled.') trapProfile_OspfVirtIfTxRetransmitEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 50), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-OspfVirtIfTxRetransmitEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_OspfVirtIfTxRetransmitEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_OspfVirtIfTxRetransmitEnabled.setDescription('TRUE if OSPF virtual interface retransmit trap is enabled.') trapProfile_OspfVirtNbrStateChangeEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 51), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-OspfVirtNbrStateChangeEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_OspfVirtNbrStateChangeEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_OspfVirtNbrStateChangeEnabled.setDescription('TRUE if OSPF virtual neighbor state change trap is enabled.') trapProfile_OspfOriginateLsaEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 52), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-OspfOriginateLsaEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_OspfOriginateLsaEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_OspfOriginateLsaEnabled.setDescription('TRUE if OSPF originate LSA trap is enabled.') trapProfile_OspfMaxAgeLsaEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 53), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-OspfMaxAgeLsaEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_OspfMaxAgeLsaEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_OspfMaxAgeLsaEnabled.setDescription('TRUE if OSPF MaxAgeLsa trap is enabled.') trapProfile_OspfLsdbOverflowEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 54), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-OspfLsdbOverflowEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_OspfLsdbOverflowEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_OspfLsdbOverflowEnabled.setDescription('TRUE if OSPF LSDB overflow trap is enabled.') trapProfile_OspfApproachingOverflowEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 55), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-OspfApproachingOverflowEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_OspfApproachingOverflowEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_OspfApproachingOverflowEnabled.setDescription('TRUE if OSPF LSDB approaching overflow trap is enabled.') trapProfile_WatchdogWarningEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 56), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-WatchdogWarningEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_WatchdogWarningEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_WatchdogWarningEnabled.setDescription('TRUE if watchdog warning trap is enabled.') trapProfile_ControllerSwitchoverEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 57), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-ControllerSwitchoverEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_ControllerSwitchoverEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_ControllerSwitchoverEnabled.setDescription('TRUE if controller switchover trap is enabled.') trapProfile_CallLogServChangeEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 58), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-CallLogServChangeEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_CallLogServChangeEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_CallLogServChangeEnabled.setDescription('TRUE if call logging server change trap is enabled.') trapProfile_VoipGkChangeEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 59), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-VoipGkChangeEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_VoipGkChangeEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_VoipGkChangeEnabled.setDescription('TRUE if VOIP gatekeeper change trap is enabled.') trapProfile_WanLineStateChangeEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 60), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-WanLineStateChangeEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_WanLineStateChangeEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_WanLineStateChangeEnabled.setDescription('TRUE if WAN line state change trap is enabled.') trapProfile_CallLogDroppedPktEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 61), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-CallLogDroppedPktEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_CallLogDroppedPktEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_CallLogDroppedPktEnabled.setDescription('TRUE if call logging dropped packet trap is enabled.') trapProfile_LimSparingEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 62), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-LimSparingEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_LimSparingEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_LimSparingEnabled.setDescription('TRUE if LIM sparing trap should to be sent to the identified host.') trapProfile_InterfaceSparingEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 63), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-InterfaceSparingEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_InterfaceSparingEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_InterfaceSparingEnabled.setDescription('TRUE if interface (port) sparing trap should to be sent to the identified host.') trapProfile_MegacoLinkStatusEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 64), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-MegacoLinkStatusEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_MegacoLinkStatusEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_MegacoLinkStatusEnabled.setDescription('TRUE if the trap that reports changes in the operational status of media gateway control link(s) is enabled.') trapProfile_SecondaryControllerStateChangeEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 65), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-SecondaryControllerStateChangeEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_SecondaryControllerStateChangeEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_SecondaryControllerStateChangeEnabled.setDescription('TRUE if cntrReduAvailTrap is enabled.') trapProfile_PctfiTrunkStatusChangeEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 66), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-PctfiTrunkStatusChangeEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_PctfiTrunkStatusChangeEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_PctfiTrunkStatusChangeEnabled.setDescription('TRUE if enabledPctfiTrunkStatusChange is enabled.') trapProfile_NoResourceAvailableEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 67), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-NoResourceAvailableEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_NoResourceAvailableEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_NoResourceAvailableEnabled.setDescription('TRUE if No Resource Available to answer call is enabled.') trapProfile_DslThreshTrapEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 68), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-DslThreshTrapEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_DslThreshTrapEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_DslThreshTrapEnabled.setDescription('TRUE if various DSL threshold traps should be sent to the identified host.') trapProfile_AtmPvcFailureTrapEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 69), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-AtmPvcFailureTrapEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_AtmPvcFailureTrapEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_AtmPvcFailureTrapEnabled.setDescription('TRUE if PVC or Soft PVC failure trap should be sent to the identified host.') trapProfile_AtmImaAlarmTrapEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 70), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-AtmImaAlarmTrapEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_AtmImaAlarmTrapEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_AtmImaAlarmTrapEnabled.setDescription('TRUE if IMA Alarm trap should be sent to the identified host.') trapProfile_AscendLinkDownTrapEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 71), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-AscendLinkDownTrapEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_AscendLinkDownTrapEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_AscendLinkDownTrapEnabled.setDescription('TRUE if the ascend link down trap should be sent to the identified host. This can be enabled only if linkdown-enabled is enabled. This is an alarm class trap.') trapProfile_AscendLinkUpTrapEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 72), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-AscendLinkUpTrapEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_AscendLinkUpTrapEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_AscendLinkUpTrapEnabled.setDescription('TRUE if the ascend link up trap should be sent to the identified host. This can be enabled only if linkup-enabled is enabled. This is an alarm class trap.') trapProfile_SnmpIllegalAccessAttempt = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 73), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-SnmpIllegalAccessAttempt").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_SnmpIllegalAccessAttempt.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_SnmpIllegalAccessAttempt.setDescription('TRUE if the ascend security alert trap is enabled.') trapProfile_L2tpTunnelTrapEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 79), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-L2tpTunnelTrapEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_L2tpTunnelTrapEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_L2tpTunnelTrapEnabled.setDescription('TRUE if L2TP Setup failure and L2TP Tunnel Disconnect trap should be sent to the identified host.') trapProfile_Hdsl2ShdslThresholdTrapsEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 77), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-Hdsl2ShdslThresholdTrapsEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_Hdsl2ShdslThresholdTrapsEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_Hdsl2ShdslThresholdTrapsEnabled.setDescription('Set to TRUE to enable HDSL2/SHDSL threshold traps.') trapProfile_ClockChangeTrapEnabled = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 78), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("no", 1), ("yes", 2)))).setLabel("trapProfile-ClockChangeTrapEnabled").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_ClockChangeTrapEnabled.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_ClockChangeTrapEnabled.setDescription('TRUE if clock change trap is enabled.') trapProfile_Action_o = MibScalar((1, 3, 6, 1, 4, 1, 529, 23, 132, 1, 1, 74), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("noAction", 1), ("createProfile", 2), ("deleteProfile", 3)))).setLabel("trapProfile-Action-o").setMaxAccess("readwrite") if mibBuilder.loadTexts: trapProfile_Action_o.setStatus('mandatory') if mibBuilder.loadTexts: trapProfile_Action_o.setDescription('') mibBuilder.exportSymbols("ASCEND-MIBTRAP-MIB", trapProfile_PrimarySdtnEmptyEnabled=trapProfile_PrimarySdtnEmptyEnabled, trapProfile_SuspectAccessResourceEnabled=trapProfile_SuspectAccessResourceEnabled, trapProfile_L2tpTunnelTrapEnabled=trapProfile_L2tpTunnelTrapEnabled, trapProfile_ColdstartEnabled=trapProfile_ColdstartEnabled, trapProfile_NotificationLogLimit=trapProfile_NotificationLogLimit, trapProfile_OspfVirtIfRxBadPacket=trapProfile_OspfVirtIfRxBadPacket, trapProfile_OspfVirtNbrStateChangeEnabled=trapProfile_OspfVirtNbrStateChangeEnabled, trapProfile_McastMonitorEnabled=trapProfile_McastMonitorEnabled, trapProfile_OspfLsdbOverflowEnabled=trapProfile_OspfLsdbOverflowEnabled, trapProfile_NotificationLogEnable=trapProfile_NotificationLogEnable, trapProfile_InterfaceSparingEnabled=trapProfile_InterfaceSparingEnabled, trapProfile_WanLineStateChangeEnabled=trapProfile_WanLineStateChangeEnabled, trapProfile_OspfVirtIfStateChangeEnabled=trapProfile_OspfVirtIfStateChangeEnabled, trapProfile_PctfiTrunkStatusChangeEnabled=trapProfile_PctfiTrunkStatusChangeEnabled, trapProfile_OspfIfConfigErrorEnabled=trapProfile_OspfIfConfigErrorEnabled, trapProfile_SecondaryControllerStateChangeEnabled=trapProfile_SecondaryControllerStateChangeEnabled, trapProfile_AscendLinkDownTrapEnabled=trapProfile_AscendLinkDownTrapEnabled, trapProfile_ClockChangeTrapEnabled=trapProfile_ClockChangeTrapEnabled, trapProfile_DirdoEnabled=trapProfile_DirdoEnabled, trapProfile_AtmPvcFailureTrapEnabled=trapProfile_AtmPvcFailureTrapEnabled, trapProfile_ConfigChangeEnabled=trapProfile_ConfigChangeEnabled, trapProfile_SecondarySdtnEmptyEnabled=trapProfile_SecondarySdtnEmptyEnabled, trapProfile_OspfVirtIfAuthFailureEnabled=trapProfile_OspfVirtIfAuthFailureEnabled, trapProfile_EventOverwriteEnabled=trapProfile_EventOverwriteEnabled, trapProfile_DslThreshTrapEnabled=trapProfile_DslThreshTrapEnabled, trapProfile_InformRetryCount=trapProfile_InformRetryCount, trapProfile_AlarmEnabled=trapProfile_AlarmEnabled, trapProfile_OspfTxRetransmitEnabled=trapProfile_OspfTxRetransmitEnabled, trapProfile_SecurityEnabled=trapProfile_SecurityEnabled, trapProfile_ControllerSwitchoverEnabled=trapProfile_ControllerSwitchoverEnabled, trapProfile_Hdsl2ShdslThresholdTrapsEnabled=trapProfile_Hdsl2ShdslThresholdTrapsEnabled, trapProfile_CommunityName=trapProfile_CommunityName, trapProfile_OspfNbrStateChangeEnabled=trapProfile_OspfNbrStateChangeEnabled, trapProfile_InformTimeOut=trapProfile_InformTimeOut, trapProfile_OspfVirtIfConfigErrorEnabled=trapProfile_OspfVirtIfConfigErrorEnabled, DisplayString=DisplayString, trapProfile_HostAddress=trapProfile_HostAddress, trapProfile_OspfEnabled=trapProfile_OspfEnabled, trapProfile_Action_o=trapProfile_Action_o, trapProfile_AtmImaAlarmTrapEnabled=trapProfile_AtmImaAlarmTrapEnabled, trapProfile_LanModemEnabled=trapProfile_LanModemEnabled, trapProfile_AgentAddress=trapProfile_AgentAddress, trapProfile_AuthenticationEnabled=trapProfile_AuthenticationEnabled, mibtrapProfileEntry=mibtrapProfileEntry, trapProfile_PowerSupplyEnabled=trapProfile_PowerSupplyEnabled, trapProfile_CallLogServChangeEnabled=trapProfile_CallLogServChangeEnabled, trapProfile_AscendEnabled=trapProfile_AscendEnabled, trapProfile_HostPort=trapProfile_HostPort, trapProfile_OspfIfRxBadPacket=trapProfile_OspfIfRxBadPacket, mibtrapProfile=mibtrapProfile, trapProfile_LimSparingEnabled=trapProfile_LimSparingEnabled, trapProfile_MultishelfEnabled=trapProfile_MultishelfEnabled, trapProfile_LinkdownEnabled=trapProfile_LinkdownEnabled, trapProfile_MegacoLinkStatusEnabled=trapProfile_MegacoLinkStatusEnabled, trapProfile_OspfMaxAgeLsaEnabled=trapProfile_OspfMaxAgeLsaEnabled, trapProfile_WatchdogWarningEnabled=trapProfile_WatchdogWarningEnabled, trapProfile_ConsoleEnabled=trapProfile_ConsoleEnabled, trapProfile_SnmpIllegalAccessAttempt=trapProfile_SnmpIllegalAccessAttempt, trapProfile_OspfVirtIfTxRetransmitEnabled=trapProfile_OspfVirtIfTxRetransmitEnabled, trapProfile_CallLogDroppedPktEnabled=trapProfile_CallLogDroppedPktEnabled, trapProfile_FrLinkupEnabled=trapProfile_FrLinkupEnabled, trapProfile_AscendLinkUpTrapEnabled=trapProfile_AscendLinkUpTrapEnabled, trapProfile_FrLinkdownEnabled=trapProfile_FrLinkdownEnabled, trapProfile_SlotEnabled=trapProfile_SlotEnabled, mibtrapProfileTable=mibtrapProfileTable, trapProfile_PortEnabled=trapProfile_PortEnabled, trapProfile_OspfOriginateLsaEnabled=trapProfile_OspfOriginateLsaEnabled, trapProfile_VoipGkChangeEnabled=trapProfile_VoipGkChangeEnabled, trapProfile_OspfApproachingOverflowEnabled=trapProfile_OspfApproachingOverflowEnabled, trapProfile_SlotProfileChangeEnabled=trapProfile_SlotProfileChangeEnabled, trapProfile_ActiveEnabled=trapProfile_ActiveEnabled, trapProfile_SysClockDriftEnabled=trapProfile_SysClockDriftEnabled, trapProfile_NotifyTagList=trapProfile_NotifyTagList, trapProfile_NoResourceAvailableEnabled=trapProfile_NoResourceAvailableEnabled, trapProfile_LinkupEnabled=trapProfile_LinkupEnabled, trapProfile_WarmstartEnabled=trapProfile_WarmstartEnabled, trapProfile_OspfIfStateChangeEnabled=trapProfile_OspfIfStateChangeEnabled, trapProfile_UseExceededEnabled=trapProfile_UseExceededEnabled, trapProfile_OspfIfAuthFailureEnabled=trapProfile_OspfIfAuthFailureEnabled, trapProfile_PasswordEnabled=trapProfile_PasswordEnabled, trapProfile_RadiusChangeEnabled=trapProfile_RadiusChangeEnabled, trapProfile_TargetParamsName=trapProfile_TargetParamsName, trapProfile_HostName=trapProfile_HostName)
# -*- coding: utf-8 -*- """ Created on Fri May 15 00:51:31 2020 @author: Dilay Ercelik """ # Practice # Return the number of even ints in the given array. # Note: the % "mod" operator computes the remainder, e.g. 5 % 2 is 1. # Examples: ## count_evens([2, 1, 2, 3, 4]) → 3 ## count_evens([2, 2, 0]) → 3 ## count_evens([1, 3, 5]) → 0 # Answer def count_evens(nums): count_even = 0 for num in nums: if num % 2 == 0: count_even += 1 return count_even # Tests print(count_evens([2, 1, 2, 3, 4])) # correct output print(count_evens([2, 2, 0])) # correct output print(count_evens([1, 3, 5])) # correct output
4.1 #將7這個值指派給變數guess_me,並編寫條件測試式 #當guess_me < 7時印出字串'too low', < 7時印出字串'too high', = 7時印出'just right' guess_me = 7 if guess_me < 7: print('too low') elif guess_me > 7: print('too high') else: print('just right') 4.2 #將7指派給變數guess_me,將1指派給變數start. 寫一個while迴圈來比較start與guess_me. #在迴圈的結尾遞增start guess_me = 7 start = 1 while True: if start < guess_me: print('too low') elif start == guess_me: print('found it') break else: print('oops') break start += 1 4.3 #使用for迴圈印出串列[3,2,1,0] words = [] for word in range(3,-1,-1): print(word) 4.4 #使用一個串列生成式製作range(10)內的偶數的串列 list(range(0,11,2)) list = [int for int in range(10) if int % 2 ==0] list 4.5 #使用字典生成式製作字典squares,使用range(10)回傳鍵,並以鍵的平方作為值 number = range(10) square = {number: number * number for number in range(10)} square 4.6 #使用一個集合生成式,以range(10)內的奇數製作odd集合 list = {number for number in range(10) if number % 2 ==1} list 4.7 #使用產生器生成式回傳字串'Got'與range(10)內的一個數字,使用for迴圈來迭代 for number in range(10): print('Got', number) for thing in ('Gor %s' %number for number in range(10)): print(thing) 4.8 def good(): return ['Harry', 'Ron', 'Hermione'] good() 4.9 def get_odds(): for number in range(1,10,2): yield number for count, value in enumerate(get_odds(), 0): if count == 2: print('The Third Number Is:',value ) break count += 1 4.10 def test(func): def new_function(*args, **kwargs): print('start') result = func(*args, **kwargs) print('end') return result return new_function @test def greeting(): print('Greetings, Earthing') greeting() 4.11 class OopsException(Exception): pass raise OopsException() try: raise OopsException except OopsException: print('Caught an oops') 4.12 titles = ['Creature of Habit', 'Crewel Fate'] plots = ['A nun turns into a monster', 'A haunted yarn shop'] movies = dict(zip(titles, plots)) print(movie) movies = {title:plot for title,plot in zip(titles, plots)} movies for title, plot in zip(titles, plots): print(title,':', plot) list(zip(titles, plots))
# Python def fib(): a, b = 1, 1 while True: yield a a, b = b, a + b for index, x in enumerate(fib()): if index == 10: break print("%s" % x), # Python 3 def fib3(): a, b = 1, 1 while True: yield a a, b = b, a + b for index, x in enumerate(fib()): if index == 10: break print("{} ".format(x), end="")
def max_sublist_sum(arr): max_ending_here = 0 max_so_far = 0 for x in arr: max_ending_here = max(0, max_ending_here + x) max_so_far = max(max_so_far, max_ending_here) return max_so_far """ def max_sublist_sum(arr): max_ending_here = 0 max_so_far = 0 for x in arr: max_ending_here = max(max_ending_here + x, 0) max_so_far = max(max_so_far, max_ending_here) return max_so_far def max_sublist_sum(arr): max_ending_here = 0 max_so_far = 0 for x in arr: max_ending_here = max(x, max_ending_here + x) max_so_far = max(max_so_far, max_ending_here) return max_so_far def max_sublist_sum(arr): max_ending_here = 0 max_so_far = 0 for x in arr: max_ending_here = max(max_ending_here + x, x) max_so_far = max(max_so_far, max_ending_here) return max_so_far """
print('Hello World!') print('This is how we print on the screen.') print() print('What just happened?') print('This is a message on this line.', end=' ') print('This is a message on the same line.') print('Learning Python is FUN!')
''' There are 7 letter(symbols) that are used to represent Roman numerals: I, V, X, L, C, D and M Their values are: I=1 V=5 X=10 L=50 C=100 D=500 M=1000 For example, two is written as II in Roman numeral, just two one's added togethrer. Thirteen is written as XIII , The number seventeen is written as XVII Roman numerals are usually written largest to smalles from left to right. However, the numerals for four is not III bu IV. Because the one is before the five we subtract it making four. The same principle applies to the number nine, which is witten as IX. There are six instances where subtraction is used: I can be placed before V (5) and X (10) to make 4 and 9. X can be placed before L (50) and C (100) to make 40 and 90 C can be placed before D (500) and ''' # If current > previous: ## current substract previous def romanTonum(str): #initializa all romans str and our number romans = {"I":1, "V":5, "X":10, "L":50, "C":100, "D":500, "M":1000} num = 0 #combine string to a list theList = list(str) ## iterate over list to get each character for index, i in enumerate(theList): ## evaluate the numerals, add a value of roman numeral into number num = num + romans[i] ## if it's grater than zero, we gonna check if is greater than previous if index > 0: continue ## current decreased by previous. Value add to increment number ## return number return num print(romanTonum("X"))
class Solution: def balancedStringSplit(self, s: str) -> int: count_match = 0 count_L = 0 count_R = 0 for char in s: if char == "L": count_L += 1 if char == "R": count_R += 1 if (count_L == count_R) & (count_L != 0): count_match += 1 count_L = 0 count_R = 0 return count_match
try: print('test') xpcall() print('still going') except: print('Error in function') print('running')
class Solution: def floodFill(self, image: List[List[int]], sr: int, sc: int, newColor: int) -> List[List[int]]: color = image[sr][sc] if color == newColor: return image R, C = len(image), len(image[0]) @lru_cache(None) def dfs(r, c): if image[r][c] == color: image[r][c] = newColor if r >= 1: dfs(r - 1, c) if r + 1 < R: dfs(r + 1, c) if c >= 1: dfs(r, c - 1) if c + 1 < C: dfs(r, c + 1) dfs(sr, sc) return image
def update_dictionary(d, key, value): if d.get(key) != None: d[key].append(value) elif d.get(key*2) != None: d[key*2].append(value) else: d[key*2] = [value] words = input().lower().split(" ") word={} for i in words: if word.get(i) != None: word[i] = word[i] + 1 else: word.setdefault(i, 1) for key, value in word.items(): print(key, value) n = int(input()) dic = {} for n in range(0, n): n = int(input()) if dic.get(n) == None: dic.setdefault(n, f(n)) print(dic[n])
# Copyright (c) 2014 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'targets': [ { 'target_name': 'f', 'type': 'executable', 'sources': [ 'f.c', ], }, { 'target_name': 'g', 'type': 'executable', 'sources': [ 'g.c', ], 'dependencies': [ 'f', ], }, ], }
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) class Libimagequant(Package): """Small, portable C library for high-quality conversion of RGBA images to 8-bit indexed-color (palette) images.""" homepage = "https://pngquant.org/lib/" url = "https://github.com/ImageOptim/libimagequant/archive/2.12.6.tar.gz" version('2.12.6', sha256='b34964512c0dbe550c5f1b394c246c42a988cd73b71a76c5838aa2b4a96e43a0') phases = ['configure', 'build', 'install'] def configure(self, spec, prefix): configure('--prefix=' + prefix) def build(self, spec, prefix): make() def install(self, spec, prefix): make('install')
# Exemplo de entrada entrada = ["a", "aa", "Essa", "Daqui", "aa", "aaaaa", "a"] n = 2 # número de palavras consecutivas a serem verificadas def maior_palavra_consecutiva(entrada, n): # armazena o tamanho da lista de entrada em uma variável tamanho_da_entrada = len(entrada) if 0 <= tamanho_da_entrada < n or n <= 0: return "" # eliminando valores que não devem ser considerados # Gera uma lista onde cada sub-lista contém N palavras; # Exemplo: # entrada = ["a", "b", "c", "d"] >> sublistas = [["a", "b"], ["b", "c"], ["c", "d"]] sublistas = [entrada[i:i+n] for i in range(tamanho_da_entrada)] # Cria uma lista onde cada elemento é uma str concatenada para cada sublista da entrada; # Exemplo: # sublistas = [["a", "b"], ["b", "c"], ["c", "d"]] >> palavras = ["ab", "bc", "cd"] palavras = ["".join(sublista) for sublista in sublistas] # Retorna a maior palavra, usando a função max(), que recebe como chave de comparação o resultado da função len(s) return max(palavras, key=len) print(maior_palavra_consecutiva(entrada, n)) # SAIDA: # EssaDaqui
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : french.py @Time : 2020/09/07 @Author : flamme-demon @Version : 0.2 @Contact : @Desc : ''' class LangFrench(object): SETTING = "RÉGLAGES" VALUE = "VALEUR" SETTING_DOWNLOAD_PATH = "Emplacement des téléchargements" SETTING_ONLY_M4A = "Convertir mp4 en m4a" SETTING_ADD_EXPLICIT_TAG = "Ajout du tag Explicit - Dossier" SETTING_ADD_HYPHEN = "Ajouter un trait d'union" SETTING_ADD_YEAR = "Ajouter l'année avant le nom de l'album - Dosser" SETTING_USE_TRACK_NUM = "Add user track number" SETTING_AUDIO_QUALITY = "Qualité Audio" SETTING_VIDEO_QUALITY = "Qualité Video" SETTING_CHECK_EXIST = "Vérifier l'existence" SETTING_ARTIST_BEFORE_TITLE = "Nom de l'artiste avant le titre du morceau - Fichier" SETTING_ALBUMID_BEFORE_FOLDER = "Id avant le nom d'album - Dossier" SETTING_INCLUDE_EP = "Inclure les single&ep" SETTING_SAVE_COVERS = "Sauvegarder les couvertures" SETTING_LANGUAGE = "Langue" SETTING_USE_PLAYLIST_FOLDER = "Use playlist folder" SETTING_MULITHREAD_DOWNLOAD = "Multi thread download" SETTING_ALBUM_FOLDER_FORMAT = "Album folder format" SETTING_TRACK_FILE_FORMAT = "Track file format" SETTING_SHOW_PROGRESS = "Show progress" CHOICE = "CHOIX" FUNCTION = "FONCTION" CHOICE_ENTER = "Saisir" CHOICE_ENTER_URLID = "Saisir 'Url/ID':" CHOICE_EXIT = "Quitter" CHOICE_LOGIN = "Login" CHOICE_SETTINGS = "Réglages" CHOICE_SET_ACCESS_TOKEN = "Définir AccessToken" CHOICE_DOWNLOAD_BY_URL = "Téléchargement par url ou id" PRINT_ERR = "[ERR]" PRINT_INFO = "[INFO]" PRINT_SUCCESS = "[SUCCESS]" PRINT_ENTER_CHOICE = "Saisir le choix:" PRINT_LATEST_VERSION = "Dernière version:" PRINT_USERNAME = "username:" PRINT_PASSWORD = "password:" CHANGE_START_SETTINGS = "Commencer les règlages ('0'-Retour,'1'-Oui):" CHANGE_DOWNLOAD_PATH = "Emplacement des téléchargements('0' ne pas modifier):" CHANGE_AUDIO_QUALITY = "Qualité audio('0'-Normal,'1'-High,'2'-HiFi,'3'-Master):" CHANGE_VIDEO_QUALITY = "Qualité Video('0'-1080,'1'-720,'2'-480,'3'-360):" CHANGE_ONLYM4A = "Convertir mp4 en m4a('0'-Non,'1'-Oui):" CHANGE_ADD_EXPLICIT_TAG = "Ajout du tag Explicit - Fichier('0'-Non,'1'-Oui):" CHANGE_ADD_HYPHEN = "Utilisez des traits d'union au lieu d'espaces dans les noms de fichiers('0'-Non,'1'-Oui):" CHANGE_ADD_YEAR = "Ajouter l'année aux noms des dossiers des albums('0'-Non,'1'-Oui):" CHANGE_USE_TRACK_NUM = "Ajouter le numéro de piste avant le nom des fichiers('0'-Non,'1'-Oui):" CHANGE_CHECK_EXIST = "Vérifier l'existence du fichier avant le téléchargement('0'-Non,'1'-Oui):" CHANGE_ARTIST_BEFORE_TITLE = "Ajouter le nom de l'artiste avant le titre de la piste('0'-Non,'1'-Oui):" CHANGE_INCLUDE_EP = "Inclure les singles et les EPs lors du téléchargement des albums d'un artiste('0'-Non,'1'-Oui):" CHANGE_ALBUMID_BEFORE_FOLDER = "Ajouter un identifiant avant le dossier album('0'-Non,'1'-Oui):" CHANGE_SAVE_COVERS = "Sauvegarder les couvertures('0'-Non,'1'-Oui):" CHANGE_LANGUAGE = "Sélectionnez une langue" CHANGE_ALBUM_FOLDER_FORMAT = "Album folder format('0' not modify):" CHANGE_TRACK_FILE_FORMAT = "Track file format('0' not modify):" CHANGE_SHOW_PROGRESS = "Show progress('0'-No,'1'-Yes):" MSG_INVAILD_ACCESSTOKEN = "Jeton d'accès disponible ! Veuillez recommencer." MSG_PATH_ERR = "L'emplacement est faux" MSG_INPUT_ERR = "Erreur de saisie !" MODEL_ALBUM_PROPERTY = "ALBUM-PROPERTY" MODEL_TRACK_PROPERTY = "TRACK-PROPERTY" MODEL_VIDEO_PROPERTY = "VIDEO-PROPERTY" MODEL_ARTIST_PROPERTY = "ARTIST-PROPERTY" MODEL_PLAYLIST_PROPERTY = "PLAYLIST-PROPERTY" MODEL_TITLE = 'Titre' MODEL_TRACK_NUMBER = 'Numéro de piste' MODEL_VIDEO_NUMBER = 'Numéro de la vidéo' MODEL_RELEASE_DATE = 'Date de publication' MODEL_VERSION = 'Version' MODEL_EXPLICIT = 'Explicit' MODEL_ALBUM = 'Album' MODEL_ID = 'ID' MODEL_NAME = 'Nom' MODEL_TYPE = 'Type'
a=input("Enter the array to sort:") n = len(a) for i in range(n): for j in range(0, n-i-1): if a[j] > a[j+1] : a[j], a[j+1] = a[j+1], a[j] print(a)
# Normal Function syntax # def name(args): # return # Lambda Function syntax # name = lambda args: return # Normal def dob(a): return a*2 print(f'def 10x2: {dob(10)}') # Lambda dobro = lambda b: b*2 print(f'lambda 10x2: {dobro(10)}')
# Quick Tester for the logic used to reset the yaw slot count TOTAL_SLOTS = 10 MAX_ABSOLUTE_ROTATIONS = 10 def round_yaw(current_yaw, target_yaw): if (abs(current_yaw) >= TOTAL_SLOTS * MAX_ABSOLUTE_ROTATIONS): target_yaw = target_yaw - current_yaw current_yaw = 0 return (target_yaw, current_yaw) yaw_error = abs(current_yaw) % TOTAL_SLOTS yaw_change = 0 if (yaw_error > (TOTAL_SLOTS / 2)): yaw_change = TOTAL_SLOTS - yaw_error else: yaw_change = 0 - yaw_error if (current_yaw < 0): yaw_change = 0 - yaw_change current_yaw += yaw_change return (target_yaw, current_yaw) def tests(): yaws = [(5000, 5050),(-5000, -5050), (100, 100), (-100, -110), (26, 30), (-26, -30)] answers = [(50, 0), (-50, 0), (0, 0), (-10, 0), (30, 30), (-30, -30)] results = [] for yaw in yaws: ans = round_yaw(yaw[0], yaw[1]) results.append(ans) if (answers != results): print("Failed") else: print("Passed") print("Answers: {}".format(answers)) print("Results: {}".format(results)) tests()
variable = "var" var2 = "2" var3 = 3 print(variable) print("---") # No newline at the end print(variable, end="") print("---") # More variables print(variable, var2, var3) print("---") # Different separator print(variable, var2, var3, sep=", ") print("---") # Personal recomendation for var printing (bit advanced, but good practise) four = 2*2 my_array = [7,"6","five",four,[0,1,2]] print('"len(my_array[2])": {}'.format(len(my_array[2])))
# coding=utf-8 class RequestAdapter: """ Helper class help to extract logging-relevant information from HTTP request object """ def __new__(cls, *arg, **kwargs): if not hasattr(cls, '_instance'): cls._instance = object.__new__(cls) return cls._instance @staticmethod def support_global_request_object(): """ whether current framework supports global request object like Flask """ raise NotImplementedError @staticmethod def get_current_request(): """ get current request, should only implement for framework that support global request object """ raise NotImplementedError @staticmethod def get_request_class_type(): """ class type of request object, only need to specify in case the framework dont support global request object """ raise NotImplementedError def get_http_header(self, request, header_name, default=None): """ get HTTP header value given it value name :param request: request object :param header_name: name of header :param default: default value if header value is not present :return: """ raise NotImplementedError def get_remote_user(self, request): """ :param request: request object """ raise NotImplementedError def set_correlation_id(self, request, value): """ We can safely assume that request is valid request object.\n Set correlation to request context. e.g Flask.g in Flask Made sure that we can access it later from get_correlation_id_in_request_context given the same request. :param value: correlation id string :param request: request object """ raise NotImplementedError def get_correlation_id_in_request_context(self, request): """ We can safely assume that request is valid request object. :param request: request object """ raise NotImplementedError def get_protocol(self, request): """ We can safely assume that request is valid request object.\n Gets the request protocol (e.g. HTTP/1.1). :return: The request protocol or '-' if it cannot be determined """ raise NotImplementedError def get_path(self, request): """ We can safely assume that request is valid request object.\n Gets the request path. :return: the request path (e.g. /index.html) """ raise NotImplementedError def get_content_length(self, request): """ We can safely assume that request is valid request object.\n The content length of the request. :return: the content length of the request or '-' if it cannot be determined """ raise NotImplementedError def get_method(self, request): """ We can safely assume that request is valid request object.\n Gets the request method (e.g. GET, POST, etc.). :return: The request method or '-' if it cannot be determined """ raise NotImplementedError def get_remote_ip(self, request): """ We can safely assume that request is valid request object.\n Gets the remote ip of the request initiator. :return: An ip address or '-' if it cannot be determined """ raise NotImplementedError def get_remote_port(self, request): """ We can safely assume that request is valid request object.\n Gets the remote port of the request initiator. :return: A port or '-' if it cannot be determined """ raise NotImplementedError class ResponseAdapter: """ Helper class help to extract logging-relevant information from HTTP response object """ def __new__(cls, *arg, **kwargs): if not hasattr(cls, '_instance'): cls._instance = object.__new__(cls) return cls._instance def get_status_code(self, response): """ get response's integer status code :param response: response object """ raise NotImplementedError def get_response_size(self, response): """ get response's size in bytes :param response: response object """ raise NotImplementedError def get_content_type(self, response): """ get response's MIME/media type :param response: response object """ raise NotImplementedError class FrameworkConfigurator: """ Class to perform logging configuration for given framework as needed, like disable built in request logging and other utils logging """ def __new__(cls, *args, **kw): if not hasattr(cls, '_instance'): cls._instance = object.__new__(cls) return cls._instance def config(self): """ app logging configuration logic """ raise NotImplementedError class AppRequestInstrumentationConfigurator: """ Class to perform request instrumentation logging configuration. Should at least contains: 1- register before-request hook and create a RequestInfo object, store it to request context 2- register after-request hook and update response to stored RequestInfo object 3 - re-configure framework loggers. NOTE: logger that is used to emit request instrumentation logs will need to assign to **self.request_logger** """ def __new__(cls, *args, **kw): if not hasattr(cls, '_instance'): cls._instance = object.__new__(cls) cls._instance.request_logger = None return cls._instance def config(self, app, exclude_url_patterns=None): """ configuration logic :param app: """ raise NotImplementedError def get_request_logger(self): """ get the current logger that is used to logger the request instrumentation information """ return self.request_logger
class TrieNode: def __init__(self): self.edges = dict() class WordDictionary: def __init__(self): """ Initialize your data structure here. """ self.trie = TrieNode() # dummy root node def addWord(self, word: str) -> None: """ Adds a word into the data structure. """ node = self.trie for c in word: node = node.edges.setdefault(c, TrieNode()) node.edges['$'] = TrieNode() # $ marks the end of a word def search(self, word: str) -> bool: """ Returns if the word is in the data structure. A word could contain the dot character '.' to represent any one letter. """ return self.searchUtil(word, self.trie) def searchUtil(self, word, node): for i in range(len(word)): ch = word[i] if ch in node.edges: node = node.edges[ch] # if not a wildcard & next char is present elif ch != '.': return False # no such valid word present elif ch == '.': # iterate over all edges and recurse for key in node.edges: if self.searchUtil(word[i+1 : ], node.edges[key]): return True return False return '$' in node.edges # if the word has proper ending, if it word exists # Your WordDictionary object will be instantiated and called as such: # obj = WordDictionary() # obj.addWord(word) # param_2 = obj.search(word)
# -*- coding: utf-8 -*- def get_default_encoding(): return "utf-8" ################################################################################ # 1: str/unicode wrappers used to prevent double-escaping. This is the # same concept as django.utils.safestring and webhelpers.html.literal class safe_bytes(str): def decode(self, *args, **kws): return safe_unicode(super(safe_bytes, self).encode(*args, **kws)) def __add__(self, o): res = super(safe_bytes, self).__add__(o) if isinstance(o, safe_unicode): return safe_unicode(res) elif isinstance(o, safe_bytes): return safe_bytes(res) else: return res class safe_unicode(str): def encode(self, *args, **kws): return safe_bytes(super(safe_unicode, self).encode(*args, **kws)) def __add__(self, o): res = super(safe_unicode, self).__add__(o) return ( safe_unicode(res) if isinstance(o, (safe_unicode, safe_bytes)) else res )
def get_bit(num, i): #Return the value of the i-th bit in num. num = int(to_binary_string(num), 2) mask = 1 << i return 1 if num & mask else 0 def set_bit(num, i): #Sets the i-th bit in num to be 1. num = int(to_binary_string(num), 2) mask = 1 << i return num | mask def clear_bit(num, i): num = int(to_binary_string(num), 2) mask = ~(1 << i) return num & mask def update_bit(num, i, bit_is_1): num = int(to_binary_string(num), 2) cleared = clear_bit(num, i) bit = 1 if bit_is_1 else 0 return cleared | (bit_is_1 << i) def print_binary(num): #Num is an int. print(to_binary_string(num)) def to_binary_string(num): return "{0:b}".format(num) def main(): num = 113 print_binary(num) bit = get_bit(num, 3) print(bit) num = set_bit(num, 3) print_binary(num) if __name__ == '__main__': main()
# Another way to access private members class Student: def __init__(self,name,age): self.__name=name self.__age=age def display(self): print('Name',self.__name,' Age',self.__age) def setName(self,name): self._Student__name=name #self. _ ClassName _ _ attributeName st=Student('Boruto',12) st.display() st.__name='Naruto' # Doesn't change the value st.display() st.setName('Naruto') # Changes the value st.display()
# Stairway to the Sky II (200010300) => Eliza's Garden calmEliza = 3112 garden = 920020000 if sm.hasQuest(calmEliza) or sm.hasQuestCompleted(calmEliza): sm.warp(garden) else: sm.chat("Eliza's rage is still permeating the garden. Calm him down first.")
print("Zakres = <0,50>") for i in range (50): if(i%5==0): print(i)
#!/usr/bin/env python NAME = 'Incapsula (Imperva Inc.)' def is_waf(self): if self.matchcookie(r'^incap_ses.*='): return True if self.matchcookie(r'^visid_incap.*='): return True for attack in self.attacks: r = attack(self) if r is None: return _, responsepage = r if any(a in responsepage for a in (b"Incapsula incident ID:", b"/_Incapsula_Resource")): return True return False
def translate(phrase): translation = "" for letter in phrase: if letter in "AEIOUaeiou": translation = translation + "g" else: translation = translation + letter return translation print(translate(input("Enter a phrase: ")))
#implementation of Queue in python3 class Queue: #initialisation of queue def __init__(self): self.queue = [] #add an element def enqueue(self,item): self.queue.append(item) #remove an element def dequeue(self): if len(self.queue)<1: return None else: return self.queue.pop(0) #display the queue def display(self): print(self.queue) #return the size def size(self): return len(self.queue) #main #creating an instance q=Queue() #enqueueing the numbers by looping in for method for i in range(10): q.enqueue(i) #display of the Queue q.display() #appling dequeueing on the queue q.dequeue() print("After removing an element") q.display() #creating another instance tasks=Queue() #adding tasks into the task-scheduling tasks.enqueue('Read the book "How to read a book!?"') tasks.enqueue('Watch the movie "how to learn JAVA in a day!"') tasks.enqueue('Program your pc to auto-upload the assignments to Moodle') #view all the tasks tasks.display() #to check which task is first ? print("The task you need to do now is : ",str(tasks.dequeue())) #if first task is cleared,what next? tasks.display() #to check what to do next print("The task you need to do now is : ",str(tasks.dequeue())) #check the remaining tasks tasks.display() #to check what next print("The task you need to do now is : ",str(tasks.dequeue())) #to check anything if there is any tasks.display()
# File: malwarebazaar_consts.py # # Copyright (c) 2021 Splunk Inc. # # Licensed under Apache 2.0 (https://www.apache.org/licenses/LICENSE-2.0.txt) # Define your constants here ERR_CODE_MSG = "Error code unavailable" ERR_MSG_UNAVAILABLE = "Error message unavailable. Please check the asset configuration and|or action parameters" PARSE_ERR_MSG = "Unable to parse the error message. Please check the asset configuration and|or action parameters" SERVER_RESPONSE_PARSE_ERR_MSG = "Couldn't parse response from the server" SERVER_RESPONSE_MSG = "Response from the server: {}"
def diff_a(a, b): return list(set(a) - set(b)) + list(set(b) - set(a)) def diff_b(lists): x = [list(set(i) - set(j)) for i in lists for j in lists] return list(set([item for sublist in x for item in sublist])) def main(): a = [1, 2, 3] b = [1, 2, 5, 4] c = [1, 3, 5, 6] print(diff_a(a, b)) # [3, 5, 4] print(diff_b([a, b, c])) # [2, 3, 4, 5, 6] if __name__ == '__main__': main()
r""" ___ _ ___ _ / _ \___ | | / (____ ____(_) / // / _ `| |/ / / _ / __/ / /____/\_,_/|___/_/_//_\__/_/ """ __title__ = 'Django DaVinci Crawling Project: {{ project_name }}' __version__ = '0.1.0' __author__ = 'Javier Alperte' __license__ = 'MIT' __copyright__ = 'Copyright 2019 BuildGroup Data Services Inc.' # Version synonym VERSION = __version__ # Header encoding (see RFC5987) HTTP_HEADER_ENCODING = 'iso-8859-1' # Default datetime input and output formats ISO_8601 = 'iso-8601' # Crawler name CRAWLER_NAME = '{{ project_name }}' default_app_config = '{{project_name}}.apps.DaVinciCrawlerConfig'
kb = 1.381e-23 R = 11e-9 T = 25 e_rheo = 10 def getD(eta, err=0): dD = 0 D = kb * (T + 273.15) / (6 * np.pi * R * eta) if err: dD = D * err / eta return D, dD def geteta(D, err=0): deta = 0 eta = kb * (T + 273.15) / (6 * np.pi * R * D * 1e-18) if err: deta = eta * err / D return eta, deta fig, ax = plt.subplots(2, 2, figsize=(9, 8)) ax = ax.ravel() cmap = plt.get_cmap("Set1") qp = np.arange(nq) qvn = qv[qp] * 10 qvn2 = qvn ** 2 x = np.linspace(np.min(qvn), np.max(qvn), 100) x2 = x * x # -------plot decay rates-------- for i in range(2): y = 1 / rates[qp, 1 + 3 * i, 0] dy = y ** 2 * rates[qp, 1 + 3 * i, 1] ax[0].errorbar( qvn2[qp], y, dy, fmt="o", color=cmap(i), alpha=0.6, label=r"$\Gamma_{}$".format(i), ) nfl = [np.arange(9)] if i == 0: nfl.append(np.arange(11, 16)) qp = np.arange(9) if i == 1: continue for nf in nfl: nf = np.delete(nf, np.where(rates[nf, 1, 1] == 0)) D_mc, b_mc = emceefit_sl(qvn2[nf], y[nf], dy[nf])[:2] D_mc, b_mc = map(lambda x: (x[0], np.mean(x[1:])), [D_mc, b_mc]) popt, pcov = np.polyfit(qvn2[nf], y[nf], 1, w=1 / dy[nf], cov=1) perr = np.sqrt(np.diag(pcov)) D_exp, b_exp = (popt[0], perr[0]), (popt[1], perr[1]) y_dif = y[nf] / qvn2[nf] dy_dif = dy[nf] / qvn2[nf] D_dif = ( np.sum(y_dif / dy_dif ** 2) / np.sum(1 / dy_dif ** 2), np.sqrt(1 / np.sum(1 / dy_dif ** 2)), ) e_dif = geteta(*D_dif) e_exp = geteta(*D_exp) e_mle = geteta(*D_mc) D_rheo = getD(e_rheo) ax[0].plot(x2, np.polyval(popt, x2), color=cmap(i)) # ax[0].plot(x2, np.polyval([D_dif[0],0],x2), color='gray') print("\nResults for {} decay:".format(i + 1)) print("-" * 20) print("D_rheo = {:.2f} nm2s-1".format(D_rheo[0] * 1e18)) print(r"D_exp = {:.2f} +/- {:.2f} nm2s-1".format(*D_exp)) print(r"b_exp = {:.2f} +/- {:.2f} s-1".format(*b_exp)) print(r"D_mle = {:.4f} +/- {:.4f} nm2s-1".format(*D_mc)) print(r"b_mle = {:.4f} +/- {:.4f} s-1".format(*b_mc)) print(r"D_dif = {:.2f} +/- {:.2f} nm2s-1".format(*D_dif)) print("\neta_rheo = {:.2f} Pas".format(e_rheo)) print(r"eta_exp = {:.2f} +/- {:.2f} Pas".format(*e_exp)) print(r"eta_mle = {:.4f} +/- {:.4f} Pas".format(*e_mle)) print(r"eta_dif = {:.2f} +/- {:.2f} Pas".format(*e_dif)) # -------plot KWW exponent-------- qp = np.arange(nq) g = rates[qp, 2, 0] dg = rates[qp, 2, 1] ax[2].errorbar( qvn, g, dg, fmt="o", color=cmap(0), alpha=0.6, label=r"$\gamma_{}$".format(0) ) qp = np.arange(9) g = rates[qp, 5, 0] dg = rates[qp, 5, 1] ax[2].errorbar( qvn[qp], g, dg, fmt="s", color=cmap(1), alpha=0.6, label=r"$\gamma_{}$".format(1) ) # -------plot nonergodicity parameter-------- def blc(q, L, k, lc): def A(q): return 4 * np.pi / lc * q / k * np.sqrt(1 - q ** 2 / (4 * k ** 2)) return 2 * (A(q) * L - 1 + np.exp(-A(q) * L)) / (A(q) * L) ** 2 b = np.sum(rates[:, 3::3, 0], 1) db = np.sum(rates[:, 3::3, 1], 1) ax[1].errorbar(qvn2, b, db, fmt="o", color=cmap(0), alpha=0.6, label=r"$f_0(q)$") nf = np.arange(8) nf = np.delete(nf, np.where(rates[nf, 1, 1] == 0)) y = np.log(b[nf]) dy = db[nf] / b[nf] popt1, cov1 = np.polyfit(qvn2[nf], y, 1, w=1 / dy, cov=1) cov1 = np.sqrt(np.diag(cov1))[0] ax[1].plot(x2, exp(np.polyval(popt1, x2)), "-", color=cmap(0)) # label=r'${:.3g}\, \exp{{(-q^2\cdot{:.3g}nm^{{2}})}}$'.format(np.exp(popt1[1]),-1*popt1[0])) # ---- b = rates[qp, 6, 0] db = rates[qp, 6, 1] ax[1].errorbar(qvn2[qp], b, db, fmt="s", color=cmap(1), alpha=0.6, label=r"$f_1(q)$") # ---- y_th = exp(popt[1]) * blc(x, 1e-5, 2 * np.pi / (12.4 / 21 / 10), 1e-6) y = np.mean(cnorm[2 : nq + 2, 1:6], 1) dy = np.std(cnorm[2 : nq + 2, 1:6], 1) ax[1].errorbar(qvn2, y, dy, fmt="o", color="k", alpha=0.6, label=r"$\beta_0(q)$") popt2, cov2 = np.polyfit(qvn2, np.log(y), 1, w=y / dy, cov=1) cov2 = np.sqrt(np.diag(cov2))[0] ax[1].plot(x2, exp(np.polyval(popt2, x2)), "-", color="k") # ax[1].legend(loc=3) x_labels = ax[1].get_xticks() ax[1].xaxis.set_major_formatter(ticker.FormatStrFormatter("%0.0g")) c = popt2[0] - popt1[0] r_loc = np.sqrt(6 * (c) / 2) dr_loc = 3 / 2 / r_loc * np.sqrt(cov1 ** 2 + cov2 ** 2) print("\n\nlocalization length: {:.2f} +/- {:.2f} nm".format(r_loc, dr_loc)) # set style ax[0].set_xlabel(r"$\mathrm{q}^2$ [$\mathrm{nm}^{-2}]$") ax[0].set_ylabel(r"$\Gamma [s^{-1}]$") ax[2].set_xlabel(r"$\mathrm{q}$ [$\mathrm{nm}^{-1}]$") ax[2].set_ylabel(r"KWW exponent") ax[1].set_yscale("log") ax[1].set_xlabel(r"$\mathrm{q}^2$ [$\mathrm{nm}^{-2}]$") ax[1].set_ylabel(r"contrast") for axi in ax: axi.legend(loc="best") # niceplot(axi) plt.tight_layout() plt.savefig("um2018/cfpars1.eps")
""" File: boggle.py Name: Brad ---------------------------------------- User will enter 4 rows of 4 single letters at the beginning, and this program will start to find out all the vocabularies composed of letters user entered. """ # This is the file name of the dictionary txt file. # We will be checking if a word exists by searching through it. FILE = 'dictionary.txt' # Global variable. vocabulary_list = [] # A list to store all the words in dictionary.txt. find_list = [] # A list to store all the vocabularies which were found. counts = 0 # A variable to count how many vocabularies were found. def main(): """ User will enter 4 rows of 4 single letters at the beginning, and this program will start to find out all the vocabularies composed of letters user entered. """ read_dictionary() total_letters = check_format_and_enter_letters() # Store every letters user entered in list. if total_letters is not None: # If the format is wrong, function won't execute find_starting_point(total_letters). find_starting_point(total_letters) def find_starting_point(total_list): """ :param total_list: (lst) A list contains four lists which contain each row of letters separately. :return: This function does not return any value. """ for y in range(len(total_list)): for x in range(len(total_list)): start_letter = total_list[x][y] # Find the start point (First letter). boggle(start_letter, '', x, y, total_list, []) print(f'There are {counts} words in total.') def check_format_and_enter_letters(): """ :return: total_letter_list (lst): A list contains four lists which contain each row of letters separately. """ total_letters_list = [] for i in range(4): letters = input(f'{i + 1} row of letters: ') letters_list = letters.lower().split() # Case insensitive. # Check whether is user enter four letters. if len(letters_list) == 4: for letter in letters_list: if len(letter) != 1 or letter.isdigit(): # Check whether each data is a single letter. print('Illegal input') return None total_letters_list.append(letters_list) else: print('Illegal input') return None return total_letters_list def boggle(single_letter, vocabulary, start_x, start_y, total_list, coordinate_list): """ :param single_letter: (str) A letter which is the start of a vocabulary. :param vocabulary: (str) An empty string to put letter user entered in it. :param start_x: (int) The x coordinate of single_letter. :param start_y: (int) The y coordinate of single_letter. :param total_list: (lst) A list contains four lists which contain each row of letters separately. :param coordinate_list: (lst) To store x and y coordinates of every letter user entered. :return: This function does not return any value. """ global vocabulary_list, find_list, counts # Base case. if len(vocabulary) >= 4: if vocabulary not in find_list: # Avoid to add repeated word into find_list. if vocabulary in vocabulary_list: # Add vocabulary into find_list if it exist in vocabulary_list. find_list.append(vocabulary) counts += 1 print(f'Found "{vocabulary}"') # Recursive case. """ Because every vocabulary which length greater than or equal to 4 all should be printed, if add else condition, as long as the length of vocabulary equal to 4, this function will never get into the else condition, and vocabulary which length greater than 4 won't be printed. """ if has_prefix(vocabulary): # To get x and y coordinates around start point. for i in range(-1, 2, 1): for j in range(-1, 2, 1): next_x = start_x + i next_y = start_y + j # Avoid x and y coordinates out of range. if 0 <= next_x < 4: if 0 <= next_y < 4: if (next_x, next_y) not in coordinate_list: # Choose. vocabulary += total_list[next_x][next_y] coordinate_list.append((next_x, next_y)) # Explore. boggle(single_letter, vocabulary, next_x, next_y, total_list, coordinate_list) # Un-choose. vocabulary = vocabulary[0:len(vocabulary) - 1] coordinate_list.pop() def read_dictionary(): """ This function reads file "dictionary.txt" stored in FILE and appends words in each line into a Python list. """ with open(FILE, 'r') as f: for vocabulary in f: vocabulary_list.append(vocabulary.strip()) def has_prefix(sub_s): """ :param sub_s: (str) A substring that is constructed by neighboring letters on a 4x4 square grid. :return: (bool) If there is any words with prefix stored in sub_s. """ for word in vocabulary_list: if word.strip().startswith(sub_s): return True # Check all vocabularies in dictionary.txt, if there is no vocabulary start with sub_s then return false. return False if __name__ == '__main__': main()
class SetOfStacks(object): def __init__(self, capacity=10): self.stack_set = [[]] self.cur = 0 self.capacity = capacity def push(self, val): if len(self.stack_set[self.cur]) >= self.capacity: self.stack_set.append([]) self.cur += 1 self.stack_set[self.cur].append(val) def pop(self, index=None): if index is None: index = self.cur val = None if len(self.stack_set[index]) > 0: val = self.stack_set[index].pop() if len(self.stack_set[index]) == 0 and self.cur > 0: self.stack_set.pop(index) self.cur -= 1 return val def pop_at(self, index): if type(index) is int and index >= 0 and index <= self.cur: return self.pop(index) if __name__ == "__main__": s = SetOfStacks() assert s.cur == 0 for i in range(30): s.push(i) assert s.cur == 2 for i in [19, 18, 17, 16, 15, 14, 13, 12, 11, 10]: assert s.pop_at(1) == i assert s.cur == 1 assert s.pop() == 29
class Coordenada: def __init__(self,x,y): self.x = x self.y = y def distancia(self, otra_coordenada): x_diff = (self.x - otra_coordenada.x)**2 y_diff = (self.y - otra_coordenada.y)**2 return(x_diff + y_diff)**(1/2) if __name__ == '__main__': coord1 = Coordenada(3,30) coord2 = Coordenada(4,8) #print(coord1.distancia(coord2)) print(isinstance(coord2,Coordenada)) # permite verificar si una instancia pertenece a una clase
n = 15 # change the value to chenge the size print() for i in range(0, n): print('*'*(i+1),end='') print(' '*(n - i),end='') print(' '*(n - i - 1),end='') print('*'*(i + 1),end='') print('*'*(i),end='') print(' '*(n - i),end='') print(' '*(n - i - 1),end='') print('*'*(i + 1),end='') print()
# page 100 // homework 2021-01-07 # amended TASK: # - progam that set total to 100 # - loop 3 times total = 100 count = 0 # loop 3 times: while count < 3: number = input("enter a number: ") number = int(number) total -= number # shorter form of 'total = total - number' count += 1 #shorter form of 'count = count +1' # print variables inside the loop: print("count: ", count) print("total:", total) # print total after while loop
""" Params: Old Norse """ __author__ = [ "Clément Besnier <clemsciences@aol.com>", "Patrick J. Burns <patrick@diyclassics.org>", ] __license__ = "MIT License." # As far as I know, hyphens were never used for compounds, so the tokenizer treats all hyphens as line-breaks OldNorseTokenizerPatterns = [(r"\'", r"' "), (r"(?<=.)(?=[.!?)(\";:,«»\-])", " ")]
# # PySNMP MIB module SWITCHING-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SWITCHING-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:05:43 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") ValueSizeConstraint, ValueRangeConstraint, ConstraintsUnion, ConstraintsIntersection, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueSizeConstraint", "ValueRangeConstraint", "ConstraintsUnion", "ConstraintsIntersection", "SingleValueConstraint") IANAifType, = mibBuilder.importSymbols("IANAifType-MIB", "IANAifType") InterfaceIndexOrZero, InterfaceIndex, ifIndex = mibBuilder.importSymbols("IF-MIB", "InterfaceIndexOrZero", "InterfaceIndex", "ifIndex") InetAddress, InetAddressType = mibBuilder.importSymbols("INET-ADDRESS-MIB", "InetAddress", "InetAddressType") Ipv6AddressPrefix, Ipv6Address = mibBuilder.importSymbols("IPV6-TC", "Ipv6AddressPrefix", "Ipv6Address") VlanId, dot1qFdbId, VlanIndex, dot1qVlanIndex = mibBuilder.importSymbols("Q-BRIDGE-MIB", "VlanId", "dot1qFdbId", "VlanIndex", "dot1qVlanIndex") switch, AgentPortMask = mibBuilder.importSymbols("QUANTA-SWITCH-MIB", "switch", "AgentPortMask") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Gauge32, iso, Counter32, Integer32, NotificationType, MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress, Bits, MibIdentifier, TimeTicks, Unsigned32, Counter64, ObjectIdentity, ModuleIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "Gauge32", "iso", "Counter32", "Integer32", "NotificationType", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress", "Bits", "MibIdentifier", "TimeTicks", "Unsigned32", "Counter64", "ObjectIdentity", "ModuleIdentity") DateAndTime, TruthValue, TextualConvention, RowStatus, MacAddress, PhysAddress, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "DateAndTime", "TruthValue", "TextualConvention", "RowStatus", "MacAddress", "PhysAddress", "DisplayString") switching = ModuleIdentity((1, 3, 6, 1, 4, 1, 7244, 2, 1)) if mibBuilder.loadTexts: switching.setLastUpdated('201108310000Z') if mibBuilder.loadTexts: switching.setOrganization('QCT') class PortList(TextualConvention, OctetString): status = 'current' class VlanList(TextualConvention, OctetString): status = 'current' agentInfoGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1)) agentInventoryGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 1)) agentInventorySysDescription = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 1, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentInventorySysDescription.setStatus('current') agentInventoryMachineType = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentInventoryMachineType.setStatus('current') agentInventoryMachineModel = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentInventoryMachineModel.setStatus('current') agentInventorySerialNumber = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 1, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentInventorySerialNumber.setStatus('current') agentInventoryFRUNumber = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 1, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentInventoryFRUNumber.setStatus('current') agentInventoryMaintenanceLevel = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 1, 6), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentInventoryMaintenanceLevel.setStatus('current') agentInventoryPartNumber = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 1, 7), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentInventoryPartNumber.setStatus('current') agentInventoryHardwareVersion = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 1, 8), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentInventoryHardwareVersion.setStatus('current') agentInventoryBurnedInMacAddress = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 1, 9), PhysAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentInventoryBurnedInMacAddress.setStatus('current') agentInventoryOperatingSystem = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 1, 10), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentInventoryOperatingSystem.setStatus('current') agentInventoryNetworkProcessingDevice = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 1, 11), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentInventoryNetworkProcessingDevice.setStatus('current') agentInventoryAdditionalPackages = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 1, 12), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentInventoryAdditionalPackages.setStatus('current') agentInventorySoftwareVersion = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 1, 13), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentInventorySoftwareVersion.setStatus('current') agentInventoryManufacturer = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 1, 14), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentInventoryManufacturer.setStatus('current') agentTrapLogGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 2)) agentTrapLogTotal = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 2, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentTrapLogTotal.setStatus('current') agentTrapLogTotalSinceLastViewed = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 2, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentTrapLogTotalSinceLastViewed.setStatus('current') agentTrapLogTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 2, 4), ) if mibBuilder.loadTexts: agentTrapLogTable.setStatus('current') agentTrapLogEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 2, 4, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentTrapLogIndex")) if mibBuilder.loadTexts: agentTrapLogEntry.setStatus('current') agentTrapLogIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 2, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentTrapLogIndex.setStatus('current') agentTrapLogSystemTime = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 2, 4, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentTrapLogSystemTime.setStatus('current') agentTrapLogTrap = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 2, 4, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 512))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentTrapLogTrap.setStatus('current') agentSupportedMibTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 3), ) if mibBuilder.loadTexts: agentSupportedMibTable.setStatus('current') agentSupportedMibEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 3, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentSupportedMibIndex")) if mibBuilder.loadTexts: agentSupportedMibEntry.setStatus('current') agentSupportedMibIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSupportedMibIndex.setStatus('current') agentSupportedMibName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 3, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSupportedMibName.setStatus('current') agentSupportedMibDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 3, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 512))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSupportedMibDescription.setStatus('current') agentPortStatsRateGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 8)) agentPortStatsRateTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 8, 1), ) if mibBuilder.loadTexts: agentPortStatsRateTable.setStatus('current') agentPortStatsRateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 8, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: agentPortStatsRateEntry.setStatus('current') agentPortStatsRateHCBitsPerSecondRx = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 8, 1, 1, 9), Counter64()).setUnits('bits').setMaxAccess("readonly") if mibBuilder.loadTexts: agentPortStatsRateHCBitsPerSecondRx.setStatus('current') agentPortStatsRateHCBitsPerSecondTx = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 8, 1, 1, 10), Counter64()).setUnits('bits').setMaxAccess("readonly") if mibBuilder.loadTexts: agentPortStatsRateHCBitsPerSecondTx.setStatus('current') agentPortStatsRateHCPacketsPerSecondRx = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 8, 1, 1, 11), Counter64()).setUnits('packets').setMaxAccess("readonly") if mibBuilder.loadTexts: agentPortStatsRateHCPacketsPerSecondRx.setStatus('current') agentPortStatsRateHCPacketsPerSecondTx = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 8, 1, 1, 12), Counter64()).setUnits('packets').setMaxAccess("readonly") if mibBuilder.loadTexts: agentPortStatsRateHCPacketsPerSecondTx.setStatus('current') agentSwitchCpuProcessGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 4)) agentSwitchCpuProcessMemFree = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 4, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setUnits('KBytes').setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchCpuProcessMemFree.setStatus('current') agentSwitchCpuProcessMemAvailable = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 4, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647)).clone(2)).setUnits('KBytes').setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchCpuProcessMemAvailable.setStatus('current') agentSwitchCpuProcessRisingThreshold = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 4, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchCpuProcessRisingThreshold.setStatus('current') agentSwitchCpuProcessRisingThresholdInterval = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 4, 4), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(5, 86400), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchCpuProcessRisingThresholdInterval.setStatus('current') agentSwitchCpuProcessFallingThreshold = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 4, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchCpuProcessFallingThreshold.setStatus('current') agentSwitchCpuProcessFallingThresholdInterval = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 4, 6), Unsigned32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(5, 86400), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchCpuProcessFallingThresholdInterval.setStatus('current') agentSwitchCpuProcessFreeMemoryThreshold = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 4, 7), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchCpuProcessFreeMemoryThreshold.setStatus('current') agentSwitchCpuProcessTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 4, 8), ) if mibBuilder.loadTexts: agentSwitchCpuProcessTable.setStatus('current') agentSwitchCpuProcessEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 4, 8, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentSwitchCpuProcessIndex")) if mibBuilder.loadTexts: agentSwitchCpuProcessEntry.setStatus('current') agentSwitchCpuProcessIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 4, 8, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))) if mibBuilder.loadTexts: agentSwitchCpuProcessIndex.setStatus('current') agentSwitchCpuProcessName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 4, 8, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchCpuProcessName.setStatus('current') agentSwitchCpuProcessPercentageUtilization = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 4, 8, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchCpuProcessPercentageUtilization.setStatus('current') agentSwitchCpuProcessId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 4, 8, 1, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchCpuProcessId.setStatus('current') agentSwitchCpuProcessTotalUtilization = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 1, 4, 9), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchCpuProcessTotalUtilization.setStatus('current') agentConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2)) agentCLIConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1)) agentLoginSessionTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 1), ) if mibBuilder.loadTexts: agentLoginSessionTable.setStatus('current') agentLoginSessionEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 1, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentLoginSessionIndex")) if mibBuilder.loadTexts: agentLoginSessionEntry.setStatus('current') agentLoginSessionIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentLoginSessionIndex.setStatus('current') agentLoginSessionUserName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 1, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentLoginSessionUserName.setStatus('current') agentLoginSessionConnectionType = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("unknown", 0), ("serial", 1), ("telnet", 2), ("ssh", 3), ("http", 4), ("https", 5)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentLoginSessionConnectionType.setStatus('current') agentLoginSessionIdleTime = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 1, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentLoginSessionIdleTime.setStatus('current') agentLoginSessionSessionTime = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 1, 1, 6), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentLoginSessionSessionTime.setStatus('current') agentLoginSessionStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 1, 1, 7), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentLoginSessionStatus.setStatus('current') agentLoginSessionInetAddressType = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 1, 1, 8), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentLoginSessionInetAddressType.setStatus('current') agentLoginSessionInetAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 1, 1, 9), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentLoginSessionInetAddress.setStatus('current') agentTelnetConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 2)) agentTelnetLoginTimeout = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 2, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 160))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTelnetLoginTimeout.setStatus('current') agentTelnetMaxSessions = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 2, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 5))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTelnetMaxSessions.setStatus('current') agentTelnetAllowNewMode = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 2, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTelnetAllowNewMode.setStatus('current') agentUserConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 3)) agentUserConfigCreate = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 3, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 8))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentUserConfigCreate.setStatus('current') agentUserConfigTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 3, 2), ) if mibBuilder.loadTexts: agentUserConfigTable.setStatus('current') agentUserConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 3, 2, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentUserIndex")) if mibBuilder.loadTexts: agentUserConfigEntry.setStatus('current') agentUserIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 3, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))) if mibBuilder.loadTexts: agentUserIndex.setStatus('current') agentUserName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 3, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentUserName.setStatus('current') agentUserPassword = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 3, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(8, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentUserPassword.setStatus('current') agentUserAccessMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 3, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("suspended", 0), ("read", 1), ("write", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentUserAccessMode.setStatus('current') agentUserStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 3, 2, 1, 5), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentUserStatus.setStatus('current') agentUserAuthenticationType = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 3, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("hmacmd5", 2), ("hmacsha", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentUserAuthenticationType.setStatus('current') agentUserEncryptionType = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 3, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("none", 1), ("des", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentUserEncryptionType.setStatus('current') agentUserEncryptionPassword = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 3, 2, 1, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(8, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentUserEncryptionPassword.setStatus('current') agentUserLockoutStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 3, 2, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentUserLockoutStatus.setStatus('current') agentUserPasswordExpireTime = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 3, 2, 1, 10), DateAndTime()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentUserPasswordExpireTime.setStatus('current') agentUserSnmpv3AccessMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 3, 2, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("read", 1), ("write", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentUserSnmpv3AccessMode.setStatus('current') agentUserPrivilegeLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 3, 2, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 1), ValueRangeConstraint(15, 15), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentUserPrivilegeLevel.setStatus('current') agentSerialGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 5)) agentSerialTimeout = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 5, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 160))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSerialTimeout.setStatus('current') agentSerialBaudrate = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 5, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8))).clone(namedValues=NamedValues(("baud-1200", 1), ("baud-2400", 2), ("baud-4800", 3), ("baud-9600", 4), ("baud-19200", 5), ("baud-38400", 6), ("baud-57600", 7), ("baud-115200", 8)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSerialBaudrate.setStatus('current') agentSerialCharacterSize = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 5, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSerialCharacterSize.setStatus('current') agentSerialHWFlowControlMode = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 5, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSerialHWFlowControlMode.setStatus('current') agentSerialStopBits = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 5, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSerialStopBits.setStatus('current') agentSerialParityType = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 5, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("even", 1), ("odd", 2), ("none", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSerialParityType.setStatus('current') agentSerialTerminalLength = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 5, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 100))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSerialTerminalLength.setStatus('current') agentPasswordManagementConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 6)) agentPasswordManagementMinLength = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 6, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(8, 64), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPasswordManagementMinLength.setStatus('current') agentPasswordManagementHistory = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 6, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 10))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPasswordManagementHistory.setStatus('current') agentPasswordManagementAging = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 6, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 365))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPasswordManagementAging.setStatus('current') agentPasswordManagementLockAttempts = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 6, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 5))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPasswordManagementLockAttempts.setStatus('current') agentPasswordManagementPasswordStrengthCheck = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 6, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPasswordManagementPasswordStrengthCheck.setStatus('current') agentPasswordManagementStrengthMinUpperCase = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 6, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPasswordManagementStrengthMinUpperCase.setStatus('current') agentPasswordManagementStrengthMinLowerCase = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 6, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPasswordManagementStrengthMinLowerCase.setStatus('current') agentPasswordManagementStrengthMinNumericNumbers = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 6, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPasswordManagementStrengthMinNumericNumbers.setStatus('current') agentPasswordManagementStrengthMinSpecialCharacters = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 6, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPasswordManagementStrengthMinSpecialCharacters.setStatus('current') agentPasswordManagementStrengthMaxConsecutiveCharacters = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 6, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPasswordManagementStrengthMaxConsecutiveCharacters.setStatus('current') agentPasswordManagementStrengthMaxRepeatedCharacters = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 6, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPasswordManagementStrengthMaxRepeatedCharacters.setStatus('current') agentPasswordManagementStrengthMinCharacterClasses = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 6, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPasswordManagementStrengthMinCharacterClasses.setStatus('current') agentPasswordMgmtLastPasswordSetResult = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 6, 14), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentPasswordMgmtLastPasswordSetResult.setStatus('current') agentPasswordManagementStrengthExcludeKeywordTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 6, 15), ) if mibBuilder.loadTexts: agentPasswordManagementStrengthExcludeKeywordTable.setStatus('current') agentPasswordManagementStrengthExcludeKeywordEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 6, 15, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentPasswordMgmtStrengthExcludeKeyword")) if mibBuilder.loadTexts: agentPasswordManagementStrengthExcludeKeywordEntry.setStatus('current') agentPasswordMgmtStrengthExcludeKeyword = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 6, 15, 1, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentPasswordMgmtStrengthExcludeKeyword.setStatus('current') agentPasswordMgmtStrengthExcludeKeywordStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 6, 15, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentPasswordMgmtStrengthExcludeKeywordStatus.setStatus('current') agentIASUserConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 7)) agentIASUserConfigCreate = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 7, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentIASUserConfigCreate.setStatus('current') agentIASUserConfigTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 7, 2), ) if mibBuilder.loadTexts: agentIASUserConfigTable.setStatus('current') agentIASUserConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 7, 2, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentIASUserIndex")) if mibBuilder.loadTexts: agentIASUserConfigEntry.setStatus('current') agentIASUserIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 7, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 99))) if mibBuilder.loadTexts: agentIASUserIndex.setStatus('current') agentIASUserName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 7, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentIASUserName.setStatus('current') agentIASUserPassword = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 7, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentIASUserPassword.setStatus('current') agentIASUserStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 1, 7, 2, 1, 4), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentIASUserStatus.setStatus('current') agentLagConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2)) agentLagConfigCreate = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentLagConfigCreate.setStatus('current') agentLagSummaryConfigTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 2), ) if mibBuilder.loadTexts: agentLagSummaryConfigTable.setStatus('current') agentLagSummaryConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 2, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentLagSummaryLagIndex")) if mibBuilder.loadTexts: agentLagSummaryConfigEntry.setStatus('current') agentLagSummaryLagIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentLagSummaryLagIndex.setStatus('current') agentLagSummaryName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 15))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentLagSummaryName.setStatus('current') agentLagSummaryFlushTimer = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentLagSummaryFlushTimer.setStatus('obsolete') agentLagSummaryLinkTrap = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentLagSummaryLinkTrap.setStatus('current') agentLagSummaryAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentLagSummaryAdminMode.setStatus('current') agentLagSummaryStpMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("dot1d", 1), ("fast", 2), ("off", 3), ("dot1s", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentLagSummaryStpMode.setStatus('current') agentLagSummaryAddPort = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 2, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentLagSummaryAddPort.setStatus('current') agentLagSummaryDeletePort = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentLagSummaryDeletePort.setStatus('current') agentLagSummaryStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 2, 1, 9), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentLagSummaryStatus.setStatus('current') agentLagSummaryType = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 2, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("static", 1), ("dynamic", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentLagSummaryType.setStatus('current') agentLagSummaryPortStaticCapability = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 2, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentLagSummaryPortStaticCapability.setStatus('current') agentLagSummaryHash = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 2, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 7, 8, 9))).clone(namedValues=NamedValues(("src-mac", 1), ("dst-mac", 2), ("src-dst-mac", 3), ("src-ip-src-ipport", 7), ("dst-ip-dst-ipport", 8), ("src-dst-ip-ipports", 9)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentLagSummaryHash.setStatus('obsolete') agentLagSummaryHashOption = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 2, 1, 13), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentLagSummaryHashOption.setStatus('current') agentLagSummaryRateLoadInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 2, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(30, 600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentLagSummaryRateLoadInterval.setStatus('current') agentLagDetailedConfigTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 3), ) if mibBuilder.loadTexts: agentLagDetailedConfigTable.setStatus('current') agentLagDetailedConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 3, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentLagDetailedLagIndex"), (0, "SWITCHING-MIB", "agentLagDetailedIfIndex")) if mibBuilder.loadTexts: agentLagDetailedConfigEntry.setStatus('current') agentLagDetailedLagIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentLagDetailedLagIndex.setStatus('current') agentLagDetailedIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentLagDetailedIfIndex.setStatus('current') agentLagDetailedPortSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 3, 1, 3), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentLagDetailedPortSpeed.setStatus('current') agentLagDetailedPortStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 3, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("active", 1), ("inactive", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentLagDetailedPortStatus.setStatus('current') agentLagConfigStaticCapability = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentLagConfigStaticCapability.setStatus('obsolete') agentLagConfigGroupHashOption = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 2, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentLagConfigGroupHashOption.setStatus('current') agentNetworkConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3)) agentNetworkIPAddress = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 1), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentNetworkIPAddress.setStatus('current') agentNetworkSubnetMask = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentNetworkSubnetMask.setStatus('current') agentNetworkDefaultGateway = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentNetworkDefaultGateway.setStatus('current') agentNetworkBurnedInMacAddress = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 4), PhysAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentNetworkBurnedInMacAddress.setStatus('current') agentNetworkLocalAdminMacAddress = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 5), PhysAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentNetworkLocalAdminMacAddress.setStatus('deprecated') agentNetworkMacAddressType = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("burned-in", 1), ("local", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentNetworkMacAddressType.setStatus('deprecated') agentNetworkConfigProtocol = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("bootp", 2), ("dhcp", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentNetworkConfigProtocol.setStatus('current') agentNetworkWebMode = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentNetworkWebMode.setStatus('obsolete') agentNetworkJavaMode = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentNetworkJavaMode.setStatus('obsolete') agentNetworkMgmtVlan = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4093))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentNetworkMgmtVlan.setStatus('current') agentNetworkConfigProtocolDhcpRenew = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("renew", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentNetworkConfigProtocolDhcpRenew.setStatus('deprecated') agentNetworkConfigIpDhcpRenew = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("renew", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentNetworkConfigIpDhcpRenew.setStatus('current') agentNetworkConfigIpv6DhcpRenew = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("renew", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentNetworkConfigIpv6DhcpRenew.setStatus('current') agentNetworkIpv6AdminMode = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentNetworkIpv6AdminMode.setStatus('current') agentNetworkIpv6Gateway = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 13), Ipv6AddressPrefix()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentNetworkIpv6Gateway.setStatus('current') agentNetworkIpv6AddrTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 14), ) if mibBuilder.loadTexts: agentNetworkIpv6AddrTable.setStatus('current') agentNetworkIpv6AddrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 14, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentNetworkIpv6AddrPrefix")) if mibBuilder.loadTexts: agentNetworkIpv6AddrEntry.setStatus('current') agentNetworkIpv6AddrPrefix = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 14, 1, 1), Ipv6AddressPrefix()) if mibBuilder.loadTexts: agentNetworkIpv6AddrPrefix.setStatus('current') agentNetworkIpv6AddrPrefixLength = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 14, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentNetworkIpv6AddrPrefixLength.setStatus('current') agentNetworkIpv6AddrEuiFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 14, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentNetworkIpv6AddrEuiFlag.setStatus('current') agentNetworkIpv6AddrStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 14, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentNetworkIpv6AddrStatus.setStatus('current') agentNetworkIpv6AddressAutoConfig = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentNetworkIpv6AddressAutoConfig.setStatus('current') agentNetworkIpv6ConfigProtocol = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("none", 1), ("dhcp", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentNetworkIpv6ConfigProtocol.setStatus('current') agentNetworkDhcp6ClientDuid = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 17), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentNetworkDhcp6ClientDuid.setStatus('current') agentNetworkStatsGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 18)) agentNetworkDhcp6ADVERTISEMessagesReceived = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 18, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentNetworkDhcp6ADVERTISEMessagesReceived.setStatus('current') agentNetworkDhcp6REPLYMessagesReceived = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 18, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentNetworkDhcp6REPLYMessagesReceived.setStatus('current') agentNetworkDhcp6ADVERTISEMessagesDiscarded = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 18, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentNetworkDhcp6ADVERTISEMessagesDiscarded.setStatus('current') agentNetworkDhcp6REPLYMessagesDiscarded = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 18, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentNetworkDhcp6REPLYMessagesDiscarded.setStatus('current') agentNetworkDhcp6MalformedMessagesReceived = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 18, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentNetworkDhcp6MalformedMessagesReceived.setStatus('current') agentNetworkDhcp6SOLICITMessagesSent = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 18, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentNetworkDhcp6SOLICITMessagesSent.setStatus('current') agentNetworkDhcp6REQUESTMessagesSent = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 18, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentNetworkDhcp6REQUESTMessagesSent.setStatus('current') agentNetworkDhcp6RENEWMessagesSent = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 18, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentNetworkDhcp6RENEWMessagesSent.setStatus('current') agentNetworkDhcp6REBINDMessagesSent = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 18, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentNetworkDhcp6REBINDMessagesSent.setStatus('current') agentNetworkDhcp6RELEASEMessagesSent = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 18, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentNetworkDhcp6RELEASEMessagesSent.setStatus('current') agentNetworkDhcp6StatsReset = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 3, 18, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("none", 0), ("reset", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentNetworkDhcp6StatsReset.setStatus('current') agentServicePortConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4)) agentServicePortIPAddress = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 1), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentServicePortIPAddress.setStatus('current') agentServicePortSubnetMask = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 2), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentServicePortSubnetMask.setStatus('current') agentServicePortDefaultGateway = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentServicePortDefaultGateway.setStatus('current') agentServicePortBurnedInMacAddress = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 4), PhysAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentServicePortBurnedInMacAddress.setStatus('current') agentServicePortConfigProtocol = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("bootp", 2), ("dhcp", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentServicePortConfigProtocol.setStatus('current') agentServicePortProtocolDhcpRenew = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("renew", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentServicePortProtocolDhcpRenew.setStatus('deprecated') agentServicePortIpv6AdminMode = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentServicePortIpv6AdminMode.setStatus('current') agentServicePortIpv6Gateway = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 8), Ipv6AddressPrefix()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentServicePortIpv6Gateway.setStatus('current') agentServicePortIpv6AddrTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 9), ) if mibBuilder.loadTexts: agentServicePortIpv6AddrTable.setStatus('current') agentServicePortIpv6AddrEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 9, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentServicePortIpv6AddrPrefix")) if mibBuilder.loadTexts: agentServicePortIpv6AddrEntry.setStatus('current') agentServicePortIpv6AddrPrefix = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 9, 1, 1), Ipv6AddressPrefix()) if mibBuilder.loadTexts: agentServicePortIpv6AddrPrefix.setStatus('current') agentServicePortIpv6AddrPrefixLength = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 9, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 128))).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentServicePortIpv6AddrPrefixLength.setStatus('current') agentServicePortIpv6AddrEuiFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 9, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentServicePortIpv6AddrEuiFlag.setStatus('current') agentServicePortIpv6AddrStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 9, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentServicePortIpv6AddrStatus.setStatus('current') agentServicePortIpv6AddressAutoConfig = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('enable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentServicePortIpv6AddressAutoConfig.setStatus('current') agentServicePortIpv6ConfigProtocol = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("none", 1), ("dhcp", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentServicePortIpv6ConfigProtocol.setStatus('current') agentServicePortDhcp6ClientDuid = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentServicePortDhcp6ClientDuid.setStatus('current') agentServicePortStatsGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 13)) agentServicePortDhcp6ADVERTISEMessagesReceived = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 13, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentServicePortDhcp6ADVERTISEMessagesReceived.setStatus('current') agentServicePortDhcp6REPLYMessagesReceived = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 13, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentServicePortDhcp6REPLYMessagesReceived.setStatus('current') agentServicePortDhcp6ADVERTISEMessagesDiscarded = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 13, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentServicePortDhcp6ADVERTISEMessagesDiscarded.setStatus('current') agentServicePortDhcp6REPLYMessagesDiscarded = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 13, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentServicePortDhcp6REPLYMessagesDiscarded.setStatus('current') agentServicePortDhcp6MalformedMessagesReceived = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 13, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentServicePortDhcp6MalformedMessagesReceived.setStatus('current') agentServicePortDhcp6SOLICITMessagesSent = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 13, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentServicePortDhcp6SOLICITMessagesSent.setStatus('current') agentServicePortDhcp6REQUESTMessagesSent = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 13, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentServicePortDhcp6REQUESTMessagesSent.setStatus('current') agentServicePortDhcp6RENEWMessagesSent = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 13, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentServicePortDhcp6RENEWMessagesSent.setStatus('current') agentServicePortDhcp6REBINDMessagesSent = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 13, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentServicePortDhcp6REBINDMessagesSent.setStatus('current') agentServicePortDhcp6RELEASEMessagesSent = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 13, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentServicePortDhcp6RELEASEMessagesSent.setStatus('current') agentServicePortDhcp6StatsReset = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 4, 13, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("none", 0), ("reset", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentServicePortDhcp6StatsReset.setStatus('current') agentSnmpConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6)) agentSnmpCommunityCreate = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 16))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpCommunityCreate.setStatus('current') agentSnmpCommunityConfigTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 2), ) if mibBuilder.loadTexts: agentSnmpCommunityConfigTable.setStatus('current') agentSnmpCommunityConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 2, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentSnmpCommunityIndex")) if mibBuilder.loadTexts: agentSnmpCommunityConfigEntry.setStatus('current') agentSnmpCommunityIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSnmpCommunityIndex.setStatus('current') agentSnmpCommunityName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 16))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpCommunityName.setStatus('current') agentSnmpCommunityIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 2, 1, 3), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpCommunityIPAddress.setStatus('current') agentSnmpCommunityIPMask = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 2, 1, 4), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpCommunityIPMask.setStatus('current') agentSnmpCommunityAccessMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("read-only", 1), ("read-write", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpCommunityAccessMode.setStatus('current') agentSnmpCommunityStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("active", 1), ("notInService", 2), ("config", 3), ("destroy", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpCommunityStatus.setStatus('current') agentSnmpTrapReceiverCreate = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 16))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpTrapReceiverCreate.setStatus('current') agentSnmpTrapReceiverConfigTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 4), ) if mibBuilder.loadTexts: agentSnmpTrapReceiverConfigTable.setStatus('current') agentSnmpTrapReceiverConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 4, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentSnmpTrapReceiverIndex")) if mibBuilder.loadTexts: agentSnmpTrapReceiverConfigEntry.setStatus('current') agentSnmpTrapReceiverIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSnmpTrapReceiverIndex.setStatus('current') agentSnmpTrapReceiverCommunityName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 4, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 16))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpTrapReceiverCommunityName.setStatus('current') agentSnmpTrapReceiverIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 4, 1, 3), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpTrapReceiverIPAddress.setStatus('current') agentSnmpTrapReceiverStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 4, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("active", 1), ("notInService", 2), ("config", 3), ("destroy", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpTrapReceiverStatus.setStatus('current') agentSnmpTrapReceiverVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 4, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("snmpv1", 1), ("snmpv2c", 2), ("snmpv3", 3))).clone('snmpv2c')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpTrapReceiverVersion.setStatus('current') agentSnmpTrapReceiverSecurityLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 4, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("none", 1), ("auth", 2), ("priv", 3), ("notSupport", 4))).clone('none')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpTrapReceiverSecurityLevel.setStatus('current') agentSnmpTrapReceiverPort = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 4, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535)).clone(162)).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpTrapReceiverPort.setStatus('current') agentSnmpTrapFlagsConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 5)) agentSnmpAuthenticationTrapFlag = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 5, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpAuthenticationTrapFlag.setStatus('current') agentSnmpLinkUpDownTrapFlag = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 5, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpLinkUpDownTrapFlag.setStatus('current') agentSnmpMultipleUsersTrapFlag = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 5, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpMultipleUsersTrapFlag.setStatus('current') agentSnmpSpanningTreeTrapFlag = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 5, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpSpanningTreeTrapFlag.setStatus('current') agentSnmpACLTrapFlag = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 5, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpACLTrapFlag.setStatus('current') agentSnmpTransceiverTrapFlag = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 5, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpTransceiverTrapFlag.setStatus('current') agentSnmpInformConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 6)) agentSnmpInformAdminMode = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 6, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpInformAdminMode.setStatus('current') agentSnmpInformRetires = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 6, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100)).clone(3)).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpInformRetires.setStatus('current') agentSnmpInformTimeout = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 6, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1000)).clone(15)).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpInformTimeout.setStatus('current') agentSnmpInformConfigTableCreate = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 6, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 16))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpInformConfigTableCreate.setStatus('current') agentSnmpInformConfigTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 6, 5), ) if mibBuilder.loadTexts: agentSnmpInformConfigTable.setStatus('current') agentSnmpInformConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 6, 5, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentSnmpInformIndex")) if mibBuilder.loadTexts: agentSnmpInformConfigEntry.setStatus('current') agentSnmpInformIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 6, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSnmpInformIndex.setStatus('current') agentSnmpInformName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 6, 5, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 16))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpInformName.setStatus('current') agentSnmpInformIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 6, 5, 1, 3), InetAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpInformIpAddress.setStatus('current') agentSnmpInformVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 6, 5, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(2, 3))).clone(namedValues=NamedValues(("snmpv2c", 2), ("snmpv3", 3))).clone('snmpv2c')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpInformVersion.setStatus('current') agentSnmpInformStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 6, 5, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("active", 1), ("notInService", 2), ("config", 3), ("destroy", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpInformStatus.setStatus('current') agentSnmpInformSecurityLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 6, 5, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("none", 1), ("auth", 2), ("priv", 3), ("notSupport", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpInformSecurityLevel.setStatus('current') agentSnmpUserConfigTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 7), ) if mibBuilder.loadTexts: agentSnmpUserConfigTable.setStatus('current') agentSnmpUserConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 7, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentSnmpUserIndex")) if mibBuilder.loadTexts: agentSnmpUserConfigEntry.setStatus('current') agentSnmpUserIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 7, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSnmpUserIndex.setStatus('current') agentSnmpUserUsername = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 7, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpUserUsername.setStatus('current') agentSnmpUserAuthentication = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 7, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("none", 1), ("md5", 2), ("sha", 3))).clone('none')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpUserAuthentication.setStatus('current') agentSnmpUserAuthenticationPassword = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 7, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpUserAuthenticationPassword.setStatus('current') agentSnmpUserEncryption = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 7, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("none", 1), ("des", 2))).clone('none')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpUserEncryption.setStatus('current') agentSnmpUserEncryptionPassword = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 7, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpUserEncryptionPassword.setStatus('current') agentSnmpUserStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 7, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 4, 6))).clone(namedValues=NamedValues(("active", 1), ("create", 4), ("destory", 6))).clone('active')).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentSnmpUserStatus.setStatus('current') agentSnmpEngineIdConfigTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 8), ) if mibBuilder.loadTexts: agentSnmpEngineIdConfigTable.setStatus('current') agentSnmpTrapSourceInterface = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 9), InterfaceIndexOrZero()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpTrapSourceInterface.setStatus('current') agentSnmpEngineIdConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 8, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentSnmpEngineIdIndex")) if mibBuilder.loadTexts: agentSnmpEngineIdConfigEntry.setStatus('current') agentSnmpEngineIdIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 8, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSnmpEngineIdIndex.setStatus('current') agentSnmpEngineIdIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 8, 1, 2), InetAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpEngineIdIpAddress.setStatus('current') agentSnmpEngineIdString = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 8, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 24))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSnmpEngineIdString.setStatus('current') agentSnmpEngineIdStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 6, 8, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 4, 6))).clone(namedValues=NamedValues(("active", 1), ("create", 4), ("destory", 6))).clone('active')).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentSnmpEngineIdStatus.setStatus('current') agentSpanningTreeConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 7)) agentSpanningTreeMode = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 7, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSpanningTreeMode.setStatus('obsolete') agentSwitchConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8)) agentSwitchAddressAgingTimeoutTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 4), ) if mibBuilder.loadTexts: agentSwitchAddressAgingTimeoutTable.setStatus('current') agentSwitchAddressAgingTimeoutEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 4, 1), ).setIndexNames((0, "Q-BRIDGE-MIB", "dot1qFdbId")) if mibBuilder.loadTexts: agentSwitchAddressAgingTimeoutEntry.setStatus('current') agentSwitchAddressAgingTimeout = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(10, 1000000)).clone(300)).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchAddressAgingTimeout.setStatus('current') agentSwitchStaticMacFilteringTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 5), ) if mibBuilder.loadTexts: agentSwitchStaticMacFilteringTable.setStatus('current') agentSwitchStaticMacFilteringEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 5, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentSwitchStaticMacFilteringVlanId"), (0, "SWITCHING-MIB", "agentSwitchStaticMacFilteringAddress")) if mibBuilder.loadTexts: agentSwitchStaticMacFilteringEntry.setStatus('current') agentSwitchStaticMacFilteringVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchStaticMacFilteringVlanId.setStatus('current') agentSwitchStaticMacFilteringAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 5, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchStaticMacFilteringAddress.setStatus('current') agentSwitchStaticMacFilteringSourcePortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 5, 1, 3), AgentPortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchStaticMacFilteringSourcePortMask.setStatus('current') agentSwitchStaticMacFilteringDestPortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 5, 1, 4), AgentPortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchStaticMacFilteringDestPortMask.setStatus('deprecated') agentSwitchStaticMacFilteringStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 5, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentSwitchStaticMacFilteringStatus.setStatus('current') agentSwitchSnoopingGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 6)) agentSwitchSnoopingCfgTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 6, 1), ) if mibBuilder.loadTexts: agentSwitchSnoopingCfgTable.setStatus('current') agentSwitchSnoopingCfgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 6, 1, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentSwitchSnoopingProtocol")) if mibBuilder.loadTexts: agentSwitchSnoopingCfgEntry.setStatus('current') agentSwitchSnoopingProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 6, 1, 1, 1), InetAddressType()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchSnoopingProtocol.setStatus('current') agentSwitchSnoopingAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 6, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchSnoopingAdminMode.setStatus('current') agentSwitchSnoopingPortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 6, 1, 1, 3), AgentPortMask().clone(hexValue="000000000000")).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchSnoopingPortMask.setStatus('current') agentSwitchSnoopingMulticastControlFramesProcessed = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 6, 1, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchSnoopingMulticastControlFramesProcessed.setStatus('current') agentSwitchSnoopingIntfGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 7)) agentSwitchSnoopingIntfTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 7, 1), ) if mibBuilder.loadTexts: agentSwitchSnoopingIntfTable.setStatus('current') agentSwitchSnoopingIntfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 7, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "SWITCHING-MIB", "agentSwitchSnoopingProtocol")) if mibBuilder.loadTexts: agentSwitchSnoopingIntfEntry.setStatus('current') agentSwitchSnoopingIntfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 7, 1, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchSnoopingIntfIndex.setStatus('current') agentSwitchSnoopingIntfAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 7, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchSnoopingIntfAdminMode.setStatus('current') agentSwitchSnoopingIntfGroupMembershipInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 7, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 3600)).clone(260)).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchSnoopingIntfGroupMembershipInterval.setStatus('current') agentSwitchSnoopingIntfMRPExpirationTime = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 7, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchSnoopingIntfMRPExpirationTime.setStatus('current') agentSwitchSnoopingIntfFastLeaveAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 7, 1, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchSnoopingIntfFastLeaveAdminMode.setStatus('current') agentSwitchSnoopingIntfMulticastRouterMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 7, 1, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchSnoopingIntfMulticastRouterMode.setStatus('current') agentSwitchSnoopingIntfVlanIDs = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 7, 1, 1, 8), VlanList()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchSnoopingIntfVlanIDs.setStatus('current') agentSwitchSnoopingVlanGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 8)) agentSwitchSnoopingVlanTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 8, 1), ) if mibBuilder.loadTexts: agentSwitchSnoopingVlanTable.setStatus('current') agentSwitchSnoopingVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 8, 1, 1), ).setIndexNames((0, "Q-BRIDGE-MIB", "dot1qVlanIndex"), (0, "SWITCHING-MIB", "agentSwitchSnoopingProtocol")) if mibBuilder.loadTexts: agentSwitchSnoopingVlanEntry.setStatus('current') agentSwitchSnoopingVlanAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 8, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchSnoopingVlanAdminMode.setStatus('current') agentSwitchSnoopingVlanGroupMembershipInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 8, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(2, 3600)).clone(260)).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchSnoopingVlanGroupMembershipInterval.setStatus('current') agentSwitchSnoopingVlanMaxResponseTime = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 8, 1, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3599)).clone(10)).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchSnoopingVlanMaxResponseTime.setStatus('current') agentSwitchSnoopingVlanFastLeaveAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 8, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchSnoopingVlanFastLeaveAdminMode.setStatus('current') agentSwitchSnoopingVlanMRPExpirationTime = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 8, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3600))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchSnoopingVlanMRPExpirationTime.setStatus('current') agentSwitchVlanStaticMrouterGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 9)) agentSwitchVlanStaticMrouterTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 9, 1), ) if mibBuilder.loadTexts: agentSwitchVlanStaticMrouterTable.setStatus('current') agentSwitchVlanStaticMrouterEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 9, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "Q-BRIDGE-MIB", "dot1qVlanIndex"), (0, "SWITCHING-MIB", "agentSwitchSnoopingProtocol")) if mibBuilder.loadTexts: agentSwitchVlanStaticMrouterEntry.setStatus('current') agentSwitchVlanStaticMrouterAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 9, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchVlanStaticMrouterAdminMode.setStatus('current') agentSwitchMFDBGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 10)) agentSwitchMFDBTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 10, 1), ) if mibBuilder.loadTexts: agentSwitchMFDBTable.setStatus('current') agentSwitchMFDBEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 10, 1, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentSwitchMFDBVlanId"), (0, "SWITCHING-MIB", "agentSwitchMFDBMacAddress"), (0, "SWITCHING-MIB", "agentSwitchMFDBProtocolType"), (0, "SWITCHING-MIB", "agentSwitchMFDBType")) if mibBuilder.loadTexts: agentSwitchMFDBEntry.setStatus('current') agentSwitchMFDBVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 10, 1, 1, 1), VlanIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchMFDBVlanId.setStatus('current') agentSwitchMFDBMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 10, 1, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchMFDBMacAddress.setStatus('current') agentSwitchMFDBProtocolType = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 10, 1, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4))).clone(namedValues=NamedValues(("static", 1), ("gmrp", 2), ("igmp", 3), ("mld", 4)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchMFDBProtocolType.setStatus('current') agentSwitchMFDBType = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 10, 1, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("static", 1), ("dynamic", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchMFDBType.setStatus('current') agentSwitchMFDBDescription = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 10, 1, 1, 5), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchMFDBDescription.setStatus('current') agentSwitchMFDBForwardingPortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 10, 1, 1, 6), AgentPortMask()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchMFDBForwardingPortMask.setStatus('current') agentSwitchMFDBFilteringPortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 10, 1, 1, 7), AgentPortMask()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchMFDBFilteringPortMask.setStatus('current') agentSwitchMFDBSummaryTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 10, 2), ) if mibBuilder.loadTexts: agentSwitchMFDBSummaryTable.setStatus('current') agentSwitchMFDBSummaryEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 10, 2, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentSwitchMFDBSummaryVlanId"), (0, "SWITCHING-MIB", "agentSwitchMFDBSummaryMacAddress")) if mibBuilder.loadTexts: agentSwitchMFDBSummaryEntry.setStatus('current') agentSwitchMFDBSummaryVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 10, 2, 1, 1), VlanIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchMFDBSummaryVlanId.setStatus('current') agentSwitchMFDBSummaryMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 10, 2, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchMFDBSummaryMacAddress.setStatus('current') agentSwitchMFDBSummaryForwardingPortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 10, 2, 1, 3), AgentPortMask()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchMFDBSummaryForwardingPortMask.setStatus('current') agentSwitchMFDBMaxTableEntries = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 10, 3), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchMFDBMaxTableEntries.setStatus('current') agentSwitchMFDBMostEntriesUsed = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 10, 4), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchMFDBMostEntriesUsed.setStatus('current') agentSwitchMFDBCurrentEntries = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 10, 5), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchMFDBCurrentEntries.setStatus('current') agentSwitchDVlanTagGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 11)) agentSwitchDVlanTagEthertype = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 11, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchDVlanTagEthertype.setStatus('obsolete') agentSwitchDVlanTagTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 11, 2), ) if mibBuilder.loadTexts: agentSwitchDVlanTagTable.setStatus('obsolete') agentSwitchDVlanTagEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 11, 2, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentSwitchDVlanTagTPid")) if mibBuilder.loadTexts: agentSwitchDVlanTagEntry.setStatus('obsolete') agentSwitchDVlanTagTPid = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 11, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))) if mibBuilder.loadTexts: agentSwitchDVlanTagTPid.setStatus('obsolete') agentSwitchDVlanTagPrimaryTPid = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 11, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentSwitchDVlanTagPrimaryTPid.setStatus('obsolete') agentSwitchDVlanTagRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 11, 2, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentSwitchDVlanTagRowStatus.setStatus('obsolete') agentSwitchPortDVlanTagTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 11, 3), ) if mibBuilder.loadTexts: agentSwitchPortDVlanTagTable.setStatus('obsolete') agentSwitchPortDVlanTagEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 11, 3, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentSwitchPortDVlanTagInterfaceIfIndex"), (0, "SWITCHING-MIB", "agentSwitchPortDVlanTagTPid")) if mibBuilder.loadTexts: agentSwitchPortDVlanTagEntry.setStatus('obsolete') agentSwitchPortDVlanTagInterfaceIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 11, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))) if mibBuilder.loadTexts: agentSwitchPortDVlanTagInterfaceIfIndex.setStatus('obsolete') agentSwitchPortDVlanTagTPid = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 11, 3, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))) if mibBuilder.loadTexts: agentSwitchPortDVlanTagTPid.setStatus('obsolete') agentSwitchPortDVlanTagMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 11, 3, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentSwitchPortDVlanTagMode.setStatus('obsolete') agentSwitchPortDVlanTagCustomerId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 11, 3, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentSwitchPortDVlanTagCustomerId.setStatus('obsolete') agentSwitchPortDVlanTagRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 11, 3, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentSwitchPortDVlanTagRowStatus.setStatus('obsolete') agentSwitchIfDVlanTagTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 11, 4), ) if mibBuilder.loadTexts: agentSwitchIfDVlanTagTable.setStatus('current') agentSwitchIfDVlanTagEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 11, 4, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentSwitchIfDVlanTagIfIndex")) if mibBuilder.loadTexts: agentSwitchIfDVlanTagEntry.setStatus('current') agentSwitchIfDVlanTagIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 11, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))) if mibBuilder.loadTexts: agentSwitchIfDVlanTagIfIndex.setStatus('current') agentSwitchIfDVlanTagMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 11, 4, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchIfDVlanTagMode.setStatus('current') agentSwitchIfDVlanTagTPid = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 11, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchIfDVlanTagTPid.setStatus('current') agentSwitchVlanMacAssociationGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 17)) agentSwitchVlanMacAssociationTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 17, 1), ) if mibBuilder.loadTexts: agentSwitchVlanMacAssociationTable.setStatus('current') agentSwitchVlanMacAssociationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 17, 1, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentSwitchVlanMacAssociationMacAddress"), (0, "SWITCHING-MIB", "agentSwitchVlanMacAssociationVlanId"), (0, "SWITCHING-MIB", "agentSwitchVlanMacAssociationPriority")) if mibBuilder.loadTexts: agentSwitchVlanMacAssociationEntry.setStatus('current') agentSwitchVlanMacAssociationMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 17, 1, 1, 1), MacAddress()) if mibBuilder.loadTexts: agentSwitchVlanMacAssociationMacAddress.setStatus('current') agentSwitchVlanMacAssociationVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 17, 1, 1, 2), VlanIndex()) if mibBuilder.loadTexts: agentSwitchVlanMacAssociationVlanId.setStatus('current') agentSwitchVlanMacAssociationPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 17, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))) if mibBuilder.loadTexts: agentSwitchVlanMacAssociationPriority.setStatus('current') agentSwitchVlanMacAssociationRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 17, 1, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentSwitchVlanMacAssociationRowStatus.setStatus('current') agentSwitchProtectedPortConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 18)) agentSwitchProtectedPortTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 18, 1), ) if mibBuilder.loadTexts: agentSwitchProtectedPortTable.setStatus('current') agentSwitchProtectedPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 18, 1, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentSwitchProtectedPortGroupId")) if mibBuilder.loadTexts: agentSwitchProtectedPortEntry.setStatus('current') agentSwitchProtectedPortGroupId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 18, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))) if mibBuilder.loadTexts: agentSwitchProtectedPortGroupId.setStatus('current') agentSwitchProtectedPortGroupName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 18, 1, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchProtectedPortGroupName.setStatus('current') agentSwitchProtectedPortPortList = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 18, 1, 1, 3), PortList()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchProtectedPortPortList.setStatus('current') agentSwitchVlanSubnetAssociationGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 19)) agentSwitchVlanSubnetAssociationTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 19, 1), ) if mibBuilder.loadTexts: agentSwitchVlanSubnetAssociationTable.setStatus('current') agentSwitchVlanSubnetAssociationEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 19, 1, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentSwitchVlanSubnetAssociationIPAddress"), (0, "SWITCHING-MIB", "agentSwitchVlanSubnetAssociationSubnetMask"), (0, "SWITCHING-MIB", "agentSwitchVlanSubnetAssociationVlanId"), (0, "SWITCHING-MIB", "agentSwitchVlanSubnetAssociationPriority")) if mibBuilder.loadTexts: agentSwitchVlanSubnetAssociationEntry.setStatus('current') agentSwitchVlanSubnetAssociationIPAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 19, 1, 1, 1), IpAddress()) if mibBuilder.loadTexts: agentSwitchVlanSubnetAssociationIPAddress.setStatus('current') agentSwitchVlanSubnetAssociationSubnetMask = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 19, 1, 1, 2), IpAddress()) if mibBuilder.loadTexts: agentSwitchVlanSubnetAssociationSubnetMask.setStatus('current') agentSwitchVlanSubnetAssociationVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 19, 1, 1, 3), VlanIndex()) if mibBuilder.loadTexts: agentSwitchVlanSubnetAssociationVlanId.setStatus('current') agentSwitchVlanSubnetAssociationPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 19, 1, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))) if mibBuilder.loadTexts: agentSwitchVlanSubnetAssociationPriority.setStatus('current') agentSwitchVlanSubnetAssociationRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 19, 1, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentSwitchVlanSubnetAssociationRowStatus.setStatus('current') agentSwitchSnoopingQuerierGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 20)) agentSwitchSnoopingQuerierCfgTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 20, 1), ) if mibBuilder.loadTexts: agentSwitchSnoopingQuerierCfgTable.setStatus('current') agentSwitchSnoopingQuerierCfgEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 20, 1, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentSwitchSnoopingProtocol")) if mibBuilder.loadTexts: agentSwitchSnoopingQuerierCfgEntry.setStatus('current') agentSwitchSnoopingQuerierAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 20, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchSnoopingQuerierAdminMode.setStatus('current') agentSwitchSnoopingQuerierVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 20, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchSnoopingQuerierVersion.setStatus('current') agentSwitchSnoopingQuerierAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 20, 1, 1, 3), InetAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchSnoopingQuerierAddress.setStatus('current') agentSwitchSnoopingQuerierQueryInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 20, 1, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 1800)).clone(60)).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchSnoopingQuerierQueryInterval.setStatus('current') agentSwitchSnoopingQuerierExpiryInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 20, 1, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(60, 300)).clone(120)).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchSnoopingQuerierExpiryInterval.setStatus('current') agentSwitchSnoopingQuerierVlanTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 20, 2), ) if mibBuilder.loadTexts: agentSwitchSnoopingQuerierVlanTable.setStatus('current') agentSwitchSnoopingQuerierVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 20, 2, 1), ).setIndexNames((0, "Q-BRIDGE-MIB", "dot1qVlanIndex"), (0, "SWITCHING-MIB", "agentSwitchSnoopingProtocol")) if mibBuilder.loadTexts: agentSwitchSnoopingQuerierVlanEntry.setStatus('current') agentSwitchSnoopingQuerierVlanAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 20, 2, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchSnoopingQuerierVlanAdminMode.setStatus('current') agentSwitchSnoopingQuerierVlanOperMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 20, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("disabled", 0), ("querier", 1), ("non-querier", 2))).clone('disabled')).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchSnoopingQuerierVlanOperMode.setStatus('current') agentSwitchSnoopingQuerierElectionParticipateMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 20, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("disable", 0), ("enable", 1))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchSnoopingQuerierElectionParticipateMode.setStatus('current') agentSwitchSnoopingQuerierVlanAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 20, 2, 1, 4), InetAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchSnoopingQuerierVlanAddress.setStatus('current') agentSwitchSnoopingQuerierOperVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 20, 2, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchSnoopingQuerierOperVersion.setStatus('current') agentSwitchSnoopingQuerierOperMaxResponseTime = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 20, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1, -1), ValueRangeConstraint(0, 2147483647), ))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchSnoopingQuerierOperMaxResponseTime.setStatus('current') agentSwitchSnoopingQuerierLastQuerierAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 20, 2, 1, 7), InetAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchSnoopingQuerierLastQuerierAddress.setStatus('current') agentSwitchSnoopingQuerierLastQuerierVersion = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 20, 2, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchSnoopingQuerierLastQuerierVersion.setStatus('current') agentTransferConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9)) agentTransferUploadGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 1)) agentTransferUploadMode = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 5, 6, 7))).clone(namedValues=NamedValues(("tftp", 1), ("sftp", 5), ("scp", 6), ("ftp", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferUploadMode.setStatus('current') agentTransferUploadPath = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 160))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferUploadPath.setStatus('current') agentTransferUploadFilename = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferUploadFilename.setStatus('current') agentTransferUploadScriptFromSwitchSrcFilename = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferUploadScriptFromSwitchSrcFilename.setStatus('current') agentTransferUploadStartupConfigFromSwitchSrcFilename = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferUploadStartupConfigFromSwitchSrcFilename.setStatus('current') agentTransferUploadOpCodeFromSwitchSrcFilename = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 1, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferUploadOpCodeFromSwitchSrcFilename.setStatus('current') agentTransferUploadDataType = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("script", 1), ("code", 2), ("config", 3), ("errorlog", 4), ("messagelog", 5), ("traplog", 6), ("clibanner", 7), ("vmtracer", 8), ("runningConfig", 9)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferUploadDataType.setStatus('current') agentTransferUploadStart = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferUploadStart.setStatus('current') agentTransferUploadStatus = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15))).clone(namedValues=NamedValues(("notInitiated", 1), ("transferStarting", 2), ("errorStarting", 3), ("wrongFileType", 4), ("updatingConfig", 5), ("invalidConfigFile", 6), ("writingToFlash", 7), ("failureWritingToFlash", 8), ("checkingCRC", 9), ("failedCRC", 10), ("unknownDirection", 11), ("transferSuccessful", 12), ("transferFailed", 13), ("fileNotExist", 14), ("runByOtherUsers", 15)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentTransferUploadStatus.setStatus('current') agentTransferUploadServerAddress = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 1, 12), InetAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferUploadServerAddress.setStatus('current') agentTransferUploadUsername = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 1, 14), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferUploadUsername.setStatus('current') agentTransferUploadPassword = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 1, 15), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferUploadPassword.setStatus('current') agentTransferDownloadGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 2)) agentTransferDownloadMode = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 5, 6, 7))).clone(namedValues=NamedValues(("tftp", 1), ("sftp", 5), ("scp", 6), ("ftp", 7)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferDownloadMode.setStatus('current') agentTransferDownloadPath = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 2, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 160))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferDownloadPath.setStatus('current') agentTransferDownloadFilename = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 2, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferDownloadFilename.setStatus('current') agentTransferDownloadScriptToSwitchDestFilename = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 2, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferDownloadScriptToSwitchDestFilename.setStatus('current') agentTransferDownloadOPCodeToSwitchDestFilename = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 2, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferDownloadOPCodeToSwitchDestFilename.setStatus('current') agentTransferDownloadStartupConfigToSwitchDestFilename = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 2, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 30))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferDownloadStartupConfigToSwitchDestFilename.setStatus('current') agentTransferDownloadDataType = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 2, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13))).clone(namedValues=NamedValues(("script", 1), ("code", 2), ("config", 3), ("sshkey-rsa1", 4), ("sshkey-rsa2", 5), ("sshkey-dsa", 6), ("sslpem-root", 7), ("sslpem-server", 8), ("sslpem-dhweak", 9), ("sslpem-dhstrong", 10), ("clibanner", 11), ("vmtracer", 12), ("license", 13)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferDownloadDataType.setStatus('current') agentTransferDownloadStart = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 2, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferDownloadStart.setStatus('current') agentTransferDownloadStatus = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 2, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16))).clone(namedValues=NamedValues(("notInitiated", 1), ("transferStarting", 2), ("errorStarting", 3), ("wrongFileType", 4), ("updatingConfig", 5), ("invalidConfigFile", 6), ("writingToFlash", 7), ("failureWritingToFlash", 8), ("checkingCRC", 9), ("failedCRC", 10), ("unknownDirection", 11), ("transferSuccessful", 12), ("transferFailed", 13), ("fileExist", 14), ("noPartitionTableEntry", 15), ("runByOtherUsers", 16)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentTransferDownloadStatus.setStatus('current') agentTransferDownloadServerAddress = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 2, 12), InetAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferDownloadServerAddress.setStatus('current') agentTransferDownloadUsername = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 2, 14), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferDownloadUsername.setStatus('current') agentTransferDownloadPassword = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 2, 15), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentTransferDownloadPassword.setStatus('current') agentImageConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 3)) agentImage1 = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 3, 1), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentImage1.setStatus('current') agentImage2 = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 3, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentImage2.setStatus('current') agentActiveImage = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 3, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentActiveImage.setStatus('current') agentNextActiveImage = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 9, 3, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentNextActiveImage.setStatus('current') agentPortMirroringGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 10)) agentPortMirrorTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 10, 4), ) if mibBuilder.loadTexts: agentPortMirrorTable.setStatus('current') agentPortMirrorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 10, 4, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentPortMirrorSessionNum")) if mibBuilder.loadTexts: agentPortMirrorEntry.setStatus('current') agentPortMirrorSessionNum = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 10, 4, 1, 1), Unsigned32()) if mibBuilder.loadTexts: agentPortMirrorSessionNum.setStatus('current') agentPortMirrorDestinationPort = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 10, 4, 1, 2), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortMirrorDestinationPort.setStatus('current') agentPortMirrorSourcePortMask = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 10, 4, 1, 3), AgentPortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortMirrorSourcePortMask.setStatus('current') agentPortMirrorAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 10, 4, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2), ("delete", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortMirrorAdminMode.setStatus('current') agentPortMirrorTypeTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 10, 5), ) if mibBuilder.loadTexts: agentPortMirrorTypeTable.setStatus('current') agentPortMirrorTypeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 10, 5, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentPortMirrorSessionNum"), (0, "SWITCHING-MIB", "agentPortMirrorTypeSourcePort")) if mibBuilder.loadTexts: agentPortMirrorTypeEntry.setStatus('current') agentPortMirrorTypeSourcePort = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 10, 5, 1, 1), Unsigned32()) if mibBuilder.loadTexts: agentPortMirrorTypeSourcePort.setStatus('current') agentPortMirrorTypeType = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 10, 5, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("tx", 1), ("rx", 2), ("txrx", 3))).clone('txrx')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortMirrorTypeType.setStatus('current') agentDot3adAggPortTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 12), ) if mibBuilder.loadTexts: agentDot3adAggPortTable.setStatus('current') agentDot3adAggPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 12, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentDot3adAggPort")) if mibBuilder.loadTexts: agentDot3adAggPortEntry.setStatus('current') agentDot3adAggPort = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 12, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDot3adAggPort.setStatus('current') agentDot3adAggPortLACPMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 12, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDot3adAggPortLACPMode.setStatus('current') agentPortConfigTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13), ) if mibBuilder.loadTexts: agentPortConfigTable.setStatus('current') agentPortConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentPortDot1dBasePort")) if mibBuilder.loadTexts: agentPortConfigEntry.setStatus('current') agentPortDot1dBasePort = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentPortDot1dBasePort.setStatus('current') agentPortIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentPortIfIndex.setStatus('current') agentPortIanaType = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 3), IANAifType()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentPortIanaType.setStatus('current') agentPortSTPMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("dot1d", 1), ("fast", 2), ("off", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortSTPMode.setStatus('deprecated') agentPortSTPState = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("discarding", 1), ("learning", 2), ("forwarding", 3), ("disabled", 4), ("manualFwd", 5), ("notParticipate", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentPortSTPState.setStatus('deprecated') agentPortAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortAdminMode.setStatus('current') agentPortLinkTrapMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortLinkTrapMode.setStatus('current') agentPortClearStats = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortClearStats.setStatus('current') agentPortDefaultType = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 11), ObjectIdentifier()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortDefaultType.setStatus('current') agentPortType = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 12), ObjectIdentifier()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentPortType.setStatus('current') agentPortAutoNegAdminStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortAutoNegAdminStatus.setStatus('current') agentPortMaxFrameSizeLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 18), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentPortMaxFrameSizeLimit.setStatus('current') agentPortMaxFrameSize = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 19), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1518, 12288))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortMaxFrameSize.setStatus('current') agentPortCapability = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 26), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortCapability.setStatus('current') agentPortBroadcastControlThresholdUnit = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("percent", 1), ("pps", 2))).clone('percent')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortBroadcastControlThresholdUnit.setStatus('current') agentPortMulticastControlThresholdUnit = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("percent", 1), ("pps", 2))).clone('percent')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortMulticastControlThresholdUnit.setStatus('current') agentPortUnicastControlThresholdUnit = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("percent", 1), ("pps", 2))).clone('percent')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortUnicastControlThresholdUnit.setStatus('current') agentPortVoiceVlanMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("none", 1), ("vlanid", 2), ("dot1p", 3), ("untagged", 4), ("disable", 5)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortVoiceVlanMode.setStatus('current') agentPortVoiceVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 31), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4093))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortVoiceVlanID.setStatus('current') agentPortVoiceVlanPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 32), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 7), ValueRangeConstraint(255, 255), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortVoiceVlanPriority.setStatus('current') agentPortVoiceVlanDataPriorityMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("trust", 1), ("untrust", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortVoiceVlanDataPriorityMode.setStatus('current') agentPortVoiceVlanOperationalStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 34), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enabled", 1), ("disabled", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentPortVoiceVlanOperationalStatus.setStatus('current') agentPortVoiceVlanUntagged = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 35), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortVoiceVlanUntagged.setStatus('current') agentPortVoiceVlanNoneMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 36), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortVoiceVlanNoneMode.setStatus('current') agentPortVoiceVlanAuthMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 38), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortVoiceVlanAuthMode.setStatus('current') agentPortDot3FlowControlOperStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 39), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("active", 1), ("inactive", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentPortDot3FlowControlOperStatus.setStatus('current') agentPortLoadStatsInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 13, 1, 40), Integer32().subtype(subtypeSpec=ValueRangeConstraint(30, 600)).clone(300)).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentPortLoadStatsInterval.setStatus('current') agentProtocolConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 14)) agentProtocolGroupCreate = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 14, 1), DisplayString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0, 0), ValueSizeConstraint(1, 16), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentProtocolGroupCreate.setStatus('obsolete') agentProtocolGroupTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 14, 2), ) if mibBuilder.loadTexts: agentProtocolGroupTable.setStatus('current') agentProtocolGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 14, 2, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentProtocolGroupId")) if mibBuilder.loadTexts: agentProtocolGroupEntry.setStatus('current') agentProtocolGroupId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 14, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))) if mibBuilder.loadTexts: agentProtocolGroupId.setStatus('current') agentProtocolGroupName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 14, 2, 1, 2), DisplayString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0, 0), ValueSizeConstraint(1, 16), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentProtocolGroupName.setStatus('current') agentProtocolGroupVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 14, 2, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4093))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentProtocolGroupVlanId.setStatus('current') agentProtocolGroupProtocolIP = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 14, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentProtocolGroupProtocolIP.setStatus('obsolete') agentProtocolGroupProtocolARP = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 14, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentProtocolGroupProtocolARP.setStatus('obsolete') agentProtocolGroupProtocolIPX = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 14, 2, 1, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentProtocolGroupProtocolIPX.setStatus('obsolete') agentProtocolGroupStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 14, 2, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentProtocolGroupStatus.setStatus('current') agentProtocolGroupPortTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 14, 3), ) if mibBuilder.loadTexts: agentProtocolGroupPortTable.setStatus('current') agentProtocolGroupPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 14, 3, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentProtocolGroupId"), (0, "SWITCHING-MIB", "agentProtocolGroupPortIfIndex")) if mibBuilder.loadTexts: agentProtocolGroupPortEntry.setStatus('current') agentProtocolGroupPortIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 14, 3, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentProtocolGroupPortIfIndex.setStatus('current') agentProtocolGroupPortStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 14, 3, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentProtocolGroupPortStatus.setStatus('current') agentProtocolGroupProtocolTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 14, 4), ) if mibBuilder.loadTexts: agentProtocolGroupProtocolTable.setStatus('current') agentProtocolGroupProtocolEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 14, 4, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentProtocolGroupId"), (0, "SWITCHING-MIB", "agentProtocolGroupProtocolID")) if mibBuilder.loadTexts: agentProtocolGroupProtocolEntry.setStatus('current') agentProtocolGroupProtocolID = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 14, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1536, 65535))) if mibBuilder.loadTexts: agentProtocolGroupProtocolID.setStatus('current') agentProtocolGroupProtocolStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 14, 4, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentProtocolGroupProtocolStatus.setStatus('current') agentStpSwitchConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15)) agentStpConfigDigestKey = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 1), OctetString().subtype(subtypeSpec=ValueSizeConstraint(16, 16)).setFixedLength(16)).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpConfigDigestKey.setStatus('current') agentStpConfigFormatSelector = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpConfigFormatSelector.setStatus('current') agentStpConfigName = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpConfigName.setStatus('current') agentStpConfigRevision = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpConfigRevision.setStatus('current') agentStpForceVersion = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("dot1d", 1), ("dot1w", 2), ("dot1s", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpForceVersion.setStatus('current') agentStpAdminMode = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpAdminMode.setStatus('current') agentStpPortTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 7), ) if mibBuilder.loadTexts: agentStpPortTable.setStatus('current') agentStpPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 7, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: agentStpPortEntry.setStatus('current') agentStpPortState = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 7, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpPortState.setStatus('current') agentStpPortStatsMstpBpduRx = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 7, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpPortStatsMstpBpduRx.setStatus('current') agentStpPortStatsMstpBpduTx = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 7, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpPortStatsMstpBpduTx.setStatus('current') agentStpPortStatsRstpBpduRx = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 7, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpPortStatsRstpBpduRx.setStatus('current') agentStpPortStatsRstpBpduTx = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 7, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpPortStatsRstpBpduTx.setStatus('current') agentStpPortStatsStpBpduRx = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 7, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpPortStatsStpBpduRx.setStatus('current') agentStpPortStatsStpBpduTx = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 7, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpPortStatsStpBpduTx.setStatus('current') agentStpPortUpTime = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 7, 1, 8), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpPortUpTime.setStatus('current') agentStpPortMigrationCheck = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 7, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpPortMigrationCheck.setStatus('current') agentStpPortHelloTime = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 7, 1, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpPortHelloTime.setStatus('current') agentStpPortBPDUGuard = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 7, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpPortBPDUGuard.setStatus('current') agentStpCstConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 8)) agentStpCstHelloTime = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 8, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpCstHelloTime.setStatus('current') agentStpCstMaxAge = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 8, 2), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpCstMaxAge.setStatus('current') agentStpCstRegionalRootId = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 8, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpCstRegionalRootId.setStatus('current') agentStpCstRegionalRootPathCost = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 8, 4), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpCstRegionalRootPathCost.setStatus('current') agentStpCstRootFwdDelay = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 8, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpCstRootFwdDelay.setStatus('current') agentStpCstBridgeFwdDelay = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 8, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(4, 30)).clone(15)).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpCstBridgeFwdDelay.setStatus('current') agentStpCstBridgeHelloTime = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 8, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpCstBridgeHelloTime.setStatus('current') agentStpCstBridgeHoldTime = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 8, 8), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpCstBridgeHoldTime.setStatus('current') agentStpCstBridgeMaxAge = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 8, 9), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(6, 40)).clone(20)).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpCstBridgeMaxAge.setStatus('current') agentStpCstBridgeMaxHops = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 8, 10), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(6, 40)).clone(20)).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpCstBridgeMaxHops.setStatus('current') agentStpCstBridgePriority = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 8, 11), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 61440)).clone(32768)).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpCstBridgePriority.setStatus('current') agentStpCstBridgeHoldCount = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 8, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 10)).clone(6)).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpCstBridgeHoldCount.setStatus('current') agentStpCstPortTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 9), ) if mibBuilder.loadTexts: agentStpCstPortTable.setStatus('current') agentStpCstPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 9, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: agentStpCstPortEntry.setStatus('current') agentStpCstPortOperEdge = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 9, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpCstPortOperEdge.setStatus('current') agentStpCstPortOperPointToPoint = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 9, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpCstPortOperPointToPoint.setStatus('current') agentStpCstPortTopologyChangeAck = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 9, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpCstPortTopologyChangeAck.setStatus('current') agentStpCstPortEdge = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 9, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpCstPortEdge.setStatus('current') agentStpCstPortForwardingState = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 9, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("discarding", 1), ("learning", 2), ("forwarding", 3), ("disabled", 4), ("manualFwd", 5), ("notParticipate", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpCstPortForwardingState.setStatus('current') agentStpCstPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 9, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpCstPortId.setStatus('current') agentStpCstPortPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 9, 1, 7), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 200000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpCstPortPathCost.setStatus('current') agentStpCstPortPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 9, 1, 8), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 240)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpCstPortPriority.setStatus('current') agentStpCstDesignatedBridgeId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 9, 1, 9), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpCstDesignatedBridgeId.setStatus('current') agentStpCstDesignatedCost = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 9, 1, 10), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpCstDesignatedCost.setStatus('current') agentStpCstDesignatedPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 9, 1, 11), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpCstDesignatedPortId.setStatus('current') agentStpCstExtPortPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 9, 1, 12), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 200000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpCstExtPortPathCost.setStatus('current') agentStpCstPortBpduGuardEffect = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 9, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpCstPortBpduGuardEffect.setStatus('current') agentStpCstPortBpduFilter = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 9, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpCstPortBpduFilter.setStatus('current') agentStpCstPortBpduFlood = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 9, 1, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpCstPortBpduFlood.setStatus('current') agentStpCstPortAutoEdge = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 9, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpCstPortAutoEdge.setStatus('current') agentStpCstPortRootGuard = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 9, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpCstPortRootGuard.setStatus('current') agentStpCstPortTCNGuard = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 9, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpCstPortTCNGuard.setStatus('current') agentStpCstPortLoopGuard = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 9, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpCstPortLoopGuard.setStatus('current') agentStpMstTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 10), ) if mibBuilder.loadTexts: agentStpMstTable.setStatus('current') agentStpMstEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 10, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentStpMstId")) if mibBuilder.loadTexts: agentStpMstEntry.setStatus('current') agentStpMstId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 10, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpMstId.setStatus('current') agentStpMstBridgePriority = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 10, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 61440))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpMstBridgePriority.setStatus('current') agentStpMstBridgeIdentifier = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 10, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpMstBridgeIdentifier.setStatus('current') agentStpMstDesignatedRootId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 10, 1, 4), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpMstDesignatedRootId.setStatus('current') agentStpMstRootPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 10, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpMstRootPathCost.setStatus('current') agentStpMstRootPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 10, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpMstRootPortId.setStatus('current') agentStpMstTimeSinceTopologyChange = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 10, 1, 7), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpMstTimeSinceTopologyChange.setStatus('current') agentStpMstTopologyChangeCount = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 10, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpMstTopologyChangeCount.setStatus('current') agentStpMstTopologyChangeParm = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 10, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("true", 1), ("false", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpMstTopologyChangeParm.setStatus('current') agentStpMstRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 10, 1, 10), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentStpMstRowStatus.setStatus('current') agentStpMstPortTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 11), ) if mibBuilder.loadTexts: agentStpMstPortTable.setStatus('current') agentStpMstPortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 11, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentStpMstId"), (0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: agentStpMstPortEntry.setStatus('current') agentStpMstPortForwardingState = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 11, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("discarding", 1), ("learning", 2), ("forwarding", 3), ("disabled", 4), ("manualFwd", 5), ("notParticipate", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpMstPortForwardingState.setStatus('current') agentStpMstPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 11, 1, 2), OctetString().subtype(subtypeSpec=ValueSizeConstraint(4, 4)).setFixedLength(4)).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpMstPortId.setStatus('current') agentStpMstPortPathCost = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 11, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 200000000))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpMstPortPathCost.setStatus('current') agentStpMstPortPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 11, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 240)).clone(128)).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpMstPortPriority.setStatus('current') agentStpMstDesignatedBridgeId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 11, 1, 5), OctetString().subtype(subtypeSpec=ValueSizeConstraint(8, 8)).setFixedLength(8)).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpMstDesignatedBridgeId.setStatus('current') agentStpMstDesignatedCost = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 11, 1, 6), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpMstDesignatedCost.setStatus('current') agentStpMstDesignatedPortId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 11, 1, 7), OctetString().subtype(subtypeSpec=ValueSizeConstraint(2, 2)).setFixedLength(2)).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpMstDesignatedPortId.setStatus('current') agentStpMstPortLoopInconsistentState = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 11, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpMstPortLoopInconsistentState.setStatus('current') agentStpMstPortTransitionsIntoLoopInconsistentState = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 11, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpMstPortTransitionsIntoLoopInconsistentState.setStatus('current') agentStpMstPortTransitionsOutOfLoopInconsistentState = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 11, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentStpMstPortTransitionsOutOfLoopInconsistentState.setStatus('current') agentStpMstVlanTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 12), ) if mibBuilder.loadTexts: agentStpMstVlanTable.setStatus('current') agentStpMstVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 12, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentStpMstId"), (0, "Q-BRIDGE-MIB", "dot1qVlanIndex")) if mibBuilder.loadTexts: agentStpMstVlanEntry.setStatus('current') agentStpMstVlanRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 12, 1, 1), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentStpMstVlanRowStatus.setStatus('current') agentStpBpduGuardMode = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpBpduGuardMode.setStatus('current') agentStpBpduFilterDefault = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpBpduFilterDefault.setStatus('current') agentStpUplinkFast = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 15, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStpUplinkFast.setStatus('current') agentAuthenticationGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16)) agentAuthenticationListCreate = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 1), DisplayString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0, 0), ValueSizeConstraint(1, 15), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentAuthenticationListCreate.setStatus('current') agentAuthenticationEnableListCreate = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 7), DisplayString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0, 0), ValueSizeConstraint(1, 15), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentAuthenticationEnableListCreate.setStatus('current') agentAuthenticationListTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 2), ) if mibBuilder.loadTexts: agentAuthenticationListTable.setStatus('current') agentAuthenticationListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 2, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentAuthenticationListIndex")) if mibBuilder.loadTexts: agentAuthenticationListEntry.setStatus('current') agentAuthenticationListIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 2, 1, 1), Unsigned32()) if mibBuilder.loadTexts: agentAuthenticationListIndex.setStatus('current') agentAuthenticationListName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentAuthenticationListName.setStatus('current') agentAuthenticationListMethod1 = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("undefined", 0), ("enable", 1), ("line", 2), ("local", 3), ("none", 4), ("radius", 5), ("tacacs", 6), ("ias", 7), ("reject", 8), ("ldap", 9)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentAuthenticationListMethod1.setStatus('current') agentAuthenticationListMethod2 = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("undefined", 0), ("enable", 1), ("line", 2), ("local", 3), ("none", 4), ("radius", 5), ("tacacs", 6), ("ias", 7), ("reject", 8), ("ldap", 9)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentAuthenticationListMethod2.setStatus('current') agentAuthenticationListMethod3 = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("undefined", 0), ("enable", 1), ("line", 2), ("local", 3), ("none", 4), ("radius", 5), ("tacacs", 6), ("ias", 7), ("reject", 8), ("ldap", 9)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentAuthenticationListMethod3.setStatus('current') agentAuthenticationListStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 2, 1, 6), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentAuthenticationListStatus.setStatus('current') agentAuthenticationListMethod4 = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 2, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("undefined", 0), ("enable", 1), ("line", 2), ("local", 3), ("none", 4), ("radius", 5), ("tacacs", 6), ("ias", 7), ("reject", 8), ("ldap", 9)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentAuthenticationListMethod4.setStatus('current') agentAuthenticationListMethod5 = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 2, 1, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("undefined", 0), ("enable", 1), ("line", 2), ("local", 3), ("none", 4), ("radius", 5), ("tacacs", 6), ("ias", 7), ("reject", 8), ("ldap", 9)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentAuthenticationListMethod5.setStatus('current') agentAuthenticationListMethod6 = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 2, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("undefined", 0), ("enable", 1), ("line", 2), ("local", 3), ("none", 4), ("radius", 5), ("tacacs", 6), ("ias", 7), ("reject", 8), ("ldap", 9)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentAuthenticationListMethod6.setStatus('current') agentAuthenticationListAccessType = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 2, 1, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6, 7))).clone(namedValues=NamedValues(("unknown", 0), ("console", 1), ("telnet", 2), ("ssh", 3), ("https", 4), ("http", 5), ("dot1x", 6), ("cts", 7)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentAuthenticationListAccessType.setStatus('current') agentAuthenticationListAccessLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 2, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("unknown", 0), ("login", 1), ("enable", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentAuthenticationListAccessLevel.setStatus('current') agentUserConfigDefaultAuthenticationList = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentUserConfigDefaultAuthenticationList.setStatus('current') agentUserConfigDefaultAuthenticationDot1xList = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentUserConfigDefaultAuthenticationDot1xList.setStatus('current') agentUserAuthenticationConfigTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 4), ) if mibBuilder.loadTexts: agentUserAuthenticationConfigTable.setStatus('current') agentUserAuthenticationConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 4, 1), ) agentUserConfigEntry.registerAugmentions(("SWITCHING-MIB", "agentUserAuthenticationConfigEntry")) agentUserAuthenticationConfigEntry.setIndexNames(*agentUserConfigEntry.getIndexNames()) if mibBuilder.loadTexts: agentUserAuthenticationConfigEntry.setStatus('current') agentUserAuthenticationList = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 4, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentUserAuthenticationList.setStatus('current') agentUserAuthenticationDot1xList = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 4, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentUserAuthenticationDot1xList.setStatus('current') agentUserPortConfigTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 5), ) if mibBuilder.loadTexts: agentUserPortConfigTable.setStatus('current') agentUserPortConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 5, 1), ) agentUserConfigEntry.registerAugmentions(("SWITCHING-MIB", "agentUserPortConfigEntry")) agentUserPortConfigEntry.setIndexNames(*agentUserConfigEntry.getIndexNames()) if mibBuilder.loadTexts: agentUserPortConfigEntry.setStatus('current') agentUserPortSecurity = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 16, 5, 1, 1), AgentPortMask()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentUserPortSecurity.setStatus('current') agentClassOfServiceGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 17)) agentClassOfServicePortTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 17, 1), ) if mibBuilder.loadTexts: agentClassOfServicePortTable.setStatus('current') agentClassOfServicePortEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 17, 1, 1), ).setIndexNames((0, "IF-MIB", "ifIndex"), (0, "SWITCHING-MIB", "agentClassOfServicePortPriority")) if mibBuilder.loadTexts: agentClassOfServicePortEntry.setStatus('current') agentClassOfServicePortPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 17, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))) if mibBuilder.loadTexts: agentClassOfServicePortPriority.setStatus('current') agentClassOfServicePortClass = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 17, 1, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentClassOfServicePortClass.setStatus('current') agentHTTPConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 19)) agentHTTPMaxSessions = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 19, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 16))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentHTTPMaxSessions.setStatus('current') agentHTTPHardTimeout = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 19, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 168))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentHTTPHardTimeout.setStatus('current') agentHTTPSoftTimeout = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 19, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 60))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentHTTPSoftTimeout.setStatus('current') agentAutoInstallConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 20)) agentAutoinstallPersistentMode = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 20, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentAutoinstallPersistentMode.setStatus('current') agentAutoinstallAutosaveMode = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 20, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentAutoinstallAutosaveMode.setStatus('current') agentAutoinstallUnicastRetryCount = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 20, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 3))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentAutoinstallUnicastRetryCount.setStatus('current') agentAutoinstallStatus = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 20, 4), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentAutoinstallStatus.setStatus('current') agentAutoinstallAutoRebootMode = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 20, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentAutoinstallAutoRebootMode.setStatus('current') agentAutoinstallOperationalMode = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 20, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentAutoinstallOperationalMode.setStatus('current') agentAutoinstallAutoUpgradeMode = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 20, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentAutoinstallAutoUpgradeMode.setStatus('current') agentLDAPConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 25)) agentLDAPServerIP = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 25, 1), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentLDAPServerIP.setStatus('current') agentLDAPServerPort = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 25, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentLDAPServerPort.setStatus('current') agentLDAPBaseDn = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 25, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 256))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentLDAPBaseDn.setStatus('current') agentLDAPRacName = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 25, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 256))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentLDAPRacName.setStatus('current') agentLDAPRacDomain = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 25, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 256))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentLDAPRacDomain.setStatus('current') agentDDnsConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 26)) agentDDnsConfigTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 26, 1), ) if mibBuilder.loadTexts: agentDDnsConfigTable.setStatus('current') agentDDnsConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 26, 1, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentDDnsIndex")) if mibBuilder.loadTexts: agentDDnsConfigEntry.setStatus('current') agentDDnsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 26, 1, 1, 1), Unsigned32()) if mibBuilder.loadTexts: agentDDnsIndex.setStatus('current') agentDDnsServName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 26, 1, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("easydns", 0), ("dyndns", 1), ("dhs", 2), ("ods", 3), ("dyns", 4), ("zoneedit", 5), ("tzo", 6)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentDDnsServName.setStatus('current') agentDDnsUserName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 26, 1, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentDDnsUserName.setStatus('current') agentDDnsPassword = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 26, 1, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentDDnsPassword.setStatus('current') agentDDnsHost = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 26, 1, 1, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 44))).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentDDnsHost.setStatus('current') agentDDnsAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 26, 1, 1, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 15)).clone('0.0.0.0')).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentDDnsAddress.setStatus('current') agentDDnsStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 26, 1, 1, 7), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDDnsStatus.setStatus('current') agentUdldConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 28)) agentUdldMessageTime = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 28, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(7, 90))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentUdldMessageTime.setStatus('current') agentUdldConfigTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 28, 2), ) if mibBuilder.loadTexts: agentUdldConfigTable.setStatus('current') agentUdldConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 28, 2, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentUdldIndex")) if mibBuilder.loadTexts: agentUdldConfigEntry.setStatus('current') agentUdldIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 28, 2, 1, 1), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentUdldIndex.setStatus('current') agentUdldIntfAdminMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 28, 2, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentUdldIntfAdminMode.setStatus('current') agentUdldIntfAggressiveMode = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 28, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentUdldIntfAggressiveMode.setStatus('current') agentSystemGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 3)) agentSaveConfig = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 3, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSaveConfig.setStatus('current') agentClearConfig = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 3, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentClearConfig.setStatus('current') agentClearLags = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 3, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentClearLags.setStatus('current') agentClearLoginSessions = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 3, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentClearLoginSessions.setStatus('current') agentClearPasswords = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 3, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentClearPasswords.setStatus('current') agentClearPortStats = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 3, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentClearPortStats.setStatus('current') agentClearSwitchStats = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 3, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentClearSwitchStats.setStatus('current') agentClearBufferedLog = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 3, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentClearBufferedLog.setStatus('current') agentClearTrapLog = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 3, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentClearTrapLog.setStatus('current') agentClearVlan = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 3, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentClearVlan.setStatus('current') agentResetSystem = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 3, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentResetSystem.setStatus('current') agentConfigCurrentSystemTime = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 3, 14), DisplayString()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentConfigCurrentSystemTime.setStatus('current') agentCpuLoad = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 3, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentCpuLoad.setStatus('current') agentCpuLoadOneMin = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 3, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentCpuLoadOneMin.setStatus('current') agentCpuLoadFiveMin = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 3, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2147483647))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentCpuLoadFiveMin.setStatus('current') agentStartupConfigErase = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 3, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("erase", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentStartupConfigErase.setStatus('obsolete') agentDaiConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21)) agentDaiSrcMacValidate = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDaiSrcMacValidate.setStatus('current') agentDaiDstMacValidate = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDaiDstMacValidate.setStatus('current') agentDaiIPValidate = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 3), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDaiIPValidate.setStatus('current') agentDaiVlanConfigTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 4), ) if mibBuilder.loadTexts: agentDaiVlanConfigTable.setStatus('current') agentDaiVlanConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 4, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentDaiVlanIndex")) if mibBuilder.loadTexts: agentDaiVlanConfigEntry.setStatus('current') agentDaiVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 4, 1, 1), VlanIndex()) if mibBuilder.loadTexts: agentDaiVlanIndex.setStatus('current') agentDaiVlanDynArpInspEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 4, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDaiVlanDynArpInspEnable.setStatus('current') agentDaiVlanLoggingEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 4, 1, 3), TruthValue().clone('true')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDaiVlanLoggingEnable.setStatus('current') agentDaiVlanArpAclName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 4, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 31))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDaiVlanArpAclName.setStatus('current') agentDaiVlanArpAclStaticFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 4, 1, 5), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDaiVlanArpAclStaticFlag.setStatus('current') agentDaiStatsReset = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("none", 0), ("reset", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDaiStatsReset.setStatus('current') agentDaiVlanStatsTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 6), ) if mibBuilder.loadTexts: agentDaiVlanStatsTable.setStatus('current') agentDaiVlanStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 6, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentDaiVlanStatsIndex")) if mibBuilder.loadTexts: agentDaiVlanStatsEntry.setStatus('current') agentDaiVlanStatsIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 6, 1, 1), VlanIndex()) if mibBuilder.loadTexts: agentDaiVlanStatsIndex.setStatus('current') agentDaiVlanPktsForwarded = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 6, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDaiVlanPktsForwarded.setStatus('current') agentDaiVlanPktsDropped = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 6, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDaiVlanPktsDropped.setStatus('current') agentDaiVlanDhcpDrops = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 6, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDaiVlanDhcpDrops.setStatus('current') agentDaiVlanDhcpPermits = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 6, 1, 5), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDaiVlanDhcpPermits.setStatus('current') agentDaiVlanAclDrops = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 6, 1, 6), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDaiVlanAclDrops.setStatus('current') agentDaiVlanAclPermits = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 6, 1, 7), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDaiVlanAclPermits.setStatus('current') agentDaiVlanSrcMacFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 6, 1, 8), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDaiVlanSrcMacFailures.setStatus('current') agentDaiVlanDstMacFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 6, 1, 9), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDaiVlanDstMacFailures.setStatus('current') agentDaiVlanIpValidFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 6, 1, 10), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDaiVlanIpValidFailures.setStatus('current') agentDaiIfConfigTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 7), ) if mibBuilder.loadTexts: agentDaiIfConfigTable.setStatus('current') agentDaiIfConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 7, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: agentDaiIfConfigEntry.setStatus('current') agentDaiIfTrustEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 7, 1, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDaiIfTrustEnable.setStatus('current') agentDaiIfRateLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 7, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1, -1), ValueRangeConstraint(0, 300), )).clone(15)).setUnits('packets per second').setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDaiIfRateLimit.setStatus('current') agentDaiIfBurstInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 21, 7, 1, 3), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDaiIfBurstInterval.setStatus('current') agentArpAclGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 22)) agentArpAclTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 22, 1), ) if mibBuilder.loadTexts: agentArpAclTable.setStatus('current') agentArpAclEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 22, 1, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentArpAclName")) if mibBuilder.loadTexts: agentArpAclEntry.setStatus('current') agentArpAclName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 22, 1, 1, 1), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 31))).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentArpAclName.setStatus('current') agentArpAclRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 22, 1, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentArpAclRowStatus.setStatus('current') agentArpAclRuleTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 22, 2), ) if mibBuilder.loadTexts: agentArpAclRuleTable.setStatus('current') agentArpAclRuleEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 22, 2, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentArpAclName"), (0, "SWITCHING-MIB", "agentArpAclRuleMatchSenderIpAddr"), (0, "SWITCHING-MIB", "agentArpAclRuleMatchSenderMacAddr")) if mibBuilder.loadTexts: agentArpAclRuleEntry.setStatus('current') agentArpAclRuleMatchSenderIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 22, 2, 1, 1), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentArpAclRuleMatchSenderIpAddr.setStatus('current') agentArpAclRuleMatchSenderMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 22, 2, 1, 2), MacAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentArpAclRuleMatchSenderMacAddr.setStatus('current') agentArpAclRuleRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 22, 2, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentArpAclRuleRowStatus.setStatus('current') agentDhcpSnoopingConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23)) agentDhcpSnoopingAdminMode = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDhcpSnoopingAdminMode.setStatus('current') agentDhcpSnoopingVerifyMac = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDhcpSnoopingVerifyMac.setStatus('current') agentDhcpSnoopingVlanConfigTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 3), ) if mibBuilder.loadTexts: agentDhcpSnoopingVlanConfigTable.setStatus('current') agentDhcpSnoopingVlanConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 3, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentDhcpSnoopingVlanIndex")) if mibBuilder.loadTexts: agentDhcpSnoopingVlanConfigEntry.setStatus('current') agentDhcpSnoopingVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 3, 1, 1), VlanIndex()) if mibBuilder.loadTexts: agentDhcpSnoopingVlanIndex.setStatus('current') agentDhcpSnoopingVlanEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 3, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDhcpSnoopingVlanEnable.setStatus('current') agentDhcpSnoopingIfConfigTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 4), ) if mibBuilder.loadTexts: agentDhcpSnoopingIfConfigTable.setStatus('current') agentDhcpSnoopingIfConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 4, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: agentDhcpSnoopingIfConfigEntry.setStatus('current') agentDhcpSnoopingIfTrustEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 4, 1, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDhcpSnoopingIfTrustEnable.setStatus('current') agentDhcpSnoopingIfLogEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 4, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDhcpSnoopingIfLogEnable.setStatus('current') agentDhcpSnoopingIfRateLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 4, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1, -1), ValueRangeConstraint(0, 300), )).clone(-1)).setUnits('packets per second').setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDhcpSnoopingIfRateLimit.setStatus('current') agentDhcpSnoopingIfBurstInterval = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 4, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(-1, -1), ValueRangeConstraint(1, 15), )).clone(-1)).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDhcpSnoopingIfBurstInterval.setStatus('current') agentIpsgIfConfigTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 5), ) if mibBuilder.loadTexts: agentIpsgIfConfigTable.setStatus('current') agentIpsgIfConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 5, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: agentIpsgIfConfigEntry.setStatus('current') agentIpsgIfVerifySource = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 5, 1, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentIpsgIfVerifySource.setStatus('current') agentIpsgIfPortSecurity = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 5, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentIpsgIfPortSecurity.setStatus('current') agentDhcpSnoopingStatsReset = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("none", 0), ("reset", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDhcpSnoopingStatsReset.setStatus('current') agentDhcpSnoopingStatsTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 7), ) if mibBuilder.loadTexts: agentDhcpSnoopingStatsTable.setStatus('current') agentDhcpSnoopingStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 7, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: agentDhcpSnoopingStatsEntry.setStatus('current') agentDhcpSnoopingMacVerifyFailures = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 7, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDhcpSnoopingMacVerifyFailures.setStatus('current') agentDhcpSnoopingInvalidClientMessages = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 7, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDhcpSnoopingInvalidClientMessages.setStatus('current') agentDhcpSnoopingInvalidServerMessages = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 7, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDhcpSnoopingInvalidServerMessages.setStatus('current') agentStaticIpsgBindingTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 8), ) if mibBuilder.loadTexts: agentStaticIpsgBindingTable.setStatus('current') agentStaticIpsgBinding = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 8, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentStaticIpsgBindingIfIndex"), (0, "SWITCHING-MIB", "agentStaticIpsgBindingVlanId"), (0, "SWITCHING-MIB", "agentStaticIpsgBindingMacAddr"), (0, "SWITCHING-MIB", "agentStaticIpsgBindingIpAddr")) if mibBuilder.loadTexts: agentStaticIpsgBinding.setStatus('current') agentStaticIpsgBindingIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 8, 1, 1), InterfaceIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentStaticIpsgBindingIfIndex.setStatus('current') agentStaticIpsgBindingVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 8, 1, 2), VlanIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentStaticIpsgBindingVlanId.setStatus('current') agentStaticIpsgBindingMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 8, 1, 3), MacAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentStaticIpsgBindingMacAddr.setStatus('current') agentStaticIpsgBindingIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 8, 1, 4), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentStaticIpsgBindingIpAddr.setStatus('current') agentStaticIpsgBindingRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 8, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentStaticIpsgBindingRowStatus.setStatus('current') agentDynamicIpsgBindingTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 9), ) if mibBuilder.loadTexts: agentDynamicIpsgBindingTable.setStatus('current') agentDynamicIpsgBinding = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 9, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentDynamicIpsgBindingIfIndex"), (0, "SWITCHING-MIB", "agentDynamicIpsgBindingVlanId"), (0, "SWITCHING-MIB", "agentDynamicIpsgBindingMacAddr"), (0, "SWITCHING-MIB", "agentDynamicIpsgBindingIpAddr")) if mibBuilder.loadTexts: agentDynamicIpsgBinding.setStatus('current') agentDynamicIpsgBindingIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 9, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDynamicIpsgBindingIfIndex.setStatus('current') agentDynamicIpsgBindingVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 9, 1, 2), VlanIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDynamicIpsgBindingVlanId.setStatus('current') agentDynamicIpsgBindingMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 9, 1, 3), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDynamicIpsgBindingMacAddr.setStatus('current') agentDynamicIpsgBindingIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 9, 1, 4), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDynamicIpsgBindingIpAddr.setStatus('current') agentStaticDsBindingTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 10), ) if mibBuilder.loadTexts: agentStaticDsBindingTable.setStatus('current') agentStaticDsBinding = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 10, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentStaticDsBindingMacAddr")) if mibBuilder.loadTexts: agentStaticDsBinding.setStatus('current') agentStaticDsBindingIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 10, 1, 1), InterfaceIndex()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentStaticDsBindingIfIndex.setStatus('current') agentStaticDsBindingVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 10, 1, 2), VlanId()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentStaticDsBindingVlanId.setStatus('current') agentStaticDsBindingMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 10, 1, 3), MacAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentStaticDsBindingMacAddr.setStatus('current') agentStaticDsBindingIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 10, 1, 4), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentStaticDsBindingIpAddr.setStatus('current') agentStaticDsBindingRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 10, 1, 5), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentStaticDsBindingRowStatus.setStatus('current') agentDynamicDsBindingTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 11), ) if mibBuilder.loadTexts: agentDynamicDsBindingTable.setStatus('current') agentDynamicDsBinding = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 11, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentDynamicDsBindingMacAddr")) if mibBuilder.loadTexts: agentDynamicDsBinding.setStatus('current') agentDynamicDsBindingIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 11, 1, 1), InterfaceIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDynamicDsBindingIfIndex.setStatus('current') agentDynamicDsBindingVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 11, 1, 2), VlanIndex()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDynamicDsBindingVlanId.setStatus('current') agentDynamicDsBindingMacAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 11, 1, 3), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDynamicDsBindingMacAddr.setStatus('current') agentDynamicDsBindingIpAddr = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 11, 1, 4), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDynamicDsBindingIpAddr.setStatus('current') agentDynamicDsBindingLeaseRemainingTime = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 11, 1, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDynamicDsBindingLeaseRemainingTime.setStatus('current') agentDhcpSnoopingRemoteFileName = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDhcpSnoopingRemoteFileName.setStatus('current') agentDhcpSnoopingRemoteIpAddr = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 13), IpAddress()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDhcpSnoopingRemoteIpAddr.setStatus('current') agentDhcpSnoopingStoreInterval = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 14), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDhcpSnoopingStoreInterval.setStatus('current') agentDhcpSnoopingStoreTimeout = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 23, 15), Unsigned32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDhcpSnoopingStoreTimeout.setStatus('current') agentDNSConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18)) agentDNSConfigDomainLookupStatus = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDNSConfigDomainLookupStatus.setStatus('current') agentDNSConfigDefaultDomainName = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 64))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDNSConfigDefaultDomainName.setStatus('current') agentDNSConfigDefaultDomainNameRemove = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDNSConfigDefaultDomainNameRemove.setStatus('current') agentDNSConfigDomainNameListTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 4), ) if mibBuilder.loadTexts: agentDNSConfigDomainNameListTable.setStatus('current') agentDNSConfigDomainNameListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 4, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentDNSConfigDomainNameListIndex")) if mibBuilder.loadTexts: agentDNSConfigDomainNameListEntry.setStatus('current') agentDNSConfigDomainNameListIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDNSConfigDomainNameListIndex.setStatus('current') agentDNSDomainName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 4, 1, 2), DisplayString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentDNSDomainName.setStatus('current') agentDNSDomainNameRemove = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 4, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDNSDomainNameRemove.setStatus('current') agentDNSConfigNameServerListTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 5), ) if mibBuilder.loadTexts: agentDNSConfigNameServerListTable.setStatus('current') agentDNSConfigNameServerListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 5, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentDNSConfigNameServerListIndex")) if mibBuilder.loadTexts: agentDNSConfigNameServerListEntry.setStatus('current') agentDNSConfigNameServerListIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDNSConfigNameServerListIndex.setStatus('current') agentDNSConfigNameServer = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 5, 1, 2), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentDNSConfigNameServer.setStatus('current') agentDNSConfigRequest = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 5, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDNSConfigRequest.setStatus('current') agentDNSConfigResponse = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 5, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDNSConfigResponse.setStatus('current') agentDNSConfigNameServerRemove = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 5, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDNSConfigNameServerRemove.setStatus('current') agentIPv6DNSConfigNameServerListTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 13), ) if mibBuilder.loadTexts: agentIPv6DNSConfigNameServerListTable.setStatus('current') agentIPv6DNSConfigNameServerListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 13, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentIPv6DNSConfigNameServerListIndex")) if mibBuilder.loadTexts: agentIPv6DNSConfigNameServerListEntry.setStatus('current') agentIPv6DNSConfigNameServerListIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 13, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentIPv6DNSConfigNameServerListIndex.setStatus('current') agentIPv6DNSConfigNameServer = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 13, 1, 2), Ipv6Address()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentIPv6DNSConfigNameServer.setStatus('current') agentIPv6DNSConfigRequest = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 13, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentIPv6DNSConfigRequest.setStatus('current') agentIPv6DNSConfigResponse = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 13, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentIPv6DNSConfigResponse.setStatus('current') agentIPv6DNSConfigNameServerRemove = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 13, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentIPv6DNSConfigNameServerRemove.setStatus('current') agentDNSConfigCacheTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 6), ) if mibBuilder.loadTexts: agentDNSConfigCacheTable.setStatus('current') agentDNSConfigCacheEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 6, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentDNSConfigCacheIndex")) if mibBuilder.loadTexts: agentDNSConfigCacheEntry.setStatus('current') agentDNSConfigCacheIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDNSConfigCacheIndex.setStatus('current') agentDNSConfigDomainName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 6, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDNSConfigDomainName.setStatus('current') agentDNSConfigIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 6, 1, 3), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDNSConfigIpAddress.setStatus('current') agentDNSConfigTTL = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 6, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDNSConfigTTL.setStatus('current') agentDNSConfigFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 6, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDNSConfigFlag.setStatus('current') agentIPv6DNSConfigCacheTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 14), ) if mibBuilder.loadTexts: agentIPv6DNSConfigCacheTable.setStatus('current') agentIPv6DNSConfigCacheEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 14, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentIPv6DNSConfigCacheIndex")) if mibBuilder.loadTexts: agentIPv6DNSConfigCacheEntry.setStatus('current') agentIPv6DNSConfigCacheIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 14, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentIPv6DNSConfigCacheIndex.setStatus('current') agentIPv6DNSConfigDomainName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 14, 1, 2), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentIPv6DNSConfigDomainName.setStatus('current') agentIPv6DNSConfigIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 14, 1, 3), Ipv6Address()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentIPv6DNSConfigIpAddress.setStatus('current') agentIPv6DNSConfigTTL = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 14, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentIPv6DNSConfigTTL.setStatus('current') agentIPv6DNSConfigFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 14, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentIPv6DNSConfigFlag.setStatus('current') agentDNSConfigHostTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 7), ) if mibBuilder.loadTexts: agentDNSConfigHostTable.setStatus('current') agentDNSConfigHostEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 7, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentDNSConfigHostIndex")) if mibBuilder.loadTexts: agentDNSConfigHostEntry.setStatus('current') agentDNSConfigHostIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 7, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDNSConfigHostIndex.setStatus('current') agentDNSConfigHostName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 7, 1, 2), DisplayString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentDNSConfigHostName.setStatus('current') agentDNSConfigHostIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 7, 1, 3), InetAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentDNSConfigHostIpAddress.setStatus('current') agentDNSConfigHostNameRemove = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 7, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDNSConfigHostNameRemove.setStatus('current') agentIPv6DNSConfigHostTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 15), ) if mibBuilder.loadTexts: agentIPv6DNSConfigHostTable.setStatus('current') agentDNSConfigSourceInterface = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 16), InterfaceIndexOrZero()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDNSConfigSourceInterface.setStatus('current') agentIPv6DNSConfigHostEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 15, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentIPv6DNSConfigHostIndex")) if mibBuilder.loadTexts: agentIPv6DNSConfigHostEntry.setStatus('current') agentIPv6DNSConfigHostIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 15, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentIPv6DNSConfigHostIndex.setStatus('obsolete') agentIPv6DNSConfigHostName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 15, 1, 2), DisplayString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentIPv6DNSConfigHostName.setStatus('obsolete') agentIPv6DNSConfigHostIpAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 15, 1, 3), Ipv6Address()).setMaxAccess("readcreate") if mibBuilder.loadTexts: agentIPv6DNSConfigHostIpAddress.setStatus('obsolete') agentIPv6DNSConfigHostNameRemove = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 15, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentIPv6DNSConfigHostNameRemove.setStatus('obsolete') agentDNSConfigClearDomainNameList = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDNSConfigClearDomainNameList.setStatus('current') agentDNSConfigClearCache = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDNSConfigClearCache.setStatus('current') agentDNSConfigClearHosts = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDNSConfigClearHosts.setStatus('current') agentDNSConfigClearDNS = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDNSConfigClearDNS.setStatus('current') agentDNSConfigClearDNSCounters = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 18, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("enable", 1), ("disable", 2))).clone('disable')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDNSConfigClearDNSCounters.setStatus('current') agentDhcpL2RelayConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 24)) agentDhcpL2RelayAdminMode = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 24, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDhcpL2RelayAdminMode.setStatus('current') agentDhcpL2RelayIfConfigTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 24, 2), ) if mibBuilder.loadTexts: agentDhcpL2RelayIfConfigTable.setStatus('current') agentDhcpL2RelayIfConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 24, 2, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: agentDhcpL2RelayIfConfigEntry.setStatus('current') agentDhcpL2RelayIfEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 24, 2, 1, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDhcpL2RelayIfEnable.setStatus('current') agentDhcpL2RelayIfTrustEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 24, 2, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDhcpL2RelayIfTrustEnable.setStatus('current') agentDhcpL2RelayVlanConfigTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 24, 3), ) if mibBuilder.loadTexts: agentDhcpL2RelayVlanConfigTable.setStatus('current') agentDhcpL2RelayVlanConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 24, 3, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentDhcpL2RelayVlanIndex")) if mibBuilder.loadTexts: agentDhcpL2RelayVlanConfigEntry.setStatus('current') agentDhcpL2RelayVlanIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 24, 3, 1, 1), VlanIndex()) if mibBuilder.loadTexts: agentDhcpL2RelayVlanIndex.setStatus('current') agentDhcpL2RelayVlanEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 24, 3, 1, 2), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDhcpL2RelayVlanEnable.setStatus('current') agentDhcpL2RelayCircuitIdVlanEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 24, 3, 1, 3), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDhcpL2RelayCircuitIdVlanEnable.setStatus('current') agentDhcpL2RelayRemoteIdVlanEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 24, 3, 1, 4), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 32))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDhcpL2RelayRemoteIdVlanEnable.setStatus('current') agentDhcpL2RelayStatsReset = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 24, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("none", 0), ("reset", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDhcpL2RelayStatsReset.setStatus('current') agentDhcpL2RelayStatsTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 24, 7), ) if mibBuilder.loadTexts: agentDhcpL2RelayStatsTable.setStatus('current') agentDhcpL2RelayStatsEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 24, 7, 1), ).setIndexNames((0, "IF-MIB", "ifIndex")) if mibBuilder.loadTexts: agentDhcpL2RelayStatsEntry.setStatus('current') agentDhcpL2RelayUntrustedSrvrMsgsWithOptn82 = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 24, 7, 1, 1), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDhcpL2RelayUntrustedSrvrMsgsWithOptn82.setStatus('current') agentDhcpL2RelayUntrustedClntMsgsWithOptn82 = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 24, 7, 1, 2), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDhcpL2RelayUntrustedClntMsgsWithOptn82.setStatus('current') agentDhcpL2RelayTrustedSrvrMsgsWithoutOptn82 = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 24, 7, 1, 3), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDhcpL2RelayTrustedSrvrMsgsWithoutOptn82.setStatus('current') agentDhcpL2RelayTrustedClntMsgsWithoutOptn82 = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 24, 7, 1, 4), Counter32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentDhcpL2RelayTrustedClntMsgsWithoutOptn82.setStatus('current') agentSwitchVoiceVLANGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 25)) agentSwitchVoiceVlanDeviceTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 25, 2), ) if mibBuilder.loadTexts: agentSwitchVoiceVlanDeviceTable.setStatus('current') agentSwitchVoiceVlanDeviceEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 25, 2, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentSwitchVoiceVlanInterfaceNum"), (0, "SWITCHING-MIB", "agentSwitchVoiceVlanDeviceMacAddress")) if mibBuilder.loadTexts: agentSwitchVoiceVlanDeviceEntry.setStatus('current') agentSwitchVoiceVlanInterfaceNum = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 25, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 65535))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchVoiceVlanInterfaceNum.setStatus('current') agentSwitchVoiceVlanDeviceMacAddress = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 25, 2, 1, 2), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchVoiceVlanDeviceMacAddress.setStatus('current') agentSwitchAddressConflictGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 26)) agentSwitchAddressConflictDetectionStatus = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 26, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("false", 0), ("true", 1)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchAddressConflictDetectionStatus.setStatus('current') agentSwitchAddressConflictDetectionStatusReset = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 26, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("none", 0), ("reset", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchAddressConflictDetectionStatusReset.setStatus('current') agentSwitchLastConflictingIPAddr = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 26, 3), IpAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchLastConflictingIPAddr.setStatus('current') agentSwitchLastConflictingMacAddr = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 26, 4), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchLastConflictingMacAddr.setStatus('current') agentSwitchLastConflictReportedTime = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 26, 5), TimeTicks()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSwitchLastConflictReportedTime.setStatus('current') agentSwitchConflictIPAddr = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 26, 6), IpAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: agentSwitchConflictIPAddr.setStatus('current') agentSwitchConflictMacAddr = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 26, 7), MacAddress()).setMaxAccess("accessiblefornotify") if mibBuilder.loadTexts: agentSwitchConflictMacAddr.setStatus('current') agentSwitchAddressConflictDetectionRun = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 26, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("none", 0), ("run", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSwitchAddressConflictDetectionRun.setStatus('current') switchingTraps = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50)) multipleUsersTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 1)) if mibBuilder.loadTexts: multipleUsersTrap.setStatus('current') broadcastStormStartTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 2)) if mibBuilder.loadTexts: broadcastStormStartTrap.setStatus('obsolete') broadcastStormEndTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 3)) if mibBuilder.loadTexts: broadcastStormEndTrap.setStatus('obsolete') linkFailureTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 4)) if mibBuilder.loadTexts: linkFailureTrap.setStatus('obsolete') vlanRequestFailureTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 5)).setObjects(("Q-BRIDGE-MIB", "dot1qVlanIndex")) if mibBuilder.loadTexts: vlanRequestFailureTrap.setStatus('obsolete') vlanDeleteLastTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 6)).setObjects(("Q-BRIDGE-MIB", "dot1qVlanIndex")) if mibBuilder.loadTexts: vlanDeleteLastTrap.setStatus('current') vlanDefaultCfgFailureTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 7)).setObjects(("Q-BRIDGE-MIB", "dot1qVlanIndex")) if mibBuilder.loadTexts: vlanDefaultCfgFailureTrap.setStatus('current') vlanRestoreFailureTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 8)).setObjects(("Q-BRIDGE-MIB", "dot1qVlanIndex")) if mibBuilder.loadTexts: vlanRestoreFailureTrap.setStatus('obsolete') fanFailureTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 9)) if mibBuilder.loadTexts: fanFailureTrap.setStatus('obsolete') stpInstanceNewRootTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 10)).setObjects(("SWITCHING-MIB", "agentStpMstId")) if mibBuilder.loadTexts: stpInstanceNewRootTrap.setStatus('current') stpInstanceTopologyChangeTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 11)).setObjects(("SWITCHING-MIB", "agentStpMstId")) if mibBuilder.loadTexts: stpInstanceTopologyChangeTrap.setStatus('current') powerSupplyStatusChangeTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 12)) if mibBuilder.loadTexts: powerSupplyStatusChangeTrap.setStatus('obsolete') failedUserLoginTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 13)) if mibBuilder.loadTexts: failedUserLoginTrap.setStatus('current') temperatureTooHighTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 14)) if mibBuilder.loadTexts: temperatureTooHighTrap.setStatus('current') stormControlDetectedTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 15)) if mibBuilder.loadTexts: stormControlDetectedTrap.setStatus('current') stormControlStopTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 16)) if mibBuilder.loadTexts: stormControlStopTrap.setStatus('current') userLockoutTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 17)) if mibBuilder.loadTexts: userLockoutTrap.setStatus('current') daiIntfErrorDisabledTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 18)).setObjects(("IF-MIB", "ifIndex")) if mibBuilder.loadTexts: daiIntfErrorDisabledTrap.setStatus('current') stpInstanceLoopInconsistentStartTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 19)).setObjects(("SWITCHING-MIB", "agentStpMstId"), ("IF-MIB", "ifIndex")) if mibBuilder.loadTexts: stpInstanceLoopInconsistentStartTrap.setStatus('current') stpInstanceLoopInconsistentEndTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 20)).setObjects(("SWITCHING-MIB", "agentStpMstId"), ("IF-MIB", "ifIndex")) if mibBuilder.loadTexts: stpInstanceLoopInconsistentEndTrap.setStatus('current') dhcpSnoopingIntfErrorDisabledTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 21)).setObjects(("IF-MIB", "ifIndex")) if mibBuilder.loadTexts: dhcpSnoopingIntfErrorDisabledTrap.setStatus('current') noStartupConfigTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 22)) if mibBuilder.loadTexts: noStartupConfigTrap.setStatus('current') agentSwitchIpAddressConflictTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 23)).setObjects(("SWITCHING-MIB", "agentSwitchConflictIPAddr"), ("SWITCHING-MIB", "agentSwitchConflictMacAddr")) if mibBuilder.loadTexts: agentSwitchIpAddressConflictTrap.setStatus('current') agentSwitchCpuRisingThresholdTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 24)).setObjects(("SWITCHING-MIB", "agentSwitchCpuProcessRisingThreshold"), ("SWITCHING-MIB", "agentSwitchCpuProcessName")) if mibBuilder.loadTexts: agentSwitchCpuRisingThresholdTrap.setStatus('current') agentSwitchCpuFallingThresholdTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 25)).setObjects(("SWITCHING-MIB", "agentSwitchCpuProcessFallingThreshold")) if mibBuilder.loadTexts: agentSwitchCpuFallingThresholdTrap.setStatus('current') agentSwitchCpuFreeMemBelowThresholdTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 26)).setObjects(("SWITCHING-MIB", "agentSwitchCpuProcessFreeMemoryThreshold")) if mibBuilder.loadTexts: agentSwitchCpuFreeMemBelowThresholdTrap.setStatus('current') agentSwitchCpuFreeMemAboveThresholdTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 27)).setObjects(("SWITCHING-MIB", "agentSwitchCpuProcessFreeMemoryThreshold")) if mibBuilder.loadTexts: agentSwitchCpuFreeMemAboveThresholdTrap.setStatus('current') configChangedTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 28)) if mibBuilder.loadTexts: configChangedTrap.setStatus('current') agentSwitchCpuMemInvalidTrap = NotificationType((1, 3, 6, 1, 4, 1, 7244, 2, 1, 50, 29)) if mibBuilder.loadTexts: agentSwitchCpuMemInvalidTrap.setStatus('current') agentSdmPreferConfigEntry = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 27)) agentSdmPreferCurrentTemplate = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 27, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("dualIPv4andIPv6", 1), ("ipv4RoutingDefault", 2), ("ipv4DataCenter", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentSdmPreferCurrentTemplate.setStatus('current') agentSdmPreferNextTemplate = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 27, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("default", 0), ("dualIPv4andIPv6", 1), ("ipv4RoutingDefault", 2), ("ipv4DataCenter", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentSdmPreferNextTemplate.setStatus('current') agentSdmTemplateSummaryTable = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 28)) agentSdmTemplateTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 28, 1), ) if mibBuilder.loadTexts: agentSdmTemplateTable.setStatus('current') agentSdmTemplateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 28, 1, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentSdmTemplateId")) if mibBuilder.loadTexts: agentSdmTemplateEntry.setStatus('current') agentSdmTemplateId = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 28, 1, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("dualIPv4andIPv6", 1), ("ipv4RoutingDefault", 2), ("ipv4DataCenter", 3)))) if mibBuilder.loadTexts: agentSdmTemplateId.setStatus('current') agentArpEntries = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 28, 1, 1, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentArpEntries.setStatus('current') agentIPv4UnicastRoutes = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 28, 1, 1, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentIPv4UnicastRoutes.setStatus('current') agentIPv6NdpEntries = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 28, 1, 1, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentIPv6NdpEntries.setStatus('current') agentIPv6UnicastRoutes = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 28, 1, 1, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentIPv6UnicastRoutes.setStatus('current') agentEcmpNextHops = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 28, 1, 1, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentEcmpNextHops.setStatus('current') agentIPv4MulticastRoutes = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 28, 1, 1, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentIPv4MulticastRoutes.setStatus('current') agentIPv6MulticastRoutes = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 8, 28, 1, 1, 8), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: agentIPv6MulticastRoutes.setStatus('current') agentDhcpClientOptionsConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 21)) agentVendorClassOptionConfigGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 21, 1)) agentDhcpClientVendorClassIdMode = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 21, 1, 1), TruthValue().clone('false')).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDhcpClientVendorClassIdMode.setStatus('current') agentDhcpClientVendorClassIdString = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 21, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 128))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentDhcpClientVendorClassIdString.setStatus('current') agentExecAccountingGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 29)) agentExecAccountingListCreate = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 29, 1), DisplayString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0, 0), ValueSizeConstraint(1, 15), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentExecAccountingListCreate.setStatus('current') agentExecAccountingListTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 29, 2), ) if mibBuilder.loadTexts: agentExecAccountingListTable.setStatus('current') agentExecAccountingListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 29, 2, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentExecAccountingListIndex")) if mibBuilder.loadTexts: agentExecAccountingListEntry.setStatus('current') agentExecAccountingListIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 29, 2, 1, 1), Unsigned32()) if mibBuilder.loadTexts: agentExecAccountingListIndex.setStatus('current') agentExecAccountingListName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 29, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 15))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentExecAccountingListName.setStatus('current') agentExecAccountingMethodType = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 29, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("undefined", 0), ("start-stop", 1), ("stop-only", 2), ("none", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentExecAccountingMethodType.setStatus('current') agentExecAccountingListMethod1 = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 29, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("undefined", 0), ("tacacs", 1), ("radius", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentExecAccountingListMethod1.setStatus('current') agentExecAccountingListMethod2 = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 29, 2, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("undefined", 0), ("tacacs", 1), ("radius", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentExecAccountingListMethod2.setStatus('current') agentExecAccountingListStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 29, 2, 1, 6), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentExecAccountingListStatus.setStatus('current') agentCmdsAccountingGroup = MibIdentifier((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 30)) agentCmdsAccountingListCreate = MibScalar((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 30, 1), DisplayString().subtype(subtypeSpec=ConstraintsUnion(ValueSizeConstraint(0, 0), ValueSizeConstraint(1, 15), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentCmdsAccountingListCreate.setStatus('current') agentCmdsAccountingListTable = MibTable((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 30, 2), ) if mibBuilder.loadTexts: agentCmdsAccountingListTable.setStatus('current') agentCmdsAccountingListEntry = MibTableRow((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 30, 2, 1), ).setIndexNames((0, "SWITCHING-MIB", "agentCmdsAccountingListIndex")) if mibBuilder.loadTexts: agentCmdsAccountingListEntry.setStatus('current') agentCmdsAccountingListIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 30, 2, 1, 1), Unsigned32()) if mibBuilder.loadTexts: agentCmdsAccountingListIndex.setStatus('current') agentCmdsAccountingListName = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 30, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(1, 15))).setMaxAccess("readonly") if mibBuilder.loadTexts: agentCmdsAccountingListName.setStatus('current') agentCmdsAccountingMethodType = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 30, 2, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3))).clone(namedValues=NamedValues(("undefined", 0), ("start-stop", 1), ("stop-only", 2), ("none", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentCmdsAccountingMethodType.setStatus('current') agentCmdsAccountingListMethod1 = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 30, 2, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1))).clone(namedValues=NamedValues(("undefined", 0), ("tacacs", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentCmdsAccountingListMethod1.setStatus('current') agentCmdsAccountingListStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 7244, 2, 1, 2, 30, 2, 1, 5), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: agentCmdsAccountingListStatus.setStatus('current') mibBuilder.exportSymbols("SWITCHING-MIB", agentDNSConfigClearDNS=agentDNSConfigClearDNS, agentPasswordManagementStrengthMaxConsecutiveCharacters=agentPasswordManagementStrengthMaxConsecutiveCharacters, agentSwitchVlanMacAssociationVlanId=agentSwitchVlanMacAssociationVlanId, agentTransferUploadPassword=agentTransferUploadPassword, stormControlDetectedTrap=stormControlDetectedTrap, agentSerialHWFlowControlMode=agentSerialHWFlowControlMode, agentNetworkBurnedInMacAddress=agentNetworkBurnedInMacAddress, agentDaiStatsReset=agentDaiStatsReset, agentDaiVlanConfigEntry=agentDaiVlanConfigEntry, agentArpAclTable=agentArpAclTable, agentUserIndex=agentUserIndex, agentStpCstPortTable=agentStpCstPortTable, agentDynamicIpsgBindingTable=agentDynamicIpsgBindingTable, agentStaticDsBindingMacAddr=agentStaticDsBindingMacAddr, agentSwitchVoiceVlanDeviceMacAddress=agentSwitchVoiceVlanDeviceMacAddress, agentPortAutoNegAdminStatus=agentPortAutoNegAdminStatus, agentSwitchCpuProcessTotalUtilization=agentSwitchCpuProcessTotalUtilization, agentIpsgIfVerifySource=agentIpsgIfVerifySource, agentNextActiveImage=agentNextActiveImage, agentNetworkDhcp6RELEASEMessagesSent=agentNetworkDhcp6RELEASEMessagesSent, agentAuthenticationListAccessType=agentAuthenticationListAccessType, agentDhcpL2RelayIfConfigEntry=agentDhcpL2RelayIfConfigEntry, agentDaiVlanPktsDropped=agentDaiVlanPktsDropped, agentStaticIpsgBinding=agentStaticIpsgBinding, agentSnmpACLTrapFlag=agentSnmpACLTrapFlag, agentSwitchVoiceVLANGroup=agentSwitchVoiceVLANGroup, agentSwitchSnoopingIntfAdminMode=agentSwitchSnoopingIntfAdminMode, agentSnmpUserUsername=agentSnmpUserUsername, agentProtocolGroupPortIfIndex=agentProtocolGroupPortIfIndex, agentDNSConfigDomainNameListTable=agentDNSConfigDomainNameListTable, agentServicePortSubnetMask=agentServicePortSubnetMask, agentSwitchSnoopingVlanGroupMembershipInterval=agentSwitchSnoopingVlanGroupMembershipInterval, agentPortStatsRateHCBitsPerSecondRx=agentPortStatsRateHCBitsPerSecondRx, agentStpPortHelloTime=agentStpPortHelloTime, agentPortBroadcastControlThresholdUnit=agentPortBroadcastControlThresholdUnit, agentDaiConfigGroup=agentDaiConfigGroup, agentSwitchCpuFallingThresholdTrap=agentSwitchCpuFallingThresholdTrap, agentCmdsAccountingMethodType=agentCmdsAccountingMethodType, agentStpMstPortForwardingState=agentStpMstPortForwardingState, agentSwitchSnoopingQuerierVlanAdminMode=agentSwitchSnoopingQuerierVlanAdminMode, agentStpPortStatsStpBpduRx=agentStpPortStatsStpBpduRx, agentLagSummaryDeletePort=agentLagSummaryDeletePort, agentUdldIntfAggressiveMode=agentUdldIntfAggressiveMode, agentIPv4UnicastRoutes=agentIPv4UnicastRoutes, agentPasswordManagementAging=agentPasswordManagementAging, agentPortStatsRateHCPacketsPerSecondTx=agentPortStatsRateHCPacketsPerSecondTx, agentLoginSessionUserName=agentLoginSessionUserName, agentStpConfigDigestKey=agentStpConfigDigestKey, agentTransferUploadDataType=agentTransferUploadDataType, agentStpCstMaxAge=agentStpCstMaxAge, agentStpCstPortId=agentStpCstPortId, agentSnmpCommunityConfigEntry=agentSnmpCommunityConfigEntry, agentSnmpInformAdminMode=agentSnmpInformAdminMode, agentPasswordMgmtStrengthExcludeKeyword=agentPasswordMgmtStrengthExcludeKeyword, agentNetworkConfigIpDhcpRenew=agentNetworkConfigIpDhcpRenew, agentUserConfigCreate=agentUserConfigCreate, agentStpMstPortTransitionsIntoLoopInconsistentState=agentStpMstPortTransitionsIntoLoopInconsistentState, agentServicePortProtocolDhcpRenew=agentServicePortProtocolDhcpRenew, agentProtocolConfigGroup=agentProtocolConfigGroup, agentSwitchSnoopingPortMask=agentSwitchSnoopingPortMask, agentDaiVlanDhcpPermits=agentDaiVlanDhcpPermits, agentSnmpInformTimeout=agentSnmpInformTimeout, agentDaiVlanAclDrops=agentDaiVlanAclDrops, agentAutoinstallUnicastRetryCount=agentAutoinstallUnicastRetryCount, agentUserAuthenticationDot1xList=agentUserAuthenticationDot1xList, agentDhcpSnoopingIfTrustEnable=agentDhcpSnoopingIfTrustEnable, agentSwitchVlanSubnetAssociationIPAddress=agentSwitchVlanSubnetAssociationIPAddress, agentStpCstExtPortPathCost=agentStpCstExtPortPathCost, agentUserPassword=agentUserPassword, agentNetworkDhcp6StatsReset=agentNetworkDhcp6StatsReset, agentDNSConfigResponse=agentDNSConfigResponse, agentDNSConfigDefaultDomainNameRemove=agentDNSConfigDefaultDomainNameRemove, agentSwitchStaticMacFilteringVlanId=agentSwitchStaticMacFilteringVlanId, agentTransferUploadStatus=agentTransferUploadStatus, agentSwitchSnoopingQuerierCfgEntry=agentSwitchSnoopingQuerierCfgEntry, agentPortMirrorDestinationPort=agentPortMirrorDestinationPort, agentInventorySysDescription=agentInventorySysDescription, agentPortMirrorTypeType=agentPortMirrorTypeType, agentServicePortDefaultGateway=agentServicePortDefaultGateway, agentNetworkJavaMode=agentNetworkJavaMode, agentStpPortTable=agentStpPortTable, agentDNSConfigHostEntry=agentDNSConfigHostEntry, agentSwitchCpuMemInvalidTrap=agentSwitchCpuMemInvalidTrap, agentPasswordMgmtLastPasswordSetResult=agentPasswordMgmtLastPasswordSetResult, agentSwitchPortDVlanTagTable=agentSwitchPortDVlanTagTable, agentPortMaxFrameSizeLimit=agentPortMaxFrameSizeLimit, agentDDnsPassword=agentDDnsPassword, agentProtocolGroupProtocolARP=agentProtocolGroupProtocolARP, agentSwitchSnoopingProtocol=agentSwitchSnoopingProtocol, agentCpuLoadFiveMin=agentCpuLoadFiveMin, agentStpCstBridgeHoldTime=agentStpCstBridgeHoldTime, agentTransferDownloadPassword=agentTransferDownloadPassword, agentDhcpClientOptionsConfigGroup=agentDhcpClientOptionsConfigGroup, agentUserLockoutStatus=agentUserLockoutStatus, agentPortMaxFrameSize=agentPortMaxFrameSize, agentNetworkDhcp6REBINDMessagesSent=agentNetworkDhcp6REBINDMessagesSent, agentArpAclRowStatus=agentArpAclRowStatus, agentServicePortIpv6AddrStatus=agentServicePortIpv6AddrStatus, agentInventorySerialNumber=agentInventorySerialNumber, agentStpPortMigrationCheck=agentStpPortMigrationCheck, agentInventoryBurnedInMacAddress=agentInventoryBurnedInMacAddress, agentLoginSessionConnectionType=agentLoginSessionConnectionType, agentNetworkDhcp6REQUESTMessagesSent=agentNetworkDhcp6REQUESTMessagesSent, agentDot3adAggPortTable=agentDot3adAggPortTable, agentClearVlan=agentClearVlan, agentSwitchCpuProcessRisingThresholdInterval=agentSwitchCpuProcessRisingThresholdInterval, agentInventoryNetworkProcessingDevice=agentInventoryNetworkProcessingDevice, agentIPv6DNSConfigHostTable=agentIPv6DNSConfigHostTable, agentSnmpTrapReceiverSecurityLevel=agentSnmpTrapReceiverSecurityLevel, agentTransferDownloadUsername=agentTransferDownloadUsername, agentIASUserConfigTable=agentIASUserConfigTable, agentDNSConfigHostTable=agentDNSConfigHostTable, agentDhcpL2RelayCircuitIdVlanEnable=agentDhcpL2RelayCircuitIdVlanEnable, agentDaiIPValidate=agentDaiIPValidate, agentAuthenticationListTable=agentAuthenticationListTable, agentSwitchSnoopingQuerierVlanTable=agentSwitchSnoopingQuerierVlanTable, agentPasswordManagementStrengthExcludeKeywordTable=agentPasswordManagementStrengthExcludeKeywordTable, agentProtocolGroupProtocolID=agentProtocolGroupProtocolID, agentSnmpCommunityIPAddress=agentSnmpCommunityIPAddress, agentSwitchSnoopingQuerierAdminMode=agentSwitchSnoopingQuerierAdminMode, agentServicePortDhcp6ClientDuid=agentServicePortDhcp6ClientDuid, agentIpsgIfConfigEntry=agentIpsgIfConfigEntry, agentDNSConfigClearDomainNameList=agentDNSConfigClearDomainNameList, agentSwitchVlanSubnetAssociationEntry=agentSwitchVlanSubnetAssociationEntry, agentDaiVlanStatsTable=agentDaiVlanStatsTable, agentLagSummaryAddPort=agentLagSummaryAddPort, agentUserName=agentUserName, agentPortMirrorTypeSourcePort=agentPortMirrorTypeSourcePort, agentSwitchAddressConflictDetectionRun=agentSwitchAddressConflictDetectionRun, agentSnmpTrapReceiverVersion=agentSnmpTrapReceiverVersion, agentSwitchCpuProcessIndex=agentSwitchCpuProcessIndex, agentExecAccountingListMethod1=agentExecAccountingListMethod1, agentSdmPreferCurrentTemplate=agentSdmPreferCurrentTemplate, agentExecAccountingListTable=agentExecAccountingListTable, agentDhcpSnoopingIfRateLimit=agentDhcpSnoopingIfRateLimit, agentStpCstRegionalRootId=agentStpCstRegionalRootId, agentUserPortConfigTable=agentUserPortConfigTable, agentLoginSessionInetAddressType=agentLoginSessionInetAddressType, agentSnmpInformIpAddress=agentSnmpInformIpAddress, agentDNSConfigFlag=agentDNSConfigFlag, agentNetworkConfigProtocol=agentNetworkConfigProtocol, agentSwitchIfDVlanTagMode=agentSwitchIfDVlanTagMode, agentInfoGroup=agentInfoGroup, agentPortDefaultType=agentPortDefaultType, agentStpSwitchConfigGroup=agentStpSwitchConfigGroup, agentSupportedMibIndex=agentSupportedMibIndex, agentStpBpduGuardMode=agentStpBpduGuardMode, agentDDnsServName=agentDDnsServName, agentPortUnicastControlThresholdUnit=agentPortUnicastControlThresholdUnit, agentAutoinstallStatus=agentAutoinstallStatus, agentProtocolGroupCreate=agentProtocolGroupCreate, agentActiveImage=agentActiveImage, agentSwitchSnoopingAdminMode=agentSwitchSnoopingAdminMode, agentUdldMessageTime=agentUdldMessageTime, agentNetworkIpv6AddrEntry=agentNetworkIpv6AddrEntry, agentPortMulticastControlThresholdUnit=agentPortMulticastControlThresholdUnit, agentClearLoginSessions=agentClearLoginSessions, agentPortMirrorTypeEntry=agentPortMirrorTypeEntry, agentSwitchSnoopingQuerierAddress=agentSwitchSnoopingQuerierAddress, agentConfigCurrentSystemTime=agentConfigCurrentSystemTime, agentSwitchIfDVlanTagIfIndex=agentSwitchIfDVlanTagIfIndex, agentClearConfig=agentClearConfig, agentTransferConfigGroup=agentTransferConfigGroup, agentTransferUploadMode=agentTransferUploadMode, agentStaticDsBindingTable=agentStaticDsBindingTable, agentIASUserName=agentIASUserName, agentDhcpL2RelayVlanEnable=agentDhcpL2RelayVlanEnable, linkFailureTrap=linkFailureTrap, agentDhcpL2RelayIfConfigTable=agentDhcpL2RelayIfConfigTable, agentSwitchLastConflictingMacAddr=agentSwitchLastConflictingMacAddr, agentLagSummaryType=agentLagSummaryType, agentSwitchCpuRisingThresholdTrap=agentSwitchCpuRisingThresholdTrap, agentDNSConfigClearHosts=agentDNSConfigClearHosts, agentSwitchAddressConflictGroup=agentSwitchAddressConflictGroup, agentSwitchSnoopingVlanAdminMode=agentSwitchSnoopingVlanAdminMode, agentPortVoiceVlanOperationalStatus=agentPortVoiceVlanOperationalStatus, agentNetworkIpv6Gateway=agentNetworkIpv6Gateway, agentSwitchSnoopingQuerierCfgTable=agentSwitchSnoopingQuerierCfgTable, agentStpCstDesignatedBridgeId=agentStpCstDesignatedBridgeId, agentSwitchConflictIPAddr=agentSwitchConflictIPAddr, agentServicePortDhcp6REQUESTMessagesSent=agentServicePortDhcp6REQUESTMessagesSent, agentTelnetLoginTimeout=agentTelnetLoginTimeout, agentStpMstBridgePriority=agentStpMstBridgePriority, agentAuthenticationListMethod5=agentAuthenticationListMethod5, agentSnmpInformConfigEntry=agentSnmpInformConfigEntry, agentIPv6DNSConfigCacheEntry=agentIPv6DNSConfigCacheEntry, agentStpCstBridgeHoldCount=agentStpCstBridgeHoldCount, agentStpMstTable=agentStpMstTable, agentAuthenticationListMethod2=agentAuthenticationListMethod2, agentStpPortStatsStpBpduTx=agentStpPortStatsStpBpduTx, agentSwitchVoiceVlanDeviceTable=agentSwitchVoiceVlanDeviceTable, agentStpCstPortBpduFlood=agentStpCstPortBpduFlood, agentSwitchPortDVlanTagCustomerId=agentSwitchPortDVlanTagCustomerId, agentStpCstRegionalRootPathCost=agentStpCstRegionalRootPathCost, agentNetworkIpv6AddrEuiFlag=agentNetworkIpv6AddrEuiFlag, agentSnmpLinkUpDownTrapFlag=agentSnmpLinkUpDownTrapFlag, agentDDnsConfigTable=agentDDnsConfigTable, userLockoutTrap=userLockoutTrap, multipleUsersTrap=multipleUsersTrap, agentStaticDsBinding=agentStaticDsBinding, agentCmdsAccountingListTable=agentCmdsAccountingListTable, agentDNSConfigNameServerListTable=agentDNSConfigNameServerListTable, agentLagDetailedPortSpeed=agentLagDetailedPortSpeed, agentTrapLogTrap=agentTrapLogTrap, agentPortMirrorSourcePortMask=agentPortMirrorSourcePortMask, agentUserAccessMode=agentUserAccessMode, agentDNSConfigClearCache=agentDNSConfigClearCache, agentUserConfigDefaultAuthenticationDot1xList=agentUserConfigDefaultAuthenticationDot1xList, agentCpuLoad=agentCpuLoad, agentSwitchMFDBSummaryTable=agentSwitchMFDBSummaryTable, agentStpCstPortTCNGuard=agentStpCstPortTCNGuard, agentStaticIpsgBindingRowStatus=agentStaticIpsgBindingRowStatus, agentDhcpL2RelayStatsEntry=agentDhcpL2RelayStatsEntry, agentNetworkDefaultGateway=agentNetworkDefaultGateway, agentLoginSessionEntry=agentLoginSessionEntry, agentServicePortDhcp6REPLYMessagesDiscarded=agentServicePortDhcp6REPLYMessagesDiscarded, agentStpMstDesignatedPortId=agentStpMstDesignatedPortId, agentSwitchPortDVlanTagTPid=agentSwitchPortDVlanTagTPid, vlanRestoreFailureTrap=vlanRestoreFailureTrap, agentSnmpUserIndex=agentSnmpUserIndex, agentPortDot1dBasePort=agentPortDot1dBasePort, agentLagSummaryAdminMode=agentLagSummaryAdminMode, agentDhcpSnoopingVlanIndex=agentDhcpSnoopingVlanIndex, agentAutoInstallConfigGroup=agentAutoInstallConfigGroup, agentSwitchVlanSubnetAssociationSubnetMask=agentSwitchVlanSubnetAssociationSubnetMask, agentStpCstBridgeMaxAge=agentStpCstBridgeMaxAge, agentTransferDownloadStatus=agentTransferDownloadStatus, agentStpCstBridgePriority=agentStpCstBridgePriority, agentResetSystem=agentResetSystem, agentSnmpInformSecurityLevel=agentSnmpInformSecurityLevel, agentDaiIfTrustEnable=agentDaiIfTrustEnable, agentExecAccountingListMethod2=agentExecAccountingListMethod2, agentTransferUploadStart=agentTransferUploadStart, agentIPv6DNSConfigNameServer=agentIPv6DNSConfigNameServer, agentPortType=agentPortType, agentServicePortBurnedInMacAddress=agentServicePortBurnedInMacAddress, agentSwitchPortDVlanTagMode=agentSwitchPortDVlanTagMode, agentDNSConfigDefaultDomainName=agentDNSConfigDefaultDomainName, agentDynamicDsBindingTable=agentDynamicDsBindingTable, agentSwitchCpuProcessMemFree=agentSwitchCpuProcessMemFree, agentInventoryPartNumber=agentInventoryPartNumber, agentDNSConfigSourceInterface=agentDNSConfigSourceInterface, agentArpAclRuleTable=agentArpAclRuleTable, agentTransferUploadUsername=agentTransferUploadUsername, agentDNSConfigCacheTable=agentDNSConfigCacheTable, agentSwitchPortDVlanTagEntry=agentSwitchPortDVlanTagEntry, agentLagSummaryLinkTrap=agentLagSummaryLinkTrap, agentPasswordManagementStrengthMinUpperCase=agentPasswordManagementStrengthMinUpperCase, VlanList=VlanList, agentSnmpCommunityIPMask=agentSnmpCommunityIPMask, agentNetworkMgmtVlan=agentNetworkMgmtVlan, agentSdmPreferConfigEntry=agentSdmPreferConfigEntry, agentDNSConfigTTL=agentDNSConfigTTL, agentDaiIfRateLimit=agentDaiIfRateLimit) mibBuilder.exportSymbols("SWITCHING-MIB", agentSnmpTrapReceiverStatus=agentSnmpTrapReceiverStatus, agentSwitchMFDBType=agentSwitchMFDBType, agentSwitchDVlanTagEntry=agentSwitchDVlanTagEntry, agentUdldIntfAdminMode=agentUdldIntfAdminMode, agentExecAccountingListCreate=agentExecAccountingListCreate, agentClearSwitchStats=agentClearSwitchStats, agentIASUserConfigGroup=agentIASUserConfigGroup, agentStpCstPortPriority=agentStpCstPortPriority, agentIPv6DNSConfigDomainName=agentIPv6DNSConfigDomainName, agentAuthenticationListAccessLevel=agentAuthenticationListAccessLevel, agentCLIConfigGroup=agentCLIConfigGroup, agentDNSConfigDomainName=agentDNSConfigDomainName, stpInstanceLoopInconsistentEndTrap=stpInstanceLoopInconsistentEndTrap, agentSupportedMibName=agentSupportedMibName, agentSwitchVlanStaticMrouterTable=agentSwitchVlanStaticMrouterTable, agentDynamicDsBindingMacAddr=agentDynamicDsBindingMacAddr, agentPasswordManagementStrengthMinSpecialCharacters=agentPasswordManagementStrengthMinSpecialCharacters, agentSwitchDVlanTagPrimaryTPid=agentSwitchDVlanTagPrimaryTPid, agentInventoryMaintenanceLevel=agentInventoryMaintenanceLevel, agentDynamicIpsgBindingIfIndex=agentDynamicIpsgBindingIfIndex, agentDhcpSnoopingIfLogEnable=agentDhcpSnoopingIfLogEnable, agentUserConfigEntry=agentUserConfigEntry, agentStpMstTopologyChangeCount=agentStpMstTopologyChangeCount, agentSwitchLastConflictingIPAddr=agentSwitchLastConflictingIPAddr, agentSdmTemplateTable=agentSdmTemplateTable, agentStpMstDesignatedRootId=agentStpMstDesignatedRootId, agentServicePortIpv6AdminMode=agentServicePortIpv6AdminMode, agentSwitchProtectedPortEntry=agentSwitchProtectedPortEntry, agentSwitchMFDBGroup=agentSwitchMFDBGroup, agentDynamicIpsgBinding=agentDynamicIpsgBinding, agentSwitchSnoopingQuerierOperVersion=agentSwitchSnoopingQuerierOperVersion, agentDNSConfigNameServerListIndex=agentDNSConfigNameServerListIndex, agentPasswordManagementStrengthMinCharacterClasses=agentPasswordManagementStrengthMinCharacterClasses, agentDhcpSnoopingAdminMode=agentDhcpSnoopingAdminMode, agentStaticIpsgBindingIfIndex=agentStaticIpsgBindingIfIndex, agentNetworkIpv6AdminMode=agentNetworkIpv6AdminMode, agentSnmpUserAuthentication=agentSnmpUserAuthentication, agentAuthenticationListMethod4=agentAuthenticationListMethod4, agentDNSConfigDomainNameListEntry=agentDNSConfigDomainNameListEntry, agentDhcpL2RelayVlanIndex=agentDhcpL2RelayVlanIndex, agentSwitchSnoopingQuerierLastQuerierAddress=agentSwitchSnoopingQuerierLastQuerierAddress, agentPasswordManagementStrengthExcludeKeywordEntry=agentPasswordManagementStrengthExcludeKeywordEntry, agentDhcpL2RelayTrustedClntMsgsWithoutOptn82=agentDhcpL2RelayTrustedClntMsgsWithoutOptn82, agentSnmpInformConfigGroup=agentSnmpInformConfigGroup, agentDaiSrcMacValidate=agentDaiSrcMacValidate, agentLagSummaryFlushTimer=agentLagSummaryFlushTimer, agentLagConfigGroup=agentLagConfigGroup, agentImage1=agentImage1, agentSwitchSnoopingQuerierExpiryInterval=agentSwitchSnoopingQuerierExpiryInterval, agentStpCstPortBpduFilter=agentStpCstPortBpduFilter, agentDaiIfBurstInterval=agentDaiIfBurstInterval, agentNetworkWebMode=agentNetworkWebMode, agentDaiVlanStatsEntry=agentDaiVlanStatsEntry, agentUserAuthenticationType=agentUserAuthenticationType, agentIPv6DNSConfigResponse=agentIPv6DNSConfigResponse, agentLoginSessionStatus=agentLoginSessionStatus, agentPasswordManagementMinLength=agentPasswordManagementMinLength, agentSwitchSnoopingVlanEntry=agentSwitchSnoopingVlanEntry, agentSwitchVlanMacAssociationPriority=agentSwitchVlanMacAssociationPriority, agentArpAclName=agentArpAclName, agentNetworkDhcp6SOLICITMessagesSent=agentNetworkDhcp6SOLICITMessagesSent, agentTelnetAllowNewMode=agentTelnetAllowNewMode, agentProtocolGroupEntry=agentProtocolGroupEntry, agentDhcpL2RelayStatsTable=agentDhcpL2RelayStatsTable, agentSwitchSnoopingQuerierGroup=agentSwitchSnoopingQuerierGroup, agentStpCstRootFwdDelay=agentStpCstRootFwdDelay, agentStpPortEntry=agentStpPortEntry, agentSnmpMultipleUsersTrapFlag=agentSnmpMultipleUsersTrapFlag, agentProtocolGroupId=agentProtocolGroupId, agentClassOfServicePortTable=agentClassOfServicePortTable, agentTransferUploadStartupConfigFromSwitchSrcFilename=agentTransferUploadStartupConfigFromSwitchSrcFilename, broadcastStormEndTrap=broadcastStormEndTrap, agentSwitchMFDBSummaryVlanId=agentSwitchMFDBSummaryVlanId, agentNetworkLocalAdminMacAddress=agentNetworkLocalAdminMacAddress, agentPortLoadStatsInterval=agentPortLoadStatsInterval, agentDaiVlanAclPermits=agentDaiVlanAclPermits, agentCmdsAccountingListStatus=agentCmdsAccountingListStatus, agentAutoinstallPersistentMode=agentAutoinstallPersistentMode, agentDhcpSnoopingVlanEnable=agentDhcpSnoopingVlanEnable, agentLDAPConfigGroup=agentLDAPConfigGroup, agentDhcpClientVendorClassIdMode=agentDhcpClientVendorClassIdMode, agentLoginSessionIndex=agentLoginSessionIndex, agentLagSummaryLagIndex=agentLagSummaryLagIndex, agentUserEncryptionType=agentUserEncryptionType, agentPortSTPState=agentPortSTPState, agentIPv6DNSConfigCacheTable=agentIPv6DNSConfigCacheTable, agentPortVoiceVlanID=agentPortVoiceVlanID, agentTrapLogEntry=agentTrapLogEntry, agentSwitchIfDVlanTagEntry=agentSwitchIfDVlanTagEntry, agentServicePortIpv6AddrEuiFlag=agentServicePortIpv6AddrEuiFlag, agentDot3adAggPort=agentDot3adAggPort, agentSwitchConfigGroup=agentSwitchConfigGroup, agentLagDetailedIfIndex=agentLagDetailedIfIndex, agentNetworkDhcp6RENEWMessagesSent=agentNetworkDhcp6RENEWMessagesSent, agentUserPortSecurity=agentUserPortSecurity, agentIPv6DNSConfigNameServerListEntry=agentIPv6DNSConfigNameServerListEntry, agentDaiVlanConfigTable=agentDaiVlanConfigTable, agentDhcpSnoopingIfConfigEntry=agentDhcpSnoopingIfConfigEntry, agentDhcpSnoopingMacVerifyFailures=agentDhcpSnoopingMacVerifyFailures, agentStaticDsBindingIpAddr=agentStaticDsBindingIpAddr, agentTransferUploadGroup=agentTransferUploadGroup, agentSwitchCpuProcessFallingThresholdInterval=agentSwitchCpuProcessFallingThresholdInterval, agentSwitchDVlanTagTable=agentSwitchDVlanTagTable, agentStpCstBridgeMaxHops=agentStpCstBridgeMaxHops, agentInventoryHardwareVersion=agentInventoryHardwareVersion, agentExecAccountingListStatus=agentExecAccountingListStatus, agentTrapLogTotal=agentTrapLogTotal, agentHTTPConfigGroup=agentHTTPConfigGroup, agentSwitchMFDBDescription=agentSwitchMFDBDescription, switchingTraps=switchingTraps, agentSwitchAddressConflictDetectionStatus=agentSwitchAddressConflictDetectionStatus, agentLagSummaryHash=agentLagSummaryHash, agentTransferDownloadMode=agentTransferDownloadMode, agentSwitchMFDBFilteringPortMask=agentSwitchMFDBFilteringPortMask, agentSerialGroup=agentSerialGroup, agentServicePortDhcp6REBINDMessagesSent=agentServicePortDhcp6REBINDMessagesSent, agentLagSummaryName=agentLagSummaryName, agentUserConfigDefaultAuthenticationList=agentUserConfigDefaultAuthenticationList, agentUserAuthenticationList=agentUserAuthenticationList, agentAutoinstallAutoRebootMode=agentAutoinstallAutoRebootMode, agentPortConfigEntry=agentPortConfigEntry, agentPortStatsRateGroup=agentPortStatsRateGroup, agentNetworkDhcp6ClientDuid=agentNetworkDhcp6ClientDuid, agentPortMirrorSessionNum=agentPortMirrorSessionNum, agentIASUserIndex=agentIASUserIndex, agentProtocolGroupPortStatus=agentProtocolGroupPortStatus, agentSwitchSnoopingIntfGroupMembershipInterval=agentSwitchSnoopingIntfGroupMembershipInterval, agentSwitchCpuProcessFallingThreshold=agentSwitchCpuProcessFallingThreshold, agentSnmpInformVersion=agentSnmpInformVersion, agentAuthenticationListCreate=agentAuthenticationListCreate, agentDot3adAggPortEntry=agentDot3adAggPortEntry, agentAuthenticationEnableListCreate=agentAuthenticationEnableListCreate, agentPortMirrorEntry=agentPortMirrorEntry, agentPortAdminMode=agentPortAdminMode, agentSwitchProtectedPortTable=agentSwitchProtectedPortTable, agentStpMstEntry=agentStpMstEntry, agentStpConfigFormatSelector=agentStpConfigFormatSelector, agentUserPrivilegeLevel=agentUserPrivilegeLevel, agentSnmpTrapReceiverCommunityName=agentSnmpTrapReceiverCommunityName, agentTrapLogIndex=agentTrapLogIndex, agentStpPortBPDUGuard=agentStpPortBPDUGuard, agentSwitchVlanSubnetAssociationRowStatus=agentSwitchVlanSubnetAssociationRowStatus, agentDNSConfigDomainNameListIndex=agentDNSConfigDomainNameListIndex, agentDhcpL2RelayVlanConfigEntry=agentDhcpL2RelayVlanConfigEntry, agentTrapLogSystemTime=agentTrapLogSystemTime, agentTransferDownloadOPCodeToSwitchDestFilename=agentTransferDownloadOPCodeToSwitchDestFilename, agentIPv6DNSConfigHostNameRemove=agentIPv6DNSConfigHostNameRemove, agentStaticDsBindingVlanId=agentStaticDsBindingVlanId, agentCmdsAccountingListEntry=agentCmdsAccountingListEntry, agentStpPortUpTime=agentStpPortUpTime, agentInventoryFRUNumber=agentInventoryFRUNumber, agentDNSDomainNameRemove=agentDNSDomainNameRemove, agentAutoinstallAutosaveMode=agentAutoinstallAutosaveMode, agentSnmpInformStatus=agentSnmpInformStatus, agentLDAPServerIP=agentLDAPServerIP, agentIPv4MulticastRoutes=agentIPv4MulticastRoutes, agentSnmpTrapReceiverPort=agentSnmpTrapReceiverPort, agentStpMstDesignatedBridgeId=agentStpMstDesignatedBridgeId, agentDNSConfigDomainLookupStatus=agentDNSConfigDomainLookupStatus, agentDNSConfigCacheEntry=agentDNSConfigCacheEntry, agentSwitchCpuProcessRisingThreshold=agentSwitchCpuProcessRisingThreshold, agentStpCstBridgeHelloTime=agentStpCstBridgeHelloTime, agentArpAclRuleRowStatus=agentArpAclRuleRowStatus, agentServicePortDhcp6ADVERTISEMessagesDiscarded=agentServicePortDhcp6ADVERTISEMessagesDiscarded, agentNetworkStatsGroup=agentNetworkStatsGroup, agentLagDetailedConfigTable=agentLagDetailedConfigTable, agentIPv6DNSConfigNameServerListTable=agentIPv6DNSConfigNameServerListTable, agentStpCstPortAutoEdge=agentStpCstPortAutoEdge, agentSpanningTreeMode=agentSpanningTreeMode, agentDaiDstMacValidate=agentDaiDstMacValidate, agentSwitchLastConflictReportedTime=agentSwitchLastConflictReportedTime, agentAuthenticationListEntry=agentAuthenticationListEntry, agentDNSConfigHostIndex=agentDNSConfigHostIndex, agentSnmpEngineIdString=agentSnmpEngineIdString, agentLagSummaryConfigEntry=agentLagSummaryConfigEntry, agentDhcpL2RelayAdminMode=agentDhcpL2RelayAdminMode, agentDynamicIpsgBindingVlanId=agentDynamicIpsgBindingVlanId, agentAuthenticationListMethod3=agentAuthenticationListMethod3, agentPasswordManagementLockAttempts=agentPasswordManagementLockAttempts, agentSnmpInformName=agentSnmpInformName, agentSwitchVlanMacAssociationRowStatus=agentSwitchVlanMacAssociationRowStatus, agentIASUserPassword=agentIASUserPassword, agentExecAccountingListEntry=agentExecAccountingListEntry, agentSwitchSnoopingCfgTable=agentSwitchSnoopingCfgTable, agentDhcpSnoopingRemoteFileName=agentDhcpSnoopingRemoteFileName, agentDaiVlanArpAclName=agentDaiVlanArpAclName, agentPortSTPMode=agentPortSTPMode, agentIPv6DNSConfigCacheIndex=agentIPv6DNSConfigCacheIndex, agentSwitchCpuProcessMemAvailable=agentSwitchCpuProcessMemAvailable, agentStaticDsBindingIfIndex=agentStaticDsBindingIfIndex, agentClearTrapLog=agentClearTrapLog, agentProtocolGroupStatus=agentProtocolGroupStatus, agentSwitchDVlanTagGroup=agentSwitchDVlanTagGroup, agentDaiVlanPktsForwarded=agentDaiVlanPktsForwarded, agentLagConfigGroupHashOption=agentLagConfigGroupHashOption, agentCmdsAccountingGroup=agentCmdsAccountingGroup, agentPortStatsRateHCBitsPerSecondTx=agentPortStatsRateHCBitsPerSecondTx, agentClassOfServiceGroup=agentClassOfServiceGroup, agentDhcpSnoopingInvalidServerMessages=agentDhcpSnoopingInvalidServerMessages, agentDaiIfConfigEntry=agentDaiIfConfigEntry, agentStpMstRowStatus=agentStpMstRowStatus, agentPortIanaType=agentPortIanaType, agentDynamicDsBindingIfIndex=agentDynamicDsBindingIfIndex, agentPortDot3FlowControlOperStatus=agentPortDot3FlowControlOperStatus, agentStaticIpsgBindingTable=agentStaticIpsgBindingTable, agentDNSDomainName=agentDNSDomainName, agentSwitchSnoopingQuerierVlanAddress=agentSwitchSnoopingQuerierVlanAddress, agentIASUserConfigEntry=agentIASUserConfigEntry, agentTransferDownloadStart=agentTransferDownloadStart, agentSwitchSnoopingIntfTable=agentSwitchSnoopingIntfTable, agentSnmpTransceiverTrapFlag=agentSnmpTransceiverTrapFlag, agentHTTPMaxSessions=agentHTTPMaxSessions, agentImageConfigGroup=agentImageConfigGroup, agentCpuLoadOneMin=agentCpuLoadOneMin, agentCmdsAccountingListMethod1=agentCmdsAccountingListMethod1, agentSnmpCommunityIndex=agentSnmpCommunityIndex, agentSnmpAuthenticationTrapFlag=agentSnmpAuthenticationTrapFlag, agentTelnetConfigGroup=agentTelnetConfigGroup, agentDDnsHost=agentDDnsHost, agentNetworkIPAddress=agentNetworkIPAddress, agentDhcpSnoopingRemoteIpAddr=agentDhcpSnoopingRemoteIpAddr, agentNetworkConfigIpv6DhcpRenew=agentNetworkConfigIpv6DhcpRenew, agentDynamicDsBindingVlanId=agentDynamicDsBindingVlanId, agentDNSConfigIpAddress=agentDNSConfigIpAddress, agentSnmpUserStatus=agentSnmpUserStatus, agentSdmTemplateEntry=agentSdmTemplateEntry, agentDhcpL2RelayConfigGroup=agentDhcpL2RelayConfigGroup, agentSwitchMFDBSummaryEntry=agentSwitchMFDBSummaryEntry, agentInventoryMachineModel=agentInventoryMachineModel, agentDhcpSnoopingStatsTable=agentDhcpSnoopingStatsTable, agentSwitchMFDBForwardingPortMask=agentSwitchMFDBForwardingPortMask, agentTransferDownloadFilename=agentTransferDownloadFilename, agentPasswordManagementStrengthMaxRepeatedCharacters=agentPasswordManagementStrengthMaxRepeatedCharacters, agentTransferDownloadGroup=agentTransferDownloadGroup, agentSnmpUserEncryptionPassword=agentSnmpUserEncryptionPassword, agentIPv6UnicastRoutes=agentIPv6UnicastRoutes, agentStpCstPortLoopGuard=agentStpCstPortLoopGuard, agentSwitchSnoopingVlanTable=agentSwitchSnoopingVlanTable, agentStpAdminMode=agentStpAdminMode, agentClassOfServicePortEntry=agentClassOfServicePortEntry, agentCmdsAccountingListCreate=agentCmdsAccountingListCreate, agentStpBpduFilterDefault=agentStpBpduFilterDefault, agentDhcpSnoopingStoreInterval=agentDhcpSnoopingStoreInterval, agentSwitchStaticMacFilteringSourcePortMask=agentSwitchStaticMacFilteringSourcePortMask, agentNetworkDhcp6REPLYMessagesDiscarded=agentNetworkDhcp6REPLYMessagesDiscarded, agentServicePortDhcp6SOLICITMessagesSent=agentServicePortDhcp6SOLICITMessagesSent, agentDDnsConfigEntry=agentDDnsConfigEntry, agentStpMstBridgeIdentifier=agentStpMstBridgeIdentifier, agentSwitchProtectedPortConfigGroup=agentSwitchProtectedPortConfigGroup, agentSnmpEngineIdIpAddress=agentSnmpEngineIdIpAddress, agentSdmTemplateSummaryTable=agentSdmTemplateSummaryTable, agentSnmpEngineIdStatus=agentSnmpEngineIdStatus, agentSupportedMibTable=agentSupportedMibTable, agentServicePortDhcp6ADVERTISEMessagesReceived=agentServicePortDhcp6ADVERTISEMessagesReceived) mibBuilder.exportSymbols("SWITCHING-MIB", agentSwitchSnoopingGroup=agentSwitchSnoopingGroup, agentStpCstPortTopologyChangeAck=agentStpCstPortTopologyChangeAck, agentAutoinstallOperationalMode=agentAutoinstallOperationalMode, agentSwitchDVlanTagTPid=agentSwitchDVlanTagTPid, agentServicePortIpv6ConfigProtocol=agentServicePortIpv6ConfigProtocol, agentPasswordManagementStrengthMinLowerCase=agentPasswordManagementStrengthMinLowerCase, agentStpCstPortForwardingState=agentStpCstPortForwardingState, agentPasswordManagementHistory=agentPasswordManagementHistory, agentStpMstPortId=agentStpMstPortId, agentSwitchStaticMacFilteringDestPortMask=agentSwitchStaticMacFilteringDestPortMask, agentStpMstTimeSinceTopologyChange=agentStpMstTimeSinceTopologyChange, agentClearPortStats=agentClearPortStats, agentDNSConfigHostIpAddress=agentDNSConfigHostIpAddress, agentCmdsAccountingListIndex=agentCmdsAccountingListIndex, agentDDnsIndex=agentDDnsIndex, agentDhcpL2RelayStatsReset=agentDhcpL2RelayStatsReset, agentLagSummaryConfigTable=agentLagSummaryConfigTable, agentIASUserConfigCreate=agentIASUserConfigCreate, agentSwitchSnoopingIntfFastLeaveAdminMode=agentSwitchSnoopingIntfFastLeaveAdminMode, agentPortMirroringGroup=agentPortMirroringGroup, agentStpMstVlanRowStatus=agentStpMstVlanRowStatus, agentStpCstPortEntry=agentStpCstPortEntry, agentClearLags=agentClearLags, agentDNSConfigCacheIndex=agentDNSConfigCacheIndex, agentSwitchVlanSubnetAssociationVlanId=agentSwitchVlanSubnetAssociationVlanId, agentSwitchVlanMacAssociationEntry=agentSwitchVlanMacAssociationEntry, agentIPv6DNSConfigHostEntry=agentIPv6DNSConfigHostEntry, agentLDAPBaseDn=agentLDAPBaseDn, agentSwitchCpuProcessPercentageUtilization=agentSwitchCpuProcessPercentageUtilization, agentSnmpTrapReceiverIPAddress=agentSnmpTrapReceiverIPAddress, agentSnmpInformConfigTableCreate=agentSnmpInformConfigTableCreate, agentAuthenticationListMethod1=agentAuthenticationListMethod1, agentDaiVlanDynArpInspEnable=agentDaiVlanDynArpInspEnable, agentIPv6DNSConfigNameServerRemove=agentIPv6DNSConfigNameServerRemove, agentIPv6NdpEntries=agentIPv6NdpEntries, agentHTTPHardTimeout=agentHTTPHardTimeout, agentTransferUploadPath=agentTransferUploadPath, agentIpsgIfPortSecurity=agentIpsgIfPortSecurity, agentDhcpL2RelayUntrustedClntMsgsWithOptn82=agentDhcpL2RelayUntrustedClntMsgsWithOptn82, agentStpUplinkFast=agentStpUplinkFast, agentInventoryGroup=agentInventoryGroup, agentPortVoiceVlanNoneMode=agentPortVoiceVlanNoneMode, agentStpMstTopologyChangeParm=agentStpMstTopologyChangeParm, agentUserAuthenticationConfigEntry=agentUserAuthenticationConfigEntry, agentDNSConfigNameServer=agentDNSConfigNameServer, agentSdmPreferNextTemplate=agentSdmPreferNextTemplate, agentNetworkIpv6AddrPrefixLength=agentNetworkIpv6AddrPrefixLength, agentTrapLogTable=agentTrapLogTable, agentSwitchAddressAgingTimeout=agentSwitchAddressAgingTimeout, agentStpMstRootPathCost=agentStpMstRootPathCost, agentDaiVlanSrcMacFailures=agentDaiVlanSrcMacFailures, agentNetworkSubnetMask=agentNetworkSubnetMask, agentSwitchVlanMacAssociationMacAddress=agentSwitchVlanMacAssociationMacAddress, agentTransferUploadFilename=agentTransferUploadFilename, agentClearPasswords=agentClearPasswords, agentSwitchSnoopingVlanMaxResponseTime=agentSwitchSnoopingVlanMaxResponseTime, agentSwitchMFDBMaxTableEntries=agentSwitchMFDBMaxTableEntries, broadcastStormStartTrap=broadcastStormStartTrap, temperatureTooHighTrap=temperatureTooHighTrap, agentSerialTerminalLength=agentSerialTerminalLength, agentClassOfServicePortPriority=agentClassOfServicePortPriority, dhcpSnoopingIntfErrorDisabledTrap=dhcpSnoopingIntfErrorDisabledTrap, agentSerialCharacterSize=agentSerialCharacterSize, agentStpConfigName=agentStpConfigName, stpInstanceTopologyChangeTrap=stpInstanceTopologyChangeTrap, agentNetworkIpv6AddrPrefix=agentNetworkIpv6AddrPrefix, agentNetworkIpv6ConfigProtocol=agentNetworkIpv6ConfigProtocol, agentServicePortDhcp6RELEASEMessagesSent=agentServicePortDhcp6RELEASEMessagesSent, agentTransferDownloadStartupConfigToSwitchDestFilename=agentTransferDownloadStartupConfigToSwitchDestFilename, agentSwitchSnoopingQuerierQueryInterval=agentSwitchSnoopingQuerierQueryInterval, agentSupportedMibDescription=agentSupportedMibDescription, agentPortStatsRateHCPacketsPerSecondRx=agentPortStatsRateHCPacketsPerSecondRx, agentDhcpSnoopingConfigGroup=agentDhcpSnoopingConfigGroup, agentSnmpUserConfigTable=agentSnmpUserConfigTable, agentDynamicDsBindingLeaseRemainingTime=agentDynamicDsBindingLeaseRemainingTime, agentDhcpSnoopingStoreTimeout=agentDhcpSnoopingStoreTimeout, agentSwitchCpuProcessEntry=agentSwitchCpuProcessEntry, agentAuthenticationGroup=agentAuthenticationGroup, agentDNSConfigRequest=agentDNSConfigRequest, agentUserStatus=agentUserStatus, agentSnmpTrapFlagsConfigGroup=agentSnmpTrapFlagsConfigGroup, agentSwitchMFDBVlanId=agentSwitchMFDBVlanId, agentStpCstConfigGroup=agentStpCstConfigGroup, agentSwitchVoiceVlanDeviceEntry=agentSwitchVoiceVlanDeviceEntry, agentSwitchVlanSubnetAssociationGroup=agentSwitchVlanSubnetAssociationGroup, agentStpConfigRevision=agentStpConfigRevision, agentStartupConfigErase=agentStartupConfigErase, agentSwitchSnoopingIntfGroup=agentSwitchSnoopingIntfGroup, agentSwitchPortDVlanTagRowStatus=agentSwitchPortDVlanTagRowStatus, agentStpMstPortTransitionsOutOfLoopInconsistentState=agentStpMstPortTransitionsOutOfLoopInconsistentState, agentLDAPRacName=agentLDAPRacName, agentSnmpTrapReceiverConfigTable=agentSnmpTrapReceiverConfigTable, agentPortMirrorTypeTable=agentPortMirrorTypeTable, vlanDefaultCfgFailureTrap=vlanDefaultCfgFailureTrap, agentIPv6MulticastRoutes=agentIPv6MulticastRoutes, agentTrapLogGroup=agentTrapLogGroup, agentSwitchVlanStaticMrouterGroup=agentSwitchVlanStaticMrouterGroup, agentDynamicIpsgBindingIpAddr=agentDynamicIpsgBindingIpAddr, agentUserPasswordExpireTime=agentUserPasswordExpireTime, agentSwitchMFDBMacAddress=agentSwitchMFDBMacAddress, agentPortLinkTrapMode=agentPortLinkTrapMode, daiIntfErrorDisabledTrap=daiIntfErrorDisabledTrap, agentSwitchMFDBMostEntriesUsed=agentSwitchMFDBMostEntriesUsed, agentDhcpL2RelayVlanConfigTable=agentDhcpL2RelayVlanConfigTable, agentUserAuthenticationConfigTable=agentUserAuthenticationConfigTable, agentHTTPSoftTimeout=agentHTTPSoftTimeout, agentStaticIpsgBindingIpAddr=agentStaticIpsgBindingIpAddr, agentNetworkMacAddressType=agentNetworkMacAddressType, agentSwitchSnoopingVlanGroup=agentSwitchSnoopingVlanGroup, agentSnmpEngineIdConfigEntry=agentSnmpEngineIdConfigEntry, agentProtocolGroupProtocolStatus=agentProtocolGroupProtocolStatus, agentDNSConfigGroup=agentDNSConfigGroup, agentNetworkDhcp6ADVERTISEMessagesDiscarded=agentNetworkDhcp6ADVERTISEMessagesDiscarded, agentSwitchSnoopingQuerierLastQuerierVersion=agentSwitchSnoopingQuerierLastQuerierVersion, agentArpEntries=agentArpEntries, agentProtocolGroupProtocolIP=agentProtocolGroupProtocolIP, agentStpPortState=agentStpPortState, agentStaticIpsgBindingMacAddr=agentStaticIpsgBindingMacAddr, agentStpCstPortPathCost=agentStpCstPortPathCost, agentDaiIfConfigTable=agentDaiIfConfigTable, agentStpCstHelloTime=agentStpCstHelloTime, vlanRequestFailureTrap=vlanRequestFailureTrap, agentProtocolGroupVlanId=agentProtocolGroupVlanId, agentDynamicDsBindingIpAddr=agentDynamicDsBindingIpAddr, agentSwitchCpuProcessGroup=agentSwitchCpuProcessGroup, agentDhcpSnoopingVlanConfigEntry=agentDhcpSnoopingVlanConfigEntry, agentSwitchDVlanTagEthertype=agentSwitchDVlanTagEthertype, agentSwitchCpuProcessTable=agentSwitchCpuProcessTable, agentServicePortConfigProtocol=agentServicePortConfigProtocol, agentSwitchProtectedPortGroupId=agentSwitchProtectedPortGroupId, agentUserConfigTable=agentUserConfigTable, agentStpPortStatsMstpBpduTx=agentStpPortStatsMstpBpduTx, agentStpCstPortEdge=agentStpCstPortEdge, agentSpanningTreeConfigGroup=agentSpanningTreeConfigGroup, agentLagSummaryHashOption=agentLagSummaryHashOption, agentSwitchMFDBTable=agentSwitchMFDBTable, agentAuthenticationListName=agentAuthenticationListName, agentSnmpSpanningTreeTrapFlag=agentSnmpSpanningTreeTrapFlag, stormControlStopTrap=stormControlStopTrap, agentInventoryAdditionalPackages=agentInventoryAdditionalPackages, agentSwitchIpAddressConflictTrap=agentSwitchIpAddressConflictTrap, agentDaiVlanIndex=agentDaiVlanIndex, agentDhcpL2RelayIfEnable=agentDhcpL2RelayIfEnable, agentExecAccountingListName=agentExecAccountingListName, agentExecAccountingGroup=agentExecAccountingGroup, agentStpForceVersion=agentStpForceVersion, agentSwitchSnoopingIntfIndex=agentSwitchSnoopingIntfIndex, agentLagSummaryRateLoadInterval=agentLagSummaryRateLoadInterval, agentSwitchSnoopingIntfEntry=agentSwitchSnoopingIntfEntry, configChangedTrap=configChangedTrap, agentStpMstRootPortId=agentStpMstRootPortId, agentExecAccountingListIndex=agentExecAccountingListIndex, agentLagSummaryStatus=agentLagSummaryStatus, agentDhcpSnoopingVlanConfigTable=agentDhcpSnoopingVlanConfigTable, agentLoginSessionTable=agentLoginSessionTable, agentSwitchProtectedPortPortList=agentSwitchProtectedPortPortList, agentPasswordManagementConfigGroup=agentPasswordManagementConfigGroup, agentDNSConfigHostNameRemove=agentDNSConfigHostNameRemove, agentPortStatsRateEntry=agentPortStatsRateEntry, agentUserConfigGroup=agentUserConfigGroup, agentUdldConfigGroup=agentUdldConfigGroup, agentUdldConfigTable=agentUdldConfigTable, stpInstanceLoopInconsistentStartTrap=stpInstanceLoopInconsistentStartTrap, agentVendorClassOptionConfigGroup=agentVendorClassOptionConfigGroup, agentNetworkDhcp6ADVERTISEMessagesReceived=agentNetworkDhcp6ADVERTISEMessagesReceived, agentSwitchVlanStaticMrouterEntry=agentSwitchVlanStaticMrouterEntry, agentSwitchAddressAgingTimeoutEntry=agentSwitchAddressAgingTimeoutEntry, agentUserPortConfigEntry=agentUserPortConfigEntry, agentIPv6DNSConfigNameServerListIndex=agentIPv6DNSConfigNameServerListIndex, agentTransferUploadServerAddress=agentTransferUploadServerAddress, agentLDAPServerPort=agentLDAPServerPort, agentServicePortDhcp6MalformedMessagesReceived=agentServicePortDhcp6MalformedMessagesReceived, agentNetworkDhcp6REPLYMessagesReceived=agentNetworkDhcp6REPLYMessagesReceived, agentDhcpSnoopingIfBurstInterval=agentDhcpSnoopingIfBurstInterval, agentArpAclEntry=agentArpAclEntry, agentLagConfigStaticCapability=agentLagConfigStaticCapability, agentSnmpUserConfigEntry=agentSnmpUserConfigEntry, agentSerialBaudrate=agentSerialBaudrate, agentLagConfigCreate=agentLagConfigCreate, agentServicePortStatsGroup=agentServicePortStatsGroup, agentStpPortStatsRstpBpduRx=agentStpPortStatsRstpBpduRx, agentDhcpSnoopingInvalidClientMessages=agentDhcpSnoopingInvalidClientMessages, agentIPv6DNSConfigTTL=agentIPv6DNSConfigTTL, agentDhcpL2RelayRemoteIdVlanEnable=agentDhcpL2RelayRemoteIdVlanEnable, agentPortVoiceVlanDataPriorityMode=agentPortVoiceVlanDataPriorityMode, agentUdldIndex=agentUdldIndex, agentTransferUploadScriptFromSwitchSrcFilename=agentTransferUploadScriptFromSwitchSrcFilename, agentProtocolGroupTable=agentProtocolGroupTable, vlanDeleteLastTrap=vlanDeleteLastTrap, agentEcmpNextHops=agentEcmpNextHops, agentSwitchVlanMacAssociationTable=agentSwitchVlanMacAssociationTable, agentStpMstPortTable=agentStpMstPortTable, PortList=PortList, agentDDnsUserName=agentDDnsUserName, agentStpCstPortOperEdge=agentStpCstPortOperEdge, agentSerialParityType=agentSerialParityType, agentSwitchIfDVlanTagTPid=agentSwitchIfDVlanTagTPid, agentServicePortIpv6Gateway=agentServicePortIpv6Gateway, agentSnmpCommunityStatus=agentSnmpCommunityStatus, agentSnmpInformRetires=agentSnmpInformRetires, agentSwitchProtectedPortGroupName=agentSwitchProtectedPortGroupName, agentAuthenticationListStatus=agentAuthenticationListStatus, agentStpCstBridgeFwdDelay=agentStpCstBridgeFwdDelay, agentSnmpEngineIdConfigTable=agentSnmpEngineIdConfigTable, agentPortVoiceVlanUntagged=agentPortVoiceVlanUntagged, agentDhcpClientVendorClassIdString=agentDhcpClientVendorClassIdString, agentSwitchVlanMacAssociationGroup=agentSwitchVlanMacAssociationGroup, agentDhcpSnoopingIfConfigTable=agentDhcpSnoopingIfConfigTable, agentSerialTimeout=agentSerialTimeout, agentDynamicIpsgBindingMacAddr=agentDynamicIpsgBindingMacAddr, agentServicePortDhcp6StatsReset=agentServicePortDhcp6StatsReset, agentStaticDsBindingRowStatus=agentStaticDsBindingRowStatus, agentDNSConfigNameServerRemove=agentDNSConfigNameServerRemove, agentServicePortIpv6AddrPrefixLength=agentServicePortIpv6AddrPrefixLength, agentProtocolGroupProtocolTable=agentProtocolGroupProtocolTable, agentDhcpSnoopingStatsReset=agentDhcpSnoopingStatsReset, agentDhcpL2RelayUntrustedSrvrMsgsWithOptn82=agentDhcpL2RelayUntrustedSrvrMsgsWithOptn82, agentSerialStopBits=agentSerialStopBits, agentSwitchSnoopingCfgEntry=agentSwitchSnoopingCfgEntry, PYSNMP_MODULE_ID=switching, agentConfigGroup=agentConfigGroup, agentUserEncryptionPassword=agentUserEncryptionPassword, agentSnmpTrapReceiverConfigEntry=agentSnmpTrapReceiverConfigEntry, agentSnmpInformIndex=agentSnmpInformIndex, agentSwitchMFDBEntry=agentSwitchMFDBEntry, agentIASUserStatus=agentIASUserStatus, agentLagSummaryPortStaticCapability=agentLagSummaryPortStaticCapability, agentSnmpCommunityConfigTable=agentSnmpCommunityConfigTable, agentAuthenticationListMethod6=agentAuthenticationListMethod6, agentDhcpL2RelayIfTrustEnable=agentDhcpL2RelayIfTrustEnable, agentLagDetailedLagIndex=agentLagDetailedLagIndex, agentDaiVlanDstMacFailures=agentDaiVlanDstMacFailures, agentTrapLogTotalSinceLastViewed=agentTrapLogTotalSinceLastViewed, agentSwitchCpuFreeMemAboveThresholdTrap=agentSwitchCpuFreeMemAboveThresholdTrap, agentStpMstPortLoopInconsistentState=agentStpMstPortLoopInconsistentState, agentSwitchSnoopingQuerierElectionParticipateMode=agentSwitchSnoopingQuerierElectionParticipateMode, agentPortVoiceVlanAuthMode=agentPortVoiceVlanAuthMode, agentServicePortIpv6AddressAutoConfig=agentServicePortIpv6AddressAutoConfig, agentSwitchStaticMacFilteringAddress=agentSwitchStaticMacFilteringAddress, agentStpPortStatsRstpBpduTx=agentStpPortStatsRstpBpduTx, agentDaiVlanArpAclStaticFlag=agentDaiVlanArpAclStaticFlag, agentSdmTemplateId=agentSdmTemplateId, agentExecAccountingMethodType=agentExecAccountingMethodType, switching=switching, agentServicePortIpv6AddrTable=agentServicePortIpv6AddrTable, agentLagSummaryStpMode=agentLagSummaryStpMode, agentSnmpCommunityCreate=agentSnmpCommunityCreate, agentSwitchSnoopingQuerierVersion=agentSwitchSnoopingQuerierVersion, agentSwitchStaticMacFilteringTable=agentSwitchStaticMacFilteringTable, agentLagDetailedPortStatus=agentLagDetailedPortStatus, agentSwitchAddressConflictDetectionStatusReset=agentSwitchAddressConflictDetectionStatusReset, agentSnmpCommunityAccessMode=agentSnmpCommunityAccessMode, agentDhcpL2RelayTrustedSrvrMsgsWithoutOptn82=agentDhcpL2RelayTrustedSrvrMsgsWithoutOptn82, agentSnmpUserEncryption=agentSnmpUserEncryption) mibBuilder.exportSymbols("SWITCHING-MIB", agentSnmpCommunityName=agentSnmpCommunityName, agentStpMstId=agentStpMstId, agentIpsgIfConfigTable=agentIpsgIfConfigTable, agentIPv6DNSConfigHostName=agentIPv6DNSConfigHostName, agentIPv6DNSConfigHostIndex=agentIPv6DNSConfigHostIndex, agentSwitchStaticMacFilteringStatus=agentSwitchStaticMacFilteringStatus, agentNetworkDhcp6MalformedMessagesReceived=agentNetworkDhcp6MalformedMessagesReceived, agentNetworkIpv6AddrStatus=agentNetworkIpv6AddrStatus, agentSwitchVlanStaticMrouterAdminMode=agentSwitchVlanStaticMrouterAdminMode, agentDDnsAddress=agentDDnsAddress, agentUdldConfigEntry=agentUdldConfigEntry, agentDhcpSnoopingStatsEntry=agentDhcpSnoopingStatsEntry, agentSwitchStaticMacFilteringEntry=agentSwitchStaticMacFilteringEntry, agentSnmpInformConfigTable=agentSnmpInformConfigTable, agentStaticIpsgBindingVlanId=agentStaticIpsgBindingVlanId, agentSwitchIfDVlanTagTable=agentSwitchIfDVlanTagTable, agentPortCapability=agentPortCapability, agentStpCstPortOperPointToPoint=agentStpCstPortOperPointToPoint, agentSwitchSnoopingQuerierVlanEntry=agentSwitchSnoopingQuerierVlanEntry, agentSwitchMFDBCurrentEntries=agentSwitchMFDBCurrentEntries, agentTransferDownloadScriptToSwitchDestFilename=agentTransferDownloadScriptToSwitchDestFilename, agentIPv6DNSConfigHostIpAddress=agentIPv6DNSConfigHostIpAddress, agentSnmpTrapSourceInterface=agentSnmpTrapSourceInterface, agentServicePortDhcp6RENEWMessagesSent=agentServicePortDhcp6RENEWMessagesSent, agentDaiVlanStatsIndex=agentDaiVlanStatsIndex, agentPortMirrorTable=agentPortMirrorTable, agentSwitchPortDVlanTagInterfaceIfIndex=agentSwitchPortDVlanTagInterfaceIfIndex, agentUserSnmpv3AccessMode=agentUserSnmpv3AccessMode, agentSwitchVlanSubnetAssociationTable=agentSwitchVlanSubnetAssociationTable, agentInventorySoftwareVersion=agentInventorySoftwareVersion, agentSwitchSnoopingIntfMRPExpirationTime=agentSwitchSnoopingIntfMRPExpirationTime, agentStpPortStatsMstpBpduRx=agentStpPortStatsMstpBpduRx, agentLDAPRacDomain=agentLDAPRacDomain, powerSupplyStatusChangeTrap=powerSupplyStatusChangeTrap, agentStpCstDesignatedCost=agentStpCstDesignatedCost, agentSwitchSnoopingQuerierOperMaxResponseTime=agentSwitchSnoopingQuerierOperMaxResponseTime, agentTransferUploadOpCodeFromSwitchSrcFilename=agentTransferUploadOpCodeFromSwitchSrcFilename, agentTelnetMaxSessions=agentTelnetMaxSessions, agentStpCstDesignatedPortId=agentStpCstDesignatedPortId, agentStpMstPortPriority=agentStpMstPortPriority, agentPortStatsRateTable=agentPortStatsRateTable, agentSwitchCpuProcessName=agentSwitchCpuProcessName, agentTransferDownloadDataType=agentTransferDownloadDataType, agentSystemGroup=agentSystemGroup, agentNetworkConfigProtocolDhcpRenew=agentNetworkConfigProtocolDhcpRenew, agentSwitchSnoopingQuerierVlanOperMode=agentSwitchSnoopingQuerierVlanOperMode, agentServicePortIpv6AddrEntry=agentServicePortIpv6AddrEntry, agentLoginSessionInetAddress=agentLoginSessionInetAddress, agentSwitchCpuProcessId=agentSwitchCpuProcessId, agentSnmpTrapReceiverIndex=agentSnmpTrapReceiverIndex, agentTransferDownloadPath=agentTransferDownloadPath, agentSnmpEngineIdIndex=agentSnmpEngineIdIndex, agentSwitchSnoopingIntfVlanIDs=agentSwitchSnoopingIntfVlanIDs, agentSwitchCpuProcessFreeMemoryThreshold=agentSwitchCpuProcessFreeMemoryThreshold, agentDDnsConfigGroup=agentDDnsConfigGroup, agentPasswordManagementPasswordStrengthCheck=agentPasswordManagementPasswordStrengthCheck, agentStpMstVlanEntry=agentStpMstVlanEntry, agentDot3adAggPortLACPMode=agentDot3adAggPortLACPMode, agentServicePortDhcp6REPLYMessagesReceived=agentServicePortDhcp6REPLYMessagesReceived, agentPortVoiceVlanPriority=agentPortVoiceVlanPriority, agentSwitchSnoopingIntfMulticastRouterMode=agentSwitchSnoopingIntfMulticastRouterMode, agentSnmpUserAuthenticationPassword=agentSnmpUserAuthenticationPassword, agentLoginSessionSessionTime=agentLoginSessionSessionTime, agentSwitchMFDBSummaryForwardingPortMask=agentSwitchMFDBSummaryForwardingPortMask, agentIPv6DNSConfigRequest=agentIPv6DNSConfigRequest, agentServicePortConfigGroup=agentServicePortConfigGroup, agentSaveConfig=agentSaveConfig, noStartupConfigTrap=noStartupConfigTrap, agentProtocolGroupProtocolEntry=agentProtocolGroupProtocolEntry, agentPortVoiceVlanMode=agentPortVoiceVlanMode, agentServicePortIpv6AddrPrefix=agentServicePortIpv6AddrPrefix, agentNetworkIpv6AddressAutoConfig=agentNetworkIpv6AddressAutoConfig, agentStpMstPortEntry=agentStpMstPortEntry, agentDhcpSnoopingVerifyMac=agentDhcpSnoopingVerifyMac, agentLoginSessionIdleTime=agentLoginSessionIdleTime, agentClassOfServicePortClass=agentClassOfServicePortClass, agentIPv6DNSConfigIpAddress=agentIPv6DNSConfigIpAddress, agentInventoryManufacturer=agentInventoryManufacturer, agentArpAclRuleEntry=agentArpAclRuleEntry, agentDNSConfigNameServerListEntry=agentDNSConfigNameServerListEntry, agentPortClearStats=agentPortClearStats, agentDynamicDsBinding=agentDynamicDsBinding, agentArpAclRuleMatchSenderMacAddr=agentArpAclRuleMatchSenderMacAddr, agentArpAclGroup=agentArpAclGroup, agentIPv6DNSConfigFlag=agentIPv6DNSConfigFlag, agentCmdsAccountingListName=agentCmdsAccountingListName, failedUserLoginTrap=failedUserLoginTrap, agentInventoryMachineType=agentInventoryMachineType, agentDNSConfigClearDNSCounters=agentDNSConfigClearDNSCounters, agentAutoinstallAutoUpgradeMode=agentAutoinstallAutoUpgradeMode, stpInstanceNewRootTrap=stpInstanceNewRootTrap, agentClearBufferedLog=agentClearBufferedLog, agentInventoryOperatingSystem=agentInventoryOperatingSystem, agentSwitchSnoopingMulticastControlFramesProcessed=agentSwitchSnoopingMulticastControlFramesProcessed, agentSwitchConflictMacAddr=agentSwitchConflictMacAddr, agentSwitchCpuFreeMemBelowThresholdTrap=agentSwitchCpuFreeMemBelowThresholdTrap, agentDDnsStatus=agentDDnsStatus, agentStpMstDesignatedCost=agentStpMstDesignatedCost, agentArpAclRuleMatchSenderIpAddr=agentArpAclRuleMatchSenderIpAddr, agentAuthenticationListIndex=agentAuthenticationListIndex, agentSnmpTrapReceiverCreate=agentSnmpTrapReceiverCreate, agentDaiVlanIpValidFailures=agentDaiVlanIpValidFailures, agentSupportedMibEntry=agentSupportedMibEntry, agentProtocolGroupPortEntry=agentProtocolGroupPortEntry, agentTransferDownloadServerAddress=agentTransferDownloadServerAddress, agentPasswordManagementStrengthMinNumericNumbers=agentPasswordManagementStrengthMinNumericNumbers, fanFailureTrap=fanFailureTrap, agentDaiVlanLoggingEnable=agentDaiVlanLoggingEnable, agentPasswordMgmtStrengthExcludeKeywordStatus=agentPasswordMgmtStrengthExcludeKeywordStatus, agentSwitchSnoopingVlanMRPExpirationTime=agentSwitchSnoopingVlanMRPExpirationTime, agentSwitchVoiceVlanInterfaceNum=agentSwitchVoiceVlanInterfaceNum, agentSwitchMFDBSummaryMacAddress=agentSwitchMFDBSummaryMacAddress, agentSwitchVlanSubnetAssociationPriority=agentSwitchVlanSubnetAssociationPriority, agentPortMirrorAdminMode=agentPortMirrorAdminMode, agentSwitchMFDBProtocolType=agentSwitchMFDBProtocolType, agentStpMstPortPathCost=agentStpMstPortPathCost, agentStpMstVlanTable=agentStpMstVlanTable, agentNetworkConfigGroup=agentNetworkConfigGroup, agentPortConfigTable=agentPortConfigTable, agentPortIfIndex=agentPortIfIndex, agentProtocolGroupName=agentProtocolGroupName, agentSwitchAddressAgingTimeoutTable=agentSwitchAddressAgingTimeoutTable, agentProtocolGroupProtocolIPX=agentProtocolGroupProtocolIPX, agentSwitchDVlanTagRowStatus=agentSwitchDVlanTagRowStatus, agentImage2=agentImage2, agentDaiVlanDhcpDrops=agentDaiVlanDhcpDrops, agentNetworkIpv6AddrTable=agentNetworkIpv6AddrTable, agentSwitchSnoopingVlanFastLeaveAdminMode=agentSwitchSnoopingVlanFastLeaveAdminMode, agentServicePortIPAddress=agentServicePortIPAddress, agentLagDetailedConfigEntry=agentLagDetailedConfigEntry, agentSnmpConfigGroup=agentSnmpConfigGroup, agentStpCstPortBpduGuardEffect=agentStpCstPortBpduGuardEffect, agentDNSConfigHostName=agentDNSConfigHostName, agentStpCstPortRootGuard=agentStpCstPortRootGuard, agentProtocolGroupPortTable=agentProtocolGroupPortTable)
# # This file is part of pyasn1 software. # # Copyright (c) 2005-2019, Ilya Etingof <etingof@gmail.com> # License: http://snmplabs.com/pyasn1/license.html # class PyAsn1Error(Exception): """Base pyasn1 exception `PyAsn1Error` is the base exception class (based on :class:`Exception`) that represents all possible ASN.1 related errors. """ class ValueConstraintError(PyAsn1Error): """ASN.1 type constraints violation exception The `ValueConstraintError` exception indicates an ASN.1 value constraint violation. It might happen on value object instantiation (for scalar types) or on serialization (for constructed types). """ class SubstrateUnderrunError(PyAsn1Error): """ASN.1 data structure deserialization error The `SubstrateUnderrunError` exception indicates insufficient serialised data on input of a de-serialization codec. """ class PyAsn1UnicodeError(PyAsn1Error, UnicodeError): """Unicode text processing error The `PyAsn1UnicodeError` exception is a base class for errors relating to unicode text de/serialization. Apart from inheriting from :class:`PyAsn1Error`, it also inherits from :class:`UnicodeError` to help the caller catching unicode-related errors. """ def __init__(self, message, unicode_error=None): if isinstance(unicode_error, UnicodeError): UnicodeError.__init__(self, *unicode_error.args) PyAsn1Error.__init__(self, message) class PyAsn1UnicodeDecodeError(PyAsn1UnicodeError, UnicodeDecodeError): """Unicode text decoding error The `PyAsn1UnicodeDecodeError` exception represents a failure to deserialize unicode text. Apart from inheriting from :class:`PyAsn1UnicodeError`, it also inherits from :class:`UnicodeDecodeError` to help the caller catching unicode-related errors. """ class PyAsn1UnicodeEncodeError(PyAsn1UnicodeError, UnicodeEncodeError): """Unicode text encoding error The `PyAsn1UnicodeEncodeError` exception represents a failure to serialize unicode text. Apart from inheriting from :class:`PyAsn1UnicodeError`, it also inherits from :class:`UnicodeEncodeError` to help the caller catching unicode-related errors. """
# a=[1,2,3,4,5,6,7,8,8,9] # b=[1,2,3,4,5,6,7,8,8,9] # if a==b: # print("hello") # else: # print("not equal") # n=int(input()) # for i in range(n): # x=int(input()) # if x==1: # print("Yes") # elif x%2==0: # print("Yes") # else: # print("No") def pattern(inputv): if not inputv: return inputv nxt = [0]*len(inputv) for i in range(1, len(nxt)): k = nxt[i - 1] while True: if inputv[i] == inputv[k]: nxt[i] = k + 1 break elif k == 0: nxt[i] = 0 break else: k = nxt[k - 1] smallPieceLen = len(inputv) - nxt[-1] if len(inputv) % smallPieceLen != 0: return inputv return inputv[0:smallPieceLen] print(pattern("bcbdbcbcbdbc"))
#!/usr/bin/python class Project: def __init__ (self): #Guarda el registro de ultimo uso pass def status (self): self.activate = True return self.activate def AccessPublic(): pass def AccessPrivar(): pass class Rep: def __init__(self, rep_name, access): self.repositoryname = rep_name self.typeacces = access if self.typeacces == public: AccessPublic() else: AccessPrivate() def stop(self): """Detiene el repositorio""" pass def start(self): """Inicia el repositorio""" pass def public(self): """Vuelve publico el repositorio""" pass def private(self): """Vuelve privado el repositorio""" pass def delete(self): """Borra el repositorio""" pass
# -*- coding: utf-8 -*- # @Author: Zengjq # @Date: 2019-02-20 17:07:27 # @Last Modified by: Zengjq # @Last Modified time: 2019-02-20 19:25:48 # 60% -> 73% class Solution: def longestPalindrome(self, s: 'str') -> 'str': result = "" for i in range(len(s)): lpd = self.do_expand(s, i, i) if len(lpd) > len(result): result = lpd lpd = self.do_expand(s, i, i + 1) if len(lpd) > len(result): result = lpd return result def do_expand(self, s, l, r): while l >= 0 and r < len(s) and s[l] == s[r]: l -= 1 r += 1 return s[l + 1: r] test_cases = ( "abcda", "ac", "abb", "babad", "babababd", "cbbd", ) solution = Solution() for test_case in test_cases: print(solution.longestPalindrome(test_case))
def math(): a, b, c = map(float, input().split()) if ((b + c) > a) and ((a + c) > b) and ((a + b) > c): perimeter = (a + b + c) print('Perimetro =', perimeter) else: area = (((a + b) / 2) * c).__format__('.1f') print('Area =', area) if __name__ == '__main__': math()
dim = (512, 512, 1) # gray images SEED = 1 multiply_by = 10 # Labels/n_classes labels = sorted(['gun', 'knife']) hues_labels = {'gun':0, 'knife': 25, 'background': 45} # count background n_classes = len(labels) + 1 # background # number filters n_filters = 32 # model name model_name = '%s_model.hdf5' # annotation file name by default # all files should have the same name ann_file_name = 'coco_annotation.json' # Batch size batch_size = 4 reports_path = "reports/figures"
# Copyright (c) 2017 Yingxin Cheng # # 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. COMPONENT = "component" TARGET = "target" HOST = "host" THREAD = "thread" REQUEST = "request" KEYWORD = "keyword" TIME = "time" SECONDS = "seconds" ALL_VARS = {COMPONENT, TARGET, HOST, THREAD, REQUEST, KEYWORD, TIME, SECONDS} TARGET_ALIAS = "target_alias"
# Group developers into cliques given an adjacency graph. This implementation is based in the recursive algorithm # proposed by Bron and Kerbosch in 1973 and adapted from the pseudocode in # https://en.wikipedia.org/wiki/Bron-Kerbosch_algorithm def bron_kerbosch(r, p, x, graph, cliques): if not p and not x: cliques.append(r) else: for v in p.copy(): bron_kerbosch(r.union([v]), p.intersection(graph[v]), x.intersection(graph[v]), graph, cliques) p.remove(v) x.add(v) return cliques
# vim: ts=2 sw=2 sts=2 et : def mem1(f): "Caching, simple case, no arguments." cache = [0] # local memory def wrapper(*l, **kw): val = cache[0] = cache[0] or f(*l, **kw) return val return wrapper def memo(f): cache = {} # initialized at load time def g(*lst): # called at load time val = cache[lst] = cache.get(lst,None) or f(*lst) return val return g if __name__ == "__main__": # example usage class Test(object): def __init__(i): i.v = 0 @memo def inc_dec(self,arg): print(2) self.v -= arg return self.v @memo def inc_add(self,arg): print(1) self.v += arg return self.v t = Test() print(t.inc_add(10)) print(t.inc_add(20)) print(t.inc_add(10)) print(t.inc_dec(100)) print(t.inc_dec(100)) #assert t.inc_add(2) == t.inc_add(2) #assert Test.inc_add(t, 2) != Test.inc_add(t, 2)
def rot(s): return s[::-1] def selfie_and_rot(s): points = '.' * s.index('\n') v = s.replace('\n', points + '\n') k = s[::-1].replace('\n', '\n' + points) return (points + '\n' + points).join((v, k)) def oper(fct, s): return fct(s) def rot2(string): return string[::-1] def selfie_and_rot2(string): s_dot = '\n'.join([s + '.' * len(s) for s in string.split('\n')]) return s_dot + '\n' + rot(s_dot) def oper2(fct, s): return fct(s)
#!/usr/bin/python if (int(input()) - int(input()) == int(input())): print("Candy Time") else: print("Keep Hunting")
class Config(object): SERVER_HOST = "127.0.0.1" SERVER_PORT = 12345 CLIENT_HOST = "127.0.0.1" CLIENT_PORT = 12346 UDP_BUF_SIZE = 1024
#Dictionary Keys must be hashable : An object is said to be hashable if it has a hash value that remains the same during its lifetime. #which means immutable, such as int, string, booleans etc dict = { 123: [1,2,3], 'A': "ABC", True: "hello", } print(dict[123]) print(dict['A']) print(dict[True])
class Solution(object): def isAnagram(self, s, t): """ :type s: str :type t: str :rtype: bool """ # if len(s) != len(t): # return False char_dict = {} for i in s: if i in char_dict: char_dict[i] += 1 else: char_dict[i] = 1 for i in t: if i in char_dict: char_dict[i] -= 1 else: return False return all(map(lambda x: not char_dict[x], char_dict)) if "__main__" == __name__: solution = Solution() s = "anagramm" t = "nagarammx" res = solution.isAnagram(s, t) print(res)
""" 给定一个只包括 '(',')','{','}','[',']' 的字符串,判断字符串是否有效。 有效字符串需满足: 左括号必须用相同类型的右括号闭合。 左括号必须以正确的顺序闭合。 注意空字符串可被认为是有效字符串。 """ class Solution: def isValid(self, s): """ :type s: str :return bool """ stack = [] mapping = {')': '(', ']': '[', '}': '{'} for ch in s: if ch in mapping: top_element = stack.pop() if stack else '#' if mapping[ch] != top_element: return False else: stack.append(ch) return not stack
DOCUMENTATION = """ module: test author: Bradley Thornton (@cidrblock) short_description: Short description here description: - A longer description here version_added: 0.0.0 options: param_str: type: str description: - A string param required: True params_bool: type: bool description: - A bool param params_dict: type: dict description: - A dict param suboptions: subo_str: type: str description: - A string suboption subo_list: type: list description: - A list suboption subo_dict: type: dict description: - A dict suboption param_default: type: bool default: True """
def binarysearch(_list, _v, _min = 0, _max = None): if _max == None: _max = len(_list) if _max == 0: return False middle_index = (_min + _max)/2 middle = _list[middle_index] if _min == _max: return False if _min == _max - 1: if _v == middle: return middle_index return False else: if _v < middle: return binarysearch(_list, _v, _min, middle_index) return binarysearch(_list, _v, middle_index, _max)
# Declan Reidy - 23-02-2018 # # Euler problem 5 - Exercise 4 # # 2520 is the smallest number divisible by all numbers 1 to 10 i = 2520 for i in range(i,(20*19*18*17*16*15*14*13*12*11),20): if (i % 20 ==0) and (i % 19 ==0) and (i % 18 ==0) and (i % 17 ==0) and (i % 16 ==0) and (i % 15 ==0) and (i % 14 ==0) and (i % 13 ==0) and (i % 12 ==0) and (i % 11 ==0): print("The smallest Euler number is:",i) break
name_first_player = input() name_second_player = input() points_first = 0 points_second = 0 is_finished = False card_first = input() while card_first != 'End of game': card_first = int(card_first) card_second = int(input()) if card_first > card_second: points_first += card_first - card_second elif card_first < card_second: points_second += card_second - card_first elif card_first == card_second: print(f'Number wars!') card_first = int(input()) card_second = int(input()) is_finished = True if card_first > card_second: print(f'{name_first_player} is winner with {points_first} points') break elif card_second > card_first: print(f'{name_second_player} is winner with {points_second} points') break card_first = input() if not is_finished: print(f'{name_first_player} has {points_first} points') print(f'{name_second_player} has {points_second} points')
""" Transitive-Inference model implementation. """ def rewardedStimulus(stim, pair): return min([int(a) for a in pair]) == int(stim) def sortedPair(pair): return str(min([int(a) for a in pair])), str(max([int(a) for a in pair])) def correctReply(pair): return str(min([int(a) for a in pair]))
""" @author Huaze Shen @date 2019-10-06 """ def maximal_rectangle(matrix): if matrix is None or len(matrix) == 0 or matrix[0] is None or len(matrix[0]) == 0: return 0 m = len(matrix) n = len(matrix[0]) heights = [0 for i in range(n)] result = 0 for i in range(m): for j in range(n): if matrix[i][j] == '0': heights[j] = 0 else: heights[j] += 1 result = max(result, largest_rectangle_area(heights)) return result def largest_rectangle_area(heights): result = 0 for i in range(len(heights)): if i < len(heights) - 1 and heights[i] <= heights[i + 1]: continue min_h = heights[i] for j in reversed(range(i + 1)): min_h = min(min_h, heights[j]) area = min_h * (i - j + 1) result = max(area, result) return result if __name__ == '__main__': matrix_ = [ ['1', '0', '1', '0', '0'], ['1', '0', '1', '1', '1'], ['1', '1', '1', '1', '1'], ['1', '0', '0', '1', '0'] ] print(maximal_rectangle(matrix_))
MONTH_DAYS = { "1" : 31, "2" : 28, "3" : 31, "4" : 30, "5" : 31, "6" : 30, "7" : 31, "8" : 31, "9" : 30, "10" : 31, "11" : 30, "12" : 31, } TEMPLATE = "./template.xlsx"
__author__ = 'julian' class ProductosLookup(object): def get_query(self,q,request): return VProductos.objects.filter(descripcion__icontains=q,fecha_baja=None ) def format_result(self,objeto): return u"%s" % (objeto.descripcion) def format_item(self,objeto): return unicode(objeto.descripcion) def get_objects(self,ids): return VMercancias.objects.filter(pk__in=ids)
# coding=utf-8 # 参考wiki # https://en.m.wikipedia.org/wiki/Mersenne_Twister # https://cedricvanrompay.gitlab.io/cryptopals/challenges/21.html # https://zh.wikipedia.org/wiki/%E6%A2%85%E6%A3%AE%E6%97%8B%E8%BD%AC%E7%AE%97%E6%B3%95 class MT19937(): def __init__(self,seed): self.pos = 0 self.x = list() self.x.append(seed) # 32 位标准 def random_32(self): # 32位随机数的参数 (w, n, m, r, a) = (32, 624, 397, 31, 0x9908B0DF) (u, d) = (11, 0xFFFFFFFF) (s, b) = (7, 0x9D2C5680) (t, c) = (15, 0xEFC60000) l = 18 f = 1812433253 # 初始化 for i in range(1, n): tmp = (f * (self.x[i - 1] ^ (self.x[i - 1] >> (w - 2))) + i) & d self.x.append(tmp) upper_mask = d << r & d lower_mask = d >> (w - r) & d # 旋转 for i in range(n): tmp = ((self.x[i] & upper_mask) + (self.x[(i + 1) % n] & lower_mask)) & d if tmp & 1: tmp = tmp >> 1 ^ a else: tmp >>= 1 tmp ^= self.x[(i + m) % n] self.x[i] = tmp # 提取 while True: y = self.x[self.pos] y = y ^ y >> u y = y ^ y << s & b y = y ^ y << t & c y = y ^ y >> l self.pos = (self.pos + 1) % n # 使用generator yield y & d # 64 位标准 def random_64(self): # 32位随机数的参数 (w, n, m, r, a) = (64, 312, 156, 31, 0xB5026F5AA96619E9) (u, d) = (29, 0x5555555555555555) (s, b) = (17, 0x71D67FFFEDA60000) (t, c) = (37, 0xFFF7EEE000000000) l = 43 f = 6364136223846793005 # 初始化 for i in range(1, n): tmp = (f * (self.x[i - 1] ^ (self.x[i - 1] >> (w - 2))) + i) & d self.x.append(tmp) upper_mask = d << r & d lower_mask = d >> (w - r) # 旋转 for i in range(n): tmp = (self.x[i] & upper_mask) + (self.x[(i + 1) % n] & lower_mask) if tmp & 1: tmp = tmp >> 1 ^ a else: tmp >>= 1 tmp ^= self.x[(i + m) % n] self.x[i] = tmp # 提取 while True: y = self.x[self.pos] y = y ^ y >> u y = y ^ y << s & b y = y ^ y << t & c y = y ^ y >> l self.pos = (self.pos + 1) % n # 使用generator yield y & d
def process_command(cmd, lst): cl = cmd.split(' ') if len(cl) == 3: (act, op1, op2) = tuple(cl) elif len(cl) == 2: (act, op1) = tuple(cl) elif len(cl) == 1: act = cl[0] # Executing the command if act == 'insert': lst.insert(int(op1), int(op2)) elif act == 'print' : print(lst), elif act == 'remove': lst.remove(int(op1)), elif act == 'append': lst.append(int(op1)), elif act == 'sort': lst.sort(), elif act == 'pop': lst.pop(), elif act == 'reverse': lst.reverse() else: print("RETRY!") if __name__ == '__main__': N = int(input()) lst = [] for _ in range(0, N): line = [] line = input() process_command(line, lst)
""" [09/22/2014] Challenge #181 [Easy] Basic Equations https://www.reddit.com/r/dailyprogrammer/comments/2h5b2k/09222014_challenge_181_easy_basic_equations/ # [](#EasyIcon) _(Easy)_: Basic Equations Today, we'll be creating a simple calculator, that we may extend in later challenges. Assuming you have done basic algebra, you may have seen equations in the form [`y=ax+b`](http://latex.codecogs.com/gif.latex?y%3Dax&plus;b), where `a` and `b` are constants. This forms a graph of a straight line, when you plot `y` in respect to `x`. If you have not explored this concept yet, you can visualise a linear equation such as this using [this online tool](http://www.mathopenref.com/linearexplorer.html), which will plot it for you. The question is, how can you find out where two such 'lines' intersect when plotted - ie. when the lines cross? Using algebra, you can solve this problem easily. For example, given [`y=2x+2`](http://latex.codecogs.com/gif.latex?y%3D2x&plus;2) and [`y=5x-4`](http://latex.codecogs.com/gif.latex?y%3D5x-4), how would you find out where they intersect? This situation would look like [this](http://i.imgur.com/wLr5Aei.png). Where do the red and blue lines meet? You would substitute `y`, forming one equation, [`2x+2=5x-4`](http://latex.codecogs.com/gif.latex?2x&plus;2%3D5x-4), as they both refer to the same variable `y`. Then, subtract one of the sides of the equation from the other side - like [`2x+2-(2x+2)=5x-4-(2x+2)`](http://latex.codecogs.com/gif.latex?2x&plus;2-%282x&plus;2%29%3D5x-4-%282x&plus;2%29) which is the same as [`3x-6=0`](http://latex.codecogs.com/gif.latex?3x-6%3D0) - to solve, move the -6 to the other side of the `=` sign by adding 6 to both sides, and divide both sides by 3: [`x=2`](http://latex.codecogs.com/gif.latex?x%3D2). You now have the `x` value of the co-ordinate at where they meet, and as `y` is the same for both equations at this point (hence why they intersect) you can use either equation to find the `y` value, [like so](http://latex.codecogs.com/gif.latex?%282x&plus;2%5C%3B%20%5Ctextup%7Bwhere%7D%5C%3B%20x%3D2%29%3D2%282%29&plus;2%3D4&plus;2%3D6). So the co-ordinate where they insersect is `(2, 6)`. Fairly simple. Your task is, given two such linear-style equations, find out the point at which they intersect. # Formal Inputs and Outputs ## Input Description You will be given 2 equations, in the form `y=ax+b`, on 2 separate lines, where `a` and `b` are constants and `y` and `x` are variables. ## Output Description You will print a point in the format `(x, y)`, which is the point at which the two lines intersect. # Sample Inputs and Outputs ## Sample Input y=2x+2 y=5x-4 ## Sample Output (2, 6) ## Sample Input y=-5x y=-4x+1 ## Sample Output (-1, 5) ## Sample Input y=0.5x+1.3 y=-1.4x-0.2 ## Sample Output (-0.7895, 0.9053) # Notes If you are new to the concept, this might be a good time to learn [regular expressions](http://www.regular-expressions.info/tutorial.html). If you're feeling more adventurous, write a little parser. # Extension Draw a graph with 2 lines to represent the inputted equations - preferably with 2 different colours. Draw a point or dot representing the point of intersection. """ def main(): pass if __name__ == "__main__": main()
# https://leetcode.com/problems/two-sum/#/description class Solution(object): def twoSum(self, nums, target): hash = {} for i in range(0, len(nums)): if not nums[i] in hash: hash[target - nums[i]] = i else: return[hash[nums[i]], i]
class RequestError(Exception): def __init__(self, status: int, *args): super().__init__(*args) self.status = status
DATE_FORMAT = 'Y-m-d' # 2018-07-08 # fallback, Django default IO_DATE_FORMAT = 'Y-m-d' # 2018-07-08 # Default for i/o LONG_DATE_FORMAT = 'F j, Y' # July 8, 2018 MEDIUM_DATE_FORMAT = 'M j, Y' # Jul 8, 2018 # Default for display SHORT_DATE_FORMAT = 'n/j/Y' # 7/8/2018 MONTH_YEAR_FORMAT = 'M Y' ISO_DATETIME = 'Y-m-d\TH:i:sO' # 2018-07-08T17:02:56-08:00
name = input("이름을 입력하세요 : "); kor = input("국어점수를 입력하세요 : ") eng = input("영어점수를 입력하세요 : ") mth = input("수학점수를 입력하세요 : ") outFp = open("data2.txt", "w", encoding="UTF-8") outFp.writelines(name + " " + kor + " " + eng + " " + mth) outFp.close() print("--- 정상적으로 파일에 씀 ---")
# Copyright 2017 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Cloud Function (nicely deployed in deployment) DM template.""" def GenerateConfig(context): """Generate YAML resource configuration.""" function_name = 'processUpload' source_archive_url = 'gs://%s/%s' % (context.properties['codeBucket'], 'datashare-toolkit-cloud-function.zip') print(source_archive_url) useWaiter = context.properties['useRuntimeConfigWaiter'] #cmd = "echo '%s' | base64 -d > /function/function.zip;" % (content.decode('ascii')) cloud_function = { 'type': 'gcp-types/cloudfunctions-v1:projects.locations.functions', 'name': function_name, 'properties': { 'parent': '/'.join([ 'projects', context.env['project'], 'locations', context.properties['location'] ]), 'function': function_name, 'sourceArchiveUrl': source_archive_url, 'environmentVariables': { 'VERBOSE_MODE': 'true', 'ARCHIVE_FILES': 'false'}, 'entryPoint': context.properties['entryPoint'], 'eventTrigger': { 'eventType': 'providers/cloud.storage/eventTypes/object.change', 'resource': 'projects/' + context.env['project'] + '/buckets/' + context.env['project'] + '-cds-bucket' }, 'timeout': context.properties['timeout'], 'availableMemoryMb': context.properties['availableMemoryMb'], 'runtime': context.properties['runtime'] } } if useWaiter: waiterName = context.properties['waiterName'] cloud_function['metadata'] = {'dependsOn': [waiterName]} resources = [cloud_function] return { 'resources': resources, 'outputs': [{ 'name': 'sourceArchiveUrl', 'value': source_archive_url }, { 'name': 'name', 'value': '$(ref.' + function_name + '.name)' }] }
#Leve modificação na função para além de retornar a lista somada, #Retornar o score def somar_adjacentes(linha, direcao): if direcao == "a": linha = linha[::-1] tam_linha = len(linha) aux = [] excluidos = [] ultimo = linha[-1:][0] score = 0 # percorrendo do primeiro até o # penultimo número da linha for i in range(tam_linha - 1): if i not in excluidos: atual = linha[i] prox = linha[i + 1] if atual == prox: aux.append(0) aux.append(atual + prox) score += atual + prox excluidos.append(i + 1) else: aux.append(atual) if len(aux) != tam_linha: aux.append(ultimo) if direcao == "a": aux = aux[::-1] return aux, score def transpor_matriz(matriz): #extraindo tamanho da matriz len_lin = len(matriz) len_col = len(matriz[0]) matriz_transposta = [] #Criando uma matriz auxiliar #com as dimensões da transposta for linha in range(len_col): nova_linha = [] for coluna in range(len_lin): nova_linha.append(None) matriz_transposta.append(nova_linha) #Percorrendo a matriz original e alocando #Os dados na transposta for linha in range(len_lin): for coluna in range(len_col): matriz_transposta[coluna][linha] = matriz[linha][coluna] return matriz_transposta def somar_tabuleiro(tabuleiro, direcao): """ Recebe direções "a,w,s,d", e move os números no tabulerio list -> list""" aux = [] score = 0 if direcao == "d": for linha in tabuleiro: nova_linha = somar_adjacentes(linha,"d")[0] score += somar_adjacentes(linha,"d")[1] aux.append(nova_linha) elif direcao == "a": for linha in tabuleiro: nova_linha = somar_adjacentes(linha,"a")[0] score += somar_adjacentes(linha,"a")[1] aux.append(nova_linha) elif direcao == "s": tabuleiro = transpor_matriz(tabuleiro) for linha in tabuleiro: nova_linha = somar_adjacentes(linha,"d")[0] score += somar_adjacentes(linha,"d")[1] aux.append(nova_linha) aux = transpor_matriz(aux) elif direcao == "w": tabuleiro = transpor_matriz(tabuleiro) for linha in tabuleiro: nova_linha = somar_adjacentes(linha,"a")[0] score += somar_adjacentes(linha,"a")[1] aux.append(nova_linha) aux = transpor_matriz(aux) return aux, score
"""Given a set of different coins denominations S and a total T, find the smallest combination of coins that add up to total. Example: S = {1, 5, 10, 25}, T = 40 result = {5, 10, 25} S = {1, 5, 9, 20}, T = 27 <- Notice that a greedy algorithm would fail here result = {9, 9, 9} """ def find_number_of_min_coins(coins, target): cache = {} solutions = [] def _find_solutions(current_solution, current_sum, coin_index): if (current_solution, current_sum, coin_index) in cache: return None else: cache[(current_solution, current_sum, coin_index)] = True if coin_index == len(coins): return None if current_sum == target: solutions.append(current_solution) return None curr_coin = coins[coin_index] _find_solutions(current_solution, current_sum, coin_index + 1) if current_sum + coins[coin_index] <= target: _find_solutions(current_solution + (curr_coin,), current_sum + curr_coin, coin_index) _find_solutions(current_solution + (curr_coin,), current_sum + curr_coin, coin_index + 1) _find_solutions((), 0, 0) solutions.sort(key=lambda s: len(s)) return solutions[0] if __name__ == "__main__": test_cases = [ ([1], 3, [1, 1, 1]), ([1, 5, 10, 25], 40, [5, 10, 25]), ([1, 5, 9, 20], 27, [9, 9, 9]), ([1, 5, 6, 8], 11, [5, 6]), ([8, 5, 1, 6], 11, [5, 6]), ([8, 5, 1, 6, 2, 3, 4, 5, 6, 7], 11, [5, 6]), ] for input_coins, input_total, expected_result in test_cases: result = find_number_of_min_coins(input_coins, input_total) assert sorted(result) == sorted(expected_result)